/* Sabelo · Styles */
:root{--green:#267b54;--green-dark:#1b6242;--green-pale:#eaf4ed;--ink:#202924;--muted:#5e6d63;--line:#e8ede9;--bg:#f7f9f7;--white:#fff;--red:#bb4b45;--red-pale:#fff0ef;--shadow:0 3px 15px #1d35260a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px 'DM Sans',sans-serif}button,input{font:inherit}button{cursor:pointer}.shell{min-height:100vh}.sidebar{width:252px;position:fixed;inset:0 auto 0 0;background:white;border-right:1px solid var(--line);padding:29px 17px;display:flex;flex-direction:column;z-index:4}.brand{display:flex;align-items:center;gap:12px;padding:0 9px 37px;text-decoration:none;color:var(--ink);font:800 18px Manrope,sans-serif}.brand-icon{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;background:#edf5ef;border:1px solid #dce8df;border-radius:12px;flex:none}.brand-icon img{display:block;width:100%;height:100%;border-radius:10px;object-fit:cover}.brand small{display:block;font:400 11px 'DM Sans',sans-serif;color:var(--muted);margin-top:2px}.nav-item{width:100%;text-align:left;border:0;background:transparent;color:#626c65;padding:12px 13px;margin:3px 0;border-radius:9px;display:flex;align-items:center;gap:12px;font-size:14px}.nav-item span{width:20px;text-align:center;font-size:18px}.nav-item:hover{background:#f6f8f6}.nav-item.active{color:var(--green-dark);background:var(--green-pale);font-weight:700}.nav-count{margin-left:auto;background:#eff1ef;color:#5b675e;border-radius:20px;padding:2px 8px;font-size:11px}.side-foot{margin-top:auto;border-top:1px solid var(--line);padding:19px 5px 0;color:var(--muted);font-size:11px;display:flex;gap:8px;align-items:center}.status-dot{width:7px;height:7px;border-radius:50%;background:#56a779}.main{margin-left:252px;max-width:1600px;padding:0 52px 64px}.topbar{height:128px;display:flex;align-items:center;justify-content:space-between}.eyebrow{display:block;text-transform:uppercase;letter-spacing:1px;font-size:10px;color:#849087;font-weight:700;margin-bottom:8px}h1,h2,h3,p{margin-top:0}h1{font:700 26px Manrope,sans-serif;margin-bottom:0;letter-spacing:-.5px}.page-description{margin:5px 0 0;color:var(--muted);font-size:14px;line-height:1.4}.content{max-width:1200px}.welcome{background:#edf5ef;border:1px solid #e2eee5;border-radius:16px;padding:29px 32px;display:flex;justify-content:space-between;align-items:center;margin-bottom:23px}.welcome h2{font:700 21px Manrope,sans-serif;margin:0 0 7px;letter-spacing:-.4px}.welcome p{color:#67766b;margin:0;font-size:13px}.welcome-mark{font-size:44px;opacity:.75;margin-right:15px}.btn{border:1px solid transparent;border-radius:8px;padding:10px 15px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:.15s}.btn-primary{background:var(--green);color:white}.btn-primary:hover{background:var(--green-dark)}.btn-secondary{background:white;border-color:var(--line);color:#4b554e}.btn-secondary:hover{border-color:#bad4c2}.btn-danger{background:var(--red-pale);color:var(--red)}.btn:disabled{opacity:.45;cursor:not-allowed}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stat-card,.card,.panel{background:var(--white);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stat-card{padding:18px 19px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.stat-icon{width:30px;height:30px;border-radius:9px;background:#f1f6f2;display:grid;place-items:center;color:var(--green)}.stat-value{font:700 26px Manrope,sans-serif;margin-top:14px;letter-spacing:-.6px}.stat-note{font-size:11px;color:#89928b;margin-top:3px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 13px}.section-head h2{font:700 16px Manrope,sans-serif;margin:0}.link-btn{border:0;background:none;color:var(--green);font-size:12px;font-weight:700;padding:5px}.two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.panel{padding:20px}.exam-row{display:flex;align-items:center;padding:13px 0;border-bottom:1px solid #f0f2f0;gap:12px}.exam-row:last-child{border:0}.subject-icon{width:36px;height:36px;border-radius:10px;background:#f0f6f1;display:grid;place-items:center;color:var(--green);flex:none}.exam-info{min-width:0;flex:1}.exam-info strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exam-info small{color:var(--muted);font-size:11px;display:block;margin-top:4px}.badge{display:inline-block;border-radius:30px;background:#f0f3f0;color:#68726b;padding:4px 9px;font-size:10px;font-weight:600}.score{font-size:12px;font-weight:700;color:var(--green)}.subject-row{margin:16px 0}.subject-line{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.subject-line span:last-child{color:var(--muted)}.track{height:6px;background:#edf0ed;border-radius:8px;overflow:hidden}.fill{height:100%;background:#54a575;border-radius:8px}.empty{padding:38px 20px;text-align:center;color:var(--muted)}.empty-symbol{width:48px;height:48px;background:#f0f6f1;border-radius:14px;display:grid;place-items:center;margin:0 auto 13px;color:var(--green);font-size:21px}.empty strong{display:block;color:#465249;font-size:14px;margin-bottom:5px}.empty p{font-size:12px;margin:0 0 15px}.page-intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.page-intro p{color:var(--muted);font-size:13px;margin:5px 0 0}.page-intro h2{font:700 18px Manrope,sans-serif;margin:0}.dropzone{border:1.5px dashed #cddbd0;background:white;border-radius:13px;padding:38px 22px;text-align:center;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.drag{border-color:var(--green);background:#f7fbf8}.upload-icon{font-size:29px;color:var(--green);margin-bottom:10px}.dropzone strong{font-size:14px;display:block}.dropzone p{color:var(--muted);font-size:12px;margin:7px 0 15px}.hint{font-size:11px;color:#8b958d;margin:12px 0 0}.error-box{display:none;margin-top:13px;padding:13px 15px;background:var(--red-pale);border-radius:8px;color:#9e3934;font-size:12px}.preview-card{margin-top:18px;padding:21px}.preview-card h3{font:700 17px Manrope,sans-serif;margin-bottom:16px}.meta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:20px}.meta-item{background:#f8faf8;border-radius:8px;padding:11px}.meta-item span{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.meta-item strong{font-size:13px}.form-switch{display:flex;align-items:center;gap:9px;font-size:12px;color:#59635c}.switch{position:relative;width:38px;height:21px;display:inline-block}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;inset:0;border-radius:20px;background:#ccd3ce;transition:.2s}.slider:before{content:'';position:absolute;height:15px;width:15px;left:3px;bottom:3px;background:white;border-radius:50%;transition:.2s}.switch input:checked+.slider{background:var(--green)}.switch input:checked+.slider:before{transform:translateX(17px)}.exam-header{display:flex;justify-content:space-between;align-items:flex-start;background:white;border:1px solid var(--line);border-radius:12px;padding:19px 22px;margin-bottom:16px}.exam-header h2{font:700 19px Manrope,sans-serif;margin:0 0 7px}.meta-inline{display:flex;gap:8px;flex-wrap:wrap}.exam-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px}.question-nav{padding:17px;align-self:start;position:sticky;top:18px}.question-nav h3{font:700 13px Manrope,sans-serif;margin-bottom:13px}.q-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.q-jump{width:100%;min-width:0;height:auto;aspect-ratio:1;padding:0;border:1px solid var(--line);background:white;border-radius:7px;color:#66716a;font-size:11px}.q-jump.current{border-color:var(--green);color:var(--green);box-shadow:0 0 0 2px #e7f2ea}.q-jump.answered{background:#eaf4ed;border-color:#d6e9db;color:var(--green-dark);font-weight:700}.question-card{padding:22px;margin-bottom:13px}.question-top{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:14px}.question-card h3{font:600 16px/1.55 Manrope,sans-serif;margin-bottom:17px}.options{display:grid;gap:8px}.option{display:flex;align-items:flex-start;gap:11px;border:1px solid #e7ebe8;background:white;border-radius:9px;padding:11px 13px;text-align:left;color:#3a443d;line-height:1.45;font-size:13px;width:100%}.option:hover:not(:disabled){border-color:#9dc8a9;background:#fbfdfb}.option.selected{border-color:var(--green);background:#f0f7f1}.option.correct{border-color:#64a77a;background:#edf7ef}.option.incorrect{border-color:#d9817b;background:#fff3f2}.option:disabled{cursor:default}.letter{width:24px;height:24px;border:1px solid #e0e5e1;border-radius:6px;display:grid;place-items:center;font-size:11px;font-weight:700;flex:none;color:#657068}.option.selected .letter{background:var(--green);border-color:var(--green);color:white}.option.correct .letter{background:#438c5e;color:white;border-color:#438c5e}.option.incorrect .letter{background:#bd5a52;color:white;border-color:#bd5a52}.feedback{margin-top:14px;border-radius:9px;background:#f4f8f4;padding:13px 14px;font-size:12px;line-height:1.6}.feedback.bad{background:#fff5f4}.feedback strong{display:block;margin-bottom:5px}.question-actions{display:flex;justify-content:space-between;align-items:center;margin-top:17px}.q-footer{display:flex;justify-content:space-between;align-items:center;padding:15px 0}.result-banner{padding:20px 23px;background:#edf6ef;border:1px solid #dcebdd;border-radius:12px;margin-bottom:17px;display:flex;align-items:center;gap:19px}.result-score{font:800 27px Manrope,sans-serif;color:var(--green-dark)}.result-banner h2{font:700 15px Manrope,sans-serif;margin:0 0 5px}.result-banner p{font-size:12px;color:#65736a;margin:0}.result-stats{margin-left:auto;display:flex;gap:22px;font-size:12px}.result-stats b{display:block;font-size:15px;margin-bottom:3px}.table-card{overflow:hidden}.exam-list-row{padding:15px 18px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #eff1ef;cursor:pointer}.exam-list-row:last-child{border:0}.exam-list-row:hover{background:#fbfcfb}.exam-row-main{flex:1;min-width:0}.exam-row-main strong{font-size:13px;display:block}.exam-row-main small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.table-score{text-align:right;font-size:13px;font-weight:700}.table-score small{display:block;color:var(--muted);font-weight:400;font-size:10px;margin-top:3px}.review-group{margin-bottom:19px}.review-group h3{font:700 14px Manrope,sans-serif}.wrong-item{padding:14px 16px}.wrong-item p{font-size:12px;line-height:1.5;margin:9px 0;color:#445047}.wrong-item-foot{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:11px}.performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bars-row{margin:17px 0}.bars-title{display:flex;justify-content:space-between;font-size:12px;margin-bottom:7px}.bars-title span:last-child{color:var(--muted)}.toast{position:fixed;right:25px;bottom:25px;background:#253c2d;color:white;border-radius:9px;padding:12px 16px;box-shadow:0 8px 30px #0002;font-size:13px;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s;z-index:10}.toast.show{opacity:1;transform:translateY(0)}.mobile-menu{display:none}.divider{height:1px;background:var(--line);margin:15px 0}.file-input{display:none}.tiny{font-size:11px;color:var(--muted)}.mode-label{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:600}.d-flex{display:flex;gap:10px;align-items:center}
@media(max-width:1000px){.main{padding:0 28px 50px}.sidebar{width:220px}.main{margin-left:220px}.stats-grid{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.exam-layout{grid-template-columns:180px minmax(0,1fr)}}@media(max-width:700px){.sidebar{width:100%;height:auto;inset:auto 0 0 0;padding:7px 6px;background:#fff;border:0;border-top:1px solid var(--line)}.brand,.side-foot{display:none}.sidebar nav{display:flex;justify-content:space-around}.nav-item{margin:0;padding:8px 3px;flex-direction:column;gap:3px;width:20%;font-size:9px;text-align:center}.nav-item span{font-size:16px}.nav-count{display:none}.main{margin:0;padding:0 16px 100px}.topbar{height:91px}h1{font-size:22px}.page-description{font-size:12px}.welcome{padding:22px;align-items:flex-start}.welcome-mark{display:none}.welcome .btn{margin-top:14px}.welcome{display:block}.stats-grid{gap:9px}.stat-card{padding:13px}.stat-value{font-size:22px}.exam-layout{grid-template-columns:1fr}.question-nav{position:static;order:0}.question-nav h3{display:inline-block;margin:0 10px 10px 0}.q-grid{display:flex;flex-wrap:wrap}.exam-header{display:block}.exam-header>.mode-label{margin-top:15px}.meta-grid{grid-template-columns:repeat(2,1fr)}.result-banner{flex-wrap:wrap}.result-stats{margin-left:0;width:100%;justify-content:space-between}.performance-grid{grid-template-columns:1fr}.exam-list-row{padding:13px 10px}.exam-list-row .badge{display:none}.page-intro{align-items:flex-start;gap:10px}.page-intro .btn{white-space:nowrap}.q-footer .btn{padding:9px}.question-card{padding:17px}}

.delete-attempt{padding:7px 9px;font-size:11px;flex:none}

.list-heading{font-size:14px;margin:16px 0 9px}

.q-jump.correct{background:#eaf4ed;border-color:#d6e9db;color:var(--green-dark);font-weight:700}.q-jump.incorrect{background:#fff0ef;border-color:#edc7c4;color:#a93c36;font-weight:700}.q-jump.normal-selected{background:#f0f2f0;border-color:#d8ded9;color:#5c675f;font-weight:700}.q-jump.exam-mode{background:#f0f2f0;border-color:#e0e4e1;color:#737d76}.q-jump.exam-mode.exam-answered{background:#cfd5d1;border-color:#c1c9c3;color:#3f4942;font-weight:700}.q-jump.exam-mode.current{border-color:#727b75;color:#323b35;box-shadow:0 0 0 2px #e5e8e6}

.local-server-notice{display:grid;gap:7px;margin-bottom:18px;padding:16px 18px;border:1px solid #e8c98f;border-radius:10px;background:#fff8e9;color:#534322;font-size:13px}.local-server-notice strong{font-size:14px}.local-server-notice a{width:max-content;color:var(--green-dark);font-weight:700;text-decoration:underline}

.exam-sort{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 12px;color:var(--muted);font-size:12px}.exam-sort select{max-width:100%;padding:9px 34px 9px 11px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit}.exam-done-badge{background:#e6f3e9;color:var(--green-dark)}
@media(max-width:700px){.exam-sort{justify-content:flex-start;flex-wrap:wrap}.exam-sort select{flex:1;min-width:200px}.exam-list-row{flex-wrap:wrap}.exam-list-row .exam-row-main{flex-basis:calc(100% - 54px)}.exam-list-row .exam-done-badge{display:inline-block}.exam-list-row .btn{flex:1}.exam-list-row .delete-attempt{flex:0 0 auto}}

/* Cleaner file details in Minhas provas */
.exam-list-row .exam-row-main>strong{font-size:14px;line-height:1.35}
.exam-file-meta{display:grid;gap:4px;margin-top:6px;color:#4e5b52;font-size:12px;line-height:1.4}
.exam-file-meta span{display:grid;grid-template-columns:132px minmax(0,1fr);gap:7px;min-width:0;overflow-wrap:anywhere}
.exam-file-meta b{color:#89948c;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
.exam-file-dates{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.exam-file-dates span{padding:4px 8px;border-radius:6px;font-size:11px;font-weight:600;line-height:1.2}
.exam-file-dates .date-added{background:#f1f4f2;color:#627067}
.exam-file-dates .date-completed{background:#e8f4eb;color:#246442}
.exam-list-row .question-count{background:#edf5ef;color:#246442;white-space:nowrap;font-size:11px;padding:6px 10px}
@media(max-width:700px){.exam-list-row .question-count{display:inline-block}.exam-file-meta{gap:4px 12px}.exam-file-dates span{font-size:11px}}

/* Consistent typography and collapsible groups in Minhas provas */
.tiny{font-size:12px}
.stat-note,.side-foot{font-size:12px}
.badge{font-size:11px}
.exam-row-main small{font-size:12px;line-height:1.45}
.exam-file-meta{font-size:13px}
.exam-file-meta b{font-size:11px}
.exam-file-dates span{font-size:12px}
.exam-section{margin:16px 0 22px}
.exam-section>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:12px 15px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:700 15px Manrope,sans-serif;box-shadow:var(--shadow)}
.exam-section>summary::-webkit-details-marker{display:none}
.exam-section>summary::before{content:'›';color:var(--green);font:700 20px/1 'DM Sans',sans-serif;transform:rotate(0);transition:transform .15s}
.exam-section[open]>summary::before{transform:rotate(90deg)}
.exam-section>summary:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.section-count{margin-left:auto;min-width:26px;text-align:center;border-radius:20px;padding:3px 8px;background:var(--green-pale);color:var(--green-dark);font:700 11px 'DM Sans',sans-serif}
.exam-section>.table-card{margin-top:9px}
.date-progress{background:#edf2f8;color:#526b87}
.progress-badge{background:#edf2f8;color:#526b87;white-space:nowrap}
@media(max-width:700px){
 .nav-item{font-size:11px;line-height:1.2;min-height:48px}
 .nav-item{width:16.666%;padding:6px 1px}
 .exam-list-row .question-count,.exam-list-row .progress-badge,.exam-list-row .difficulty-badge,.exam-list-row .exam-done-badge{display:inline-block}
 .exam-file-meta{font-size:12px}
 .exam-file-meta span{grid-template-columns:126px minmax(0,1fr)}
 .exam-file-dates span{font-size:11px}
 .exam-section>summary{font-size:14px}
}

/* Keep the dashboard's two summary panels balanced when either is empty. */
.two-col{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.two-col>section{display:flex;flex-direction:column;min-width:0}
.two-col>section>.panel{flex:1}
@media(max-width:1000px){.two-col{grid-template-columns:1fr}}
.performance-trend-panel .stat-icon img,.performance-grid .stat-icon img,.stats-grid .stat-icon img{width:19px;height:19px;object-fit:contain;filter:brightness(0) saturate(100%) invert(31%) sepia(16%) saturate(1410%) hue-rotate(98deg) brightness(93%) contrast(91%)}

.add-exam-callout{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:16px 18px;border:1px solid #dcebdd;border-radius:11px;background:#f0f7f1}
.add-exam-callout strong{font:700 14px Manrope,sans-serif}
.add-exam-callout p{margin:4px 0 0;color:var(--muted);font-size:12px}
.exam-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 16px}
.exam-summary-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:2px 10px;min-width:0;padding:13px 15px;text-align:left;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);box-shadow:var(--shadow);transition:border-color .15s,transform .15s}
.exam-summary-card:hover{border-color:#b8d4c0;transform:translateY(-1px)}
.exam-summary-card[aria-expanded="true"]{border-color:#9fc8ab;background:#f5faf6}
.exam-summary-card:focus-visible{outline:2px solid var(--green);outline-offset:2px}
.exam-summary-card>span{color:var(--muted);font-size:11px;font-weight:700}
.exam-summary-card strong{grid-column:2;grid-row:1 / span 2;color:var(--green-dark);font:800 23px Manrope,sans-serif}
.exam-summary-card small{color:#879188;font-size:10px}
.exam-library-tools{display:grid;grid-template-columns:minmax(220px,1fr) minmax(155px,.5fr) minmax(175px,.55fr) minmax(220px,.8fr) auto;align-items:end;gap:10px;margin:0 0 12px}
.exam-library-tools>label{display:grid;gap:5px;color:#68736b;font-size:11px;font-weight:700}
.exam-library-tools input,.exam-library-tools select{width:100%;min-width:0;height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:12px 'DM Sans',sans-serif}
.exam-library-tools input:focus,.exam-library-tools select:focus{outline:2px solid #c2ddca;outline-offset:1px}
.exam-library-tools .exam-sort{display:grid;justify-content:stretch;gap:5px;margin:0;font-size:11px}
.exam-library-tools .exam-sort select{max-width:none}
.exam-clear-filters{height:38px;white-space:nowrap}
.exam-empty{display:grid;justify-items:start;gap:5px;padding:17px 18px;border:1px dashed #dce5de;border-radius:9px;background:#fbfcfb;color:var(--ink)}
.exam-empty strong{font:700 13px Manrope,sans-serif}
.exam-empty p{margin:0 0 5px;color:var(--muted);font-size:12px}
.session-progress{display:grid;gap:6px;margin-top:8px;color:#59665d;font-size:11px}
.session-progress .dashboard-progress{width:min(100%,300px)}
.exam-delete-muted{padding:8px 10px!important;border:1px solid transparent!important;background:transparent!important;color:#8b7775!important}
.exam-delete-muted:hover{border-color:#f0d7d5!important;background:#fff5f4!important;color:#a6423c!important}
.exam-section>.exam-empty{margin-top:9px}
.exam-section .table-score{min-width:142px;text-align:left;font-size:11px;line-height:1.35;color:#246442;white-space:normal}
.exam-section .table-score small{font-size:10px}
@media(max-width:1150px){.exam-library-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.exam-clear-filters{justify-self:start}.exam-list-row{flex-wrap:wrap}.exam-list-row .exam-row-main{flex:1 1 50%}}
@media(max-width:700px){.exam-summary{gap:6px}.exam-summary-card{padding:10px 9px}.exam-summary-card>span{font-size:9px}.exam-summary-card strong{font-size:20px}.exam-summary-card small{font-size:9px}.exam-library-tools{grid-template-columns:1fr}.exam-library-tools .exam-sort{width:100%}.exam-library-tools .exam-clear-filters{height:auto}.exam-section .table-score{min-width:0}.exam-list-row .exam-delete-muted{flex:0 0 auto}}
.profile-area{position:relative;align-self:flex-start;margin-top:25px;flex:none}.profile-trigger{width:42px;height:42px;display:grid;place-items:center;border:1px solid #dce8df;border-radius:50%;background:#edf5ef;color:var(--green-dark);font-size:21px;transition:.15s}.profile-trigger:hover,.profile-trigger[aria-expanded="true"]{border-color:#a9cbb3;background:#e3f0e6}.profile-trigger:focus-visible,.profile-menu button:focus-visible{outline:3px solid #a9cbb3;outline-offset:2px}.profile-menu{position:absolute;z-index:8;right:0;top:51px;width:min(300px,calc(100vw - 32px));padding:8px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 32px #1d35261c}.profile-menu[hidden]{display:none}.profile-menu-heading{padding:11px 11px 13px;border-bottom:1px solid var(--line)}.profile-menu-heading>div>strong,.profile-menu-heading>div>span{display:block}.profile-menu-heading strong{font:700 13px Manrope,sans-serif}.profile-menu-heading>div>span,.profile-menu-foot{color:var(--muted);font-size:11px;line-height:1.5;margin-top:5px}.profile-menu>button{width:100%;border:0;background:white;text-align:left;border-radius:7px;padding:10px 11px;color:var(--ink);font-size:13px}.profile-menu>button:hover{background:#f3f7f4;color:var(--green-dark)}.profile-menu-foot{border-top:1px solid var(--line);padding:10px 11px 5px;margin:3px 0 0}
@media(max-width:700px){.topbar{align-items:center}.profile-area{margin-top:0}.profile-trigger{width:38px;height:38px}.profile-menu{top:46px}}
.welcome .dashboard-profile-goal{font-size:11px;color:#55705d;margin-top:7px}

/* Shared study symbols: clear meaning, consistent stroke and decorative labels. */
.ui-icon{display:block;width:20px;height:20px;object-fit:contain;flex:none;filter:brightness(0) saturate(100%) invert(31%) sepia(16%) saturate(1410%) hue-rotate(98deg) brightness(93%) contrast(91%)}
.section-icon-title{display:flex;align-items:center;gap:10px}.section-icon-title .ui-icon{width:23px;height:23px}
.dashboard-exam-summary .section-head,.fc-dashboard-v2 .section-head{gap:12px;flex-wrap:wrap}.dashboard-exam-summary .section-head>.btn,.fc-dashboard-v2 .section-head>.btn{flex:none}
.stat-top{gap:10px}.stat-icon{flex:none}
.stat-icon-error{background:var(--red-pale)}.stats-grid .stat-icon-error .ui-icon{filter:brightness(0) saturate(100%) invert(37%) sepia(46%) saturate(712%) hue-rotate(315deg) brightness(94%) contrast(88%)}

/* Page introductions reuse the overview welcome component. */
.page-welcome{gap:24px}.page-welcome>div{min-width:0;flex:1}.page-welcome h2,.page-welcome p{overflow-wrap:anywhere}.page-welcome p{line-height:1.6}.page-welcome .welcome-mark{flex:none;margin:0}.page-welcome .welcome-mark .ui-icon{width:42px;height:42px}.page-welcome .fc-actions{gap:10px}.page-welcome .btn{max-width:100%;white-space:normal;text-align:center}
@media(max-width:700px){.page-welcome .welcome-mark{display:none}.page-welcome .fc-actions .btn{margin-top:0}}

/* Respect the home indicator while retaining the current navigation design. */
@media(max-width:700px){
 .sidebar{padding-bottom:calc(7px + env(safe-area-inset-bottom))}
 .main{padding-bottom:calc(var(--sabelo-mobile-nav-height,150px) + 24px)}
 .shell{min-height:100dvh}
 body.mobile-keyboard-open .sidebar{visibility:hidden;pointer-events:none}
 .summary-focus-mode .main{padding-bottom:calc(var(--sabelo-mobile-nav-height,150px) + 24px)}
}
