:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182d48;background:#f5f7fb;font-synthesis:none;--blue:#2459ef;--muted:#66758a;--line:#e4e9f1;--math:#3565d8;--german:#96703d;--science:#16836e;--education:#8053bb}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8fb2ff;outline-offset:3px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}a{color:var(--blue)}.topbar{height:86px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#182d48;font-size:27px;font-weight:760;letter-spacing:-1.2px}.brandmark{background:var(--blue);color:white;border-radius:12px;width:43px;height:44px;text-align:center;font-size:39px;line-height:46px}.brandmark span{color:#b4f29c}.brand small{font-size:12px;letter-spacing:.2px;display:block;font-weight:500;color:var(--muted);margin-top:1px}.topright{display:flex;align-items:center;gap:24px;font-size:14px}.semester{border:1px solid var(--line);padding:9px 14px;border-radius:9px}.local{color:var(--muted);display:flex;align-items:center;gap:8px}.local i{width:6px;height:6px;border-radius:50%;background:#368563}.iconbutton{border:1px solid var(--line);background:white;border-radius:8px;width:32px;height:32px;color:#405774;font-size:19px}.workspace{display:grid;grid-template-columns:310px minmax(0,1fr);max-width:1800px;margin:auto}.sidebar{padding:29px 20px 25px;background:#fff;border-right:1px solid var(--line)}.sideheading{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.sideheading h2{font-size:18px;margin:0;letter-spacing:-.3px}.sideheading h2 span{font-size:12px;background:#edf1f8;padding:3px 7px;border-radius:5px;margin-left:5px;color:#53667c}.preset{font-size:14px;font-weight:650;line-height:1.7;padding:12px 14px;border-radius:9px;background:#f4f6fb}.preset small{display:block;font-size:12px;font-weight:450;color:var(--muted)}.search{display:flex;align-items:center;gap:8px;margin:20px 0 13px;border:1px solid var(--line);border-radius:8px;padding:8px 11px;color:#758397}.search span{font-size:24px}.search input{width:100%;border:0;background:none;font-size:14px;outline:none;min-width:0}.filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:19px}.filters button{border:0;background:transparent;color:var(--muted);padding:6px 8px;border-radius:6px;font-size:13px}.filters button.active{background:#eaf0ff;color:var(--blue);font-weight:650}.course-list{display:flex;flex-direction:column;gap:9px}.coursecard{padding:13px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.coursecard.unselected{background:#f9fafc}.coursetop{display:flex;gap:10px;align-items:start}.coursetop input{accent-color:var(--blue);width:16px;height:16px;margin:3px 0;flex-shrink:0}.coursetop label{font-size:14px;font-weight:590;line-height:1.45;cursor:pointer}.coursemeta{font-size:12px;color:var(--muted);margin:7px 0 0 26px;display:flex;justify-content:space-between;gap:5px;align-items:center}.subject{display:flex;align-items:center;gap:5px}.subject:before{content:'';width:6px;height:6px;border-radius:2px;background:var(--subject)}.coursecard select{display:block;width:calc(100% - 26px);margin:11px 0 0 26px;padding:7px 5px;background:#f7f9fc;border:1px solid var(--line);border-radius:5px;color:#42526a;font-size:12px}.courseinfo{border:0;background:none;padding:0;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}.addcourse{margin:18px 0 12px;width:100%;background:#fff;border:1px dashed #bdcbe0;color:var(--blue);border-radius:8px;padding:12px;font-size:14px}.source-note{font-size:12px;line-height:1.6;color:#7b899c;text-align:center}main{padding:33px 34px;min-width:0}.heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:26px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;color:#7587a1}h1{font-size:32px;letter-spacing:-1.1px;margin:8px 0}p{line-height:1.6}.heading p{color:var(--muted);font-size:14px;margin:0}.actions{display:flex;gap:10px}.button{border-radius:8px;padding:11px 16px;font-size:14px;font-weight:650;border:1px solid transparent;white-space:nowrap}.primary{background:var(--blue);color:#fff;box-shadow:0 3px 5px #2459ef14}.primary:hover{background:#1845c5}.secondary{background:white;border-color:#dce3ee;color:#425675}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:20px}.stat{border:1px solid var(--line);background:#fff;border-radius:10px;padding:18px 20px}.stat:first-child{background:#172e4c;color:white;border-color:#172e4c}.stat-label{font-size:13px;color:#728098}.stat:first-child .stat-label{color:#b8c8df}.stat-value{font-size:28px;font-weight:680;letter-spacing:-.8px;margin-top:9px}.stat-value small{font-size:14px;font-weight:500;letter-spacing:0}.stat-note{font-size:12px;color:#7889a0;margin-top:7px}.stat:first-child .stat-note{color:#c1d1e5}.preferences{display:flex;gap:18px;align-items:end;border:1px solid var(--line);border-radius:10px;background:#fff;padding:15px 17px;margin-bottom:16px;flex-wrap:wrap}.pref-title{align-self:center;display:flex;gap:8px;align-items:center;margin-right:auto;font-size:14px}.sliders{font-size:24px;color:#607493}.preferences label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:var(--muted)}input,select{color:#263e5c}.preferences input,.preferences select{height:32px;border:1px solid var(--line);border-radius:6px;padding:5px 8px;background:#fff;font-size:13px}.preferences input[type=number]{width:56px;border:0;padding-right:0}.unit{display:flex;align-items:center;border:1px solid var(--line);border-radius:6px;height:32px;padding-right:7px;font-size:12px}.textbutton{color:#506989;background:none;border:0;padding:7px 0;font-size:13px}.preferences .textbutton{align-self:center}.alert{padding:14px 17px;display:flex;align-items:start;gap:12px;background:#fff0eb;border:1px solid #f1d3c6;border-radius:9px;margin:12px 0;font-size:14px;line-height:1.5;color:#8d3f28}.alert .alert-icon{border:1px solid currentColor;flex-shrink:0;border-radius:50%;width:19px;height:19px;text-align:center;line-height:17px;margin-top:1px;font-weight:bold}.alert strong{font-weight:650}.alert small{display:block;font-size:12px;margin-top:4px;opacity:.9}.alert button{margin-left:auto;white-space:nowrap;color:inherit;background:none;border:0;text-decoration:underline;text-underline-offset:3px;font-size:13px}.alert.neutral{background:#eef3fb;border-color:#d8e2f2;color:#435e83}.block-chips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.block-chip{font-size:12px;padding:5px 9px;background:#e7edf7;border-radius:5px}.block-chip button{border:0;background:none}.calendar-panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:18px}.calendar-toolbar{padding:14px 18px;display:flex;align-items:center;gap:18px;justify-content:space-between;border-bottom:1px solid var(--line)}.tabs{display:flex;border:1px solid var(--line);border-radius:7px;background:#f5f7fb;padding:3px}.tabs button{border:0;color:#7b889b;background:none;border-radius:5px;padding:6px 14px;font-size:13px}.tabs button[aria-selected=true]{background:#fff;color:#273f62;box-shadow:0 1px 4px #172e4c17;font-weight:600}.weeklabel{font-size:13px;color:#465e7d}.weeklabel span{color:#8c97a8;font-size:12px}.calendar-grid{display:grid;grid-template-columns:48px repeat(var(--days,5),minmax(0,1fr));padding-right:12px}.dayhead{height:66px;text-align:center;padding-top:13px;border-bottom:1px solid var(--line);font-size:14px;font-weight:600}.dayhead small{display:block;font-size:11px;color:#8290a3;font-weight:450;margin-top:5px}.time-axis{position:relative;height:624px}.time-axis span{position:absolute;right:9px;transform:translateY(-6px);font-size:11px;color:#8b98ab}.daycol{position:relative;height:624px;border-left:1px solid #edf0f5;background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#edf0f5 47px,#edf0f5 48px)}.event{position:absolute;left:4px;width:calc(100% - 8px);padding:8px 8px;border:1px solid color-mix(in srgb,var(--subject) 20%,white);border-left:3px solid var(--subject);border-radius:5px;background:color-mix(in srgb,var(--subject) 9%,white);color:#294766;text-align:left;overflow:hidden;display:flex;flex-direction:column;gap:4px}.event:hover{filter:brightness(.97);z-index:4}.event .eventtime{font-size:11px;color:var(--subject);font-weight:600;white-space:nowrap}.event strong{font-size:14px;font-weight:620;line-height:1.35;overflow-wrap:anywhere}.event small{font-size:11px;color:#778495;line-height:1.3}.event.clash{border-color:#d66b50;background:#fff0ea;border-left-color:#ce553d}.event.clash .eventtime{color:#a43f2b}.reserved{position:absolute;left:1px;right:1px;background:repeating-linear-gradient(135deg,#8996ae22,#8996ae22 4px,#fff9 4px,#fff9 8px);border:1px dashed #8392a8;font-size:11px;padding:3px;color:#596b80;pointer-events:none}.home-marker{position:absolute;left:3px;right:3px;border-top:1px dashed #b5c1d4;color:#8491a4;font-size:10px;text-align:right;padding-top:3px;pointer-events:none}.calendar-foot{display:flex;flex-wrap:wrap;gap:18px;padding:14px 18px;border-top:1px solid var(--line);font-size:11px;color:#76869b}.calendar-foot span{display:flex;align-items:center;gap:6px}.dot{width:7px;height:7px;border-radius:2px;background:var(--math)}.german{background:var(--german)}.science{background:var(--science)}.education{background:var(--education)}.bottom-note{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8a96a7;font-size:12px;margin-top:13px}.agenda{padding:8px 22px}.agenda-day{padding:16px 0;border-bottom:1px solid var(--line)}.agenda-day h3{font-size:15px;margin:0 0 10px}.agenda-day h3 small{font-size:12px;font-weight:450;color:#718098;margin-left:8px}.agenda-event{display:flex;gap:18px;padding:9px 10px;margin:5px 0;border-left:3px solid var(--subject);background:#f7f9fc;border-radius:5px;font-size:14px;cursor:pointer}.agenda-event time{font-variant-numeric:tabular-nums;white-space:nowrap;color:#677c99}.agenda-event small{display:block;color:#7b8ba0;font-size:12px;margin-top:4px}.empty{padding:30px;text-align:center;color:#72849b;font-size:14px}dialog{border:0;border-radius:15px;padding:0;max-width:650px;width:calc(100% - 32px);max-height:90vh;box-shadow:0 24px 100px #0b183e40;color:#243b58}dialog::backdrop{background:#10254066;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:start;padding:23px 26px 12px;gap:18px}.dialog-head h2{font-size:23px;margin:0;letter-spacing:-.5px}.dialog-body{padding:0 26px 26px;font-size:15px;line-height:1.55}.dialog-body p{color:#6d7d91}.dialog-body label{display:block;font-size:14px;font-weight:550;margin:14px 0 5px}.dialog-body input,.dialog-body select{width:100%;padding:11px;border:1px solid #d9e1ec;border-radius:7px;font-size:15px}.dialog-body .button{margin-top:16px}.dialog-body table{width:100%;border-collapse:collapse;font-size:14px}.dialog-body td,.dialog-body th{padding:10px 5px;border-bottom:1px solid var(--line);text-align:left}.dialog-body .detail{background:#f0f4fa;padding:14px;border-radius:8px;font-size:14px;margin:14px 0}.dialog-body .row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.dialog-body .danger{color:#a14632}.dialog-body details{margin:12px 0}.dialog-body summary{cursor:pointer}.dialog-body .small{font-size:12px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#183553;color:white;border-radius:8px;padding:13px 22px;font-size:14px;box-shadow:0 6px 25px #18355333;z-index:20;display:none;max-width:90vw}.toast.visible{display:block}#importStatus{font-size:14px;color:#526d92}.detail-list{max-height:240px;overflow:auto}.danger-button{border:1px solid #dcbdb4;background:#fff4f0;color:#a14632}.fallback-mobile{display:none}@media(min-width:1550px){.event strong{font-size:14px}.event .eventtime{font-size:12px}}@media(max-width:1250px){main{padding:25px 20px}.workspace{grid-template-columns:270px minmax(0,1fr)}.sidebar{padding:25px 15px}.heading{align-items:start}.actions{flex-direction:column}.preferences{gap:12px}.pref-title{width:100%;margin-bottom:2px}.stat{padding:14px}.stat-value{font-size:24px}.weeklabel span{display:none}}@media(max-width:900px){.workspace{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:18px 20px}.course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:275px;overflow:auto}.sideheading{margin-bottom:12px}.preset{display:none}.search{margin:8px 0}.filters{margin-bottom:12px}.source-note{display:none}.addcourse{margin-bottom:0}.local{display:none}.heading{align-items:center}.actions{flex-direction:row}.calendar-grid{min-width:620px}.calendar-panel{overflow:auto}.topbar{padding:0 20px;height:75px}}@media(max-width:600px){.brand{font-size:24px}.topright{gap:8px}.semester{font-size:12px;padding:7px}.topbar{padding:0 16px}.brand small{font-size:11px}.brandmark{width:35px;height:39px;line-height:41px}.topright .iconbutton{display:none}main{padding:22px 16px}.heading{display:block}.actions{margin-top:16px;display:grid;grid-template-columns:1fr 1fr}h1{font-size:28px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat-value{font-size:27px}.preferences{gap:12px;display:grid;grid-template-columns:1fr 1fr}.pref-title{grid-column:1/-1}.preferences label{font-size:12px}.preferences input,.preferences select{font-size:14px}.alert{font-size:13px;flex-wrap:wrap}.alert button{margin-left:31px}.calendar-toolbar{gap:7px;padding:12px}.weeklabel{display:none}.bottom-note{align-items:start}.calendar-foot{font-size:11px;gap:10px}.course-list{gap:6px;max-height:245px}.coursecard{padding:10px 8px}.coursetop{gap:6px}.coursetop label{font-size:13px}.coursemeta{margin-left:22px;font-size:11px}.coursecard select{margin-left:22px;width:calc(100% - 22px);font-size:11px}.agenda{padding:5px 12px}.agenda-event{font-size:13px;gap:10px}.dialog-head{padding:20px}.dialog-body{padding:0 20px 22px}.dialog-head h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.study-picker{width:100%;text-align:left;border:1px solid #d6e1f4;color:#243e60;cursor:pointer}.import-progress{padding:16px;background:#eef3ff;border-radius:9px;margin-top:16px}.import-progress progress{width:100%}.requirement-list{padding-left:20px}.study-picker:after{content:'Studium auswählen';display:block;font-size:12px;color:#2459ef;margin-top:5px}@media(max-width:900px){.study-picker{display:block;margin-bottom:10px}}

#cataloguePath{margin:16px 0;line-height:1.8}#catalogueChildren{display:grid;gap:6px;max-height:300px;overflow:auto;margin:12px 0}.catalogue-child{text-align:left;padding:12px;border:1px solid var(--line,#ddd);border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}.catalogue-child:hover{background:#edf4ef}.catalogue-course{padding:12px 0;border-bottom:1px solid #ddd}.catalogue-course input[type=checkbox]{width:auto;margin-right:6px}.catalogue-course small{display:block;margin:6px 0;line-height:1.5}.catalogue-course details{font-size:13px}

/* Semestio: warm paper, plum ink, and an open space in the week. */
:root {
  --ink: #30263d;
  --blue: #6746aa;
  --muted: #736a7d;
  --line: #e6e0e9;
  --paper: #faf8f5;
  --plum: #392b50;
  --lavender: #f0eaf8;
  --coral: #f2ae86;
  --math: #6851a5;
  --german: #926c31;
  --science: #287b68;
  --education: #4c6ea3;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { background: var(--paper); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline-color: #9873cd;
}
button:disabled { cursor: not-allowed; opacity: .55; }
.topbar { height: 94px; padding: 0 34px; background: #fffdfb; border-color: var(--line); }
.brand { color: var(--plum); gap: 13px; font-size: 30px; letter-spacing: -1.5px; }
.brandmark { display: block; width: 44px; height: 44px; border-radius: 0; background: none; }
.wordmark { line-height: 1.05; font-weight: 750; }
.brand-dot { color: #ba653d; }
.brand small { font-size: 9px; font-weight: 650; letter-spacing: 1.6px; margin-top: 8px; color: #776783; }
.topright { gap: 20px; }
.semester { color: #5a416c; background: var(--lavender); border: 0; border-radius: 24px; font-size: 13px; font-weight: 600; padding: 10px 16px; }
.local { font-size: 12px; }
.local i { background: #3d826a; box-shadow: 0 0 0 4px #e8f1eb; margin-right: 3px; }
.iconbutton { border-radius: 50%; color: var(--plum); background: transparent; }
.iconbutton:hover { background: var(--lavender); }
.workspace { grid-template-columns: 304px minmax(0, 1fr); }
.sidebar { padding: 30px 22px; background: #fffdfb; }
.sideheading { margin-bottom: 22px; }
.sideheading h2 { font-size: 17px; color: var(--plum); }
.sideheading h2 span { background: var(--lavender); color: #66478d; border-radius: 20px; padding: 3px 8px; }
.study-picker { position: relative; padding: 16px; border-radius: 13px; border: 1px solid #e1d5ec; background: #f5eff9; color: var(--plum); font-size: 15px; }
.study-picker:hover { background: #eee5f5; }
.picker-label { display: block; font-size: 9px; letter-spacing: 1.7px; font-weight: 700; color: #816798; margin-bottom: 5px; }
.study-picker small { font-size: 11px; line-height: 1.6; color: #75647f; margin-top: 3px; padding-right: 8px; }
.study-picker:after { content: '↗'; position: absolute; right: 14px; top: 13px; font-size: 19px; margin: 0; color: #765495; }
.search { padding: 7px 11px; background: #fff; border-radius: 10px; margin-top: 18px; color: #8c7b99; }
.search:focus-within { border-color: #9873cd; box-shadow: 0 0 0 2px #9873cd20; }
.search input { color: var(--ink); }
.filters { gap: 3px; }
.filters button { font-size: 12px; border-radius: 20px; padding: 6px 9px; }
.filters button.active { background: #eee5f5; color: #614086; }
.coursecard { border-color: #e9e3eb; border-radius: 11px; background: #fff; padding: 14px 12px; }
.coursecard:has(input:checked) { border-left: 3px solid var(--subject); padding-left: 10px; }
.coursecard.unselected { background: #f8f6f8; }
.coursetop label { font-size: 13px; font-weight: 600; }
.coursetop input { accent-color: var(--blue); }
.coursecard select { background: #faf8fc; border-color: #e8e1ed; color: #63536e; border-radius: 6px; }
.courseinfo { color: #786186; }
.addcourse { border-color: #cbbad8; color: #674686; background: transparent; border-radius: 10px; }
.addcourse:hover { background: var(--lavender); }
.source-note { text-align: left; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 18px; color: #7d7285; }
.source-note span, .source-note strong { display: block; }
.source-note strong { color: #5b4b68; font-size: 12px; font-weight: 600; margin: 5px 0 1px; }
.connection-label { font-size: 9px; letter-spacing: 1.4px; }
main { padding: 36px 32px; }
.heading { margin-bottom: 28px; gap: 24px; }
.eyebrow { color: #887495; font-size: 9px; letter-spacing: 1.65px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 38px; line-height: 1.2; letter-spacing: -1.4px; margin: 12px 0 10px; color: var(--plum); }
h1 span { color: #876ba1; }
.heading p { color: #7c7186; font-size: 13px; }
.button { border-radius: 10px; font-size: 13px; padding: 12px 16px; }
.primary { background: var(--plum); box-shadow: 0 3px 0 #251a3510; }
.primary:hover { background: #55406e; }
.secondary { border-color: #dfd6e6; color: #5d486e; background: #fffdfb; }
.secondary:hover { background: var(--lavender); }
.stats { gap: 12px; margin-bottom: 20px; }
.stat { padding: 20px 18px; border-radius: 14px; background: #fffdfb; border-color: #e8e2e9; }
.stat:first-child { background: var(--plum); border-color: var(--plum); position: relative; overflow: hidden; }
.stat:first-child:after { content: ''; position: absolute; width: 90px; height: 90px; border: 1px solid #ffffff16; border-radius: 50%; top: -36px; right: -22px; pointer-events: none; }
.stat-label { color: #82758c; font-size: 12px; }
.stat:first-child .stat-label { color: #ddd0ec; }
.stat-value { font-size: 30px; font-weight: 650; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: 12px; }
.stat-note { color: #7e7287; font-size: 11px; line-height: 1.5; }
.stat:first-child .stat-note { color: #e5d6f0; }
.stat:first-child .stat-value { color: #ffd2b6; }
.preferences { background: #f2eef5; border-color: #e8e0ed; border-radius: 12px; padding: 16px 18px; gap: 16px; }
.pref-title { color: #5f486f; font-size: 13px; }
.sliders { color: #8d739f; }
.preferences label { color: #786781; font-size: 11px; }
input, select { color: #483453; }
.preferences input, .preferences select, .unit { border-color: #ded2e6; background: #fffdfb; }
.textbutton { color: #735887; }
.textbutton:hover { color: #432454; text-decoration: underline; text-underline-offset: 4px; }
.alert { background: #fff2e9; border-color: #efd7c6; color: #854d30; border-radius: 11px; }
.alert.neutral { background: #f2edf7; border-color: #e1d7eb; color: #69547b; }
.block-chip { background: #ebe2f2; color: #624a76; }
.calendar-panel { border-radius: 16px; border-color: #e3dce8; box-shadow: 0 4px 20px #392b5004; }
.calendar-toolbar { padding: 16px 20px; background: #fffdfb; }
.tabs { border: 0; background: #f0eaf5; border-radius: 9px; padding: 4px; }
.tabs button { color: #8b799a; padding: 7px 17px; border-radius: 6px; }
.tabs button[aria-selected=true] { color: #604077; box-shadow: 0 2px 5px #392b5010; }
.weeklabel { color: #74617f; }
.weeklabel span { color: #897991; }
.dayhead { font-size: 13px; background: #fffdfb; color: #564262; height: 68px; }
.dayhead small { color: #8e7f98; font-size: 10px; }
.daycol { border-color: #eee8f2; background: repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#f0ebf3 47px,#f0ebf3 48px); }
.time-axis span { color: #93879c; font-size: 10px; }
.event { border-radius: 7px; color: #493d55; }
.event strong { font-size: 12px; line-height: 1.4; font-weight: 600; }
.event small { color: #807387; }
.event.clash { background: #fff0e5; border-color: #d79c79; border-left-color: #bc7351; }
.event.clash .eventtime { color: #984a2e; }
.home-marker { color: #93839d; border-color: #ccbfd5; }
.calendar-foot { background: #fffdfb; color: #83758b; font-size: 10px; }
.bottom-note { color: #8b7e92; font-size: 11px; line-height: 1.6; }
.footer-brand { font-weight: 700; color: #6f547e; margin-right: 10px; letter-spacing: -.5px; }
.agenda-day h3 { color: #5d456c; }
.agenda-day h3 small { color: #8d7d98; }
.agenda-event { background: #f8f5fa; border-radius: 7px; }
.agenda-event time { color: #725c85; }
.agenda-event small { color: #8b7c95; }
dialog { color: var(--ink); background: #fffdfb; border: 1px solid #e5dbea; border-radius: 20px; box-shadow: 0 30px 100px #30213f35; }
dialog::backdrop { background: #30213f66; backdrop-filter: blur(5px); }
.dialog-head { padding-top: 27px; }
.dialog-head h2 { color: var(--plum); font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 27px; line-height: 1.25; }
.dialog-body p { color: #796b82; }
.dialog-body input, .dialog-body select { border-color: #ded3e6; background: #fff; border-radius: 9px; }
.dialog-body .detail, .import-progress { background: #f2ecf7; border-radius: 11px; overflow-wrap: anywhere; }
.dialog-body { overflow-wrap: anywhere; }
.dialog-body input[type=checkbox] { accent-color: var(--blue); }
progress { accent-color: var(--blue); }
.catalogue-child { border-radius: 10px; background: #fff; }
.catalogue-child:hover { background: #f1e9f8; border-color: #d4c1e2; }
.catalogue-course { border-color: var(--line); }
#cataloguePath .textbutton { text-align: left; }
.toast { background: var(--plum); border-radius: 12px; box-shadow: 0 8px 28px #392b5026; }
@media (max-width: 1250px) {
  .workspace { grid-template-columns: 270px minmax(0, 1fr); }
  main { padding: 28px 22px; }
  .sidebar { padding: 28px 16px; }
  h1 { font-size: 34px; }
  .stat { padding: 17px 14px; }
  .stat-value { font-size: 27px; }
}
@media (max-width: 900px) {
  .topbar { height: 82px; padding: 0 22px; }
  .workspace { grid-template-columns: 1fr; }
  .sidebar { padding: 20px 22px; }
  .sideheading { margin-bottom: 14px; }
  .study-picker { padding: 12px 15px; margin-bottom: 12px; }
  .picker-label { margin-bottom: 1px; }
  .coursecard { padding: 11px; }
  .coursecard:has(input:checked) { padding-left: 9px; }
}
@media (max-width: 600px) {
  .topbar { height: 80px; padding: 0 16px; gap: 10px; }
  .brand { font-size: 26px; gap: 9px; }
  .brandmark { width: 36px; height: 36px; }
  .brand small { font-size: 8px; letter-spacing: .8px; margin-top: 6px; }
  .semester { padding: 8px 10px; font-size: 11px; white-space: nowrap; }
  .sidebar { padding: 18px 16px; }
  main { padding: 26px 16px; }
  .heading { margin-bottom: 22px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.35px; }
  h1 { font-size: 32px; letter-spacing: -1.25px; }
  h1 span { white-space: nowrap; }
  .heading p { font-size: 12px; }
  .stat { padding: 16px 13px; border-radius: 12px; }
  .stat-value { font-size: 27px; }
  .preferences { padding: 14px; gap: 12px; }
  .calendar-toolbar { padding: 12px; }
  .calendar-panel { border-radius: 13px; }
  .coursetop label { font-size: 13px; }
  .calendar-foot { gap: 10px; }
  .bottom-note { align-items: start; }
  .bottom-note > span { max-width: 65%; }
  .footer-brand { display: block; }
  .bottom-note .textbutton { white-space: nowrap; font-size: 11px; }
  .dialog-head h2 { font-size: 25px; }
}

.degree-components{margin:16px 0;padding:16px 18px;background:var(--lavender);border:1px solid var(--line);border-radius:12px;color:var(--plum)}.degree-components strong{font-size:13px}.degree-components ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;margin:10px 0 0;padding-left:18px;font-size:13px}.study-subject{font-size:15px;color:var(--plum);margin:22px 0 4px}#degreeForm select{max-width:100%;text-overflow:ellipsis}#degreeForm .row>div{min-width:0}@media(max-width:600px){.degree-components ul{grid-template-columns:1fr}#degreeForm .row{grid-template-columns:1fr}}
.dialog-body .button{max-width:100%;white-space:normal}

.degree-matches { display:grid; gap:6px; max-height:240px; overflow:auto; margin:12px 0; }
.degree-matches button { text-align:left; white-space:normal; padding:10px 12px; border:1px solid #ded6e6; border-radius:9px; background:#faf8fc; color:#392b50; }
.degree-choice { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #e5dfeb; }
.degree-choice span { min-width:0; overflow-wrap:anywhere; }
#modulePlan textarea { width:100%; box-sizing:border-box; padding:10px; border:1px solid #cfc5dc; border-radius:8px; font:inherit; resize:vertical; }
#modulePlan[hidden] { display:none; }
#degreeResources a { overflow-wrap:anywhere; }

.degree-choice button { flex-shrink:0; white-space:nowrap; }

.curriculum-check { display:flex; align-items:flex-start; gap:9px; padding:7px 0; font-weight:400; }
.curriculum-check input { flex:0 0 auto; width:auto; margin-top:3px; }
.curriculum-requirement { padding:10px 0; border-bottom:1px solid #e5dfeb; }
.curriculum-requirement small { display:block; margin:4px 0; }
#curriculumChoices details { margin:12px 0; }
#curriculumPreview { margin:18px 0; }
#curriculumPreview a { overflow-wrap:anywhere; }

.planning-assumption { background:#f0eaf8; padding:12px 14px; border-radius:12px; line-height:1.6; }
.study-overview { margin:18px 0; padding:18px; border:1px solid #ded6e6; border-radius:16px; background:#fffdfb; }
.overview-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; }
.overview-heading h3 { margin:6px 0; }
.overview-heading>strong { white-space:nowrap; color:#6851a5; }
.semester-timeline { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:14px 0; }
.semester-step { display:flex; flex-direction:column; gap:5px; padding:12px; text-align:left; color:#392b50; border:1px solid #ddd4e7; border-radius:10px; background:#faf8fc; min-width:0; font:inherit; }
.semester-step.current { background:#f0eaf8; border:2px solid #6851a5; }
.semester-step.assumed-completed { background:#eef5f1; }
.semester-step small { font-size:11px; line-height:1.4; }
.semester-step .source-conflict { color:#8b4a20; }
.semester-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.semester-metrics strong,.semester-metrics span { display:block; }
.semester-metrics strong { font-size:21px; color:#392b50; }
.semester-metrics span { font-size:12px; line-height:1.45; margin-top:4px; }
@media(max-width:520px){.study-overview{padding:12px}.semester-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-heading{align-items:flex-start}.semester-metrics{gap:8px}}
.coverage-badge { display:block; color:#287b68; margin-top:5px; font-size:12px; }
.selection-gap { border-left:3px solid #b3743c; padding:10px 14px; background:#fff4e7; border-radius:8px; }
