:root{font-family:var(--font-family);--font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d3430;--surface:#fff;--muted:#687c77;--border:#dbe5df;--green:#007b58;--soft:#e7f4ed;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#f1f5f3}:root[data-theme=dark]{color:#e6efeb;--surface:#1d2d27;--muted:#a4b7af;--border:#354a40;--green:#47c698;--soft:#263e32;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background:#14201d}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}code,kbd,samp,pre{font-family:inherit}button,select,.import{cursor:pointer}button{border:1px solid var(--border);background:var(--surface);color:inherit;border-radius:8px;padding:8px 12px}button:hover{border-color:var(--green);background:var(--soft)}button:disabled{opacity:.4;cursor:default}input,select{border:1px solid var(--border);background:var(--surface);color:inherit;border-radius:8px;min-width:0;padding:8px}input[type=checkbox]{accent-color:var(--green)}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:2px;outline:3px solid #8ccdb5}header{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:20px 32px;display:flex}.brand{align-items:center;gap:12px;font-size:20px;display:flex}.mark{color:#fff;background:#00865d;border-radius:12px;place-items:center;width:44px;height:44px;font-weight:700;display:grid}.brand small{color:var(--muted);margin-top:3px;font-size:12px;display:block}.header-actions,.actions{flex-wrap:wrap;gap:8px;display:flex}.status{color:var(--muted);justify-content:space-between;gap:12px;padding:12px 32px;font-size:12px;display:flex}.import{color:var(--green);font-weight:600}.import input{display:none}.layout{grid-template-columns:330px minmax(0,1fr);gap:22px;max-width:1800px;margin:auto;padding:10px 32px 32px;display:grid}.panel,.course{background:var(--surface);border:1px solid var(--border);border-radius:14px}.panel{padding:20px}.search h2{margin-top:0}.search>input{width:100%;margin-bottom:10px}.search label{font-size:13px;display:block}.search>small{color:var(--muted);margin-top:10px;display:block}.results{max-height:1050px;margin-top:12px;overflow:auto}.course{margin-bottom:10px;overflow:hidden}.course-heading{text-align:left;border:0;border-radius:0;justify-content:space-between;gap:8px;width:100%;padding:16px;display:flex}.course-heading small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.course-heading>span{white-space:nowrap;font-size:12px}.course-heading b{margin-left:8px}.plan-btn{color:var(--green);margin:0 14px 12px;font-size:12px}.section{border-top:1px solid var(--border);padding:14px}.section.chosen{background:var(--soft)}.section p{margin:8px 0;font-size:13px}.section small{color:var(--muted);margin:5px 0;font-size:11px;display:block}.section>button{margin-top:6px;font-size:12px}.section-top{justify-content:space-between;align-items:center;display:flex}.badge{color:#555;background:#eee;border-radius:20px;padding:3px 8px;font-size:10px}.badge.open{color:#187141;background:#dcf5e6}.badge.closed{color:#9a4017;background:#ffe8dc}h1{letter-spacing:-.7px;margin:0 0 6px;font-size:25px}h2{margin:0 0 12px;font-size:15px}h3{font-size:18px}.title-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.title-row p{color:var(--muted);margin:0;font-size:13px}.primary{color:#fff;background:#007b58;border-color:#007b58;font-weight:600}.primary:hover{color:#fff;background:#006245}.preferences{flex-wrap:wrap;align-items:center;gap:14px;margin-top:20px;font-size:12px;display:flex}.preferences label{align-items:center;gap:7px;display:flex}.preferences input[type=time]{width:110px}.calendar-panel{margin:18px 0;padding:0;overflow:hidden}.calendar-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:14px 20px;font-weight:600;display:flex}.calendar-scroll{overflow:auto}.calendar{grid-template-columns:48px repeat(7,minmax(90px,1fr));min-width:720px;display:grid}.day-head{text-align:center;background:var(--surface);border-bottom:1px solid var(--border);height:42px;padding:12px;font-size:12px;font-weight:600}.day-body{border-left:1px solid var(--border);position:relative}.grid-hour{border-bottom:1px solid var(--border);background:linear-gradient(transparent 29px,var(--border) 30px,transparent 31px);height:60px}.hour{text-align:right;height:60px;color:var(--muted);padding:4px 8px;font-size:11px}.event{color:#fff;text-align:left;border:0;border-radius:6px;min-height:22px;padding:4px 6px;font-size:10px;position:absolute;left:3px;right:3px;overflow:hidden;box-shadow:0 1px 3px #0002}.event:hover{filter:brightness(1.1);color:#fff}.event span,.event b{display:block}.event b{font-size:11px}.bottom-grid{grid-template-columns:1.2fr 1fr;gap:18px;display:grid}.selected-row{border-bottom:1px solid var(--border);align-items:center;gap:8px;padding:10px 0;font-size:12px;display:flex}.selected-row>div{flex:1}.selected-row small{color:var(--muted);margin-top:3px;display:block}.selected-row>span:first-child:not(.dot){flex:1}.selected-row button{padding:5px 8px;font-size:11px}.dot{border-radius:50%;flex-shrink:0;width:8px;height:8px}.active{color:var(--green);background:var(--soft)}.actions{margin:14px 0}.actions button{font-size:11px}.actions input{max-width:160px;font-size:12px}.busy-form{flex-wrap:wrap;gap:5px;margin-bottom:8px;display:flex}.busy-form input{width:95px;font-size:12px}.busy-form select{font-size:12px}.bottom-grid h2:not(:first-child){margin-top:22px}.muted{color:var(--muted);font-size:12px;line-height:1.6}.empty{padding:20px;line-height:1.6}.empty code{font-size:12px}.notice,.conflicts{background:var(--soft);border-radius:10px;margin:0 32px 12px;padding:12px 18px;font-size:13px}.notice{justify-content:space-between;align-items:center;display:flex}.notice button{background:0 0;border:0;padding:0 5px}.conflicts{color:#873b19;background:#fff0e7;margin:16px 0;line-height:1.7}.alternatives{align-items:center;gap:12px;margin-top:16px;font-size:12px;display:flex}.plan-tags{flex-wrap:wrap;align-items:center;gap:7px;margin:18px 0;font-size:12px;display:flex}.plan-tags button{font-size:11px}footer{text-align:center;color:var(--muted);padding:20px;font-size:11px}@media (width<=1050px){.bottom-grid{grid-template-columns:1fr}.layout{grid-template-columns:290px minmax(0,1fr);padding:10px 16px}.title-row{flex-direction:column;align-items:flex-start}header{padding:16px}.status{padding:12px 16px}}@media (width<=1000px){.layout{grid-template-columns:1fr}.results{max-height:380px}.brand{font-size:15px}.header-actions{gap:4px}header{gap:8px;padding:12px}.mark{width:32px;height:32px}.status{flex-wrap:wrap}.preferences{gap:8px}h1{font-size:22px}.notice{margin:0 16px 12px}}@media print{header,.status,aside,.controls,.bottom-grid,.plan-tags,footer,.notice,.conflicts,.calendar-head button{display:none!important}.layout{padding:0;display:block}.calendar-panel{border:none;margin:0}.calendar-scroll{overflow:visible}.calendar{min-width:0}.event{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.course-tools{flex-wrap:wrap;gap:6px;padding:0 14px 12px;display:flex}.course-tools button{font-size:11px}.drag-handle{touch-action:none;cursor:grab}.drag-handle:active{cursor:grabbing}.component-picker{border-top:1px solid var(--border);padding:12px 14px}.component-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.component-options{flex-direction:column;gap:6px;max-height:260px;display:flex;overflow:auto}.component-choice{text-align:left;padding:10px;font-size:12px}.component-choice small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.component-choice.picked{border-color:var(--green);background:var(--soft)}.component-choice .badge{float:right}.course.focused{border-color:var(--green)}.preview-event{z-index:3;touch-action:none;background:color-mix(in srgb,var(--surface) 82%,#62dba2)!important;color:var(--green)!important;box-shadow:none!important;border:2px dotted #179469!important}.preview-event:hover{color:var(--green)}.preview-event.snapped{z-index:5;background:var(--soft)!important;border:2px solid #007b58!important;box-shadow:0 0 0 3px #29b17c33!important}.event.drag-source{opacity:.25}.event{touch-action:none}.drag-readout{z-index:100;pointer-events:none;background:var(--surface);border:1px solid var(--green);border-radius:10px;max-width:270px;padding:10px 14px;font-size:12px;position:fixed;box-shadow:0 4px 25px #0003}.drag-readout small{color:var(--muted);margin-top:4px;display:block}.preview-toolbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:8px;padding:10px 16px;font-size:12px;display:flex}.preview-toolbar select{max-width:210px;font-size:12px}.preview-toolbar .muted{margin:0}.component-hint{color:var(--muted);padding:0 14px 10px;font-size:11px;line-height:1.5}.calendar-head{flex-wrap:wrap;gap:8px}.schedule-reload{font-size:11px}.event.focused-event{box-shadow:0 0 0 2px var(--green)}@media print{.preview-event,.preview-toolbar,.drag-readout{display:none!important}}:root{color:#202735;--surface:#fff;--muted:#566174;--border:#d8dde7;--soft:#edf7f2;--green:#007a50;background:#f4f5f8}:root[data-theme=dark]{color:#f0f2f8;--surface:#1b202c;--muted:#b2bacb;--border:#394253;--soft:#203b34;--green:#59d5a4;background:#10131b}a{color:var(--green)}button,input,select{transition:background-color .16s,border-color .16s,box-shadow .16s}button:active{transform:translateY(1px)}summary{cursor:pointer;padding:12px 0;font-size:13px;font-weight:600}.advanced label{margin:12px 0;line-height:1.6}.advanced label:not(:has(input[type=checkbox])){flex-wrap:wrap;justify-content:space-between;gap:8px;display:flex}.advanced small{color:var(--muted);line-height:1.6;display:block}.location-options{border:0;flex-wrap:wrap;gap:6px;padding:10px 0;display:flex}.location-options legend{font-size:13px}.location-options button{font-size:12px}button[aria-pressed=true],.picked{border-color:var(--green);background:var(--soft);color:var(--green)}.mobile-nav,.mobile-agenda,.mobile-calendar-mode{display:none}.layout{grid-template-columns:280px minmax(0,1fr) 300px;gap:16px;max-width:2100px;padding:12px 20px}.layout>aside,.workspace,.plan-sidebar{min-width:0}.workspace{align-self:start;position:sticky;top:12px}.results{max-height:none}.bottom-grid{flex-direction:column;display:flex}.plan-sidebar{align-self:start}.workspace>.notice{color:var(--muted);background:0 0;margin:10px 0;padding:4px;font-size:11px;display:block}.calendar-scroll{max-height:calc(100dvh - 280px)}.day-head{z-index:8;position:sticky;top:0}.preferences{margin-top:8px}.plan-sidebar .panel{padding:16px}.selected-row>div{overflow-wrap:anywhere;min-width:0}.calendar-head .muted{font-size:11px}.preview-toolbar{background:var(--soft)}.component-choice{font-size:13px}.component-choice small{font-size:12px;line-height:1.5}.course-dialog{border:1px solid var(--border);width:min(900px,94vw);max-height:90dvh;color:inherit;background:var(--surface);border-radius:18px;padding:0;animation:.18s ease-out dialog-enter;box-shadow:0 24px 90px #0005}.course-dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#060d1c88}.dialog-head{background:var(--surface);z-index:2;border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;padding:20px;display:flex;position:sticky;top:0}.dialog-head small{color:var(--muted)}.dialog-body{padding:12px}.course-dialog .component-options{max-height:none;overflow:visible}.course-dialog .component-picker>.component-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.course-dialog .component-options>small,.course-dialog .component-options>label,.course-dialog .component-options>details,.course-dialog .component-options>p{grid-column:1/-1}.professor-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.gpa{color:var(--green);white-space:nowrap;font-size:12px;font-weight:700}.component-choice>button{text-align:left;width:100%;margin-top:8px}.grade-chart{align-items:flex-end;gap:10px;height:112px;margin:12px 0;display:flex}.grade-chart>div{text-align:center;flex:1;font-size:10px}.grade-bar{background:#15976b;border-radius:4px 4px 0 0}.grade-B{background:#558fc6}.grade-C{background:#a994d1}.grade-D{background:#d7a34d}.grade-F{background:#cc7278}.mobile-agenda small{display:block}.course-heading>div{min-width:0}.course-heading small{overflow-wrap:anywhere}.status{flex-wrap:wrap}.mobile-nav button{flex:1}.search input{font-size:16px}.calendar-export p{line-height:1.7}.event{transition:box-shadow .15s,opacity .15s}.notice{overflow-wrap:anywhere}@keyframes dialog-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media (width<=1200px) and (width>=1001px){.layout{grid-template-columns:240px minmax(0,1fr)}.plan-sidebar{grid-column:1/-1}.plan-sidebar .bottom-grid{grid-template-columns:1fr 1fr;display:grid}.workspace{top:8px}.calendar{grid-template-columns:40px repeat(7,minmax(72px,1fr));min-width:550px}}@media (width<=1000px){header{flex-wrap:wrap}.header-actions{justify-content:space-between;width:100%}.mobile-nav{background:var(--surface);z-index:10;gap:6px;padding:8px 12px;display:flex;position:sticky;top:0}.layout{padding:10px 12px;display:block}.layout[data-mobile-view=courses]>.workspace,.layout[data-mobile-view=courses]>.plan-sidebar,.layout[data-mobile-view=week]>aside,.layout[data-mobile-view=plan]>aside:not(.plan-sidebar),.layout[data-mobile-view=plan]>.workspace{display:none}.workspace{position:static}.results{max-height:none}.mobile-calendar-mode{display:block}.mobile-agenda:not([hidden]){padding:16px;display:block}.mobile-agenda>div{border-bottom:1px solid var(--border);padding:12px 0}.mobile-agenda button{text-align:left;width:100%;margin:8px 0;display:block}.mobile-hidden{display:none}.calendar-scroll{max-height:none}.course-dialog{width:96vw;max-height:94dvh}.dialog-head{padding:16px}.dialog-body{padding:0}.course-dialog .component-picker>.component-options{grid-template-columns:1fr}.component-picker{padding:14px}.panel{padding:16px}button,select,.import{min-height:44px}.component-choice,.course-dialog .drag-handle{touch-action:pan-y}.bottom-grid{display:flex}.calendar-head .muted{display:none}.notice{margin:0 12px 10px}.brand{font-size:18px}.status,.preview-toolbar{font-size:11px}.search label{margin:8px 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.mobile-nav,.mobile-agenda,.plan-sidebar,.course-dialog{display:none!important}.workspace{position:static}.calendar-scroll,.mobile-hidden{max-height:none;display:block!important}.layout{display:block}.calendar{min-width:0}}.theme-options{gap:4px;display:flex}.theme-options button{font-size:12px}.course-dialog .component-choice{border:1px solid var(--border);background:var(--surface);border-radius:12px}.course-dialog .component-choice.picked{background:var(--soft)}.preview-components{flex-wrap:wrap;gap:4px;display:flex}.preview-components button{padding:6px 8px;font-size:11px}@media (width<=1000px){.agenda-preview{display:none}.header-actions{align-items:center}.theme-options{margin-left:auto}.calendar-head{padding:12px}}.dialog-head{align-items:center}.dialog-head>button{flex-shrink:0}.course-dialog .course-tools{padding:0 0 12px}.course-dialog .component-picker>.component-options>button{align-self:start}@media (width>=1001px){header{padding:12px 20px}.brand{font-size:18px}.mark{width:36px;height:36px}.status{padding:8px 20px}.layout{height:calc(100dvh - 116px);padding:8px 20px 12px;overflow:hidden}.layout>aside{overscroll-behavior:contain;height:100%;overflow-y:auto}.workspace{flex-direction:column;height:100%;min-height:0;display:flex;position:static}.compact-controls{padding:12px 16px}.compact-controls h1{font-size:19px}.compact-controls .title-row{flex-direction:row;align-items:center}.compact-controls summary{padding:8px 0 0}.workspace>.notice{margin:6px 0;font-size:10px}.calendar-panel{flex-direction:column;flex:1;min-height:0;margin:8px 0 0;display:flex}.calendar-scroll{flex:1;min-height:0;max-height:none}.calendar-head{padding:10px 14px}.layout~footer{display:none}.course-popover{z-index:30;width:280px;max-height:calc(100dvh - 128px);margin:0;position:fixed;top:112px;left:20px;box-shadow:0 6px 25px #0003}.course-popover .dialog-head{gap:8px;padding:12px}.course-popover .dialog-head h2{font-size:14px}.course-popover .dialog-head small{font-size:11px}.course-popover .dialog-body{padding:0}.course-popover .component-picker>.component-options{grid-template-columns:1fr}.course-popover .component-picker{padding:12px}.course-popover .course-tools{gap:6px}.course-popover .course-tools button{font-size:10px}.professor-heading{flex-wrap:wrap}.course-popover .component-choice small,.course-popover .component-options>label{font-size:11px}.course-popover .component-options select{max-width:100%;font-size:11px}}@media (width>=1001px) and (width<=1200px){.layout{grid-template-columns:220px minmax(0,1fr) 230px;gap:10px;padding:8px 12px}.plan-sidebar{grid-column:auto}.plan-sidebar .bottom-grid{display:flex}.calendar{min-width:500px}.course-popover{width:220px;left:12px}.compact-controls .title-row{flex-wrap:wrap}.compact-controls h1{font-size:16px}.calendar-head .muted{display:none}}@media (width<=1000px){.course-popover{z-index:30;border-radius:18px 18px 0 0;width:100vw;max-height:58dvh;margin:0;position:fixed;top:auto;bottom:0;left:0;box-shadow:0 -8px 30px #0003}.course-popover .dialog-head small{display:none}.course-popover .dialog-head{padding:10px 16px}.compact-controls{padding:12px}.compact-controls h1{font-size:18px}.compact-controls .title-row{flex-flow:wrap}.compact-controls .title-row p{font-size:11px}.compact-controls .primary{font-size:12px}.brand small{display:none}.header-actions{width:auto;margin-left:auto}.header-actions select{max-width:145px;font-size:12px}.brand{font-size:14px}.mark{width:28px;height:28px}.status{padding:8px 12px}.mobile-nav{padding:6px 12px}.mobile-agenda{padding:10px!important}.mobile-agenda>div{padding:8px 0}.mobile-agenda h2{margin-bottom:6px}.mobile-agenda button{margin:4px 0;padding:8px 12px}.course-heading.drag-handle,.draggable-course{touch-action:pan-y}}@media print{.layout{height:auto;overflow:visible}.workspace{height:auto;display:block}.calendar-panel{display:block}.course-popover{display:none!important}}.theme-cycle{place-items:center;width:40px;height:40px;padding:8px;display:grid}.professor-history summary{padding:8px 0;font-size:11px}.course-popover .grade-chart{height:94px;margin:6px 0}.course-popover .grade-chart .grade-bar{max-height:60px}.course-popover .comparison-settings label{margin:10px 0;font-size:12px;display:block}.course-popover .comparison-settings select{width:100%;margin-top:4px;display:block}.draggable-course{cursor:grab}.draggable-course:active{cursor:grabbing}@media (width>=1001px){body{overflow:hidden}.layout>aside{scrollbar-gutter:stable}.calendar-head,.preview-toolbar{flex-shrink:0}}.professor-list{padding:0 12px 12px}.professor-card{border-top:1px solid var(--border);padding:12px 0}.professor-line{align-items:center;gap:6px;font-size:13px;display:flex}.professor-line>strong{flex:1;min-width:0;line-height:1.4}.professor-line .gpa{font-size:11px}.grade-toggle{min-width:30px;min-height:30px;color:var(--green);background:0 0;border:0;place-items:center;padding:5px;display:grid}.professor-sections{flex-direction:column;gap:6px;margin-top:8px;display:flex}.professor-section{text-align:left;width:100%;padding:9px 10px;font-size:12px}.professor-section>span{justify-content:space-between;align-items:center;gap:8px;display:flex}.professor-section small{color:var(--muted);margin-top:3px;font-size:11px;line-height:1.5;display:block}.professor-section>span small{margin:0;font-size:10px}.current-professor>.professor-line{color:var(--green)}.grade-detail{background:var(--soft);border-radius:8px;margin-top:8px;padding:10px;font-size:11px}.grade-detail small{color:var(--muted);line-height:1.5;display:block}.grade-detail .grade-chart{height:82px;margin:4px 0 8px}.grade-detail a{margin-top:6px;display:block}.linked-choices{border-left:2px solid var(--green);margin-top:10px;padding-left:10px;font-size:11px}.linked-choices>div>span{margin-bottom:5px;font-weight:600;display:block}.linked-choices>div>div{flex-direction:column;gap:5px;display:flex}.linked-choices button{text-align:left;padding:6px 8px;font-size:11px}.linked-choices small{color:var(--muted);margin-top:3px;display:block}.grade-footnote{border-top:1px solid var(--border);color:var(--muted);padding-top:8px;font-size:10px}.grade-footnote small{line-height:1.5;display:block}.grade-footnote summary{padding:8px 0;font-size:10px}.grade-footnote label{font-size:11px;display:block}.grade-footnote select{max-width:100%;margin:6px 0;font-size:11px;display:block}.grade-footnote a{margin-top:6px;display:block}.grade-footnote>button{margin-top:6px;font-size:10px}@media (width>=1500px){.layout{grid-template-columns:330px minmax(0,1fr) 300px}}@media (width<=1000px){.professor-list{padding:0 14px 14px}.professor-line{font-size:15px}.professor-line .gpa{font-size:12px}.professor-section{font-size:14px}.professor-section small{font-size:12px}.grade-toggle{min-width:44px;min-height:44px}.professor-card{padding:14px 0}.grade-detail,.linked-choices button{font-size:12px}}.course-sort{gap:4px;padding:4px 0 10px;display:flex}.course-sort button{flex:1;padding:5px 8px;font-size:11px}.mobile-brand{display:none}.help-button{width:38px;height:38px;padding:6px;font-weight:700}.header-actions{align-items:center}.preview-context{font-size:11px}.tutorial-dialog{width:min(560px,94vw);max-height:90dvh;color:inherit;background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:0 16px 70px #0005}.tutorial-dialog::backdrop{background:#090e19aa}.tutorial-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.tutorial-dialog ol{padding-left:22px;font-size:14px;line-height:1.6}.tutorial-dialog li{margin:14px 0}.tutorial-dialog .muted{line-height:1.7}.event[data-component=linked]{border-left:3px solid #ffe1a0}.mobile-agenda button[data-component=linked]{border-left:4px solid #bd771d}@media (width<=1000px){header{flex-wrap:nowrap;gap:6px;padding:8px 10px}.brand{white-space:nowrap;flex-shrink:0;gap:6px;font-size:14px}.desktop-brand{display:none}.mobile-brand{display:inline}.header-actions{flex-wrap:nowrap;gap:4px;width:auto;margin-left:auto}.header-actions select{width:125px;padding:6px;font-size:11px}.theme-cycle,.help-button{flex-shrink:0;width:34px;height:40px;min-height:40px;padding:6px}.mark{width:26px;height:26px}.course-sort button{font-size:12px}.tutorial-dialog{padding:18px}}@media (width<=350px){.header-actions select{width:110px}.brand{font-size:12px}.help-button,.theme-cycle{width:30px}.mark{width:24px;height:24px}}@media print{.tutorial-dialog{display:none!important}}.color-dot{border-radius:50%;width:10px;height:10px;margin-right:5px;display:inline-block}.course-color-picker{border-top:1px solid var(--border);background:var(--soft);padding:12px;font-size:11px}.course-color-picker>div{margin-bottom:12px}.course-color-picker small{color:var(--muted);margin-bottom:6px;line-height:1.5;display:block}.color-grid{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.color-grid button{color:#fff;border:2px solid #0000;border-radius:7px;height:30px;min-height:30px;padding:0;font-weight:700}.color-grid button[aria-pressed=true]{border-color:var(--surface);box-shadow:0 0 0 2px var(--green);color:#fff}.color-grid button:hover{filter:brightness(1.15)}@media (width<=1000px){.color-grid button{height:44px;min-height:44px}.calendar-scroll{min-height:280px;max-height:calc(100dvh - 300px)}}@media print{.calendar-scroll{max-height:none;overflow:visible}.color-grid,.course-color-picker{display:none!important}}*{scrollbar-width:thin;scrollbar-color:var(--border) transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--border);border-radius:10px}::-webkit-scrollbar-thumb:hover{background:var(--muted)}.compare-check{cursor:pointer;flex-shrink:0;width:13px;height:13px;margin:0}.compare-actions{gap:5px;margin:8px 0;display:flex}.compare-actions button{font-size:10px}.grade-popover{z-index:50;background:var(--surface);max-height:min(420px,100dvh - 32px);color:inherit;border:1px solid var(--border);border-radius:12px;padding:14px;font-size:12px;animation:.16s ease-out dialog-enter;position:fixed;overflow:auto;box-shadow:0 10px 40px #0004}.grade-popover-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.grade-popover-head button{min-height:30px;padding:4px 8px}.grade-comparison{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;display:grid}.grade-comparison-card{border:1px solid var(--border);border-radius:9px;padding:12px}.grade-comparison-card small{color:var(--muted);margin-top:6px;font-size:11px;line-height:1.5;display:block}.grade-popover .grade-chart{height:86px;margin:4px 0}.grade-popover>a{margin:10px 0 4px;display:block}.grade-popover>.muted{font-size:10px;display:block}.grade-popover .professor-line{flex-wrap:wrap}@media (width<=1000px){.compare-check{width:18px;height:18px}.compare-actions button{font-size:12px}.grade-popover{font-size:13px}.grade-popover-head button{min-height:40px}}.copy-course{color:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:700}.copy-course:hover{text-decoration:underline}.event.preview-event{color:#234237;background:#c3e7d6;border-color:#70ae94}.event.preview-event[data-component=linked]{color:#4c3922;background:#f3dfb8;border-color:#c6a566}.mobile-only,.mobile-nav-icon,.mobile-nav-count{display:none}@media (width<=1000px){body{padding-bottom:calc(78px + env(safe-area-inset-bottom))}.mobile-only{display:block}.mobile-search-hint{color:var(--muted);margin:0 0 14px;font-size:13px;line-height:1.5}.mobile-nav{z-index:40;padding:8px 12px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);gap:8px;position:fixed;inset:auto 0 0;box-shadow:0 -4px 18px #0001}.mobile-nav button{background:0 0;border-color:#0000;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:56px;font-size:12px;display:flex;position:relative}.mobile-nav button[aria-pressed=true]{background:var(--soft);color:var(--green);font-weight:700}.mobile-nav-icon{font-size:24px;line-height:26px;display:block}.mobile-nav-count{background:var(--green);color:var(--surface);border-radius:20px;padding:2px 5px;font-size:10px;display:block;position:absolute;top:2px;right:20%}.layout{padding:10px 12px 16px}.search{padding:18px}.search>input{min-height:48px}.search>h2{font-size:19px}.search>button{font-size:12px}.status{gap:6px;font-size:10px}.status>button{min-height:36px;padding:6px 8px;font-size:10px}.course-heading{padding:18px}.course-heading strong{font-size:18px}.course-sort{background:var(--surface);z-index:2;padding-top:8px;position:sticky;top:0}.course-sort button{min-height:44px}.professor-section{border-radius:12px;padding:14px}.professor-section small{line-height:1.6}.professor-line{gap:10px}.compare-check{width:22px;height:22px}.linked-choices{background:var(--soft);border-left:3px solid #c6a566;border-radius:10px;padding:12px}.linked-choices button{min-height:54px;padding:12px}.course-tools button{flex:1;min-height:44px}.mobile-picked{background:var(--soft);border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.mobile-picked b{font-size:12px}.mobile-picked small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.mobile-picked button{white-space:nowrap;font-size:12px;font-weight:700}.mobile-agenda>div{padding:16px 0}.mobile-agenda h2{font-size:17px}.mobile-agenda button{border-radius:12px;min-height:72px;padding:14px}.mobile-agenda button b{font-size:15px}.mobile-agenda button small{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5}.mobile-empty{border:0!important;padding:20px!important}.mobile-empty p{color:var(--muted);font-size:13px}.mobile-empty button{min-height:48px}.selected-row{padding:14px 0;font-size:14px}.selected-row button{min-height:44px}.busy-form{grid-template-columns:1fr 1fr;display:grid}.busy-form input,.busy-form select{width:100%;min-height:44px;font-size:14px}.bottom-grid .actions{gap:8px}.bottom-grid .actions button{min-height:44px}}@media (width<=600px){.grade-popover{right:12px;bottom:calc(86px + env(safe-area-inset-bottom));border-radius:18px;max-height:60dvh;padding:18px;width:auto!important;top:auto!important;left:12px!important}.grade-comparison{grid-template-columns:1fr}.grade-popover-head{background:var(--surface);z-index:1;padding:10px 0;position:sticky;top:-18px}.grade-comparison-card{padding:14px}}@media print{.mobile-only{display:none!important}}.tams-toggle{border:1px solid var(--border);cursor:pointer;background:var(--surface);white-space:nowrap;border-radius:22px;align-items:center;gap:7px;padding:6px 10px;font-size:12px;display:inline-flex}.tams-toggle:has(input:checked){color:var(--green);background:var(--soft)}.tams-toggle input{opacity:0;width:1px;height:1px;position:absolute}.tams-toggle:focus-within{outline-offset:2px;outline:3px solid #8ccdb5}.switch-track{background:#b8c3bd;border-radius:12px;width:28px;height:16px;position:relative}.switch-track:after{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .12s;position:absolute;top:2px;left:2px}.tams-toggle input:checked+.switch-track{background:#008a4b}.tams-toggle input:checked+.switch-track:after{transform:translate(12px)}.pathway-panel{border-radius:10px;margin-bottom:14px;padding:16px;box-shadow:0 1px 2px #0001}.pathway-panel h2{letter-spacing:.06em;color:var(--muted);margin:0 0 10px;font-size:10px;font-weight:500}.pathway-panel>select{border-radius:5px;width:100%;padding:9px 8px;font-size:12px;display:block}.pathway-panel>.pathway-year{width:auto;max-width:100%;margin-top:6px}.pathway-requirements{margin:9px 0;padding:0;list-style:none}.pathway-requirements li{border-bottom:1px solid var(--border);padding:8px 0;font-size:12px}.pathway-row{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:7px;display:flex}.pathway-row>span{flex:1;min-width:130px}.pathway-row b{font-family:inherit;font-size:11px}.pathway-course-title,.pathway-requirements small{color:var(--muted);font-size:11px;line-height:1.35}.pathway-credits{white-space:nowrap}.pathway-requirements li>small{margin-top:3px;display:block}.pathway-requirements .added-badge{color:var(--green);background:var(--soft);border-radius:12px;padding:3px 7px}.pathway-add{border-radius:5px;width:100%;font-size:12px}.pathway-hint{color:var(--muted);margin:8px 0 0;font-size:11px;line-height:1.35}.pathway-source{color:var(--muted);margin-top:9px;font-size:11px;line-height:1.4}.pathway-source summary{cursor:pointer}.build-dialog{border:1px solid var(--border);background:var(--surface);width:min(470px,100vw - 28px);max-height:calc(100vh - 32px);color:inherit;border-radius:9px;padding:20px 18px 16px;overflow:auto;box-shadow:0 12px 50px #0003}.build-dialog::backdrop{background:#1b2d2377}.build-heading{justify-content:space-between;align-items:center;display:flex}.build-heading h2{margin:0;font-size:18px}.build-heading button{color:var(--muted);background:0 0;border:none;padding:0 5px;font-size:20px}.build-description{color:var(--muted);margin:10px 0 7px;font-size:13px;line-height:1.5}.build-option{border-bottom:1px solid var(--border);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;padding:11px 0;display:flex}.build-option-title{font-size:13px;display:block}.build-option>span>small{color:var(--muted);margin-top:4px;font-size:11px;line-height:1.35;display:block}.build-option input{accent-color:#008a4b;flex-shrink:0;width:16px;height:16px}.filter-badge{border:1px solid var(--border);color:var(--muted);border-radius:9px;margin-left:6px;padding:0 4px;font-size:9px}.build-actions{justify-content:flex-end;gap:8px;margin-top:10px;display:flex}.build-actions button{border-radius:5px;font-size:12px}.build-actions button:first-child{border-color:#0000}.tams-summary{color:#9c322a;background:#fff0ed;border:1px solid #e4b7b2;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding:9px 12px;font-size:12px;display:flex}.rule-count{white-space:nowrap;background:#f9dcd6;border-radius:12px;padding:3px 7px;font-size:11px;font-weight:600}.tams-report{flex-basis:100%;font-size:11px}.tams-report summary{cursor:pointer}.rule-error{color:#b23b35}@media print{.pathway-panel,.tams-summary,.build-dialog{display:none!important}}.pathway-elective{border-radius:5px;width:100%;margin-top:5px;padding:6px 8px;font-size:11px}.tams-summary.clear{background:var(--soft);color:var(--green);border-color:var(--border)}.tams-summary.clear .rule-count{background:var(--surface)}.layout>aside,.workspace{min-width:0}.pathway-panel,.pathway-panel>select{min-width:0;max-width:100%}.pathway-requirements,.plan-tags button,.notice{overflow-wrap:anywhere}.plan-tags button{max-width:100%}.build-dialog,.pathway-panel,.tams-summary{--muted:#5b6e67}:root[data-theme=dark] .build-dialog,:root[data-theme=dark] .pathway-panel,:root[data-theme=dark] .tams-summary.clear{--muted:#b3c6be}.import-dialog{width:min(560px,100vw - 28px)}.import-file,.import-paste{margin:12px 0;font-size:12px;display:block}.import-file input{width:100%;margin-top:6px;display:block}.import-paste textarea{resize:vertical;border:1px solid var(--border);background:var(--surface);width:100%;color:inherit;border-radius:6px;margin-top:6px;padding:8px;font-family:inherit;font-size:11px}.import-preview{margin-top:14px;font-size:12px;line-height:1.45}.import-preview h3{margin:0;font-size:14px}.import-preview h4{margin:12px 0 6px}.import-preview li{overflow-wrap:anywhere;margin:5px 0}.import-warnings{color:var(--muted)}.planner-entry{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.build-dialog{max-width:calc(100vw - 28px)}.compact-tams{border-radius:8px;margin-top:8px;padding:6px 10px;font-size:12px;display:block}.compact-tams>summary{cursor:pointer;align-items:center;gap:8px;list-style:none;display:flex}.compact-tams>summary:after{content:"▾";margin-left:auto}.compact-tams[open]>summary:after{content:"▴"}.compact-tams .tams-report{padding-top:6px;line-height:1.5}.tams-check-trigger{background:var(--surface);color:#b23b35;border-radius:9px;align-items:center;gap:5px;padding:5px 9px;font-weight:700;display:inline-flex}.tams-check-trigger.clear{color:var(--green)}.tams-check-dialog{border:1px solid var(--border);background:var(--surface);width:min(480px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--text);border-radius:16px;padding:22px;overflow:auto;box-shadow:0 18px 65px #0004}.tams-check-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#11182766}.tams-check-dialog h2{margin:0;font-size:20px}.tams-check-dialog h3{font-size:15px}.tams-check-list{padding-left:20px;line-height:1.5}.tams-check-list li+li{margin-top:10px}.event.reserved-event:disabled{opacity:1;cursor:default}
