.study-card{width:100%;margin:0 auto;min-width:0}.study-card .study-card-surface{display:block;width:100%;border:0;padding:0;margin:0;background:transparent;color:#203b33;cursor:pointer;perspective:1400px;text-align:center;font:inherit;border-radius:24px;box-shadow:none}.study-card-turn{display:grid;transform-style:preserve-3d;transition:transform .4s ease;position:relative}.study-card .study-card-surface{-moz-appearance:none;appearance:none;-webkit-appearance:none;overflow:hidden}.study-card-front{visibility:visible}.study-card-back{visibility:hidden}.study-card-face{transition:visibility 0s linear .2s}.study-card-surface[data-flipped=true] .study-card-front{visibility:hidden}.study-card-surface[data-flipped=true] .study-card-back{visibility:visible}.study-card-face{grid-area:1/1;display:flex;flex-direction:column;justify-content:center;gap:28px;box-sizing:border-box;min-height:300px;padding:28px 36px;border:1px solid #d1dfd6;border-radius:24px;background:#fff;box-shadow:0 8px 24px #234c3610;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow-wrap:anywhere;min-width:0}.study-card-back{transform:rotateX(180deg);background:#eef5ef;border-color:#bdd2c3}.study-card-text{white-space:pre-wrap;font-size:clamp(20px,2.2vw,28px);line-height:1.5;font-weight:500}.study-card .study-card-flip{display:flex;align-items:center;justify-content:center;gap:10px;margin:0;padding:12px 22px;min-height:48px;border:1px solid #315d4f;border-radius:12px;background:#315d4f;color:#fff;font:inherit;cursor:pointer}.study-card-flip>span[aria-hidden]{font-size:22px;line-height:1}.study-card button:focus-visible{outline:3px solid #315d4f;outline-offset:5px}.study-card-accessible{position:absolute;width:1px;height:1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap}.study-browser{max-width:1000px;margin:auto;padding:32px 24px}.study-browser h1{margin:0 0 12px}.study-browser>p{color:#617168;line-height:1.6}.study-controls{display:flex;gap:16px;flex-wrap:wrap;margin:24px 0;align-items:flex-end}.study-controls label{display:flex;flex-direction:column;gap:8px;flex:1 1 180px;font-weight:600;min-width:0}.study-controls input,.study-controls select,.study-editor input,.study-editor select,.study-editor textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid #cdd9d0;border-radius:10px;background:white;font:inherit;color:#203b33;min-width:0}.study-controls select,.study-editor select{-moz-appearance:none;appearance:none;-webkit-appearance:none;min-height:48px;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23315d4f' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}.study-admin-list button,.study-controls button,.study-editor button,.study-pagination button{font:inherit;padding:12px 18px;border:1px solid #cdd9d0;border-radius:12px;background:white;color:#315d4f;cursor:pointer;min-height:44px}.study-admin .study-controls>label{margin:0}.study-admin .study-controls>button{display:flex;align-items:center;justify-content:center;min-height:52px;margin:0;line-height:1.45}.study-admin button:disabled,.study-browser button:disabled{opacity:.55;cursor:default}.study-navigation{gap:20px;margin:24px 0}.study-navigation,.study-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.study-pagination{gap:16px;margin:20px 0}.study-heading{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.study-heading h1{margin:0}.study-modes{display:flex;gap:4px;flex-shrink:0;width:360px;max-width:100%;box-sizing:border-box;margin:0;padding:6px;border:1px solid #d9e3d2;border-radius:22px;background:#e3ecd9}.bank-page .study-modes button,.study-modes button{display:flex;align-items:center;justify-content:center;gap:14px;flex:1 1;min-width:0;min-height:56px;font:inherit;font-weight:500;white-space:nowrap;padding:12px 22px;border-radius:16px;border:1px solid transparent;background:transparent;color:#214d3e;cursor:pointer}.study-modes button svg{width:26px;height:26px;flex-shrink:0;color:#214d3e}.bank-page .study-modes button:hover,.study-modes button:hover{background:#f0f5ea}.bank-page .study-modes button[aria-pressed=true],.study-modes button[aria-pressed=true]{background:#fff;color:#101b1d;border-color:#d5ded4;box-shadow:0 3px 9px #243e2517}.study-modes button:focus-visible{outline:3px solid #315d4f;outline-offset:2px}.study-admin{max-width:1200px;margin:auto;padding:28px 24px}.study-admin-layout{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);grid-gap:24px;gap:24px;align-items:flex-start}.study-admin-list{display:flex;flex-direction:column;gap:10px}.study-admin-list button{flex-shrink:0;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere}.study-admin-list button[aria-current=true]{border-color:#315d4f;background:#eef5ef}.study-editor{min-width:0;border:1px solid #d1dfd6;border-radius:20px;background:white;padding:24px}.study-editor form{display:grid;grid-gap:16px;gap:16px}.study-editor label{display:grid;grid-gap:8px;gap:8px;font-weight:600}.study-editor textarea{resize:vertical;min-height:120px}.study-editor-actions{display:flex;flex-wrap:wrap;gap:12px}.study-editor-actions button[type=submit]{background:#315d4f;color:white}.study-editor details{margin-top:24px}.study-editor summary{cursor:pointer;margin-bottom:16px}@media(max-width:1100px){.study-admin-layout{grid-template-columns:minmax(0,1fr)}.study-admin-list{max-height:240px;overflow:auto}}@media(max-width:700px){.study-admin,.study-browser{padding:24px 12px}.study-heading{gap:14px}.study-heading .study-modes{flex-basis:100%;padding:5px;border-radius:19px}.bank-page .study-modes button,.study-modes button{min-height:48px;padding:10px 12px;gap:10px;border-radius:14px}.study-modes button svg{width:23px;height:23px}.study-card-face{min-height:260px;padding:24px 18px;gap:22px}.study-editor{padding:18px}}@media(max-width:550px){.study-browser .study-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.study-browser .study-controls>button{grid-column:1/-1}.study-browser .study-controls label{font-size:13px}}@media(prefers-reduced-motion:reduce){.study-card-face,.study-card-turn{transition:none}}.flashcard-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.3fr) auto;grid-gap:12px;gap:12px;align-items:start;margin:0 0 16px}.flashcard-filters .bank-filter-search{grid-column:auto;grid-row:auto}.flashcard-filters>button{min-height:48px;background:#214d3e}.flashcard-state-hint{text-align:center;font-size:14px;color:#617168;margin:12px 0}@media(max-width:900px){.flashcard-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.flashcard-filters{grid-template-columns:minmax(0,1fr)}.flashcard-filters>button{width:100%}}.study-card-actions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-gap:16px;gap:16px;align-items:center;margin-top:20px}.study-card-actions-side{display:flex;align-items:center;gap:12px;min-width:0}.study-card-actions-side:first-child,.study-card-actions-side:last-child{justify-content:space-between}.study-card .study-card-action{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 16px;background:#fff;color:#315d4f;border:1px solid #d1dfd6;border-radius:12px;font:inherit;white-space:nowrap;cursor:pointer}.study-card .study-card-action[aria-pressed=true]{background:#eaf2e5;border-color:#315d4f}.study-card-action svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.study-card-action svg[fill=currentColor]{fill:currentColor}.study-card .study-card-flip{min-height:52px;font-weight:600;box-shadow:0 3px 8px #214d3e18}.study-card .study-card-flip:hover{background:#214d3e}@media(max-width:1200px){.study-card-action-label{display:none}.study-card .study-card-action{width:48px;padding:12px}}@media(max-width:550px){.study-card-actions{gap:8px}.study-card-actions-side{gap:6px}.study-card .study-card-action{width:40px;min-height:44px;padding:9px}.study-card .study-card-flip{min-height:48px;padding:12px 10px;gap:6px;font-size:14px}}@media(max-width:360px){.study-card-actions,.study-card-actions-side{gap:4px}.study-card .study-card-action{width:36px;padding:7px}.study-card .study-card-flip{padding:12px 8px;gap:4px;font-size:13px}}.flashcard-meta{padding:16px 20px;margin:24px 0 12px;border:1px solid #dce2df;border-radius:20px;background:#fff;color:#68737b;font-size:14px}.flashcard-meta,.flashcard-meta-details{display:flex;align-items:center;gap:16px;min-width:0}.flashcard-meta-details{flex:1 1;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.flashcard-meta-details>*{flex-shrink:0}.flashcard-meta-details>strong,.flashcard-meta-topic{color:#203b33}.flashcard-meta-details:focus-visible{outline:2px solid #315d4f;outline-offset:3px;border-radius:4px}.flashcard-meta .bank-task-actions{flex-shrink:0;margin-left:0}.flashcard-learned-status{padding:8px 12px;border-radius:9px;background:#f0f2ef;color:#62716a;font-weight:600}.flashcard-learned-status[data-learned=true]{background:#edf3e8;color:#315d4f}.flashcard-shared-note{font-size:14px;color:#617168}@media(max-width:1100px){.flashcard-meta .bank-task-actions .bank-icon-button>span{display:none}.flashcard-meta .bank-task-actions .bank-icon-button{width:44px;height:44px;padding:10px}}@media(max-width:650px){.flashcard-meta{gap:8px;padding:12px}.flashcard-meta-details{gap:12px}.flashcard-meta .bank-task-actions{gap:0}.flashcard-meta .bank-action-notice{right:0;max-width:calc(100vw - 64px)}}.bank-page.flashcard-bank{padding-bottom:calc(160px + env(safe-area-inset-bottom, 0px))}@media(max-width:900px){.study-admin .study-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.study-admin .study-controls>label{grid-column:1/-1}.study-admin .study-controls>button{padding:12px 10px}}.study-card-actions-side .study-card-action{flex-shrink:0}.study-card-actions-side:first-child .study-card-action:first-child,.study-card-actions-side:last-child .study-card-action:last-child{flex:1 1;min-width:44px}@media(max-width:360px){.study-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.study-card-actions-side{grid-row:1;gap:8px}.study-card-actions-side:first-child{grid-column:1}.study-card-actions-side:last-child{grid-column:2}.study-card .study-card-action{width:44px;min-height:44px}.study-card .study-card-flip{grid-row:2;grid-column:1/-1;width:100%}}