:root{--nav:#142d45;--paper:#f7f6f2;--ink:#20384a;--muted:#536672;--gold:#af8950;--petrol:#18545b;--line:#deded6;--light:#eef3ef;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.45 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;border:0;background:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--gold);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.5}button:hover:enabled{filter:brightness(.94)}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:var(--serif);font-weight:normal}h1{font-size:clamp(34px,3.15vw,52px);letter-spacing:-.045em;line-height:1.1}h2{font-size:26px;letter-spacing:-.025em}h3{font-size:21px}small,.muted{color:var(--muted)}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.side{background:var(--nav);color:white;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:32px 16px 18px}.brand{font-size:23px;line-height:1.05;display:flex;align-items:center;gap:12px;padding:0 7px}.brand svg{width:34px;height:34px;color:#d0b17d}.dept{font-size:13px;color:#d2dce1;margin:12px 8px 28px}.side nav{padding-top:18px;border-top:1px solid #ffffff25}.navbtn,.mobile button,.profile{display:flex;align-items:center;gap:11px}.navbtn,.profile{width:100%;color:#e6edef;text-align:left;border-radius:6px;padding:12px;font-size:15px}.navbtn.active{background:#2b465a;color:white;box-shadow:inset 3px 0 #d3b377}.sidefoot{margin-top:auto;border-top:1px solid #ffffff26;padding-top:12px}.avatar{border-radius:50%;background:#e6dac3;color:#243d46;width:36px;height:36px;display:grid;place-items:center;font:18px var(--serif);flex:none}.profile small{display:block;color:#cfdbdf}.main{padding:0 clamp(20px,3vw,54px) 22px;min-width:0}.top{height:68px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:14px}.top span,.chip,.btn,.iconbtn,.badge,.sectionhead,.actions,.stepper,.inline,.pagehead,.cardhead{display:flex;align-items:center;gap:8px}.top .chip,.chip{border:1px solid #d5d3c7;background:#f3f1e9;padding:4px 9px;border-radius:4px;font-size:13px}.pagehead,.sectionhead,.cardhead{justify-content:space-between;gap:14px}.pagehead{margin:32px 0 24px;align-items:flex-end}.kicker{font-size:12px;font-weight:650;letter-spacing:.105em;text-transform:uppercase;color:#78603c;margin-bottom:8px}.subtitle{margin-top:8px;color:var(--muted)}.btn,.iconbtn{justify-content:center;border:1px solid #cdd2cd;border-radius:6px;background:white;padding:9px 13px;font-size:14px;font-weight:550;min-height:40px}.btn.primary{background:var(--petrol);border-color:var(--petrol);color:white}.btn.danger{color:#933d37}.btn.link{background:none;border:0;color:var(--petrol)}.iconbtn{padding:6px;min-width:34px;min-height:34px}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:16px;flex-wrap:wrap}.search{position:relative;max-width:380px;flex:1;min-width:180px}.search svg{position:absolute;top:13px;left:12px}.search input{width:100%;padding-left:40px}.toolbar select{max-width:180px}input,select,textarea{border:1px solid #c9cfcb;background:white;border-radius:5px;padding:10px 12px;max-width:100%;min-width:0}textarea{resize:vertical}.workspace{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:18px;align-items:start}.panel{border:1px solid var(--line);border-radius:9px;background:white;overflow:hidden}.cardhead{padding:18px 19px;border-bottom:1px solid var(--line)}.monthtitle{text-transform:capitalize}.week,.monthgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.week{background:#f6f6f2;text-align:center;font-size:12px;font-weight:600;color:var(--muted);padding:9px 0}.day{display:flex;flex-direction:column;text-align:left;gap:3px;min-height:87px;padding:5px 4px;border-right:1px solid #e6e7df;border-top:1px solid #e6e7df;overflow:hidden}.day:nth-child(7n){border-right:0}.day.empty{background:#fafaf7}.day.sel{background:#edf4f0;box-shadow:inset 0 0 0 1.5px #42756c}.num{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;font-size:14px}.sel .num{background:var(--petrol);color:white}.event{font-size:12px;background:#e6eeea;border-left:2px solid #54847a;border-radius:2px;padding:2px 4px;max-width:100%;line-height:1.24;overflow-wrap:anywhere}.more{font-size:12px;font-weight:600;color:var(--petrol)}.calfoot{padding:11px 17px;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}.dot{display:inline-block;width:7px;height:7px;background:#54847a;border-radius:50%;margin-right:5px}.schedule{padding:0 16px}.eventrow{padding:14px 0;border-bottom:1px solid var(--line);width:100%;text-align:left;display:grid;grid-template-columns:47px minmax(0,1fr);gap:10px}.eventrow:last-child{border-bottom:none}.hour{font-size:14px;font-weight:700;color:var(--petrol);font-variant-numeric:tabular-nums}.ename{font-size:15px;font-weight:600;overflow-wrap:anywhere}.eventrow small{display:block;font-size:13px;margin-top:3px}.badge{font-size:12px;display:inline-flex;background:var(--light);color:#315b51;border-radius:4px;padding:2px 6px;margin-top:4px}.emptymsg{padding:24px 16px;color:var(--muted)}footer{margin:24px 0 5px;font-size:13px;color:var(--muted)}.mobile{display:none}.list{padding:0 18px}.item{width:100%;text-align:left;padding:15px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.item:last-child{border-bottom:none}.item strong,.item small{display:block;overflow-wrap:anywhere}.intro{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.tile{padding:22px;text-align:left;display:flex;align-items:center;gap:15px}.tile svg{color:var(--petrol);width:26px;height:26px}.tile small{display:block}.actions{flex-wrap:wrap}.form{display:grid;gap:13px}.form label{display:grid;gap:5px;font-size:14px;font-weight:600}.form label input,.form label select,.form label textarea{font-weight:400;width:100%}.form label.inline{display:flex;align-items:center}.form label.inline input{width:auto}dialog{border:1px solid var(--line);border-radius:12px;width:min(550px,calc(100vw - 22px));max-height:90dvh;padding:0;color:var(--ink)}dialog::backdrop{background:#10253685}#sheet{padding:24px}.sheetbody{margin:18px 0}.sheetfoot{display:flex;justify-content:space-between;gap:8px;margin-top:16px}.stepper{margin:14px 0;font-size:13px;color:var(--muted);flex-wrap:wrap}.stepper b{color:var(--petrol);border-bottom:2px solid var(--gold)}.slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.slots button{border:1px solid var(--line);border-radius:4px;padding:7px 2px}.slots .chosen{background:var(--petrol);color:white}.error{color:#903b2d;margin-top:10px}.facts{margin:10px 0;display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 15px}.facts dt{color:var(--muted)}.facts dd{margin:0;overflow-wrap:anywhere}.switches{display:grid;gap:9px}.switches button{display:flex;gap:12px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:14px;text-align:left}.switches small{display:block}#toast:not(:empty){position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--nav);color:white;padding:11px 20px;border-radius:7px;z-index:5}.entry{max-width:520px;margin:12vh auto;padding:22px}.entry h1{margin-bottom:20px}.entry .switches{margin-top:20px}.entry .switches button{background:white}
@media(min-width:1500px){.main{max-width:1600px}.day{min-height:106px}}
@media(max-width:1100px) and (min-width:761px){.shell{grid-template-columns:190px minmax(0,1fr)}.main{padding-left:18px;padding-right:18px}.workspace{grid-template-columns:minmax(0,1.55fr) minmax(215px,1fr);gap:10px}.cardhead{padding:12px}.cardhead h2{font-size:22px}.actions{gap:4px}.day{min-height:83px}}
@media(max-width:760px){.shell{display:block}.side{display:none}.main{padding:0 13px 86px}.top{height:46px;font-size:13px}.top .chip{font-size:11px}.pagehead{margin:21px 0 16px;align-items:start;flex-wrap:wrap}.pagehead h1{font-size:35px}.subtitle{font-size:14px}.pagehead>.primary{display:none}.workspace{display:block}.workspace>.panel+.panel{margin-top:12px}.day{min-height:39px;align-items:center;position:relative;padding:3px 0}.event,.more{display:none}.day:has(.event)::after{content:'';position:absolute;bottom:3px;width:5px;height:5px;background:var(--petrol);border-radius:50%}.week{padding:6px 0}.cardhead{padding:11px 13px}.cardhead h2{font-size:22px}.calfoot{display:none}.mobile{position:fixed;bottom:0;left:0;right:0;display:flex;background:var(--nav);padding:5px 3px max(5px,env(safe-area-inset-bottom));z-index:3}.mobile button{flex:1;flex-direction:column;justify-content:center;gap:3px;color:#e1e8ee;font-size:12px;min-height:48px}.mobile button.active{color:#f3d299}.mobile button svg{width:20px;height:20px}.intro{grid-template-columns:1fr}.toolbar{gap:5px}.search{min-width:145px}.toolbar select{max-width:110px}.toolbar input,.toolbar select{font-size:14px}.toolbar input[type=date]{max-width:138px}.facts{grid-template-columns:1fr;gap:2px}.facts dd{margin-bottom:7px}.sectionhead{align-items:start}.eventrow{grid-template-columns:54px 1fr}#toast:not(:empty){bottom:75px}.sheetfoot .btn{flex:1}.form input,.form select{font-size:16px}}
