html{background:#f7f8fc;min-width:320px;min-height:100%}body{background:#f7f8fc;min-width:320px;min-height:100vh;margin:0}#root{min-height:100vh}:root{--bg:#f7f8fc;--surface:#fff;--surface-soft:#f4f6fb;--surface-muted:#edf1f9;--border:#e2e7f0;--border-strong:#ccd6e5;--text:#1d2939;--text-muted:#65758b;--primary:#4557e8;--primary-dark:#3546cf;--primary-soft:#edf0ff;--danger:#c94343;--success:#18785d;--shadow:0 18px 44px #16264512;--shadow-popover:0 28px 80px #121f3838;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}button,input,select{font:inherit}button{-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,[role=button]:focus-visible{outline-offset:2px;outline:3px solid #4557e83d}.app-shell{width:min(1180px,100%);margin:0 auto;padding:36px 28px 28px}.page-header{justify-content:space-between;align-items:flex-start;gap:28px;margin-bottom:30px;display:flex}.brand-block{max-width:660px}.eyebrow,.section-kicker{color:var(--primary);letter-spacing:.12em;text-transform:uppercase;align-items:center;gap:8px;margin:0 0 10px;font-size:.76rem;font-weight:800;display:flex}.brand-dot{background:var(--primary);width:8px;height:8px;box-shadow:0 0 0 5px var(--primary-soft);border-radius:999px;display:inline-block}h1,h2,h3,p{margin-top:0}h1{color:#172134;letter-spacing:-.055em;max-width:650px;margin-bottom:12px;font-size:clamp(2.1rem,4vw,3.65rem);line-height:1.04}h2{color:#202c40;letter-spacing:-.02em;margin-bottom:0;font-size:1.26rem;line-height:1.2}h3{margin-bottom:0;font-size:.95rem}.subtitle{color:var(--text-muted);margin-bottom:0;font-size:1rem;line-height:1.65}.header-actions,.footer-actions,.modal-actions,.focus-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.header-actions{justify-content:flex-end}.account-bar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:inline-flex}.account-plan-chip{border:1px solid var(--border-strong);color:#34435a;white-space:nowrap;background:#fff;border-radius:999px;align-items:center;min-height:30px;padding:5px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.account-plan-starter{color:#24599c;border-color:#3b82f659}.account-plan-student{color:#09765b;border-color:#10b98161}.account-plan-pro{color:#6e2aa2;border-color:#9333ea61}.account-plan-free{color:#5d6879;border-color:#6b728052}.flashcard-library{gap:16px;display:grid}.flashcard-library-subject{border:1px solid var(--border);background:#fbfcff;border-radius:16px;gap:10px;padding:14px;display:grid}.flashcard-library-list{gap:9px;display:grid}.flashcard-library-card{border:1px solid var(--border);background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:14px;padding:12px;display:flex}.flashcard-library-card strong{color:#26354b}.flashcard-library-card p{color:var(--text-muted);margin:4px 0 0;font-size:.86rem}@media (width<=720px){.account-bar{align-items:flex-start}.account-bar-actions{justify-content:flex-start}.flashcard-library-card{flex-direction:column;align-items:flex-start}}.primary-button,.secondary-button,.text-button,.delete-button,.preset-button,.icon-button,.footer-actions button{cursor:pointer;border:0;border-radius:12px;transition:transform .16s,background-color .16s,border-color .16s,box-shadow .16s}.primary-button,.secondary-button,.preset-button{min-height:44px;padding:11px 16px;font-weight:700}.primary-button{background:var(--primary);color:#fff;box-shadow:0 10px 24px #4557e838}.primary-button:hover{background:var(--primary-dark);transform:translateY(-1px)}.secondary-button{border:1px solid var(--border-strong);color:#2c3b52;background:#fff}.secondary-button:hover{background:#fbfcff;border-color:#b4c0d4}.compact-button{min-height:38px;padding:8px 13px;font-size:.9rem}.text-button{color:var(--primary);background:0 0;padding:5px 0;font-size:.9rem;font-weight:800}.text-button:hover{color:var(--primary-dark)}.delete-button{color:var(--danger);background:0 0;padding:7px 0 7px 10px;font-size:.85rem;font-weight:750}.delete-button:hover{color:#a33333}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.stat-card,.panel{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px}.stat-card{padding:20px}.stat-icon{background:var(--primary-soft);width:32px;height:32px;color:var(--primary);border-radius:10px;place-items:center;margin-bottom:22px;font-size:1.18rem;font-weight:800;display:grid}.stat-label{color:var(--text-muted);margin-bottom:6px;font-size:.86rem;font-weight:650}.stat-value{color:#1b2840;letter-spacing:-.04em;margin-bottom:0;font-size:2rem;font-weight:800}.dashboard-grid{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:18px;display:grid}.panel{padding:22px}.full-panel{grid-column:1/-1}.panel-header{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px;display:flex}.section-kicker{letter-spacing:.1em;margin-bottom:6px;font-size:.66rem}.next-exam-panel,.focus-panel{min-height:192px}.countdown-pill,.level-chip,.pending-chip{white-space:nowrap;border-radius:999px;align-items:center;width:fit-content;font-size:.78rem;font-weight:750;display:inline-flex}.countdown-pill{background:var(--primary-soft);color:var(--primary);padding:7px 10px}.level-chip{background:var(--surface-muted);color:#53647c;padding:6px 9px}.pending-chip{color:var(--success);background:#eef9f4;padding:6px 9px}.next-exam-card{background:linear-gradient(135deg,#f7f8ff 0%,#eef2ff 100%);border:1px solid #e9edfa;border-radius:16px;justify-content:space-between;align-items:end;gap:16px;min-height:100px;padding:16px;display:flex}.item-title{color:#1d2a41;margin-bottom:4px;font-size:.98rem;font-weight:800;line-height:1.35}.small-label{color:var(--text-muted);margin-bottom:0;font-size:.85rem;line-height:1.5}.next-exam-info{text-align:right;gap:2px;min-width:134px;display:grid}.next-exam-info span{color:var(--text-muted);font-size:.78rem}.next-exam-info strong{color:#1e2c45;font-size:.91rem}.progress-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.progress-item{background:var(--surface-soft);color:var(--text-muted);text-align:center;border-radius:14px;gap:5px;padding:12px 8px;font-size:.76rem;display:grid}.progress-value{color:#1c2a42;letter-spacing:-.04em;font-size:1.45rem;font-weight:800}.panel-note{color:var(--text-muted);margin:13px 0 0;font-size:.78rem}.subject-list,.exam-list,.pack-list,.selected-files,.source-file-list{gap:10px;display:grid}.subject-card,.exam-list-item{border:1px solid var(--border);background:#fff;border-radius:16px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:14px 16px;display:grid}.subject-main{align-items:center;gap:11px;min-width:0;display:flex}.subject-avatar{background:var(--primary-soft);width:36px;height:36px;color:var(--primary);border-radius:12px;flex:none;place-items:center;font-size:.9rem;font-weight:800;display:grid}.subject-meta-group{color:var(--text-muted);text-align:right;justify-content:flex-end;align-items:center;gap:9px;font-size:.82rem;display:flex}.exam-list-item{grid-template-columns:minmax(0,1fr) auto}.exam-date-group{text-align:right;gap:2px;display:grid}.exam-date-group strong{color:#273650;font-size:.88rem}.exam-date-group span{color:var(--primary);font-size:.78rem;font-weight:750}.pack-card{border:1px solid var(--border);background:#fff;border-radius:16px;gap:12px;padding:16px;display:grid}.pack-card-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.pack-details{color:var(--text-muted);flex-wrap:wrap;gap:7px;font-size:.8rem;display:flex}.pack-details span{background:var(--surface-soft);border-radius:8px;padding:5px 8px}.pack-card .compact-button{justify-self:start}.empty-state{min-height:136px;color:var(--text-muted);background:#fbfcff;border:1px dashed #cad4e3;border-radius:16px;align-items:flex-start;gap:13px;padding:18px;display:flex}.empty-state-inline{min-height:100px}.empty-state strong{color:#2b3950;margin:1px 0 5px;font-size:.94rem;display:block}.empty-state p{margin-bottom:14px;font-size:.87rem;line-height:1.5}.empty-icon{background:var(--primary-soft);width:34px;height:34px;color:var(--primary);border-radius:11px;flex:none;place-items:center;font-size:1.2rem;font-weight:700;display:grid}.simple-empty{color:var(--text-muted);margin:0;padding:8px 0 4px;font-size:.9rem}.page-footer{color:var(--text-muted);justify-content:space-between;align-items:center;gap:20px;margin-top:24px;padding:22px 2px 4px;font-size:.82rem;display:flex}.page-footer strong{color:#43526a}.footer-actions button{color:var(--text-muted);background:0 0;padding:3px 0;font-size:.82rem}.footer-actions button:hover{color:var(--primary)}.modal-overlay{z-index:30;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#131d2f7a;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.modal-card{width:min(500px,100%);max-height:min(780px,100vh - 44px);box-shadow:var(--shadow-popover);background:#fff;border:1px solid #ffffff73;border-radius:23px;overflow:auto}.wide-modal{width:min(660px,100%)}.focus-modal{width:min(460px,100%)}.modal-header{justify-content:space-between;align-items:center;gap:16px;padding:22px 22px 0;display:flex}.icon-button{border:1px solid var(--border);color:#627186;background:#fff;flex:none;place-items:center;width:34px;height:34px;font-size:1.35rem;line-height:1;display:grid}.icon-button:hover{background:var(--surface-soft);color:#263650}.modal-content{gap:16px;padding:22px;display:grid}.modal-intro{color:var(--text-muted);margin:-2px 0 2px;font-size:.9rem;line-height:1.55}.form-field,.file-field{color:#334259;gap:7px;font-size:.88rem;font-weight:750;display:grid}.field-label{color:#334259;font-size:.88rem;font-weight:750}.optional-label{color:var(--text-muted);font-weight:500}.form-field input,.form-field select{border:1px solid var(--border-strong);color:#27354c;background:#fff;border-radius:11px;width:100%;min-height:44px;padding:9px 11px}.form-field input::placeholder{color:#99a5b6}.form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.field-error{color:var(--danger);margin:-3px 0 0;font-size:.85rem;font-weight:650}.dropzone{color:var(--text-muted);cursor:pointer;text-align:center;background:#fbfcff;border:1.5px dashed #b8c4d6;border-radius:14px;justify-items:center;gap:5px;padding:19px 14px;display:grid}.dropzone:hover{border-color:var(--primary);background:#f7f8ff}.dropzone strong{color:#34435a;font-size:.88rem}.dropzone span{font-size:.78rem}.dropzone-icon{color:var(--primary);font-weight:800;font-size:1.2rem!important}.dropzone-limit{color:var(--primary);margin-top:2px;font-weight:750}.selected-file{border:1px solid var(--border);background:var(--surface-soft);color:#45556e;border-radius:11px;align-items:center;gap:9px;min-width:0;padding:9px 10px;font-size:.82rem;display:flex}.file-type-icon{color:var(--primary);font-size:1rem}.selected-file-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.file-remove{width:26px;height:26px;font-size:1.05rem}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.modal-actions{justify-content:flex-end;padding-top:2px}.pack-modal-content{gap:18px}.pack-modal-overview{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.ai-placeholder{background:linear-gradient(125deg,#f7f8ff 0%,#eef2ff 100%);border:1px solid #dde3ff;border-radius:15px;gap:12px;padding:16px;display:flex}.ai-placeholder>span{color:var(--primary);font-size:1.25rem}.ai-placeholder strong{color:#2b3b60;margin-bottom:5px;font-size:.93rem;display:block}.ai-placeholder p{color:#5e6f8d;margin-bottom:0;font-size:.85rem;line-height:1.5}.section-subheader{color:#3a4a61;justify-content:space-between;align-items:center;gap:10px;display:flex}.section-subheader span{color:var(--text-muted);font-size:.8rem}.source-files{gap:10px;display:grid}.source-file{background:var(--surface-soft);color:#475871;border-radius:10px;align-items:center;gap:9px;min-width:0;padding:10px 11px;font-size:.84rem;display:flex}.source-file span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.source-file span:first-child{color:var(--primary)}.pack-settings{color:var(--text-muted);flex-wrap:wrap;gap:9px;font-size:.82rem;display:flex}.pack-settings span{border:1px solid var(--border);background:#fff;border-radius:9px;padding:7px 9px}.pack-settings strong{color:#43526b}.focus-clock{color:#1f2d44;font-variant-numeric:tabular-nums;letter-spacing:-.08em;text-align:center;margin:2px 0 4px;font-size:clamp(3.5rem,13vw,5.2rem);font-weight:800;line-height:1}.preset-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.preset-button{border:1px solid var(--border-strong);color:#53647c;background:#fff;padding:9px;font-size:.85rem}.preset-button.selected{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}.preset-button:disabled{cursor:default;opacity:.7}.focus-message{color:var(--success);background:#eff9f4;border-radius:10px;margin:0;padding:10px 11px;font-size:.84rem;font-weight:700}.focus-actions{justify-content:center}.toast{z-index:50;color:#27684f;background:#f3fbf7;border:1px solid #d4e8df;border-radius:12px;max-width:min(390px,100vw - 48px);padding:13px 16px;font-size:.88rem;font-weight:700;position:fixed;bottom:24px;right:24px;box-shadow:0 16px 45px #13272d29}.toast-info{color:#4a5b82;background:#f4f7ff;border-color:#d9e1f5}@media (width<=850px){.page-header{flex-direction:column}.header-actions{justify-content:flex-start}.dashboard-grid{grid-template-columns:1fr}.full-panel{grid-column:auto}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=620px){.app-shell{padding:24px 16px 20px}.page-header{gap:20px;margin-bottom:22px}.header-actions{width:100%}.header-actions .primary-button{flex:1}.stat-card{border-radius:17px;padding:16px}.stat-icon{margin-bottom:15px}.stat-value{font-size:1.65rem}.panel{border-radius:18px;padding:17px}.next-exam-card{flex-direction:column;align-items:flex-start}.next-exam-info{text-align:left;min-width:0}.subject-card{grid-template-columns:minmax(0,1fr) auto;gap:10px}.subject-meta-group{text-align:left;grid-column:1/-1;justify-content:flex-start}.delete-button{grid-area:1/2}.exam-list-item{gap:12px}.exam-date-group{min-width:88px}.page-footer{flex-direction:column;align-items:flex-start;gap:9px}.modal-overlay{padding:10px}.modal-card{border-radius:18px;max-height:calc(100vh - 20px)}.modal-header{padding:17px 17px 0}.modal-content{padding:17px}.form-row{grid-template-columns:1fr}.modal-actions{justify-content:stretch}.modal-actions .primary-button,.modal-actions .secondary-button{flex:1}.toast{max-width:calc(100vw - 32px);bottom:16px;right:16px}}.focus-explainer{color:var(--muted);margin:0;line-height:1.6}.floating-focus-timer{z-index:40;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff5;border:1px solid #2563eb33;border-radius:18px;align-items:center;gap:18px;min-width:310px;padding:14px 16px 14px 18px;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 20px 55px #0f172a2e}.floating-focus-label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:.78rem;font-weight:700;display:block}.floating-focus-timer strong{color:var(--text);font-size:1.55rem;line-height:1.25;display:block}.floating-focus-actions{gap:8px;margin-left:auto;display:flex}.timer-link,.timer-end{font:inherit;cursor:pointer;border:0;border-radius:10px;padding:10px 12px;font-weight:700}.timer-link{color:var(--primary);background:#eff6ff}.timer-end{color:#fff;background:var(--primary)}@media (width<=600px){.floating-focus-timer{min-width:0;bottom:12px;left:12px;right:12px}}.app-name{color:var(--primary);letter-spacing:.04em;margin:0 0 10px;font-size:1.35rem;font-weight:800}.panel-actions{align-items:center;gap:14px;display:flex}.credit-line{color:var(--text-muted);margin:8px 0 0;font-size:.84rem;font-weight:650;line-height:1.55}.plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.plan-card{border:1px solid var(--border);min-height:286px;color:var(--text);cursor:pointer;text-align:left;background:#fff;border-radius:16px;flex-direction:column;align-items:flex-start;gap:8px;padding:18px;display:flex}.plan-card:hover,.plan-card.plan-selected{border-color:var(--primary);background:var(--primary-soft);box-shadow:0 8px 20px #4557e81f}.plan-card-heading{justify-content:space-between;align-items:center;gap:8px;width:100%;display:flex}.plan-name{color:var(--primary);font-weight:800}.plan-price{color:#1d2a41;font-size:1.03rem}.plan-badge{color:#18785d;white-space:nowrap;background:#e8f7ef;border-radius:999px;padding:4px 7px;font-size:.68rem;font-weight:800}.plan-audience{color:var(--text-muted);margin-top:auto;font-size:.8rem;line-height:1.45}.plan-savings{color:#18785d;font-size:.78rem;font-weight:800}.upgrade-note,.payment-note{color:var(--text-muted);margin:4px 0 0;font-size:.86rem;line-height:1.55}.payment-box{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;padding:16px}.payment-box p{color:var(--text-muted);margin:8px 0;line-height:1.5}.cliq-placeholder{border:1px dashed var(--border-strong);color:var(--primary);border-radius:10px;padding:11px;font-size:.85rem;font-weight:700}@media (width<=880px){.plan-grid{grid-template-columns:1fr}}@media (width<=640px){.panel-actions{flex-direction:column;align-items:flex-end;gap:4px}}.payment-instructions{color:var(--text-muted);margin:12px 0 0;font-size:.9rem;line-height:1.55}.payment-disclaimer{border:1px solid var(--border);background:var(--surface-soft);color:#455166;border-radius:12px;margin:14px 0 0;padding:12px;font-size:.86rem;line-height:1.55}.auth-page{background:#f6f8ff;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{text-align:center;background:#fff;border:1px solid #dfe5f6;border-radius:24px;width:min(100%,460px);padding:36px;box-shadow:0 18px 55px #2f53be1f}.auth-card h1{margin:10px 0 12px;font-size:clamp(2rem,5vw,2.75rem)}.auth-card p{color:#657084;line-height:1.6}.brand-mark{background:#eef2ff;border-radius:17px;place-items:center;width:54px;height:54px;margin:0 auto 14px;font-size:28px;display:grid}.google-signin{justify-content:center;align-items:center;gap:10px;width:100%;margin-top:18px;display:inline-flex}.google-signin span{color:#4285f4;background:#fff;border-radius:50%;place-items:center;width:22px;height:22px;font-weight:800;display:inline-grid}.auth-footnote{margin-top:18px;font-size:.84rem}.account-bar{color:#687087;justify-content:flex-end;align-items:center;gap:12px;max-width:1120px;margin:0 auto 14px;font-size:.9rem;display:flex}.text-button{color:#3157e6;font:inherit;cursor:pointer;background:0 0;border:0;font-weight:700}@media (width<=650px){.account-bar{justify-content:space-between;padding:0 4px}.account-bar strong{text-overflow:ellipsis;vertical-align:bottom;max-width:170px;display:inline-block;overflow:hidden}}.subscription-alert,.exam-reminder-banner{box-shadow:var(--shadow);background:#f3f5ff;border:1px solid #cfd7ff;border-radius:18px;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px;padding:16px 18px;display:flex}.exam-reminder-banner{background:#f4fbf7;border-color:#d7e8df}.subscription-alert strong,.exam-reminder-banner strong{color:#253582;margin-bottom:4px;display:block}.exam-reminder-banner strong{color:#176347}.subscription-alert span,.exam-reminder-banner span{color:var(--text-muted);font-size:.92rem}.settings-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:15px;padding:15px;display:flex}.settings-card p,.settings-note{color:var(--text-muted);margin:5px 0 0;font-size:.9rem;line-height:1.55}.switch-row{color:var(--primary);align-items:center;gap:8px;font-weight:800;display:flex}.switch-row input{width:18px;height:18px;accent-color:var(--primary)}@media (width<=680px){.subscription-alert,.exam-reminder-banner,.settings-card{flex-direction:column;align-items:flex-start}}button:disabled{cursor:not-allowed;opacity:.58;transform:none!important}.admin-button{color:#806417;cursor:pointer;background:#fffbed;border:1px solid #d6b94b;border-radius:12px;min-height:44px;padding:11px 16px;font-weight:800;transition:transform .16s,box-shadow .16s,background-color .16s}.admin-button:hover{background:#fff5c8;transform:translateY(-1px);box-shadow:0 8px 20px #97740c21}.subscription-ended{background:#fffbf2;border-color:#edd4a4}.subscription-ended strong{color:#8b5e17}.account-id-card{background:#fbfcff;border:1px dashed #bdc9dd;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.account-id-card strong{color:#334259;font-size:.9rem}.account-id-card p{color:var(--text-muted);margin:4px 0 8px;font-size:.8rem;line-height:1.45}.account-id-card code{color:#4557e8;text-overflow:ellipsis;white-space:nowrap;max-width:290px;font-size:.72rem;display:block;overflow:hidden}.notebook-flashcards{background:linear-gradient(145deg,#fdfdff 0%,#f7f9ff 100%);border:1px solid #dae1f2;border-radius:18px;gap:15px;padding:18px;display:grid}.flashcard-section-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.flashcard-section-header .section-kicker{margin-bottom:5px}.flashcard-section-header h3{color:#263551;font-size:1.06rem}.flashcard-section-note{max-width:455px;color:var(--text-muted);margin:6px 0 0;font-size:.84rem;line-height:1.5}.flashcard-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:9px;display:flex}.flashcard-progress-chip{color:#237653;white-space:nowrap;background:#eaf7f0;border-radius:999px;align-items:center;min-height:32px;padding:6px 9px;font-size:.76rem;font-weight:800;display:inline-flex}.flashcard-study-area{gap:12px;display:grid}.flashcard-meta-row{color:#667893;letter-spacing:.03em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:12px;font-size:.78rem;font-weight:800;display:flex}.flashcard-meta-row span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.flashcard-3d{cursor:pointer;perspective:1400px;text-align:left;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:19px;width:100%;min-height:294px}.flashcard-inner{width:100%;min-height:294px;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.2,.75,.2,1);display:block;position:relative}.flashcard-3d.is-flipped .flashcard-inner{transform:rotateY(180deg)}.flashcard-face{backface-visibility:hidden;background-color:#fffefb;background-image:linear-gradient(90deg,#0000 0 37px,#e05f645c 37px 39px,#0000 39px),repeating-linear-gradient(#0000 0 30px,#7aa2e438 30px 32px);border:1px solid #d7deef;border-radius:19px;flex-direction:column;justify-content:center;align-items:flex-start;padding:37px 42px 32px 60px;display:flex;position:absolute;inset:0;overflow:hidden;box-shadow:0 21px 35px #20335829,0 4px #f4f0df}.flashcard-back{background-color:#fdfdff;background-image:linear-gradient(90deg,#0000 0 37px,#7269db57 37px 39px,#0000 39px),repeating-linear-gradient(#0000 0 30px,#7aa2e433 30px 32px);border-color:#d6ddff;transform:rotateY(180deg)}.flashcard-watermark{color:#48587e38;letter-spacing:.15em;font-size:.62rem;font-weight:900;position:absolute;top:19px;right:22px}.flashcard-page-hole{background:#e6e9ef;border-radius:50%;width:11px;height:11px;position:absolute;left:12px;box-shadow:inset 1px 1px 2px #212d442e,0 0 0 2px #f6f6f7}.flashcard-hole-one{top:67px}.flashcard-hole-two{top:calc(50% - 5px)}.flashcard-hole-three{bottom:67px}.flashcard-eyebrow{color:#4557e8;letter-spacing:.13em;margin-bottom:12px;font-size:.7rem;font-weight:900}.flashcard-back .flashcard-eyebrow{color:#6558c9}.flashcard-face strong{color:#26344e;letter-spacing:-.025em;white-space:pre-wrap;max-width:100%;font-size:clamp(1.1rem,2.3vw,1.46rem);font-weight:780;line-height:1.43}.flashcard-tap-hint{color:#77859c;font-size:.76rem;font-weight:750;position:absolute;bottom:18px;right:25px}.flashcard-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:9px;display:flex}.flashcard-review-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;display:flex}.review-button{min-height:36px;font:inherit;cursor:pointer;background:#fff;border:1px solid;border-radius:10px;padding:8px 11px;font-size:.8rem;font-weight:800}.review-again{color:#a04f60;background:#fff9fa;border-color:#e3cad2}.review-known{color:#217353;background:#f4fcf7;border-color:#cbe6d6}.flashcard-edit{margin-left:4px;font-size:.8rem}.flashcard-delete{padding-left:5px;font-size:.8rem}.flashcard-empty-state{background:#ffffffc7;border:1px dashed #becae0;border-radius:15px;align-items:flex-start;gap:14px;padding:18px;display:flex}.flashcard-empty-icon{color:#4557e8;background:#e9edff;border-radius:13px;flex:none;place-items:center;width:39px;height:39px;font-size:1.2rem;display:grid}.flashcard-empty-state strong{color:#2b3b58;margin:2px 0 5px;display:block}.flashcard-empty-state p{color:var(--text-muted);margin:0 0 13px;font-size:.84rem;line-height:1.52}.flashcard-empty-actions{flex-wrap:wrap;gap:9px;display:flex}.flashcard-starter-row{color:var(--text-muted);justify-content:space-between;align-items:center;gap:14px;padding-top:2px;font-size:.78rem;display:flex}.flashcard-starter-row .text-button{white-space:nowrap;font-size:.8rem}.flashcard-composer{background:#fff;border:1px solid #d9e0f2;border-radius:15px;gap:13px;padding:16px;display:grid}.flashcard-composer-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.flashcard-composer-heading strong{color:#2b3a56;font-size:.92rem;display:block}.flashcard-composer-heading span{color:var(--text-muted);margin-top:3px;font-size:.79rem;display:block}.admin-modal-content{gap:15px}.admin-intro-card{background:linear-gradient(135deg,#fffdf2,#fffae6);border:1px solid #e9d598;border-radius:15px;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px;display:flex}.admin-intro-card>div{align-items:flex-start;gap:11px;display:flex}.admin-lock{color:#956e0b;background:#fff3bf;border-radius:10px;flex:none;place-items:center;width:31px;height:31px;display:grid}.admin-intro-card strong{color:#765509;font-size:.93rem;display:block}.admin-intro-card p{color:#7e6a38;margin:5px 0 0;font-size:.82rem;line-height:1.5}.admin-pending-count{color:#8a6413;white-space:nowrap;background:#fff2bc;border-radius:999px;flex:none;align-items:center;min-height:30px;padding:5px 8px;font-size:.76rem;font-weight:900;display:inline-flex}.owner-support-indicator{color:#8a4c10;white-space:nowrap;background:#ffffffe6;border-radius:999px;align-items:center;min-height:20px;margin-left:6px;padding:2px 7px;font-size:.66rem;font-weight:900;line-height:1;display:inline-flex}.admin-request-list{gap:12px;display:grid}.admin-request-card{background:#fff;border:1px solid #dce2ef;border-radius:16px;gap:13px;padding:16px;display:grid}.admin-request-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.admin-request-name{color:#263550;margin:0 0 3px;font-size:.95rem;font-weight:850}.admin-request-top p:not(.admin-request-name){color:var(--text-muted);overflow-wrap:anywhere;margin:0;font-size:.82rem}.admin-request-status{color:#916316;white-space:nowrap;background:#fff4dc;border-radius:999px;padding:6px 8px;font-size:.7rem;font-weight:850}.admin-request-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0;display:grid}.admin-request-details div{background:#f7f9fd;border-radius:10px;padding:9px 10px}.admin-request-details dt{color:#76859b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px;font-size:.7rem;font-weight:800}.admin-request-details dd{color:#394b66;overflow-wrap:anywhere;margin:0;font-size:.82rem;font-weight:700}.admin-approval-controls{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:10px;display:grid}.admin-request-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.admin-empty-state{color:var(--text-muted);border:1px dashed #c8d4e5;border-radius:14px;align-items:flex-start;gap:12px;padding:18px;display:flex}.admin-empty-state>span{color:#237653;background:#e9f7ef;border-radius:50%;place-items:center;width:35px;height:35px;font-weight:900;display:grid}.admin-empty-state strong{color:#32445f;margin:2px 0 4px;display:block}.admin-empty-state p{margin:0;font-size:.84rem;line-height:1.5}@media (width<=680px){.account-id-card,.flashcard-section-header,.flashcard-starter-row,.admin-intro-card{flex-direction:column;align-items:flex-start}.flashcard-header-actions{justify-content:flex-start}.admin-request-details,.admin-approval-controls{grid-template-columns:1fr}.admin-request-actions{justify-content:stretch}.admin-request-actions button{flex:1}}@media (width<=520px){.flashcard-face{min-height:280px;padding:35px 24px 31px 51px}.flashcard-3d,.flashcard-inner{min-height:280px}.flashcard-watermark{right:15px}.flashcard-tap-hint{right:16px}.flashcard-controls .compact-button{min-width:0;padding:9px 10px;font-size:.78rem}.flashcard-review-row{justify-content:flex-start}.flashcard-empty-actions .compact-button{width:100%}}.ai-ready-chip{color:#4557e8;background:#eef0ff}.ai-workspace,.quiz-studio{background:linear-gradient(145deg,#fbfcff,#f6f8ff);border:1px solid #d9e1f4;border-radius:18px;gap:15px;padding:18px;display:grid}.ai-workspace-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:-5px;display:flex}.ai-status-chip,.quiz-history-chip{color:#6b7890;white-space:nowrap;background:#fff;border:1px solid #d7deef;border-radius:999px;align-items:center;min-height:31px;padding:6px 9px;font-size:.75rem;font-weight:800;display:inline-flex}.ai-status-chip.connected{color:#217353;background:#f1fbf5;border-color:#bde4cf}.ai-setup-note{color:#7d6328;background:#fff8e9;border-radius:11px;margin:0;padding:10px 12px;font-size:.8rem;line-height:1.5}.quiz-empty-state,.quiz-results-card{background:#ffffffc7;border:1px dashed #bcc9df;border-radius:15px;align-items:flex-start;gap:14px;padding:17px;display:flex}.quiz-empty-icon,.quiz-result-orb{color:#4557e8;background:#e9edff;border-radius:14px;flex:none;place-items:center;width:43px;height:43px;font-size:1.18rem;font-weight:900;display:grid}.quiz-empty-state strong,.quiz-results-card h3{color:#2b3b58;margin:2px 0 5px;display:block}.quiz-empty-state p,.quiz-results-card p{color:var(--text-muted);margin:0 0 12px;font-size:.84rem;line-height:1.52}.quiz-question-card{background:#fff;border:1px solid #dbe2f1;border-radius:16px;gap:14px;padding:18px;display:grid}.quiz-question-meta{color:#77869c;text-transform:uppercase;letter-spacing:.055em;justify-content:space-between;gap:10px;font-size:.76rem;font-weight:850;display:flex}.quiz-question-card>strong{color:#243451;font-size:1.08rem;line-height:1.5}.quiz-options{gap:8px;display:grid}.quiz-option{color:#40506a;cursor:pointer;width:100%;font:inherit;text-align:left;background:#fff;border:1px solid #d9e0ed;border-radius:12px;align-items:flex-start;gap:10px;padding:12px;font-size:.87rem;font-weight:650;line-height:1.45;display:flex}.quiz-option:hover{background:#fbfcff;border-color:#9facd6}.quiz-option>span{color:#6c7b92;background:#f0f3f9;border-radius:7px;flex:none;place-items:center;width:22px;height:22px;font-size:.72rem;font-weight:900;display:grid}.quiz-option.selected{background:#f5f6ff;border-color:#8795db}.quiz-option.correct{color:#237653;background:#f1fbf5;border-color:#9cd5b6}.quiz-option.correct>span{color:#237653;background:#dff4e8}.quiz-option.wrong{color:#ad4957;background:#fff8f9;border-color:#ebbbc3}.quiz-option.wrong>span{color:#ad4957;background:#ffe7ea}.quiz-feedback{border-radius:12px;padding:12px;font-size:.84rem}.quiz-feedback strong{margin-bottom:3px;display:block}.quiz-feedback p{margin:0;line-height:1.5}.quiz-feedback.is-correct{color:#237653;background:#eefaf3}.quiz-feedback.is-wrong{color:#9e4654;background:#fff6f7}.quiz-result-orb{border-radius:50%;width:60px;height:60px;font-size:.92rem}.exam-plan-mini{color:#51617b;background:#ffffff94;border-radius:12px;gap:4px;min-width:145px;padding:10px 11px;font-size:.78rem;display:grid}.exam-plan-mini strong{color:#33435d;font-size:.82rem}.exam-plan-mini .text-button{justify-self:start;font-size:.78rem}.insights-panel{overflow:hidden}.insights-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.insight-card{background:linear-gradient(145deg,#fff,#fafbff);border:1px solid #e0e5f1;border-radius:15px;gap:8px;min-height:130px;padding:16px;display:grid}.insight-label{color:#738198;letter-spacing:.055em;text-transform:uppercase;font-size:.76rem;font-weight:850}.insight-card>strong{color:#263650;letter-spacing:-.045em;font-size:1.6rem}.insight-card small{color:#718096;align-self:end;font-size:.78rem;line-height:1.45}.progress-track{background:#edf0f8;border-radius:999px;width:100%;height:7px;overflow:hidden}.progress-track span{border-radius:inherit;background:#596be9;height:100%;display:block}.planner-hero{background:linear-gradient(135deg,#f4f6ff,#eef3ff);border:1px solid #dce3ff;border-radius:15px;align-items:flex-start;gap:12px;padding:15px;display:flex}.planner-hero>span{color:#4557e8;background:#e4e9ff;border-radius:10px;flex:none;place-items:center;width:31px;height:31px;display:grid}.planner-hero strong{color:#2d3c63;font-size:.92rem;display:block}.planner-hero p{color:#64738d;margin:5px 0 0;font-size:.83rem;line-height:1.5}.planner-exam-callout{color:#65758b;background:#f6f8fc;border-radius:11px;justify-content:space-between;gap:12px;padding:11px 12px;font-size:.83rem;display:flex}.planner-exam-callout>span:last-child{color:#4557e8;font-weight:800}.planner-preview{background:#fcfdff;border:1px solid #e0e5ef;border-radius:14px;gap:11px;padding:14px;display:grid}.planner-day-list{gap:8px;max-height:390px;padding-right:2px;display:grid;overflow:auto}.planner-day{color:#394a65;cursor:pointer;width:100%;font:inherit;text-align:left;background:#fff;border:1px solid #e0e5ef;border-radius:11px;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;display:grid}.planner-day:hover{background:#fbfcff;border-color:#aab7d3}.planner-day.completed{background:#f5fcf7;border-color:#bfe4cf}.planner-day-check{color:#237653;border:1px solid #cfd8e7;border-radius:7px;place-items:center;width:22px;height:22px;font-size:.78rem;font-weight:900;display:grid}.planner-day.completed .planner-day-check{background:#e6f7ed;border-color:#a7dac0}.planner-day strong{color:#33445e;font-size:.82rem;display:block}.planner-day small{color:#77869b;margin-top:2px;font-size:.75rem;display:block}.planner-day-time{color:#5869ac;white-space:nowrap;font-size:.78rem;font-weight:800}.planner-more-note{color:#7a889c;margin:0;font-size:.76rem}.browser-notification-card{margin:0}.admin-metrics-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.admin-metrics-grid>div{background:#fbfcff;border:1px solid #e0e5ef;border-radius:12px;gap:4px;padding:12px;display:grid}.admin-metrics-grid span{color:#76859b;letter-spacing:.045em;text-transform:uppercase;font-size:.7rem;font-weight:850}.admin-metrics-grid strong{color:#2e3e59;letter-spacing:-.025em;font-size:1.15rem}.admin-metrics-grid small{color:#8290a3;font-size:.71rem;line-height:1.35}@media (width<=850px){.insights-grid{grid-template-columns:1fr}.admin-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.exam-plan-mini{width:100%;min-width:0}.ai-workspace-actions{justify-content:stretch}.ai-workspace-actions button{flex:1}}@media (width<=520px){.quiz-empty-state,.quiz-results-card,.planner-hero{flex-direction:column}.planner-exam-callout{flex-direction:column;align-items:flex-start}.planner-day{grid-template-columns:26px minmax(0,1fr)}.planner-day-time{grid-column:2}.admin-metrics-grid{grid-template-columns:1fr}}.admin-active-plans{gap:11px;padding-top:2px;display:grid}.admin-active-plan-list{gap:8px;display:grid}.admin-active-plan-row{background:#fbfcff;border:1px solid #e1e6ef;border-radius:12px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:11px 12px;display:grid}.admin-active-plan-row strong{color:#34445f;font-size:.83rem;display:block}.admin-active-plan-row span{color:#738198;overflow-wrap:anywhere;font-size:.75rem;display:block}.admin-active-plan-row>div:nth-child(2){text-align:right}.admin-active-plan-row>div:nth-child(2) span{color:#4557e8;font-weight:850}.admin-active-plan-row small{color:#8290a3;margin-top:2px;font-size:.72rem;display:block}@media (width<=620px){.admin-active-plan-row{grid-template-columns:minmax(0,1fr) auto}.admin-active-plan-row>div:nth-child(2){text-align:left}.admin-active-plan-row .delete-button{grid-column:1/-1;justify-self:start;padding-left:0}}.pricing-modal-content{gap:16px}.pricing-hero{background:linear-gradient(135deg,#f4f6ff,#fbfcff);border:1px solid #dbe3ff;border-radius:18px;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px;display:flex}.pricing-hero strong{color:#273756;letter-spacing:-.015em;font-size:1.03rem;display:block}.pricing-hero p:not(.section-kicker){max-width:630px;color:var(--text-muted);margin:7px 0 0;font-size:.86rem;line-height:1.55}.pricing-hero-pill{color:var(--primary);white-space:nowrap;background:#fff;border-radius:999px;flex:none;padding:7px 10px;font-size:.74rem;font-weight:850;box-shadow:0 4px 12px #2f48ad14}.plan-card{gap:10px;min-height:440px}.plan-pro-card{background:linear-gradient(165deg,#fff,#f5f7ff);border-color:#bdc8ff}.plan-headline{color:#293a58;font-size:.88rem;font-weight:800;line-height:1.35}.plan-limits-row{flex-wrap:wrap;gap:6px;width:100%;display:flex}.plan-limits-row>span{color:#52637c;background:#f0f3fa;border-radius:8px;padding:5px 7px;font-size:.72rem;font-weight:750}.plan-credit-line{color:#4a5c7c;background:#f8f9ff;border:1px solid #dce4ff;border-radius:10px;width:100%;padding:9px 10px;font-size:.75rem;line-height:1.45}.plan-credit-line strong{color:var(--primary);font-size:.95rem}.plan-feature-list{gap:7px;width:100%;display:grid}.plan-feature{color:#3c4d68;font-size:.77rem;line-height:1.4}.plan-feature:first-letter{color:var(--primary)}.plan-audience{margin-top:2px}.plan-savings{border-top:1px dashed #c5cfef;margin-top:3px;padding-top:9px;line-height:1.45}.pricing-fine-print{color:#607087;background:#fafbff;border:1px solid #e1e5ef;border-radius:14px;padding:13px 15px;font-size:.82rem;line-height:1.55}.pricing-fine-print strong{color:#374861}.feature-lock-card{background:linear-gradient(135deg,#fbfcff,#f5f7ff);border:1px dashed #bfcae2;border-radius:15px;align-items:flex-start;gap:13px;padding:17px;display:flex}.feature-lock-icon{width:36px;height:36px;color:var(--primary);background:#e9edff;border-radius:12px;flex:none;place-items:center;font-size:1rem;display:grid}.feature-lock-eyebrow{color:var(--primary);letter-spacing:.09em;text-transform:uppercase;margin:0 0 4px;font-size:.68rem;font-weight:850}.feature-lock-card strong{color:#2d3c57;font-size:.92rem;display:block}.feature-lock-card p:not(.feature-lock-eyebrow){color:var(--text-muted);margin:5px 0 12px;font-size:.82rem;line-height:1.52}.quiz-locked-chip{color:#687891;background:#f1f3f8}.ai-workspace-statuses{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.ai-credit-chip{color:#1d7654;white-space:nowrap;background:#edf8f3;border-radius:999px;align-items:center;min-height:28px;padding:5px 8px;font-size:.72rem;font-weight:850;display:inline-flex}.ai-credit-chip.empty{color:#718096;background:#f4f5f8}.ai-word-counter{color:#718096;margin-right:auto;font-size:.75rem;font-weight:750}.ai-workspace-actions{flex-wrap:wrap}.insights-grid-pro{grid-template-columns:repeat(4,minmax(0,1fr))}.insight-card-locked{background:linear-gradient(145deg,#fcfdff,#f6f8fc);border-style:dashed}.insight-card-locked .text-button{justify-self:start;font-size:.78rem}.pro-insight-card{border-color:#d8dcfa}.pro-insight-card .insight-label{color:#6557bf}@media (width<=980px){.insights-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.pricing-hero{flex-direction:column}.pricing-hero-pill{white-space:normal}.ai-workspace-statuses{justify-content:flex-start}}@media (width<=560px){.insights-grid-pro{grid-template-columns:1fr}.plan-card{min-height:0}.feature-lock-card{flex-direction:column}}.free-plan-strip{color:#64738a;background:#fbfcfe;border:1px solid #e1e5ee;border-radius:14px;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 14px;font-size:.76rem;line-height:1.4;display:flex}.free-plan-strip>div{gap:1px;margin-right:5px;display:grid}.free-plan-strip>div span{color:#718096;letter-spacing:.08em;text-transform:uppercase;font-size:.66rem;font-weight:850}.free-plan-strip>div strong{color:#33435e;font-size:.82rem}.free-plan-strip>span{background:#f0f3f8;border-radius:8px;padding:4px 7px;font-weight:700}@media (width<=620px){.free-plan-strip{flex-direction:column;align-items:flex-start}.free-plan-strip>div{margin-bottom:3px}}@media (width<=850px){.insights-grid-pro{grid-template-columns:1fr}}textarea{font:inherit}textarea:focus-visible{outline-offset:2px;outline:3px solid #4557e83d}.primary-button:disabled,.secondary-button:disabled{cursor:not-allowed;opacity:.56;transform:none}.inline-link-button{text-align:left;width:fit-content;margin-top:8px;display:inline-flex}.policy-acknowledgement{color:#52637d;background:#fbfcff;border:1px solid #dce2ef;border-radius:12px;align-items:flex-start;gap:10px;padding:12px 13px;font-size:.83rem;font-weight:650;line-height:1.5;display:flex}.policy-acknowledgement input{width:16px;height:16px;accent-color:var(--primary);flex:none;margin:2px 0 0}.pricing-policy-callout,.refund-policy-hero,.refund-eligibility-summary{background:linear-gradient(135deg,#f5f7ff,#fbfcff);border:1px solid #d8e0ff;border-radius:15px;align-items:flex-start;gap:12px;padding:15px;display:flex}.pricing-policy-callout>span,.refund-policy-hero>span,.refund-eligibility-summary>span{color:#4557e8;background:#e8edff;border-radius:10px;flex:none;place-items:center;width:31px;height:31px;font-size:1rem;font-weight:900;display:grid}.pricing-policy-callout strong,.refund-policy-hero strong,.refund-eligibility-summary strong{color:#2e3e62;font-size:.92rem;display:block}.pricing-policy-callout p,.refund-policy-hero p,.refund-eligibility-summary p{color:#687891;margin:5px 0 0;font-size:.82rem;line-height:1.54}.membership-settings-card{align-items:flex-start}.settings-card-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.refund-status-card{background:#fbfcff;border:1px solid #dbe2ef;border-radius:14px;align-items:flex-start;gap:10px;padding:13px 14px;display:flex}.refund-status-card>span{color:#4557e8;background:#edf0ff;border-radius:9px;flex:none;place-items:center;width:27px;height:27px;font-size:.86rem;font-weight:900;display:grid}.refund-status-card strong{color:#33445f;font-size:.86rem;display:block}.refund-status-card p{color:#708098;margin:4px 0 0;font-size:.8rem;line-height:1.48}.refund-status-refunded{background:#f6fcf8;border-color:#c6e5d3}.refund-status-refunded>span{color:#207753;background:#e7f6ed}.refund-status-declined{background:#fffaf4;border-color:#ead7bf}.refund-status-declined>span{color:#9b641d;background:#fff0df}.refund-policy-modal{gap:14px}.refund-policy-hero{padding:18px}.refund-policy-hero .section-kicker{margin-bottom:6px}.policy-section{background:#fff;border:1px solid #e2e6ef;border-radius:14px;padding:14px 15px}.policy-section h3{color:#34435e;font-size:.9rem}.policy-section p{color:#64738b;margin:7px 0 0;font-size:.83rem;line-height:1.58}.policy-section ul,.policy-section ol{color:#53637d;gap:6px;margin:10px 0 0;padding-left:21px;font-size:.82rem;line-height:1.48;display:grid}.policy-section-soft{background:#f7f9ff;border-color:#d8e2ff}.refund-eligibility-summary.eligible{background:linear-gradient(135deg,#f3fcf6,#fbfffd);border-color:#c6e6d3}.refund-eligibility-summary.eligible>span{color:#237754;background:#e0f5e7}.refund-eligibility-summary.manual-review{background:linear-gradient(135deg,#fffaf3,#fffdf9);border-color:#efdec0}.refund-eligibility-summary.manual-review>span{color:#9a681c;background:#fff0d9}.refund-usage-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.refund-usage-grid>span{color:#68778e;background:#fbfcff;border:1px solid #e1e6ef;border-radius:10px;padding:8px 9px;font-size:.73rem;font-weight:750;line-height:1.35}.refund-usage-grid>span.good{color:#277b58;background:#f5fcf7;border-color:#cce7d7}.refund-usage-grid>span.not-good{color:#93621d;background:#fffaf3;border-color:#eed9be}.user-refund-usage-grid{margin-top:-2px}.admin-work-section{gap:11px;padding-top:2px;display:grid}.refund-queue-section{padding-top:5px}.admin-policy-note{color:#79869a;margin:-5px 0 1px;font-size:.78rem;line-height:1.5}.refund-request-card{border-color:#d9e1f2}.refund-eligibility-chip{white-space:nowrap;border-radius:999px;padding:6px 8px;font-size:.7rem;font-weight:850}.refund-eligibility-chip.eligible{color:#217451;background:#e8f7ee}.refund-eligibility-chip.manual-review{color:#946519;background:#fff2dc}.refund-reason-box{background:#fafbfe;border:1px solid #e2e6ef;border-radius:11px;padding:11px 12px}.refund-reason-box strong{color:#52637d;text-transform:uppercase;letter-spacing:.055em;font-size:.73rem;display:block}.refund-reason-box p{color:#4d5f78;white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;font-size:.83rem;line-height:1.5}.approved-refund-list{gap:8px;margin-top:6px;display:grid}.approved-refund-row{background:#f6fcf8;border:1px solid #c9e4d5;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.approved-refund-row strong{color:#2b4d3c;font-size:.84rem;display:block}.approved-refund-row span{color:#567569;margin-top:2px;font-size:.75rem;display:block}@media (width<=720px){.settings-card-actions{justify-content:flex-start}.refund-usage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.approved-refund-row{flex-direction:column;align-items:flex-start}}@media (width<=520px){.pricing-policy-callout,.refund-policy-hero,.refund-eligibility-summary{flex-direction:column}.refund-usage-grid{grid-template-columns:1fr}}.form-field textarea{resize:vertical;border:1px solid var(--border-strong);color:#27354c;background:#fff;border-radius:11px;width:100%;min-height:102px;padding:10px 11px;line-height:1.5}.backend-error-banner{color:#8f3030;background:#fff0f0d6;border:1px solid #b44a4a3d;border-radius:14px;max-width:1180px;margin:12px auto 0;padding:11px 14px;font-size:.9rem}.admin-metrics-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))}.support-queue-section{padding-top:6px}.support-request-card{background:linear-gradient(135deg,#f8faff,#fff);border-color:#d8e4ff}.support-request-card .refund-reason-box{border-color:#dfe8fa}.support-request-card .pending-chip{color:#4055ab;background:#e8efff}@media (width<=620px){.app-shell{padding:18px 14px calc(28px + env(safe-area-inset-bottom))}.page-header{gap:16px}.page-header h1{letter-spacing:-.045em;font-size:clamp(2rem,12vw,2.65rem)}.header-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;width:100%;display:grid}.header-actions>button{width:100%;min-width:0;padding-left:10px;padding-right:10px}.header-actions>.primary-button{grid-column:1/-1}.account-bar{gap:9px;padding:0}.account-bar-actions{justify-content:space-between;width:100%}.panel-actions{align-items:stretch;width:100%}.panel-actions .text-button{text-align:left;min-height:42px;padding:10px 0}.stat-grid{gap:10px}.stat-card{min-height:125px}.dashboard-grid{gap:12px}.panel{padding:15px}.subject-card,.exam-list-item,.pack-card{border-radius:14px}.pack-card{padding:14px}.pack-card-top{gap:9px}.pack-card .compact-button,.flashcard-library-card .compact-button{width:100%}.modal-overlay{align-items:flex-end;padding:0}.modal-card{border-radius:22px 22px 0 0;width:100%;max-height:min(90vh,760px)}.modal-header{padding:16px 16px 0}.modal-content{padding:16px 16px calc(18px + env(safe-area-inset-bottom));gap:14px}.form-field input,.form-field select,.form-field textarea{font-size:16px}.dropzone{min-height:145px;padding:22px 14px}.selected-file{min-height:44px}.settings-card-actions,.settings-card-actions .compact-button{width:100%}.admin-metrics-grid{gap:8px}.admin-intro-card,.approved-refund-row{border-radius:14px}}@media (width<=400px){.header-actions{grid-template-columns:1fr}.header-actions>.primary-button{grid-column:auto}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-plan-chip{text-overflow:ellipsis;max-width:100%;overflow:hidden}}.upload-progress-card{color:#45556e;background:#f8f9ff;border:1px solid #d9e0ff;border-radius:13px;gap:9px;padding:13px;display:grid}.upload-progress-heading{color:#33435e;justify-content:space-between;align-items:flex-start;gap:12px;font-size:.84rem;line-height:1.35;display:flex}.upload-progress-heading strong{min-width:0;font-weight:750}.upload-progress-heading span{color:var(--primary);flex:none;font-weight:850}.upload-progress-track{background:#e5e9f7;border-radius:999px;height:8px;overflow:hidden}.upload-progress-track span{border-radius:inherit;background:var(--primary);min-width:3px;height:100%;transition:width .18s;display:block}.upload-progress-card small{color:#65738b;font-size:.76rem;font-weight:650;line-height:1.35}.lecture-explanation{background:linear-gradient(135deg,#f9fbff,#fff);border:1px solid #dce5f8;border-radius:15px;gap:12px;padding:15px;display:grid}.lecture-explanation-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.lecture-explanation-heading .section-kicker{margin-bottom:4px}.lecture-explanation-heading h4{color:#30425f;margin:0;font-size:.98rem}.lecture-explanation-heading p{color:#6a7b94;margin:5px 0 0;font-size:.81rem;line-height:1.48}.pro-explanation-chip,.support-status-chip{color:#4056a8;background:#e8eeff;border-radius:999px;flex:none;padding:5px 8px;font-size:.7rem;font-weight:850}.lecture-explanation-copy{color:#43556e;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #e0e6f3;border-radius:12px;padding:13px;font-size:.86rem;line-height:1.68}.lecture-explanation-empty{gap:6px;display:grid}.lecture-explanation-empty strong{color:#374861;font-size:.88rem}.lecture-explanation-empty p{color:#6b7b92;margin:0;font-size:.81rem;line-height:1.48}.lecture-explanation-empty .compact-button{justify-self:start;margin-top:3px}.priority-queue-button{color:#4256ad;border-color:#cfdbfb}.review-queue-banner{background:#f7f9ff;border:1px solid #d9e3fb;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 13px;padding:11px 12px;display:flex}.review-queue-banner strong{color:#405093;font-size:.82rem;display:block}.review-queue-banner span{color:#74829b;margin-top:2px;font-size:.76rem;display:block}.review-queue-banner .text-button{flex:none}.support-history{gap:10px;padding:1px 0;display:grid}.support-history-list{gap:9px;display:grid}.support-history-item{background:#fbfcff;border:1px solid #dfe5ef;border-radius:13px;gap:8px;padding:12px;display:grid}.support-history-item.status-answered{background:#f8faff;border-color:#cad9fa}.support-history-item.status-resolved{background:#f8fcf9;border-color:#d8e9df}.support-history-top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.support-history-top strong{color:#3d4f69;font-size:.84rem}.support-history-top p{color:#8190a4;margin:3px 0 0;font-size:.73rem}.support-status-chip{color:#95621d;background:#fff0dd}.status-answered .support-status-chip,.owner-status-answered{color:#4057ac;background:#e9efff}.status-resolved .support-status-chip,.owner-status-resolved{color:#247451;background:#e7f6ec}.support-student-message{color:#55677f;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.81rem;line-height:1.48}.support-replies,.owner-reply-history{gap:7px;display:grid}.support-reply,.owner-reply-history>div{background:#fff;border-left:3px solid #a9b8ee;border-radius:8px;padding:9px 10px}.support-reply strong,.owner-reply-history strong{color:#465aa7;font-size:.73rem}.support-reply p,.owner-reply-history p{color:#52637b;white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0 0;font-size:.8rem;line-height:1.45}.support-reply small,.owner-reply-history small{color:#8996a8;margin-top:5px;font-size:.69rem;display:block}.support-awaiting-note,.support-empty{color:#77869d;margin:0;font-size:.79rem;line-height:1.45}.support-quick-checks{color:#53657f;background:#f8faff;border:1px solid #dfe7f6;border-radius:12px;gap:6px;padding:11px 12px;font-size:.79rem;line-height:1.45;display:grid}.support-quick-checks strong{color:#40536f;font-size:.8rem}.support-quick-checks ul{gap:4px;margin:0;padding-left:18px;display:grid}.support-quick-checks span{color:#75849b;font-size:.74rem}.support-screenshot-field input[type=file]{background:0 0;border:0;padding:8px 0}.support-file-name{color:#63738b;overflow-wrap:anywhere;align-items:center;gap:6px;margin-top:5px;font-size:.77rem;display:flex}.support-file-name .text-button{color:#556bd1;padding:0;font-size:.75rem}.support-attachment-row{color:#60718b;background:#f8faff;border:1px dashed #c7d5ef;border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px 10px;font-size:.77rem;display:flex}.owner-reply-field textarea{margin-top:5px}.owner-status-open{color:#95621d;background:#fff0dd}@media (width<=620px){.lecture-explanation-heading,.review-queue-banner,.support-history-top,.support-attachment-row{flex-direction:column;align-items:flex-start}.lecture-explanation-empty .compact-button{width:100%}.review-queue-banner .text-button{padding-left:0}.support-attachment-row .compact-button{width:100%}}.lecture-ai-chat{background:linear-gradient(135deg,#f8fbff,#fff);border:1px solid #d8e5f7;border-radius:16px;gap:13px;margin-top:14px;padding:16px;display:grid}.lecture-ai-chat-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.lecture-ai-chat-heading .section-kicker{margin-bottom:4px}.lecture-ai-chat-heading h3{color:#30425f;margin:0;font-size:1rem}.lecture-ai-chat-heading p{color:#6b7c94;margin:5px 0 0;font-size:.81rem;line-height:1.5}.ai-question-chip{color:#287355;white-space:nowrap;background:#e9f6ef;border-radius:999px;flex:none;padding:6px 9px;font-size:.72rem;font-weight:850}.ai-question-chip.empty{color:#9a5d22;background:#fff1e5}.lecture-ai-chat-empty{background:#fff;border:1px dashed #cfddec;border-radius:12px;gap:5px;padding:12px;display:grid}.lecture-ai-chat-empty strong{color:#3e5069;font-size:.86rem}.lecture-ai-chat-empty p{color:#6c7d94;margin:0;font-size:.8rem;line-height:1.45}.lecture-chat-history{gap:9px;max-height:460px;padding:2px;display:grid;overflow-y:auto}.lecture-chat-message{overflow-wrap:anywhere;border-radius:12px;gap:4px;max-width:min(94%,700px);padding:10px 12px;font-size:.82rem;line-height:1.5;display:grid}.lecture-chat-message strong{letter-spacing:.02em;font-size:.72rem}.lecture-chat-message p{white-space:pre-wrap;margin:0}.student-message{color:#405785;background:#edf3ff;border:1px solid #c8d9ff;justify-self:end}.student-message strong{color:#4261b7}.assistant-message{color:#405c51;background:#fbfefd;border:1px solid #d9e7df;justify-self:start}.assistant-message strong{color:#2f7b5a}.lecture-chat-support-note{color:#975e23;background:#fff1df;border-radius:999px;width:fit-content;margin-top:3px;padding:3px 6px;font-size:.68rem;font-weight:800}.lecture-chat-form{gap:8px;display:grid}.lecture-chat-form .form-field{margin:0}.lecture-chat-form textarea{resize:vertical;min-height:78px}.lecture-chat-actions{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.lecture-chat-disclaimer{color:#75849a;margin:0;font-size:.73rem;line-height:1.44}.lecture-support-preview,.lecture-support-context{color:#53657d;background:#f7faff;border:1px solid #d8e5f7;border-radius:11px;gap:4px;padding:10px 11px;font-size:.79rem;line-height:1.45;display:grid}.lecture-support-preview strong,.lecture-support-context strong{color:#41556f;font-size:.79rem}.lecture-support-preview span{color:#6d7e96;overflow-wrap:anywhere}.lecture-support-context p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0}.admin-ai-cost-metric{background:#f9fef9!important;border-color:#d6e6d9!important}.admin-ai-margin-metric{background:#f8faff!important;border-color:#d9e5fb!important}.admin-ai-cost-metric strong{color:#287354!important}.admin-ai-margin-metric strong{color:#4059a8!important}.admin-ai-cost-note{margin:-2px 0 0}.admin-ai-cost-breakdown{background:#fbfcff;border:1px solid #dce6f5;border-radius:14px;gap:9px;padding:13px;display:grid}.admin-ai-cost-breakdown .section-subheader{margin:0}.admin-ai-cost-breakdown .section-subheader span{color:#7b8ba0;font-size:.74rem}.admin-ai-cost-plan-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;display:grid}.admin-ai-cost-plan-grid article{background:#fff;border:1px solid #e0e8f4;border-radius:11px;gap:3px;padding:10px;display:grid}.admin-ai-cost-plan-grid strong{color:#3f526e;font-size:.8rem}.admin-ai-cost-plan-grid span{color:#7a899e;font-size:.72rem}.admin-ai-cost-plan-grid b{color:#2e7758;font-size:.77rem}@media (width<=620px){.lecture-ai-chat-heading{flex-direction:column;align-items:flex-start}.lecture-chat-actions{grid-template-columns:1fr;display:grid}.lecture-chat-actions .compact-button{width:100%}.lecture-chat-message{max-width:100%}.admin-ai-cost-plan-grid{grid-template-columns:1fr}}.automatic-ai-note{color:#64748b;margin:8px 0 0;font-size:.76rem;line-height:1.42}.admin-active-plan-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}@media (width<=620px){.admin-active-plan-actions{justify-content:stretch;width:100%}.admin-active-plan-actions .compact-button,.admin-active-plan-actions .delete-button{flex:100%}}
