.astro-route-announcer{position:absolute;left:0;top:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;width:1px;height:1px}@keyframes panel-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes panel-exit{to{opacity:0;transform:translateY(-4px)}}.demo-badge{display:inline-block;padding:.15rem .55rem;font-size:.72rem;font-weight:600;border-radius:999px;background:color-mix(in oklab,#f97316 18%,transparent);color:color-mix(in oklab,#f97316 90%,var(--theme-text-strong));border:1px solid color-mix(in oklab,#f97316 40%,transparent);vertical-align:middle;margin-left:.5rem}.demo-badge--trial{background:color-mix(in oklab,#059669 14%,transparent);color:color-mix(in oklab,#059669 90%,var(--theme-text-strong));border-color:color-mix(in oklab,#059669 34%,transparent)}.view-panel.is-exiting{animation:panel-exit .13s ease forwards}#app-view #calendar-view,#app-view #grade-sheet-view,#app-view #profile-view{--app-view-width-scale: 1;--app-view-density: 1;max-width:calc(var(--app-view-stage-width) * var(--app-view-width-scale));width:100%;margin:0 auto;padding:1.12rem;border:1px solid var(--theme-border-strong);border-radius:1.15rem;background:var(--theme-surface-primary);box-shadow:var(--theme-shadow-md);animation:panel-enter .18s ease}#app-view #calendar-view{--app-view-width-scale: var(--app-view-width-calendar);--app-view-density: var(--app-view-density-calendar)}#app-view #grade-sheet-view{--app-view-width-scale: var(--app-view-width-grades);--app-view-density: var(--app-view-density-grades)}#app-view #profile-view{--app-view-width-scale: var(--app-view-width-profile);--app-view-density: var(--app-view-density-profile);display:flex;flex-direction:column;min-height:calc(100vh - 8rem)}#app-view #profile-view #profile-content,#app-view #profile-view #profile-inner{flex:1;display:flex;flex-direction:column;min-height:0}#app-view #grade-sheet-view .panel-subtitle,#app-view #profile-view .panel-subtitle{margin:.16rem 0 0;font-size:.86rem;color:var(--theme-text-muted)}#app-view #profile-view .profile-intro,#app-view #profile-view .profile-header{margin-bottom:.95rem}#app-view #profile-view .profile-intro-copy{min-width:0;overflow:hidden}#app-view #profile-view .profile-intro h2{margin:0;font-size:clamp(1.4rem,1.5vw,1.7rem)}#app-view #profile-view .profile-intro .panel-subtitle{margin:0;max-width:30rem;font-size:.8rem;line-height:1.3}#app-view #grade-sheet-view .grade-header{margin-bottom:1rem}#app-view #profile-view .profile-header{margin-top:0}#app-view #grade-sheet-view .grade-course-badge,#app-view #profile-view .profile-course-badge{display:inline-flex;align-items:center;gap:.45rem;margin-top:.52rem;padding:.32rem .68rem;border-radius:999px;border:1px solid var( --theme-border-accent, color-mix(in oklab, var(--theme-primary) 26%, var(--theme-mix-base)) );background:var(--theme-button-secondary-bg);color:var(--theme-text-body);font-size:.76rem;font-weight:800;letter-spacing:.03em;max-width:100%;overflow:hidden}#app-view #grade-sheet-view .grade-course-badge__label,#app-view #profile-view .profile-course-badge__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}#app-view #profile-view .profile-course-badge{margin-top:0}#app-view #grade-sheet-view .grade-course-badge:before,#app-view #profile-view .profile-course-badge:before{content:"";width:.48rem;height:.48rem;border-radius:999px;background:color-mix(in oklab,var(--badge-class-color, var(--theme-primary)) 88%,#22d3ee);box-shadow:0 0 0 2px color-mix(in oklab,var(--badge-class-color, var(--theme-primary)) 24%,transparent)}[data-theme=dark] #app-view #grade-sheet-view .grade-course-badge,[data-theme=dark] #app-view #profile-view .profile-course-badge{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 30%,transparent);color:var(--theme-on-bg)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) #app-view #grade-sheet-view .grade-course-badge,:root:not([data-theme=light]) #app-view #profile-view .profile-course-badge{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 30%,transparent);color:var(--theme-on-bg)}}#app-view{min-height:65vh;padding:.35rem 0 2.25rem}#scan-lock-overlay{position:fixed;inset:0;z-index:220;display:none;align-items:center;justify-content:center;padding:1rem;background:color-mix(in oklab,#041427 58%,transparent);backdrop-filter:blur(4px);opacity:0;transition:opacity .2s ease}#app-view.scan-locked #scan-lock-overlay{display:flex;opacity:1}#app-view.scan-lock-overlay-disabled.scan-locked #scan-lock-overlay{display:none;opacity:0}.scan-lock-overlay__card{width:min(560px,calc(100% - 2rem));border-radius:1rem;border:1px solid color-mix(in oklab,var(--theme-primary) 34%,white);background:color-mix(in oklab,var(--theme-app-topbar-bg, #0d3e73) 82%,#031326);color:#f8fbff;box-shadow:0 18px 34px color-mix(in oklab,#041427 65%,transparent);padding:1rem 1.1rem;transform:scale(.98);opacity:0;transition:transform .2s ease,opacity .2s ease}#app-view.scan-locked .scan-lock-overlay__card{transform:scale(1);opacity:1}@media (prefers-reduced-motion: reduce){#scan-lock-overlay,.scan-lock-overlay__card{transition:none}}.scan-lock-overlay__card h3{margin:0;font-size:1.1rem}.scan-lock-overlay__card p{margin:.5rem 0 0;color:color-mix(in oklab,#f8fbff 92%,#dbeafe)}.scan-lock-progress-text{font-weight:700;letter-spacing:.01em}.scan-lock-overlay__progress{margin-top:1rem}.scan-lock-overlay__progress .sb-progress__track{background:#fff3}.scan-lock-overlay__progress .sb-progress__fill{background:linear-gradient(90deg,#fff9,#ffffffe6)}#app-view.scan-locked #app-topbar .topbar-link,#app-view.scan-locked #app-topbar .topbar-btn,#app-view.scan-locked #app-topbar .app-topbar-menu-btn,#app-view.scan-locked #view-toggle-container .segment-btn,#app-view.scan-locked #mobile-tabbar .mobile-tab-btn{opacity:.58;cursor:not-allowed}.workspace-message{margin-top:.75rem;min-height:1.25rem;opacity:.9}#workspace-section{display:grid;gap:1.15rem}.app-section{margin:0}.dashboard-banner{display:flex;justify-content:space-between;gap:1rem;align-items:center;flex-wrap:wrap;padding:1.05rem 1.15rem;border:1px solid var(--theme-border-subtle);border-radius:1rem;background:var(--theme-surface-secondary);box-shadow:var(--theme-shadow-sm)}.dashboard-banner h2{margin:0 0 .3rem;font-size:1.05rem}#dashboard-meta-text{margin:0;color:var(--theme-text-muted);font-size:.88rem}.usage-pill{display:inline-flex;align-items:center;padding:.42rem .76rem;border-radius:999px;font-size:.8rem;font-weight:700;color:var(--theme-text-body);background:var(--theme-button-secondary-bg);border:1px solid var(--theme-button-secondary-border)}.usage-pill.usage-pill--trial{background:color-mix(in oklab,var(--theme-primary) 11%,var(--theme-surface-subtle, var(--theme-surface-1)))}#view-content{margin-top:.95rem;position:relative;display:grid;gap:1.1rem}.view-panel{display:none!important}.view-panel.active{display:block!important}#scan-workspace{border:1px solid var(--theme-border-subtle);border-radius:1rem;background:var(--theme-surface-secondary);padding:.72rem;box-shadow:var(--theme-shadow-sm)}#scan-details{border:none}#scan-summary{cursor:pointer;font-weight:800;font-size:.94rem;padding:.48rem .58rem}#scan-workspace.primary-mode #scan-summary{pointer-events:none;list-style:none;cursor:default;margin-bottom:.3rem;font-size:1.02rem}#scan-workspace.primary-mode #scan-summary::-webkit-details-marker{display:none}.scan-inner{padding:.35rem}#toggle-and-nudge{position:relative}.upload-nudge-banner{position:absolute;right:0;width:210px;top:0;bottom:0;overflow:hidden;display:flex;align-items:center;gap:.5rem;padding:.4rem .75rem;border-radius:.75rem;background:var(--theme-surface-highlight);border:1px solid color-mix(in oklab,var(--theme-primary) 32%,var(--theme-mix-base));box-shadow:0 8px 18px color-mix(in oklab,var(--theme-primary) 14%,transparent);font-size:.65rem;line-height:1.35;color:var(--theme-text-body);transition:opacity .2s ease}@media (max-width: 860px){.upload-nudge-banner{display:none}}@media (max-width: 760px){#app-view{padding-top:.1rem;padding-bottom:calc(1.5rem + var(--mobile-bottom-safe))}.dashboard-banner{padding:.85rem}}#app-topbar{position:sticky;top:.65rem;z-index:140;margin-bottom:1rem;padding:.9rem 1rem;border-radius:1rem;border:1px solid color-mix(in oklab,var(--theme-app-topbar-bg, #0d3e73) 72%,white 18%);background:color-mix(in oklab,var(--theme-app-topbar-bg, #0d3e73) 92%,#08131d);color:var(--theme-app-topbar-text, #f6fbff);box-shadow:0 22px 42px color-mix(in oklab,#020b12 30%,transparent);display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.8rem}.app-topbar-brand{display:inline-flex;align-items:center;gap:1rem;min-height:4.65rem;text-decoration:none;color:inherit;font-weight:800;letter-spacing:.01em}.brand-name{font-family:var(--theme-font-family-serif);font-size:clamp(1.1rem,1rem + .35vw,1.35rem);letter-spacing:-.01em;line-height:1.05;padding-left:.5rem}.brand-mark-stack{width:4rem;height:4rem;display:block;flex:0 0 auto;align-self:center;position:relative;transform:translateY(.02rem) scale(1.42);transform-origin:center center}.brand-mark{position:absolute;inset:0;width:100%;height:100%;display:block}.app-topbar-brand .brand-mark--light{display:none}:root[data-theme=light] .app-topbar-brand .brand-mark--dark{display:none}:root[data-theme=light] .app-topbar-brand .brand-mark--light{display:block}:root[data-theme=dark] .app-topbar-brand .brand-mark--dark{display:block}:root[data-theme=dark] .app-topbar-brand .brand-mark--light{display:none}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .app-topbar-brand .brand-mark--dark{display:block}:root:not([data-theme=light]) .app-topbar-brand .brand-mark--light{display:none}}@media (prefers-color-scheme: light){:root:not([data-theme=dark]) .app-topbar-brand .brand-mark--dark{display:none}:root:not([data-theme=dark]) .app-topbar-brand .brand-mark--light{display:block}}.app-topbar-menu-btn{display:none;border:1px solid color-mix(in oklab,#ffffff 24%,transparent);border-radius:999px;background:color-mix(in oklab,#ffffff 10%,transparent);color:var(--theme-app-topbar-text, #f6fbff);padding:.42rem .76rem;font-size:.8rem;font-weight:700;cursor:pointer}.app-topbar-menu-panel{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.75rem}.app-topbar-nav{display:flex;justify-content:flex-start;align-items:center;gap:.45rem;flex-wrap:wrap}.app-topbar-user{display:inline-flex;align-items:center;justify-content:flex-start;gap:.45rem;flex-wrap:wrap}.app-topbar-user:only-child{grid-column:1 / -1}#app-topbar-user-email{font-size:.82rem;color:color-mix(in oklab,var(--theme-app-topbar-text, #f6fbff) 74%,white);margin-right:.2rem}.topbar-btn{border:1px solid color-mix(in oklab,#ffffff 24%,transparent);border-radius:999px;background:color-mix(in oklab,#ffffff 10%,transparent);color:var(--theme-app-topbar-text, #f6fbff);padding:.46rem .82rem;font-size:.8rem;font-weight:800;cursor:pointer;transition:background-color var(--theme-transition),border-color var(--theme-transition),transform var(--theme-transition)}.topbar-link{border:1px solid color-mix(in oklab,#ffffff 24%,transparent);border-radius:999px;background:color-mix(in oklab,#ffffff 10%,transparent);color:var(--theme-app-topbar-text, #f6fbff);padding:.46rem .82rem;font-size:.8rem;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;transition:background-color var(--theme-transition),border-color var(--theme-transition),transform var(--theme-transition)}.topbar-link:hover,.topbar-btn:hover{background:color-mix(in oklab,#ffffff 16%,transparent);transform:translateY(-1px)}.topbar-btn--solid{background:#f8fbff;color:#0d3e73;border-color:color-mix(in oklab,#ffffff 24%,transparent)}.topbar-btn--solid:hover{background:#fff}@media (min-width: 1001px){.app-topbar-user{justify-content:flex-end}}@media (max-width: 1000px){#app-topbar{grid-template-columns:1fr auto;gap:.6rem}.app-topbar-menu-btn{display:inline-flex;align-items:center;justify-content:center}.app-topbar-menu-panel{grid-column:1 / -1;display:none;gap:.55rem;padding-top:.62rem;border-top:1px solid color-mix(in oklab,#ffffff 22%,transparent);grid-template-columns:1fr}#app-topbar.is-open .app-topbar-menu-panel{display:grid}.app-topbar-nav{justify-content:flex-start;gap:.4rem}.app-topbar-user{justify-content:flex-start}#app-topbar-user-email{display:block;width:100%;margin-right:0;margin-bottom:.1rem}}@media (max-width: 768px){#app-topbar{top:.35rem;margin-bottom:.8rem;padding:.72rem .78rem;border-radius:.82rem}.topbar-link,.topbar-btn{width:100%;justify-content:flex-start;min-height:var(--mobile-tap-target)}.app-topbar-brand{min-height:3.8rem;gap:.82rem}.brand-mark-stack{width:3.35rem;height:3.35rem;transform:translateY(.02rem) scale(1)}}#app-view #calendar-view{--calendar-density: 1;--calendar-panel-padding: 1.05rem;--calendar-heading-size: var(--font-size-xl);--calendar-section-gap: .95rem;--calendar-header-gap: .9rem;--calendar-controls-gap: .5rem;--calendar-filter-gap: .65rem;--calendar-filters-padding: .72rem;--calendar-filter-padding-y: .4rem;--calendar-filter-padding-x: .72rem;--calendar-filter-font-size: .83rem;--calendar-subtitle-size: .86rem;--calendar-month-title-size: 2.4rem;--calendar-month-gap: 2.2rem;--calendar-grid-gap: .52rem;--calendar-weekday-header-height: 3rem;--calendar-weekday-font-size: 1.25rem;--calendar-day-size: 180px;--calendar-grid-width: calc( (7 * var(--calendar-day-size)) + (6 * var(--calendar-grid-gap)) );--calendar-day-padding: .45rem .45rem .38rem;--calendar-day-number-size: 1.05rem;--calendar-chip-font-size: .72rem;--calendar-more-font-size: .7rem;--calendar-day-panel-gap: 1rem;--calendar-day-panel-width: 420px;--calendar-day-panel-max-height: 34rem;--calendar-button-height: 1.88rem;--calendar-button-padding-x: .72rem;--calendar-button-font-size: .88rem}#app-view #calendar-view h2{margin:0 0 .08rem;font-size:var(--calendar-heading-size);white-space:nowrap}#app-view #calendar-view .panel-subtitle{margin:0;font-size:.76rem;line-height:1.2;white-space:nowrap;color:var(--theme-text-muted)}#app-view #calendar-view .calendar-header{display:flex;position:relative;justify-content:space-between;align-items:flex-start;margin-bottom:.55rem;min-height:0;padding-right:24.2rem;padding-bottom:.2rem;flex-wrap:wrap;gap:var(--calendar-header-gap)}#app-view #calendar-view .calendar-header-left{display:grid;gap:.05rem;flex:0 1 auto;max-width:calc(100% - 24.2rem);min-width:0}#app-view #calendar-view .calendar-controls{display:flex;align-items:center;justify-content:flex-end;gap:.35rem;position:absolute;top:0;right:0;transform:none;flex:0 1 auto;min-width:0;margin-left:0;flex-wrap:nowrap}#app-view #calendar-view .class-filters-wrapper{width:100%;max-width:min(100%,clamp(56rem,84vw,74rem));margin-inline:0;margin-bottom:0}#app-view #calendar-view .calendar-health-banner{width:100%;max-width:min(100%,clamp(56rem,84vw,74rem));display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.08rem;margin-bottom:.9rem;border-radius:1rem;border:1px solid color-mix(in oklab,#fb7185 20%,var(--theme-border-subtle));background:linear-gradient(135deg,color-mix(in oklab,#fb7185 9%,var(--theme-surface-secondary)),color-mix(in oklab,#ffffff 2%,var(--theme-surface-secondary)));box-shadow:0 18px 42px color-mix(in oklab,var(--theme-shadow-color) 18%,transparent)}#app-view #calendar-view .calendar-health-banner.is-attention{border-color:color-mix(in oklab,#fb7185 42%,var(--theme-border-subtle));background:linear-gradient(135deg,color-mix(in oklab,#fb7185 12%,var(--theme-surface-secondary)),color-mix(in oklab,#f97316 4%,var(--theme-surface-secondary)))}#app-view #calendar-view .calendar-health-banner-status{display:flex;align-items:flex-start;gap:.8rem;min-width:0}#app-view #calendar-view .calendar-health-banner-icon{display:inline-flex;align-items:center;justify-content:center;width:2.2rem;height:2.2rem;flex:0 0 auto;border-radius:.78rem;color:#fff6f7;background:linear-gradient(135deg,#e11d48,#f97316);box-shadow:inset 0 1px #ffffff24}#app-view #calendar-view .calendar-health-banner-copy{display:grid;gap:.32rem;min-width:0}#app-view #calendar-view .calendar-health-banner-title,#app-view #calendar-view .calendar-health-banner-body{margin:0}#app-view #calendar-view .calendar-health-banner-title{font-size:1.25rem;font-weight:700;color:var(--theme-on-bg)}#app-view #calendar-view .calendar-health-banner-body{font-size:.84rem;line-height:1.45;color:color-mix(in oklab,var(--theme-on-bg) 84%,var(--theme-mix-base))}#app-view #calendar-view .calendar-health-banner-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:.55rem}#app-view #calendar-view .calendar-health-banner-dismiss{border:1px solid color-mix(in oklab,var(--theme-on-bg) 24%,transparent);border-radius:999px;background:color-mix(in oklab,var(--theme-on-bg) 10%,transparent);color:var(--theme-on-bg);font-size:.77rem;font-weight:700;min-height:2rem;padding:.34rem .78rem;cursor:pointer}#app-view #calendar-view .btn-secondary{min-height:max(var(--calendar-button-height),2.15rem);padding:.42rem max(calc(var(--calendar-button-padding-x) + .08rem),.92rem);border:1px solid var(--theme-button-secondary-border);border-radius:999px;background:var(--theme-button-secondary-bg);color:var(--theme-text-strong);cursor:pointer;font-size:max(var(--calendar-button-font-size),.82rem);font-weight:700;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:0 0 auto;box-shadow:0 8px 18px color-mix(in oklab,var(--theme-shadow-color) 10%,transparent)}#app-view #calendar-view .btn-secondary:hover:not(:disabled){transform:translateY(-1px);background:var(--theme-button-secondary-bg-hover);box-shadow:0 10px 22px color-mix(in oklab,var(--theme-shadow-color) 14%,transparent)}#app-view #calendar-view .btn-secondary:disabled{opacity:.55;cursor:not-allowed}#app-view #calendar-view .flagged-class-list{width:100%;max-width:min(100%,clamp(56rem,84vw,74rem));display:flex;flex-wrap:wrap;gap:.55rem;margin:.95rem 0 .75rem}#app-view #calendar-view .flagged-class-pill{display:inline-flex;align-items:center;gap:.5rem;flex:0 1 auto;min-width:0;padding:.32rem .42rem .32rem .78rem;border-radius:999px;border:1px solid color-mix(in oklab,#38bdf8 26%,var(--theme-border-subtle));background:linear-gradient(135deg,color-mix(in oklab,#0f766e 16%,var(--theme-surface-inset)),color-mix(in oklab,#1d4ed8 14%,var(--theme-surface-inset)));box-shadow:inset 0 1px color-mix(in oklab,#ffffff 8%,transparent);color:var(--theme-on-bg);font-size:.78rem;font-weight:700}#app-view #calendar-view .flagged-class-pill>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app-view #calendar-view .flagged-class-pill strong{display:inline-flex;align-items:center;min-height:1.65rem;padding:.1rem .56rem;border-radius:999px;border:1px solid color-mix(in oklab,#fda4af 34%,transparent);background:color-mix(in oklab,#ef4444 18%,transparent);font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:color-mix(in oklab,#fff5f5 92%,var(--theme-mix-base))}#app-view #calendar-view .flagged-class-pill.is-partial strong{border-color:color-mix(in oklab,#f59e0b 44%,transparent);background:color-mix(in oklab,#fbbf24 22%,transparent);color:color-mix(in oklab,#fff7ed 94%,var(--theme-mix-base))}#app-view #calendar-view .flagged-class-pill.is-attention{border-color:color-mix(in oklab,#fb7185 36%,var(--theme-border-subtle));background:linear-gradient(135deg,color-mix(in oklab,#991b1b 16%,var(--theme-surface-inset)),color-mix(in oklab,#1d4ed8 12%,var(--theme-surface-inset)))}#app-view #calendar-view .flagged-class-pill.is-attention strong{border-color:color-mix(in oklab,#fda4af 42%,transparent);background:color-mix(in oklab,#be123c 24%,transparent);color:#fff1f2}#app-view #calendar-view .calendar-add-modal-backdrop{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem;background:color-mix(in oklab,#000 52%,transparent)}#app-view #calendar-view .calendar-add-modal-dismiss-layer{position:absolute;inset:0;border:0;background:transparent;padding:0;cursor:default}#app-view #calendar-view .calendar-add-modal{position:relative;z-index:1;width:min(30rem,100%);padding:1.35rem;border-radius:1rem;border:1px solid var(--theme-border-strong);background:var(--theme-surface-primary);box-shadow:var(--theme-shadow-lg, 0 24px 60px rgba(0, 0, 0, .24))}#app-view #calendar-view .calendar-add-modal-title,#app-view #calendar-view .calendar-add-modal-body,#app-view #calendar-view .calendar-add-modal-error,#app-view #calendar-view .calendar-google-mobile-title,#app-view #calendar-view .calendar-google-mobile-body{margin:0}#app-view #calendar-view .calendar-add-modal-title{font-size:1.1rem;font-weight:800;color:var(--theme-text-strong)}#app-view #calendar-view .calendar-add-modal-body{margin-top:.55rem;font-size:.9rem;line-height:1.5;color:var(--theme-text-muted)}#app-view #calendar-view .calendar-google-mobile-card{margin-top:.95rem;padding:.9rem .95rem;border-radius:.9rem;border:1px solid color-mix(in oklab,#d48d28 34%,var(--theme-border-subtle));background:color-mix(in oklab,#f6cf78 15%,var(--theme-surface-inset))}#app-view #calendar-view .calendar-google-mobile-title{font-size:.9rem;font-weight:700;color:var(--theme-text-strong)}#app-view #calendar-view .calendar-google-mobile-body{margin-top:.3rem;font-size:.82rem;line-height:1.45;color:var(--theme-text-muted)}#app-view #calendar-view .calendar-add-modal-error{margin-top:.75rem;font-size:.82rem;color:#b42318}#app-view #calendar-view .calendar-add-modal-actions{display:grid;gap:.65rem;margin-top:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}#app-view #calendar-view .calendar-add-option{width:100%;min-height:2.85rem;padding-inline:1rem}#app-view #calendar-view .calendar-add-modal-close{grid-column:1 / -1;justify-self:center}#app-view #calendar-view .filters-toggle{display:flex;align-items:center;gap:.4rem;margin-inline:0;width:-moz-fit-content;width:fit-content;background:var(--theme-button-secondary-bg);border:1px solid var(--theme-button-secondary-border);border-radius:.8rem;padding:.38rem .85rem;font-size:max(var(--calendar-filter-font-size, .83rem),.75rem);font-weight:600;color:var(--theme-text-muted);cursor:pointer;transition:color .15s,background .15s;line-height:1.2}#app-view #calendar-view .filters-toggle:hover{color:var(--theme-text-strong);background:var(--theme-button-secondary-bg-hover)}#app-view #calendar-view .filters-toggle-chevron{flex-shrink:0;transition:transform .2s ease}#app-view #calendar-view .filters-toggle-chevron--open{transform:rotate(180deg)}#app-view #calendar-view .filters-toggle-count{background:color-mix(in oklab,var(--theme-primary) 16%,var(--theme-surface-elevated));border:1px solid var(--theme-chip-border);border-radius:999px;font-size:.7rem;font-weight:700;padding:.05rem .45rem;line-height:1.4;min-width:1.2rem;text-align:center}#app-view #calendar-view .class-filters{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:flex-start;gap:var(--calendar-filter-gap);width:100%;max-width:100%;margin-top:.4rem;margin-bottom:0;padding:var(--calendar-filters-padding);background:var(--theme-surface-inset);border:1px solid var(--theme-border-subtle);border-radius:.8rem;color:var(--theme-text-strong)}#app-view #calendar-view .filter-chip{display:inline-flex;align-items:center;gap:.42rem;padding:var(--calendar-filter-padding-y) var(--calendar-filter-padding-x);border-radius:999px;background:color-mix(in oklab,var(--theme-chip-bg) 72%,var(--theme-surface-elevated, var(--theme-mix-base)));border:1px solid var(--theme-chip-border);min-height:2rem;font-size:max(var(--calendar-filter-font-size),.8rem);line-height:1.1;font-weight:700;color:var(--theme-text-strong);width:auto;max-width:100%;box-sizing:border-box}#app-view #calendar-view .filter-chip-text{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app-view #calendar-view .filter-dot{width:.58rem;height:.58rem;border-radius:999px;display:inline-block}#app-view #calendar-view .calendar-mobile-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin-bottom:.85rem}#app-view #calendar-view .calendar-mobile-mode-btn{border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 20%, var(--theme-mix-base)) );border-radius:999px;background:var(--theme-surface-subtle, var(--theme-chip-bg));color:var(--theme-on-bg);font-size:.76rem;font-weight:800;letter-spacing:.03em;min-height:var(--mobile-tap-target);cursor:pointer}#app-view #calendar-view .calendar-mobile-mode-btn.active{background:color-mix(in oklab,var(--theme-primary) 22%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 44%,var(--theme-mix-base))}#app-view #calendar-view .btn-icon,#app-view #calendar-view .btn-text{border:1px solid var(--theme-button-secondary-border);background:var(--theme-button-secondary-bg);color:var(--theme-text-strong);cursor:pointer;transition:transform var(--theme-transition),box-shadow var(--theme-transition),background-color var(--theme-transition)}#app-view #calendar-view .btn-icon{width:max(var(--calendar-button-height),2.15rem);height:max(var(--calendar-button-height),2.15rem);border-radius:.58rem;font-size:max(var(--calendar-button-font-size),.95rem);line-height:1;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}#app-view #calendar-view .btn-text{min-height:max(var(--calendar-button-height),2.15rem);padding:.42rem max(var(--calendar-button-padding-x),.7rem);border-radius:.58rem;font-size:max(var(--calendar-button-font-size),.82rem);font-weight:700;flex:0 0 auto}#app-view #calendar-view .btn-primary{min-height:max(var(--calendar-button-height),2.15rem);padding:.42rem max(calc(var(--calendar-button-padding-x) + .08rem),.92rem);border:1px solid color-mix(in oklab,var(--theme-primary) 38%,transparent);border-radius:999px;background:var(--theme-cta-bg);color:var(--theme-on-primary);cursor:pointer;font-size:max(var(--calendar-button-font-size),.82rem);font-weight:700;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:0 0 auto;box-shadow:var(--theme-cta-shadow)}#app-view #calendar-view #download-ics-btn,#app-view #calendar-view #calendar-subscribe-btn{margin-right:.28rem}#app-view #calendar-view #download-ics-btn{min-height:2rem;padding:.38rem .8rem;font-size:.78rem}#app-view #calendar-view #calendar-subscribe-btn{gap:.4em}#app-view #calendar-view .cal-export-logo{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}#app-view #calendar-view .cal-export-logo--google{background:#fff;border-radius:4px;padding:1px 2px}#app-view #calendar-view .btn-primary:disabled{opacity:.55;cursor:not-allowed}#app-view #calendar-view .btn-icon:hover,#app-view #calendar-view .btn-text:hover{transform:translateY(-1px);box-shadow:0 7px 16px color-mix(in oklab,var(--theme-primary) 20%,transparent)}#app-view #calendar-view .calendar-month-wrap{display:grid!important;row-gap:calc(var(--calendar-month-gap) * .25);margin-top:0;width:-moz-fit-content;width:fit-content;max-width:100%;margin-inline:auto}#app-view #calendar-view .calendar-month-content{position:relative;width:min(100%,var(--calendar-grid-width));margin-inline:auto;overflow:visible;isolation:isolate}#app-view #calendar-view .calendar-month-content.desktop-day-panel{z-index:4}#app-view #calendar-view .month-header{width:min(100%,var(--calendar-grid-width));justify-self:start;text-align:center}#app-view #calendar-view .month-year-display{display:inline-flex;align-items:center;gap:.5rem;font-size:var(--calendar-month-title-size);font-weight:800;letter-spacing:.01em}#app-view #calendar-view .calendar-grid{display:flex;flex-direction:column;gap:var(--calendar-grid-gap);width:min(100%,var(--calendar-grid-width));justify-content:flex-start;align-items:center}#app-view #calendar-view .calendar-grid-row{display:grid;grid-template-columns:repeat(7,minmax(0,var(--calendar-day-size)));gap:var(--calendar-grid-gap);width:min(100%,var(--calendar-grid-width))}#app-view #calendar-view .calendar-grid-row--header{min-height:var(--calendar-weekday-header-height);height:var(--calendar-weekday-header-height)}#app-view #calendar-view .calendar-grid-row:not(.calendar-grid-row--header){height:var(--calendar-day-size);min-height:var(--calendar-day-size)}#app-view #calendar-view .day-events-panel{padding:.92rem;border:1px solid var(--theme-border-subtle);border-radius:.84rem;background:var(--theme-surface-inset);width:min(100%,max(var(--calendar-day-panel-width),20rem));max-height:var(--calendar-day-panel-max-height);margin-top:var(--calendar-month-gap);overflow:auto;box-shadow:0 26px 48px color-mix(in oklab,var(--theme-shadow-color) 18%,transparent)}#app-view #calendar-view .day-events-panel.day-events-panel--compact{max-height:none;overflow:visible}#app-view #calendar-view .calendar-month-content.desktop-day-panel .day-events-panel{position:absolute;top:0;left:calc(100% + var(--calendar-day-panel-gap));margin-top:0;z-index:3;width:var(--calendar-day-panel-width)}#app-view #calendar-view .day-events-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:.75rem;gap:.6rem}#app-view #calendar-view .day-events-header h3{margin:0}#app-view #calendar-view .day-events-meta{margin:.12rem 0 0;font-size:.8rem;opacity:.8}#app-view #calendar-view .day-events-list{display:grid;gap:.62rem}#app-view #calendar-view .day-event-item{border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 16%, var(--theme-mix-base)) );border-left:4px solid var(--item-class-color, var(--theme-primary));background:var(--theme-surface-elevated, var(--theme-surface-1));padding:.68rem;border-radius:.54rem;display:grid;gap:.32rem}#app-view #calendar-view .day-event-item-top,#app-view #calendar-view .agenda-event-top{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem}#app-view #calendar-view .day-event-title{margin:0;font-size:.95rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:1.3;min-width:0;flex:1}#app-view #calendar-view .calendar-month-wrap,#app-view #calendar-view .calendar-month-wrap *,#app-view #calendar-view .day-events-panel,#app-view #calendar-view .day-events-panel *{caret-color:transparent}#app-view #calendar-view .event-type-badge{display:inline-flex;align-items:center;gap:.28rem;font-size:.7rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase;border:1px solid color-mix(in oklab,var(--badge-color, var(--theme-event-other)) 44%,transparent);background:color-mix(in oklab,var(--badge-color, var(--theme-event-other)) 16%,transparent);color:var(--theme-on-bg);border-radius:999px;padding:.18rem .45rem}#app-view #calendar-view .day-event-meta-line,#app-view #calendar-view .agenda-event-meta,#app-view #calendar-view .agenda-event-location,#app-view #calendar-view .day-event-location{font-size:.82rem;opacity:.84;margin:0}#app-view #calendar-view .agenda-jump-row{display:flex;gap:.42rem;flex-wrap:wrap;margin-bottom:.72rem}#app-view #calendar-view .agenda-jump-btn{border:1px solid var(--theme-button-secondary-border);border-radius:999px;background:var(--theme-button-secondary-bg);color:var(--theme-text-body);padding:.42rem .75rem;font-size:.76rem;font-weight:800;cursor:pointer}#app-view #calendar-view .agenda-jump-btn.active{background:color-mix(in oklab,var(--theme-primary) 22%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 44%,var(--theme-mix-base))}#app-view #calendar-view .agenda-events-list{display:grid;gap:.7rem}#app-view #calendar-view .agenda-group{display:grid;gap:.5rem;border:1px solid var(--theme-border-subtle);border-radius:.72rem;background:var(--theme-surface-inset);padding:.62rem}#app-view #calendar-view .agenda-group-title{margin:0;font-size:.84rem;font-weight:800;letter-spacing:.045em;text-transform:uppercase;opacity:.82}#app-view #calendar-view .agenda-event-card{display:grid;gap:.28rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 14%, var(--theme-mix-base)) );border-radius:.62rem;background:var(--theme-surface-elevated, var(--theme-surface-1));padding:.58rem}#app-view #calendar-view .agenda-event-title{margin:0;font-size:.88rem;line-height:1.3}#app-view #calendar-view .agenda-event-description,#app-view #calendar-view .day-event-description{margin:0;font-size:.8rem;line-height:1.45;opacity:.9}#app-view #calendar-view .empty-state{color:var(--theme-text-muted);opacity:1}@media (max-width: 860px){#app-view #calendar-view .class-filters-wrapper{width:100%;max-width:100%}#app-view #calendar-view .class-filters{width:100%;max-width:100%;justify-content:flex-start}#app-view #calendar-view .calendar-grid{width:100%}#app-view #calendar-view .calendar-grid-row{grid-template-columns:repeat(7,minmax(0,1fr));width:100%}#app-view #calendar-view .month-year-display{font-size:1.2rem}}@media (max-width: 768px){#app-view #calendar-view .calendar-header{min-height:0;padding-right:0;align-items:flex-start}#app-view #calendar-view .calendar-header-left{max-width:100%}#app-view #calendar-view .calendar-controls{position:static;transform:none;width:100%;margin-left:0;flex-wrap:wrap}#app-view #calendar-view .btn-icon,#app-view #calendar-view .btn-text,#app-view #calendar-view .btn-primary{min-height:var(--mobile-tap-target)}#app-view #calendar-view .day-events-panel{position:static;width:100%;max-height:none;overflow:visible}}#app-view #calendar-view #calendar-grid .calendar-day-header{height:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 .32rem;background:color-mix(in oklab,var(--theme-primary) 11%,var(--theme-surface-elevated, var(--theme-mix-base)));border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 20%, var(--theme-mix-base)) );border-radius:.52rem;font-size:var(--calendar-weekday-font-size);font-weight:800;text-transform:uppercase;letter-spacing:.055em}#app-view #calendar-view #calendar-grid .calendar-day{min-height:80px;height:100%;padding:var(--calendar-day-padding);border-radius:.7rem;border:1px solid var(--theme-border-subtle);background:color-mix(in oklab,var(--theme-surface-subtle, var(--theme-panel-inset-bg)) 92%,var(--theme-mix-base));display:flex;flex-direction:column;gap:.24rem;overflow:hidden;cursor:pointer;transition:border-color var(--theme-transition),transform var(--theme-transition),box-shadow var(--theme-transition)}#app-view #calendar-view #calendar-grid .calendar-day:hover{transform:translateY(-1px);border-color:color-mix(in oklab,var(--theme-primary) 55%,var(--theme-mix-base));box-shadow:0 8px 18px color-mix(in oklab,var(--theme-primary) 15%,transparent)}#app-view #calendar-view #calendar-grid .calendar-day:focus-visible{outline:2px solid color-mix(in oklab,var(--theme-primary) 68%,#fff);outline-offset:2px}#app-view #calendar-view #calendar-grid .calendar-day.today{border:2px solid color-mix(in oklab,var(--theme-primary) 78%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 14%,var(--theme-surface-elevated))}#app-view #calendar-view #calendar-grid .calendar-day.empty-day{border-style:dashed;background:transparent;cursor:default;opacity:.5}#app-view #calendar-view #calendar-grid .calendar-grid-row--header .calendar-day-header:first-child,#app-view #calendar-view #calendar-grid .calendar-grid-row--header .calendar-day-header:last-child{opacity:.55}#app-view #calendar-view #calendar-grid .calendar-day.weekend[data-event-count="0"]:not(.today){background:color-mix(in oklab,var(--theme-panel-inset-bg) 50%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-panel-border-strong) 55%,transparent)}#app-view #calendar-view #calendar-grid .calendar-day.weekend[data-event-count="0"]:not(.today) .day-number{opacity:.45}#app-view #calendar-view #calendar-grid .day-top{display:flex;justify-content:space-between;align-items:center;gap:.25rem;flex:0 0 auto}#app-view #calendar-view #calendar-grid .calendar-day[data-preview-mode=single],#app-view #calendar-view #calendar-grid .calendar-day[data-preview-mode=stacked]{gap:.18rem}#app-view #calendar-view #calendar-grid .day-number{font-weight:700;font-size:var(--calendar-day-number-size)}#app-view #calendar-view #calendar-grid .day-events-preview{flex:1 1 auto;min-height:0;overflow:hidden;margin-top:.28rem}#app-view #calendar-view #calendar-grid .day-events-preview--single,#app-view #calendar-view #calendar-grid .day-events-preview--stacked{display:grid;align-content:start;gap:.18rem}#app-view #calendar-view #calendar-grid .day-events-preview--dot-grid{display:flex;align-items:stretch}#app-view #calendar-view #calendar-grid .day-event-dot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:.28rem;width:100%;height:100%;align-items:stretch}#app-view #calendar-view #calendar-grid .day-event-dot-slot,#app-view #calendar-view #calendar-grid .day-event-overflow-slot,#app-view #calendar-view #calendar-grid .day-event-empty-slot{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;aspect-ratio:1 / 1;border-radius:.42rem}#app-view #calendar-view #calendar-grid .day-event-dot-slot{border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 14%, var(--theme-mix-base)) );border-left:3px solid var(--slot-class-color, var(--theme-primary));background:var(--theme-surface-subtle, var(--theme-chip-bg))}#app-view #calendar-view #calendar-grid .day-event-overflow-slot{border:1px solid var( --theme-border-accent, color-mix(in oklab, var(--theme-primary) 20%, var(--theme-mix-base)) );background:color-mix(in oklab,var(--theme-primary) 12%,var(--theme-surface-elevated, var(--theme-mix-base)));color:color-mix(in oklab,var(--theme-on-bg) 88%,var(--theme-primary));font-size:max(.88rem,calc(var(--calendar-chip-font-size) + .12rem));font-weight:800;line-height:1}#app-view #calendar-view #calendar-grid .day-event-empty-slot{border:1px dashed color-mix(in oklab,var(--theme-primary) 24%,transparent);background:transparent;opacity:.55}#app-view #calendar-view #calendar-grid .day-event-grid-dot{width:.62rem;height:.62rem;border-radius:999px;flex-shrink:0;background:var(--dot-color, var(--theme-event-other));box-shadow:0 0 0 2px color-mix(in oklab,var(--dot-color, var(--theme-event-other)) 24%,transparent)}#app-view #calendar-view #calendar-grid .day-event-chip{display:flex;align-items:center;gap:.34rem;font-size:max(var(--calendar-chip-font-size),.72rem);border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 14%, var(--theme-mix-base)) );background:color-mix(in oklab,var(--theme-chip-bg) 84%,var(--theme-surface-elevated, var(--theme-mix-base)));border-left:3px solid var(--chip-class-color, var(--theme-primary));border-radius:.42rem;padding:.2rem .28rem;min-width:0;min-height:1.4rem;line-height:1.15;width:100%;overflow:hidden;white-space:nowrap;flex-wrap:nowrap}#app-view #calendar-view #calendar-grid .calendar-day[data-preview-mode=single] .day-event-chip,#app-view #calendar-view #calendar-grid .calendar-day[data-preview-mode=stacked] .day-event-chip{font-size:max(calc(var(--calendar-chip-font-size) - .04rem),.68rem);padding:.16rem .24rem;min-height:1.24rem}#app-view #calendar-view #calendar-grid .day-event-chip-title{font-size:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;font-weight:600}#app-view #calendar-view #calendar-grid .event-dot{width:7px;height:7px;border-radius:999px;flex-shrink:0;background:var(--dot-color, var(--theme-event-other))}@media (max-width: 860px){#app-view #calendar-view #calendar-grid .calendar-day{padding:.35rem}#app-view #calendar-view #calendar-grid .day-event-chip{font-size:.68rem}#app-view #calendar-view #calendar-grid .day-event-dot-grid{gap:.22rem}}@media (max-width: 768px){#app-view #calendar-view .calendar-health-banner{flex-direction:column}#app-view #calendar-view .calendar-health-banner-actions{width:100%;justify-content:flex-start}#app-view #calendar-view .calendar-add-modal-actions{grid-template-columns:minmax(0,1fr)}#app-view #calendar-view #calendar-grid .calendar-day{padding:.3rem;border-radius:.6rem}#app-view #calendar-view #calendar-grid .day-number{font-size:.78rem}#app-view #calendar-view #calendar-grid .day-event-chip{font-size:.64rem;padding:.2rem .26rem}#app-view #calendar-view #calendar-grid .day-event-chip-title{font-size:.63rem}#app-view #calendar-view #calendar-grid .day-event-grid-dot{width:.56rem;height:.56rem}}@media (max-width: 640px){#app-view #calendar-view #calendar-grid .calendar-day-header{font-size:.66rem;padding:.46rem .2rem}}[data-theme=light] #app-view #calendar-view .btn-icon,[data-theme=light] #app-view #calendar-view .btn-text{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=light] #app-view #calendar-view .btn-icon:hover,[data-theme=light] #app-view #calendar-view .btn-text:hover{background:var(--theme-cta-bg-hover);color:var(--theme-on-primary)}[data-theme=light] #app-view #calendar-view .filters-toggle{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=light] #app-view #calendar-view .filters-toggle:hover{background:var(--theme-cta-bg-hover);color:var(--theme-on-primary)}[data-theme=light] #app-view #calendar-view .filters-toggle-count{background:var(--theme-on-primary);border-color:color-mix(in oklab,var(--theme-primary) 30%,var(--theme-on-primary));color:var(--theme-primary)}[data-theme=light] #app-view #calendar-view .calendar-health-banner{border-color:color-mix(in oklab,#f43f5e 24%,var(--theme-border-subtle));background:linear-gradient(135deg,color-mix(in oklab,#fff1f2 72%,white),#fff)}[data-theme=light] #app-view #calendar-view .agenda-jump-btn{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=dark] #app-view #calendar-view .btn-icon,[data-theme=dark] #app-view #calendar-view .btn-text{background:color-mix(in oklab,var(--theme-bg) 68%,var(--theme-surface-1));border-color:color-mix(in oklab,var(--theme-on-bg) 32%,transparent)}[data-theme=dark] #app-view #calendar-view .btn-secondary,:root:not([data-theme=light]) #app-view #calendar-view .btn-secondary{background:color-mix(in oklab,var(--theme-bg) 66%,var(--theme-surface-1));border-color:color-mix(in oklab,var(--theme-on-bg) 28%,transparent);color:#f8fbff}[data-theme=dark] #app-view #calendar-view .btn-secondary:hover:not(:disabled),:root:not([data-theme=light]) #app-view #calendar-view .btn-secondary:hover:not(:disabled){background:color-mix(in oklab,var(--theme-bg) 58%,var(--theme-surface-1))}[data-theme=dark] #app-view #calendar-view .filters-toggle,:root:not([data-theme=light]) #app-view #calendar-view .filters-toggle{background:linear-gradient(180deg,color-mix(in oklab,var(--theme-bg) 64a%,var(--theme-surface-1)),color-mix(in oklab,var(--theme-bg) 52%,var(--theme-surface-1)));border-color:color-mix(in oklab,var(--theme-on-bg) 30%,transparent);color:#f8fbff}[data-theme=dark] #app-view #calendar-view .filters-toggle:hover,:root:not([data-theme=light]) #app-view #calendar-view .filters-toggle:hover{background:linear-gradient(180deg,color-mix(in oklab,var(--theme-bg) 58%,var(--theme-surface-1)),color-mix(in oklab,var(--theme-bg) 46%,var(--theme-surface-1)));color:#fff}[data-theme=dark] #app-view #calendar-view .filters-toggle-count,:root:not([data-theme=light]) #app-view #calendar-view .filters-toggle-count{background:color-mix(in oklab,#ffffff 12%,var(--theme-surface-elevated));border-color:color-mix(in oklab,#ffffff 18%,transparent);color:#fff}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) #app-view #calendar-view .btn-icon,:root:not([data-theme=light]) #app-view #calendar-view .btn-text{background:color-mix(in oklab,var(--theme-bg) 68%,var(--theme-surface-1));border-color:color-mix(in oklab,var(--theme-on-bg) 32%,transparent)}}#app-view #grade-sheet-view .grade-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:calc(1rem * var(--app-view-density));margin-top:calc(1rem * var(--app-view-density))}#app-view #grade-sheet-view .panel-card{border:1px solid var(--theme-border-subtle);border-radius:.92rem;background:var(--theme-surface-inset);padding:calc(.9rem * var(--app-view-density))}#app-view #grade-sheet-view .components-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(.72rem * var(--app-view-density))}#app-view #grade-sheet-view .component-card{border:1px solid var(--theme-border-subtle);border-radius:.8rem;background:color-mix(in oklab,var(--theme-surface-elevated) 90%,var(--theme-panel-inset-bg));padding:calc(.75rem * var(--app-view-density));display:grid;gap:calc(.52rem * var(--app-view-density))}#app-view #grade-sheet-view .component-card h3{margin:0;font-size:1.02rem;line-height:1.2}#app-view #grade-sheet-view .component-meta{font-size:.79rem;opacity:.8}#app-view #grade-sheet-view .inputs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(calc(120px * var(--app-view-density)),1fr));gap:calc(.52rem * var(--app-view-density))}#app-view #grade-sheet-view .input-group{display:grid;gap:.24rem}#app-view #grade-sheet-view .input-group label{font-size:.75rem;opacity:.88;font-weight:600}#app-view #grade-sheet-view .input-group input[type=number]{width:100%;padding:.42rem;border:1px solid var(--theme-button-secondary-border);border-radius:.46rem;background:color-mix(in oklab,var(--theme-surface-elevated) 88%,var(--theme-bg));color:var(--theme-text-strong);font-size:.86rem}#app-view #grade-sheet-view .drop-row{display:inline-flex;align-items:center;gap:.32rem;font-size:.72rem;opacity:.86}#app-view #grade-sheet-view .left-actions{margin-top:calc(.82rem * var(--app-view-density))}#app-view #grade-sheet-view .calculate-btn{width:100%;border:1px solid color-mix(in oklab,var(--theme-primary) 38%,transparent);border-radius:999px;padding:.72rem 1rem;background:var(--theme-cta-bg);color:var(--theme-on-primary);font-weight:800;letter-spacing:.02em;cursor:pointer;box-shadow:var(--theme-cta-shadow)}#app-view #grade-sheet-view .analytics-column{display:grid;gap:calc(.72rem * var(--app-view-density));align-content:start}#app-view #grade-sheet-view .grade-summary-card h3{margin:0;font-size:1.05rem}#app-view #grade-sheet-view .overall-grade{font-size:2.2rem;font-weight:800;margin:.6rem 0 .3rem}#app-view #grade-sheet-view .stacked-bar{display:flex;width:100%;height:22px;border-radius:999px;overflow:hidden;background:color-mix(in oklab,var(--theme-on-bg) 8%,var(--theme-surface-subtle, var(--theme-mix-base)));margin-top:.5rem}#app-view #grade-sheet-view .bar-green{background:#10b981}#app-view #grade-sheet-view .bar-gray{background:#94a3b8}#app-view #grade-sheet-view .bar-red{background:#ef4444}#app-view #grade-sheet-view .stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.44rem;margin-top:.75rem}#app-view #grade-sheet-view .stat-box{border:1px solid var(--theme-border-subtle);border-radius:.64rem;background:color-mix(in oklab,var(--theme-surface-elevated) 92%,var(--theme-panel-inset-bg));padding:.58rem .45rem;text-align:center}#app-view #grade-sheet-view .stat-box .value{font-size:1.1rem;font-weight:800}#app-view #grade-sheet-view .value.secured{color:#059669}#app-view #grade-sheet-view .value.ungraded{color:color-mix(in oklab,var(--theme-on-bg) 58%,transparent)}#app-view #grade-sheet-view .value.lost{color:#dc2626}#app-view #grade-sheet-view .label{font-size:.76rem;opacity:.77}#app-view #grade-sheet-view .chart-card h3{margin:0 0 .55rem;font-size:1rem}#app-view #grade-sheet-view .chart-grid{display:grid;gap:.64rem}#app-view #grade-sheet-view .chart-box{border:1px solid var(--theme-border-subtle);border-radius:.72rem;background:var(--theme-surface-inset);padding:.52rem;min-height:170px;display:grid;place-items:center}#app-view #grade-sheet-view .chart-box canvas{width:100%;max-width:260px;height:150px}#app-view #grade-sheet-view .chart-box--wide canvas{width:100%;max-width:none;height:220px}#app-view #grade-sheet-view .component-list{margin-top:.7rem;display:grid;gap:.5rem}#app-view #grade-sheet-view .component-row{background:color-mix(in oklab,var(--theme-surface-elevated) 92%,var(--theme-panel-inset-bg));border:1px solid var(--theme-border-subtle);border-radius:.64rem;padding:.54rem .62rem;font-size:.82rem;line-height:1.42}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#app-view #grade-sheet-view{--grades-control-height: 2.32rem}#app-view #grade-sheet-view .grades-icon-btn{width:1.58rem;height:1.58rem;min-width:1.58rem;min-height:1.58rem}#app-view #grade-sheet-view .grades-icon-btn svg{width:.76rem;height:.76rem}.grades-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:.95rem;width:min(1120px,100%);margin-inline:auto}.grades-shell--empty{min-height:24rem;align-content:start}.grades-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.grades-intro--active{padding-inline:.08rem}.grades-intro h2{margin:0;font-size:clamp(1.4rem,1.5vw,1.7rem)}.grades-intro .panel-subtitle{margin:0;max-width:30rem;font-size:.8rem;line-height:1.3}.grades-empty{border:1px dashed color-mix(in oklab,var(--theme-primary) 26%,var(--theme-mix-base));border-radius:1rem;background:linear-gradient(145deg,color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 92%,white),color-mix(in oklab,var(--theme-surface-subtle, var(--theme-panel-inset-bg)) 90%,var(--theme-mix-base)));padding:1.35rem;display:grid;gap:1rem;justify-items:start}.grades-empty p{margin:0;max-width:38rem;line-height:1.5}.grades-header{display:grid;grid-template-columns:minmax(0,1fr);gap:.44rem;padding:.68rem .98rem .88rem;border:1px solid var(--theme-border-subtle);border-radius:1rem;background:var(--theme-surface-secondary);box-shadow:var(--theme-shadow-sm)}.grades-header__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-template-areas:"course course course selector selector selector" "metrics metrics stats stats actions actions";gap:.56rem;align-items:start}.grades-header__grid--header-only{grid-template-areas:"course course course selector selector selector"}.grades-header__course-stack{grid-area:course;display:flex;flex-direction:column;align-items:flex-start;align-self:center;gap:.48rem;min-width:0;flex:1;overflow:hidden}.grades-header__course-stack--with-scale{align-self:start}#app-view #grade-sheet-view .grades-header .grade-course-badge{margin-top:0}.grades-header__selector,.grades-header__actions-wrap{display:flex;align-items:center;justify-content:flex-end;gap:.44rem;min-width:0}.grades-header__selector{grid-area:selector;align-self:start;justify-self:end;width:100%}.grades-header__actions-wrap{grid-area:actions;justify-self:end;align-self:center}.grades-scale-banner{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;max-width:100%}.grades-scale-flag-wrap{position:relative;display:inline-flex;align-items:center}.grades-scale-flag{display:inline-flex;align-items:center;gap:.38rem;min-height:2rem;padding:.36rem .62rem;border-radius:999px;border:1px solid color-mix(in oklab,#f59e0b 42%,var(--theme-mix-base));background:color-mix(in oklab,#f59e0b 12%,var(--theme-surface-1));color:color-mix(in oklab,#f59e0b 78%,var(--theme-on-bg));font:inherit;font-size:.74rem;font-weight:800;letter-spacing:.01em;cursor:help}.grades-scale-flag__icon{display:inline-flex;align-items:center;justify-content:center;width:1.1rem;height:1.1rem;border-radius:999px;background:color-mix(in oklab,#f59e0b 20%,var(--theme-surface-1));color:inherit;font-size:.72rem;line-height:1}.grades-scale-flag:focus-visible{outline:2px solid color-mix(in oklab,#f59e0b 58%,var(--theme-primary));outline-offset:3px}.grades-scale-banner__summary{font-size:.74rem;font-weight:700;color:color-mix(in oklab,var(--theme-on-bg) 84%,var(--theme-mix-base))}.grades-scale-tooltip{position:absolute;left:0;top:calc(100% + .7rem);width:min(24rem,calc(100vw - 2rem));display:grid;gap:.5rem;padding:.72rem;border-radius:.82rem;border:1px solid color-mix(in oklab,#f59e0b 24%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 96%,#0f172a);color:var(--theme-on-bg);box-shadow:0 14px 30px color-mix(in oklab,#031326 28%,transparent);opacity:0;pointer-events:none;transform:translateY(.2rem);transition:opacity .14s ease,transform .14s ease;visibility:hidden;z-index:5}.grades-scale-flag-wrap:hover .grades-scale-tooltip,.grades-scale-flag-wrap:focus-within .grades-scale-tooltip{opacity:1;visibility:visible;transform:translateY(0)}.grades-scale-tooltip__title{font-size:.82rem;font-weight:800}.grades-scale-tooltip__body,.grades-scale-tooltip__note{margin:0;font-size:.72rem;line-height:1.45;color:color-mix(in oklab,var(--theme-on-bg) 80%,var(--theme-mix-base))}.grades-scale-tooltip__grid{display:grid;gap:.34rem}.grades-scale-tooltip__row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.44rem .5rem;border-radius:.62rem;border:1px solid rgba(255,255,255,.08);background:#ffffff08}.grades-scale-tooltip__letter{font-size:.72rem;font-weight:800}.grades-scale-tooltip__range{font-size:.76rem;line-height:1.2;text-align:right}.grades-header__actions{display:flex;align-items:center;gap:.44rem;flex-shrink:0;justify-content:flex-end}.grades-metrics{grid-area:metrics;display:flex;gap:.44rem;flex-wrap:nowrap;min-width:0;justify-self:start;align-self:center}.grades-metric{display:flex;align-items:center;gap:.34rem;padding:.3rem .58rem;border-radius:.68rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-inset)}.grades-metric__label{font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.62}.grades-metric__value{font-size:1rem;line-height:1}.grades-stats-row{grid-area:stats;display:flex;flex-wrap:nowrap;gap:.44rem;align-items:center;justify-content:center;min-width:0;width:-moz-max-content;width:max-content;max-width:100%;justify-self:center;align-self:center}.grades-stat-inline{display:inline-flex;align-items:center;gap:.34rem;padding:.34rem .6rem;border:1px solid var(--theme-border-subtle);border-radius:999px;background:var(--theme-surface-inset);font-size:.72rem;font-weight:700;color:color-mix(in oklab,var(--theme-on-bg) 80%,var(--theme-mix-base));white-space:nowrap}.grades-stat-inline strong{font-size:inherit;opacity:1;font-variant-numeric:tabular-nums;color:var(--theme-text-strong)}.grades-stat-inline--earned strong{color:#34d399}.grades-stat-inline--lost strong{color:#f87171}.grades-stat-sep{font-size:.72rem;opacity:.34}.grades-pill{display:inline-flex;align-items:center;padding:.12rem .46rem;border-radius:999px;font-size:.76rem;font-weight:800;border:1px solid transparent}.grades-pill--sm{font-size:.68rem;padding:.08rem .36rem}.grades-pill--good{background:color-mix(in oklab,#059669 12%,var(--theme-surface-1));border-color:color-mix(in oklab,#059669 26%,var(--theme-mix-base));color:#059669}.grades-pill--mid{background:color-mix(in oklab,#d97706 12%,var(--theme-surface-1));border-color:color-mix(in oklab,#d97706 26%,var(--theme-mix-base));color:#d97706}.grades-pill--poor{background:color-mix(in oklab,#dc2626 12%,var(--theme-surface-1));border-color:color-mix(in oklab,#dc2626 26%,var(--theme-mix-base));color:#dc2626}.grades-select{display:grid;gap:.32rem;font-size:1rem;font-weight:700;flex:0 1 clamp(20rem,34vw,28rem);width:min(100%,clamp(20rem,34vw,28rem));max-width:28rem}.grades-search input{width:100%;min-height:2.28rem;padding:.48rem .68rem;border-radius:.66rem;border:1px solid var(--theme-button-secondary-border);background:color-mix(in oklab,var(--theme-surface-elevated) 88%,var(--theme-bg));color:var(--theme-text-strong);font:inherit}.grades-select select{width:100%;min-height:var(--grades-control-height);padding:.5rem 2.2rem .5rem .68rem;border-radius:.64rem;border:1px solid var(--theme-button-secondary-border);background:color-mix(in oklab,var(--theme-surface-elevated) 88%,var(--theme-bg));color:var(--theme-text-strong);font:inherit;-moz-appearance:none;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .72rem center}.grades-primary-btn,.grades-icon-btn{border-radius:999px;font:inherit;font-weight:800;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.grades-primary-btn{border:1px solid color-mix(in oklab,var(--theme-primary) 38%,transparent);min-height:var(--grades-control-height);height:var(--grades-control-height);padding:0 .9rem;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background:var(--theme-cta-bg);color:var(--theme-on-primary);box-shadow:var(--theme-cta-shadow)}.grades-icon-btn{width:var(--grades-control-height);height:var(--grades-control-height);border:1px solid var(--theme-button-secondary-border);background:var(--theme-button-secondary-bg);color:var(--theme-text-strong);display:inline-flex;align-items:center;justify-content:center}.grades-icon-btn svg{width:.98rem;height:.98rem}.grades-primary-btn:hover,.grades-icon-btn:hover{transform:translateY(-1px)}.grades-primary-btn:disabled,.grades-icon-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}.grades-toast{padding:.72rem .9rem;border-radius:.85rem;border:1px solid transparent;font-size:.84rem;font-weight:700}.grades-toast--info{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-1));border-color:color-mix(in oklab,var(--theme-primary) 24%,var(--theme-mix-base))}.grades-toast--success{background:color-mix(in oklab,#059669 10%,var(--theme-surface-1));border-color:color-mix(in oklab,#059669 24%,var(--theme-mix-base))}.grades-toast--error{background:color-mix(in oklab,#dc2626 10%,var(--theme-surface-1));border-color:color-mix(in oklab,#dc2626 24%,var(--theme-mix-base))}.grades-banner{padding:.72rem .88rem;border-radius:.82rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 18%, transparent) );background:color-mix(in oklab,var(--theme-primary) 9%,var(--theme-surface-elevated, var(--theme-surface-1)));font-size:.84rem;font-weight:700}.grades-banner--demo-limit{border-color:color-mix(in oklab,var(--theme-primary) 28%,transparent)}.grades-banner-link{font-weight:800;color:var(--theme-primary);text-decoration:underline;text-underline-offset:.15em}.grades-analytics{border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 16%, var(--theme-mix-base)) );border-radius:.95rem;background:linear-gradient(145deg,color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 96%,var(--theme-mix-base)),color-mix(in oklab,var(--theme-surface-subtle, var(--theme-panel-inset-bg)) 95%,var(--theme-mix-base)));padding:.82rem .88rem}.grades-chart-grid{display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,1fr);gap:.72rem}.grades-chart-legend--desktop{grid-column:1 / -1}.grades-chart-legend.grades-chart-legend--mobile{display:none}.grades-chart-card{border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 14%, var(--theme-mix-base)) );border-radius:.82rem;background:var( --theme-surface-elevated, color-mix(in oklab, var(--theme-bg) 92%, var(--theme-mix-base)) );padding:.62rem;display:grid;gap:.44rem;overflow:visible;min-width:0}.grades-chart-card__header{display:flex;justify-content:space-between;gap:.4rem;align-items:center;min-width:0}.grades-chart-card__header h4{margin:0;font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.grades-chart-card__header span{font-size:.72rem;font-weight:700;opacity:.72;white-space:nowrap;flex-shrink:0}.grades-chart-card__canvas{position:relative;height:calc(100dvh - 31rem);min-height:260px;display:grid;align-items:stretch}.grades-chart-card__canvas canvas{display:block;width:100%;height:100%!important}.grades-chart-canvas--hidden{visibility:hidden}.grades-chart-fallback{position:absolute;inset:0;display:grid;align-content:center;gap:.6rem;padding:.2rem}.grades-chart-fallback small{font-size:.72rem;color:color-mix(in oklab,var(--theme-on-bg) 68%,var(--theme-mix-base))}.grades-chart-fallback__stack{display:grid;gap:.48rem}.grades-chart-fallback__metric,.grades-chart-fallback__component{display:grid;gap:.24rem}.grades-chart-fallback__metric-head{display:flex;justify-content:space-between;gap:.6rem;align-items:center;font-size:.76rem;font-weight:700}.grades-chart-fallback__track{display:flex;height:.42rem;border-radius:999px;overflow:hidden;background:color-mix(in oklab,var(--theme-on-bg) 8%,var(--theme-surface-subtle, var(--theme-mix-base)))}.grades-chart-fallback__fill{height:100%;border-radius:inherit}.grades-chart-fallback__fill--earned{background:#10b981}.grades-chart-fallback__fill--ungraded{background:#94a3b8}.grades-chart-fallback__fill--lost{background:#ef4444}.grades-chart-fallback--components{gap:.48rem}.grades-clock-hands{--grades-clock-hands-color: color-mix(in oklab, var(--theme-on-bg) 88%, #000);position:absolute;inset:15%;width:70%;height:70%;pointer-events:none;z-index:1;overflow:visible}.grades-clock-hands__line{stroke:var(--grades-clock-hands-color);stroke-linecap:round;fill:none;filter:drop-shadow(0 0 1px rgba(255,255,255,.16))}.grades-clock-hands__line--red{stroke-width:2;opacity:.68}.grades-clock-hands__line--green{stroke-width:2.4;opacity:.88}.grades-clock-hands__hub{fill:var(--grades-clock-hands-color);filter:drop-shadow(0 0 1px rgba(255,255,255,.16))}[data-theme=dark] .grades-clock-hands{--grades-clock-hands-color: color-mix( in oklab, white 94%, var(--theme-on-bg) )}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .grades-clock-hands{--grades-clock-hands-color: color-mix( in oklab, white 94%, var(--theme-on-bg) )}}.grades-breakdown-row__track{display:flex;height:.5rem;border-radius:999px;overflow:hidden;background:color-mix(in oklab,var(--theme-on-bg) 8%,var(--theme-surface-subtle, var(--theme-mix-base)))}.grades-breakdown-row__segment{height:100%;flex-shrink:0}.grades-breakdown-row__segment--earned{background:#10b981}.grades-breakdown-row__segment--ungraded{background:#94a3b8}.grades-breakdown-row__segment--lost{background:#ef4444}.grades-table{border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 16%, var(--theme-mix-base)) );border-radius:.95rem;background:linear-gradient(145deg,color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 96%,var(--theme-mix-base)),color-mix(in oklab,var(--theme-surface-subtle, var(--theme-panel-inset-bg)) 95%,var(--theme-mix-base)));padding:.82rem .88rem}.grades-toolbar{display:flex;flex-wrap:wrap;gap:.52rem;align-items:center;margin-bottom:.78rem}.grades-toolbar__search-wrap{display:flex;align-items:center;gap:.52rem;flex:1;min-width:160px}.grades-search{display:grid;gap:.32rem;flex:1;min-width:0}.grades-filter-pills{display:flex;flex-wrap:wrap;gap:.36rem}.grades-filter-pills button:not(.grades-filter-pills__quick-entry){border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 18%, var(--theme-mix-base)) );background:color-mix(in oklab,var(--theme-surface-subtle, var(--theme-surface-1)) 92%,var(--theme-mix-base));color:var(--theme-on-bg);border-radius:999px;min-height:2.12rem;padding:.46rem .7rem;font:inherit;font-size:.76rem;font-weight:800;cursor:pointer}.grades-filter-pills button:not(.grades-filter-pills__quick-entry).selected{background:color-mix(in oklab,var(--theme-primary) 20%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 34%,var(--theme-mix-base))}.grades-complete-chip{display:inline-flex;align-items:center;padding:.28rem .6rem;border-radius:999px;background:color-mix(in oklab,#059669 14%,var(--theme-surface-1));border:1px solid color-mix(in oklab,#059669 22%,var(--theme-mix-base));color:#059669;font-size:.72rem;font-weight:800;white-space:nowrap}.grades-accordion{display:grid;gap:.56rem}.grades-accordion__item{border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 26%, var(--theme-mix-base)) );border-radius:.82rem;background:color-mix(in oklab,var(--theme-surface-subtle, var(--theme-surface-1)) 94%,var(--theme-mix-base));overflow:visible;box-shadow:0 10px 20px color-mix(in oklab,#031326 8%,transparent)}.grades-accordion__item--collapsed{box-shadow:0 8px 16px color-mix(in oklab,#031326 6%,transparent)}.grades-accordion__header{position:relative;width:100%;padding:.66rem .76rem;cursor:default;z-index:1}.grades-accordion__title{display:flex;gap:.68rem;align-items:center}.grades-accordion__edit-btn{flex-shrink:0;color:color-mix(in oklab,var(--theme-on-bg) 78%,var(--theme-mix-base));opacity:.92}.grades-accordion__edit-btn--active{color:var(--theme-primary);border-color:color-mix(in oklab,var(--theme-primary) 42%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 12%,var(--theme-button-secondary-bg));box-shadow:0 0 0 1px color-mix(in oklab,var(--theme-primary) 12%,transparent)}.grades-accordion__edit-btn:disabled{cursor:not-allowed;opacity:.35}.grades-accordion__title h4{margin:0;font-size:.98rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grades-accordion__title-left{display:grid;gap:.1rem;min-width:100px;overflow:hidden}.grades-accordion__weight{font-size:.7rem;opacity:.62;white-space:nowrap}.grades-accordion__track-wrap{position:relative;flex:1;min-width:48px;display:flex;align-items:center;padding:0;border:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;cursor:default;overflow:visible}.grades-accordion__track{display:flex;width:100%;height:.5rem;border-radius:999px;overflow:hidden;background:color-mix(in oklab,var(--theme-on-bg) 8%,var(--theme-surface-subtle, var(--theme-mix-base)))}.grades-accordion__track-wrap:focus-visible{outline:2px solid color-mix(in oklab,var(--theme-primary) 62%,#0ea5e9);outline-offset:4px;border-radius:999px;z-index:3}.grades-accordion__track-tooltip{position:absolute;left:50%;bottom:calc(100% + .6rem);transform:translate(-50%) translateY(.2rem);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.38rem;min-width:15rem;padding:.52rem;border-radius:.7rem;border:1px solid color-mix(in oklab,var(--theme-primary) 16%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 96%,#0f172a);color:var(--theme-on-bg);font-size:.72rem;line-height:1.4;text-align:left;white-space:nowrap;box-shadow:0 12px 24px color-mix(in oklab,#031326 24%,transparent);opacity:0;pointer-events:none;transition:opacity .14s ease,transform .14s ease;visibility:hidden;z-index:4}.grades-accordion__track-metric{display:grid;gap:.16rem;min-width:0;padding:.42rem .5rem;border-radius:.58rem;border:1px solid rgba(255,255,255,.08);background:#ffffff08}.grades-accordion__track-metric span{font-size:.64rem;font-weight:700;letter-spacing:.01em;opacity:.78}.grades-accordion__track-metric strong{font-size:.84rem;line-height:1.1}.grades-accordion__track-metric--secured strong{color:#10b981}.grades-accordion__track-metric--ungraded strong{color:#cbd5e1}.grades-accordion__track-metric--lost strong{color:#ef4444}.grades-accordion__track-wrap:hover .grades-accordion__track-tooltip,.grades-accordion__track-wrap:focus-visible .grades-accordion__track-tooltip{opacity:1;visibility:visible;transform:translate(-50%) translateY(0)}.grades-accordion__track-wrap:hover{z-index:3}.grades-accordion__score-info{display:flex;align-items:center;gap:.36rem;flex-shrink:0}.grades-accordion__score-summary{display:grid;gap:.05rem}.grades-accordion__score-value{display:inline-flex;align-items:center;gap:.32rem}.grades-accordion__score-label{font-size:.62rem;font-weight:700;letter-spacing:.01em;opacity:.7;text-transform:uppercase}.grades-accordion__score-pct{font-size:.88rem}.grades-accordion__progress-text{font-size:.7rem;color:color-mix(in oklab,var(--theme-on-bg) 68%,var(--theme-mix-base));white-space:nowrap}.grades-accordion__excluded-count{font-size:.68rem;opacity:.62}.grades-accordion__toggle{display:inline-flex;align-items:center;gap:.32rem;flex-shrink:0;min-height:2.1rem;padding:.42rem .68rem;border-radius:999px;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 18%, var(--theme-mix-base)) );background:color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 94%,var(--theme-mix-base));color:var(--theme-on-bg);font:inherit;font-size:.72rem;font-weight:800;cursor:pointer}.grades-accordion__toggle:hover{background:color-mix(in oklab,var(--theme-primary) 12%,var(--theme-surface-elevated, var(--theme-surface-1)))}.grades-accordion__toggle:focus-visible{outline:2px solid color-mix(in oklab,var(--theme-primary) 62%,#0ea5e9);outline-offset:2px}.grades-accordion__toggle-icon{width:.92rem;height:.92rem;transition:transform .16s ease}.grades-accordion__toggle[aria-expanded=false] .grades-accordion__toggle-icon{transform:rotate(-90deg)}.grades-accordion__body{border-top:1px solid color-mix(in oklab,var(--theme-primary) 10%,var(--theme-mix-base));padding:0 .76rem .76rem}.grades-rows{display:grid;gap:.46rem;padding-top:.68rem}.grades-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.46rem;align-items:center;padding:.52rem .6rem;border-radius:.72rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 12%, var(--theme-mix-base)) );background:var( --theme-surface-elevated, color-mix(in oklab, var(--theme-bg) 94%, var(--theme-mix-base)) )}.grades-row--ungraded{border-color:color-mix(in oklab,#0ea5e9 18%,var(--theme-mix-base));background:color-mix(in oklab,#0ea5e9 8%,var(--theme-surface-subtle, var(--theme-surface-1)))}.grades-row--graded{opacity:.96}.grades-row--ignored{opacity:.62;background:color-mix(in oklab,var(--theme-surface-subtle, var(--theme-surface-1)) 86%,var(--theme-mix-base))}.grades-row--ignored .grades-row__title{text-decoration:line-through;opacity:.72}.grades-row--excluded{border-color:color-mix(in oklab,#64748b 22%,var(--theme-mix-base))}.grades-row__meta{display:flex;flex-direction:column;gap:.16rem;min-width:0}.grades-row__title{font-weight:700;font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grades-row__due-inline{font-size:.68rem;opacity:.6;font-weight:600}.grades-row__score-wrap{display:flex;align-items:center;gap:.26rem}.grades-row__score{display:flex;align-items:center}.grades-row__score input{width:72px;min-height:2.1rem;padding:.38rem .5rem;border-radius:.58rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 18%, var(--theme-mix-base)) );background:var( --theme-surface-elevated, color-mix(in oklab, var(--theme-bg) 92%, var(--theme-mix-base)) );color:var(--theme-on-bg);font:inherit;font-size:.88rem;text-align:right}.grades-row__score-denom{font-size:.72rem;opacity:.52;white-space:nowrap}.grades-row__clear-btn{display:inline-flex;align-items:center;justify-content:center;width:1.4rem;height:1.4rem;border-radius:50%;border:none;background:color-mix(in oklab,var(--theme-on-bg) 9%,var(--theme-surface-subtle, var(--theme-mix-base)));color:var(--theme-on-bg);font-size:.8rem;cursor:pointer;opacity:.6;transition:opacity .14s ease}.grades-row__clear-btn:hover{opacity:1}.grades-row__clear-btn--restore{background:color-mix(in oklab,var(--theme-primary) 18%,var(--theme-surface-subtle, var(--theme-mix-base)));color:var(--theme-primary)}.grades-row__status-label{display:inline-flex;align-items:center;padding:.2rem .56rem;border-radius:999px;font-size:.72rem;font-weight:800;border:1px solid transparent;white-space:nowrap}.grades-row__status-label--excluded{background:color-mix(in oklab,#64748b 14%,var(--theme-surface-1));border-color:color-mix(in oklab,#64748b 22%,var(--theme-mix-base));color:color-mix(in oklab,#334155 76%,var(--theme-on-bg))}.grades-row__toggle-btn{min-height:2rem;padding:.34rem .68rem;border-radius:.54rem;border:1px solid color-mix(in oklab,var(--theme-on-bg) 12%,var(--theme-surface-subtle, var(--theme-mix-base)));background:color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 96%,white);color:var(--theme-on-bg);font:inherit;font-size:.74rem;font-weight:800;cursor:pointer;transition:transform .14s ease,opacity .14s ease,border-color .14s ease}.grades-row__toggle-btn:hover{transform:translateY(-1px)}.grades-row__toggle-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.grades-row__toggle-btn--active{background:color-mix(in oklab,#64748b 16%,var(--theme-surface-1));border-color:color-mix(in oklab,#64748b 28%,var(--theme-mix-base))}.grades-row--add-slot{grid-template-columns:1fr;padding:0;border:1px dashed color-mix(in oklab,var(--theme-primary) 28%,var(--theme-mix-base));border-radius:.72rem;background:color-mix(in oklab,var(--theme-primary) 6%,var(--theme-surface-subtle, var(--theme-surface-1)));box-shadow:none}.grades-accordion__add-slot-btn{display:flex;align-items:center;gap:6px;width:100%;padding:.72rem .84rem;text-align:left;font:inherit;font-size:.82rem;font-weight:700;color:var(--theme-primary);background:none;border:none;cursor:pointer;border-radius:.72rem;transition:background .1s ease,color .1s ease,opacity .1s ease}.grades-accordion__add-slot-btn:hover:not(:disabled){background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-elevated, var(--theme-surface-1)))}.grades-accordion__add-slot-btn:disabled{opacity:.45;cursor:not-allowed}.grades-accordion__add-slot-label{color:var(--theme-on-bg)}.grades-accordion__add-slot-btn>span[aria-hidden=true]{display:inline-flex;align-items:center;justify-content:center;width:.92rem;height:.92rem;border-radius:999px;background:color-mix(in oklab,var(--theme-primary) 16%,var(--theme-surface-elevated, var(--theme-surface-1)));font-size:.68rem;line-height:1}.grades-row__score input:focus-visible,.grades-search input:focus-visible,.grades-select select:focus-visible,.grades-row__toggle-btn:focus-visible,.grades-accordion__edit-btn:focus-visible,.grades-accordion__add-slot-btn:focus-visible{outline:2px solid color-mix(in oklab,var(--theme-primary) 62%,#0ea5e9);outline-offset:2px}.grades-no-results{padding:.78rem .88rem;border-radius:.78rem;border:1px dashed color-mix(in oklab,var(--theme-primary) 18%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-surface-subtle, var(--theme-surface-1)) 94%,var(--theme-mix-base));font-size:.78rem;color:color-mix(in oklab,var(--theme-on-bg) 82%,var(--theme-mix-base))}.grades-no-results--section{margin-top:.9rem}.grades-chart-legend{display:grid;grid-template-columns:repeat(8,1fr);gap:.28rem .4rem;padding:.5rem .22rem .12rem}.legend-item{display:flex;align-items:center;justify-content:space-between;gap:.3rem;font-size:.68rem;background:var( --theme-surface-subtle, var(--theme-panel-bg, rgba(255, 255, 255, .05)) );border:1px solid var( --theme-border-soft, var(--theme-panel-border, rgba(255, 255, 255, .08)) );border-radius:.3rem;padding:.18rem .42rem;overflow:hidden}.legend-item__name{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.legend-item__contrib{font-weight:700;white-space:nowrap;flex-shrink:0;font-variant-numeric:tabular-nums}[data-theme=light] .grades-filter-pills button:not(.grades-filter-pills__quick-entry){background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}.grades-filter-pills button.grades-primary-btn.grades-filter-pills__quick-entry{border-color:color-mix(in oklab,var(--theme-primary) 38%,transparent);min-height:var(--grades-control-height);height:var(--grades-control-height);padding:0 .9rem;background:var(--theme-cta-bg);color:var(--theme-on-primary);box-shadow:var(--theme-cta-shadow);line-height:inherit;font-size:inherit;box-sizing:border-box;flex:0 0 auto}[data-theme=light] .grades-filter-pills button:not(.grades-filter-pills__quick-entry).selected{background:var(--theme-cta-bg-hover);border-color:color-mix(in oklab,var(--theme-primary) 60%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=light] .grades-icon-btn{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}.legend-item__weight{font-size:.62rem;opacity:.5;font-weight:500;margin-left:.12rem}[data-theme=dark] #app-view #grade-sheet-view .grade-course-badge{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 30%,transparent);color:var(--theme-on-bg)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) #app-view #grade-sheet-view .grade-course-badge{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 30%,transparent);color:var(--theme-on-bg)}}[data-theme=dark] .grades-metric{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 30%,transparent)}[data-theme=dark] .grades-stat-inline{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 20%,transparent)}[data-theme=dark] .grades-metric__label{opacity:.75;color:var(--theme-on-bg)}[data-theme=dark] .grades-metric__value{color:var(--theme-on-bg)}[data-theme=dark] .grades-pill--good{background:color-mix(in oklab,#22c55e 24%,var(--theme-surface-2));border-color:color-mix(in oklab,#22c55e 42%,var(--theme-mix-base));color:#d9fbe8;box-shadow:inset 0 1px #ffffff14}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .grades-metric{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 30%,transparent)}:root:not([data-theme=light]) .grades-stat-inline{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-2));border-color:color-mix(in oklab,var(--theme-primary) 20%,transparent)}:root:not([data-theme=light]) .grades-metric__label{opacity:.75;color:var(--theme-on-bg)}:root:not([data-theme=light]) .grades-metric__value{color:var(--theme-on-bg)}:root:not([data-theme=light]) .grades-pill--good{background:color-mix(in oklab,#22c55e 24%,var(--theme-surface-2));border-color:color-mix(in oklab,#22c55e 42%,var(--theme-mix-base));color:#d9fbe8;box-shadow:inset 0 1px #ffffff14}}[data-theme=dark] .grades-chart-card{background:color-mix(in oklab,var(--theme-surface-1) 78%,var(--theme-bg));border-color:var(--theme-border-soft)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .grades-chart-card{background:color-mix(in oklab,var(--theme-surface-1) 78%,var(--theme-bg));border-color:var(--theme-border-soft)}}[data-theme=dark] .grades-accordion__header{background:color-mix(in oklab,var(--theme-primary) 22%,var(--theme-surface-1))}[data-theme=dark] .grades-accordion__title h4,[data-theme=dark] .grades-accordion__weight{color:var(--theme-on-bg)}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .grades-accordion__header{background:color-mix(in oklab,var(--theme-primary) 22%,var(--theme-surface-1))}:root:not([data-theme=light]) .grades-accordion__title h4,:root:not([data-theme=light]) .grades-accordion__weight{color:var(--theme-on-bg)}}[data-theme=dark] .grades-row{background:color-mix(in oklab,var(--theme-surface-1) 72%,var(--theme-bg));border-color:color-mix(in oklab,var(--theme-primary) 18%,var(--theme-surface-2))}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .grades-row{background:color-mix(in oklab,var(--theme-surface-1) 72%,var(--theme-bg));border-color:color-mix(in oklab,var(--theme-primary) 18%,var(--theme-surface-2))}}[data-theme=dark] .grades-select select,[data-theme=dark] .grades-search input{background:color-mix(in oklab,var(--theme-bg) 62%,var(--theme-surface-1));border-color:var(--theme-border-soft)}[data-theme=dark] .grades-select select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ecf6ff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .72rem center}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) .grades-select select,:root:not([data-theme=light]) .grades-search input{background:color-mix(in oklab,var(--theme-bg) 62%,var(--theme-surface-1));border-color:var(--theme-border-soft)}:root:not([data-theme=light]) .grades-select select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ecf6ff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .72rem center}}@media (max-width: 1100px){.grades-chart-grid{grid-template-columns:1fr}}@media (max-width: 768px){.grades-shell{width:100%;gap:.78rem}.grades-header{padding:.72rem .78rem}.grades-chart-card__canvas{height:184px;min-height:184px}.grades-row{grid-template-columns:1fr;align-items:stretch}.grades-clock-hands{inset:13%;width:74%;height:74%}.grades-accordion__track{display:none}.grades-accordion__title{flex-wrap:wrap;align-items:flex-start}.grades-accordion__score-info{order:3;width:100%}.grades-accordion__toggle{margin-left:auto}.grades-header__grid,.grades-header__grid--header-only{grid-template-columns:1fr;grid-template-areas:"course" "selector" "metrics" "stats" "actions";align-items:stretch}.grades-header__selector,.grades-header__actions-wrap{width:100%;justify-content:flex-start}.grades-mobile-select{width:100%;max-width:100%}.grades-mobile-select select{width:100%;font-size:.9rem;min-height:2.6rem}.grades-scale-banner{width:100%;align-items:flex-start}.grades-metrics{display:flex;flex-direction:column;gap:.32rem}.grades-metric{padding:.38rem .62rem}.grades-metric__value{font-size:1.2rem}.grades-header__actions{width:100%;justify-content:flex-end}.grades-stats-row{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;text-align:center}#grade-sheet-view .mobile-course-chip-row{display:none}.grades-stat-inline{display:flex;flex-direction:column;align-items:center;gap:.12rem;font-size:.7rem;padding:.32rem .2rem;border:1px solid var(--theme-border-subtle);border-radius:.5rem;background:var(--theme-surface-inset)}.grades-stat-inline strong{font-size:.9rem}.grades-shell{display:contents}.grades-analytics{border:none;border-radius:0;background:none;padding:0}.grades-chart-grid{display:contents}.grades-chart-legend--mobile{display:grid}.grades-chart-legend--desktop{display:none}.grades-snap-section{scroll-snap-align:start;min-height:100dvh;display:flex;flex-direction:column;justify-content:flex-start;padding:.72rem;box-sizing:border-box}.grades-snap-section--header{gap:.72rem}.grades-snap-section--bar-chart,.grades-snap-section--donut-chart{gap:.72rem;justify-content:center}.grades-snap-section--accordion{gap:0}.grades-chart-card{overflow:hidden;width:100%;max-width:100%}.grades-chart-card__canvas{overflow:hidden;width:100%;max-width:100%;height:220px;min-height:220px}.grades-chart-card__canvas canvas{max-width:100%;width:100%;display:block}.grades-chart-legend{grid-template-columns:repeat(2,1fr);gap:.36rem}.grades-chart-legend .legend-item{grid-column:span 1!important}.legend-item{padding:.9rem .6rem;flex-direction:column;align-items:flex-start;gap:.2rem}.legend-item__name{font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.legend-item__contrib{font-size:.78rem}.grades-intro--snap-ghost{display:none}#grade-toast{position:fixed;bottom:calc(4rem + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);z-index:150;min-width:220px;max-width:calc(100vw - 2rem);text-align:center}}#app-view #profile-view .profile-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr;gap:calc(.75rem * var(--app-view-density));flex:1;min-height:0;align-items:stretch}#app-view #profile-view .section-card{border:1px solid var(--theme-border-subtle);border-radius:.95rem;background:var(--theme-surface-inset);padding:calc(.9rem * var(--app-view-density));display:flex;flex-direction:column;min-height:0}#app-view #profile-view .section-card .kv-list{flex:0 0 auto}#app-view #profile-view .section-card h3{margin:0 0 calc(.62rem * var(--app-view-density));font-size:1.02rem;font-weight:800;letter-spacing:.01em;color:var(--theme-text-strong);text-align:center}#app-view #profile-view .kv-list{display:grid;gap:calc(.4rem * var(--app-view-density));align-content:start}@media (min-width: 761px){#app-view #profile-view .section-card[data-profile-section=schedule-location] .kv-row{min-height:calc(3.3rem * var(--app-view-density))}}#app-view #profile-view .kv-row{display:grid;grid-template-columns:minmax(78px,90px) minmax(0,1fr);align-items:center;gap:calc(.28rem * var(--app-view-density));padding:calc(.36rem * var(--app-view-density)) calc(.42rem * var(--app-view-density));border-radius:.62rem;background:color-mix(in oklab,var(--theme-surface-1) 92%,var(--theme-mix-base));border:1px solid var(--theme-chip-border)}#app-view #profile-view .section-card[data-profile-section=instructor] .kv-row{grid-template-columns:minmax(66px,82px) minmax(0,1fr)}#app-view #profile-view .kv-label{font-size:.68rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;opacity:.86;color:var(--theme-text-soft);padding-left:.5rem}[data-theme=dark] #app-view #profile-view .kv-label{color:color-mix(in oklab,var(--theme-on-bg) 88%,var(--theme-mix-base));opacity:1}@media (prefers-color-scheme: dark){:root:not([data-theme=light]) #app-view #profile-view .kv-label{color:color-mix(in oklab,var(--theme-on-bg) 88%,var(--theme-mix-base));opacity:1}}#app-view #profile-view .section-card[data-profile-section=instructor] .kv-label{padding-left:.34rem}#app-view #profile-view .kv-value{font-size:.9rem;line-height:1.45;font-weight:600;color:var(--theme-text-strong);text-align:left}#app-view #profile-view .kv-value:has(.week-calendar){display:flex;justify-content:flex-start;align-items:center}#app-view #profile-view .instructor-name-value{display:inline-flex;align-items:center;justify-content:flex-start;gap:.34rem;flex-wrap:nowrap;max-width:100%;white-space:nowrap}#app-view #profile-view .instructor-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app-view #profile-view .instructor-name-value .inline-badge{margin:0;flex:0 0 auto}#app-view #profile-view .asset-item-type.inline-badge--warning{color:#fff2e8;border-color:color-mix(in oklab,#f97316 70%,transparent);background:color-mix(in oklab,#f97316 34%,var(--theme-surface-1))}#app-view #profile-view .kv-row--office-hours .kv-label{white-space:normal;line-height:1.3;padding-right:.08rem}#app-view #profile-view .kv-row--office-hours{grid-template-columns:minmax(78px,90px) minmax(0,1fr)}#app-view #profile-view .kv-row--office-hours .kv-value{white-space:normal;overflow:visible;text-overflow:clip;text-align:left}#app-view #profile-view .kv-value--with-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.45rem;width:100%;text-align:left}#app-view #profile-view .kv-value-text{min-width:0;text-align:left;justify-self:start}#app-view #profile-view .kv-copy-btn{border:1px solid var(--theme-button-secondary-border);border-radius:.6rem;background:var(--theme-button-secondary-bg);color:var(--theme-text-strong);width:2rem;height:2rem;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background-color var(--theme-transition),border-color var(--theme-transition),transform var(--theme-transition)}#app-view #profile-view .kv-copy-btn:hover{transform:translateY(-1px);background:color-mix(in oklab,var(--theme-primary) 14%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 42%,var(--theme-mix-base))}#app-view #profile-view .kv-copy-btn:focus-visible{outline:2px solid color-mix(in oklab,var(--theme-primary) 62%,#fff);outline-offset:2px}#app-view #profile-view .kv-copy-btn svg{width:1rem;height:1rem;pointer-events:none}#app-view #profile-view .kv-copy-btn .kv-copy-check{position:absolute;opacity:0;transform:scale(.82);transition:opacity .14s ease,transform .14s ease}#app-view #profile-view .kv-copy-btn .kv-copy-icon{opacity:.94;transition:opacity .14s ease,transform .14s ease}#app-view #profile-view .kv-copy-btn .kv-copy-icon path,#app-view #profile-view .kv-copy-btn .kv-copy-check path{stroke-linecap:round;stroke-linejoin:round}#app-view #profile-view .kv-copy-btn--copied{background:color-mix(in oklab,#22c55e 18%,var(--theme-mix-base));border-color:color-mix(in oklab,#22c55e 42%,var(--theme-mix-base))}#app-view #profile-view .kv-copy-btn--failed{background:color-mix(in oklab,#ef4444 16%,var(--theme-mix-base));border-color:color-mix(in oklab,#ef4444 36%,var(--theme-mix-base))}#app-view #profile-view .kv-copy-btn--copied .kv-copy-icon{opacity:0;transform:scale(.82)}#app-view #profile-view .kv-copy-btn--copied .kv-copy-check{opacity:1;transform:scale(1)}#app-view #profile-view .office-hours-list{display:grid;gap:.22rem}#app-view #profile-view .office-hours-item{display:block;line-height:1.36}#app-view #profile-view .office-hours-calendar{display:grid;gap:.5rem;width:100%;max-width:18.5rem}#app-view #profile-view .week-calendar--office-hours{max-width:16.25rem}#app-view #profile-view .week-calendar-day--office{position:relative;overflow:hidden;isolation:isolate}#app-view #profile-view .week-calendar-day--office-lit{border-color:color-mix(in oklab,var(--theme-on-bg) 16%,transparent);color:#f8fafc}#app-view #profile-view .office-hours-day-letter{position:relative;z-index:2;text-shadow:0 1px 2px color-mix(in oklab,#000 28%,transparent)}#app-view #profile-view .office-hours-day-fills{position:absolute;inset:2px;z-index:1;border-radius:.3rem;overflow:hidden}#app-view #profile-view .office-hours-day-chip{position:absolute;inset:0;border-radius:inherit;background:var( --office-slot-color, color-mix(in oklab, var(--theme-primary) 65%, #22d3ee) );opacity:.9}#app-view #profile-view .office-hours-day-fills--diagonal .office-hours-day-chip:first-child{clip-path:polygon(0 0,100% 0,0 100%)}#app-view #profile-view .office-hours-day-fills--diagonal .office-hours-day-chip:nth-child(2){clip-path:polygon(100% 0,100% 100%,0 100%)}#app-view #profile-view .office-hours-day-overflow{position:absolute;right:.18rem;bottom:.12rem;z-index:3;font-size:.56rem;line-height:1;font-weight:800;padding:.08rem .18rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--theme-on-bg) 24%,var(--theme-surface-elevated, var(--theme-mix-base)));background:color-mix(in oklab,var(--theme-surface-elevated, var(--theme-surface-1)) 88%,var(--theme-mix-base))}#app-view #profile-view .office-hours-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.42rem .38rem;align-items:start}#app-view #profile-view .office-hours-legend-group{display:grid;gap:.22rem;align-content:start}#app-view #profile-view .office-hours-legend-row{display:grid;grid-template-columns:.76rem minmax(0,1fr);align-items:start;gap:.3rem}#app-view #profile-view .office-hours-legend-swatch{width:.76rem;height:.76rem;border-radius:.24rem;border:1px solid color-mix(in oklab,var(--theme-on-bg) 22%,var(--theme-surface-subtle, var(--theme-mix-base)));background:var( --office-slot-color, color-mix(in oklab, var(--theme-primary) 60%, #22d3ee) );margin-top:.08rem}#app-view #profile-view .office-hours-legend-copy{min-width:0;display:grid;gap:.1rem}#app-view #profile-view .office-hours-legend-time{font-size:.74rem;font-weight:800;line-height:1.25}#app-view #profile-view .office-hours-legend-badges{display:inline-flex;flex-wrap:wrap;gap:.2rem}#app-view #profile-view .office-hours-badge{display:inline-flex;align-items:center;padding:.08rem .34rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--theme-primary) 24%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-mix-base));font-size:.63rem;font-weight:700;line-height:1.15;text-transform:uppercase;letter-spacing:.03em}#app-view #profile-view .kv-value-badge{display:inline-flex;width:-moz-fit-content;width:fit-content;align-items:center;padding:.22rem .5rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--theme-primary) 22%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 12%,var(--theme-mix-base));font-size:.8rem;letter-spacing:.01em}#app-view #profile-view .kv-row--title{grid-template-columns:minmax(78px,90px) minmax(0,1fr);padding:calc(.36rem * var(--app-view-density)) calc(.42rem * var(--app-view-density))}#app-view #profile-view .kv-row--title .kv-label{padding-left:.24rem}#app-view #profile-view .kv-row--title .kv-value-badge{display:inline-flex;width:-moz-fit-content;width:fit-content;max-width:100%;min-width:0;justify-content:flex-start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:.2rem .38rem;font-size:.78rem}#app-view #profile-view .policies-card,#app-view #profile-view .assets-card{margin-top:calc(.82rem * var(--app-view-density))}#app-view #profile-view .policy-accordion{display:grid;gap:calc(.46rem * var(--app-view-density))}#app-view #profile-view .policy-item{border:1px solid var(--theme-border-subtle);border-radius:.92rem;background:color-mix(in oklab,var(--theme-surface-elevated) 92%,var(--theme-panel-inset-bg));overflow:clip}#app-view #profile-view .policy-summary{list-style:none;cursor:pointer;padding:calc(.62rem * var(--app-view-density)) calc(.68rem * var(--app-view-density));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.75rem}#app-view #profile-view .policy-summary::-webkit-details-marker{display:none}#app-view #profile-view .policy-summary-main{min-width:0;display:grid;gap:.34rem}#app-view #profile-view .policy-summary-head{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}#app-view #profile-view .policy-summary-label{font-size:.9rem;font-weight:800;line-height:1.2;color:var(--theme-text-strong)}#app-view #profile-view .policy-badge--danger{border-color:color-mix(in oklab,#dc2626 50%,var(--theme-mix-base))!important;background:color-mix(in oklab,#dc2626 18%,var(--theme-surface-1))!important;color:inherit!important}#app-view #profile-view .policy-badge--warning{border-color:color-mix(in oklab,#ea580c 50%,var(--theme-mix-base))!important;background:color-mix(in oklab,#ea580c 18%,var(--theme-surface-1))!important;color:inherit!important}#app-view #profile-view .policy-badge--success{border-color:color-mix(in oklab,#16a34a 50%,var(--theme-mix-base))!important;background:color-mix(in oklab,#16a34a 18%,var(--theme-surface-1))!important;color:color-mix(in oklab,#16a34a 85%,var(--theme-on-bg))!important}#app-view #profile-view .policy-summary-description{margin:0;font-size:.82rem;font-weight:600;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:color-mix(in oklab,var(--theme-on-bg) 82%,var(--theme-mix-base))}#app-view #profile-view .policy-review-label{font-size:.68rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--theme-text-muted)}#app-view #profile-view .policy-summary-action{display:inline-flex;align-items:center;gap:.32rem;padding:.28rem .52rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 18%, var(--theme-mix-base)) );border-radius:999px;background:var(--theme-surface-subtle, var(--theme-chip-bg));color:var(--theme-text-strong);font-size:.72rem;font-weight:800;letter-spacing:.01em}#app-view #profile-view .policy-summary-caret{width:1.1rem;height:1.1rem;display:flex;align-items:center;justify-content:center;transition:transform .15s ease}#app-view #profile-view .policy-summary-caret svg{width:.7rem;height:.7rem;display:block}#app-view #profile-view .policy-item[open] .policy-summary-action{background:color-mix(in oklab,var(--theme-primary) 14%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 28%,var(--theme-mix-base))}#app-view #profile-view .policy-item[open] .policy-summary-caret{transform:rotate(180deg)}#app-view #profile-view .policy-item--empty{padding:calc(.62rem * var(--app-view-density)) calc(.68rem * var(--app-view-density))}#app-view #profile-view .policy-content{padding:0 calc(.68rem * var(--app-view-density)) calc(.68rem * var(--app-view-density));font-size:.86rem;line-height:1.48;opacity:.92}#app-view #profile-view .policy-review-block{display:grid;gap:.42rem;padding-top:.72rem;border-top:1px solid color-mix(in oklab,var(--theme-primary) 12%,var(--theme-mix-base))}#app-view #profile-view .policy-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--theme-text-strong)}#app-view #profile-view .policy-body.clamped{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden}#app-view #profile-view .policy-toggle{align-self:flex-start;margin-top:.4rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 22%, var(--theme-mix-base)) );border-radius:999px;background:var(--theme-surface-subtle, var(--theme-chip-bg));color:var(--theme-on-bg);font-size:.75rem;font-weight:700;padding:.26rem .55rem;cursor:pointer}#app-view #profile-view .assets-list{margin-top:.5rem;display:grid;gap:.7rem}#app-view #profile-view .asset-item{background:var(--theme-surface-subtle, var(--theme-surface-1));border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 18%, var(--theme-mix-base)) );border-radius:.78rem;padding:.85rem .92rem;display:grid;gap:.75rem}#app-view #profile-view .asset-item--grouped{background:color-mix(in oklab,var(--theme-surface-1) 92%,var(--theme-primary) 8%)}#app-view #profile-view .asset-card-header{display:flex;justify-content:space-between;gap:.8rem;align-items:flex-start}#app-view #profile-view .asset-card-header-actions{display:flex;justify-content:flex-end;flex-shrink:0}#app-view #profile-view .asset-card-title-block{min-width:0;display:grid;gap:.35rem}#app-view #profile-view .asset-card-title{margin:0;font-size:1.02rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app-view #profile-view .asset-card-subtitle{margin:0;font-size:.82rem;color:color-mix(in oklab,var(--theme-on-bg) 72%,var(--theme-mix-base));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app-view #profile-view .asset-pill-row{display:flex;flex-wrap:wrap;gap:.4rem}#app-view #profile-view .asset-source-edit-btn,#app-view #profile-view .asset-source-save-btn,#app-view #profile-view .asset-source-cancel-btn{border-radius:999px;font-size:.75rem;font-weight:800;letter-spacing:.02em;cursor:pointer}#app-view #profile-view .asset-source-edit-btn{border:1px solid var( --theme-border-accent, color-mix(in oklab, var(--theme-primary) 30%, var(--theme-mix-base)) );background:color-mix(in oklab,var(--theme-primary) 12%,var(--theme-surface-subtle, var(--theme-surface-1)));color:var(--theme-on-bg);padding:.34rem .72rem}#app-view #profile-view .asset-source-editor{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;grid-column:1 / -1;padding-top:.1rem}#app-view #profile-view .asset-source-editor[hidden]{display:none}#app-view #profile-view .asset-source-input{flex:1 1 14rem;min-width:0;padding:.5rem .66rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 22%, var(--theme-mix-base)) );border-radius:.58rem;background:var( --theme-surface-elevated, color-mix(in oklab, var(--theme-bg) 92%, var(--theme-mix-base)) );color:var(--theme-on-bg)}#app-view #profile-view .asset-source-save-btn{border:none;padding:.4rem .82rem;background:color-mix(in oklab,var(--theme-primary) 82%,#0ea5e9);color:var(--theme-on-primary)}#app-view #profile-view .asset-source-cancel-btn{border:1px solid color-mix(in oklab,var(--theme-on-bg) 16%,var(--theme-surface-subtle, var(--theme-mix-base)));padding:.38rem .78rem;background:var(--theme-surface-elevated, transparent);color:color-mix(in oklab,var(--theme-on-bg) 78%,var(--theme-mix-base))}#app-view #profile-view .asset-item-type{display:inline-flex;align-items:center;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;border:1px solid color-mix(in oklab,var(--theme-primary) 18%,var(--theme-mix-base));border-radius:999px;padding:.16rem .48rem;opacity:.96;background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-1))}#app-view #profile-view .asset-item-type--syllabus{background:color-mix(in oklab,#38bdf8 16%,var(--theme-surface-1));border-color:color-mix(in oklab,#38bdf8 36%,var(--theme-mix-base))}#app-view #profile-view .asset-item-type--textbook{background:color-mix(in oklab,#14b8a6 16%,var(--theme-surface-1));border-color:color-mix(in oklab,#14b8a6 34%,var(--theme-mix-base))}#app-view #profile-view .asset-item-type--other{background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-1))}#app-view #profile-view .asset-item-type--saved-link{background:color-mix(in oklab,#38bdf8 14%,var(--theme-surface-1));border-color:color-mix(in oklab,#38bdf8 34%,var(--theme-mix-base))}#app-view #profile-view .asset-item-type--format{font-size:.66rem;padding-inline:.42rem;background:color-mix(in oklab,var(--theme-on-bg) 9%,var(--theme-surface-1));border-color:color-mix(in oklab,var(--theme-on-bg) 14%,transparent)}#app-view #profile-view .asset-item-type--count{background:color-mix(in oklab,var(--theme-primary) 18%,var(--theme-surface-1));border-color:color-mix(in oklab,var(--theme-primary) 28%,var(--theme-mix-base))}#app-view #profile-view .asset-source-list{display:grid;gap:.46rem}#app-view #profile-view .asset-source-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem;align-items:start;padding:.7rem .78rem;border-radius:.7rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 14%, var(--theme-mix-base)) );background:var( --theme-surface-elevated, color-mix(in oklab, var(--theme-panel-inset-bg) 80%, var(--theme-mix-base)) )}#app-view #profile-view .asset-source-copy{min-width:0;display:grid;gap:.18rem}#app-view #profile-view .asset-source-title-line{display:flex;align-items:center;gap:.42rem;min-width:0;flex-wrap:wrap}#app-view #profile-view .asset-source-name{font-size:.9rem;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app-view #profile-view .asset-source-meta{font-size:.75rem;color:color-mix(in oklab,var(--theme-on-bg) 66%,var(--theme-mix-base));min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#app-view #profile-view .asset-source-actions{display:flex;align-items:center;justify-content:flex-end;gap:.45rem;flex-wrap:wrap;flex-shrink:0}#app-view #profile-view .asset-open-btn{display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.38rem .78rem;border-radius:999px;border:1px solid color-mix(in oklab,var(--theme-primary) 34%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 15%,var(--theme-mix-base));color:var(--theme-on-bg);text-decoration:none;font-size:.78rem;font-weight:800;letter-spacing:.02em;transition:background .14s ease,border-color .14s ease}#app-view #profile-view .asset-open-btn:hover{background:color-mix(in oklab,var(--theme-primary) 24%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 52%,var(--theme-mix-base))}#app-view #profile-view .asset-delete-btn{border:1px solid color-mix(in oklab,#dc2626 26%,var(--theme-mix-base));border-radius:999px;padding:.34rem .7rem;background:color-mix(in oklab,#dc2626 7%,var(--theme-surface-1));color:color-mix(in oklab,#fca5a5 48%,var(--theme-on-bg));font-size:.74rem;font-weight:700;letter-spacing:.01em;cursor:pointer}#app-view #profile-view .asset-preview-list{display:grid;gap:.55rem}#app-view #profile-view .asset-preview{margin-top:0;padding-top:.12rem}#app-view #profile-view .asset-preview summary{cursor:pointer;font-size:.76rem;font-weight:700;color:color-mix(in oklab,var(--theme-on-bg) 76%,var(--theme-mix-base))}#app-view #profile-view .asset-preview-frame-wrap{width:min(100%,54rem);margin:.45rem auto 0;padding:.72rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 12%, var(--theme-mix-base)) );border-radius:.84rem;background:color-mix(in oklab,var(--theme-surface-inset) 90%,var(--theme-mix-base))}#app-view #profile-view .asset-preview-frame{display:block;width:100%;min-height:clamp(560px,78vh,1080px);border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 14%, var(--theme-mix-base)) );border-radius:.62rem;background:color-mix(in oklab,#ffffff 92%,var(--theme-surface-elevated, var(--theme-surface-1)))}#app-view #profile-view .asset-actions{margin-top:.7rem;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:.62rem}#app-view #profile-view .asset-action-block{width:min(100%,42rem);border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 14%, var(--theme-mix-base)) );border-radius:.62rem;background:var(--theme-surface-subtle, var(--theme-surface-1));padding:.82rem .92rem;display:grid;gap:.5rem}#app-view #profile-view .asset-action-details{padding:0;gap:0}#app-view #profile-view .asset-action-summary{list-style:none;cursor:pointer;padding:.82rem .92rem;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem}#app-view #profile-view .asset-action-summary::-webkit-details-marker{display:none}#app-view #profile-view .asset-action-summary-main{display:grid;gap:.2rem}#app-view #profile-view .asset-action-chevron{width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;color:var( --theme-text-muted, color-mix(in oklab, var(--theme-on-bg) 55%, var(--theme-mix-base)) );transition:transform .15s ease}#app-view #profile-view .asset-action-chevron svg{width:.75rem;height:.75rem;display:block}#app-view #profile-view .asset-action-details[open] .asset-action-chevron{transform:rotate(180deg)}#app-view #profile-view .asset-action-form{padding:0 .92rem .82rem;display:grid;gap:.5rem}#app-view #profile-view .asset-action-title{font-size:.84rem;font-weight:800;letter-spacing:.01em;color:var(--theme-on-bg)}#app-view #profile-view .asset-action-copy{margin:0;font-size:.76rem;line-height:1.45;color:color-mix(in oklab,var(--theme-on-bg) 74%,var(--theme-mix-base))}#app-view #profile-view .asset-field{display:grid;gap:.22rem}#app-view #profile-view .asset-field-label{font-size:.68rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:color-mix(in oklab,var(--theme-on-bg) 68%,var(--theme-mix-base))}#app-view #profile-view .asset-actions input,#app-view #profile-view .asset-actions select{width:100%;padding:.45rem;border:1px solid var( --theme-border-soft, color-mix(in oklab, var(--theme-primary) 20%, var(--theme-mix-base)) );border-radius:.45rem;background:var(--theme-surface-elevated, var(--theme-surface-1));color:var(--theme-on-bg)}#app-view #profile-view .asset-actions button{border:none;border-radius:999px;padding:.52rem 1.35rem;background:linear-gradient(135deg,color-mix(in oklab,var(--theme-primary) 90%,#0ea5e9),color-mix(in oklab,var(--theme-primary) 82%,#10b981));color:var(--theme-on-primary);font-weight:800;letter-spacing:.02em;cursor:pointer;justify-self:center;min-width:min(14rem,100%)}#app-view #profile-view .muted{opacity:.75;font-size:.8rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}#app-view #profile-view .instructor-ta-tabs{display:flex;gap:.25rem;margin-bottom:.6rem;justify-content:center}#app-view #profile-view .instructor-ta-tab{padding:.35rem .7rem;border-radius:.5rem;border:1px solid color-mix(in oklab,var(--theme-primary) 24%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-bg) 92%,var(--theme-mix-base));color:var(--theme-on-bg);font-size:.8rem;font-weight:700;cursor:pointer;transition:background-color .15s,border-color .15s}#app-view #profile-view .instructor-ta-tab:hover:not(.instructor-ta-tab--disabled){background:color-mix(in oklab,var(--theme-primary) 18%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 40%,var(--theme-mix-base))}#app-view #profile-view .instructor-ta-tab--active{background:color-mix(in oklab,var(--theme-primary) 28%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-primary) 50%,var(--theme-mix-base));color:var(--theme-on-bg)}#app-view #profile-view .instructor-ta-tab--disabled{opacity:.5;cursor:not-allowed}#app-view #profile-view .instructor-ta-panels{position:relative}#app-view #profile-view .instructor-ta-panel{display:none}#app-view #profile-view .instructor-ta-panel--active{display:block}#app-view #profile-view .textbook-badge-list{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.34rem .42rem;width:100%}#app-view #profile-view .textbook-badge-empty{font-size:.84rem;color:color-mix(in oklab,var(--theme-on-bg) 68%,var(--theme-mix-base))}#app-view #profile-view .textbook-badge-item{position:relative;flex:0 1 auto;max-width:100%}#app-view #profile-view .textbook-badge-item summary{list-style:none}#app-view #profile-view .textbook-badge-item summary::-webkit-details-marker{display:none}#app-view #profile-view .textbook-badge-trigger{display:inline-flex;align-items:center;gap:.28rem;max-width:min(100%,14.5rem);min-height:2.25rem;padding:.26rem .58rem .26rem .7rem;border-radius:999px;border:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base));background:linear-gradient(135deg,color-mix(in oklab,#0f766e 24%,var(--theme-surface-1)),color-mix(in oklab,#164e63 18%,var(--theme-surface-1)));box-shadow:inset 0 1px color-mix(in oklab,#67e8f9 12%,transparent),0 4px 12px color-mix(in oklab,#020617 12%,transparent);color:var(--theme-on-bg);cursor:pointer;transition:transform var(--theme-transition),border-color var(--theme-transition),background-color var(--theme-transition)}#app-view #profile-view .textbook-badge-trigger:hover{transform:translateY(-1px);border-color:color-mix(in oklab,#14b8a6 42%,var(--theme-mix-base));background:linear-gradient(135deg,color-mix(in oklab,#0f766e 30%,var(--theme-surface-1)),color-mix(in oklab,#164e63 22%,var(--theme-surface-1)))}#app-view #profile-view .textbook-badge-trigger:focus-visible{outline:2px solid color-mix(in oklab,#14b8a6 72%,#fff);outline-offset:2px}#app-view #profile-view .textbook-badge-trigger--recommended{border-color:color-mix(in oklab,#818cf8 28%,var(--theme-mix-base));background:linear-gradient(135deg,color-mix(in oklab,#4338ca 20%,var(--theme-surface-1)),color-mix(in oklab,#312e81 14%,var(--theme-surface-1)));box-shadow:inset 0 1px color-mix(in oklab,#a5b4fc 10%,transparent),0 4px 12px color-mix(in oklab,#020617 12%,transparent)}#app-view #profile-view .textbook-badge-trigger--recommended:hover{border-color:color-mix(in oklab,#818cf8 42%,var(--theme-mix-base));background:linear-gradient(135deg,color-mix(in oklab,#4338ca 26%,var(--theme-surface-1)),color-mix(in oklab,#312e81 20%,var(--theme-surface-1)))}#app-view #profile-view .textbook-badge-trigger--recommended:focus-visible{outline-color:color-mix(in oklab,#818cf8 72%,#fff)}#app-view #profile-view .textbook-badge-label{display:inline-block;min-width:0;font-size:.72rem;font-weight:760;line-height:1.2;white-space:nowrap;overflow:hidden}#app-view #profile-view .textbook-badge-label--overflow{-webkit-mask-image:linear-gradient(to right,black 70%,transparent 100%);mask-image:linear-gradient(to right,black 70%,transparent 100%)}#app-view #profile-view .textbook-hidden-group{display:none;flex-wrap:wrap;gap:.34rem .42rem;width:100%}#app-view #profile-view .textbook-hidden-group--open{display:flex}#app-view #profile-view .textbook-hidden-toggle{display:inline-flex;align-items:center;padding:.1rem .4rem;border:none;background:none;color:color-mix(in oklab,var(--theme-on-bg) 60%,var(--theme-mix-base));font-size:.66rem;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:2px}#app-view #profile-view .textbook-hidden-toggle:hover{color:var(--theme-on-bg)}#app-view #profile-view .textbook-badge-list--compact{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.3rem .36rem}#app-view #profile-view .textbook-badge-list--compact .textbook-hidden-toggle,#app-view #profile-view .textbook-badge-list--compact .textbook-hidden-group{grid-column:1 / -1}#app-view #profile-view .textbook-badge-list--compact .textbook-badge-trigger{width:100%;max-width:100%;box-sizing:border-box}#app-view #profile-view .textbook-badge-caret{font-size:.84rem;line-height:1;opacity:.56;transition:transform .14s ease,opacity .14s ease}#app-view #profile-view .textbook-badge-item[open] .textbook-badge-caret{transform:translate(1px);opacity:.9}#app-view #profile-view .textbook-hover-card{display:none;position:absolute;top:50%;left:100%;transform:translateY(-50%);z-index:15;width:min(17rem,calc(100vw - 2rem));padding:.76rem .82rem;border-radius:.8rem;border:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-panel-bg) 95%,var(--theme-mix-base));box-shadow:var(--theme-shadow-md);text-align:left}#app-view #profile-view .textbook-hover-card:before{content:"";position:absolute;top:50%;left:-.38rem;width:.72rem;height:.72rem;transform:translateY(-50%) rotate(45deg);border-left:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base));border-bottom:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-panel-bg) 95%,var(--theme-mix-base))}#app-view #profile-view .textbook-badge-item[data-popover-side=left] .textbook-hover-card{left:auto;right:100%}#app-view #profile-view .textbook-badge-item[data-popover-side=left] .textbook-hover-card:before{left:auto;right:-.38rem;border-left:none;border-bottom:none;border-right:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base));border-top:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base))}#app-view #profile-view .textbook-badge-item[data-popover-side=bottom] .textbook-hover-card{top:100%;left:0;right:auto;transform:none}#app-view #profile-view .textbook-badge-item[data-popover-side=bottom] .textbook-hover-card:before{top:-.38rem;left:1.2rem;right:auto;transform:rotate(45deg);border-right:none;border-bottom:none;border-left:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base));border-top:1px solid color-mix(in oklab,#14b8a6 28%,var(--theme-mix-base))}#app-view #profile-view .textbook-badge-item[open] .textbook-hover-card{display:grid;gap:.46rem}#app-view #profile-view .textbook-hover-title{font-size:.82rem;font-weight:800;line-height:1.3}#app-view #profile-view .textbook-hover-meta{display:grid;gap:.34rem}#app-view #profile-view .textbook-hover-row{display:grid;gap:.1rem}#app-view #profile-view .textbook-hover-row--isbn{gap:.18rem}#app-view #profile-view .textbook-hover-label{font-size:.66rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:color-mix(in oklab,var(--theme-on-bg) 64%,var(--theme-mix-base))}#app-view #profile-view .textbook-hover-value{font-size:.82rem;line-height:1.3}#app-view #profile-view .textbook-hover-value--isbn{font-family:"Roboto Serif",ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em}#app-view #profile-view .textbook-hover-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.42rem}#app-view #profile-view .textbook-hover-copy .kv-copy-btn{width:1.85rem;height:1.85rem}#app-view #profile-view .textbook-hover-empty{margin:0;font-size:.8rem;color:color-mix(in oklab,var(--theme-on-bg) 70%,var(--theme-mix-base))}#app-view #profile-view .kv-row--textbooks .kv-value,#app-view #profile-view .kv-row--textbook .kv-value{display:flex;justify-content:flex-start;text-align:left;overflow:visible}#app-view #profile-view .week-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem;width:100%;max-width:14rem}#app-view #profile-view .week-calendar-day{aspect-ratio:1;min-height:0;border-radius:.4rem;border:1px solid color-mix(in oklab,var(--theme-on-bg) 14%,transparent);background:color-mix(in oklab,var(--theme-on-bg) 10%,var(--theme-mix-base));display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;color:color-mix(in oklab,var(--theme-on-bg) 45%,var(--theme-mix-base))}#app-view #profile-view .week-calendar-day--weekend{background:color-mix(in oklab,var(--theme-on-bg) 3%,var(--theme-mix-base));border-color:color-mix(in oklab,var(--theme-on-bg) 5%,transparent);color:color-mix(in oklab,var(--theme-on-bg) 18%,var(--theme-mix-base))}#app-view #profile-view .week-calendar-day--lit{border-color:transparent;color:#f8fafc}#app-view #profile-view .week-calendar-day--lit-mwf{background:color-mix(in oklab,#ec4899 88%,var(--theme-surface-1))!important;border-color:color-mix(in oklab,#ec4899 60%,transparent)!important}#app-view #profile-view .week-calendar-day--lit-tth{background:color-mix(in oklab,#22c55e 88%,var(--theme-surface-1))!important;border-color:color-mix(in oklab,#22c55e 60%,transparent)!important}#app-view #profile-view .week-calendar-day--lit-weekend{background:color-mix(in oklab,#a78bfa 85%,var(--theme-surface-1))!important;border-color:color-mix(in oklab,#a78bfa 55%,transparent)!important}#app-view #profile-view .schedule-async-badge{display:inline-flex;align-items:center;padding:.22rem .58rem;border-radius:999px;border:1px solid color-mix(in oklab,#38bdf8 30%,var(--theme-mix-base));background:color-mix(in oklab,#0ea5e9 16%,var(--theme-mix-base));color:var(--theme-on-bg);font-size:.78rem;font-weight:700}#app-view #profile-view .empty-state{opacity:.72}[data-theme=dark] #app-view #profile-view .section-card,:root:not([data-theme=light]) #app-view #profile-view .section-card{background:var(--theme-surface-inset);border-color:var(--theme-border-subtle)}[data-theme=dark] #app-view #profile-view .kv-row,:root:not([data-theme=light]) #app-view #profile-view .kv-row{background:color-mix(in oklab,var(--theme-surface-2) 90%,var(--theme-bg));border-color:color-mix(in oklab,var(--theme-primary) 28%,var(--theme-mix-base))}[data-theme=dark] #app-view #profile-view .kv-value-badge,[data-theme=dark] #app-view #profile-view .textbook-badge-trigger,[data-theme=dark] #app-view #profile-view .textbook-badge-trigger--recommended,:root:not([data-theme=light]) #app-view #profile-view .kv-value-badge,:root:not([data-theme=light]) #app-view #profile-view .textbook-badge-trigger,:root:not([data-theme=light]) #app-view #profile-view .textbook-badge-trigger--recommended{background:linear-gradient(180deg,color-mix(in oklab,var(--theme-app-topbar-bg) 82%,var(--theme-primary) 18%),color-mix(in oklab,var(--theme-panel-bg) 74%,var(--theme-primary) 26%));border-color:color-mix(in oklab,var(--theme-primary) 46%,var(--theme-mix-base));box-shadow:inset 0 1px #ffffff0a;color:var(--theme-on-bg)}[data-theme=dark] #app-view #profile-view .policy-item,:root:not([data-theme=light]) #app-view #profile-view .policy-item{background:color-mix(in oklab,var(--theme-surface-elevated) 90%,var(--theme-bg))!important;border-color:var(--theme-border-subtle)!important}[data-theme=dark] #app-view #profile-view .asset-actions select,[data-theme=dark] #app-view #profile-view .asset-actions input,[data-theme=dark] #app-view #profile-view .asset-source-input,:root:not([data-theme=light]) #app-view #profile-view .asset-actions select,:root:not([data-theme=light]) #app-view #profile-view .asset-actions input,:root:not([data-theme=light]) #app-view #profile-view .asset-source-input{background:color-mix(in oklab,var(--theme-bg) 68%,var(--theme-surface-1))!important;border-color:color-mix(in oklab,var(--theme-primary) 20%,var(--theme-mix-base))}@media (max-width: 980px){#app-view #profile-view .profile-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){#app-view #profile-view .profile-overview-grid{grid-template-columns:1fr}#app-view #profile-view .asset-source-actions{justify-content:flex-start}#app-view #profile-view .asset-source-row{grid-template-columns:1fr}#app-view #profile-view .asset-source-editor{align-items:stretch}#app-view #profile-view .asset-actions,#app-view #profile-view .policy-summary{grid-template-columns:1fr}#app-view #profile-view .asset-preview-frame-wrap{width:100%;padding:.58rem}#app-view #profile-view .asset-preview-frame{min-height:clamp(460px,70vh,820px)}#app-view #profile-view .textbook-badge-trigger,#app-view #profile-view .textbook-badge-list--compact .textbook-badge-trigger{max-width:100%}}#upload-term-overlay{position:fixed;inset:0;z-index:320;display:none;align-items:center;justify-content:center;padding:1rem;background:color-mix(in oklab,#041427 62%,transparent);backdrop-filter:blur(4px);opacity:0;transition:opacity .2s ease;overflow-y:auto}#upload-term-overlay.utv-open{display:flex;opacity:1}#upload-term-overlay .upload-term-card{width:min(760px,calc(100% - 2rem));border-radius:1rem;border:1px solid color-mix(in oklab,var(--theme-primary) 30%,white);background:color-mix(in oklab,var(--theme-app-topbar-bg, #0d3e73) 84%,#031326);color:#f8fbff;box-shadow:0 18px 34px color-mix(in oklab,#041427 65%,transparent);padding:1.3rem 1.4rem 1.1rem}#upload-term-overlay .upload-term-header{margin-bottom:1rem}#upload-term-overlay .upload-term-title{margin:0 0 .3rem;font-size:1.15rem;color:#f8fbff}#upload-term-overlay .upload-term-subtitle{margin:0;font-size:.86rem;color:color-mix(in oklab,#f8fbff 78%,#dbeafe)}#upload-term-overlay .upload-term-body{display:grid;gap:.75rem}#upload-term-overlay .upload-term-description,#upload-term-overlay .upload-term-note{margin:0;font-size:.9rem;line-height:1.55;color:color-mix(in oklab,#f8fbff 84%,#dbeafe)}#upload-term-overlay .upload-term-note{font-size:.82rem;color:color-mix(in oklab,#f8fbff 68%,#dbeafe)}#upload-term-overlay .upload-term-error{margin:0;padding:.7rem .8rem;border-radius:.65rem;border:1px solid rgba(248,113,113,.3);background:#7f1d1d47;color:#fee2e2;font-size:.84rem}#upload-term-overlay .upload-term-editor-rows{display:grid;gap:.7rem}.upload-term-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.8rem;align-items:center;padding:.8rem .9rem;border-radius:.8rem;border:1px solid rgba(255,255,255,.14);background:#ffffff0d}.upload-term-row__name{min-width:0;font-size:.88rem;font-weight:700;color:#f8fbff;overflow-wrap:anywhere}.upload-term-row__controls{display:flex;gap:.55rem;align-items:center}.upload-term-row__select,.upload-term-row__year{border-radius:.55rem;border:1px solid rgba(255,255,255,.18);background:#00000038;color:#f8fbff;font-size:.85rem;padding:.5rem .65rem}.upload-term-row__select{min-width:7.5rem}.upload-term-row__year{width:5.6rem}#upload-term-overlay .upload-term-actions{display:flex;gap:.75rem;align-items:center;justify-content:flex-end;margin-top:1rem;padding-top:.85rem;border-top:1px solid rgba(255,255,255,.1)}#upload-term-overlay .upload-term-actions--editing{justify-content:space-between}#upload-term-overlay .upload-term-confirm,#upload-term-overlay .upload-term-edit{border-radius:999px;font-size:.88rem;font-weight:700;cursor:pointer;transition:opacity .15s ease,background .15s ease,border-color .15s ease}#upload-term-overlay .upload-term-confirm{border:none;background:var(--theme-primary, #3b82f6);color:#fff;padding:.58rem 1rem}#upload-term-overlay .upload-term-confirm:hover,#upload-term-overlay .upload-term-edit:hover{opacity:.9}#upload-term-overlay .upload-term-edit{background:transparent;border:1px solid rgba(255,255,255,.24);color:#f8fbff;padding:.58rem .95rem}@media (max-width: 720px){.upload-term-row{grid-template-columns:1fr}.upload-term-row__controls{width:100%}.upload-term-row__select,.upload-term-row__year{flex:1 1 auto}#upload-term-overlay .upload-term-actions,#upload-term-overlay .upload-term-actions--editing{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion: reduce){#upload-term-overlay{transition:none}}#parse-verification-primer-overlay{position:fixed;inset:0;z-index:315;display:none;align-items:center;justify-content:center;padding:1rem;background:color-mix(in oklab,#041427 62%,transparent);backdrop-filter:blur(4px);opacity:0;transition:opacity .2s ease;overflow-y:auto}#parse-verification-primer-overlay.pvp-open{display:flex;opacity:1}#parse-verification-primer-overlay .pvp-card{width:min(560px,calc(100% - 2rem));border-radius:1rem;border:1px solid color-mix(in oklab,var(--theme-primary) 30%,white);background:color-mix(in oklab,var(--theme-app-topbar-bg, #0d3e73) 84%,#031326);color:#f8fbff;box-shadow:0 18px 34px color-mix(in oklab,#041427 65%,transparent);padding:1.3rem 1.4rem 1.15rem}#parse-verification-primer-overlay .pvp-title{margin:0 0 .35rem;font-size:1.05rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#f8fbff}#parse-verification-primer-overlay .pvp-subtitle{margin:0 0 .85rem;font-size:.92rem;font-weight:600;color:color-mix(in oklab,#f8fbff 88%,#dbeafe)}#parse-verification-primer-overlay .pvp-body{margin:0;font-size:.9rem;line-height:1.55;color:color-mix(in oklab,#f8fbff 84%,#dbeafe)}#parse-verification-primer-overlay .pvp-actions{margin-top:1.15rem;display:flex;justify-content:flex-end}#parse-verification-primer-overlay .pvp-continue{min-width:7.5rem}#parse-verify-overlay{position:fixed;inset:0;z-index:300;display:none;padding:clamp(.75rem,1.6vw,1.25rem);background:radial-gradient(circle at top left,color-mix(in oklab,var(--theme-primary) 14%,transparent) 0%,transparent 34%),color-mix(in oklab,var(--theme-app-topbar-bg) 34%,transparent);backdrop-filter:blur(10px);opacity:0;transition:opacity .16s ease}#parse-verify-overlay.pv-open{display:block;opacity:1}#parse-verify-overlay .pv-card{position:relative;width:min(1180px,100%);height:min(82vh,860px);margin:0 auto;overflow:hidden;border-radius:1.25rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-primary);color:var(--theme-text-body);box-shadow:var(--theme-shadow-md)}#parse-verify-overlay #pv-root{position:relative;height:100%}#parse-verify-overlay .pv-required-star{margin-left:.2rem;font-weight:700;color:color-mix(in oklab,var(--theme-danger, #c62828) 88%,transparent)}#parse-verify-overlay .pv-field--assignment-title-missing .pv-field-input{box-shadow:0 0 0 1px color-mix(in oklab,var(--theme-danger, #c62828) 55%,transparent)}#parse-verify-overlay .pv-modal-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.82fr);height:100%}#parse-verify-overlay .pv-main{min-width:0;height:100%;overflow-y:auto;padding:clamp(1rem,1.9vw,1.35rem) clamp(.7rem,1.2vw,.95rem) clamp(.7rem,1.2vw,.95rem)}#parse-verify-overlay .pv-aside{display:flex;height:100%;min-width:0;min-height:0;padding:clamp(3rem,4vw,3.35rem) clamp(.85rem,1.4vw,1.1rem) clamp(.85rem,1.4vw,1.1rem);border-left:1px solid var(--theme-border-subtle);background:var(--theme-surface-secondary)}#parse-verify-overlay [data-pv-aside-preview-slot]{flex:1 1 auto;min-height:0}#parse-verify-overlay .pv-progress-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem .75rem;border:1px solid var(--theme-border-subtle);border-radius:.92rem;background:var(--theme-surface-highlight)}#parse-verify-overlay .pv-progress-actions{display:flex;align-items:center;flex-shrink:0}#parse-verify-overlay .pv-progress-info{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;min-width:0}#parse-verify-overlay .pv-progress-title-row{display:flex;align-items:baseline;gap:.65rem;min-width:0}#parse-verify-overlay .pv-progress-course{font-weight:700;color:var(--theme-text-strong);font-size:.92rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:28ch}#parse-verify-overlay .pv-progress-step{font-size:.78rem;color:var(--theme-text-soft);flex-shrink:0}#parse-verify-overlay .pv-progress-dots{display:flex;align-items:center;gap:.42rem;flex-shrink:0}#parse-verify-overlay .pv-modal-close{position:absolute;top:clamp(.85rem,1.8vw,1.1rem);right:clamp(.85rem,1.8vw,1.1rem);z-index:2;display:flex;align-items:center;justify-content:center;width:2.45rem;height:2.45rem;padding:0;border:1px solid color-mix(in oklab,var(--theme-border-strong) 55%,transparent);border-radius:999px;background:color-mix(in oklab,var(--theme-surface-elevated) 90%,var(--theme-panel-bg));color:color-mix(in oklab,var(--theme-text-strong) 88%,var(--theme-primary));box-shadow:0 10px 24px color-mix(in oklab,var(--theme-shadow-color, black) 16%,transparent);cursor:pointer;transition:color var(--theme-transition),background var(--theme-transition),border-color var(--theme-transition),box-shadow var(--theme-transition),transform var(--theme-transition)}#parse-verify-overlay .pv-modal-close:hover{color:var(--theme-text-strong);border-color:color-mix(in oklab,var(--theme-primary) 42%,var(--theme-border-strong));background:color-mix(in oklab,var(--theme-surface-primary) 92%,var(--theme-primary));box-shadow:0 14px 30px color-mix(in oklab,var(--theme-shadow-color, black) 22%,transparent);transform:translateY(-1px)}#parse-verify-overlay .pv-modal-close:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in oklab,var(--theme-primary) 35%,transparent),0 14px 30px color-mix(in oklab,var(--theme-shadow-color, black) 22%,transparent)}#parse-verify-overlay .pv-modal-close svg{width:.95rem;height:.95rem;flex:0 0 auto}#parse-verify-overlay .pv-progress-dot{width:.52rem;height:.52rem;border-radius:50%;background:var(--theme-border-subtle);border:1px solid color-mix(in oklab,var(--theme-border-subtle) 80%,transparent);transition:background .14s ease,transform .14s ease}#parse-verify-overlay .pv-progress-dot--active{background:var(--theme-primary);border-color:var(--theme-primary);transform:scale(1.3)}#parse-verify-overlay .pv-progress-dot--done{background:var(--theme-success);border-color:var(--theme-success)}#parse-verify-overlay .pv-preview-eyebrow,#parse-verify-overlay .pv-section-eyebrow,#parse-verify-overlay .pv-overview-label,#parse-verify-overlay .pv-policy-review-label{margin:0 0 .3rem;color:var(--theme-text-soft);font-size:.75rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}#parse-verify-overlay .pv-preview-title,#parse-verify-overlay .pv-subsection-head h4,#parse-verify-overlay .pv-feedback-card h4{margin:0;color:var(--theme-text-strong)}#parse-verify-overlay .pv-section-why,#parse-verify-overlay .pv-subsection p,#parse-verify-overlay .pv-feedback-card p,#parse-verify-overlay .pv-inline-alert,#parse-verify-overlay .pv-submit-message,#parse-verify-overlay .pv-table-total,#parse-verify-overlay .pv-policy-review-body p,#parse-verify-overlay .pv-skip-confirm-copy span{color:var(--theme-text-muted);line-height:1.5}#parse-verify-overlay .pv-mobile-compare{display:none;margin-top:.85rem;border:1px solid var(--theme-border-subtle);border-radius:.95rem;background:var(--theme-surface-secondary)}#parse-verify-overlay .pv-mobile-compare summary{cursor:pointer;padding:.85rem .95rem;font-weight:700;list-style:none;color:var(--theme-text-strong)}#parse-verify-overlay .pv-mobile-compare summary::-webkit-details-marker{display:none}#parse-verify-overlay .pv-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin-top:.55rem}#parse-verify-overlay .pv-tab{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.22rem;min-width:0;padding:.5rem .65rem;border-radius:.95rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-secondary);color:inherit;cursor:pointer;transition:border-color .14s ease,background .14s ease,transform .14s ease}#parse-verify-overlay .pv-tab:hover,#parse-verify-overlay .pv-action-btn:hover,#parse-verify-overlay .pv-inline-btn:hover,#parse-verify-overlay .pv-text-btn:hover,#parse-verify-overlay .pv-primary-btn:hover,#parse-verify-overlay .pv-secondary-btn:hover,#parse-verify-overlay .pv-detail-toggle:hover,#parse-verify-overlay .pv-remove-btn:hover{transform:translateY(-1px)}#parse-verify-overlay .pv-tab.is-active{border-color:var(--theme-border-strong);background:var(--theme-surface-highlight)}#parse-verify-overlay .pv-tab__main{display:inline-flex;align-items:center;gap:.55rem;min-width:0}#parse-verify-overlay .pv-tab__label{min-width:0;font-weight:700;color:var(--theme-text-strong)}#parse-verify-overlay .pv-tab__status{font-size:.74rem;color:var(--theme-text-soft);line-height:1}#parse-verify-overlay .pv-section-stage{margin-top:.55rem}#parse-verify-overlay .pv-section-card,#parse-verify-overlay .pv-feedback-card,#parse-verify-overlay .pv-preview-card{border:1px solid var(--theme-border-subtle);border-radius:1rem;background:var(--theme-surface-secondary)}#parse-verify-overlay .pv-section-card{padding:.72rem .85rem}#parse-verify-overlay .pv-feedback-card{margin-top:.65rem;padding:.72rem .85rem}#parse-verify-overlay .pv-section-head,#parse-verify-overlay .pv-preview-head,#parse-verify-overlay .pv-subsection-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}#parse-verify-overlay .pv-section-head{display:grid;gap:.32rem;align-items:stretch;justify-content:normal}#parse-verify-overlay .pv-section-head-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;min-width:0}#parse-verify-overlay .pv-section-head-actions{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;justify-content:flex-end;margin-left:auto}#parse-verify-overlay .pv-section-meta{display:flex;flex-wrap:wrap;gap:.42rem;margin-top:.3rem}#parse-verify-overlay .pv-status-chip,#parse-verify-overlay .pv-confidence-chip,#parse-verify-overlay .pv-pill{display:inline-flex;align-items:center;gap:.35rem;min-height:1.72rem;padding:.18rem .62rem;border-radius:999px;font-size:.76rem;font-weight:700;border:1px solid transparent}#parse-verify-overlay .pv-status-chip{color:var(--theme-text-body);background:color-mix(in oklab,var(--theme-surface-elevated) 88%,var(--theme-chip-bg));border-color:var(--theme-border-subtle)}#parse-verify-overlay .pv-status-chip--pending{color:var(--theme-text-soft)}#parse-verify-overlay .pv-status-chip--confirmed,#parse-verify-overlay .pv-pill--success{color:var(--theme-on-success);background:var(--theme-success-bg);border-color:color-mix(in oklab,var(--theme-success) 34%,var(--theme-success-bg))}#parse-verify-overlay .pv-status-chip--edited,#parse-verify-overlay .pv-pill--soft{color:var(--theme-on-info);background:var(--theme-info-bg);border-color:color-mix(in oklab,var(--theme-info) 32%,var(--theme-info-bg))}#parse-verify-overlay .pv-status-chip--flagged,#parse-verify-overlay .pv-pill--warning{color:var(--theme-on-warning);background:var(--theme-warning-bg);border-color:color-mix(in oklab,var(--theme-warning) 32%,var(--theme-warning-bg))}#parse-verify-overlay .pv-pill--neutral{color:var(--theme-text-body);background:var(--theme-surface-elevated);border-color:var(--theme-border-subtle)}#parse-verify-overlay .pv-confidence-chip--green{color:var(--theme-on-success);background:color-mix(in oklab,var(--theme-success-bg) 90%,var(--theme-surface-elevated));border-color:color-mix(in oklab,var(--theme-success) 34%,var(--theme-success-bg))}#parse-verify-overlay .pv-confidence-chip--orange{color:var(--theme-on-warning);background:color-mix(in oklab,var(--theme-warning-bg) 90%,var(--theme-surface-elevated));border-color:color-mix(in oklab,var(--theme-warning) 30%,var(--theme-warning-bg))}#parse-verify-overlay .pv-confidence-chip--red{color:var(--theme-on-error);background:color-mix(in oklab,var(--theme-error-bg) 90%,var(--theme-surface-elevated));border-color:color-mix(in oklab,var(--theme-error) 30%,var(--theme-error-bg))}#parse-verify-overlay .pv-section-why{margin:.4rem 0 0}#parse-verify-overlay .pv-overview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem;margin-top:.55rem}#parse-verify-overlay .pv-overview-item{display:flex;flex-direction:column;gap:.2rem;padding:.55rem .65rem;border-radius:.85rem;border:1px solid color-mix(in oklab,var(--theme-border-subtle) 84%,transparent);background:color-mix(in oklab,var(--theme-surface-elevated) 88%,transparent)}#parse-verify-overlay .pv-overview-item strong{color:var(--theme-text-strong)}#parse-verify-overlay .pv-overview-item--wide{grid-column:1 / -1}#parse-verify-overlay .pv-overview-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.85rem}#parse-verify-overlay .pv-section-head-actions,#parse-verify-overlay .pv-table-footer,#parse-verify-overlay .pv-skip-confirm-actions{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}#parse-verify-overlay .pv-action-btn,#parse-verify-overlay .pv-inline-btn,#parse-verify-overlay .pv-detail-toggle,#parse-verify-overlay .pv-remove-btn,#parse-verify-overlay .pv-text-btn,#parse-verify-overlay .pv-secondary-btn,#parse-verify-overlay .pv-primary-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.8rem;cursor:pointer;transition:transform .14s ease,background .14s ease,border-color .14s ease,opacity .14s ease;font:inherit}#parse-verify-overlay .pv-action-btn[disabled],#parse-verify-overlay .pv-inline-btn[disabled],#parse-verify-overlay .pv-detail-toggle[disabled],#parse-verify-overlay .pv-remove-btn[disabled]{opacity:.56;cursor:not-allowed;transform:none}#parse-verify-overlay .pv-action-btn,#parse-verify-overlay .pv-inline-btn,#parse-verify-overlay .pv-detail-toggle,#parse-verify-overlay .pv-remove-btn,#parse-verify-overlay .pv-secondary-btn{border:1px solid var(--theme-border-subtle);background:var(--theme-surface-elevated);color:var(--theme-text-body)}#parse-verify-overlay .pv-action-btn,#parse-verify-overlay .pv-primary-btn,#parse-verify-overlay .pv-secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:.48rem;min-height:2.1rem;padding:.4rem .8rem;font-weight:700}#parse-verify-overlay .pv-action-btn.is-selected,#parse-verify-overlay .pv-detail-toggle.is-selected{border-color:var(--theme-border-strong);background:var(--theme-info-bg);color:var(--theme-on-info)}#parse-verify-overlay .pv-action-btn.is-warning,#parse-verify-overlay .pv-text-btn--danger{color:var(--theme-on-warning)}#parse-verify-overlay .pv-action-btn.is-selected.is-warning{border-color:color-mix(in oklab,var(--theme-warning) 32%,var(--theme-warning-bg));background:color-mix(in oklab,var(--theme-warning-bg) 84%,var(--theme-surface-elevated))}#parse-verify-overlay .pv-warning-flag{display:inline-flex;align-items:center;gap:.42rem;min-height:2.1rem;padding:.35rem .7rem;border-radius:.8rem;border:1px solid color-mix(in oklab,var(--theme-warning) 28%,var(--theme-warning-bg));background:color-mix(in oklab,var(--theme-warning-bg) 78%,var(--theme-surface-elevated));color:var(--theme-on-warning);font-size:.78rem;font-weight:700;line-height:1.2}#parse-verify-overlay .pv-detail-toggle,#parse-verify-overlay .pv-inline-btn,#parse-verify-overlay .pv-remove-btn,#parse-verify-overlay .pv-text-btn{min-height:2rem;padding:.36rem .7rem}#parse-verify-overlay .pv-remove-btn{align-self:end}#parse-verify-overlay .pv-primary-btn{border:1px solid color-mix(in oklab,var(--theme-primary) 50%,var(--theme-border-subtle));background:var(--theme-cta-bg);color:var(--theme-on-primary);box-shadow:var(--theme-cta-shadow)}#parse-verify-overlay .pv-primary-btn[disabled]{opacity:.56;cursor:not-allowed;transform:none}#parse-verify-overlay .pv-text-btn{border:none;background:transparent;color:var(--theme-text-muted);padding-inline:0}#parse-verify-overlay .pv-section-details,#parse-verify-overlay .pv-note-block{display:none}#parse-verify-overlay .pv-section-details.is-open,#parse-verify-overlay .pv-note-block.is-open{display:block}#parse-verify-overlay .pv-section-details{margin-top:.95rem;padding-top:.95rem;border-top:1px solid var(--theme-border-subtle)}#parse-verify-overlay .pv-note-block{margin-top:.85rem}#parse-verify-overlay .pv-fields-grid,#parse-verify-overlay .pv-scale-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem}#parse-verify-overlay .pv-fields-grid--policies{max-width:30rem}#parse-verify-overlay .pv-field{display:grid;gap:.22rem}#parse-verify-overlay .pv-field-label{font-size:.79rem;font-weight:700;color:var(--theme-text-soft)}#parse-verify-overlay .pv-field-input{width:100%;min-height:2.1rem;box-sizing:border-box;padding:.38rem .65rem;border-radius:.82rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-elevated);color:var(--theme-text-body);font:inherit}#parse-verify-overlay .pv-field-input:focus{outline:none;border-color:var(--theme-border-strong);box-shadow:var(--theme-focus-ring)}#parse-verify-overlay .pv-field-textarea{min-height:6.6rem;resize:vertical}#parse-verify-overlay .pv-field--wide{grid-column:1 / -1}#parse-verify-overlay .pv-days-selector{display:flex;gap:.3rem;flex-wrap:wrap;margin-top:.1rem}#parse-verify-overlay .pv-day-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:1.9rem;height:1.9rem;padding:0 .38rem;border-radius:.62rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-elevated);color:var(--theme-text-soft);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer;transition:border-color .12s ease,background .12s ease,color .12s ease,transform .12s ease}#parse-verify-overlay .pv-day-btn:hover{transform:translateY(-1px);border-color:var(--theme-border-strong)}#parse-verify-overlay .pv-day-btn.is-active{border-color:var(--theme-primary);background:var(--theme-info-bg);color:var(--theme-on-info)}#parse-verify-overlay .pv-grading-quick-list{margin:.32rem 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.18rem}#parse-verify-overlay .pv-grading-quick-list li{color:var(--theme-text-strong);font-size:.88rem;font-weight:600}#parse-verify-overlay .pv-section-card[data-section=grading] .pv-table-head,#parse-verify-overlay .pv-section-card[data-section=grading] .pv-table-row .pv-field-label{display:none}#parse-verify-overlay .pv-section-card[data-section=grading] .pv-table-row--with-labels{align-items:start}#parse-verify-overlay .pv-section-card[data-section=grading] .pv-table-row--with-labels .pv-field-label{display:flex;align-items:flex-end;min-height:1.15rem;line-height:1}#parse-verify-overlay .pv-section-card[data-section=grading] .pv-table-row--with-labels .pv-remove-btn{margin-top:1.2rem}#parse-verify-overlay .pv-profile-fields{margin-top:.5rem}#parse-verify-overlay .pv-subsection{margin-top:.65rem;padding:.72rem;border-radius:.95rem;border:1px solid color-mix(in oklab,var(--theme-border-subtle) 82%,transparent);background:color-mix(in oklab,var(--theme-surface-elevated) 86%,transparent)}#parse-verify-overlay .pv-subsection-head p,#parse-verify-overlay .pv-feedback-card p{margin:.32rem 0 0}#parse-verify-overlay .pv-policy-grid,#parse-verify-overlay .pv-scale-list{display:grid;gap:.5rem;margin-top:.65rem}#parse-verify-overlay .pv-policy-review{border-radius:.85rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-elevated)}#parse-verify-overlay .pv-policy-review summary{display:flex;align-items:center;justify-content:space-between;gap:.75rem;cursor:pointer;padding:.82rem .92rem;font-weight:700;list-style:none;color:var(--theme-text-strong)}#parse-verify-overlay .pv-policy-review summary:after{content:"";width:.58rem;height:.58rem;flex:0 0 auto;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .14s ease}#parse-verify-overlay .pv-policy-review[open] summary:after{transform:rotate(225deg)}#parse-verify-overlay .pv-policy-review summary::-webkit-details-marker{display:none}#parse-verify-overlay .pv-policy-review-body{padding:0 .92rem .92rem}#parse-verify-overlay .pv-policy-review-body p{margin:.42rem 0 0}#parse-verify-overlay .pv-banner,#parse-verify-overlay .pv-inline-alert,#parse-verify-overlay .pv-submit-message,#parse-verify-overlay .pv-skip-confirm{display:flex;align-items:flex-start;gap:.72rem;padding:.8rem .9rem;border-radius:.92rem;border:1px solid var(--theme-border-subtle);margin-top:.85rem}#parse-verify-overlay .pv-banner--warning,#parse-verify-overlay .pv-inline-alert{color:var(--theme-on-warning);background:color-mix(in oklab,var(--theme-warning-bg) 78%,var(--theme-surface-elevated));border-color:color-mix(in oklab,var(--theme-warning) 28%,var(--theme-warning-bg))}#parse-verify-overlay .pv-inline-alert--soft,#parse-verify-overlay .pv-submit-message{color:var(--theme-on-info);background:color-mix(in oklab,var(--theme-info-bg) 80%,var(--theme-surface-elevated));border-color:color-mix(in oklab,var(--theme-info) 26%,var(--theme-info-bg))}#parse-verify-overlay .pv-submit-message--error,#parse-verify-overlay .pv-skip-confirm{color:var(--theme-on-warning);background:color-mix(in oklab,var(--theme-warning-bg) 72%,var(--theme-surface-elevated));border-color:color-mix(in oklab,var(--theme-warning) 30%,var(--theme-warning-bg))}#parse-verify-overlay .pv-banner strong,#parse-verify-overlay .pv-submit-message strong,#parse-verify-overlay .pv-skip-confirm-copy strong{display:block;color:var(--theme-text-strong)}#parse-verify-overlay .pv-banner p,#parse-verify-overlay .pv-skip-confirm-copy span{margin:.28rem 0 0}#parse-verify-overlay .pv-submit-message-copy{min-width:0}#parse-verify-overlay .pv-submit-message-list{margin:.32rem 0 0;padding-left:1.1rem}#parse-verify-overlay .pv-submit-message-list li+li{margin-top:.26rem}#parse-verify-overlay .pv-table{display:grid;gap:.72rem}#parse-verify-overlay .pv-table-head,#parse-verify-overlay .pv-table-row{display:grid;grid-template-columns:1.35fr 1fr .88fr .88fr auto;gap:.7rem;align-items:end}#parse-verify-overlay .pv-table-head{padding:0 .08rem;color:var(--theme-text-soft);font-size:.76rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}#parse-verify-overlay .pv-table-head--assignments,#parse-verify-overlay .pv-table-row--assignments{grid-template-columns:1.5fr 1fr .95fr auto}#parse-verify-overlay .pv-table-footer{justify-content:space-between;margin-top:.82rem}#parse-verify-overlay .pv-preview-card{position:sticky;top:0;display:flex;flex-direction:column;min-height:0;height:100%;padding:.92rem}#parse-verify-overlay .pv-preview-card--mobile{position:static;height:auto;margin:0 0 .85rem}#parse-verify-overlay .pv-preview-head{align-items:center}#parse-verify-overlay .pv-preview-title{font-size:.98rem}#parse-verify-overlay .pv-preview-body{display:flex;flex:1 1 auto;min-height:0;margin-top:.85rem;height:auto}#parse-verify-overlay .pv-preview-card--mobile .pv-preview-body{height:auto}#parse-verify-overlay .pv-preview-frame-wrap{position:relative;flex:1 1 auto;min-height:0;margin-top:0;height:auto;overflow:hidden;border-radius:.9rem;background:color-mix(in oklab,var(--theme-panel-bg) 84%,var(--theme-surface-elevated))}#parse-verify-overlay .pv-preview-frame-mask{display:none;position:absolute;inset:0;z-index:2;align-items:center;justify-content:center;padding:1rem;text-align:center;color:var(--theme-text-muted);font-size:.88rem;background:color-mix(in oklab,var(--theme-panel-bg) 92%,var(--theme-surface-elevated))}#parse-verify-overlay .pv-preview-frame-wrap--loading .pv-preview-frame-mask{display:flex}#parse-verify-overlay .pv-preview-frame-wrap--error .pv-preview-frame-mask{display:none}#parse-verify-overlay .pv-preview-frame-error:not([hidden]){position:absolute;inset:0;z-index:3;display:grid;align-content:center;justify-items:center;gap:.5rem;padding:1.1rem;text-align:center;background:color-mix(in oklab,var(--theme-panel-bg) 92%,var(--theme-surface-elevated));color:var(--theme-text-muted)}#parse-verify-overlay .pv-preview-frame-error-title{font-weight:800;color:var(--theme-text-strong)}#parse-verify-overlay .pv-preview-frame-error-body{max-width:42ch;line-height:1.45}#parse-verify-overlay .pv-preview-frame-error-link{margin-top:.35rem;display:inline-flex;align-items:center;justify-content:center;min-height:2rem;padding:.36rem .7rem;border-radius:.8rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-elevated);color:var(--theme-text-body);font-weight:700;text-decoration:none;transition:transform .14s ease,background .14s ease,border-color .14s ease,opacity .14s ease}#parse-verify-overlay .pv-preview-frame-error-link:hover{transform:translateY(-1px);border-color:var(--theme-border-strong)}#parse-verify-overlay .pv-preview-body>.pv-preview-frame-wrap,#parse-verify-overlay .pv-preview-body>.pv-preview-empty{flex:1 1 auto;min-height:0;margin-top:0;height:auto}#parse-verify-overlay .pv-preview-card--mobile .pv-preview-frame-wrap{height:min(52vh,520px)}#parse-verify-overlay .pv-preview-card--mobile .pv-preview-body>.pv-preview-frame-wrap,#parse-verify-overlay .pv-preview-card--mobile .pv-preview-body>.pv-preview-empty{height:auto}#parse-verify-overlay .pv-preview-frame{width:100%;height:100%;min-height:12rem;border:0;background:var(--theme-surface-elevated)}#parse-verify-overlay .pv-preview-empty{display:grid;place-items:center;min-height:14rem;margin-top:.85rem;padding:1rem;border-radius:.9rem;background:color-mix(in oklab,var(--theme-surface-elevated) 88%,var(--theme-panel-bg));text-align:center;color:var(--theme-text-muted)}#parse-verify-overlay .pv-footer{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;justify-content:space-between;margin-top:.65rem;padding-top:.65rem;border-top:1px solid var(--theme-border-subtle)}#parse-verify-overlay .pv-skip-confirm{flex:1 1 22rem;justify-content:space-between}#parse-verify-overlay .pv-skip-confirm-copy{min-width:0}#parse-verify-overlay .pv-icon{width:1rem;height:1rem;flex:0 0 auto}#parse-verify-overlay .pv-time-group{display:flex;gap:.35rem;align-items:center}#parse-verify-overlay .pv-time-group .pv-field-input{flex:1 1 0;min-width:0}@media (max-width: 1100px){#parse-verify-overlay .pv-modal-layout{grid-template-columns:minmax(0,1fr)}#parse-verify-overlay .pv-aside{display:none}#parse-verify-overlay .pv-mobile-compare{display:block}}@media (max-width: 820px){#parse-verify-overlay{padding:0}#parse-verify-overlay .pv-card{width:100%;height:100vh;max-height:none;border-radius:0}#parse-verify-overlay .pv-main{padding:3.5rem .9rem .9rem}#parse-verify-overlay .pv-modal-close{top:.7rem;right:.7rem;width:2.3rem;height:2.3rem}#parse-verify-overlay .pv-tabs,#parse-verify-overlay .pv-overview-grid,#parse-verify-overlay .pv-fields-grid,#parse-verify-overlay .pv-profile-fields,#parse-verify-overlay .pv-scale-row,#parse-verify-overlay .pv-table-head,#parse-verify-overlay .pv-table-row,#parse-verify-overlay .pv-table-head--assignments,#parse-verify-overlay .pv-table-row--assignments{grid-template-columns:minmax(0,1fr)}#parse-verify-overlay .pv-tab{align-items:flex-start}#parse-verify-overlay .pv-tab__status{font-size:.76rem}#parse-verify-overlay .pv-table-head{display:none}#parse-verify-overlay .pv-table-row,#parse-verify-overlay .pv-table-row--assignments{padding:.82rem;border-radius:.9rem;border:1px solid var(--theme-border-subtle);background:var(--theme-surface-elevated)}#parse-verify-overlay .pv-section-head-actions{justify-content:flex-start;margin-left:0}#parse-verify-overlay .pv-section-card[data-section=grading] .pv-table-row .pv-field-label{display:block}#parse-verify-overlay .pv-table-footer,#parse-verify-overlay .pv-footer,#parse-verify-overlay .pv-skip-confirm,#parse-verify-overlay .pv-skip-confirm-actions{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion: reduce){#parse-verify-overlay,#parse-verify-overlay .pv-modal-close,#parse-verify-overlay .pv-tab,#parse-verify-overlay .pv-action-btn,#parse-verify-overlay .pv-inline-btn,#parse-verify-overlay .pv-detail-toggle,#parse-verify-overlay .pv-remove-btn,#parse-verify-overlay .pv-text-btn,#parse-verify-overlay .pv-secondary-btn,#parse-verify-overlay .pv-primary-btn{transition:none}}@media (max-width: 1100px){#app-view #grade-sheet-view .components-grid{grid-template-columns:1fr}}@media (max-width: 980px){#app-view #grade-sheet-view .grade-layout{grid-template-columns:1fr}#app-view #grade-sheet-view .chart-box canvas{max-width:220px}#app-view #profile-view .profile-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){#app-view #profile-view .profile-overview-grid{grid-template-columns:1fr}#app-view #profile-view .asset-source-actions{justify-content:flex-start}#app-view #profile-view .asset-source-row{grid-template-columns:1fr}#app-view #profile-view .asset-source-editor{align-items:stretch}#app-view #profile-view .asset-actions{grid-template-columns:1fr}#app-view #profile-view .policy-summary-preview{max-width:45%}#app-view #profile-view .kv-row{grid-template-columns:1fr;gap:.18rem}}@media (max-width: 768px){body.sb-grade-view-active{overflow:hidden}#app-view #calendar-view,#app-view #grade-sheet-view,#app-view #profile-view{--app-view-width-scale: 1;--app-view-density: 1;padding:.86rem;border-radius:.86rem}#app-view #grade-sheet-view{overflow-y:scroll;scroll-snap-type:y mandatory;height:100dvh;padding:0;border-radius:0}#app-view #grade-sheet-view .components-grid{grid-template-columns:1fr}#app-view #grade-sheet-view .inputs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#app-view #grade-sheet-view .stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.36rem}#app-view #grade-sheet-view .chart-box{min-height:150px}#app-view #grade-sheet-view .chart-box canvas{max-width:100%}#app-view #profile-view .section-card{padding:.74rem}#app-view #profile-view .kv-row{grid-template-columns:1fr;gap:.16rem;padding:.3rem .36rem}#app-view #profile-view .kv-label{font-size:.65rem}#app-view #profile-view .kv-value{font-size:.84rem}}[data-theme=light] #app-view #calendar-view .event-type-badge,[data-theme=light] #app-view #calendar-legacy-shell #calendar-view .event-type-badge{border-color:color-mix(in oklab,var(--badge-color, var(--theme-event-other)) 54%,var(--theme-mix-base));background:color-mix(in oklab,var(--badge-color, var(--theme-event-other)) 24%,var(--theme-surface-elevated, var(--theme-mix-base)));color:color-mix(in oklab,var(--badge-color, var(--theme-event-other)) 74%,#10233a)}[data-theme=light] #app-view #calendar-view .filter-chip,[data-theme=light] #app-view #calendar-view .agenda-jump-btn,[data-theme=light] #app-view #calendar-view .calendar-mobile-mode-btn.active,[data-theme=light] #app-view #calendar-view .filters-toggle-count{border-color:color-mix(in oklab,var(--theme-primary) 34%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 15%,var(--theme-surface-elevated, var(--theme-mix-base)))}[data-theme=light] #app-view #calendar-view #calendar-grid .day-event-chip,[data-theme=light] #app-view #calendar-view #calendar-grid .day-event-dot-slot{border-color:color-mix(in oklab,var(--theme-primary) 24%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 10%,var(--theme-surface-elevated, var(--theme-mix-base)))}[data-theme=light] #app-view #grade-sheet-view .grade-course-badge,[data-theme=light] #app-view #profile-view .profile-course-badge{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=light] #app-view #grade-sheet-view .grades-pill--good,[data-theme=light] #app-view #grade-sheet-view .grades-pill--mid,[data-theme=light] #app-view #grade-sheet-view .grades-pill--poor,[data-theme=light] #app-view #grade-sheet-view .grades-scale-flag,[data-theme=light] #app-view #grade-sheet-view .grades-complete-chip{box-shadow:inset 0 1px #ffffff73}[data-theme=light] #app-view #profile-view .kv-value-badge,[data-theme=light] #app-view #profile-view .office-hours-badge{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=light] #app-view #profile-view .policy-badge--danger{border-color:color-mix(in oklab,#dc2626 56%,var(--theme-mix-base))!important;background:color-mix(in oklab,#dc2626 18%,var(--theme-surface-elevated, var(--theme-mix-base)))!important;color:color-mix(in oklab,#b91c1c 88%,var(--theme-on-bg))!important}[data-theme=light] #app-view #profile-view .policy-badge--warning{border-color:color-mix(in oklab,#ea580c 56%,var(--theme-mix-base))!important;background:color-mix(in oklab,#ea580c 18%,var(--theme-surface-elevated, var(--theme-mix-base)))!important;color:color-mix(in oklab,#c2410c 88%,var(--theme-on-bg))!important}[data-theme=light] #app-view #profile-view .policy-badge--success{border-color:color-mix(in oklab,#16a34a 56%,var(--theme-mix-base))!important;background:color-mix(in oklab,#16a34a 18%,var(--theme-surface-elevated, var(--theme-mix-base)))!important;color:color-mix(in oklab,#166534 88%,var(--theme-on-bg))!important}[data-theme=light] #app-view #profile-view .asset-item-type{border-color:color-mix(in oklab,var(--theme-primary) 32%,var(--theme-mix-base));background:color-mix(in oklab,var(--theme-primary) 18%,var(--theme-surface-elevated, var(--theme-mix-base)))}[data-theme=light] #app-view #profile-view .asset-item-type--syllabus{background:color-mix(in oklab,#38bdf8 24%,var(--theme-surface-elevated, var(--theme-mix-base)));border-color:color-mix(in oklab,#38bdf8 50%,var(--theme-mix-base))}[data-theme=light] #app-view #profile-view .asset-item-type--textbook{background:color-mix(in oklab,var(--theme-primary) 18%,var(--theme-surface-elevated, var(--theme-mix-base)));border-color:color-mix(in oklab,var(--theme-primary) 38%,var(--theme-mix-base))}[data-theme=light] #app-view #profile-view .asset-item-type--format,[data-theme=light] #app-view #profile-view .asset-item-type--count{border-color:color-mix(in oklab,var(--theme-on-bg) 18%,var(--theme-surface-elevated, var(--theme-mix-base)))}[data-theme=light] #app-view #grade-sheet-view .grades-metric{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-metric__label{color:color-mix(in oklab,var(--theme-on-primary) 72%,transparent);opacity:1}[data-theme=light] #app-view #grade-sheet-view .grades-metric__value{color:var(--theme-on-primary)}[data-theme=light] #app-view #grade-sheet-view .grades-metric .grades-pill--good{background:#34d39933;border-color:#34d39966;color:#4ade80}[data-theme=light] #app-view #grade-sheet-view .grades-metric .grades-pill--mid{background:#fbbf2433;border-color:#fbbf2466;color:#fbbf24}[data-theme=light] #app-view #grade-sheet-view .grades-metric .grades-pill--poor{background:#f8717133;border-color:#f8717166;color:#f87171}[data-theme=light] #app-view #grade-sheet-view .legend-item{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=light] #app-view #grade-sheet-view .grades-accordion__item{border-color:color-mix(in oklab,var(--theme-primary) 38%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-accordion__header{background:var(--theme-cta-bg);border-radius:.82rem .82rem 0 0}[data-theme=light] #app-view #grade-sheet-view .grades-accordion__title h4,[data-theme=light] #app-view #grade-sheet-view .grades-accordion__weight,[data-theme=light] #app-view #grade-sheet-view .grades-accordion__score-label,[data-theme=light] #app-view #grade-sheet-view .grades-accordion__score-pct,[data-theme=light] #app-view #grade-sheet-view .grades-accordion__progress-text,[data-theme=light] #app-view #grade-sheet-view .grades-accordion__excluded-count{color:var(--theme-on-primary)}[data-theme=light] #app-view #grade-sheet-view .grades-accordion__body{border-top-color:color-mix(in oklab,var(--theme-primary) 28%,var(--theme-mix-base))}[data-theme=light] #app-view #calendar-view #calendar-grid .calendar-day-header{background:var(--theme-cta-bg);border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base));color:var(--theme-on-primary)}[data-theme=light] #app-view #grade-sheet-view .grades-pill--good{background:color-mix(in oklab,#059669 22%,var(--theme-surface-1));border-color:color-mix(in oklab,#059669 48%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-pill--mid{background:color-mix(in oklab,#d97706 22%,var(--theme-surface-1));border-color:color-mix(in oklab,#d97706 48%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-pill--poor{background:color-mix(in oklab,#dc2626 22%,var(--theme-surface-1));border-color:color-mix(in oklab,#dc2626 48%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-complete-chip{background:color-mix(in oklab,#059669 22%,var(--theme-surface-1));border-color:color-mix(in oklab,#059669 44%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-scale-flag{background:color-mix(in oklab,#f59e0b 18%,var(--theme-surface-1));border-color:color-mix(in oklab,#f59e0b 50%,var(--theme-mix-base));color:color-mix(in oklab,#b45309 90%,var(--theme-on-bg))}[data-theme=light] #app-view #grade-sheet-view .grades-scale-flag__icon{background:#f59e0b2e}[data-theme=light] #app-view #grade-sheet-view .grades-scale-tooltip{background:var(--theme-surface-2);border-color:color-mix(in oklab,#f59e0b 30%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-scale-tooltip__row{border-color:color-mix(in oklab,var(--theme-on-bg) 12%,var(--theme-mix-base));background:var(--theme-surface-1)}[data-theme=light] #app-view #grade-sheet-view .grades-accordion__track-tooltip{background:var(--theme-surface-2);border-color:color-mix(in oklab,var(--theme-primary) 28%,var(--theme-mix-base))}[data-theme=light] #app-view #grade-sheet-view .grades-accordion__track-metric{border-color:color-mix(in oklab,var(--theme-primary) 16%,var(--theme-mix-base));background:var(--theme-surface-1)}[data-theme=light] #app-view #grade-sheet-view .grades-accordion__track-metric--ungraded strong{color:#475569}[data-theme=light] #app-view #profile-view .week-calendar-day{border-color:color-mix(in oklab,var(--theme-on-bg) 22%,var(--theme-mix-base))}[data-theme=light] #app-view #profile-view .week-calendar-day--weekend{border-color:color-mix(in oklab,var(--theme-on-bg) 12%,var(--theme-mix-base))}[data-theme=light] #app-view #profile-view .asset-item-type--format,[data-theme=light] #app-view #profile-view .asset-item-type--count{border-color:var(--theme-border-soft)}#mobile-nav-bar{display:none}@media (max-width: 768px){#mobile-nav-bar{display:flex;align-items:center;justify-content:center;position:relative;height:48px}#mobile-tabbar{position:absolute;left:50%;transform:translate(-50%);width:calc(100vw - 1.5rem)!important;display:flex!important;align-items:center;gap:.35rem;background:var(--theme-surface-secondary)!important;border:1px solid var(--theme-border-subtle)!important;box-shadow:var(--theme-shadow-sm)!important;padding:.28rem!important;border-radius:999px!important;backdrop-filter:none!important}.mobile-profile-tab-group{display:flex;flex:2 1 0;min-width:0;gap:.15rem;border-left:1px solid var(--theme-border-subtle);padding-left:.35rem;margin-left:.05rem}.mobile-tab-btn{flex:1 1 0;min-width:0;min-height:unset!important;padding:.38rem .75rem!important;border-radius:999px!important;background-color:transparent!important;border:1px solid transparent!important;color:var(--theme-text-muted)!important;font-size:.72rem!important;font-weight:800!important;letter-spacing:.035em!important;text-transform:uppercase!important;white-space:nowrap;cursor:pointer;transition:background-color var(--theme-transition),border-color var(--theme-transition),color var(--theme-transition),box-shadow var(--theme-transition)}.mobile-tab-btn.is-active{background:var(--theme-cta-bg)!important;color:var(--theme-on-primary)!important;border-color:color-mix(in oklab,var(--theme-primary) 48%,var(--theme-mix-base))!important;box-shadow:var(--theme-cta-shadow)!important}#mobile-tabbar .mobile-profile-subtab{padding:.3rem .2rem!important;font-size:.62rem!important;letter-spacing:.04em!important}#mobile-tabbar.has-course-switch:before{content:"";position:absolute;top:-4px;left:0;right:0;height:4px;background:linear-gradient(to bottom,rgba(99,102,241,.12),transparent);border-radius:999px 999px 0 0;pointer-events:none}#mobile-tabbar.has-course-switch:after{content:"";position:absolute;bottom:-4px;left:0;right:0;height:4px;background:linear-gradient(to top,rgba(99,102,241,.12),transparent);border-radius:0 0 999px 999px;pointer-events:none}#mobile-tabbar .tab-course-arrows{display:none;position:absolute;right:-1.4rem;top:50%;transform:translateY(-50%);flex-direction:column;align-items:center;opacity:.45}#mobile-tabbar.has-course-switch .tab-course-arrows{display:flex}#mobile-tabbar .tab-course-arrows span{font-size:.5rem;color:var(--theme-primary);line-height:1.1}}.app-topbar-upload-btn,.app-topbar-gear-btn,.app-topbar-mobile-signout-btn{display:none}@media (max-width: 768px){#app-topbar{display:flex!important;flex-direction:row;align-items:center;gap:.5rem}.app-topbar-brand{flex:1}#app-topbar-menu-btn,#app-topbar-menu-panel{display:none!important}.app-topbar-upload-btn{display:inline-flex;align-items:center;gap:.3rem;background:var(--theme-surface-secondary);border:1px solid var(--theme-border-subtle);border-radius:.4rem;padding:.3rem .65rem;font-size:.72rem;font-weight:600;color:var(--theme-text-muted);cursor:pointer}.app-topbar-gear-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:.4rem;background:var(--theme-surface-secondary);border:1px solid var(--theme-border-subtle);color:var(--theme-text-muted);text-decoration:none;flex-shrink:0}.app-topbar-mobile-signout-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:.4rem;background:var(--theme-surface-secondary);border:1px solid var(--theme-border-subtle);color:var(--theme-text-muted);cursor:pointer;flex-shrink:0}}@media (max-width: 768px){#app-view #calendar-view,#app-view #grade-sheet-view,#app-view #profile-view{--app-view-stage-width: 100vw;max-width:100%!important;width:100%!important;box-sizing:border-box}.view-panel{position:relative}.view-panel{transition:transform .22s ease-out,opacity .22s ease-out}.view-panel.is-exiting-left{transform:translate(-100%);opacity:0;pointer-events:none}.view-panel.is-exiting-right{transform:translate(100%);opacity:0;pointer-events:none}.view-panel.is-entering-left{transform:translate(-100%);opacity:0}.view-panel.is-entering-right{transform:translate(100%);opacity:0}html.capacitor #view-content{perspective:1200px;transform-style:preserve-3d}html.capacitor .view-panel{transform-style:preserve-3d;backface-visibility:hidden}html.capacitor .view-panel.is-exiting-left{transform-origin:left center;transform:translate(-15%) rotateY(28deg);opacity:0}html.capacitor .view-panel.is-exiting-right{transform-origin:right center;transform:translate(15%) rotateY(-28deg);opacity:0}html.capacitor .view-panel.is-entering-left{transform-origin:right center;transform:translate(-15%) rotateY(-28deg);opacity:0}html.capacitor .view-panel.is-entering-right{transform-origin:left center;transform:translate(15%) rotateY(28deg);opacity:0}@media (prefers-reduced-motion: reduce){.view-panel{transition:none!important}html.capacitor #view-content{perspective:none}html.capacitor .view-panel.is-exiting-left,html.capacitor .view-panel.is-exiting-right,html.capacitor .view-panel.is-entering-left,html.capacitor .view-panel.is-entering-right{transform:none!important;opacity:1!important}}.view-panel.is-exiting-left,.view-panel.is-exiting-right{display:block!important;position:absolute;top:0;left:0;right:0;z-index:2;pointer-events:none;overflow:hidden}.view-panel[data-swipe-right]:after{content:"";position:absolute;top:0;right:0;bottom:0;width:28px;background:linear-gradient(to left,rgba(99,102,241,.12),transparent);pointer-events:none;z-index:10}.view-panel[data-swipe-left]:before{content:"";position:absolute;top:0;left:0;bottom:0;width:28px;background:linear-gradient(to right,rgba(99,102,241,.12),transparent);pointer-events:none;z-index:10}.view-panel[data-swipe-left-boundary]:before{content:"";position:absolute;top:0;left:0;bottom:0;width:28px;background:linear-gradient(to right,rgba(160,80,255,.11),transparent);pointer-events:none;z-index:10}.mobile-course-chip{display:flex;align-items:center;gap:.3rem;background:var(--theme-surface-secondary);border:1px solid var(--theme-border-subtle);border-radius:999px;padding:.22rem .65rem;font-size:.72rem;font-weight:700;color:var(--theme-text-strong);cursor:pointer;white-space:nowrap}.mobile-course-chip svg{color:var(--theme-text-muted);flex-shrink:0}.mobile-course-chip-row{display:flex;justify-content:flex-end;padding:.25rem .75rem 0}#workspace-section{grid-template-columns:minmax(0,1fr)}#app-container.is-upload-mode #view-content,#app-container.is-upload-mode #data-section,#app-container.is-upload-mode #mobile-nav-bar,#app-container.is-upload-mode #dashboard-banner{display:none!important}#app-container.is-upload-mode #scan-workspace,#app-container.is-upload-mode #scan-workspace #scan-details{display:block!important}#app-container.is-upload-mode #app-topbar-upload-btn .upload-icon{display:none}#app-container.is-upload-mode #app-topbar-upload-btn .home-icon{display:inline}#app-container.is-upload-mode #app-topbar-upload-btn .upload-btn-label,#app-topbar-upload-btn .home-icon{display:none}#app-topbar-upload-btn .upload-icon{display:inline}}#profile-view .profile-back-btn,#profile-view .profile-swipe-hint,#profile-view .profile-course-title{display:none}@media (max-width: 768px){@keyframes profileHintFadeOut{0%{opacity:1}60%{opacity:1}to{opacity:0;pointer-events:none}}#app-view #profile-view .profile-overview-grid{display:block!important}#profile-view .profile-back-btn{display:inline-flex;align-items:center;gap:.2rem;flex-shrink:0;padding:.28rem .68rem;border-radius:999px;border:1px solid var(--theme-border-soft, var(--theme-chip-border));background:var(--theme-surface-secondary, var(--theme-chip-bg));color:var(--theme-text-strong);font-size:.72rem;font-weight:700;cursor:pointer;white-space:nowrap;transition:background-color var(--theme-transition, .15s ease),border-color var(--theme-transition, .15s ease)}#profile-view .profile-back-btn:active{background:color-mix(in oklab,var(--theme-primary) 14%,var(--theme-mix-base))}#profile-view .profile-swipe-hint{display:block;margin:0 0 .5rem;font-size:.68rem;font-weight:600;color:var(--theme-text-muted);text-align:center;animation:profileHintFadeOut 2.4s ease forwards;pointer-events:none}#app-view #profile-view .profile-intro{display:flex;flex-direction:row;align-items:center;gap:.5rem;flex-wrap:nowrap;padding:0;margin-bottom:.5rem;border:none;background:transparent;box-shadow:none}#app-view #profile-view .profile-intro .profile-intro-copy{display:block;flex:1 1 0;min-width:0}#app-view #profile-view .profile-intro .profile-intro-copy h2{margin:0;font-size:1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#app-view #profile-view .profile-intro .profile-intro-copy .panel-subtitle{display:none}#app-view #profile-view .profile-intro .mobile-course-chip-row{padding:0;flex-shrink:0;justify-content:flex-end}#app-view #profile-view .profile-header{display:none}#profile-view .profile-course-title{display:block;font-size:.82rem;font-weight:700;color:var(--theme-text-strong);text-align:center;margin:0 0 .4rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 .5rem}#app-view #profile-view .section-card{max-height:calc(100dvh - 240px);overflow-y:auto}#app-view #profile-view .section-card{box-shadow:0 4px 20px #0000001f;border-radius:1rem;transition:transform .22s ease-out,opacity .22s ease-out}#app-view #profile-view .section-card.is-card-exiting-left{transform:translate(-100%) scale(.96);opacity:0;pointer-events:none}#app-view #profile-view .section-card.is-card-exiting-right{transform:translate(100%) scale(.96);opacity:0;pointer-events:none}#app-view #profile-view .section-card.is-card-entering{transform:translate(100%) scale(.96);opacity:0}#app-view #profile-view .section-card.is-card-entering-left{transform:translate(-100%) scale(.96);opacity:0}#app-view #profile-view .section-card.is-card-entering-right{transform:translate(100%) scale(.96);opacity:0}#app-view #profile-view .assets-card{order:10;margin-top:1rem}}@media (max-width: 768px){#app-view #calendar-view{--calendar-day-panel-max-height: 18rem;--calendar-weekday-header-height: 2rem;--calendar-weekday-font-size: .68rem;--calendar-day-number-size: .72rem;--calendar-grid-gap: .28rem;--calendar-grid-width: 100%}#app-view #calendar-view .calendar-workspace{overflow-x:hidden}#app-view #calendar-view .calendar-grid-wrap,#app-view #calendar-view .calendar-month-wrap,#app-view #calendar-view .calendar-month-content{width:100%;min-width:0;max-width:100%}#app-view #calendar-view .calendar-grid{width:100%;min-width:0}#app-view #calendar-view .calendar-grid-row{grid-template-columns:repeat(7,minmax(0,1fr));width:100%;min-width:0}#app-view #calendar-view .calendar-grid-row:not(.calendar-grid-row--header){height:auto;min-height:40px;max-height:52px}#app-view #calendar-view #calendar-grid .calendar-day{min-height:40px;max-height:52px}#app-view #calendar-view .agenda-range-heading{margin:0 0 .35rem;font-size:.9rem;font-weight:700;color:var(--theme-text-strong)}}#app-shell[data-astro-cid-mnwxwo2t]{min-height:100vh;padding:1rem 0 2.5rem;background:linear-gradient(180deg,color-mix(in oklab,var(--theme-app-shell-bg-top, var(--theme-bg)) 94%,var(--theme-mix-base)),color-mix(in oklab,var(--theme-surface-1) 26%,var(--theme-app-shell-bg-top, var(--theme-bg))) 36%,var(--theme-app-shell-bg-bottom, var(--theme-bg))),radial-gradient(circle at top center,color-mix(in oklab,var(--theme-primary) 10%,transparent),transparent 42%)}.app-shell__inner[data-astro-cid-mnwxwo2t]{width:min(var(--layout-width-app-shell, 1320px),calc(100% - var(--layout-gutter, 2rem)));margin:0 auto}@media (max-width: 768px){#app-shell[data-astro-cid-mnwxwo2t]{padding:.5rem 0 1.6rem}.app-shell__inner[data-astro-cid-mnwxwo2t]{width:100%}}
