:root{color-scheme:light;--bg:#f2f2f7;--card:#fff;--text:#1c1c1e;--secondary:#8e8e93;--line:#e5e5ea;--blue:#007aff;--dock:#e5e5eccf;--badge:#f2f2f7;--shadow:0 5px 20px rgba(35,40,65,.035)}
@media(prefers-color-scheme:dark){:root:not([data-appearance=light]){color-scheme:dark;--bg:#1c1c1e;--card:#2c2c2e;--text:#f2f2f7;--secondary:#aeaeb2;--line:#48484a;--blue:#0a84ff;--dock:#353538ed;--badge:#3a3a3c;--shadow:0 5px 20px rgba(0,0,0,.08)}}
:root[data-appearance=dark]{color-scheme:dark;--bg:#1c1c1e;--card:#2c2c2e;--text:#f2f2f7;--secondary:#aeaeb2;--line:#48484a;--blue:#0a84ff;--dock:#353538ed;--badge:#3a3a3c;--shadow:0 5px 20px rgba(0,0,0,.08)}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--bg);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-text-size-adjust:100%}button,input,a{touch-action:manipulation}button,a,input{outline-offset:5px}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--blue)}button{color:inherit}svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,p{margin:0}.shell{height:100%;height:var(--app-height,100%);display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.topbar{flex:none;display:flex;align-items:center;justify-content:space-between;padding:20px 44px 0;max-width:1288px;width:100%;margin:auto}.home-wordmark{display:flex;gap:8px;align-items:center;font-size:16px;font-weight:600;color:var(--secondary)}.home-wordmark svg{width:21px;height:21px}.icon-button{width:44px;height:44px;padding:10px;background:transparent;border:0;border-radius:50%;color:var(--secondary)}.icon-button svg{width:24px;height:24px}.pages{display:flex;direction:ltr;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scrollbar-width:none;flex:1;min-height:0;outline:none}.pages::-webkit-scrollbar{display:none}.page{flex:0 0 100%;width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow-y:auto;padding:12px 44px 18px;direction:ltr}.page-heading,.widget-grid{max-width:1200px;margin:0 auto}.page-heading{padding:0 0 22px}.page-heading h1{font-size:34px;line-height:1.2;font-weight:700;letter-spacing:-1px}.page-heading p{font-size:15px;color:var(--secondary);margin-top:6px}.widget-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(154px,1fr));gap:20px;height:calc(100% - 86px);max-height:462px;min-height:328px}.widget{border-radius:24px;background:var(--card);box-shadow:var(--shadow);padding:24px;display:flex;flex-direction:column;justify-content:space-between;min-width:0;min-height:0}.clock-widget,.large{grid-column:span 2;grid-row:span 2}.medium{grid-column:span 2}.widget h2{font-size:20px;line-height:1.3;letter-spacing:-.35px;font-weight:600}.widget p{font-size:14px;line-height:1.5;color:var(--secondary);margin-top:4px}.widget-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.widget-symbol{width:30px;height:30px;font-size:34px;line-height:30px;flex:none}.soon{font-size:11px;font-weight:500;line-height:1.4;color:var(--secondary);border-radius:8px;background:var(--badge);padding:4px 8px;white-space:nowrap}.orange{color:#ff9500}.sun{color:#ffb800}.red{color:#ff3b30}.blue{color:#007aff}.purple{color:#af52de}.green{color:#34c759}.brown{color:#a2845e}.clock-widget{padding:30px 32px;justify-content:flex-start}.widget-eyebrow{font-size:11px;letter-spacing:1.8px;font-weight:600;color:var(--secondary)}.clock-face{margin-top:auto;display:flex;align-items:baseline;gap:12px}.clock-face time{font-size:clamp(64px,8.8vw,106px);font-weight:200;letter-spacing:-5px;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}.clock-face #day-period{font-size:20px;font-weight:400;color:var(--secondary)}.clock-widget #clock-date{font-size:20px;line-height:1.5;font-weight:400;color:var(--text);margin-top:10px}.clock-footer{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--secondary);margin-top:auto;padding-top:20px}.live-dot{width:6px;height:6px;border-radius:50%;background:#34c759}.empty-feature{padding:30px 32px;justify-content:flex-start;gap:20px}.feature-symbol{width:52px;height:52px;stroke-width:1.1;margin-top:auto;margin-bottom:10px}.empty-feature h2{font-size:28px;letter-spacing:-.7px}.empty-feature p{max-width:280px;font-size:16px;margin-top:10px;line-height:1.6}.empty-feature>.soon{align-self:flex-start;margin-top:auto}.bottom-area{flex:none;display:flex;flex-direction:column;align-items:center;padding:0 24px 18px;gap:3px}.page-dots{direction:ltr;display:flex;justify-content:center;align-items:center;gap:0;height:30px}.page-dots button{border:0;background:transparent;width:30px;height:30px;display:grid;place-items:center;padding:0}.page-dots button:after{content:"";width:7px;height:7px;border-radius:50%;background:var(--secondary);opacity:.3}.page-dots button[aria-current=page]:after{opacity:1;background:var(--text)}.dock{display:flex;align-items:center;justify-content:center;gap:26px;padding:15px 24px 12px;border-radius:28px;background:var(--dock);border:1px solid rgba(142,142,147,.08)}.app-icon{display:flex;flex-direction:column;align-items:center;gap:7px;text-decoration:none;color:var(--text);font-size:11px;font-weight:500;min-width:66px;line-height:1.2;user-select:none;-webkit-user-select:none}.app-icon img{display:block;width:60px;height:60px;border-radius:14px;box-shadow:0 2px 5px rgba(0,0,0,.08);object-fit:cover}.app-icon:active img{transform:scale(.94);opacity:.75}.app-icon span{white-space:nowrap}.overlay{position:fixed;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.28);padding:24px}.overlay[hidden]{display:none}.settings-sheet{width:440px;max-width:100%;max-height:100%;overflow:auto;background:var(--bg);border-radius:24px;box-shadow:0 25px 100px rgba(0,0,0,.2);padding:12px 24px 20px}.sheet-handle{width:36px;height:5px;border-radius:5px;background:var(--secondary);opacity:.3;margin:0 auto 12px}.sheet-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 16px}.sheet-header h2{font-size:24px;letter-spacing:-.5px}.done-button{background:transparent;color:var(--blue);font-size:17px;font-weight:600;border:0;min-height:44px;padding:0 0 0 16px}fieldset{padding:0;border:0;margin:0 0 17px;min-width:0}legend{font-size:12px;color:var(--secondary);padding:0 12px 7px}.option-group{border-radius:12px;background:var(--card);overflow:hidden}.option-group label{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:9px 14px;font-size:16px;position:relative;cursor:pointer}.option-group label+label:before{content:"";position:absolute;top:0;left:14px;right:0;height:1px;background:var(--line)}input[type=radio]{width:21px;height:21px;margin:0;accent-color:var(--blue)}.settings-footnote{font-size:12px;line-height:1.5;color:var(--secondary);padding:0 12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.noscript-note{position:fixed;top:40%;left:10%;right:10%;background:var(--card);padding:24px;border-radius:24px}:root[dir=rtl] .page{direction:rtl}:root[dir=rtl] .page-heading h1,:root[dir=rtl] .widget h2{letter-spacing:0}:root[dir=rtl] .clock-face{direction:ltr;justify-content:flex-end}:root[dir=rtl] .clock-face time{letter-spacing:-3px}:root[dir=rtl] .topbar,:root[dir=rtl] .sheet-header,:root[dir=rtl] .option-group label{direction:rtl}:root[dir=rtl] .widget-eyebrow{letter-spacing:0}
@media(min-width:1300px){.topbar{padding-top:28px}.page{padding-top:24px}.widget-grid{max-height:500px}.clock-face time{font-size:118px}}
@media(orientation:portrait),(max-width:700px){.topbar{padding:16px 28px 0}.page{padding:10px 28px 16px}.page-heading{padding-bottom:20px}.widget-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows: minmax(194px,1.4fr) minmax(150px,1fr) minmax(138px,.9fr);height:calc(100% - 86px);max-height:740px;gap:18px;min-height:518px}.clock-widget,.large{grid-row:span 1}.clock-widget{padding:26px 28px}.clock-face{margin-top:12px}.clock-face time{font-size:88px}.clock-widget #clock-date{font-size:20px;margin-top:0}.clock-footer{padding-top:10px}.empty-feature{padding:25px 28px;gap:10px}.feature-symbol{width:35px;height:35px;margin:0}.empty-feature h2{font-size:26px}.empty-feature p{max-width:none;margin-top:5px}.empty-feature>.soon{margin-top:8px}.dock{gap:22px}.bottom-area{padding-bottom:20px}}
@media(max-width:540px){.topbar{padding:10px 18px 0}.page{padding:8px 18px 12px}.page-heading h1{font-size:30px}.page-heading p{font-size:13px}.widget{padding:18px;border-radius:21px}.widget-grid{gap:12px;min-height:460px;grid-template-rows:190px 132px 114px}.widget h2{font-size:17px}.widget p{font-size:12px}.soon{font-size:9px;padding:4px 5px}.widget-symbol{width:24px;height:24px;font-size:28px}.clock-face time{font-size:76px}.clock-widget #clock-date{font-size:17px}.empty-feature h2{font-size:23px}.dock{width:100%;padding:12px 10px 10px;gap:0;justify-content:space-around;border-radius:24px}.app-icon{min-width:0;font-size:9px}.app-icon img{width:48px;height:48px;border-radius:11px}.bottom-area{padding:0 14px 12px}.overlay{padding:16px;align-items:flex-end}.settings-sheet{padding:12px 20px 18px}.clock-footer{font-size:11px}}
@media(max-height:650px) and (orientation:landscape){.topbar{padding-top:4px}.page{padding-top:0;padding-bottom:8px}.page-heading{padding-bottom:12px}.page-heading h1{font-size:28px}.page-heading p{margin-top:2px;font-size:13px}.widget-grid{height:calc(100% - 65px);min-height:240px;grid-template-rows:repeat(2,minmax(114px,1fr));gap:12px}.widget{padding:18px}.widget h2{font-size:18px}.widget p{font-size:12px}.clock-face time{font-size:70px}.clock-widget #clock-date{font-size:17px}.empty-feature h2{font-size:24px}.empty-feature p{font-size:13px}.feature-symbol{width:36px;height:36px}.dock{padding:10px 20px 8px}.app-icon img{width:48px;height:48px}.bottom-area{padding-bottom:10px}.page-dots{height:25px}.settings-sheet{padding-top:8px}.sheet-handle{margin-bottom:5px}.sheet-header{margin-bottom:8px}fieldset{margin-bottom:10px}.option-group label{min-height:40px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.app-icon:active img{transform:none}}

/* Revision 2: one strong time/date glance, compact reserved widgets, app-first dock. */
.topbar{position:absolute;top:12px;right:24px;width:44px;padding:0;margin:0;z-index:5}.home-wordmark{display:none}.page{padding:22px 28px 12px}.page-heading{padding-bottom:18px}.page-heading h1{font-size:30px;letter-spacing:-.8px}.page-heading>p{display:none}.widget-grid{height:calc(100% - 58px);max-height:420px;min-height:344px;grid-template-rows:minmax(190px,1.18fr) minmax(150px,1fr);gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.widget{position:relative;padding:22px;border-radius:23px;box-shadow:0 2px 12px rgba(35,40,65,.025)}.clock-widget{grid-column:1 / -1;grid-row:1;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:24px 36px}.widget-eyebrow,.clock-footer{display:none}.clock-face{margin:0;gap:12px}.clock-face time{font-size:126px;letter-spacing:-6px;line-height:1;font-weight:250}.clock-face #day-period{font-size:18px;align-self:flex-end;padding-bottom:12px}.clock-widget #clock-date{margin:0;text-align:end;display:flex;flex-direction:column;gap:8px;font-size:32px;font-weight:500;line-height:1.2;letter-spacing:-.6px}.clock-widget #date-weekday{font-size:19px;font-weight:500;color:var(--secondary);letter-spacing:0}.weather{grid-column:1;grid-row:2}.up-next{grid-column:2 / 4;grid-row:2}.room{grid-column:4;grid-row:2}.widget-top{align-items:flex-start}.widget-symbol{width:32px;height:32px;font-size:36px;line-height:32px}.widget:not(.clock-widget):not(.empty-feature) .soon{position:absolute;bottom:20px;left:22px;padding:0;background:none;font-size:13px;font-weight:400}.widget:not(.clock-widget):not(.empty-feature)>div:last-child{margin-bottom:24px}.widget:not(.clock-widget):not(.empty-feature)>div:last-child p{display:none}.widget h2{font-size:20px;letter-spacing:-.4px}.large.empty-feature{grid-column:1 / -1;grid-row:1;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-content:center;gap:8px 36px;padding:28px 32px}.empty-feature .feature-symbol{grid-column:2;grid-row:1 / 3;width:66px;height:66px;margin:0;align-self:center;stroke-width:1.25}.empty-feature>div{grid-column:1;grid-row:1}.empty-feature h2{font-size:34px;letter-spacing:-.8px}.empty-feature p{display:none}.empty-feature>.soon{grid-column:1;grid-row:2;margin:4px 0 0;padding:0;background:none;font-size:14px}.page:not(#today) .widget.small:first-of-type{grid-column:1}.page:not(#today) .widget.medium{grid-column:3 / 5}.dock{gap:42px;padding:16px 30px 13px;border-radius:28px;background:var(--dock);border:0}.app-icon{font-size:12px;gap:8px;min-width:76px}.app-icon img{width:68px;height:68px;border-radius:16px}.bottom-area{padding-bottom:18px;gap:5px}.page-dots{height:26px}:root[dir=rtl] .topbar{right:auto;left:24px}:root[dir=rtl] .widget:not(.clock-widget):not(.empty-feature) .soon{left:auto;right:22px}:root[dir=rtl] .clock-face{justify-content:flex-start}
@media(min-width:1300px){.page{padding-top:30px}.widget-grid{max-height:520px}.clock-face time{font-size:150px}.clock-widget #clock-date{font-size:40px}}
@media(orientation:portrait),(max-width:700px){.page{padding:24px 28px 14px}.widget-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(190px,1.2fr) minmax(152px,1fr) minmax(132px,.8fr);max-height:620px;min-height:506px;gap:16px}.clock-widget{padding:24px 28px;grid-column:1 / -1;grid-row:1}.clock-face time{font-size:96px;letter-spacing:-4px}.clock-face #day-period{font-size:15px;padding-bottom:10px}.clock-widget #clock-date{font-size:27px;gap:8px;letter-spacing:-.4px}.clock-widget #date-weekday{font-size:17px}.weather{grid-column:1;grid-row:2}.room{grid-column:2;grid-row:2}.up-next{grid-column:1 / -1;grid-row:3}.large.empty-feature{grid-column:1 / -1;grid-row:1;padding:26px 28px}.empty-feature h2{font-size:29px}.empty-feature .feature-symbol{width:56px;height:56px}.page:not(#today) .widget.medium{grid-column:1 / -1;grid-row:3}.dock{gap:28px;padding:16px 24px 13px}.app-icon{min-width:76px}}
@media(max-width:540px){.page{padding:20px 18px 12px}.topbar{right:14px;top:12px}.page-heading h1{font-size:28px}.widget-grid{gap:12px;min-height:460px;grid-template-rows:180px 140px 116px}.clock-widget{padding:20px;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px}.clock-face time{font-size:78px}.clock-face #day-period{font-size:15px;padding-bottom:8px}.clock-widget #clock-date{font-size:19px;flex-direction:row;gap:9px;align-items:baseline;text-align:start}.clock-widget #date-weekday{font-size:15px}.widget{padding:18px}.widget h2{font-size:18px}.widget:not(.clock-widget):not(.empty-feature) .soon{left:18px;bottom:16px;font-size:12px}.empty-feature h2{font-size:24px}.large.empty-feature{padding:22px}.empty-feature .feature-symbol{width:42px;height:42px}.dock{gap:0;padding:13px 9px 11px}.app-icon{min-width:0;font-size:9px}.app-icon img{width:48px;height:48px;border-radius:12px}:root[dir=rtl] .topbar{left:14px}:root[dir=rtl] .widget:not(.clock-widget):not(.empty-feature) .soon{right:18px}}
@media(max-height:650px) and (orientation:landscape){.page{padding-top:16px}.page-heading{padding-bottom:12px}.widget-grid{height:calc(100% - 46px);min-height:265px;max-height:340px;grid-template-rows:minmax(145px,1.15fr) minmax(110px,1fr);gap:12px}.clock-widget{padding:18px 28px}.clock-face time{font-size:94px}.clock-widget #clock-date{font-size:26px}.widget{padding:18px}.widget:not(.clock-widget):not(.empty-feature) .soon{bottom:15px;left:18px}.widget:not(.clock-widget):not(.empty-feature)>div:last-child{margin-bottom:22px}.widget h2{font-size:18px}.widget-symbol{width:26px;height:26px}.large.empty-feature{padding:22px 28px}.empty-feature h2{font-size:29px}.empty-feature .feature-symbol{width:46px;height:46px}.dock{padding:12px 24px 10px;gap:34px}.app-icon img{width:54px;height:54px;border-radius:13px}.app-icon{font-size:11px}.bottom-area{padding-bottom:12px}}

/* Reserved widgets show their future information structure without fake data. */
.reserved-widget{display:flex;justify-content:flex-start;gap:12px}.reserved-widget .mini-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0!important}.mini-heading h2{font-size:16px;font-weight:600;letter-spacing:-.2px}.mini-heading svg{width:24px;height:24px;flex:none}.mini-heading>.sun{font-size:29px;line-height:24px}.weather-reading{color:var(--secondary);font-size:54px;font-weight:300;letter-spacing:-3px;line-height:1.1}.weather-reading>span{font-size:38px;vertical-align:top}.calendar-preview{display:flex;flex-direction:column;gap:12px;padding-top:6px;margin:0!important}.calendar-preview>div{display:flex;align-items:center;gap:12px;height:18px}.calendar-preview i{width:3px;height:24px;border-radius:3px;background:#ff3b3040}.calendar-preview>div+div i{background:#007aff40}.calendar-preview span{height:8px;width:62%;max-width:190px;background:var(--badge);border-radius:4px}.calendar-preview>div+div span{width:44%}.room-preview{display:flex;justify-content:space-between;gap:6px;padding-top:13px;margin:0!important}.room-preview>span{display:grid;place-items:center;width:38px;height:42px;border-radius:12px;background:var(--badge);color:var(--secondary)}.room-preview svg{width:22px;height:22px;stroke-width:1.5}.widget-grid{max-height:390px;grid-template-rows:minmax(180px,1.1fr) minmax(166px,1fr)}.clock-face time{font-size:112px}.large.empty-feature h2{font-size:32px}.widget:not(.clock-widget):not(.empty-feature).reserved-widget>.soon{font-size:12px}
@media(min-width:1300px){.widget-grid{max-height:470px}.clock-face time{font-size:134px}}
@media(orientation:portrait),(max-width:700px){.widget-grid{max-height:570px;grid-template-rows:minmax(182px,1.1fr) minmax(166px,1fr) minmax(142px,.85fr)}.clock-face time{font-size:96px}.room-preview{justify-content:flex-start;gap:12px}.room-preview>span{width:48px;height:48px}.weather-reading{font-size:60px}.calendar-preview{gap:10px;padding-top:0}.calendar-preview>div{height:14px}}
@media(max-width:540px){.widget-grid{max-height:none;grid-template-rows:180px 140px 116px}.reserved-widget{gap:8px}.mini-heading h2{font-size:15px}.mini-heading svg{width:22px;height:22px}.weather-reading{font-size:46px}.room-preview{gap:5px;padding-top:8px;justify-content:space-between}.room-preview>span{width:32px;height:36px;border-radius:9px}.room-preview svg{width:19px;height:19px}.calendar-preview{gap:7px}.calendar-preview>div{height:10px}.calendar-preview i{height:18px}.clock-face time{font-size:78px}}
@media(max-height:650px) and (orientation:landscape){.widget-grid{max-height:340px;grid-template-rows:minmax(138px,1fr) minmax(130px,1fr)}.clock-face time{font-size:94px}.reserved-widget{gap:8px}.weather-reading{font-size:42px}.room-preview{padding-top:6px}.room-preview>span{height:34px;width:32px}.calendar-preview{gap:7px;padding-top:0}.mini-heading h2{font-size:15px}.calendar-preview>div{height:12px}}

.page{contain:layout paint}
