:root{font-family:Arial,system-ui,sans-serif;color:#202332;background:#f6f7fa;font-size:15px;font-synthesis:none;--ink:#202332;--muted:#858a9b;--line:#e8e9ef;--purple:#6958da;--purple-dark:#5545c2;--soft:#f1efff}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f6f7fa}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(520px,1fr) 340px}.sidebar{background:#fff;border-right:1px solid var(--line);padding:23px 15px 14px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:inherit;padding:0 10px 23px}.brand-mark{width:38px;height:38px;border-radius:12px;background:#6d5ce7;color:#fff;font:800 24px system-ui;display:grid;place-items:center;box-shadow:0 5px 12px #6958da33}.brand strong{font:800 19px system-ui;display:block;letter-spacing:-.7px}.brand small{display:block;color:#8d91a0;font-size:11px;margin-top:1px}.org-switcher{display:flex;align-items:center;gap:10px;padding:10px 9px;background:#f8f8fb;border:1px solid #eeeff3;border-radius:11px;margin-bottom:23px}.org-icon{width:31px;height:31px;background:#e9e5ff;border-radius:9px;display:grid;place-items:center;color:#6556d4;font-weight:700}.org-switcher b,.user-profile b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}.org-switcher small,.user-profile small{display:block;color:#9296a5;font-size:11px;margin-top:3px}.chevron{margin-left:auto;width:7px;height:7px;border-right:1.5px solid #9195a1;border-bottom:1.5px solid #9195a1;transform:rotate(45deg);margin-right:3px;margin-top:-4px}.main-nav{display:grid;gap:5px}.nav-item{height:40px;display:flex;align-items:center;gap:12px;padding:0 11px;color:#6e7382;text-decoration:none;border-radius:8px;font-size:13px;font-weight:500}.nav-item.active{background:#f0eeff;color:#5d4ecc;font-weight:600}.nav-icon{font-size:17px;width:18px;text-align:center}.sidebar-section{margin-top:30px}.section-head{display:flex;align-items:center;justify-content:space-between;padding:0 9px 11px;color:#9a9eab;font-size:10px;letter-spacing:1.15px;font-weight:700}.icon-btn{border:0;background:transparent;width:34px;height:34px;border-radius:8px;color:#737889;display:inline-grid;place-items:center;font-size:20px;position:relative}.icon-btn:hover{background:#f1f2f6}.icon-btn.tiny{width:25px;height:24px;font-size:14px;letter-spacing:1px}.check-row{min-height:35px;display:flex;align-items:center;gap:9px;padding:5px 8px;color:#555a69;font-size:12px;cursor:pointer}.check-row input{appearance:none;width:14px;height:14px;border:1px solid #d3d5df;border-radius:4px;margin:0;position:relative;background:#fff}.check-row input:checked{background:#6858d9;border-color:#6858d9}.check-row input:checked:after{content:'✓';position:absolute;color:white;font-size:10px;left:2px;top:-1px}.room-dot{width:8px;height:8px;border-radius:50%;flex:none}.dot-violet{background:#8268e8}.dot-blue{background:#4a98df}.dot-orange{background:#eaa253}.departments{margin-top:24px}.dept-symbol{font-size:12px;color:#9b8cf0;width:8px}.sidebar-bottom{margin-top:auto}.plan-note{border:1px solid #eceaf9;background:linear-gradient(120deg,#f8f7ff,#fff);padding:12px 10px;border-radius:10px;display:flex;gap:9px;margin:15px 0 14px}.sparkle{color:#7867df;font-size:16px}.plan-note b{font-size:11px;display:block}.plan-note small{font-size:10px;line-height:1.45;color:#8b8fa0;display:block;margin-top:3px}.user-profile{display:flex;align-items:center;gap:9px;width:100%;background:#fff;border:0;border-top:1px solid #f0f0f3;padding:14px 5px 4px;text-align:left}.avatar{height:31px;width:31px;border-radius:50%;background:#d9e7eb;color:#436576;display:grid;place-items:center;font-size:10px;font-weight:700}.main-content{min-width:0}.topbar{height:61px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#fff}.breadcrumbs{font-size:12px;color:#9599a6}.breadcrumbs span{margin:0 9px;color:#c2c4cc}.breadcrumbs b{font-weight:600;color:#555a69}.top-actions{display:flex;align-items:center;gap:13px}.demo-pill{border:1px solid #e9e6ff;background:#f7f6ff;color:#6858d9;border-radius:20px;padding:6px 10px;font-size:10px;font-weight:600;display:flex;align-items:center;gap:6px}.demo-pill i,.assistant-title small i{width:6px;height:6px;border-radius:50%;background:#8b79ec;display:inline-block}.notification-dot{position:absolute;background:#e1776b;width:5px;height:5px;border-radius:50%;top:8px;right:8px}.help-btn{border:0;background:transparent;color:#717585;font-size:12px;padding:7px}.mobile-menu{display:none}.page-wrap{padding:34px 33px 25px;max-width:1500px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.1px;color:#a0a3af;font-weight:700;margin:0 0 8px}.page-heading h1{font:700 26px system-ui;margin:0;letter-spacing:-.8px}.subheading{font-size:12px;color:#868a99;margin:7px 0 0}.heading-actions{display:flex;gap:9px}.primary-btn,.secondary-btn{height:37px;padding:0 13px;border:1px solid #e3e4ec;border-radius:8px;background:white;font-size:11px;font-weight:600;white-space:nowrap}.primary-btn{background:#6858d9;color:white;border-color:#6858d9;box-shadow:0 3px 8px #6958da2b}.primary-btn:hover{background:#5646c6}.secondary-btn:hover{background:#fafaff;border-color:#d8d3fb}.primary-btn span,.secondary-btn span{font-size:16px;margin-right:5px;vertical-align:-1px}.calendar-toolbar{height:54px;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.date-control,.toolbar-right{display:flex;align-items:center;gap:6px}.date-control .icon-btn{font-size:24px;width:28px;height:30px}.date-label{border:0;background:transparent;font-size:13px;font-weight:700;padding:5px 8px}.today-btn{background:white;border:1px solid #e4e5ec;border-radius:6px;padding:6px 10px;font-size:10px;color:#585d6b;margin-left:4px}.searchbox{display:flex;align-items:center;gap:6px;border:1px solid #e6e7ed;background:#fff;border-radius:7px;height:32px;padding:0 9px;color:#8f93a0}.searchbox span{font-size:18px}.searchbox input{outline:0;border:0;width:119px;font-size:10px;background:transparent}.view-switch{display:flex;padding:3px;background:#eeeff3;border-radius:7px;margin-left:7px}.view-switch button{border:0;background:transparent;color:#777c8a;padding:6px 9px;border-radius:5px;font-size:10px}.view-switch button.selected{background:white;color:#4d5261;font-weight:600;box-shadow:0 1px 3px #23243a13}.settings-btn{height:31px;width:31px;border:1px solid #e6e7ed;background:white;font-size:16px}.calendar-card{background:white;border:1px solid #e6e7ed;border-radius:10px;overflow:hidden;box-shadow:0 2px 7px #24283c05}.calendar-head{display:grid;grid-template-columns:54px repeat(3,minmax(0,1fr));min-height:58px;border-bottom:1px solid #e9eaf0;background:#fdfdfe}.time-head{font-size:9px;color:#a1a4b0;display:flex;align-items:center;justify-content:center}.room-head{display:flex;align-items:center;gap:9px;padding:8px 13px;border-left:1px solid #eeeef2;min-width:0}.room-head b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-head small{display:block;font-size:9px;color:#9b9eaa;margin-top:4px}.calendar-grid{position:relative;display:grid;grid-template-columns:54px repeat(3,minmax(0,1fr));grid-template-rows:repeat(14,49px);min-height:686px}.hour-cell{border-bottom:1px solid #f0f1f4;position:relative}.hour-label{position:absolute;top:-7px;left:0;width:54px;text-align:center;color:#a0a3ae;font-size:9px}.room-column{grid-row:1/15;position:relative;border-left:1px solid #eeeef2;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 48px,#f0f1f4 48px,#f0f1f4 49px)}.event-card{position:absolute;left:7px;right:7px;min-height:41px;border-radius:6px;padding:7px 8px 6px;border-left:3px solid;font-size:10px;overflow:hidden;cursor:pointer;z-index:1;transition:filter .15s,transform .15s}.event-card:hover{filter:saturate(1.15);transform:translateY(-1px);z-index:2}.event-card b{display:block;font-size:10px;line-height:1.3;margin-bottom:4px}.event-card small{font-size:9px;opacity:.8;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.event-card.violet{background:#f0edff;border-color:#806be5;color:#5945b8}.event-card.blue{background:#e9f3fc;border-color:#4e99df;color:#276eaa}.event-card.orange{background:#fff3e5;border-color:#e9a14d;color:#a96c22}.event-card.green{background:#e9f5ee;border-color:#68b58a;color:#367a53}.event-card.pink{background:#f9ebf0;border-color:#db80a2;color:#a8456a}.event-card.gray{background:#f0f1f4;border-color:#a3a7b2;color:#5c6171}.now-line{position:absolute;z-index:3;left:49px;right:0;height:1px;background:#e2776d}.now-line:before{content:'';position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:#e2776d}.calendar-footer{display:flex;align-items:center;gap:17px;color:#969aa7;font-size:9px;padding:13px 2px}.calendar-footer>span:first-child{display:flex;align-items:center;gap:6px}.live-dot{width:6px;height:6px;background:#7cbd91;border-radius:50%}.calendar-footer button{border:0;background:transparent;color:#7768d5;font-size:9px;margin-left:auto}.empty-state{height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9a9eaa;gap:10px}.empty-state span{font-size:32px;color:#c0b9f0}.empty-state b{font-size:12px;color:#565b69}.empty-state small{font-size:10px}.assistant-panel{background:#fff;border-left:1px solid var(--line);height:100vh;display:flex;flex-direction:column;position:sticky;top:0}.assistant-head{height:62px;border-bottom:1px solid #ececf1;display:flex;align-items:center;justify-content:space-between;padding:0 17px}.assistant-title{display:flex;align-items:center;gap:10px}.ai-mark{width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,#8172eb,#5e4fc8);color:#fff;display:grid;place-items:center;font-size:16px}.assistant-title b{display:block;font-size:12px}.assistant-title small{display:block;color:#9296a4;font-size:10px;margin-top:3px}.assistant-title small i{background:#63b385;width:5px;height:5px}.assistant-context{margin:17px 15px 0;padding:10px;border:1px solid #edeafc;border-radius:9px;background:#fbfaff;display:flex;align-items:center;gap:9px}.context-icon{width:27px;height:27px;border-radius:8px;background:#eeebff;color:#7261dd;display:grid;place-items:center;font-size:13px}.assistant-context b{display:block;font-size:10px}.assistant-context small{display:block;color:#9094a2;font-size:9px;margin-top:3px}.assistant-context .icon-btn{margin-left:auto}.chat-body{flex:1;overflow-y:auto;padding:15px 16px}.day-divider{display:flex;align-items:center;gap:9px;color:#b0b3be;font-size:8px;letter-spacing:1px;margin:2px 0 15px}.day-divider:before,.day-divider:after{content:'';height:1px;background:#eff0f3;flex:1}.message{display:flex;gap:8px;align-items:flex-start}.message-avatar{width:22px;height:22px;flex:none;border-radius:7px;background:#eeeaff;color:#7363d9;display:grid;place-items:center;font-size:12px}.message>div{background:#f7f7fa;border-radius:2px 9px 9px 9px;padding:10px 11px;max-width:250px}.message p{font-size:11px;line-height:1.6;color:#555a68;margin:0 0 7px}.message small{font-size:8px;color:#a1a4b0}.suggestion-label{font-size:8px;letter-spacing:.9px;color:#a4a7b2;margin:21px 0 9px 30px}.suggestions{display:grid;gap:6px;margin-left:30px}.suggestions button{width:max-content;max-width:100%;border:1px solid #e9e7f7;background:#fff;color:#6455c8;border-radius:15px;padding:6px 10px;font-size:9px;text-align:left}.suggestions button:hover{background:#f8f6ff}.chat-compose{margin:0 13px;border:1px solid #e3e4ec;border-radius:10px;padding:8px 9px 7px;box-shadow:0 2px 8px #27294508}.chat-compose textarea{width:100%;resize:none;border:0;outline:0;min-height:45px;font-size:10px;color:#414654}.chat-compose textarea::placeholder{color:#a4a7b1}.compose-actions{display:flex;align-items:center;gap:7px}.compose-actions .icon-btn{width:25px;height:25px;font-size:17px;border:1px solid #edebf4}.compose-actions span{font-size:8px;color:#a3a6b1}.send-btn{margin-left:auto;border:0;border-radius:7px;width:26px;height:26px;background:#6858d9;color:white;font-size:16px}.assistant-foot{font-size:8px;color:#a1a4af;text-align:center;padding:10px 8px 13px}.toast{position:fixed;bottom:22px;left:50%;transform:translate(-50%,15px);background:#272a38;color:white;border-radius:8px;padding:10px 15px;font-size:12px;opacity:0;pointer-events:none;transition:.22s;z-index:10;box-shadow:0 8px 25px #17182733}.toast.show{opacity:1;transform:translate(-50%,0)}.event-dialog{width:min(540px,calc(100% - 28px));padding:0;border:1px solid #e7e7ed;border-radius:14px;box-shadow:0 20px 70px #1a1a2633;color:var(--ink)}.event-dialog::backdrop{background:#20223370;backdrop-filter:blur(2px)}.event-dialog form{padding:23px}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.dialog-head h2{font:700 20px system-ui;margin:0}.dialog-head .eyebrow{margin-bottom:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid label{font-size:10px;color:#6f7381;font-weight:600;display:grid;gap:6px}.form-grid .wide{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{border:1px solid #e2e3ea;border-radius:7px;padding:9px 10px;outline:0;font-size:11px;color:#343846;background:#fff}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#8e80e8;box-shadow:0 0 0 3px #8172eb1c}.form-grid textarea{resize:vertical}.dialog-note{font-size:9px;color:#9498a5;background:#f8f8fa;border-radius:7px;padding:9px;margin-top:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}.dialog-actions button{height:35px}.history-dialog{padding:23px;width:min(480px,calc(100% - 28px))}.history-dialog .dialog-head{margin-bottom:8px}.history-item{padding:13px 0;border-bottom:1px solid #f0f0f4;display:flex;gap:10px}.history-icon{width:27px;height:27px;background:#f0eeff;border-radius:8px;color:#7060d7;display:grid;place-items:center;flex:none}.history-item b{display:block;font-size:11px}.history-item small{display:block;font-size:9px;color:#9397a4;margin-top:4px}.history-item button{margin-top:8px;background:#fff;border:1px solid #e3e2ed;color:#6858d9;border-radius:5px;padding:4px 8px;font-size:9px}.history-empty{padding:32px;text-align:center;color:#989ca8;font-size:11px}
@media(max-width:1200px){.app-shell{grid-template-columns:220px minmax(480px,1fr)}.assistant-panel{position:fixed;z-index:5;right:0;top:0;width:330px;box-shadow:-10px 0 35px #22233314;transition:transform .25s}.assistant-panel.closed{transform:translateX(105%)}.page-wrap{padding:28px 24px}.topbar{padding:0 24px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;z-index:8;left:0;top:0;width:260px;transform:translateX(-105%);transition:transform .2s;box-shadow:10px 0 30px #17182720}.sidebar.open{transform:translateX(0)}.main-content{min-height:100vh}.topbar{height:54px;padding:0 14px}.mobile-menu{display:inline-grid}.breadcrumbs{margin-right:auto;margin-left:7px}.help-btn{display:none}.page-wrap{padding:23px 14px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:19px}.page-heading h1{font-size:23px}.heading-actions{width:100%}.heading-actions button{flex:1;justify-content:center;font-size:10px;padding:0 8px}.calendar-toolbar{height:auto;display:flex;align-items:flex-start;gap:13px;flex-direction:column}.toolbar-right{width:100%;justify-content:space-between}.searchbox{flex:1}.searchbox input{width:100%;min-width:40px}.calendar-card{overflow-x:auto}.calendar-head,.calendar-grid{min-width:660px}.calendar-footer{gap:9px;font-size:8px}.assistant-panel{width:min(340px,100vw)}.form-grid{gap:11px}.event-dialog form{padding:18px}.demo-pill{display:none}}
.week-grid{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));min-width:700px;min-height:510px;border-top:1px solid #f0f1f4}.week-day{border-right:1px solid #eeeef2;padding:0 7px 12px;min-height:510px}.week-day-head{margin:0 -7px 9px;padding:12px 7px;border-bottom:1px solid #e9eaf0;color:#797d8b;font-size:10px;font-weight:700;text-transform:capitalize;background:#fdfdfe}.week-event{width:100%;display:block;text-align:left;border:0;border-left:3px solid;border-radius:5px;padding:7px 6px;margin-bottom:6px;font-size:9px;line-height:1.45}.week-event b{font-size:9px}.week-event small{display:block;font-size:8px;opacity:.75;margin-top:4px}.week-event.violet,.month-event.violet{background:#f0edff;border-color:#806be5;color:#5945b8}.week-event.blue,.month-event.blue{background:#e9f3fc;border-color:#4e99df;color:#276eaa}.week-event.orange,.month-event.orange{background:#fff3e5;border-color:#e9a14d;color:#a96c22}.week-none{display:block;padding:9px 0;color:#c0c2cb;font-size:9px}.month-grid{display:grid;grid-template-columns:repeat(7,minmax(90px,1fr));min-width:660px;grid-template-rows:34px repeat(6,minmax(85px,auto));border-top:1px solid #eeeef2}.month-weekday{font-size:9px;color:#969aa7;display:grid;place-items:center;border-bottom:1px solid #eeeef2}.month-cell{border-right:1px solid #f0f0f4;border-bottom:1px solid #f0f0f4;min-height:85px;padding:5px 4px}.month-cell.outside{background:#fbfbfc;color:#bfc1ca}.month-day{display:block;text-align:right;font-size:9px;color:#797d8a;margin:0 4px 5px}.month-cell.outside .month-day{color:#b7bac4}.month-event{width:100%;border:0;border-left:2px solid;border-radius:3px;margin:2px 0;padding:4px 4px;font-size:8px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.month-cell{overflow:hidden}
@media(max-width:760px){.week-grid,.month-grid{overflow-x:auto}.week-grid{min-width:770px}.month-grid{min-width:700px}}
/* Keep the dense calendar readable at normal zoom. */
.breadcrumbs,.nav-item,.check-row,.subheading,.today-btn,.searchbox input,.view-switch button,.room-head b,.event-card b,.week-event,.month-event,.calendar-footer,.assistant-title b,.assistant-context b,.message p,.suggestions button,.form-grid label,.history-item b{font-size:14px}
.section-head,.org-switcher small,.user-profile small,.room-head small,.event-card small,.week-event small,.month-weekday,.month-day,.message small,.assistant-context small,.assistant-title small,.suggestion-label,.assistant-foot,.history-item small{font-size:12px}
.primary-btn,.secondary-btn,.help-btn,.date-label{font-size:14px}
.form-grid input,.form-grid select,.form-grid textarea{font-size:14px}
/* Visual direction based on the supplied mobile calendar reference. */
body{background:#0a1222;color:#e9efff}.app-shell{background:#0a1222}.sidebar,.topbar,.assistant-window{background:#0d1729;color:#e9efff;border-color:#25334d}.main-content{background:radial-gradient(ellipse at 52% 13%,#14243d 0, #0a1222 58%)}.topbar{border-bottom-color:#1c2a41}.breadcrumbs,.subheading{color:#9aa9c4}.breadcrumbs b,.page-heading h1{color:#f1f5ff}.page-heading .eyebrow{color:#8295b6}.calendar-card{background:#101c30;border:1px solid #2a3b56;box-shadow:0 12px 35px #02071340}.calendar-toolbar{padding:16px 17px;margin:0;height:auto;min-height:75px}.date-label{color:#eaf0ff;font-size:19px}.date-control .icon-btn{color:#c6d3ec;border:1px solid #33445f;border-radius:10px;width:42px;height:42px;background:#17253b}.today-btn{background:transparent;color:#a9c4ed;border-color:transparent;font-size:13px}.month-filter{display:flex;align-items:center;gap:18px;padding:0 17px 13px;color:#8d9db8;font-size:13px}.month-filter select{flex:1;min-width:0;padding:12px 14px;border:1px solid #354760;border-radius:10px;background:#18263b;color:#e0e9fb;font-size:14px}.shift-legend{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:7px 17px 13px;border-bottom:1px solid #293852;color:#9ba9c1;font-size:12px}.shift-legend span,.month-note span{display:flex;align-items:center;gap:7px}.shift-legend i,.month-note i{width:9px;height:9px;border-radius:50%;display:inline-block;flex:none}.shift-blue{background:#4386f5}.shift-green{background:#348a76}.dot-violet{background:#b481ee}.dot-orange{background:#f19455}.dot-blue{background:#55a3fa}.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));min-width:0;grid-template-rows:35px repeat(6,minmax(76px,1fr));padding:0 10px 9px;border:0;gap:4px}.month-weekday{border:0;color:#8797b3;font-size:11px;letter-spacing:.7px;font-weight:700}.month-cell{position:relative;min-width:0;min-height:76px;border:1px solid transparent;border-radius:10px;padding:8px 7px;background:#15243a;cursor:pointer;transition:border-color .15s,filter .15s}.month-cell:hover{filter:brightness(1.13)}.month-cell.shift-one{--shift-top:#193c75;--shift-bottom:#16315c;--today-glow-rgb:47,128,255;background:linear-gradient(145deg,var(--shift-top),var(--shift-bottom))}.month-cell.shift-two{--shift-top:#163a38;--shift-bottom:#12302f;--today-glow-rgb:49,205,151;background:linear-gradient(145deg,var(--shift-top),var(--shift-bottom))}.month-cell.outside{opacity:.28}.month-cell.chosen{border:2px solid #91b9ff;box-shadow:0 0 0 2px #5e9ef533}.month-day{font-size:15px;color:#d6e2f8;text-align:left;margin:0}.month-dots{display:flex;align-items:center;gap:4px;margin-top:5px}.month-dots .room-dot{width:7px;height:7px}.month-event{display:none}.month-note{display:flex;align-items:center;justify-content:space-between;padding:12px 17px 15px;color:#8797b3;font-size:12px}.month-note button{border:0;background:transparent;color:#a9c4ed;font-size:13px}.calendar-head{background:#101c30;border-color:#293852;color:#e9efff}.room-head,.hour-cell,.room-column{border-color:#293852}.hour-label,.room-head small{color:#8797b3}.event-card{font-size:12px}.assistant-fab{position:fixed;z-index:12;right:23px;bottom:22px;display:flex;align-items:center;gap:9px;border:1px solid #8595ff;border-radius:17px;padding:12px 17px;background:linear-gradient(135deg,#7263ee,#4c7be8);color:#fff;box-shadow:0 12px 32px #0008;font-size:14px}.assistant-fab span{font-size:18px}.assistant-fab:hover{filter:brightness(1.12);transform:translateY(-1px)}.assistant-panel{display:none;position:fixed;z-index:20;inset:0;width:auto;height:auto;top:0;right:0;bottom:0;left:0;background:#020611bd;backdrop-filter:blur(5px);border:0;box-shadow:none;align-items:center;justify-content:center;padding:24px}.assistant-panel.open{display:flex}.assistant-window{width:min(520px,100%);height:min(760px,calc(100vh - 48px));border:1px solid #30415e;border-radius:20px;box-shadow:0 24px 80px #0009;display:flex;flex-direction:column;overflow:hidden}.assistant-head{background:#101c30;border-color:#263852;padding:0 20px}.assistant-context{background:#15243a;border-color:#2b3d59;color:#eaf0ff}.assistant-context small,.assistant-title small,.assistant-foot,.message small,.compose-actions span{color:#8e9db7}.message>div{background:#182840}.message p{color:#e0e8f8}.chat-compose{background:#101c30;border-color:#344761;box-shadow:none}.chat-compose textarea{background:transparent;color:#e5edfc}.chat-compose textarea::placeholder{color:#8999b4}.suggestions button{background:#14233a;border-color:#354966;color:#b9caff}.assistant-title b{color:#f2f5ff}.assistant-title small i{background:#67c796}.ai-mark{background:linear-gradient(135deg,#8172eb,#4c7be8)}.context-icon,.message-avatar{background:#243552;color:#a9b8ff}.send-btn{background:#6479ed}
@media(max-width:760px){.app-shell{display:block;min-height:100vh}.sidebar{display:none}.topbar{height:auto;min-height:76px;position:relative;padding:11px 18px;border:0;background:transparent;justify-content:flex-start}.mobile-menu{display:none}.mobile-org{display:flex;align-items:center;gap:12px}.mobile-org .org-icon{width:43px;height:43px;background:#2865d8;color:white;border-radius:13px;font-size:14px}.mobile-org b{display:block;color:#eaf0ff;font-size:14px}.mobile-org small{display:block;color:#8494b0;font-size:12px;margin-top:4px}.breadcrumbs,.top-actions{display:none}.page-wrap{padding:24px 14px 92px}.page-heading{position:relative;display:block;margin-bottom:27px}.page-heading .eyebrow{font-size:12px;letter-spacing:2px;margin-bottom:13px}.page-heading h1{font-size:42px;letter-spacing:-1.7px;line-height:1.04}.page-heading .subheading{font-size:15px;line-height:1.5;max-width:300px;margin-top:15px}.heading-actions{position:absolute;right:1px;bottom:0;width:auto}.heading-actions .secondary-btn{display:none}.heading-actions .primary-btn{width:42px;height:42px;overflow:hidden;flex:none;padding:0;font-size:0;border-radius:12px;background:#17253b;border-color:#33445f;box-shadow:none}.heading-actions .primary-btn span{font-size:22px;margin:0;vertical-align:0}.calendar-toolbar{min-height:66px;padding:14px 12px 10px;justify-content:center}.date-control{width:100%;justify-content:space-between;gap:4px}.date-control .icon-btn{width:42px;height:42px;flex:none}.date-label{font-size:19px;padding:4px 3px}.date-control .today-btn{display:none}.toolbar-right{display:none}.calendar-card{border-radius:17px;overflow:hidden}.month-filter{padding:0 16px 13px;gap:14px;font-size:14px}.month-filter select{padding:13px 14px;font-size:15px}.shift-legend{gap:10px 12px;padding:7px 16px 14px;font-size:12px}.month-grid{grid-template-rows:34px repeat(6,minmax(70px,1fr));padding:0 11px 11px;gap:4px}.month-cell{min-height:70px;padding:8px 6px;border-radius:10px}.month-day{font-size:15px}.month-note{padding:10px 16px 15px;font-size:11px}.month-note button{font-size:13px}.calendar-footer{color:#8797b3;padding:13px 3px}.assistant-fab{right:17px;bottom:17px;border-radius:17px;padding:12px 17px;box-shadow:0 10px 25px #0009}.assistant-panel{padding:0;align-items:stretch;justify-content:stretch;background:#0c1526}.assistant-window{width:100%;height:100%;max-height:none;border:0;border-radius:0;background:#0d1729}.assistant-head{height:66px;flex:none}.assistant-context{margin:14px 14px 0}.chat-body{padding:16px}.chat-compose{margin:0 12px;padding:10px}.assistant-foot{padding-bottom:max(12px,env(safe-area-inset-bottom))}.calendar-head{min-width:660px}.calendar-grid:not(.month-grid){min-width:660px}.week-grid{min-width:770px}.month-grid{min-width:0}}
@media(min-width:761px){.app-shell{grid-template-columns:248px minmax(0,1fr)}.mobile-org{display:none}.assistant-panel{grid-column:auto}.month-grid{min-height:570px}}
@media(min-width:761px) and (max-width:1200px){.app-shell{grid-template-columns:220px minmax(0,1fr)}}
.month-cell.past{opacity:.38}.month-cell.chosen.past{opacity:.72}.month-cell.outside{opacity:.18}.month-cell.past.outside{opacity:.12}.month-cell{appearance:none;text-align:left;width:100%;font-family:inherit}.month-dots{display:flex;align-items:center;gap:4px;margin-top:6px}.month-dots i{width:7px;height:7px;border-radius:50%;box-shadow:0 0 4px #fff4}.agenda-panel{margin-top:23px;background:#101c30;border:1px solid #2a3b56;border-radius:16px;padding:17px}.agenda-panel>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.agenda-panel h2{font-size:20px;margin:0;color:#eff4ff}.agenda-panel header>span{font-size:12px;color:#93a5c2}.agenda-panel .eyebrow{font-size:10px;color:#8699b7}.agenda-event{display:grid;grid-template-columns:51px 9px minmax(0,1fr) auto;align-items:start;gap:11px;padding:15px 0;border-top:1px solid #263650}.agenda-event-time{font-size:14px;font-weight:700;color:#dce7fc}.agenda-event-time small{display:block;font-size:12px;font-weight:400;color:#8fa0bc;margin-top:4px}.agenda-event>.room-dot{margin-top:5px}.agenda-event-main{min-width:0}.agenda-event-meta{font-size:12px;color:#9dafca}.agenda-event-meta span{padding:0 4px;color:#5f7190}.agenda-event-main h3{font-size:16px;line-height:1.35;margin:5px 0;color:#e8effd}.agenda-event-main p{font-size:13px;line-height:1.55;color:#9caecc;margin:0}.warning-preview{font-size:12px;line-height:1.45;color:#f0bf77;margin-top:8px}.details-btn{align-self:center;background:#162640;border:1px solid #344966;color:#bdd0f4;border-radius:8px;padding:9px 12px;font-size:13px;white-space:nowrap}.details-btn:hover{background:#203452}.agenda-empty{padding:21px 0;color:#92a2bd;font-size:14px}.pwa-install{margin:17px 0;color:#a5b4ce;font-size:13px}.pwa-install summary{cursor:pointer;color:#c1d0e9}.pwa-install>div{border-left:2px solid #3a5e9f;margin:10px 0;padding:1px 14px}.pwa-install p{line-height:1.55;margin:8px 0}.pwa-install small{font-size:12px;color:#8294b1}.event-detail-dialog{max-height:min(88vh,820px);overflow:auto;padding:22px;background:#101c30;color:#e8efff;border-color:#344660}.event-detail-dialog .dialog-head{position:sticky;top:-22px;background:#101c30;padding:5px 0 12px;margin:0;z-index:1;border-bottom:1px solid #293a54}.event-detail-dialog .dialog-head h2{font-size:20px;line-height:1.3;max-width:390px}.detail-body{padding-top:12px}.detail-summary{display:grid;gap:7px;padding:11px 12px;border-radius:10px;background:#172740;color:#a9b9d3;font-size:13px}.detail-summary b{font-size:15px;color:#edf3ff}.venue-access{font-size:13px;line-height:1.55;color:#f0c77e;background:#342c22;padding:10px 12px;border-radius:8px}.detail-section{padding:12px 0;border-bottom:1px solid #263650}.detail-section h3,.detail-warnings h3{font-size:14px;margin:0 0 7px;color:#c1d0ea}.detail-section p{white-space:pre-line;font-size:13px;line-height:1.6;color:#aab9d1;margin:0}.timeline-list,.detail-warnings ul{list-style:none;margin:0;padding:0}.timeline-list li{display:grid;grid-template-columns:112px 1fr;gap:10px;padding:5px 0;font-size:13px;line-height:1.4;color:#c3d0e5}.timeline-list time{color:#91b3ed;font-variant-numeric:tabular-nums}.contact-line{font-size:13px;line-height:1.7;color:#aebdd4}.contact-number{display:inline-block;white-space:nowrap;word-break:keep-all}.contact-line a{color:#9ebcff;text-decoration:none}.detail-warnings{padding:13px 12px;margin-top:12px;background:#392e21;border:1px solid #725733;border-radius:9px}.detail-warnings h3{color:#f3c57e}.detail-warnings li{font-size:13px;line-height:1.5;color:#f0d9b3;padding:4px 0}.event-detail-dialog::backdrop{background:#020610c9;backdrop-filter:blur(4px)}
@media(max-width:760px){.agenda-panel{padding:15px 13px;margin-top:18px;border-radius:15px}.agenda-panel h2{font-size:18px}.agenda-event{grid-template-columns:45px 8px minmax(0,1fr);gap:9px;padding:14px 0}.agenda-event-main h3{font-size:15px}.agenda-event-main p{font-size:13px}.agenda-event .details-btn{grid-column:3;justify-self:start;margin-top:2px;padding:8px 11px}.month-grid{grid-template-rows:30px repeat(6,minmax(56px,1fr));gap:3px;padding:0 9px 9px}.month-cell{min-height:56px;padding:6px 5px;border-radius:8px}.month-day{font-size:14px}.month-dots{gap:3px;margin-top:5px}.month-dots i{width:6px;height:6px}.event-detail-dialog{width:100%;height:100%;max-height:none;margin:0;border-radius:0;padding:18px 16px max(18px,env(safe-area-inset-bottom))}.event-detail-dialog .dialog-head{top:-18px}.event-detail-dialog .dialog-head h2{font-size:18px}.timeline-list li{grid-template-columns:96px 1fr}.detail-section p,.contact-line,.detail-warnings li,.timeline-list li{font-size:13px}.pwa-install{font-size:13px}}
.departments{display:none}.view-switch{background:#17263c}.view-switch button{color:#a2b1ca}.view-switch button.selected{background:#30425d;color:#edf3ff;box-shadow:none}
@media(max-width:760px){.calendar-toolbar{flex-wrap:wrap;gap:5px}.toolbar-right{display:flex;width:100%;justify-content:center;margin-top:2px}.searchbox,.settings-btn{display:none}.view-switch{margin:0}.view-switch button{padding:7px 15px;font-size:13px}}
[hidden]{display:none!important}
@media(max-width:760px){.topbar{min-height:56px;padding:6px 18px 2px}.mobile-org{gap:9px}.mobile-org .org-icon{width:36px;height:36px;border-radius:11px;font-size:12px}.mobile-org b{font-size:13px}.mobile-org small{font-size:10px;margin-top:1px}.page-wrap{padding:10px 14px 84px}.page-heading{margin-bottom:16px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.5px;margin-bottom:6px}.page-heading h1{font-size:34px;letter-spacing:-1.1px}.page-heading .subheading{font-size:13px;line-height:1.35;max-width:260px;margin-top:7px}.heading-actions .primary-btn{width:38px;height:38px}.calendar-toolbar{min-height:58px;padding:10px 12px 7px}.date-control .icon-btn{width:38px;height:38px}.date-label{font-size:17px}.toolbar-right{margin-top:0}}

/* Keep the assistant inside the visible phone viewport, including when the keyboard opens. */
.assistant-window{min-height:0;height:min(760px,calc(100dvh - 48px))}
.chat-body{min-height:0;flex:1 1 auto;overscroll-behavior:contain}
.chat-compose,.assistant-foot,.assistant-context{flex:none}
.add-event-icon{width:38px;height:38px;border:1px solid #33445f;border-radius:10px;background:#17253b;color:#eaf0ff;font-size:23px;line-height:1}
@media(max-width:760px){
  .assistant-panel{overflow:hidden}
  .assistant-window{width:100%;height:100%;min-height:0;max-height:none;flex:1 1 auto}
  .assistant-head{height:calc(66px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top)}
  .chat-compose textarea{font-size:16px;line-height:1.35;min-height:48px}
  .chat-compose{flex:none}
}

#eventDialog{max-height:calc(100vh - 24px);overflow:hidden;background:#101c30;color:#e8efff;border-color:#344660}
#eventDialog form{max-height:calc(100vh - 24px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#eventDialog .dialog-head{position:sticky;top:-18px;background:#101c30;padding:5px 0 12px;margin:0;z-index:2;border-bottom:1px solid #293a54}
#eventDialog .dialog-actions{position:sticky;bottom:-18px;background:#101c30;padding:10px 0 3px;margin-top:12px;z-index:2}
@supports(height:100dvh){#eventDialog{max-height:calc(100dvh - 24px)}#eventDialog form{max-height:calc(100dvh - 24px)}}
@media(max-width:760px){#eventDialog{width:calc(100vw - 24px);border-radius:14px}#eventDialog form{padding:18px}}

/* Theatre backdrop: keep a static beam layer ready for a later interaction pulse. */
html{background:#0a1222}
body{position:relative;isolation:isolate;background:#0a1222;color:#e9efff}
body::before,body::after{content:"";position:fixed;inset:0;pointer-events:none}
body::before{z-index:-2;background:url('/stage-background.jpg') center 42%/cover no-repeat}
body::after{z-index:-1;background:linear-gradient(180deg,#07101d24 0%,#07101d40 54%,#07101d6b 100%)}
.app-shell{position:relative;z-index:0;background:transparent}
.main-content{background:transparent}
.sidebar,.topbar{background:rgba(13,23,41,.9)}
.calendar-card,.agenda-panel{-webkit-backdrop-filter:blur(18px) saturate(118%);backdrop-filter:blur(18px) saturate(118%);border:1px solid rgba(151,181,225,.27);box-shadow:0 18px 48px rgba(0,0,0,.24),inset 0 1px 0 rgba(229,239,255,.08),0 0 26px rgba(92,142,226,.08)}
.calendar-card{background:rgba(12,18,27,.03)}
.agenda-panel{background:rgba(12,18,27,.55)}
@media(max-width:760px){body::before{background-position:center 42%}.calendar-card{background:rgba(12,18,27,.03)}.agenda-panel{background:rgba(12,18,27,.55)}}

/* Pin every month number to the same top edge; keep room dots on a second row. */
.month-cell{position:relative}
.month-day{position:absolute;top:8px;left:7px;right:auto;line-height:1.1;margin:0}
.month-dots{position:absolute;top:34px;left:7px;margin:0}
@media(max-width:760px){.month-day{top:6px;left:5px}.month-dots{top:29px;left:5px}}

/* Agreed mobile controls: compact hall chips, app menu and pull-to-refresh. */
.month-filter{padding:0 17px 10px;display:block}
.room-filter-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.room-filter-btn{height:39px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(129,157,198,.35);border-radius:10px;background:rgba(23,37,59,.72);color:#b7c6dd;font-weight:700;letter-spacing:.2px;transition:background .18s,border-color .18s,opacity .18s,box-shadow .18s}
.room-filter-btn i{width:9px;height:9px;border-radius:50%;box-shadow:0 0 8px currentColor}
.room-filter-btn.selected{background:rgba(43,66,101,.76);border-color:rgba(154,190,244,.78);color:#f0f5ff;box-shadow:inset 0 1px 0 #ffffff16,0 0 12px #5c8ee226}
.room-filter-btn:not(.selected){opacity:.48}
.shift-legend{gap:14px;padding-top:4px}
.mobile-menu{display:none}
.mobile-menu-panel{position:fixed;inset:0;z-index:50}
.mobile-menu-scrim{position:absolute;inset:0;width:100%;height:100%;border:0;background:#020611a6;backdrop-filter:blur(4px)}
.mobile-menu-sheet{position:absolute;top:0;bottom:0;left:0;width:min(330px,86vw);padding:max(16px,env(safe-area-inset-top)) 16px max(18px,env(safe-area-inset-bottom));background:rgba(12,22,39,.96);border-right:1px solid rgba(151,181,225,.3);box-shadow:18px 0 48px #0008;backdrop-filter:blur(22px);display:flex;flex-direction:column;gap:7px}
.mobile-menu-head{height:48px;display:flex;align-items:center;justify-content:space-between;color:#eff4ff;font-size:17px;margin-bottom:9px}
.mobile-menu-item{min-height:48px;text-align:left;padding:0 13px;border:1px solid rgba(151,181,225,.16);border-radius:11px;color:#dce7fa;background:rgba(34,51,77,.58)}
.mobile-menu-item:active{background:rgba(65,93,135,.7)}
.mobile-menu{width:38px;height:38px;flex:none;margin-left:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;border:1px solid rgba(151,181,225,.3);border-radius:10px;background:rgba(23,37,59,.75);color:#eef4ff}
.mobile-menu span{display:block;width:16px;height:2px;border-radius:2px;background:currentColor}
.pull-refresh{--pull-progress:0;height:0;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;gap:9px;overflow:hidden;opacity:0;padding:0 14px;border-bottom:1px solid transparent;background:linear-gradient(180deg,rgba(72,108,164,.32),rgba(15,27,46,.46));backdrop-filter:blur(18px);box-shadow:inset 0 -1px 0 rgba(184,211,250,.08);color:#dce7fa;font-size:12px;white-space:nowrap;transition:height .74s cubic-bezier(.37,0,.63,1),opacity .64s cubic-bezier(.37,0,.63,1),border-color .46s cubic-bezier(.37,0,.63,1)}
.pull-refresh.visible{opacity:1;border-bottom-color:rgba(151,181,225,.25)}
.pull-refresh.dragging{transition:height .08s cubic-bezier(.22,1,.36,1),opacity .2s cubic-bezier(.37,0,.63,1),border-color .16s ease-out}
.pull-refresh-spinner{display:inline-block;color:#8db5ff;font-size:19px;line-height:1}
.pull-refresh.visible .pull-refresh-spinner{animation:pull-turn 1s linear infinite}
@keyframes pull-turn{to{transform:rotate(360deg)}}
@media(max-width:760px){.topbar{gap:11px}.mobile-menu{display:flex}.mobile-org{min-width:0}.mobile-org>span:last-child{min-width:0}.mobile-org b,.mobile-org small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.month-filter{padding:0 12px 9px}.room-filter-buttons{gap:6px}.room-filter-btn{height:37px;font-size:13px}.shift-legend{padding:4px 12px 11px}.pull-refresh{font-size:11px}}

/* Keep the full pull/release motion soft while the assistant stays viewport-fixed. */
.main-content,.assistant-fab{transition:opacity .64s cubic-bezier(.37,0,.63,1)}

/* Equipment details are structured as one dash per requested item. */
.spec-list{list-style:none;display:grid;gap:5px;margin:0;padding:0}
.spec-list li{display:flex;gap:8px;color:#aab9d1;font-size:14px;line-height:1.5;white-space:pre-line}
.spec-list li::before{content:"—";flex:none;color:#91b9ff}

/* Mobile-only page-load indicator; refresh gesture progress is synchronized by JS. */
.mobile-refresh-progress{display:none;opacity:0;transition:opacity .18s linear}
@media(max-width:760px){
  .mobile-refresh-progress{display:block;position:fixed;z-index:1000;top:env(safe-area-inset-top,0px);left:0;right:0;height:3px;overflow:hidden;pointer-events:none;background:transparent}
  .mobile-refresh-progress.is-page-load,.mobile-refresh-progress.is-refreshing{opacity:1}
  .mobile-refresh-progress.is-done{opacity:0}
  .mobile-refresh-progress>span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left center;background:linear-gradient(90deg,#3678e8 0%,#64a5ff 72%,#a0caff 100%);box-shadow:0 0 8px rgba(75,145,255,.75)}
  .mobile-refresh-progress.is-page-load>span{animation:mobile-refresh-progress .9s cubic-bezier(.22,.7,.2,1) both}
  @keyframes mobile-refresh-progress{to{transform:scaleX(1)}}
  .pull-refresh{transition:height 1.48s cubic-bezier(.37,0,.63,1),opacity 1.28s cubic-bezier(.37,0,.63,1),border-color .92s cubic-bezier(.37,0,.63,1)}
  .pull-refresh.dragging{transition:height .16s cubic-bezier(.22,1,.36,1),opacity .4s cubic-bezier(.37,0,.63,1),border-color .32s ease-out}
  .main-content,.assistant-fab{transition:opacity 1.28s cubic-bezier(.37,0,.63,1)}
}

/* Pull motion is driven by a damped mobile animation loop for a soft return. */
@media(max-width:760px){.pull-refresh,.pull-refresh.dragging,.main-content,.assistant-fab{transition:none}}

/* Keep the mobile organization header visible while the calendar scrolls. */
@media(max-width:760px){
  .topbar{position:sticky;top:env(safe-area-inset-top,0px);z-index:15;background:rgba(13,23,41,.92);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid rgba(151,181,225,.18)}
}

/* Keep the lower edge at its current tint; make the top four times clearer. */
.calendar-card{background-color:rgba(12,18,27,.03);background-image:linear-gradient(180deg,rgba(12,18,27,.0075) 0%,rgba(12,18,27,.01) 18%,rgba(12,18,27,.015) 38%,rgba(12,18,27,.02) 58%,rgba(12,18,27,.025) 80%,rgba(12,18,27,.03) 100%)}
.calendar-card>.calendar-toolbar,.calendar-card>.month-filter,.calendar-card>.calendar-head,.calendar-card>.shift-legend,.calendar-card>.calendar-grid,.calendar-card>.month-note{background-color:transparent}

/* Let the theatre backdrop read through the glass on phones without fading its contents. */
@media(max-width:760px){.calendar-card{-webkit-backdrop-filter:blur(9px) saturate(125%) brightness(1.28);backdrop-filter:blur(9px) saturate(125%) brightness(1.28)}}

/* Let the mobile calendar own its 10–40% glass gradient instead of stacking it with the page veil. */
@media(max-width:760px){body::after{background:transparent}.calendar-card{background:linear-gradient(180deg,rgba(12,18,27,.20) 0%,rgba(12,18,27,.28) 18%,rgba(12,18,27,.36) 38%,rgba(12,18,27,.44) 58%,rgba(12,18,27,.52) 80%,rgba(12,18,27,.60) 100%);-webkit-backdrop-filter:blur(10px) saturate(125%);backdrop-filter:blur(10px) saturate(125%)}.agenda-panel{background:rgba(12,18,27,.72)}}
@media(max-width:760px){.month-note{display:none}.month-cell.today{border:1px solid transparent;box-shadow:none;background-image:radial-gradient(ellipse 92% 40% at 50% -10%,rgba(var(--today-glow-rgb),.76) 0%,rgba(var(--today-glow-rgb),.44) 38%,rgba(var(--today-glow-rgb),.14) 70%,transparent 100%),radial-gradient(ellipse 92% 40% at 50% 110%,rgba(var(--today-glow-rgb),.76) 0%,rgba(var(--today-glow-rgb),.44) 38%,rgba(var(--today-glow-rgb),.14) 70%,transparent 100%),radial-gradient(ellipse 40% 92% at -10% 50%,rgba(var(--today-glow-rgb),.38) 0%,rgba(var(--today-glow-rgb),.22) 38%,rgba(var(--today-glow-rgb),.07) 70%,transparent 100%),radial-gradient(ellipse 40% 92% at 110% 50%,rgba(var(--today-glow-rgb),.38) 0%,rgba(var(--today-glow-rgb),.22) 38%,rgba(var(--today-glow-rgb),.07) 70%,transparent 100%),linear-gradient(145deg,var(--shift-top),var(--shift-bottom));background-clip:padding-box,padding-box,padding-box,padding-box,border-box}.month-cell.today.chosen{border:2px solid #91b9ff;box-shadow:0 0 0 2px #5e9ef533}}
.detail-summary .detail-date,.detail-date{font-weight:800;color:#edf3ff}.rehearsal-list,.document-list{list-style:none;margin:0;padding:0}.rehearsal-list li,.document-list li{font-size:13px;line-height:1.55;color:#c3d0e5;padding:4px 0}.detail-time{color:#91b3ed;font-variant-numeric:tabular-nums}.document-link{display:inline-flex;align-items:center;border:1px solid #3a5275;border-radius:9px;background:#172740;color:#c7d9f8;text-decoration:none;padding:9px 12px;font-size:14px;line-height:1.35}.document-link:hover{background:#203452;border-color:#6383b6}
.document-item{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}.document-download{display:inline-flex;align-items:center;min-height:42px;color:#a9c4f2;text-decoration:underline;text-underline-offset:3px;font-size:14px}

/* Inset modal windows share a fixed header and an independently scrolling body. */
.event-detail-dialog,.document-viewer-dialog{position:fixed;inset:0;margin:auto;width:min(640px,calc(100% - 32px));max-width:calc(100% - 32px);height:min(86vh,820px);height:min(86dvh,820px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);padding:18px;border:1px solid rgba(151,181,225,.36);border-radius:20px;background:rgba(16,28,48,.97);color:#e8efff;overflow:hidden;overscroll-behavior-y:contain;box-shadow:0 24px 80px #02061099}
.event-detail-dialog:not([open]),.document-viewer-dialog:not([open]){display:none}
.event-detail-dialog[open],.document-viewer-dialog[open]{display:flex;flex-direction:column}
.event-detail-dialog .dialog-head{position:relative;top:auto;flex:0 0 auto;margin:0;padding:0 0 14px;gap:12px;background:transparent}
.event-detail-dialog .dialog-head>div{min-width:0}
.event-detail-dialog .dialog-head h2{max-width:none;overflow-wrap:anywhere}
.event-detail-dialog #closeDetails{flex:0 0 44px;width:44px;height:44px;border:1px solid #344966;background:#172740;border-radius:12px}
.event-detail-dialog #detailBody{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:12px 2px 12px 0}
.document-viewer-dialog{width:min(820px,calc(100% - 32px));padding:0}
.document-viewer-dialog::backdrop{background:#02061099;backdrop-filter:blur(3px)}
.document-viewer-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid #344660}
.document-viewer-head h2{font-size:18px;margin:0}
.document-close{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border:1px solid #425a7c;border-radius:11px;background:#172740;color:#e8efff;font-size:14px;font-weight:700;flex-shrink:0}
.document-close span{font-size:24px;font-weight:400}
.document-viewer-pages{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y pinch-zoom;background:#080f1c;padding:12px}
.document-page{margin:0 0 16px}
.document-page:last-child{margin-bottom:0}
.document-page img{display:block;width:100%;height:auto;background:white}
.document-page figcaption{font-size:12px;text-align:center;color:#aab9d1;padding:8px 0 0}
.document-viewer-foot{flex:0 0 auto;padding:0 16px;border-top:1px solid #344660}
@media(max-width:760px){
  .event-detail-dialog,.document-viewer-dialog{width:calc(100% - 24px);max-width:calc(100% - 24px);height:86vh;height:86dvh;max-height:calc(100vh - 32px);max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));border-radius:18px}
  .event-detail-dialog{padding:14px;height:calc(100vh - 20px);height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)));max-height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)));background:rgba(16,28,48,.74);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
  .event-detail-dialog::backdrop{background:rgba(2,6,16,.22);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}
  .document-viewer-head{padding:10px 12px}
  .document-viewer-pages{padding:8px}
}

.mobile-scroll-indicator{display:none}
@media(max-width:760px){html{scrollbar-width:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0}.mobile-scroll-indicator{display:block;position:fixed;right:3px;top:0;width:3px;height:64px;border-radius:3px;background:rgba(220,232,248,.35);opacity:0;pointer-events:none;z-index:18;transition:opacity .3s}.mobile-scroll-indicator.visible{opacity:1}body:has(dialog[open]) .mobile-scroll-indicator{opacity:0}}

/* Preserve layout and scroll while showing only the theatre behind event details. */
@media(max-width:760px){
 body:has(#eventDetailDialog[open]) .app-shell,
 body:has(#eventDetailDialog[open]) .mobile-menu-panel,
 body:has(#eventDetailDialog[open]) .mobile-refresh-progress,
 body:has(#eventDetailDialog[open]) .toast{visibility:hidden;pointer-events:none}
}

@media(max-width:760px){.document-viewer-dialog{height:calc(100vh - 20px);height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)));max-height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)))}}

.detail-scroll-indicator{display:none}
@media(max-width:760px){
 .event-detail-dialog #detailBody{scrollbar-width:none}
 .event-detail-dialog #detailBody::-webkit-scrollbar{display:none;width:0}
 .detail-scroll-indicator{display:block;position:absolute;right:5px;width:3px;height:48px;border-radius:3px;background:rgba(220,232,248,.35);opacity:0;pointer-events:none;transition:opacity .3s}
 .detail-scroll-indicator.visible{opacity:1}
}

.contact-name{display:inline-block;white-space:nowrap;word-break:normal;overflow-wrap:normal}
