:root{--font-body:"Manrope Variable", system-ui, sans-serif;--surface:#fff;--surface-soft:#f7f6fc;--surface-tint:#f0edfd;--lilac:#e7e2ff;--glow:#ebe6ff;--panel:#fff;--ink:#131d46;--muted:#5a6380;--accent:#5532c8;--accent-hover:#4423ad;--accent-soft:#efeaff;--accent-text:#fff;--blue:#245bca;--line:#e7e8f2;--line-strong:#d4d7e8;--brand-gradient:linear-gradient(100deg, #245bca 0%, #5532c8 70%);--m1:#245bca;--m1-soft:#ebf1ff;--cl:#7436c9;--cl-soft:#f3ecff;--hcs:#9a5300;--hcs-soft:#fff3e3;--ok:#0b7a5c;--ok-soft:#e2f6ee;--warn:#9a5300;--warn-soft:#fff3e3;--danger:#aa283b;--danger-soft:#fdecef;--info:#245bca;--info-soft:#ebf1ff;--r-sm:10px;--r-md:16px;--r-lg:24px;--r-xl:32px;--r-pill:999px;--shadow-sm:0 1px 2px #131d460d, 0 6px 18px -8px #131d461a;--shadow:0 30px 70px -34px #3a2c964d, 0 2px 6px #131d460a;--ease-out:cubic-bezier(.16, 1, .3, 1);--dur-1:.2s;--dur-2:.4s;--dur-3:.9s;--fs-xs:12px;--fs-sm:14px;--fs-md:16px;--fs-lg:18px;--fs-xl:21px;--sidebar-w:268px;--topbar-h:72px;font-family:var(--font-body);font-synthesis:none;color:var(--ink);background:var(--surface-soft);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html{scrollbar-gutter:stable}body{background:var(--surface-soft);color:var(--ink);-webkit-font-smoothing:antialiased;margin:0;font-size:15px;line-height:1.6;overflow-x:clip}body:has(dialog[open]){overflow:hidden}h1,h2,h3,h4,p,figure,ul,ol,dl,dd{margin:0}ul,ol{padding:0;list-style:none}h1,h2,h3,h4{text-wrap:balance;color:var(--ink);font-weight:600}h1{letter-spacing:-.035em;font-size:clamp(28px,3.2vw,40px);line-height:1.1}h2{letter-spacing:-.02em;font-size:clamp(19px,1.6vw,22px);line-height:1.25}h3{letter-spacing:-.01em;font-size:16px;font-weight:650;line-height:1.35}p{color:var(--muted);text-wrap:pretty}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:not-allowed}button,input,a,summary{touch-action:manipulation}img{max-width:100%;height:auto;display:block}svg{flex-shrink:0}[hidden]{display:none!important}:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}::selection{background:var(--accent);color:var(--accent-text)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{border-radius:var(--r-pill);background:var(--accent);color:var(--accent-text);z-index:60;padding:14px 20px;font-weight:700;position:fixed;top:12px;left:12px;transform:translateY(-180%)}.skip-link:focus{transform:none}.tabular{font-variant-numeric:tabular-nums}.eyebrow{color:var(--accent);font-size:14px;font-weight:650;line-height:1.4;display:block}.eyebrow+h1,.eyebrow+h2{margin-top:10px}.accent-word{color:var(--accent)}.gradient-word{background:var(--brand-gradient);color:#0000;-webkit-background-clip:text;background-clip:text}.overline{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.06em;text-transform:uppercase;font-weight:700}.button{border-radius:var(--r-pill);white-space:nowrap;min-height:48px;transition:background var(--dur-1), color var(--dur-1), border-color var(--dur-1), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);border:1px solid #0000;justify-content:center;align-items:center;gap:10px;padding:12px 22px;font-size:15px;font-weight:650;line-height:1.3;display:inline-flex}.button svg{width:18px;height:18px;transition:transform var(--dur-2) var(--ease-out)}.button:hover{transform:translateY(-2px)}.button:hover svg:last-child:not(:first-child){transform:translate(3px,-1px)}.button:active{transform:translateY(0)scale(.98)}.button-primary{background:var(--accent);color:var(--accent-text);box-shadow:0 10px 24px -12px #5532c899}.button-primary:hover{background:var(--accent-hover);box-shadow:0 16px 32px -14px #5532c8a6}.button-outline{border-color:var(--line-strong);background:var(--panel);color:var(--ink)}.button-outline:hover{border-color:var(--accent);color:var(--accent)}.button-dark{background:var(--ink);color:var(--surface)}.button-dark:hover{background:var(--accent);color:var(--accent-text)}.button-soft{background:var(--accent-soft);color:var(--accent)}.button-soft:hover{background:var(--lilac)}.button-danger{border-color:color-mix(in srgb, var(--danger) 30%, var(--line));background:var(--panel);color:var(--danger)}.button-danger:hover{background:var(--danger-soft)}.button-sm{gap:8px;min-height:40px;padding:8px 16px;font-size:14px}.button-sm svg{width:16px;height:16px}.button-xs{gap:6px;min-height:32px;padding:5px 12px;font-size:13px}.button-xs svg{width:14px;height:14px}.button-block{width:100%}.button:disabled,.button[aria-disabled=true]{opacity:.45;box-shadow:none;cursor:not-allowed;transform:none}.icon-button{border-radius:var(--r-pill);width:42px;height:42px;color:var(--ink);transition:background var(--dur-1), transform var(--dur-2) var(--ease-out);justify-content:center;align-items:center;display:inline-flex}.icon-button svg{width:20px;height:20px}.icon-button:hover{background:var(--surface-tint)}.icon-button:active{transform:scale(.94)}.icon-button-sm{width:34px;height:34px}.icon-button-sm svg{width:17px;height:17px}.text-link{min-height:36px;color:var(--accent);align-items:center;gap:6px;font-size:14px;font-weight:650;display:inline-flex}.text-link svg{width:16px;height:16px;transition:transform var(--dur-2) var(--ease-out)}.text-link:hover svg{transform:translate(3px,-2px)}.inline-link{color:var(--accent);text-underline-offset:3px;font-weight:650;text-decoration:underline;text-decoration-thickness:1px}.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.status-pill{border-radius:var(--r-pill);background:var(--accent-soft);color:var(--accent);white-space:nowrap;align-items:center;gap:7px;padding:3px 11px 3px 9px;font-size:13px;font-weight:650;line-height:1.5;display:inline-flex}.status-pill:before{content:"";background:currentColor;border-radius:50%;width:6px;height:6px}.status-pill[data-tone=ok]{background:var(--ok-soft);color:var(--ok)}.status-pill[data-tone=warn]{background:var(--warn-soft);color:var(--warn)}.status-pill[data-tone=danger]{background:var(--danger-soft);color:var(--danger)}.status-pill[data-tone=info]{background:var(--info-soft);color:var(--info)}.status-pill[data-tone=muted]{background:var(--surface-soft);color:var(--muted);box-shadow:inset 0 0 0 1px var(--line)}.example-tag{border-radius:var(--r-pill);background:var(--warn-soft);color:var(--warn);font-size:var(--fs-xs);letter-spacing:.01em;vertical-align:middle;white-space:nowrap;align-items:center;padding:2px 9px;font-weight:700;display:inline-flex}.chip{border-radius:var(--r-pill);background:var(--surface-soft);color:var(--muted);white-space:nowrap;box-shadow:inset 0 0 0 1px var(--line);align-items:center;gap:6px;padding:3px 10px;font-size:13px;font-weight:600;line-height:1.5;display:inline-flex}.chip svg{width:14px;height:14px}.chip[data-tone=accent]{background:var(--accent-soft);color:var(--accent);box-shadow:none}.chip-toggle{cursor:pointer;transition:background var(--dur-1), color var(--dur-1), box-shadow var(--dur-1)}.chip-toggle:hover{color:var(--ink)}.chip-toggle[aria-pressed=true]{background:var(--ink);color:var(--surface);box-shadow:none}.notice{border-radius:var(--r-md);background:var(--surface-soft);color:var(--ink);font-size:var(--fs-sm);align-items:start;gap:12px;padding:14px 16px;line-height:1.6;display:flex}.notice>svg{width:20px;height:20px;color:var(--accent);margin-top:1px}.notice p{color:inherit}.notice strong{font-weight:700}.notice-proto{background:var(--warn-soft)}.notice-proto>svg{color:var(--warn)}.notice-ok{background:var(--ok-soft)}.notice-ok>svg{color:var(--ok)}.notice-danger{background:var(--danger-soft)}.notice-danger>svg{color:var(--danger)}.notice-info{background:var(--accent-soft)}.notice>div{gap:4px;min-width:0;display:grid}.notice .button-row{margin-top:6px}.field{gap:7px;min-width:0;display:grid}.field>label,.field-label{color:var(--ink);font-size:var(--fs-sm);font-weight:650}.field-optional{color:var(--muted);font-weight:500}.field input:not([type=checkbox],[type=radio],[type=range]),.field select,.field textarea,.input{border:1px solid var(--line-strong);background:var(--panel);width:100%;min-height:48px;color:var(--ink);font:inherit;transition:border-color var(--dur-1), box-shadow var(--dur-1);border-radius:14px;padding:11px 14px;font-size:15px}.field textarea{resize:vertical;min-height:120px;line-height:1.6}.field select,select.input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%235a6380' d='M213.7 101.7l-80 80a8 8 0 0 1-11.4 0l-80-80a8 8 0 0 1 11.4-11.4L128 164.7l74.3-74.4a8 8 0 0 1 11.4 11.4Z'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px;padding-right:40px}.field :is(input,select,textarea):hover,.input:hover{border-color:color-mix(in srgb, var(--accent) 30%, var(--line-strong))}.field :is(input,select,textarea):focus,.input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);outline:none}.field :is(input,select,textarea):disabled{opacity:.55;cursor:not-allowed}.field :is(input,select,textarea)[aria-invalid=true]{border-color:#b43546;box-shadow:0 0 0 4px #b435461a}.field-hint{color:var(--muted);font-size:13px;line-height:1.55}.field-error{color:var(--danger);font-size:13px;font-weight:600;line-height:1.5}.field-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field-stack{gap:16px;display:grid}.checkbox-line{min-height:40px;color:var(--ink);font-size:var(--fs-sm);cursor:pointer;align-items:center;gap:10px;font-weight:600;display:flex}.checkbox-line input{width:18px;height:18px;accent-color:var(--accent)}fieldset.plain{border:0;min-width:0;margin:0;padding:0}fieldset.plain>legend{color:var(--ink);font-size:var(--fs-sm);margin-bottom:10px;padding:0;font-weight:650}.choice-grid{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:10px;display:grid}.choice{border:1.5px solid var(--line);border-radius:var(--r-md);background:var(--panel);color:var(--ink);cursor:pointer;text-align:left;transition:border-color var(--dur-1), background var(--dur-1), box-shadow var(--dur-1);align-items:start;gap:12px;padding:14px 16px;display:flex;position:relative}.choice:hover{border-color:var(--line-strong)}.choice>input{opacity:0;width:1px;height:1px;position:absolute}.choice-mark{border:1.5px solid var(--line-strong);color:#0000;width:22px;height:22px;transition:background var(--dur-1), border-color var(--dur-1);border-radius:50%;flex-shrink:0;place-items:center;margin-top:1px;display:grid}.choice-mark svg{width:13px;height:13px}.choice:has(input[type=checkbox]) .choice-mark{border-radius:7px}.choice-body{gap:2px;min-width:0;font-size:15px;font-weight:650;line-height:1.4;display:grid}.choice-body small{color:var(--muted);font-size:13px;font-weight:500;line-height:1.5}.choice-aside{color:var(--ink);font-size:var(--fs-sm);white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto;padding-left:8px;font-weight:700}.choice[aria-checked=true],.choice[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb, var(--accent-soft) 70%, var(--panel))}.choice:has(input:checked){border-color:var(--accent);background:color-mix(in srgb, var(--accent-soft) 70%, var(--panel))}.choice[aria-checked=true] .choice-mark,.choice[aria-pressed=true] .choice-mark{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.choice:has(input:checked) .choice-mark{background:var(--accent);border-color:var(--accent);color:var(--accent-text)}.choice:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:3px}.choice:disabled{opacity:.5;cursor:not-allowed}.choice:has(input:disabled){opacity:.5;cursor:not-allowed}.choice[data-result=correct]{border-color:var(--ok);background:var(--ok-soft)}.choice[data-result=correct] .choice-mark{background:var(--ok);border-color:var(--ok);color:#fff}.choice[data-result=incorrect]{border-color:var(--danger);background:var(--danger-soft)}.choice[data-result=incorrect] .choice-mark{background:var(--danger);border-color:var(--danger);color:#fff}.pill-group{background:color-mix(in srgb, var(--line) 75%, var(--surface-soft));border-radius:14px;flex-wrap:wrap;gap:4px;padding:4px;display:inline-flex}.pill-group>button,.pill-group label{min-height:36px;color:var(--muted);font-size:var(--fs-sm);cursor:pointer;transition:color var(--dur-1), background var(--dur-1), box-shadow var(--dur-1);border-radius:11px;align-items:center;gap:6px;padding:6px 14px;font-weight:650;display:inline-flex;position:relative}.pill-group input{opacity:0;width:1px;height:1px;position:absolute}.pill-group>button:hover{color:var(--ink)}.pill-group>button[aria-pressed=true],.pill-group>button[aria-selected=true]{background:var(--panel);color:var(--ink);box-shadow:0 1px 2px #131d461a,0 6px 14px -6px #131d462e}.pill-group label:has(input:checked){background:var(--panel);color:var(--ink);box-shadow:0 1px 2px #131d461a,0 6px 14px -6px #131d462e}.pill-group svg{width:16px;height:16px}.stepper{grid-template-columns:repeat(var(--steps,5), minmax(0, 1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.stepper li{color:var(--muted);gap:10px;font-size:13px;font-weight:650;line-height:1.3;display:grid}.stepper li:before{content:"";background:var(--line);height:4px;transition:background var(--dur-2);border-radius:4px}.stepper li[data-state=done]:before{background:color-mix(in srgb, var(--accent) 45%, var(--line))}.stepper li[data-state=current]:before{background:var(--brand-gradient)}.stepper li[data-state=current]{color:var(--ink)}.stepper li span{color:var(--accent);font-variant-numeric:tabular-nums}.stepper button{color:inherit;font:inherit;text-align:left;justify-self:start;padding:0}.stepper button:hover{color:var(--accent)}.panel{border-radius:var(--r-lg);background:var(--panel);border:1px solid var(--line);min-width:0;box-shadow:var(--shadow-sm);padding:24px}.panel-flush{padding:0;overflow:hidden}.panel-soft{background:var(--surface-soft);box-shadow:none}.panel-head{justify-content:space-between;align-items:start;gap:16px;margin-bottom:18px;display:flex}.panel-head>div{min-width:0}.panel-head h2{font-size:18px}.panel-head p{font-size:var(--fs-sm);margin-top:2px}.panel-flush>.panel-head{border-bottom:1px solid var(--line);margin:0;padding:20px 24px 16px}.panel-foot{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:14px;font-size:13px;display:flex}.stack{align-content:start;gap:20px;min-width:0;display:grid}.stack-sm{align-content:start;gap:10px;min-width:0;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.grid-main{grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start;gap:20px;display:grid}.grid-main-wide{grid-template-columns:minmax(0,1fr) minmax(320px,420px);align-items:start;gap:20px;display:grid}.row{align-items:center;gap:12px;min-width:0;display:flex}.row-between{justify-content:space-between;align-items:center;gap:12px;min-width:0;display:flex}.wrap{flex-wrap:wrap}.muted{color:var(--muted)}.small{font-size:13px}.strong{color:var(--ink);font-weight:650}.divider{background:var(--line);border:0;height:1px;margin:4px 0}.page-head{justify-content:space-between;align-items:end;gap:24px;margin-bottom:28px;display:flex}.page-head>div:first-child{min-width:0;max-width:760px}.page-head p:not(.eyebrow){font-size:var(--fs-md);margin-top:10px;line-height:1.65}.page-head .button-row{flex-shrink:0}.crumbs{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:18px;font-size:13px;display:flex}.crumbs a{min-height:28px;transition:color var(--dur-1);align-items:center;display:inline-flex}.crumbs a:hover{color:var(--accent)}.crumbs svg{width:12px;height:12px}.crumbs [aria-current]{color:var(--ink);font-weight:650}.section-title{justify-content:space-between;align-items:center;gap:12px;margin:8px 0 14px;display:flex}.section-title h2{font-size:18px}.stat{border-radius:var(--r-md);background:var(--panel);border:1px solid var(--line);box-shadow:var(--shadow-sm);gap:4px;min-width:0;padding:20px;display:grid}.stat-label{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;font-size:13px;font-weight:650;display:flex}.stat-label svg{width:18px;height:18px;color:var(--accent)}.stat-value{color:var(--ink);letter-spacing:-.03em;font-variant-numeric:tabular-nums;font-size:30px;font-weight:650;line-height:1.15}.stat-value small{color:var(--muted);letter-spacing:0;margin-left:4px;font-size:15px;font-weight:600}.stat-note{color:var(--muted);font-size:13px;line-height:1.5}.progress{background:var(--surface-tint);border-radius:6px;height:6px;display:block;overflow:hidden}.progress>i{width:var(--v,0%);border-radius:inherit;background:var(--brand-gradient);height:100%;transition:width .8s var(--ease-out);display:block}.progress[data-tone=ok]>i{background:var(--ok)}.progress[data-tone=subject]>i{background:var(--subject,var(--accent))}.progress[data-tone=warn]>i{background:var(--warn)}.progress-lg{border-radius:10px;height:10px}[data-subject=matematica]{--subject:var(--m1);--subject-soft:var(--m1-soft)}[data-subject=lectora]{--subject:var(--cl);--subject-soft:var(--cl-soft)}[data-subject=historia]{--subject:var(--hcs);--subject-soft:var(--hcs-soft)}.subject-code{background:var(--subject-soft,var(--accent-soft));width:44px;height:44px;color:var(--subject,var(--accent));letter-spacing:-.02em;border-radius:13px;flex-shrink:0;place-items:center;font-size:14px;font-weight:750;display:inline-grid}.subject-code-sm{border-radius:10px;width:34px;height:34px;font-size:12px}.subject-code-lg{border-radius:18px;width:60px;height:60px;font-size:18px}.icon-tile{background:var(--accent-soft);width:40px;height:40px;color:var(--accent);border-radius:12px;flex-shrink:0;place-items:center;display:inline-grid}.icon-tile svg{width:20px;height:20px}.icon-tile[data-tone=ok]{background:var(--ok-soft);color:var(--ok)}.icon-tile[data-tone=warn]{background:var(--warn-soft);color:var(--warn)}.icon-tile[data-tone=danger]{background:var(--danger-soft);color:var(--danger)}.icon-tile[data-tone=muted]{background:var(--surface-soft);color:var(--muted)}.icon-tile[data-tone=subject]{background:var(--subject-soft);color:var(--subject)}.avatar{background:var(--brand-gradient);color:#fff;letter-spacing:.02em;border-radius:50%;flex-shrink:0;place-items:center;width:38px;height:38px;font-size:13px;font-weight:700;display:inline-grid}.avatar-sm{width:30px;height:30px;font-size:11px}.avatar-lg{width:56px;height:56px;font-size:18px}.avatar[data-tone=soft]{background:var(--accent-soft);color:var(--accent)}.item-list{gap:8px;display:grid}.item{border-radius:var(--r-md);background:var(--panel);border:1px solid var(--line);transition:border-color var(--dur-1), box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;display:grid}a.item:hover,button.item:hover{border-color:color-mix(in srgb, var(--accent) 35%, var(--line));box-shadow:var(--shadow-sm)}button.item{text-align:left;width:100%}.item[data-state=current]{border-color:color-mix(in srgb, var(--accent) 35%, var(--line));box-shadow:0 0 0 3px var(--accent-soft)}.item-body{gap:2px;min-width:0;display:grid}.item-title{color:var(--ink);font-size:15px;font-weight:650;line-height:1.35}.item-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 12px;font-size:13px;line-height:1.5;display:flex}.item-meta svg{vertical-align:-2px;width:14px;height:14px;margin-right:3px}.item-aside{justify-self:end;align-items:center;gap:10px;display:flex}.item .progress{margin-top:8px}.unit-status{background:var(--surface-soft);width:32px;height:32px;color:var(--muted);border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:grid}.unit-status svg{width:15px;height:15px}.unit-status[data-state=done]{background:var(--ok-soft);color:var(--ok)}.unit-status[data-state=current]{background:var(--accent);color:var(--accent-text)}.unit-status[data-state=locked]{background:var(--surface-soft);color:var(--line-strong)}.kv{gap:10px;display:grid}.kv>div{border-bottom:1px dashed var(--line);font-size:var(--fs-sm);grid-template-columns:minmax(110px,40%) minmax(0,1fr);gap:12px;padding-bottom:10px;display:grid}.kv>div:last-child{border-bottom:0;padding-bottom:0}.kv dt{color:var(--muted)}.kv dd{color:var(--ink);min-width:0;font-weight:600}.table-scroll{-webkit-overflow-scrolling:touch;position:relative;overflow-x:auto}.data-table{border-collapse:collapse;width:100%;font-size:var(--fs-sm)}.data-table th{text-align:left;color:var(--muted);font-size:var(--fs-xs);letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;background:var(--surface-soft);border-bottom:1px solid var(--line);padding:12px 16px;font-weight:700}.data-table td{border-bottom:1px solid var(--line);color:var(--ink);vertical-align:middle;padding:14px 16px}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover td{background:color-mix(in srgb, var(--surface-soft) 60%, transparent)}.data-table .num{text-align:right;font-variant-numeric:tabular-nums}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px;display:flex}.search-input{flex:240px;max-width:380px;position:relative}.search-input svg{width:18px;height:18px;color:var(--muted);pointer-events:none;margin-top:-9px;position:absolute;top:50%;left:14px}.search-input input{border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--panel);width:100%;min-height:42px;font-size:var(--fs-sm);padding:8px 14px 8px 40px}.search-input input:focus{border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);outline:none}select.input-sm{border-radius:var(--r-pill);min-height:42px;font-size:var(--fs-sm);padding:8px 36px 8px 14px;font-weight:600}.empty-state{text-align:center;justify-items:center;gap:10px;padding:40px 24px;display:grid}.empty-state .icon-tile{border-radius:16px;width:52px;height:52px}.empty-state .icon-tile svg{width:26px;height:26px}.empty-state h3{font-size:17px}.empty-state p{max-width:420px;font-size:var(--fs-sm)}.empty-state .button-row{justify-content:center;margin-top:6px}.timeline{gap:0;display:grid}.timeline>li{grid-template-columns:34px minmax(0,1fr);gap:12px;padding-bottom:18px;display:grid;position:relative}.timeline>li:before{content:"";background:var(--line);width:2px;position:absolute;top:34px;bottom:0;left:16px}.timeline>li:last-child:before{display:none}.timeline-dot{background:var(--panel);border:1px solid var(--line);width:34px;height:34px;color:var(--accent);border-radius:50%;place-items:center;display:grid}.timeline-dot svg{width:16px;height:16px}.timeline strong{color:var(--ink);font-size:var(--fs-sm);font-weight:650;display:block}.timeline small{color:var(--muted);font-size:13px;display:block}.chat{flex-direction:column;gap:12px;display:flex}.chat-bubble{max-width:min(84%,620px);font-size:var(--fs-sm);padding:11px 15px;line-height:1.6}.chat-bubble p{color:inherit}.chat-bubble p+p{margin-top:8px}.chat-student{background:var(--accent);color:var(--accent-text);border-radius:18px 18px 4px;align-self:flex-end}.chat-tutor{background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:18px 18px 18px 4px;align-self:flex-start}.chat-system{border-radius:var(--r-pill);background:var(--surface-soft);color:var(--muted);align-self:center;padding:6px 12px;font-size:13px}kbd{border:1px solid var(--line-strong);background:var(--panel);color:var(--muted);font:600 11px var(--font-body);border-radius:6px;align-items:center;padding:1px 6px;display:inline-flex}.novus-dialog{border:1px solid var(--line);border-radius:var(--r-lg);width:min(560px,100% - 32px);max-height:calc(100dvh - 40px);color:var(--ink);background:var(--panel);box-shadow:var(--shadow);padding:36px;overflow-y:auto}.novus-dialog-wide{width:min(820px,100% - 32px)}.novus-dialog::backdrop{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#131d4673}.dialog-close{position:absolute;top:14px;right:14px}.dialog-symbol{color:var(--accent);border-radius:var(--r-md);background:var(--accent-soft);margin-bottom:18px;padding:13px;display:inline-flex}.dialog-symbol svg{width:26px;height:26px}.novus-dialog h2{margin-bottom:8px;padding-right:30px;font-size:clamp(22px,2.6vw,28px)}.novus-dialog>p,.dialog-lead{font-size:var(--fs-sm);line-height:1.7}.dialog-body{gap:16px;margin-top:20px;display:grid}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;margin-top:26px;display:flex}.toast{z-index:70;border-radius:var(--r-pill);background:var(--ink);max-width:calc(100% - 32px);color:var(--surface);font-size:var(--fs-sm);box-shadow:var(--shadow);align-items:center;gap:10px;padding:12px 18px 12px 14px;font-weight:600;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}.toast svg{color:#6fe0bb;width:20px;height:20px}.portal{grid-template-columns:var(--sidebar-w) minmax(0, 1fr);min-height:100dvh;display:grid}.portal-sidebar{background:var(--panel);border-right:1px solid var(--line);z-index:40;flex-direction:column;height:100dvh;padding:18px 14px 14px;display:flex;position:sticky;top:0;overflow-y:auto}.portal-brand{width:148px;margin:2px 10px 18px;display:block}.portal-brand img{mix-blend-mode:multiply;width:100%;height:auto}.portal-context{border-radius:var(--r-md);background:var(--surface-soft);border:1px solid var(--line);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;margin-bottom:18px;padding:10px 12px;display:grid}.portal-context-mark{background:var(--panel);width:36px;height:36px;box-shadow:var(--shadow-sm);border-radius:11px;place-items:center;display:grid}.portal-context-mark img{width:16px}.portal-context strong{color:var(--ink);font-size:var(--fs-sm);font-weight:700;line-height:1.3;display:block}.portal-context small{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;line-height:1.4;display:block;overflow:hidden}.portal-nav{gap:18px;display:grid}.portal-nav-group{gap:2px;display:grid}.portal-nav-label{margin:0 12px 6px}.portal-nav a{min-height:44px;color:var(--muted);transition:background var(--dur-1), color var(--dur-1);border-radius:13px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:5px 10px 5px 5px;font-size:14px;font-weight:600;line-height:1.3;display:grid}.portal-nav a:hover{background:var(--surface-soft);color:var(--ink)}.portal-nav a[aria-current]{background:var(--surface-tint);color:var(--ink)}.portal-nav-icon{width:34px;height:34px;color:inherit;transition:background var(--dur-1), color var(--dur-1);border-radius:10px;place-items:center;display:grid}.portal-nav-icon svg{width:19px;height:19px}.portal-nav a[aria-current] .portal-nav-icon{background:var(--panel);color:var(--accent);box-shadow:var(--shadow-sm)}.portal-nav a .subject-code{border-radius:10px;width:34px;height:34px;font-size:11px}.portal-nav-badge{border-radius:var(--r-pill);background:var(--accent);min-width:22px;color:var(--accent-text);text-align:center;font-variant-numeric:tabular-nums;padding:1px 7px;font-size:11px;font-weight:700}.portal-nav-badge[data-tone=soft]{background:var(--accent-soft);color:var(--accent)}.portal-nav-sub{border-left:1px solid var(--line);gap:2px;margin:2px 0 4px 22px;padding-left:10px;display:grid}.portal-nav-sub a{grid-template-columns:34px minmax(0,1fr);min-height:40px}.portal-sidebar-foot{border-top:1px solid var(--line);gap:4px;margin-top:auto;padding-top:16px;display:grid}.portal-sidebar-foot a{min-height:40px;color:var(--muted);transition:background var(--dur-1), color var(--dur-1);border-radius:12px;align-items:center;gap:10px;padding:6px 10px;font-size:13px;font-weight:600;display:flex}.portal-sidebar-foot a:hover{background:var(--surface-soft);color:var(--ink)}.portal-sidebar-foot svg{width:18px;height:18px}.proto-line{color:var(--muted);font-size:var(--fs-xs);align-items:center;gap:8px;padding:6px 10px;display:flex}.live-dot{background:#2fbf8f;border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block;position:relative}.portal-main{flex-direction:column;min-width:0;display:flex}.portal-topbar{z-index:30;min-height:var(--topbar-h);background:color-mix(in srgb, var(--surface) 86%, transparent);-webkit-backdrop-filter:blur(16px)saturate(1.4);backdrop-filter:blur(16px)saturate(1.4);border-bottom:1px solid var(--line);align-items:center;gap:14px;padding:10px 32px;display:flex;position:sticky;top:0}.portal-topbar .menu-toggle{display:none}.topbar-crumbs{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex}.topbar-crumbs strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.topbar-crumbs svg{width:12px;height:12px}.topbar-search{flex:0 320px;margin-left:auto;position:relative}.topbar-search svg{width:17px;height:17px;color:var(--muted);pointer-events:none;margin-top:-8.5px;position:absolute;top:50%;left:14px}.topbar-search input{border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface-soft);width:100%;min-height:42px;font-size:var(--fs-sm);transition:border-color var(--dur-1), background var(--dur-1), box-shadow var(--dur-1);padding:8px 52px 8px 40px}.topbar-search input:focus{background:var(--panel);border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);outline:none}.topbar-search kbd{position:absolute;top:50%;right:12px;transform:translateY(-50%)}.topbar-actions{align-items:center;gap:6px;display:flex}.bell{position:relative}.bell[data-unread]:after{content:"";background:var(--accent);width:8px;height:8px;box-shadow:0 0 0 2px var(--panel);border-radius:50%;position:absolute;top:9px;right:10px}.topbar-profile{border-radius:var(--r-pill);border:1px solid var(--line);background:var(--panel);transition:border-color var(--dur-1);align-items:center;gap:10px;padding:4px 12px 4px 4px;display:flex}.topbar-profile:hover{border-color:var(--line-strong)}.topbar-profile strong{color:var(--ink);font-size:13px;font-weight:700;line-height:1.25;display:block}.topbar-profile small{max-width:190px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.3;display:block;overflow:hidden}.profile-menu{position:relative}.profile-menu-panel{z-index:50;border-radius:var(--r-md);background:var(--panel);border:1px solid var(--line);width:280px;box-shadow:var(--shadow);padding:8px;position:absolute;top:calc(100% + 8px);right:0}.profile-menu-panel>p{padding:8px 10px 4px}.profile-menu-panel :is(a,button){text-align:left;width:100%;min-height:42px;color:var(--ink);font-size:var(--fs-sm);border-radius:11px;align-items:center;gap:10px;padding:8px 10px;font-weight:600;display:flex}.profile-menu-panel :is(a,button):hover{background:var(--surface-soft)}.profile-menu-panel :is(a,button)[aria-current]{background:var(--surface-tint)}.profile-menu-panel :is(a,button) small{color:var(--muted);margin-left:auto;font-size:12px;font-weight:600}.profile-menu-panel svg{width:18px;height:18px;color:var(--accent)}.demo-strip{background:var(--surface-tint);color:var(--ink);justify-content:space-between;align-items:center;gap:12px;padding:8px 32px;font-size:13px;font-weight:600;display:flex}.demo-strip>span{align-items:center;gap:8px;min-width:0;display:flex}.demo-strip a{color:var(--accent);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.demo-strip a svg{width:14px;height:14px}.portal-content{width:100%;max-width:1280px;padding:32px 32px 64px}.portal-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;gap:16px;margin-top:auto;padding:18px 32px;font-size:13px;display:flex}.sidebar-backdrop{display:none}.cal-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.cal-title{align-items:center;gap:6px;display:flex}.cal-title h2{text-transform:capitalize;min-width:190px;font-size:20px}.cal-filters{flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.cal-legend-dot{background:var(--dot,var(--accent));border-radius:50%;width:8px;height:8px}.cal-month{border-top:1px solid var(--line);border-left:1px solid var(--line);border-radius:var(--r-md);background:var(--panel);grid-template-columns:repeat(7,minmax(0,1fr));display:grid;overflow:hidden}.cal-weekday{border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface-soft);color:var(--muted);font-size:var(--fs-xs);letter-spacing:.05em;text-transform:uppercase;padding:10px 12px;font-weight:700}.cal-day{border-right:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;gap:4px;min-width:0;min-height:112px;padding:8px;display:flex}.cal-day[data-outside]{background:color-mix(in srgb, var(--surface-soft) 70%, transparent)}.cal-day[data-outside] .cal-day-number{color:var(--line-strong)}.cal-day-number{width:28px;height:28px;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;font-size:13px;font-weight:650;display:grid}.cal-day[data-today] .cal-day-number{background:var(--accent);color:var(--accent-text)}.cal-event{background:color-mix(in srgb, var(--dot) 12%, var(--panel));width:100%;min-height:26px;color:var(--ink);text-align:left;white-space:nowrap;text-overflow:ellipsis;border-radius:8px;align-items:center;gap:6px;padding:3px 8px;font-size:12px;font-weight:600;line-height:1.3;display:flex;overflow:hidden}.cal-event:before{content:"";background:var(--dot);border-radius:50%;flex-shrink:0;width:6px;height:6px}.cal-event span{text-overflow:ellipsis;overflow:hidden}.cal-event:hover{background:color-mix(in srgb, var(--dot) 20%, var(--panel))}.cal-event[data-personal]{background:var(--panel);box-shadow:inset 0 0 0 1px var(--line-strong)}.cal-more{color:var(--muted);padding-left:8px;font-size:12px;font-weight:600}.cal-agenda{gap:18px;display:grid}.cal-agenda-day h3{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;margin-bottom:8px;font-size:13px;font-weight:700}.cal-agenda-day h3[data-today]{color:var(--accent)}.date-tile{background:var(--surface-soft);width:52px;height:56px;color:var(--ink);border-radius:14px;align-content:center;place-items:center;line-height:1.1;display:grid}.date-tile small{color:var(--accent);text-transform:uppercase;letter-spacing:.04em;font-size:11px;font-weight:700}.date-tile strong{font-variant-numeric:tabular-nums;font-size:20px;font-weight:700}@media (prefers-reduced-motion:no-preference){.novus-dialog[open]{animation:dialog-in .45s var(--ease-out)}.novus-dialog[open]::backdrop{animation:.3s ease-out fade-in}.toast{animation:toast-in .45s var(--ease-out)}.enter{animation:enter .5s var(--ease-out) both;animation-delay:calc(var(--i,0) * 60ms)}@keyframes dialog-in{0%{opacity:0;transform:translateY(20px)scale(.98)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%)}}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}@media (max-width:1180px){.grid-main,.grid-main-wide{grid-template-columns:minmax(0,1fr)}.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1023px){.portal{grid-template-columns:minmax(0,1fr)}.portal-sidebar{width:min(300px,86vw);transition:transform var(--dur-2) var(--ease-out);box-shadow:var(--shadow);position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.portal-sidebar.is-open{transform:none}.sidebar-backdrop{z-index:35;background:#131d4659;display:block;position:fixed;inset:0}.portal-topbar .menu-toggle{display:inline-flex}.portal-topbar,.demo-strip,.portal-content,.portal-footer{padding-inline:20px}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:767px){body{font-size:15px}.portal-content{padding:20px 16px 48px}.portal-topbar{gap:8px;min-height:64px;padding:8px 12px}.demo-strip{padding:8px 16px}.demo-strip .strip-detail{display:none}.portal-footer{flex-direction:column;padding-inline:16px}.topbar-search{display:none}.topbar-actions{margin-left:auto}.topbar-profile{padding-right:4px}.topbar-profile>div,.topbar-crumbs>:not(:last-child){display:none}.page-head{flex-direction:column;align-items:stretch}.panel-head{flex-wrap:wrap}.page-head .button-row>:is(.button,a,button){white-space:normal;text-align:center;max-width:100%}.grid-2,.grid-3,.grid-4,.field-row{grid-template-columns:minmax(0,1fr)}.panel{border-radius:20px;padding:18px}.panel-flush{padding:0}.panel-flush>.panel-head{padding:16px 18px 14px}.item{grid-template-columns:auto minmax(0,1fr)}.item-aside{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;justify-self:stretch}.novus-dialog{padding:30px 20px 22px}.cal-title{flex-wrap:wrap}.cal-title h2{min-width:0;font-size:18px}.cal-day{min-height:70px;padding:4px}.cal-event{min-height:10px;padding:2px 4px;font-size:0}.cal-event span{display:none}.cal-weekday{text-align:center;padding:8px 4px;font-size:10px}.stepper li{gap:0;font-size:0}.stepper li span{display:none}.kv>div{grid-template-columns:minmax(0,1fr);gap:2px}.chip,.status-pill,.example-tag{white-space:normal;max-width:100%}}
