:root{font-family:'DM Sans',sans-serif;color:#202820;background:#f6f7f2;font-synthesis:none;text-rendering:optimizeLegibility;--green:#285942;--green-dark:#214b37;--muted:#849087;--line:#e9ede7;--paper:#fff;--soft:#f4f7f3;--serif:'Manrope','DM Sans',sans-serif}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f6f7f2}.app-shell{min-height:100vh}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid #edf0eb;padding:30px 19px 18px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:#253a2e;margin:1px 0 54px 8px}.brand-mark{width:30px;height:30px;display:grid;grid-template-columns:repeat(2,1fr);gap:3px;transform:rotate(-9deg)}.brand-mark span{border-radius:4px;background:#2e6548}.brand-mark span:nth-child(2){opacity:.64}.brand-mark span:nth-child(3){opacity:.78}.brand-mark span:nth-child(4){opacity:.35}.brand-copy{display:grid;line-height:1}.brand-copy strong,.mobile-brand strong{font:800 20px var(--serif);letter-spacing:-1.2px}.brand-copy strong span,.mobile-brand strong span{color:#89aa76}.brand-copy small{font-size:9px;letter-spacing:2px;text-transform:uppercase;color:#88928a;margin-top:5px}.sidebar-section-label{font-size:9px;font-weight:700;letter-spacing:1.55px;color:#9ba49d}.nav-item{width:100%;border:0;background:transparent;text-align:left;display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:8px;color:#7b857e;font:500 12px 'DM Sans',sans-serif;margin-top:5px;cursor:pointer}.nav-item.active{background:#edf4ed;color:#2c5a40;font-weight:600}.nav-icon{font-size:16px;width:16px;text-align:center}.sidebar-divider{height:1px;background:#edf0eb;margin:28px 0 24px}.sidebar-agenda-head{display:flex;align-items:center;justify-content:space-between;padding:0 3px 8px}.icon-button{border:1px solid #e8ece7;background:white;color:#647269;width:34px;height:34px;border-radius:8px;font:400 20px 'DM Sans';cursor:pointer;display:grid;place-items:center}.icon-button:hover,.strip-arrow:hover{border-color:#adc5b2;color:var(--green)}.icon-button.small{width:24px;height:24px;font-size:18px;border:none;color:#6a7a6e}.sidebar-agenda-list{display:grid;gap:3px}.side-agenda{display:flex;align-items:center;gap:10px;padding:10px 9px;border-radius:7px;border:0;background:transparent;text-align:left;color:#68746b;font:500 12px 'DM Sans';cursor:pointer}.side-agenda.active{color:#2e5c42;background:#f3f7f2}.agenda-dot{width:8px;height:8px;border-radius:50%;flex:none}.sidebar-spacer{flex:1}.local-note{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0eb;padding:17px 6px 15px;color:#51665a}.local-dot{width:8px;height:8px;border-radius:50%;background:#88b685;box-shadow:0 0 0 3px #edf5eb}.local-note strong,.local-note small,.profile-copy strong,.profile-copy small{display:block}.local-note strong{font-size:10px;font-weight:600}.local-note small{font-size:9px;color:#9aa39b;margin-top:3px}.profile-card{border:0;border-top:1px solid #edf0eb;background:#fff;padding:15px 4px 3px;display:flex;align-items:center;text-align:left;gap:9px;cursor:pointer}.avatar,.top-avatar{width:30px;height:30px;background:#dce8d7;color:#416248;border-radius:50%;display:grid;place-items:center;font:700 12px var(--serif)}.profile-copy{flex:1}.profile-copy strong{font-size:11px;color:#405247}.profile-copy small{font-size:9px;color:#9aa39b;margin-top:3px}.more-dots{font-size:18px;color:#8c968e}.main-area{margin-left:244px;min-height:100vh}.topbar{height:68px;background:rgba(255,255,255,.7);border-bottom:1px solid #ecefe9;display:flex;align-items:center;justify-content:space-between;padding:0 52px}.breadcrumb{font-size:11px;color:#9ba49d;display:flex;align-items:center;gap:12px}.breadcrumb strong{font-weight:600;color:#4c5d50}.crumb-separator{color:#d2d8d1}.topbar-actions{display:flex;align-items:center;gap:17px}.today-button{border:0;background:transparent;color:#647367;font:500 11px 'DM Sans';cursor:pointer;display:flex;gap:7px;align-items:center}.today-button:hover{color:var(--green)}.help-button{border-radius:50%;width:24px;height:24px;font-size:12px;color:#88928a}.top-avatar{width:28px;height:28px}.mobile-brand{display:none}.content-wrap{width:min(1060px,calc(100% - 104px));margin:0 auto;padding:43px 0 22px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:36px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.35px;color:#94a097;display:flex;align-items:center;gap:7px}.eyebrow-dot{width:6px;height:6px;border-radius:50%;background:#81a87a}.page-heading h1{font:700 32px var(--serif);letter-spacing:-1.35px;margin:9px 0 5px;color:#28372d}.page-heading p{font-size:12px;color:#8a948b;margin:0}.primary-button{height:40px;border:0;border-radius:7px;padding:0 16px;background:#2e6145;color:white;font:600 11px 'DM Sans';display:inline-flex;align-items:center;gap:8px;cursor:pointer;box-shadow:0 3px 8px #224c3719;white-space:nowrap}.primary-button:hover{background:#244f39;transform:translateY(-1px)}.primary-button>span{font-size:16px}.agenda-strip-section{margin-bottom:23px}.strip-label{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:11px}.strip-label h2{font:700 12px var(--serif);margin:0 0 3px;color:#3a493d}.strip-label>div>span{font-size:10px;color:#a0a9a1}.text-button{border:0;background:transparent;color:#487253;font:600 10px 'DM Sans';cursor:pointer;padding:4px 0}.agenda-strip-wrap{position:relative}.agenda-strip{display:flex;overflow:auto;gap:9px;padding:1px 0 3px;scrollbar-width:none;scroll-behavior:smooth}.agenda-strip::-webkit-scrollbar{display:none}.agenda-card{flex:0 0 145px;min-height:59px;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;border:1px solid #eaeee8;background:#fff;color:#58665a;text-align:left;cursor:pointer;transition:.16s}.agenda-card:hover{border-color:#c8d7c8;transform:translateY(-1px)}.agenda-card.selected{border-color:#84a78a;background:#edf4ec;box-shadow:inset 0 0 0 1px #84a78a;color:#30593e}.agenda-card .agenda-icon{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;font-size:14px;flex:none}.agenda-card-copy{min-width:0}.agenda-card-copy strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:10px;font-weight:600}.agenda-card-copy small{display:block;margin-top:4px;color:#9ca69d;font-size:9px}.strip-arrow{position:absolute;z-index:1;top:50%;transform:translateY(-50%);width:23px;height:23px;border-radius:50%;border:1px solid #e5eae3;background:#fff;color:#647468;font-size:17px;cursor:pointer;box-shadow:0 2px 7px #233b2510}.strip-arrow.left{left:-11px}.strip-arrow.right{right:-11px}.calendar-card{border:1px solid #e9ede7;border-radius:11px;background:white;box-shadow:0 5px 18px #243c2610;overflow:hidden}.calendar-toolbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 23px;border-bottom:1px solid #eef0ec}.date-heading{display:flex;align-items:center;gap:11px}.date-heading-icon{width:34px;height:34px;border-radius:8px;background:#eff5ed;color:#527651;display:grid;place-items:center;font-size:15px}.date-heading h2{font:700 13px var(--serif);margin:0 0 4px;color:#354438}.date-heading p{font-size:10px;margin:0;color:#9ba49d}.calendar-actions{display:flex;align-items:center;gap:10px;position:relative}.week-nav{display:flex;border:1px solid #e8ece6;border-radius:6px;overflow:hidden}.week-nav button{border:0;background:white;width:29px;height:28px;color:#6a786c;font-size:18px;cursor:pointer}.week-nav button+button{border-left:1px solid #e8ece6}.week-nav button:hover{background:#f3f7f1}.week-picker{height:29px;padding:0 10px;border:1px solid #e8ece6;border-radius:6px;background:white;color:#647166;font:500 10px 'DM Sans';cursor:pointer;display:flex;align-items:center;gap:7px}.week-picker:hover{border-color:#c5d4c5}#datePicker{position:absolute;right:0;top:34px;width:1px;height:1px;opacity:0;pointer-events:none}.weekdays-head{display:grid;grid-template-columns:minmax(185px,25%) 1fr 180px;gap:12px;padding:12px 23px 10px;background:#fbfcfa;border-bottom:1px solid #eff1ed}.day-header-label{font-size:8px;letter-spacing:1.1px;font-weight:700;color:#a1aaa2}.right-label{text-align:right}.week-days{padding:0 23px}.day-row{min-height:65px;display:grid;grid-template-columns:minmax(185px,25%) 1fr 180px;gap:12px;align-items:center;border-bottom:1px solid #eff1ed;cursor:pointer;transition:background .15s;margin:0 -23px;padding:0 23px}.day-row:last-child{border-bottom:none}.day-row:hover{background:#fbfcfa}.day-row.is-today .day-number{background:#2e6145;color:white}.day-row.selected-day{background:#f4f8f3}.day-meta{display:flex;align-items:center;gap:12px}.day-number{width:35px;height:35px;border-radius:8px;display:grid;place-items:center;color:#506055;background:#f2f5f0;font:700 13px var(--serif);flex:none}.day-label strong{display:block;color:#38473b;font-size:11px;font-weight:600}.day-label small{display:block;color:#9da69e;font-size:9px;margin-top:4px}.day-count{font-size:10px;color:#93a096;min-width:90px}.day-count strong{color:#55695a;font-weight:600}.day-summary{display:flex;justify-content:flex-end;align-items:center;gap:7px;min-width:0}.mini-dots{display:flex;gap:3px}.mini-dot{width:6px;height:6px;border-radius:50%}.summary-text{color:#89958b;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:115px;text-align:right}.empty-day{color:#c0c8c1;font-size:9px;font-style:italic}.calendar-footer{min-height:39px;padding:0 23px;background:#fbfcfa;border-top:1px solid #eff1ed;display:flex;justify-content:space-between;align-items:center;color:#a0aaa1;font-size:9px}.calendar-footer>span:first-child{display:flex;align-items:center;gap:7px}.footer-dot{width:6px;height:6px;border-radius:50%;background:#86a882}.page-footer{padding-top:22px;display:flex;justify-content:space-between;color:#a6aea7;font-size:9px}.footer-sparkle{color:#84a47c;margin-right:4px}.overlay,.modal-overlay{position:fixed;inset:0;background:#18271eb5;z-index:5;opacity:0;pointer-events:none;transition:opacity .2s}.overlay.open,.modal-overlay.open{opacity:1;pointer-events:auto}.day-panel{position:absolute;inset:0 0 0 auto;width:min(610px,100%);background:#f8f9f6;padding:28px 32px 0;display:flex;flex-direction:column;transform:translateX(25px);transition:transform .25s;box-shadow:-12px 0 45px #1e32211a}.overlay.open .day-panel{transform:translateX(0)}.panel-topline{display:flex;align-items:center;justify-content:space-between}.panel-kicker{font-size:9px;letter-spacing:1.6px;color:#94a097;font-weight:700}.close-panel{font-size:22px}.day-panel-heading{display:flex;justify-content:space-between;align-items:flex-end;padding:31px 0 24px}.day-panel-heading h2{font:700 27px var(--serif);letter-spacing:-.8px;margin:8px 0 4px;color:#2d3d31}.day-panel-heading p{font-size:11px;color:#8f9a91;margin:0}.primary-button.compact{height:35px;padding:0 12px;font-size:10px}.day-panel-content{overflow:auto;flex:1;padding:2px 3px 22px}.day-section-label{font-size:9px;font-weight:700;letter-spacing:1px;color:#a0aaa1;margin:8px 0 10px;display:flex;justify-content:space-between}.day-section-label span{font-weight:500;letter-spacing:0}.appointment-card{background:#fff;border:1px solid #e9eee7;border-radius:9px;padding:14px;margin-bottom:9px;box-shadow:0 3px 8px #283c2608}.appointment-main{display:flex;gap:12px}.time-block{width:48px;flex:none;font-size:11px;font-weight:700;color:#647d68;padding-top:2px}.time-block.no-time{font-size:9px;color:#a0aaa1;font-weight:500}.appointment-accent{width:3px;align-self:stretch;border-radius:4px;flex:none}.appointment-body{min-width:0;flex:1}.appointment-title{font:700 12px var(--serif);color:#354539;margin:0 0 5px}.appointment-description{font-size:10px;color:#89948b;line-height:1.55;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.appointment-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:11px}.agenda-tag,.status-pill{font-size:8px;font-weight:600;padding:5px 7px;border-radius:99px;display:inline-flex;gap:5px;align-items:center}.agenda-tag{background:#f1f5ef;color:#668069}.status-pill{border:0;cursor:pointer}.status-pill:hover{filter:brightness(.97)}.appointment-value{font-size:9px;color:#55715a;font-weight:600;margin-left:auto}.appointment-tools{margin-left:auto;display:flex;gap:4px}.tiny-tool{border:0;background:transparent;width:25px;height:25px;border-radius:5px;color:#a0aaa1;cursor:pointer;font-size:13px}.tiny-tool:hover{background:#f1f5ef;color:#416347}.empty-state{text-align:center;padding:70px 20px}.empty-state-icon{width:45px;height:45px;margin:0 auto 13px;border-radius:13px;display:grid;place-items:center;background:#edf4ec;color:#628065;font-size:21px}.empty-state h3{font:700 14px var(--serif);margin:0 0 6px;color:#3d4b40}.empty-state p{font-size:10px;color:#969f97;margin:0 0 15px}.day-panel-bottom{margin:0 -32px;border-top:1px solid #e9ede7;background:white;min-height:67px;display:flex;align-items:center;padding:0 28px;gap:10px;color:#a0aaa1;font-size:9px}.mic-button{width:30px;height:30px;border-radius:50%;border:1px solid #e8ece6;background:#fbfcfa;color:#79917b;font-size:14px;cursor:not-allowed}.bottom-spacer{flex:1}.back-to-week{border:0;background:transparent;color:#47654e;font:600 10px 'DM Sans';cursor:pointer}.back-to-week span{margin-left:5px;font-size:14px}.modal-overlay{display:grid;place-items:center;padding:20px;z-index:8;background:#18271e88}.modal-card{width:min(490px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:12px;padding:25px 27px 23px;box-shadow:0 18px 70px #10211633;transform:translateY(10px) scale(.99);transition:transform .2s}.modal-overlay.open .modal-card{transform:translateY(0) scale(1)}.modal-header{display:flex;justify-content:space-between;gap:15px;margin-bottom:21px}.modal-header h2{font:700 20px var(--serif);letter-spacing:-.6px;margin:7px 0 4px;color:#2d3e32}.modal-header p{margin:0;color:#96a098;font-size:10px}.modal-header .icon-button{flex:none}.field-label{display:grid;gap:7px;font-size:10px;font-weight:600;color:#5a685d;margin-bottom:14px}.field-label input,.field-label textarea,.field-label select{width:100%;border:1px solid #e6ebe5;background:#fcfdfa;border-radius:6px;padding:10px 11px;font:400 11px 'DM Sans';color:#354539;outline:none;resize:vertical}.field-label input:focus,.field-label textarea:focus,.field-label select:focus{border-color:#91b194;box-shadow:0 0 0 3px #e8f0e7}.field-label input::placeholder,.field-label textarea::placeholder{color:#b4bcb5}.optional{font-weight:400;color:#a8b0a9;margin-left:3px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.money-input{display:flex;align-items:center;border:1px solid #e6ebe5;background:#fcfdfa;border-radius:6px;padding-left:10px;color:#95a096;font-size:10px}.money-input:focus-within{border-color:#91b194;box-shadow:0 0 0 3px #e8f0e7}.money-input input{border:0;background:transparent;box-shadow:none!important}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px;padding-top:17px;border-top:1px solid #edf0eb}.secondary-button{height:38px;padding:0 14px;border:1px solid #e6ebe5;border-radius:6px;background:white;color:#718075;font:500 10px 'DM Sans';cursor:pointer}.secondary-button:hover{background:#f8faf7}.modal-actions .primary-button{height:38px}.small-modal{width:min(420px,100%)}.color-choices{display:flex;gap:9px;margin-top:9px}.color-choice{width:25px;height:25px;border-radius:50%;border:3px solid white;box-shadow:0 0 0 1px #e2e8e0;cursor:pointer}.color-choice.selected{box-shadow:0 0 0 2px #456e4e}.toast{position:fixed;bottom:24px;left:50%;z-index:12;background:#2a4833;color:white;border-radius:7px;padding:11px 16px;font-size:11px;box-shadow:0 5px 20px #142d1c30;opacity:0;transform:translate(-50%,10px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:1100px){.content-wrap{width:calc(100% - 64px)}.topbar{padding:0 32px}.day-row,.weekdays-head{grid-template-columns:minmax(160px,27%) 1fr 150px}.summary-text{max-width:95px}}
@media(max-width:760px){.sidebar{display:none}.main-area{margin-left:0}.topbar{height:58px;padding:0 19px}.breadcrumb{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;color:#263b2d}.mobile-brand .brand-mark{width:23px;height:23px;gap:2px}.mobile-brand strong{font-size:17px}.topbar-actions{gap:11px}.today-button{font-size:0;gap:0}.today-button span{display:none}.today-button:first-letter{font-size:16px}.help-button{display:none}.content-wrap{width:calc(100% - 34px);padding:30px 0 18px}.page-heading{align-items:flex-start;gap:13px;margin-bottom:27px}.page-heading h1{font-size:26px}.page-heading p{max-width:220px;line-height:1.5;font-size:10px}.page-heading>.primary-button{font-size:0;width:39px;height:39px;padding:0;justify-content:center;flex:none}.page-heading>.primary-button span{font-size:19px}.strip-label h2{font-size:11px}.strip-label>div>span{font-size:9px}.agenda-card{flex-basis:132px;min-height:55px;padding:8px 9px;gap:8px}.agenda-card .agenda-icon{width:27px;height:27px}.strip-arrow.left{left:-8px}.strip-arrow.right{right:-8px}.calendar-toolbar{height:auto;min-height:70px;padding:13px 14px;gap:8px}.date-heading{gap:8px}.date-heading-icon{width:30px;height:30px}.date-heading h2{font-size:11px}.date-heading p{font-size:8px}.calendar-actions{gap:6px}.week-picker{width:31px;justify-content:center;padding:0;font-size:13px}.week-picker span{display:none}.week-nav button{width:25px;height:27px}.weekdays-head{grid-template-columns:130px 1fr;padding:11px 14px 9px}.right-label{display:none}.week-days{padding:0 14px}.day-row{grid-template-columns:130px 1fr;gap:6px;min-height:61px;padding:0 14px;margin:0 -14px}.day-number{width:31px;height:31px;font-size:12px}.day-meta{gap:8px}.day-label strong{font-size:10px}.day-label small{font-size:8px}.day-count{min-width:0;font-size:9px}.day-summary{display:none}.calendar-footer{padding:0 13px;font-size:8px}.calendar-footer>span:first-child{gap:5px}.page-footer{font-size:8px}.day-panel{padding:21px 18px 0}.day-panel-heading{padding:25px 0 18px}.day-panel-heading h2{font-size:22px}.day-panel-bottom{margin:0 -18px;padding:0 15px;gap:7px;font-size:8px}.day-panel-bottom .back-to-week{font-size:9px}.modal-card{padding:21px 19px}.form-row{gap:8px}}
@media(max-width:410px){.content-wrap{width:calc(100% - 26px)}.calendar-toolbar{padding:11px 10px}.week-picker{display:none}.weekdays-head,.week-days{padding-left:10px;padding-right:10px}.day-row{padding-left:10px;padding-right:10px;margin-left:-10px;margin-right:-10px;grid-template-columns:119px 1fr}.weekdays-head{grid-template-columns:119px 1fr}.day-count{font-size:8px}.day-panel-heading .primary-button{font-size:0;width:34px;padding:0;justify-content:center}.day-panel-heading .primary-button span{font-size:16px}.day-panel-bottom>span:not(.bottom-spacer){max-width:125px;line-height:1.4}.back-to-week{white-space:nowrap}}

/* Dark emerald + peach art direction inspired by the supplied references. */
:root{color-scheme:dark;--green:#00d69a;--green-dark:#008e68;--peach:#ffc3a5;--muted:#89938e;--line:#222a26;--paper:#101412;--soft:#080b09}
body,.app-shell,.main-area{background:#000;color:#f2f4f1}
.sidebar{background:#050706;border-color:#181e1a}
.brand{color:#f4f1ed}.brand-mark span{background:#00d69a}.brand-mark span:nth-child(2){background:#ffc3a5}.brand-mark span:nth-child(3){background:#00d69a}.brand-mark span:nth-child(4){background:#ffc3a5}.brand-copy strong span,.mobile-brand strong span{color:var(--peach)}.brand-copy small{color:#818b85}
.sidebar-section-label,.panel-kicker{color:#78847d}.nav-item{color:#98a19b}.nav-item.active,.side-agenda.active{background:#10221a;color:#67e2b0}.sidebar-divider,.local-note,.profile-card{border-color:#1b211d}.side-agenda{color:#a6aea9}.local-note{color:#c0c9c2}.local-dot{background:#00d69a;box-shadow:0 0 0 3px #09251a}.local-note small,.profile-copy small{color:#7c8780}.profile-copy strong{color:#e1e7e2}.profile-card{background:transparent}.avatar,.top-avatar{background:#183c2d;color:#84edc2}.more-dots{color:#8d9891}
.topbar{background:linear-gradient(110deg,#101714 0%,#10261d 35%,#1e201a 69%,#251b18 100%);border-color:#242b26}.breadcrumb{color:#a1aaa4}.breadcrumb strong{color:#f1d0bd}.crumb-separator{color:#505a53}.today-button{color:#b5c0b8}.today-button:hover{color:var(--peach)}.help-button,.icon-button{background:#101512;border-color:#303a33;color:#d9e2dc}.mobile-brand{color:#f4f1ed}
.content-wrap{position:relative}.page-heading h1{color:#f4f4f0}.page-heading p,.strip-label>div>span{color:#8c9790}.eyebrow{color:#aeb8b1}.eyebrow-dot{background:var(--peach);box-shadow:0 0 12px #ffc3a555}.page-heading .eyebrow-dot{background:var(--green);box-shadow:0 0 12px #00d69a66}
.primary-button{background:linear-gradient(135deg,#00a879,#007851);color:#f2fff8;box-shadow:0 5px 18px #00b87925}.primary-button:hover{background:linear-gradient(135deg,#10c58e,#008b60)}.text-button{color:var(--peach)}.strip-label h2{color:#e8eee9}
.agenda-card{background:#0c100e;border-color:#202923;color:#d3dad5}.agenda-card:hover{border-color:#567360}.agenda-card.selected{background:linear-gradient(115deg,#10241a,#171b16);border-color:#00a878;box-shadow:inset 0 0 0 1px #00a87866,0 0 20px #00b87912;color:#f4f7f3}.agenda-card-copy small{color:#87938b}.strip-arrow{background:#111713;border-color:#2a332d;color:#d4ddd6;box-shadow:0 2px 10px #0008}.strip-arrow:hover{border-color:var(--peach);color:var(--peach)}
.calendar-card{background:#0a0d0b;border-color:#202722;box-shadow:0 8px 30px #0009}.calendar-toolbar{border-color:#202722}.date-heading-icon{background:#10231b;color:#5ae1ad}.date-heading h2{color:#f0f1ed}.date-heading p{color:#89948c}.week-nav{border-color:#303833}.week-nav button,.week-picker{background:#101512;color:#ccd5ce}.week-nav button+button{border-color:#303833}.week-nav button:hover,.week-picker:hover{background:#19231d;border-color:#54735e}.weekdays-head,.calendar-footer{background:#0e1210;border-color:#202722}.day-header-label{color:#849087}.day-row{border-color:#1c231e}.day-row:hover{background:#101512}.day-row.selected-day{background:#101d16}.day-row.is-today .day-number{background:linear-gradient(145deg,#00bd86,#087853);color:#fff;box-shadow:0 0 15px #00bd8640}.day-number{background:#151a17;color:#e4ece6}.day-label strong{color:#e3e9e4}.day-label small,.day-count{color:#929d95}.day-count strong{color:var(--peach)}.summary-text{color:#b5beb7}.empty-day{color:#69756c}.calendar-footer,.page-footer{color:#77837a}.footer-dot,.footer-sparkle{color:var(--peach);background:var(--green)}
.overlay{background:#000c}.day-panel{background:#080b09;box-shadow:-12px 0 45px #000b}.day-panel-heading h2{color:#f4f4ef}.day-panel-heading p{color:#98a39b}.day-section-label{color:#8c9990}.appointment-card{background:#111613;border-color:#27312a;box-shadow:0 5px 16px #0005}.appointment-title{color:#f0f2ee}.appointment-description{color:#a5afa8}.time-block{color:var(--peach)}.time-block.no-time{color:#99a49c}.agenda-tag{background:#17221b;color:#b0d9bc}.status-pill{background:#15231b!important;color:#88e6b7!important;border:1px solid #28543c}.appointment-value{color:var(--peach)}.tiny-tool{color:#89958c}.tiny-tool:hover{background:#1b2920;color:var(--peach)}.empty-state-icon{background:#15231b;color:var(--peach)}.empty-state h3{color:#eef1ed}.empty-state p{color:#9aa59d}.day-panel-bottom{background:#0d110f;border-color:#252d27;color:#8b968e}.mic-button{background:#121815;border-color:#354239;color:var(--peach)}.back-to-week{color:#68dba9}
.modal-overlay{background:#000c}.modal-card{background:#0d110f;border:1px solid #28312b;box-shadow:0 18px 70px #000c}.modal-header h2{color:#f4f4ef}.modal-header p,.optional{color:#909b93}.field-label{color:#c1cbc3}.field-label input,.field-label textarea,.field-label select,.money-input{background:#080b09;border-color:#303a33;color:#ecf1ec}.field-label input:focus,.field-label textarea:focus,.field-label select:focus,.money-input:focus-within{border-color:#00ae7d;box-shadow:0 0 0 3px #00ae7d25}.field-label input::placeholder,.field-label textarea::placeholder{color:#67736a}.modal-actions{border-color:#252d27}.secondary-button{background:#121714;border-color:#303a33;color:#c5cec7}.secondary-button:hover{background:#1a231d}.color-choice{border-color:#0d110f;box-shadow:0 0 0 1px #39443c}.color-choice.selected{box-shadow:0 0 0 2px var(--peach)}.toast{background:#133624;color:#dcf9e8;border:1px solid #24643f}
::selection{background:#00a87966;color:#fff}

/* Tactile depth: beveled edges, layered shadows and a restrained perspective. */
.content-wrap{perspective:1400px;perspective-origin:50% 0}
.agenda-card,.calendar-card,.primary-button,.week-picker,.week-nav,.icon-button,.appointment-card,.modal-card{transform-style:preserve-3d}
.agenda-card{box-shadow:inset 0 1px 0 #ffffff12,inset 0 -2px 0 #0009,0 5px 12px #0008;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.agenda-card:hover{transform:translateY(-3px) rotateX(2deg);box-shadow:inset 0 1px 0 #ffffff18,0 10px 19px #000a}
.agenda-card.selected{box-shadow:inset 0 1px 0 #d5ffe32c,inset 0 -2px 0 #001d14,0 7px 18px #00b87925,0 0 0 1px #00d69a26}
.primary-button{border:1px solid #4be2ac66;box-shadow:inset 0 1px 0 #d7fff13d,inset 0 -3px 0 #004c36,0 6px 14px #0008,0 0 14px #00ba8023;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.primary-button:hover{transform:translateY(-2px);box-shadow:inset 0 1px 0 #e5fff455,inset 0 -3px 0 #005c40,0 10px 20px #0009,0 0 18px #00da9740}
.icon-button,.week-picker,.week-nav{box-shadow:inset 0 1px 0 #ffffff14,inset 0 -2px 0 #0009,0 3px 7px #0007}
.calendar-card{position:relative;box-shadow:0 12px 35px #000c,0 1px 0 #ffffff0b,inset 0 1px 0 #ffffff0c}
.calendar-toolbar{background:linear-gradient(105deg,#101714,#111512 60%,#171410);box-shadow:inset 0 1px 0 #ffffff0b}
.date-heading-icon{box-shadow:inset 0 1px 0 #baffd51c,inset 0 -2px 0 #0008,0 4px 10px #0007}
.day-row{transition:background .18s ease,transform .18s ease,box-shadow .18s ease}
.day-row:hover{transform:translateZ(7px);box-shadow:inset 3px 0 0 #ffc3a5,0 5px 12px #0006}
.day-number{box-shadow:inset 0 1px 0 #ffffff13,inset 0 -2px 0 #0008,0 3px 7px #0008}
.day-row.is-today .day-number{box-shadow:inset 0 1px 0 #ffffff4d,inset 0 -3px 0 #004e37,0 5px 13px #00bd8655}
.appointment-card{position:relative;box-shadow:inset 0 1px 0 #ffffff10,inset 0 -2px 0 #0008,0 6px 14px #0008;transition:transform .18s ease,box-shadow .18s ease}
.appointment-card:hover{transform:translateY(-2px) rotateX(1deg);box-shadow:inset 0 1px 0 #ffffff18,inset 0 -2px 0 #0008,0 11px 20px #000a}
.appointment-accent{box-shadow:0 0 9px currentColor}
.agenda-icon,.agenda-tag,.status-pill{box-shadow:inset 0 1px 0 #ffffff14,inset 0 -1px 0 #0008}
.day-panel{box-shadow:-18px 0 55px #000d,inset 1px 0 0 #ffffff0a}
.modal-card{box-shadow:0 25px 80px #000e,inset 0 1px 0 #ffffff12,0 0 0 1px #ffffff05}
.color-choice{box-shadow:inset 0 1px 0 #ffffff55,0 3px 7px #0009}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Mobile is the primary product canvas, including when opened on a desktop preview. */
@media(min-width:761px){
  body{background:#000}
  .app-shell{width:min(430px,100%);min-height:100vh;margin:0 auto;background:#000;box-shadow:0 0 0 1px #27322b,0 0 90px #00a87918}
  .sidebar{display:none}
  .main-area{margin-left:0;min-height:100vh}
  .topbar{height:74px;padding:0 20px;background:linear-gradient(110deg,#101714 0%,#102a20 43%,#251c18 100%)}
  .mobile-brand{display:flex;align-items:center;gap:9px;color:#f5f4f0}
  .mobile-brand .brand-mark{width:27px;height:27px;gap:2px}
  .mobile-brand strong{font-size:19px}
  .breadcrumb,.help-button{display:none}
  .topbar-actions{gap:10px}
  .today-button{font-size:10px;border:1px solid #354239;border-radius:7px;padding:8px 10px;background:#0d120f;box-shadow:inset 0 1px 0 #ffffff12,inset 0 -2px 0 #0009,0 3px 7px #0008}
  .top-avatar{width:29px;height:29px}
  .content-wrap{width:auto;margin:0;padding:27px 19px 22px;perspective:1200px}
  .page-heading{align-items:center;margin-bottom:25px;gap:12px}
  .page-heading h1{font-size:25px;letter-spacing:-1px;margin:8px 0 4px}
  .page-heading p{font-size:10px;line-height:1.5;max-width:230px}
  .page-heading>.primary-button{height:38px;padding:0 11px;font-size:9px;gap:5px}
  .page-heading>.primary-button>span{font-size:14px}
  .agenda-strip-section{margin-bottom:17px}
  .strip-label{margin-bottom:9px}
  .strip-label h2{font-size:11px}
  .strip-label>div>span{font-size:9px}
  .text-button{font-size:9px}
  .agenda-strip{gap:8px}
  .agenda-card{flex-basis:130px;min-height:54px;padding:8px 9px;gap:8px}
  .agenda-card .agenda-icon{width:26px;height:26px;font-size:12px}
  .agenda-card-copy strong{font-size:9px}
  .agenda-card-copy small{font-size:8px}
  .calendar-toolbar{min-height:66px;padding:0 13px}
  .date-heading{gap:8px}
  .date-heading-icon{width:30px;height:30px}
  .date-heading h2{font-size:11px}
  .date-heading p{font-size:8px}
  .calendar-actions{gap:6px}
  .week-nav button{width:25px;height:27px}
  .week-picker{height:28px;width:30px;justify-content:center;padding:0;font-size:12px}
  .week-picker span{display:none}
  .weekdays-head{grid-template-columns:1fr auto;padding:10px 12px 8px}
  .weekdays-head .day-header-label:nth-child(2){text-align:right}
  .weekdays-head .right-label{display:none}
  .week-days{padding:0 12px}
  .day-row{grid-template-columns:1fr auto;min-height:65px;gap:6px;padding:0 12px;margin:0 -12px}
  .day-meta{gap:9px}
  .day-number{width:33px;height:33px}
  .day-label strong{font-size:10px}
  .day-label small{font-size:8px}
  .day-count{min-width:0;text-align:right;font-size:9px}
  .day-summary{display:none}
  .calendar-footer{min-height:37px;padding:0 12px;font-size:8px}
  .page-footer{font-size:8px;padding:17px 2px 0}
  .day-panel{width:min(430px,100%);padding:21px 19px 0}
  .day-panel-heading{padding:25px 0 18px}
  .day-panel-heading h2{font-size:23px}
  .day-panel-bottom{margin:0 -19px;padding:0 15px;gap:7px;font-size:8px}
  .modal-overlay{place-items:center}
}

/* Keep the app header visible while the mobile agenda scrolls. */
.topbar{position:sticky;top:0;z-index:4}
.content-wrap{scroll-margin-top:74px}

/* Three-card agenda carousel, using the date carousel's emerald 3D treatment. */
.agenda-strip{position:relative;display:block;height:106px;overflow:hidden;gap:0;padding:0;border:1px solid #286a6a;border-radius:13px;background:linear-gradient(180deg,#0b191a,#07100f);box-shadow:inset 0 1px 0 #68d4c733,inset 0 -5px 13px #000b,0 3px 0 #000,0 0 0 1px #102d2c,0 0 18px #14635a20;touch-action:pan-y;user-select:none;-webkit-user-select:none;outline:none}
.agenda-strip::before{content:"";position:absolute;z-index:4;left:9px;right:9px;top:4px;height:2px;border-radius:50%;background:linear-gradient(90deg,transparent,#7de1cd88 50%,transparent);filter:blur(.6px);pointer-events:none}
.agenda-card.agenda-carousel-card{position:absolute;top:50%;flex:none;min-height:calc(100% - 8px);height:calc(100% - 8px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;margin:0;padding:7px 5px;border:1px solid #285656;border-radius:11px;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);color:#cbd9d4;text-align:center;box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -6px 9px #000a,0 4px 5px #0009;transform:translate(-50%,-50%);transition:left .28s cubic-bezier(.2,.8,.25,1),width .28s cubic-bezier(.2,.8,.25,1),background .18s ease,border-color .18s ease,color .18s ease,box-shadow .2s ease;cursor:pointer;-webkit-tap-highlight-color:transparent}
.agenda-card.agenda-carousel-card:hover{transform:translate(-50%,-50%);filter:brightness(1.08)}
.agenda-card.agenda-carousel-card.selected,.agenda-card.agenda-carousel-card.moving-center{border-color:#337b73;background:linear-gradient(170deg,#17605a 0%,#10443f 45%,#092c29 100%);color:#fff;box-shadow:inset 0 1px 0 #d5fff05c,inset 0 -9px 13px #001310b8,0 5px 9px #000b,0 0 12px #31c9aa21}
.agenda-card.agenda-carousel-card.side-card{border-color:#28504f;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);color:#cbd9d4;box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -6px 9px #000a,0 4px 5px #0009}
.agenda-card.agenda-carousel-card.moving-center{border-color:#337b73;background:linear-gradient(170deg,#17605a 0%,#10443f 45%,#092c29 100%);color:#fff;box-shadow:inset 0 1px 0 #d5fff05c,inset 0 -9px 13px #001310b8,0 5px 9px #000b,0 0 12px #31c9aa21}
.agenda-card.agenda-carousel-card .agenda-icon{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;font-size:13px;flex:none;box-shadow:inset 0 1px 0 #ffffff25,inset 0 -2px 0 #0009,0 3px 5px #0007}
.agenda-card.agenda-carousel-card .agenda-card-copy{width:100%;min-width:0}
.agenda-card.agenda-carousel-card .agenda-card-copy strong{display:-webkit-box;max-width:100%;white-space:normal;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:11px;line-height:1.15;font-weight:800;letter-spacing:.2px}
.agenda-card.agenda-carousel-card .agenda-card-copy small{display:block;margin-top:3px;color:#9fc5b5;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.agenda-card.agenda-carousel-card.side-card .agenda-icon{width:18px;height:18px;font-size:10px;border-radius:6px}
.agenda-card.agenda-carousel-card.side-card .agenda-card-copy strong{font-size:9px}
.agenda-card.agenda-carousel-card.side-card .agenda-card-copy small{display:none}
.agenda-strip.is-dragging .agenda-carousel-card{transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .18s ease,filter .16s ease}
.agenda-carousel-empty{display:grid;place-items:center;height:100%;color:#9aa69e;font-size:11px}
.agenda-strip.is-settling .agenda-carousel-card{transition:left .28s cubic-bezier(.2,.8,.25,1),width .28s cubic-bezier(.2,.8,.25,1),background .18s ease,border-color .18s ease,color .18s ease,box-shadow .2s ease}
.agenda-card.agenda-carousel-card.is-pressed{animation:agenda-card-tap .14s ease-out}
@keyframes agenda-card-tap{0%{transform:translate(-50%,-50%)}42%{transform:translate(-50%,calc(-50% + 2px))}100%{transform:translate(-50%,-50%)}}
/* Keep all titles at a fixed size while cards glide and overlap. */
.agenda-card.agenda-carousel-card{overflow:hidden}
.agenda-card.agenda-carousel-card .agenda-card-copy{overflow:hidden}
.agenda-card.agenda-carousel-card .agenda-card-copy strong,
.agenda-card.agenda-carousel-card.side-card .agenda-card-copy strong,
.agenda-card.agenda-carousel-card.far-card .agenda-card-copy strong{display:block;width:100%;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:clip;font-size:clamp(8px,calc(8px + var(--agenda-focus,0)*5px),13px)!important;line-height:1.15;-webkit-line-clamp:unset;text-align:center;transition:font-size .08s linear}
.agenda-card.agenda-carousel-card .agenda-icon{width:22px;height:22px;font-size:12px}
.agenda-strip.is-dragging .agenda-card.agenda-carousel-card{transition:left 0s,width 0s,background .16s ease,border-color .16s ease,color .16s ease,box-shadow .18s ease,filter .16s ease}
.app-month-switcher{height:32px;min-width:112px;display:grid;grid-template-columns:25px 1fr 25px;align-items:center;border:1px solid #398276;border-radius:8px;background:linear-gradient(165deg,#176359,#0d3c35 56%,#08251f);box-shadow:inset 0 1px 0 #c2fff263,inset 0 -3px 0 #001c17,0 4px 7px #000a,0 0 9px #00ae7930}
.app-month-switcher button{height:100%;border:0;background:transparent;color:#d9f7ea;font:600 17px 'DM Sans',sans-serif;cursor:pointer;text-shadow:0 1px 2px #0007}
.app-month-switcher button:first-child{border-radius:7px 0 0 7px}.app-month-switcher button:last-child{border-radius:0 7px 7px 0}.app-month-switcher button:hover:not(:disabled){color:var(--peach);background:#ffffff0c}.app-month-switcher button:disabled{opacity:.35;cursor:not-allowed}
.app-month-switcher span{color:#fff;text-align:center;font-size:9px;font-weight:800;letter-spacing:.7px;white-space:nowrap;text-shadow:0 1px 2px #0008}
.topbar-actions{gap:10px}.today-button{border:1px solid #303a33;border-radius:7px;padding:7px 9px;background:#101512;box-shadow:inset 0 1px 0 #ffffff14,inset 0 -2px 0 #0009,0 3px 7px #0007}
@media(max-width:760px){.agenda-strip{height:96px}.app-month-switcher{min-width:104px;height:30px;grid-template-columns:23px 1fr 23px}.app-month-switcher span{font-size:8px}.topbar-actions{gap:7px}.today-button{width:30px;height:30px;padding:0;display:grid;place-items:center;font-size:16px;line-height:1}.today-button span{display:none}}
@media(prefers-reduced-motion:reduce){.agenda-card.agenda-carousel-card{transition:none!important}}

/* Direct visual port of Casa em Equipe's date-wheel cells for agenda names. */
.agenda-strip{height:72px;margin-top:12px;padding:0;gap:0;overflow:hidden;border:1px solid #45494c;border-radius:7px;background:#17191b;box-shadow:none;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}
.agenda-strip::before{display:none}
.agenda-card.agenda-carousel-card{position:absolute;top:2.835px;left:0;height:calc(100% - 5.67px);min-height:0;margin:0;padding:0 4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;overflow:hidden;border:1px solid rgba(102,196,166,.17);border-radius:8px;color:#fff;font:700 19px/1.3 Arial,sans-serif;text-align:center;text-rendering:optimizeLegibility;white-space:nowrap;transform:none;transform-origin:center;will-change:left,width;transition:none;cursor:grab;box-shadow:inset 0 2px 0 rgba(175,245,218,.13),inset 1px 0 0 rgba(115,216,183,.08),inset -1px 0 0 rgba(115,216,183,.08),inset 0 -5px 6px rgba(0,0,0,.6),0 4px 7px rgba(0,0,0,.3);-webkit-tap-highlight-color:transparent}
.agenda-card.agenda-carousel-card:hover{filter:none;transform:none}
.agenda-card.agenda-carousel-card:active{filter:brightness(1.22);transform:scale(.96)}
.agenda-card.agenda-carousel-card .agenda-carousel-label{width:max-content;min-width:max-content;max-width:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;overflow:visible;transform-origin:center center;will-change:transform}
.agenda-card.agenda-carousel-card .agenda-carousel-line{display:block;flex:0 0 auto;width:max-content;min-width:max-content;max-width:none;overflow:visible;color:inherit;font:inherit;line-height:inherit;letter-spacing:.04em;text-align:center;text-transform:uppercase;white-space:nowrap}
@media(max-width:760px){.agenda-strip{height:87.0912px;margin-top:14.5152px}.agenda-card.agenda-carousel-card{font-size:22.9824px}.agenda-card.agenda-carousel-card,.agenda-card.agenda-carousel-card .agenda-carousel-label{gap:4.8384px}}

/* Let side labels travel right to the phone edge as their cards are clipped. */
.agenda-card.agenda-carousel-card{padding-left:0;padding-right:0}
@media(min-width:761px){.agenda-strip{width:calc(100% + 38px);margin-left:-19px}}
@media(max-width:760px){.agenda-strip{width:calc(100% + 34px);margin-left:-17px}}
.agenda-strip{height:66px;margin-top:12px}
.agenda-card.agenda-carousel-card{transform:scaleX(var(--agenda-card-grow,1));transform-origin:center center}
.agenda-card.agenda-carousel-card:hover{transform:scaleX(var(--agenda-card-grow,1));filter:none}
.agenda-card.agenda-carousel-card:active{transform:scaleX(var(--agenda-card-grow,1)) translateY(1px);filter:brightness(1.18)}
@media(max-width:760px){.agenda-strip{height:66px;margin-top:12px}}
/* Align the complete screen to one shared three-pixel side gutter. */
.app-shell{width:min(430px,100%);margin-inline:auto}
.topbar{width:calc(100% - 6px);margin-inline:auto;padding-left:0;padding-right:0}
.content-wrap{width:calc(100% - 6px);margin-inline:auto;padding-left:0;padding-right:0}
.agenda-strip{width:100%;margin-left:0;margin-right:0}

/* Compact home layout: bring the agenda wheel directly under the fixed header. */
.content-wrap{padding-top:0}
.agenda-strip-section{margin:0 0 14px}
.agenda-strip{margin-top:0}
.topbar-actions{gap:6px}
.header-action{width:30px;height:30px;flex:none;display:grid;place-items:center;padding:0;border:1px solid #315449;border-radius:7px;background:linear-gradient(165deg,#141a17,#080b09);color:#d6e8de;font:700 17px/1 Arial,sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff1b,inset 0 -2px 0 #000b,0 3px 6px #0008;-webkit-tap-highlight-color:transparent}
.header-action:hover{filter:brightness(1.12)}
.header-action-primary{border-color:#268666;background:linear-gradient(165deg,#07875f,#045039);color:#fff;font-size:21px;box-shadow:inset 0 1px 0 #c4ffdf48,inset 0 -3px 0 #003828,0 3px 7px #0009}
@media(max-width:380px){.topbar-actions{gap:5px}.today-button{width:28px;min-width:28px}.app-month-switcher{min-width:84px;grid-template-columns:19px 1fr 19px}.header-action{width:26px;height:28px}.top-avatar{width:26px;height:26px}}

/* Absolute-black page surfaces; leave the emerald agenda carousel untouched. */
:root,html,body,.app-shell,.main-area,.sidebar,.topbar,.content-wrap,.calendar-card,.calendar-toolbar,.weekdays-head,.week-days,.calendar-footer,.day-panel,.day-panel-bottom,.modal-card{background:#000}
.topbar{background:#000}
.day-row:hover,.day-row.selected-day{background:#000}
.main-area{position:relative;isolation:isolate}
.main-area::before{content:"";position:absolute;z-index:0;pointer-events:none;top:0;left:50%;transform:translateX(-50%);width:min(100%,650px);height:190px;background:radial-gradient(ellipse 88% 100% at 50% 0%,rgba(255,255,255,.04) 0%,rgba(255,255,255,.016) 46%,transparent 82%)}
.topbar{background:#000;box-shadow:0 7px 22px -15px rgba(255,255,255,.22)}
.content-wrap{position:relative;z-index:1}
.today-button,.app-month-switcher,.app-month-switcher button,.header-action,.help-button,.top-avatar{background:#000}
.app-month-switcher{border-color:#343a36;box-shadow:inset 0 1px 0 #ffffff12,inset 0 -2px 0 #000,0 3px 7px #000b}
.app-month-switcher button{color:#e1e5e2}
.header-action,.header-action-primary{border-color:#353a37;background:#000;color:#e6eae7;box-shadow:inset 0 1px 0 #ffffff12,inset 0 -2px 0 #000b,0 3px 6px #0008}
.top-avatar{border:1px solid #353a37;color:#e1e5e2}

/* Keep the whole header stationary and place the wheel inside it. */
.topbar{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:0;padding-bottom:3px;border-bottom:0}
.topbar{position:sticky;isolation:isolate;background:transparent}
.topbar::before{content:"";position:absolute;z-index:-1;pointer-events:none;top:0;left:50%;transform:translateX(-50%);width:100vw;height:100%;background:radial-gradient(ellipse 112% 190px at 50% 0%,rgba(255,255,255,.09) 0%,rgba(255,255,255,.038) 46%,rgba(255,255,255,.012) 72%,rgba(255,255,255,0) 100%),#000}
.topbar-main{position:relative;height:52.25px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:6px}
.topbar-main .mobile-brand{position:static;left:auto}
.topbar .agenda-strip-section{margin:0;padding:0}
.topbar .agenda-strip{height:61.74px;margin:5px 0 0}
.day-row{background:#000}
.topbar .app-month-switcher{display:grid}
.topbar-actions{gap:7px}
.topbar .app-month-switcher{position:relative;display:block;flex:0 0 108px;min-width:108px;height:35px;overflow:hidden;border:1px solid rgba(102,196,166,.15);border-radius:7px;background:linear-gradient(180deg,#125044 0%,#0b403a 42%,#062b29 100%);box-shadow:inset 0 2px 0 rgba(205,255,239,.07),inset 1px 0 0 rgba(115,216,183,.04),inset -1px 0 0 rgba(115,216,183,.04),inset 0 -5px 6px rgba(0,0,0,.54),0 4px 7px rgba(0,0,0,.32);color:#f0fffa}
.topbar .app-month-switcher button{position:absolute;top:0;bottom:0;z-index:1;width:50%;height:100%;padding:0;border:0;border-radius:0;background:transparent;color:transparent;text-shadow:none;cursor:pointer;transition:transform .12s ease,filter .12s ease,background-color .12s ease}
.topbar .app-month-switcher button:first-child{left:0}.topbar .app-month-switcher button:last-child{right:0}
.topbar .app-month-switcher button:active:not(:disabled){transform:translateY(3px);background:rgba(220,255,244,.14);filter:brightness(1.2)}
.topbar .app-month-switcher span{position:absolute;inset:1px 0 0;display:grid;place-items:center;font-size:14.4px;color:#d1a667;pointer-events:none}
.calendar-toolbar{display:none}
@media(max-width:760px){.week-days{max-height:calc(100dvh - 164px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-bottom:8px;touch-action:pan-y;user-select:none;scrollbar-width:none}.week-days::-webkit-scrollbar{display:none}.day-row{width:calc(100% + 28px);height:clamp(55px,calc((100dvh - 190px)/7),62px);flex:none;min-height:0;margin-bottom:3px;padding-inline:10px;border:0;border-radius:5px;background:#171717;box-shadow:none}.day-row:last-child{margin-bottom:0}.day-row:hover{background:#202020;transform:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.035)}.day-row.selected-day{background:#1d1d1d}.day-row.is-today .day-number{background:transparent;color:#f5f5f5;box-shadow:none}.day-number{width:38px;height:auto;border-radius:0;background:transparent;color:#f5f5f5;box-shadow:none;font-size:17px}.day-label strong{color:#f2f2f2}.day-label small{color:#b8b8b8}.day-count{justify-self:end;width:max-content;max-width:100%;min-width:0;overflow:hidden;padding:6px 11px;border-radius:999px;background:#484848;color:#f1f1f1;font-size:9px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.day-count strong{color:inherit}}
@media(max-width:410px){.day-row{width:calc(100% + 20px)}}
.day-row .day-label strong{font-weight:400}
.day-row .day-label strong,.day-row .day-label small{font-size:15px}
.day-row .day-label small{font-size:13.2px}
.day-row .day-label strong,.day-row .day-label small{letter-spacing:.5px}
.day-row .day-label strong{font-size:19.5px}
.day-row .day-count{display:none}
.week-days{scrollbar-width:none!important;-ms-overflow-style:none!important}
.week-days::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
@media(max-width:760px){html,body{scrollbar-width:none;-ms-overflow-style:none}html::-webkit-scrollbar,body::-webkit-scrollbar{display:none;width:0;height:0}}
@media(max-width:760px){.week-days{width:100vw;margin-left:calc((100% - 100vw)/2);padding-left:0!important;padding-right:0!important}.day-row{width:100%;margin-left:0;margin-right:0}}
@media(max-width:760px){.week-days{-webkit-overflow-scrolling:touch;scroll-behavior:auto;touch-action:none}.week-days.is-pointer-dragging{scroll-behavior:auto!important;scroll-snap-type:none!important}}
@media(min-width:761px){.week-days{cursor:grab;user-select:none}.week-days:active{cursor:grabbing}}
@media(max-width:760px){.week-days{scroll-snap-type:y mandatory}.week-days>.day-row{scroll-snap-align:start;scroll-snap-stop:always}}
@media(max-width:760px){.calendar-card{overflow:visible;border-left:0;border-right:0;border-radius:0}.week-days{position:relative;left:50%;width:100vw;margin-left:-50vw;padding-left:0!important;padding-right:0!important}.week-days>.day-row{width:100%;margin-left:0;margin-right:0;border:0;border-radius:0;outline:0;box-shadow:none}}
.weekdays-head .day-header-label{font-size:13.75px;color:#008f68;letter-spacing:.8px}
@media(max-width:760px){.week-days>.day-row{padding-left:8px!important}}
.day-row .day-meta{width:100%;display:grid;grid-template-columns:53.3px 1px minmax(0,1fr);align-items:center;gap:0;text-align:left}
.day-row .day-meta::after{grid-column:2;grid-row:1;align-self:center;width:1px;height:70%;min-height:22px;max-height:29px;background:#050505;content:"";opacity:.9}
.day-row .day-label{grid-column:1;justify-self:center;display:flex;flex-direction:column;justify-content:space-between;width:max-content;margin:0;text-align:left}
.day-row .day-label strong,.day-row .day-label small{display:block;width:100%;margin-left:0;padding-left:0;text-align:left}
.day-row .day-scheduled-summary{grid-column:3;min-width:0;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(18px,auto));align-self:stretch;align-items:center;justify-self:stretch;gap:3px clamp(8px,2.2vw,16px);padding:1px 3px 1px clamp(10px,2.5ch,18px);white-space:nowrap;overflow:visible}
.day-status-summary-item{min-width:0;min-height:18px;display:flex;align-items:center;justify-content:flex-start;gap:clamp(5px,.9vw,8px);line-height:1.2;overflow:visible}
.day-row .day-scheduled-count{flex:none;color:var(--day-count-color);font-size:15px;line-height:1;letter-spacing:0;transform:none}
.day-row .day-agenda-status{align-self:center;min-width:0;margin:0;color:var(--day-count-color);font:500 14px/1.2 'DM Sans',sans-serif;letter-spacing:.15px;text-align:left;overflow:visible;text-overflow:clip}
.day-status-summary-item.is-empty{visibility:hidden}
@media(max-width:760px){.day-row .day-meta{grid-column:1/-1}}
@media(max-width:410px){.day-row .day-scheduled-count{font-size:15px}.day-row .day-agenda-status{font-size:14px}}
.day-row.is-weekend .day-label strong,.day-row.is-weekend .day-label small{color:#d1a667}
.day-row.is-today .day-label strong,.day-row.is-today .day-label small{color:#008f68}
.week-days.is-returning-to-current-week{scroll-behavior:auto!important;scroll-snap-type:none!important}
.agenda-carousel-card[aria-pressed="true"] .agenda-carousel-line:first-child{transform:translateY(2.5px)}
.agenda-carousel-card[aria-pressed="true"] .agenda-carousel-line:last-child{transform:translateY(-1px)}
@media(max-width:760px){.weekdays-head{padding-top:5px!important;padding-bottom:4px!important}}
.header-control-box{width:108px;height:35px;flex:0 0 108px;display:flex;align-items:center;overflow:hidden;border:1px solid #30353c;border-radius:7px;background:linear-gradient(180deg,#2b3036 0%,#17191c 48%,#0b0c0e 100%);box-shadow:0 4px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2),inset 0 -2px 0 rgba(0,0,0,.22);color:#d1a667}
.header-control-box .header-action{width:50%;height:32px;flex:1 1 50%;display:grid;place-items:center;border:0;border-radius:0;padding:2px 0 0;background:transparent;color:inherit;font:700 19.55px/1 Arial,sans-serif;box-shadow:none;text-shadow:0 1px 2px #0009;-webkit-tap-highlight-color:transparent}
.header-control-box .header-action svg{display:block;width:16.62px;height:16.62px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.header-control-box .header-action-primary svg{width:20.53px;height:20.53px}
.header-control-box .header-action:hover{filter:brightness(1.18);background:rgba(255,255,255,.045)}
.header-control-box .header-action:active{transform:translateY(2px);filter:brightness(1.25)}
.header-control-box .header-action-primary{border:0;background:transparent;color:#d1a667;font-size:24.15px;box-shadow:none}
.header-control-box .header-action-delete{border:0;background:transparent;color:#d1a667;font:700 23px/1 Arial,sans-serif;box-shadow:none}
.header-control-box .header-action-delete.is-active,.settings-remove-button.is-active{color:#ff9a91;background:rgba(164,55,55,.2)}
.header-control-box .header-action-delete:disabled,.settings-remove-button:disabled{opacity:.38;cursor:default;filter:none}
/* Closed overlays stay out of hit testing, including descendants that opt into pointer events. */
.overlay:not(.open),.modal-overlay:not(.open){visibility:hidden}
.overlay.open,.modal-overlay.open{visibility:visible}
.agenda-strip.is-agenda-delete-mode .agenda-carousel-card.is-agenda-delete-mode-card{filter:brightness(.48) saturate(.55);cursor:pointer}
.agenda-strip.is-agenda-delete-mode .agenda-carousel-card.is-agenda-delete-selected{filter:brightness(.88) saturate(.85);border-color:#00a77b!important;box-shadow:inset 0 0 0 2px #00a77b,0 0 10px #00a77b66!important}
.agenda-strip.is-agenda-delete-mode .agenda-carousel-card[data-agenda="all"]{filter:brightness(.35) saturate(.25);pointer-events:none}
.agenda-strip.is-group-delete-mode .agenda-carousel-card.is-group-delete-selectable{filter:brightness(.48) saturate(.55);cursor:pointer}
.agenda-strip.is-group-delete-mode .agenda-carousel-card.is-group-delete-selected{filter:brightness(.88) saturate(.85);border-color:#00a77b!important;box-shadow:inset 0 0 0 2px #00a77b,0 0 10px #00a77b66!important}
.settings-agenda-row.is-agenda-delete-mode-row,.settings-agenda-row.is-group-delete-mode-row:has([data-group-delete-select]){background:linear-gradient(180deg,#303438,#202326 58%,#111315);border-color:#555b60}
.settings-agenda-row.is-agenda-delete-mode-row .settings-agenda-card{background:transparent;filter:none;cursor:pointer;border-color:#555b60}
.settings-agenda-row.is-agenda-delete-selected .settings-agenda-card{filter:brightness(.88) saturate(.85);border-color:#00a77b;box-shadow:inset 0 0 0 2px #00a77b,0 0 10px #00a77b66}
.settings-agenda-row.is-group-delete-mode-row:has([data-group-delete-select]) .settings-agenda-card{background:transparent;filter:none;cursor:pointer;border-color:#555b60}
.settings-agenda-row.is-group-delete-selected .settings-agenda-card{filter:brightness(.88) saturate(.85);border-color:#00a77b;box-shadow:inset 0 0 0 2px #00a77b,0 0 10px #00a77b66}
.settings-agenda-row .settings-agenda-order[hidden]{display:none}
.settings-remove-button{width:38px;height:38px;display:grid;place-items:center;border:1px solid #28504f;border-radius:9px;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);color:#d1a667;box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -4px 7px #000a,0 4px 5px #0009;font:600 25px/1 Arial,sans-serif;cursor:pointer;transform:translateY(-1px);-webkit-tap-highlight-color:transparent}
.settings-remove-button:active{transform:translateY(1px)}
@media(max-width:380px){.topbar-actions{gap:5px}.topbar .app-month-switcher{flex-basis:91px;min-width:91px;grid-template-columns:20px 1fr 20px}.header-control-box{width:91px;flex-basis:91px}.header-control-box .header-action{width:50%}}
.app-brand{margin-left:5px;transform:translateY(var(--app-brand-offset-y,0px))}
.topbar-main .header-control-box{width:108px;flex-basis:108px}
.topbar-main .header-control-box .header-action{width:33.333%;flex:1 1 0}
#headerVoiceCommand{cursor:default}
.app-brand strong .brand-initials{color:#008f68;font-size:1.2em}
.mobile-brand strong{font-size:27.9312px;letter-spacing:.25px;font-weight:800}
.app-brand strong .brand-initials{font-weight:900}
.app-brand strong .brand-name{font-weight:750}
.app-brand strong .brand-letter-i,.app-brand strong .brand-letter-a{font-family:inherit;font-weight:1000;color:#008f68}
.app-brand strong .brand-letter-i{letter-spacing:.125px}
.app-brand strong .brand-letter-a{margin-left:-1px}
.app-brand strong .brand-letter-i,.app-brand strong .brand-letter-a{font-size:1.15em}
.app-brand strong .brand-letter-i,.app-brand strong .brand-letter-a{-webkit-text-stroke:.25px currentColor}
.app-brand strong .brand-name{margin-left:3px;color:#d1a667;font-weight:600}
.agenda-strip.is-settling .agenda-carousel-card{transition:none}
/* Keep changing wheel-card geometry local without clipping its shadows. */
.agenda-card.agenda-carousel-card{contain:layout style}
.week-days>.day-row{border:1px solid #2a2d31;border-radius:6px;background:linear-gradient(180deg,#191c20 0%,#121417 48%,#0d0f12 100%);box-shadow:0 3px 0 rgba(0,0,0,.48),inset 0 1px 0 #565b61,inset 0 -2px 0 rgba(0,0,0,.28)}
.week-days.is-pointer-dragging>.day-row,.week-days.is-pointer-dragging>.day-row:hover{transform:none!important;transition:none!important;box-shadow:0 3px 0 rgba(0,0,0,.48),inset 0 1px 0 #565b61,inset 0 -2px 0 rgba(0,0,0,.28)!important}
.week-days>.day-row:hover{transform:none!important;box-shadow:0 3px 0 rgba(0,0,0,.48),inset 0 1px 0 #565b61,inset 0 -2px 0 rgba(0,0,0,.28)!important}
#weekDays>.day-row,#weekDays>.day-row:hover,#weekDays.is-pointer-dragging>.day-row{width:calc(100% - 6px);margin-left:3px;margin-right:3px;border-radius:9px!important;border-top-color:#212427;border-bottom-color:#191c20;border-left-width:.5px!important;border-right-width:.5px!important;border-left-color:#1c1f23!important;border-right-color:#1c1f23!important;background:linear-gradient(180deg in oklab,#171a1d 0%,#090a0c 100%);box-shadow:0 3px 0 rgba(0,0,0,.24),inset 0 1px 0 #2e3237,inset 1px 0 2px rgba(255,255,255,.0175),inset -1px 0 2px rgba(255,255,255,.0175),inset 0 -2px 0 rgba(0,0,0,.11)!important}

/* Settings agenda list: roomy two-line emerald 3D cards with a separate edit control. */
.settings-modal{width:min(420px,calc(100vw - 28px));max-height:min(88dvh,720px);display:flex;flex-direction:column}
.settings-agenda-list{display:flex;flex-direction:column;gap:11px;min-height:0;max-height:min(58dvh,470px);overflow-y:auto;overflow-x:hidden;padding:4px 4px 20px;overscroll-behavior:contain;touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.settings-agenda-list::-webkit-scrollbar{display:none}
.settings-view-tabs{display:flex;justify-content:flex-end;flex:none;margin:0 0 0 auto}
.settings-admin-tab{width:158.4px;height:35px;padding:2px 8px 0;border:1px solid #30353c;border-radius:7px;background:linear-gradient(180deg,#1e2227 0%,#101215 48%,#07090b 100%);box-shadow:0 4px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.14),inset 0 -2px 0 rgba(0,0,0,.22);color:#00ae83;font:600 16px/22px 'DM Sans',sans-serif;letter-spacing:1px;text-transform:uppercase;text-shadow:0 1px 1px #0008;cursor:pointer;transition:filter .14s,transform .14s}
.settings-admin-tab:hover{filter:brightness(1.12)}
.settings-admin-tab:active{transform:translateY(2px);filter:brightness(1.16);box-shadow:0 2px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2)}
.settings-admin-panel{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;margin:0 -10px 0 -10px;padding:14px 10px 20px 0;color:#e9efed;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(166,174,178,.7) rgba(255,255,255,.08);-webkit-overflow-scrolling:touch}
.settings-admin-panel::-webkit-scrollbar{width:8px}
.settings-admin-panel::-webkit-scrollbar-track{border-radius:8px;background:rgba(255,255,255,.08)}
.settings-admin-panel::-webkit-scrollbar-thumb{min-height:28px;border:2px solid transparent;border-radius:8px;background:rgba(166,174,178,.7);background-clip:padding-box}
.settings-admin-panel[hidden],.settings-agenda-list[hidden]{display:none}
.settings-admin-intro{margin:4px 2px 18px}
.settings-admin-kicker{color:#00ae83;font-size:11px;font-weight:600;letter-spacing:1px}
.settings-admin-intro h3{margin:9px 0 5px;color:#f1f4f3;font-size:20px;font-weight:500;letter-spacing:.04em}
.settings-admin-intro p,.settings-admin-card p,.settings-admin-note{margin:0;color:#929b9e;font-size:13px;line-height:1.5}
.settings-admin-grid{display:grid;gap:10px}
.settings-admin-card{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px;border:1px solid #30363a;border-radius:9px;background:linear-gradient(165deg,#202529,#141719 62%,#0e1012);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),inset 0 -4px 7px #0008,0 3px 4px #0007}
.settings-admin-icon{width:34px;height:34px;flex:none;display:grid;place-items:center;border:1px solid #31574f;border-radius:7px;background:linear-gradient(180deg,#24453e,#12221f);color:#00ae83;font-size:18px}
.settings-admin-card h4{margin:0 0 4px;color:#e8efec;font-size:15px;font-weight:500;letter-spacing:.03em}
.settings-admin-status{margin-left:auto;flex:none;color:#00ae83;font-size:11px;letter-spacing:.04em}
.settings-admin-note{margin:15px 3px 4px;font-size:11px}
.settings-agenda-row{display:flex;align-items:stretch;gap:0;flex:none;min-height:75.6px;overflow:hidden;border:1px solid #28504f;border-radius:10px;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -6px 9px #000a,0 4px 5px #0009}
.settings-agenda-row.is-complete-agenda-row{border-color:#365a75;background:linear-gradient(165deg,#18374b,#102737 58%,#091923);box-shadow:inset 0 1px 0 rgba(190,225,255,.18),inset 0 -6px 9px #000a,0 4px 5px #0009}
.settings-agenda-card{position:relative;flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;border:1px solid #28504f;border-radius:10px;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);color:#d1a667;box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -6px 9px #000a,0 4px 5px #0009;text-align:center;-webkit-tap-highlight-color:transparent}
button.settings-agenda-card{cursor:pointer}
button.settings-agenda-card:hover{filter:brightness(1.08)}
.settings-agenda-card.is-complete-agenda{border-color:#365a75;background:linear-gradient(165deg,#18374b,#102737 58%,#091923);box-shadow:inset 0 1px 0 rgba(190,225,255,.18),inset 0 -6px 9px #000a,0 4px 5px #0009}
button.settings-agenda-card:active,.settings-agenda-edit-zone:active{filter:brightness(1.12)}
.settings-agenda-card-copy{flex:0 0 66.666%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:5px 4px}
.settings-agenda-edit-zone{align-self:stretch;flex:1 1 33.333%;min-width:0;display:grid;place-items:center;border:0;border-left:1px solid rgba(125,165,151,.22);border-radius:0;background:transparent;color:#d1a667;font:600 19px/1 'DM Sans',sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.settings-agenda-edit-zone:hover{background:rgba(255,255,255,.045)}
.settings-agenda-card-actions{align-self:stretch;flex:1 1 33.333%;min-width:0;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));border-left:1px solid rgba(125,165,151,.22)}
.settings-agenda-card-actions .settings-agenda-edit-zone{border:0;font:400 14px/1.2 'DM Sans',sans-serif}
.settings-agenda-card-actions .settings-agenda-edit-zone+button{border-top:1px solid rgba(125,165,151,.22)}
.settings-agenda-card.is-carousel-hidden .settings-agenda-card-copy{align-self:stretch;background:linear-gradient(180deg,#303438,#202326 58%,#111315)}
.settings-agenda-title{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px;line-height:1.15;font-weight:400;letter-spacing:.04em}
.settings-agenda-number{font-size:18px;line-height:1.15;font-weight:400;letter-spacing:.04em;color:#d1a667}
.agenda-card.agenda-carousel-card[data-agenda-mode="text"] .agenda-carousel-label,
.agenda-card.agenda-carousel-card[data-agenda-mode="text"] .agenda-carousel-line,
.settings-agenda-card.is-text-agenda .settings-agenda-title,
.settings-agenda-card.is-text-agenda .settings-agenda-number{color:#fff}
.settings-agenda-fixed{flex:0 0 48px;display:grid;place-items:center;color:#d1a667;font-size:11px;letter-spacing:.04em}
.settings-agenda-edit{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid #337b73;border-radius:10px;background:linear-gradient(165deg,#17605a,#10443f 58%,#092c29);box-shadow:inset 0 1px 0 #d5fff05c,inset 0 -7px 10px #001310b8,0 4px 6px #0009}
.settings-agenda-edit-copy{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px}
.settings-agenda-input{width:100%;min-width:0;height:30px;padding:3px 7px;border:1px solid #648e80;border-radius:5px;background:#071411;color:#d1a667;text-align:center;font-size:16px;font-weight:400}
.settings-agenda-subtitle-input{height:28px;font-size:14px;font-weight:400}
.settings-agenda-edit-actions{display:flex;flex-direction:column;gap:5px}
.settings-agenda-save,.settings-agenda-cancel{height:28px;min-height:28px;padding:4px 8px;border:1px solid #517a6b;border-radius:6px;background:#071a15;color:#d1a667;font-size:13.2px;font-weight:400;cursor:pointer}
.settings-agenda-list.is-dragging button{user-select:none;-webkit-user-select:none}
@media(max-width:420px){.settings-agenda-row{min-height:69.6px}}
/* Settings opens as its own full-screen surface. */
#settingsModal{place-items:stretch;padding:0}
#settingsModal .settings-modal{width:100%;height:100%;max-height:100%;max-width:none;margin:0;border:0;border-radius:0;padding:calc(18px + env(safe-area-inset-top)) 18px calc(16px + env(safe-area-inset-bottom));overflow:hidden}
#settingsModal .settings-agenda-list{flex:1;max-height:none;margin:0 -10px;padding:4px 0 8px;scroll-padding-bottom:8px;cursor:grab}
#settingsModal .settings-agenda-list.is-dragging{cursor:grabbing}
#settingsModal .modal-actions{margin-top:auto;padding-bottom:env(safe-area-inset-bottom)}
#settingsModal .settings-modal{padding-top:env(safe-area-inset-top)}
#settingsModal .settings-topbar{position:relative;flex:none;align-self:stretch;width:calc(100% + 36px);max-width:none;margin:0 -18px;padding:0 8px;border:0;overflow:hidden}
#settingsModal .settings-topbar .mobile-brand{display:flex;white-space:nowrap;min-width:0;margin-left:0}
#settingsModal .settings-topbar .settings-header-actions{height:35px;transform:none;border-radius:7px}
#settingsModal .settings-topbar .settings-header-actions button{width:29px;flex-basis:29px;height:33px;font-size:22px}
#settingsModal .settings-topbar .app-month-switcher{min-width:91px;flex-basis:91px}
#settingsModal .settings-modal>.modal-header{flex:none;align-items:center;gap:8px;padding:1px 0 0;margin:0 -10px;justify-content:space-between;text-align:left}
#settingsModal #settingsFormTitle{margin:0;color:#00ae83;font-size:16px;line-height:22px;font-weight:600;letter-spacing:1px}
@media(max-width:380px){#settingsModal .settings-topbar .topbar-actions{gap:5px}#settingsModal .settings-topbar .settings-header-actions button{width:25px;flex-basis:25px}#settingsModal .settings-topbar .app-month-switcher{min-width:84px;flex-basis:84px}#settingsModal .settings-topbar .app-month-switcher span{font-size:13px}}
#settingsModal,#settingsModal .settings-modal{animation:none!important;transition:none!important;transform:none!important}
#settingsModal .settings-modal{background:linear-gradient(180deg,#191919 0px,#101010 52px,#050505 100px,#010101 150px,#000 180px);box-shadow:none;transform-style:flat}
#settingsModal .settings-topbar,#settingsModal .settings-topbar .topbar-main,#settingsModal .modal-header,#settingsModal .settings-agenda-list{background:transparent;box-shadow:none}
#settingsModal .settings-topbar::before{display:none}
#settingsModal .settings-topbar .settings-header-actions{width:158.4px;flex:0 0 158.4px;height:35px;border-color:#30353c;background:linear-gradient(180deg,#292d33 0%,#15171a 48%,#090b0d 100%);box-shadow:0 4px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.14),inset 0 -2px 0 rgba(0,0,0,.22);color:#d1a667}
#settingsModal .settings-topbar .settings-header-actions button{width:25%;flex:1 1 0;height:32px;padding:2px 0 0;font:700 19.55px/1 Arial,sans-serif;color:inherit}
#settingsModal .settings-topbar .settings-header-actions .day-mic-button svg{width:16.62px;height:16.62px;stroke-width:1.9}
#settingsVoiceCommand{cursor:default}
.settings-header-actions{height:38px;display:flex;align-items:center;gap:0;flex:none;overflow:hidden;padding:0;border:1px solid #353a37;border-radius:9px;background:linear-gradient(180deg,#2b3036 0%,#17191c 48%,#0b0c0e 100%);box-shadow:0 4px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2),inset 0 -2px 0 rgba(0,0,0,.22);color:#d1a667;transform:translateY(-1px)}
.settings-header-actions .day-mic-button,.settings-header-actions .settings-add-button,.settings-header-actions .settings-remove-button,.settings-header-actions .icon-button{position:relative;width:39px;height:36px;min-height:0;flex:0 0 39px;display:grid;place-items:center;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#d1a667;box-shadow:none;font:600 25px/1 Arial,sans-serif;transform:none;text-shadow:0 1px 2px #0009;-webkit-tap-highlight-color:transparent}
.settings-header-actions .day-mic-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.settings-header-actions .day-mic-button,.settings-header-actions .settings-add-button,.settings-header-actions .settings-remove-button{border-right:1px solid rgba(255,255,255,.1)}
.settings-header-actions .icon-button{font:400 25px/1 'DM Sans',sans-serif}
.settings-header-actions button:hover:not(:disabled){background:rgba(255,255,255,.06);filter:brightness(1.12)}
.settings-header-actions button:active:not(:disabled){transform:translateY(2px);background:rgba(255,255,255,.12);filter:brightness(1.16)}
.settings-header-actions .settings-remove-button.is-active{color:#ff9a91;background:rgba(164,55,55,.2)}
.settings-header-actions .settings-remove-button:disabled{opacity:.38;cursor:default;filter:none}
.settings-complete-agenda-actions{display:flex;justify-content:flex-end;flex:none;margin:0 4px 2px;padding:0 4px}
.settings-complete-agenda-action-group{height:38px;display:flex;align-items:center;gap:0;overflow:hidden;border:1px solid #353a37;border-radius:9px;background:linear-gradient(180deg,#2b3036 0%,#17191c 48%,#0b0c0e 100%);box-shadow:0 4px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2),inset 0 -2px 0 rgba(0,0,0,.22);color:#d1a667}
.settings-complete-agenda-action-group button{position:relative;width:39px;height:36px;min-height:0;flex:0 0 39px;display:grid;place-items:center;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:#d1a667;box-shadow:none;font:600 25px/1 Arial,sans-serif;transform:none;text-shadow:0 1px 2px #0009;-webkit-tap-highlight-color:transparent;cursor:pointer}
.settings-complete-agenda-action-group button+button{border-left:1px solid rgba(255,255,255,.1)}
.settings-complete-agenda-action-group button:hover:not(:disabled){background:rgba(255,255,255,.06);filter:brightness(1.12)}
.settings-complete-agenda-action-group button:active:not(:disabled){transform:translateY(2px);background:rgba(255,255,255,.12);filter:brightness(1.16)}
.settings-complete-agenda-action-group [data-settings-remove-agenda].is-active{color:#ff9a91;background:rgba(164,55,55,.2)}
.settings-complete-agenda-action-group [data-settings-remove-agenda]:disabled{opacity:.38;cursor:default;filter:none}
.settings-agenda-tools{flex:0 0 72px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:4px}
.settings-agenda-tools .settings-agenda-fixed{flex:0 0 22px;width:100%;min-height:22px}
.settings-agenda-order{flex:1 1 auto;min-height:38px;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:0;overflow:hidden;border:1px solid #30353c;border-radius:7px;background:linear-gradient(180deg,#2b3036 0%,#17191c 48%,#0b0c0e 100%);box-shadow:0 4px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2),inset 0 -2px 0 rgba(0,0,0,.22)}
.settings-agenda-order button{width:100%;height:100%;min-width:0;min-height:0;display:grid;place-items:center;padding:0;border:0;border-radius:0;background:transparent;color:#d1a667;box-shadow:none;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:center}
.settings-agenda-order button svg{display:block;width:25.2px;height:25.2px;overflow:visible;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.settings-agenda-parent-actions button{font:400 30px/1 Arial,sans-serif}
.settings-agenda-order button+button{border-top:1px solid rgba(255,255,255,.16)}
.settings-agenda-order button:hover:not(:disabled){background:rgba(255,255,255,.08)}
.settings-agenda-order button:active:not(:disabled){background:rgba(0,0,0,.24);transform:translateY(1px)}
.settings-agenda-order button:disabled{opacity:1;background:rgba(0,0,0,.2);color:rgba(209,166,103,.46);font-weight:500;filter:none;transform:none;cursor:default}
@media(max-width:420px){.settings-agenda-tools{flex-basis:66px}.settings-agenda-order{min-height:38px}.settings-agenda-order button svg{width:22.8px;height:22.8px}}
.settings-agenda-row>.settings-agenda-card{border:0;border-radius:0;background:transparent;box-shadow:none}
#settingsModal .settings-agenda-row:not(.is-agenda-delete-mode-row):not(.is-group-delete-mode-row){border:0;padding:1px;border-radius:7px;--settings-rim:0,174,127;background:linear-gradient(180deg,#075b43 0%,#03422f 48%,#01271b 100%)}
#settingsModal .settings-agenda-row.is-complete-agenda-row:not(.is-agenda-delete-mode-row):not(.is-group-delete-mode-row){--settings-rim:50,139,205;background:linear-gradient(180deg,#0b405e 0%,#052b43 48%,#011829 100%)}
#settingsModal .settings-agenda-title,#settingsModal .settings-agenda-number{font-size:19.8px}
#settingsModal .settings-agenda-card-actions .settings-agenda-edit-zone{font-size:15.4px}
.settings-agenda-row>.settings-agenda-tools{border-left:1px solid rgba(125,165,151,.22);background:transparent;box-shadow:none}
.settings-agenda-row.is-complete-agenda-row>.settings-agenda-tools{border-left-color:rgba(145,190,220,.2)}
.settings-agenda-row .settings-agenda-order{border:0;border-radius:0;background:transparent;box-shadow:none}
.settings-agenda-row .settings-agenda-card-actions{border-left:1px solid rgba(125,165,151,.22)}
.settings-agenda-row.is-complete-agenda-row .settings-agenda-card-actions{border-left-color:rgba(145,190,220,.2)}
.settings-agenda-row .settings-agenda-order button,.settings-agenda-row .settings-agenda-card-actions .settings-agenda-edit-zone{background:transparent}
.settings-agenda-row .settings-agenda-order button:disabled{background:transparent}
.settings-agenda-row:has(.settings-agenda-card.is-text-agenda) .settings-agenda-edit-zone,
.settings-agenda-row:has(.settings-agenda-card.is-text-agenda) .settings-agenda-order button{color:#fff}
.settings-agenda-row:has(.settings-agenda-card.is-text-agenda) .settings-agenda-order button:disabled{color:rgba(255,255,255,.46)}
#settingsModal .settings-agenda-row:not(.is-agenda-delete-mode-row):not(.is-group-delete-mode-row){position:relative;padding-bottom:0;box-shadow:inset 0 3.12px 0 rgba(var(--settings-rim),.3),inset 1.3px 0 0 rgba(var(--settings-rim),.2),inset -1.3px 0 0 rgba(var(--settings-rim),.2),inset 0 -1.56px 0 rgba(var(--settings-rim),.16);animation:none;transition:none}
#settingsModal .settings-agenda-row:not(.is-agenda-delete-mode-row):not(.is-group-delete-mode-row)::before{content:none}
#settingsModal .settings-agenda-row::after{content:none}
.settings-agenda-row .settings-agenda-order button+button,.settings-agenda-row .settings-agenda-card-actions .settings-agenda-edit-zone+button{border-top:1px solid rgba(255,255,255,.15)}

/* Full-screen day view with five white commitment slots and a single bottom add action. */
#dayOverlay{position:fixed;inset:0;z-index:20;display:grid;place-items:stretch;padding:0;background:#000;opacity:0;pointer-events:none;transition:opacity .18s ease}
#dayOverlay.open{opacity:1;pointer-events:auto}
#dayOverlay .day-panel{position:relative;inset:auto;width:100%;height:100%;max-height:100dvh;padding:calc(12px + env(safe-area-inset-top)) 12px calc(8px + env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:0;background:#000;box-shadow:none;transform:none;transition:none}
#dayOverlay .panel-topline{flex:none;margin:0 0 10px;padding:0 2px}
#dayOverlay .day-panel-heading{flex:none;padding:0 2px 12px}
#dayOverlay .day-panel-heading h2{margin:3px 0 2px;color:#f4f4ef;font-size:22px}
#dayOverlay .day-panel-heading p{margin:0;color:#a6aaa7;font-size:12px}
#dayOverlay .day-panel-content{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:var(--day-slot-height,76px);gap:3.5px;overflow:auto;padding:1.75px 1.75px 3.5px;background:#505050;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:y mandatory;scroll-padding-top:1.75px;overscroll-behavior-y:contain;touch-action:pan-y;cursor:grab}
#dayOverlay .day-panel-content::-webkit-scrollbar{display:none}
.day-commitment-slot{position:relative;isolation:isolate;min-width:0;min-height:0;border:0;border-radius:0;background:#050710;color:#f1f1f1;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;box-shadow:none;transition:filter .14s ease,transform .14s ease}
.day-commitment-slot::before,.day-commitment-slot::after{position:absolute;z-index:0;left:-40%;right:-40%;height:64%;content:"";pointer-events:none;filter:blur(20px)}
.day-commitment-slot::before{top:-30%;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.12) 0%,rgba(255,255,255,.055) 38%,rgba(255,255,255,0) 78%)}
.day-commitment-slot::after{bottom:-34%;background:radial-gradient(ellipse at 50% 100%,rgba(0,0,0,.48) 0%,rgba(0,0,0,.23) 42%,rgba(0,0,0,0) 80%)}
.day-commitment-slot.is-empty{display:block;width:100%;padding:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
.day-commitment-slot.is-empty:active{filter:brightness(1.12);transform:translateY(1px)}
.day-commitment-slot.is-filled{padding:0}
.day-commitment-slot .appointment-card{position:relative;z-index:1;height:100%;margin:0;padding:10px 12px;border:0;border-radius:0;background:transparent;color:#f1f1f1;box-shadow:none;transform:none}
.day-commitment-slot .day-appointment-summary{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:space-between;gap:0;padding:4px 9px}
.day-summary-primary{flex:none;width:100%;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:var(--day-summary-lines,4);line-clamp:var(--day-summary-lines,4);overflow:hidden;text-align:left;white-space:normal;line-height:14px}
.day-summary-primary.is-overflowing{min-height:56px}
.day-commitment-slot .day-summary-primary.is-overflowing+.day-summary-meta{position:relative;z-index:2;margin-top:-14px}
.day-commitment-slot .day-summary-primary .appointment-title{display:inline;margin:0;color:#d1a667;font:400 14px/14px 'DM Sans',sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;letter-spacing:.3px;word-spacing:.6px;text-align:left;white-space:normal;overflow:visible;vertical-align:baseline}
.day-summary-primary .appointment-description{display:inline;margin:0;color:#fff;font:300 12.7px/14px 'DM Sans',sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;letter-spacing:.3px;word-spacing:.6px;text-align:inherit;white-space:normal;overflow-wrap:anywhere}
.day-summary-primary.has-title .appointment-description::before{content:" — ";color:inherit}
.day-summary-overflow-tail{color:#d1a667}
.day-appointment-summary:not(.is-preview-expanded){display:flex;flex-direction:column;justify-content:space-between;padding:3px 4px 2px 8px}
.day-appointment-summary:not(.is-preview-expanded) .day-summary-primary{flex:none;height:34px;min-height:0;max-height:34px;line-height:17px;overflow:hidden;display:block}
.day-commitment-slot .day-appointment-summary .appointment-description{display:block;font-family:'DM Sans',sans-serif;color:#dedede;font-size:12.7px;font-weight:275;line-height:17px;letter-spacing:.45px;margin:0;-webkit-font-smoothing:antialiased}
.day-commitment-slot .day-appointment-summary .appointment-description.is-unfilled{color:#858585}
.day-appointment-summary.is-preview-expanded .day-summary-primary{line-height:17px}
.day-appointment-summary .day-summary-meta{flex:none;min-height:20px;grid-template-columns:minmax(0,1fr) 44px;margin-top:0}
.day-appointment-summary:not(.is-preview-expanded) .day-summary-primary.is-overflowing+.day-summary-meta{margin-top:0}
.day-appointment-summary .day-summary-meta>div:nth-of-type(2){padding:0;justify-content:flex-end}
.day-appointment-summary .day-summary-status-button,.day-appointment-summary .day-summary-status-indicator{width:42px;height:22px;min-height:22px;margin:0;padding:0 2px;font-size:10px;border-radius:3px;box-shadow:inset 0 1px 0 rgba(255,255,255,.13)}
.day-commitment-slot .day-appointment-summary .day-summary-status-label{font-size:10px;font-weight:300;color:#dedede;letter-spacing:0;padding:0}
.day-appointment-summary .day-summary-status-button::after{content:"";position:absolute;inset:-8px -4px -5px -9px;background:transparent;cursor:pointer}
.day-commitment-slot .day-appointment-summary.is-preview-expanded{padding:3px 4px 2px 8px}
.day-commitment-slot .day-appointment-summary{height:100%!important;min-height:0!important}
.day-commitment-slot .day-appointment-summary .day-summary-meta{position:absolute!important;left:8px;right:4px;bottom:2px;margin-top:0!important}
.day-appointment-summary .day-summary-meta span,.day-appointment-summary .day-summary-meta strong{font-weight:300;color:#dedede}
.day-appointment-summary .day-summary-meta .is-unfilled{color:#858585}
.day-summary-primary .appointment-title.is-unfilled,.day-summary-primary .appointment-description.is-unfilled{color:#858585}
.day-summary-primary .appointment-title.is-unfilled{font-weight:300}
.day-summary-meta{min-width:0;min-height:27px;display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.42fr);align-items:stretch;gap:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff}
.day-summary-meta>div{position:relative;z-index:2}
.day-summary-meta-expand{min-width:0;display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr) 16px;align-items:center;gap:0;padding:0 6px;-webkit-tap-highlight-color:transparent}
.day-summary-meta-expand[data-preview-expand]{cursor:pointer}
.day-summary-meta-expand[data-preview-expand]::after{grid-column:3;grid-row:1;display:grid;place-items:center;color:#858585;content:'⌄';font:400 14px/1 'DM Sans',sans-serif;opacity:.78;pointer-events:none}
.day-appointment-summary .day-summary-meta-expand::after{grid-column:3;grid-row:1;display:grid;place-items:center;color:#858585;content:'⌄';font:400 14px/1 'DM Sans',sans-serif;opacity:.78;pointer-events:none}
.day-appointment-summary.is-preview-expanded .day-summary-meta-expand::after{content:'⌃'}
.day-appointment-summary.is-preview-expanded .day-summary-meta{margin-top:16.5px!important}
.day-appointment-summary.is-preview-expanded .day-summary-meta-expand[data-preview-expand]::after{content:'⌃'}
.day-appointment-summary .day-summary-meta-expand::after{content:none!important;display:none!important}
.day-summary-meta-expand[data-preview-expand]:active{background:rgba(150,150,150,.08)}
.day-summary-meta>div:nth-of-type(2){min-width:0;display:flex;align-items:center;justify-content:flex-end;padding:1px 5px 1px 6px}
.day-summary-meta-expand>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.day-summary-meta-expand .day-summary-time{justify-self:start;text-align:left}
.day-commitment-slot .day-appointment-summary .day-summary-meta{grid-template-columns:minmax(0,1fr) 112px}
.day-summary-meta .day-summary-actions{gap:12px;padding:0;justify-content:flex-end}
.day-summary-edit-button{height:22px;min-height:22px;width:50px;flex:0 0 50px;padding:0;border:1px solid #2a2d31;border-radius:4px;background:linear-gradient(180deg,#25292e 0%,#141619 48%,#090a0c 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 -1px 2px rgba(0,0,0,.28),0 1px 1px #0008;color:#d1a667;font:300 11.5px/1 'DM Sans',sans-serif;cursor:pointer}
.day-summary-edit-button:active{background:linear-gradient(180deg,#252a30,#3d4249);box-shadow:inset 0 1px 3px #0009}
.day-summary-edit-button{position:relative;overflow:visible}
.day-summary-edit-button::before{content:"";position:absolute;inset:-8px 0 -5px -8px;background:transparent;cursor:pointer}
.day-summary-meta-expand .day-summary-value{justify-self:center;text-align:center}
.day-appointment-summary .day-summary-meta-expand .day-summary-time,
.day-appointment-summary .day-summary-meta-expand .day-summary-value{transform:translateY(2px)}
.day-appointment-summary .day-summary-meta-expand .day-summary-time:not(.is-unfilled),
.day-appointment-summary .day-summary-meta-expand .day-summary-value:not(.is-unfilled){transform:translateY(4px)}
.day-appointment-summary .day-summary-time:not(.is-unfilled),.day-appointment-summary .day-summary-value:not(.is-unfilled){font-size:12.75px;color:#d1a667}
.day-summary-meta span{flex:none;color:#fff;font:300 13.5px/1 'DM Sans',sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;letter-spacing:0}
.day-summary-meta strong{display:block;min-width:0;overflow:hidden;color:#fff;font:300 13.5px/1 'DM Sans',sans-serif;font-synthesis:none;-webkit-font-smoothing:antialiased;letter-spacing:0;text-overflow:ellipsis}
.day-summary-status-button,.day-summary-status-indicator{width:92%;min-width:0;height:23.34px;min-height:23.34px;position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:0;padding:2px;overflow:visible;border:1px solid color-mix(in srgb,var(--day-status-edge) 62%,#000);border-radius:4px;background:linear-gradient(180deg,var(--day-status-top) 0%,var(--day-status-bg) 48%,color-mix(in srgb,var(--day-status-bg) 82%,#000) 100%);color:var(--day-status-text);box-shadow:inset 0 2px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.28),0 3px 0 rgba(0,0,0,.48);font:400 15px/1 'DM Sans',sans-serif;font-synthesis:none;letter-spacing:0;white-space:nowrap;-webkit-tap-highlight-color:transparent}
.day-summary-status-label{display:block;min-width:0;max-width:100%;flex:0 1 auto;overflow:hidden;text-align:center;text-overflow:clip;font:400 15px/1.3 'DM Sans',sans-serif;letter-spacing:0;padding-block:1px}
.day-summary-status-label-spaced{letter-spacing:0}
.day-summary-status-mark{flex:none;font-size:15px;font-weight:400;line-height:1;letter-spacing:0}
.day-summary-status-mark-warning{margin-left:5px;transform:translateX(-5px)}
.day-summary-status-button{cursor:pointer;transition:filter .14s ease,transform .14s ease}
.day-summary-status-button::before{position:absolute;inset:-8px -10px -8px -12px;z-index:1;content:"";border-radius:8px;background:transparent}
.day-summary-status-button::after,.day-summary-status-indicator::after{display:none}
.day-summary-status-label,.day-summary-status-mark{position:relative;z-index:2;color:var(--day-status-text)}
.day-summary-status-button:active{filter:brightness(1.08);transform:translateY(1px);box-shadow:inset 0 -1px 2px rgba(0,0,0,.4),0 1px 1px rgba(0,0,0,.45)}
.day-summary-status-button:focus-visible{outline:2px solid #d1a667;outline-offset:1px}
.day-appointment-summary .day-summary-status-button,.day-appointment-summary .day-summary-status-indicator{border-radius:4px;border-color:color-mix(in srgb,var(--day-status-bg) 55%,#222);background:linear-gradient(180deg,color-mix(in srgb,var(--day-status-top) 65%,var(--day-status-bg)) 0%,var(--day-status-bg) 48%,color-mix(in srgb,var(--day-status-bg) 78%,#000) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 -1px 2px rgba(0,0,0,.28),0 1px 1px #0008}
.day-appointment-summary .day-summary-status-button:active{box-shadow:inset 0 1px 3px #0006;transform:none}
.day-appointment-summary .day-summary-status-button,.day-appointment-summary .day-summary-status-indicator{width:50px;flex:0 0 50px;height:22px;min-height:22px;filter:saturate(1.4);border-color:color-mix(in srgb,var(--day-status-bg) 45%,#15171a);background:linear-gradient(180deg,color-mix(in srgb,var(--day-status-top) 95%,#fff) 0%,color-mix(in srgb,var(--day-status-bg) 86%,#000) 48%,color-mix(in srgb,var(--day-status-bg) 58%,#000) 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.42),inset 0 3px 4px rgba(255,255,255,.08),inset 0 -1px 2px rgba(0,0,0,.28),0 1px 1px #0008}
.day-appointment-summary .day-summary-status-button[title="Agendado"]{filter:saturate(1.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.52),inset 0 3px 4px rgba(255,233,190,.14),inset 0 -1px 2px rgba(0,0,0,.28),0 1px 1px #0008}
.day-appointment-summary .day-summary-status-button[title="Sem marc"],.day-appointment-summary .day-summary-status-indicator[title="Sem marc"]{filter:none;border-color:#2a2d31;background:linear-gradient(180deg,#25292e 0%,#141619 48%,#090a0c 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),inset 0 -1px 2px rgba(0,0,0,.28),0 1px 1px #0008}
.day-appointment-summary [title="Sem marc"] .day-summary-status-label{color:#d1a667}
.day-appointment-summary .day-summary-status-button,.day-appointment-summary .day-summary-status-indicator{border-top-color:color-mix(in srgb,var(--day-status-edge) 65%,#fff);border-left-color:color-mix(in srgb,var(--day-status-edge) 65%,#333);border-right-color:color-mix(in srgb,var(--day-status-edge) 65%,#333);border-bottom-color:color-mix(in srgb,var(--day-status-edge) 45%,#222)}
.day-appointment-summary [title="Sem marc"]{border-top-color:#646a70;border-left-color:#3b4045;border-right-color:#3b4045;border-bottom-color:#292d31}
.day-summary-time{display:block}
.day-summary-time:not(.is-unfilled){letter-spacing:1px}
.day-summary-value:not(.is-unfilled){letter-spacing:1px}
.day-appointment-summary .day-summary-meta span.is-unfilled{color:#858585}
.day-commitment-slot .appointment-main{height:100%;gap:10px}
.day-commitment-slot .appointment-title,.day-commitment-slot .appointment-description,.day-commitment-slot .time-block,.day-commitment-slot .appointment-value{color:#f1f1f1}
.day-commitment-slot .time-block{background:transparent}
.day-commitment-slot .agenda-tag{background:#f1f1f1;color:#242424}
.day-commitment-slot .status-pill{background:#ededed!important;color:#222!important;border-color:#c9c9c9}
.day-commitment-slot .tiny-tool{color:#333}
#dayOverlay .day-panel-bottom{flex:none;min-height:60px;margin:7px -12px calc(-8px - env(safe-area-inset-bottom));padding:7px 16px calc(7px + env(safe-area-inset-bottom));border-top:1px solid #242424;background:#000}
.day-add-button{width:46px;height:42px;display:grid;place-items:center;border:1px solid #eee;border-radius:5px;background:#fff;color:#111;font:400 30px/1 Arial,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.day-add-button:active{transform:translateY(1px);background:#e8e8e8}
#dayOverlay .day-screen-header{flex:none;min-height:48px;display:grid;grid-template-columns:max-content minmax(0,1fr) auto;align-items:center;gap:6px;padding:0 0 7px;border-bottom:1px solid #202020;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.075),transparent 72%),linear-gradient(180deg,#080a0a 0%,#000 100%)}
#dayOverlay .day-screen-brand.mobile-brand{display:flex;align-items:center;min-width:0;white-space:nowrap}
#dayOverlay .day-screen-header h2{justify-self:stretch;align-self:center;min-width:0;margin:0;display:flex;flex-direction:column;align-items:center;gap:2px;color:#d1a667;font-size:14px;font-weight:600;line-height:1.05;letter-spacing:.04em;text-align:center;text-transform:uppercase;white-space:nowrap;transform:translateY(3px)}
#dayOverlay .day-screen-header h2 span:last-child{font-size:12.5px;letter-spacing:.05em}
#dayOverlay .day-screen-actions{display:flex;align-items:center;gap:3px;flex:none}
#dayOverlay .day-screen-actions .day-mic-button,#dayOverlay .day-screen-actions .close-panel{flex:none;width:32px;height:32px}
#dayOverlay .day-add-delete-control{display:flex;align-items:center;flex:none;width:68px;height:32px;overflow:hidden;border:1px solid #28504f;border-radius:7px;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);color:#d1a667;box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -3px 5px #000a,0 2px 4px #0009}
#dayOverlay .day-add-delete-control button{display:grid;place-items:center;flex:1 1 50%;height:100%;min-width:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:400 21px/1 Arial,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
#dayOverlay .day-add-delete-control button+button{border-left:1px solid rgba(143,212,196,.12)}
#dayOverlay .day-add-delete-control button:active,#dayOverlay .day-add-delete-control button.is-delete-mode{background:rgba(209,166,103,.13)}
#dayOverlay .day-add-delete-control button.has-delete-selection{color:#ffe2aa;background:rgba(209,166,103,.2)}
#dayOverlay .day-add-delete-control button:focus-visible{outline:2px solid #d1a667;outline-offset:-3px}
#dayOverlay .day-screen-actions .day-mic-button{border-radius:7px;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -3px 5px #000a,0 2px 4px #0009}
#dayOverlay .day-screen-actions .day-mic-button svg{width:17px;height:17px}
#dayOverlay .day-screen-actions .close-panel{border:1px solid #28504f;border-radius:7px;background:linear-gradient(165deg,#0d2827,#091d1c 58%,#061212);color:#d1a667;box-shadow:inset 0 1px 0 #8fd4c42a,inset 0 -3px 5px #000a,0 2px 4px #0009}
#dayOverlay .day-actions-control{width:164px;height:35.3px;display:flex;align-items:center;justify-content:flex-start;gap:2px;overflow:visible;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#d1a667}
#dayOverlay .day-actions-control>button,#dayOverlay .day-actions-control>.day-add-delete-control{position:relative;flex:0 0 40px;width:40px;height:33.5px;min-width:0;min-height:0;margin:0;padding:0;display:grid;place-items:center;overflow:hidden;border:1px solid #30353c;border-radius:7px;background:linear-gradient(180deg,#2b3036 0%,#17191c 48%,#0b0c0e 100%);color:inherit;box-shadow:0 2px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.22);transform:none}
#dayOverlay .day-actions-control>.day-add-delete-control{flex-basis:80px;width:80px;display:flex;border-radius:7px}
#dayOverlay .day-actions-control>.day-add-delete-control>button{position:relative;flex:1 1 50%;width:50%;height:34px;min-width:0;min-height:0;margin:0;padding:0;display:grid;place-items:center;border:0;border-radius:0;background:transparent;color:inherit;box-shadow:none}
#dayOverlay .day-actions-control>.day-add-delete-control>button+button{border-left:1px solid rgba(255,255,255,.12)}
#dayOverlay .day-actions-control .day-mic-button svg{width:19.8px;height:19.8px}
#dayOverlay .day-actions-control .day-add-button,#dayOverlay .day-actions-control .day-delete-button,#dayOverlay .day-actions-control .close-panel{font:400 27.6px/1 Arial,sans-serif}
#dayOverlay .day-actions-control>button:hover{background:rgba(255,255,255,.07);filter:brightness(1.14)}
#dayOverlay .day-actions-control>button:active{transform:translateY(2px);filter:brightness(.92)}
#dayOverlay .day-screen-actions .day-actions-control>.day-mic-button,#dayOverlay .day-screen-actions .day-actions-control>.close-panel{width:40px;height:33.5px;min-height:0;flex:0 0 40px;margin:0;padding:0;border:1px solid #30353c;border-radius:7px;background:linear-gradient(180deg,#2b3036 0%,#17191c 48%,#0b0c0e 100%);color:#d1a667;box-shadow:0 2px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.22);transform:none}
#dayOverlay .day-screen-actions .day-actions-control>.close-panel{font:400 27.6px/1 Arial,sans-serif}
#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button{flex:1 1 50%;width:50%;height:34px;min-height:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#d1a667}
#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button+button{border-left:0}
#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button{cursor:pointer;pointer-events:auto}
#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button:hover{background:rgba(255,255,255,.08);filter:brightness(1.12)}
#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button:active,#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button.is-delete-mode,#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button.has-delete-selection{background:rgba(209,166,103,.22);filter:brightness(1.18);transform:translateY(1px)}
#dayOverlay .day-screen-actions .day-actions-control>.day-add-delete-control>button:focus-visible{outline:2px solid #d1a667;outline-offset:-3px}
#dayOverlay .day-screen-actions .day-actions-control>button:hover{filter:brightness(1.12)}
#dayOverlay .day-screen-actions .day-actions-control>button:active{filter:brightness(.94);transform:translateY(1px)}
#dayOverlay .day-panel-content{padding-top:1.75px;padding-bottom:3.5px}
#dayOverlay .day-panel-content:not(.has-expanded-slot):not(.has-expanded-preview){touch-action:none;user-select:none;-webkit-user-select:none}
#dayOverlay .day-panel-content.is-pointer-dragging{cursor:grabbing;scroll-behavior:auto!important;scroll-snap-type:none!important;user-select:none}
#dayOverlay .day-panel-content.is-pointer-dragging .day-commitment-slot{scroll-snap-align:none!important;transition:none!important}
#dayOverlay .day-panel-content.is-pointer-dragging .day-inline-editor{pointer-events:none}
#dayAppointments.is-pointer-dragging{cursor:grabbing!important;scroll-behavior:auto!important;scroll-snap-type:none!important;user-select:none;-webkit-user-select:none}
#dayAppointments.is-pointer-dragging .day-commitment-slot{scroll-snap-align:none!important;transition:none!important}
#dayAppointments.is-pointer-dragging .day-inline-editor{pointer-events:none}
/* Shared day-card finish, with the appointment navy palette preserved. */
body #dayAppointments.is-day-appointments>.day-commitment-slot{--appointment-card-relief:0 3px 0 rgba(0,0,0,.24),inset 0 1px 0 #2e3441,inset 1px 0 2px rgba(255,255,255,.0175),inset -1px 0 2px rgba(255,255,255,.0175),inset 0 -2px 0 rgba(0,0,0,.11)}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot{width:calc(100% - 6px)!important;margin-inline:3px!important;border:1px solid #191e28!important;border-left-width:.5px!important;border-right-width:.5px!important;border-radius:6.3px!important;background:linear-gradient(180deg in oklab,#10141c 0%,#0b0e16 100%)!important;box-shadow:0 3px 0 rgba(0,0,0,.24),inset 0 1px 0 #2e3441,inset 1px 0 2px rgba(255,255,255,.0175),inset -1px 0 2px rgba(255,255,255,.0175),inset 0 -2px 0 rgba(0,0,0,.11)!important}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot .day-appointment-summary{border:0!important;border-radius:inherit!important;background:transparent!important;box-shadow:none!important}
#dayOverlay .day-panel-bottom{min-height:52px;margin:4px -12px calc(-8px - env(safe-area-inset-bottom));padding:5px 16px calc(5px + env(safe-area-inset-bottom));border-top:0}
.day-mic-button{width:40px;height:40px;display:grid;place-items:center;border:1px solid #343a36;border-radius:7px;background:#101412;color:#d1a667;box-shadow:inset 0 1px 0 #ffffff14,inset 0 -2px 0 #000b,0 2px 5px #0008;cursor:pointer;-webkit-tap-highlight-color:transparent}
.day-mic-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Keep the phone view within the viewport; only the date list itself scrolls. */
@media(max-width:760px){
  html,body{width:100%;height:100%;min-height:0;overflow:hidden}
  .app-shell{height:100dvh;min-height:0;overflow:hidden}
  .main-area{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  .topbar{flex:none}
  .content-wrap{flex:1 1 auto;height:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0}
  .calendar-card{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
  #weekDays{flex:1 1 0;height:0;min-height:0;max-height:none;overflow-x:hidden;overflow-y:auto;padding-bottom:0}
  #weekDays>.day-row{height:var(--visible-day-row-height,48px);min-height:0;margin-bottom:3px}
  #weekDays>.day-row:last-child{margin-bottom:0}
  .calendar-footer,.page-footer{display:none}
  #dayOverlay .day-panel-content{width:calc(100% + 6px);margin-inline:-3px}
}
.day-mic-button:active{transform:translateY(1px)}
#dayOverlay .day-panel-content.is-delete-mode .day-commitment-slot{filter:brightness(.52);transition:filter .16s ease,outline-color .16s ease}
#dayOverlay .day-panel-content.is-delete-mode .day-commitment-slot.is-filled{cursor:pointer}
#dayOverlay .day-panel-content.is-delete-mode .day-commitment-slot.is-filled:hover{filter:brightness(.76);outline:1px solid rgba(209,166,103,.75);outline-offset:-1px}
#dayOverlay .day-panel-content .day-commitment-slot.is-delete-selected{filter:brightness(1);outline:3px solid #d1a667;outline-offset:-3px}
#dayOverlay .day-panel-content .appointment-tools{display:none}
#dayOverlay .day-panel-content.has-expanded-slot .day-commitment-slot.is-expanded{grid-row:span 4;height:auto;min-height:0;cursor:auto;scroll-snap-align:start;background:#050710;box-shadow:none}
#dayOverlay .day-panel-content.has-expanded-slot{padding-bottom:0}
#dayOverlay .day-panel-content.has-expanded-slot .day-scroll-tail{grid-row:span 1;min-height:0;margin-inline:-1.75px;background:#050710;pointer-events:none}
#dayOverlay .day-panel-content.has-expanded-preview{grid-auto-rows:auto;align-content:start}
#dayOverlay .day-panel-content.has-expanded-preview .day-commitment-slot:not(.is-preview-expanded){height:var(--day-slot-height,76px)}
#dayOverlay .day-panel-content.has-expanded-preview .day-commitment-slot.is-preview-expanded{grid-row:auto;height:auto;min-height:var(--day-slot-height,76px);scroll-snap-align:start}
#dayOverlay .day-panel-content.has-expanded-preview .day-commitment-slot.is-preview-expanded .appointment-card{height:auto;min-height:0}
#dayOverlay .day-panel-content.has-expanded-preview .day-commitment-slot.is-preview-expanded .day-appointment-summary{height:auto;min-height:var(--day-slot-height,76px)}
#dayOverlay .day-panel-content.has-expanded-preview .day-commitment-slot.is-preview-expanded .day-summary-primary{display:block;max-height:none;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset}
#dayOverlay .day-panel-content.has-expanded-preview .day-commitment-slot.is-preview-expanded .day-summary-meta{margin-top:4px}
#dayOverlay .day-panel-content.has-expanded-preview{padding-bottom:0}
#dayOverlay .day-panel-content.has-expanded-preview .day-scroll-tail{grid-row:span 1;min-height:0;margin-inline:-1.75px;background:#050710;pointer-events:none}
#weekDays.is-day-appointments>.day-inline-expansion{flex:none;width:100%;max-height:0;margin:0 0 3px;overflow:hidden;background:#000;opacity:0;transition:max-height .45s cubic-bezier(.4,0,.2,1),opacity .18s ease}
#weekDays.is-day-appointments>.day-inline-expansion:not(.is-inline-expanding){max-height:none!important;overflow:visible;opacity:1}
#weekDays.is-day-appointments>.day-inline-expansion>.day-inline-divider{width:100%;flex:none;display:flex;align-items:center;justify-content:center;background:#000}
.day-inline-divider .day-header-label{font-size:13.75px;color:#008f68;letter-spacing:.8px}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments{position:static;left:auto;flex:none;width:100%;height:auto;min-height:0;max-height:none;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:var(--day-slot-height,48px);gap:3px;overflow:visible;margin:0;padding:0;background:#000;scrollbar-width:none;scroll-snap-type:none}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments.has-expanded-preview{grid-auto-rows:auto;align-content:start;scroll-snap-type:none;overflow-anchor:none}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot{border:1px solid #2a2d31;border-radius:6px;background:linear-gradient(180deg,#171b25 0%,#10131c 48%,#080b13 100%);box-shadow:inset 0 1.6px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.14),0 3px 0 rgba(0,0,0,.24)}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot .appointment-card{border-radius:5px}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments::-webkit-scrollbar{display:none}
#weekDays.is-day-moving-to-carousel{scroll-snap-type:none!important;scroll-behavior:auto!important}
#selectedDayHeaderSlot.day-carousel-cover{display:block}
#selectedDayHeaderSlot .day-row-in-carousel{position:relative;width:100%;height:100%!important;min-height:0;margin:0;padding:0 10px;border:1px solid #2a2d31;border-radius:7px;background:linear-gradient(180deg,#1b1d1f 0%,#111315 60%,#090a0c 100%);box-shadow:inset 0 1.6px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.14),0 3px 0 rgba(0,0,0,.24);pointer-events:auto;transform:none}
/* Keep side edges black when cards leave the normal list clipping area. */
body:has(.day-inline-expansion) #weekDays>.day-row,
body:has(.day-inline-expansion) #selectedDayHeaderSlot .day-row-in-carousel,
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot{border-left-color:#000;border-right-color:#000;border-radius:0}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot .appointment-card{border-radius:0;border-left-color:#000;border-right-color:#000}
body:has(.day-inline-expansion) #weekDays>.day-row,
body:has(.day-inline-expansion) #selectedDayHeaderSlot .day-row-in-carousel,
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot{box-shadow:inset 2px 0 0 #000,inset -2px 0 0 #000,inset 0 1.6px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.14),0 3px 0 rgba(0,0,0,.24)!important}
.day-lift-stage::before,.day-lift-stage::after{content:none}
.day-lift-stage::before{left:0}
body #weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot{box-shadow:var(--appointment-card-relief)!important}
/* Smooth dark curvature, with one continuous surface and relief only at edges. */
body #weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot{background:radial-gradient(ellipse 175% 145% at 50% -12%,#0b1017 0%,#090d12 58%,#080b10 100%)!important}
body #dayAppointments>.day-commitment-slot::before,body #dayAppointments>.day-commitment-slot::after{content:none!important;display:none!important}
body #dayAppointments .day-appointment-summary,body #dayAppointments .day-summary-primary,body #dayAppointments .day-summary-meta{background:transparent!important;background-image:none!important;filter:none;backdrop-filter:none}
/* Keep the original navy surface while matching the settings cards' curved rim. */
body #weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot,
body.inline-day-active #dayAppointments.is-day-appointments>.day-commitment-slot,
#dayOverlay .day-panel-content.is-day-appointments>.day-commitment-slot{border:.15px solid #15191e!important;border-top:.5px solid #24282b!important;border-left-width:.15px!important;border-right-width:.15px!important;border-radius:6.3px!important;background:#070a10 url("./assets/appointment-surface.png")!important;background-size:100% 100%!important;background-repeat:no-repeat!important;box-shadow:0 3.5px 2.5px rgba(0,0,0,.52),inset 0 .75px 0 rgba(255,255,255,.12),inset 0 1px 2px rgba(255,255,255,.0175),inset 0 -.5px 0 rgba(0,0,0,.1),inset 0 -1.5px 3px rgba(0,0,0,.33)!important}

/* Date cards: clean graphite face with the shared, restrained 3D edge. */
#weekDays>.day-row,
#weekDays>.day-row:hover,
#weekDays>.day-row.selected-day,
#weekDays.is-pointer-dragging>.day-row,
#selectedDayHeaderSlot .day-row-in-carousel{border:.25px solid #24282b!important;border-top:.5px solid #24282b!important;border-left-width:.25px!important;border-right-width:.25px!important;border-radius:7px!important;background:linear-gradient(180deg in oklab,#1b1f22 0%,#111518 58%,#090b0d 100%)!important;box-shadow:0 3.5px 2.5px rgba(0,0,0,.52),inset 0 .75px 0 rgba(255,255,255,.12),inset 0 1px 2px rgba(255,255,255,.0175),inset 0 -1px 0 rgba(0,0,0,.07),inset 0 -3px 4.5px rgba(0,0,0,.33)!important}
.day-lift-stage::after{right:0}
body.day-carousel-covered .agenda-strip-section,body.day-carousel-covered .agenda-strip-section *{pointer-events:none!important}
.day-lift-stage{position:fixed;inset-inline:0;bottom:0;z-index:24;overflow:hidden;background:#000;pointer-events:none}
.day-lift-upper,.day-lift-lower{position:absolute;will-change:transform}
.day-lift-lower{background:#000}
#weekDays>.day-row,#weekDays>.day-row:hover,#weekDays.is-pointer-dragging>.day-row,#selectedDayHeaderSlot .day-row-in-carousel{border-radius:6.3px!important}
body:has(.day-inline-expansion) .main-area,body:has(.day-inline-expansion) .content-wrap,body:has(.day-inline-expansion) .calendar-card{background:#000}
body:has(.day-inline-expansion) .calendar-card{border-left:0;border-right:0;box-shadow:none}
body:has(.day-inline-expansion) .topbar{box-shadow:none}
.day-lift-upper{z-index:3;background:#000}
.day-lift-lower{z-index:2}
.day-lift-upper>.agenda-strip-section{margin:0;padding:0}
.day-lift-upper .agenda-strip{height:61.74px;margin:5px 0 0}
body.day-lift-running .topbar{z-index:25}
body.day-lift-running #selectedDayHeaderSlot{display:none!important}
.day-lift-lower>#weekDays{position:static;left:auto;flex:none;width:100%;height:auto;min-height:0;max-height:none;overflow:visible;margin:0;padding:0!important;display:flex;flex-direction:column;scroll-snap-type:none}
.day-lift-lower>#weekDays>.day-row{flex:none;height:var(--visible-day-row-height,57px);min-height:0}
body.inline-day-active .topbar{overflow:hidden}
body.inline-day-active .calendar-card{border-top:0;box-shadow:none}
body.inline-day-active .agenda-strip-section,body.inline-day-active .weekdays-head{display:none!important}
body.inline-day-active #selectedDayHeaderSlot{display:block;flex:none;min-height:var(--day-slot-height,48px);height:var(--day-slot-height,48px);margin-top:2px}
body.inline-day-active #selectedDayHeaderSlot .day-row-in-carousel{height:100%!important;min-height:0}
.weekdays-head{position:relative;min-height:28px}
.weekdays-head .day-list-heading{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;white-space:nowrap;width:max-content;text-align:center}
.day-list-controls{position:absolute;left:calc(50% + var(--day-controls-offset,38vw));top:50%;transform:translate(-50%,-50%);display:inline-flex;gap:3px}
.day-list-controls button{border:0;background:transparent;color:inherit;font:400 20px/20px 'DM Sans',sans-serif;padding:0;cursor:pointer;border-radius:3px;width:var(--day-controls-touch-width,54px);height:var(--day-controls-touch-height,28px);display:grid;place-items:center;touch-action:manipulation}
.day-list-controls button:hover{background:#ffffff12}
.day-list-controls button[hidden]{display:none}
#compactDayList{color:#008f68}
#expandDayList{color:#d1a667}
.day-list-controls button:focus-visible{outline:1px solid currentColor;outline-offset:2px}
#weekDays:not(.is-day-appointments)>.day-row{height:var(--visible-day-row-height,62px);min-height:0;overflow:hidden}
#weekDays>.day-row.is-folded-day{display:none!important}
.appointment-description.has-money-lines{display:block;white-space:normal}
.money-description-heading{display:block;margin-bottom:5px}
.money-description-row{display:grid;grid-template-columns:11ch minmax(0,1fr);column-gap:12px;margin:4px 0;align-items:start}
.money-description-value{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.money-description-detail{display:flex;align-items:baseline;min-width:0;gap:0;border:0;background:none;box-shadow:none;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer}
.money-description-detail:disabled{opacity:1;cursor:default}
.money-description-text{display:block;min-width:0;overflow:hidden;white-space:nowrap}
.money-description-more{display:none;flex:none;color:#d1a667;padding-left:2px}
.money-description-detail.is-truncated .money-description-more{display:block}
.money-description-detail[aria-expanded="true"] .money-description-text{white-space:normal;overflow:visible;overflow-wrap:anywhere}
.money-description-detail[aria-expanded="true"] .money-description-more{display:none}
.day-inline-description-field textarea.has-money-lines{font-family:Consolas,'Courier New',monospace;font-variant-numeric:tabular-nums;white-space:pre-wrap}
#weekDays.is-agenda-switching>.day-row .day-scheduled-summary,
#weekDays.is-agenda-switching>.day-row .day-summary,
#weekDays.is-agenda-switching>.day-row .day-count{visibility:hidden}
.day-inline-editor{position:relative;z-index:1;height:100%;min-height:100%;display:flex;flex-direction:column;gap:5px;overflow:auto;padding:8px;background:transparent;color:#f1f1f1}
.day-commitment-slot:is(.is-editor-closing,.is-editor-opening)>.day-appointment-summary{position:absolute;inset:0;pointer-events:none}
.day-commitment-slot:is(.is-editor-closing,.is-editor-opening)>.day-inline-editor{z-index:2}
.day-commitment-slot.is-editor-closing>.day-inline-editor{pointer-events:none}
body.inline-day-active #weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.has-expanded-slot>.day-commitment-slot.is-expanded{grid-row:auto!important;height:var(--day-editor-height)}
body.inline-day-active #weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.has-expanded-slot>.day-scroll-tail{grid-row:auto;height:var(--day-slot-height);margin-inline:0;background:#070a10 url('./assets/appointment-surface.png') center top/100% var(--day-slot-height) repeat-y}
/* Let the editor's animated height move following cards without changing width. */
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.has-expanded-slot,
body.inline-day-active #dayAppointments.has-expanded-slot,
#dayOverlay .day-panel-content.has-expanded-slot{grid-auto-rows:auto;align-content:start;overflow-anchor:none}
#dayAppointments.has-expanded-slot>.day-commitment-slot,
#dayOverlay .day-panel-content.has-expanded-slot>.day-commitment-slot{height:var(--day-slot-height,68px);grid-row:auto!important}
#weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.has-expanded-slot>.day-commitment-slot.is-expanded,
body.inline-day-active #dayAppointments.is-day-appointments.has-expanded-slot>.day-commitment-slot.is-expanded,
#dayOverlay .day-panel-content.is-day-appointments.has-expanded-slot>.day-commitment-slot.is-expanded{height:calc(var(--day-slot-height,68px) * 4 + 9px);min-height:0}

/* Selected-day view unfolds in the same screen: the date takes the carousel slot,
   and its appointment cells replace the week-date list. */
body.inline-day-active #dayOverlay{visibility:hidden;opacity:0!important;pointer-events:none!important}
body.inline-day-active #dayOverlay .day-panel{display:none}
body.inline-day-active .topbar{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:0;padding-bottom:3px}
body.inline-day-active .agenda-strip-section{display:none!important}
body.inline-day-active .weekdays-head{display:none!important}
body.inline-day-active #selectedDayHeaderSlot{display:block;flex:none;min-height:var(--day-slot-height,48px);height:var(--day-slot-height,48px);margin-top:2px}
body.inline-day-active .day-screen-header{height:61.74px;min-height:61.74px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;margin-top:5px;padding:0 10px;border:1px solid #2a2d31;border-radius:7px;background:linear-gradient(180deg,#1b1d1f 0%,#111315 60%,#090a0c 100%);box-shadow:inset 0 1.6px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.14),0 3px 0 rgba(0,0,0,.24);opacity:1;transform:translateY(0);transition:opacity .28s ease,transform .42s cubic-bezier(.2,.8,.25,1)}
body.inline-day-active .day-screen-brand{display:none!important}
body.inline-day-active .day-screen-header h2{justify-self:start;align-self:center;min-width:0;margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px;color:#d1a667;font-size:14px;font-weight:600;line-height:1.05;letter-spacing:.04em;text-align:left;text-transform:uppercase;white-space:nowrap;transform:none}
body.inline-day-active .day-screen-header h2 span:last-child{font-size:12.5px;letter-spacing:.05em}
body.inline-day-active .day-screen-actions{display:flex;align-items:center;justify-content:flex-end;gap:3px}
body.inline-day-active .day-actions-control{width:auto;height:35px;display:flex;align-items:center;gap:3px;overflow:visible;padding:0;border:0;background:transparent;box-shadow:none;color:#d1a667}
body.inline-day-active .day-actions-control>button,body.inline-day-active .day-actions-control>.day-add-delete-control{position:relative;flex:0 0 40px;width:40px;height:33.5px;min-width:0;min-height:0;margin:0;padding:0;display:grid;place-items:center;overflow:hidden;border:1px solid #30353c;border-radius:7px;background:linear-gradient(180deg,#2b3036 0%,#17191c 48%,#0b0c0e 100%);color:inherit;box-shadow:0 2px 0 rgba(0,0,0,.58),inset 0 2px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(0,0,0,.22)}
body.inline-day-active .day-actions-control>.day-add-delete-control{flex-basis:80px;width:80px;display:flex}
body.inline-day-active .day-actions-control>.day-add-delete-control>button{flex:1 1 50%;height:34px;min-height:0;border:0;border-radius:0;background:transparent;color:inherit;font:400 27px/1 Arial,sans-serif}
body.inline-day-active .day-actions-control .day-mic-button svg{width:19.8px;height:19.8px}
body.inline-day-active .day-actions-control .day-add-button,body.inline-day-active .day-actions-control .day-delete-button,body.inline-day-active .day-actions-control .close-panel{font:400 27.6px/1 Arial,sans-serif;color:#d1a667}
body.inline-day-active .day-actions-control>button:hover{filter:brightness(1.12)}
body.inline-day-active .content-wrap{flex:1 1 auto;width:100%;margin-inline:0;height:auto;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0}
body.inline-day-active .calendar-card{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}
body.inline-day-active .calendar-toolbar,body.inline-day-active .calendar-footer{display:none}
body.inline-day-active #weekDays.is-day-appointments{overflow:clip}
body.inline-day-active #weekDays.is-day-appointments>.day-inline-expansion{display:flex;flex-direction:column;flex:1 1 0;height:0;min-height:0;overflow:hidden!important}
body.inline-day-active #weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments{flex:1 1 0;height:0;min-height:0;overflow-y:auto;overflow-x:hidden}
body.inline-day-active #weekDays{position:static;left:auto;flex:1 1 auto;width:100%;height:auto;min-height:0;max-height:none;display:flex;flex-direction:column;overflow:hidden;margin:0;padding:0!important;touch-action:auto;scroll-snap-type:none}
body.inline-day-active #dayAppointments.is-day-appointments{position:static;left:auto;flex:1 1 auto;width:100%;height:100%;min-height:0;max-height:none;display:grid;grid-template-columns:minmax(0,1fr);grid-auto-rows:var(--day-slot-height,48px);gap:3px;overflow:auto;margin:0;padding:0;background:#000;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:y mandatory;scroll-padding-top:0;overscroll-behavior-y:contain;touch-action:pan-y;cursor:grab;opacity:1;clip-path:inset(0 0 0 0);transform-origin:top center;transform:translateY(0);transition:clip-path .42s cubic-bezier(.2,.8,.25,1)}
body.inline-day-active #dayAppointments.is-day-appointments>.day-commitment-slot{border:1px solid #2a2d31;border-radius:6px;background:linear-gradient(180deg,#171b25 0%,#10131c 48%,#080b13 100%);box-shadow:inset 0 1.6px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.14),0 3px 0 rgba(0,0,0,.24)}
body.inline-day-active #dayAppointments.is-day-appointments>.day-commitment-slot .appointment-card{border-radius:5px}
body.inline-day-active #dayAppointments::-webkit-scrollbar{display:none}
body.day-view-entering #dayAppointments.is-day-appointments{opacity:1;clip-path:inset(0 0 calc(100% - var(--day-slot-height,48px)) 0);transform:none}
body.inline-day-active #dayAppointments.is-delete-mode .day-commitment-slot{filter:brightness(.52);transition:filter .16s ease,outline-color .16s ease}
body.inline-day-active #dayAppointments.is-delete-mode .day-commitment-slot.is-filled{cursor:pointer}
body.inline-day-active #dayAppointments.is-delete-mode .day-commitment-slot.is-filled:hover{filter:brightness(.76);outline:1px solid rgba(209,166,103,.75);outline-offset:-1px}
body.inline-day-active #dayAppointments .day-commitment-slot.is-delete-selected{filter:brightness(1);outline:3px solid #d1a667;outline-offset:-3px}
body.inline-day-active #dayAppointments .appointment-tools{display:none}
body.inline-day-active #dayAppointments.has-expanded-slot .day-commitment-slot.is-expanded{grid-row:span 4;height:auto;min-height:0;cursor:auto;scroll-snap-align:start;background:#050710;box-shadow:none}
body.inline-day-active #dayAppointments.has-expanded-slot{padding-bottom:0}
body.inline-day-active #dayAppointments.has-expanded-slot .day-scroll-tail,body.inline-day-active #dayAppointments.has-expanded-preview .day-scroll-tail{grid-row:span 1;min-height:0;margin-inline:-1.75px;background:#050710;pointer-events:none}
body.inline-day-active #dayAppointments.has-expanded-preview{grid-auto-rows:auto;align-content:start;padding-bottom:0}
body.inline-day-active #dayAppointments.has-expanded-preview .day-commitment-slot:not(.is-preview-expanded){height:var(--day-slot-height,76px)}
body.inline-day-active #dayAppointments.has-expanded-preview .day-commitment-slot.is-preview-expanded{grid-row:auto;height:auto;min-height:var(--day-slot-height,76px);scroll-snap-align:start}
body.inline-day-active #dayAppointments.has-expanded-preview .day-commitment-slot.is-preview-expanded .appointment-card{height:auto;min-height:0}
body.inline-day-active #dayAppointments.has-expanded-preview .day-commitment-slot.is-preview-expanded .day-appointment-summary{height:auto;min-height:var(--day-slot-height,76px)}
body.inline-day-active #dayAppointments.has-expanded-preview .day-commitment-slot.is-preview-expanded .day-summary-primary{display:block;max-height:none;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset}
body.inline-day-active #dayAppointments.has-expanded-preview .day-commitment-slot.is-preview-expanded .day-summary-meta{margin-top:4px}
@media(max-width:760px){body.inline-day-active .topbar{width:calc(100% - 6px);margin-inline:auto;padding-left:0;padding-right:0}body.inline-day-active #dayAppointments.is-day-appointments{width:100%;margin:0;padding:0!important}}
.day-inline-context{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#f1f1f1;font-size:10px;font-weight:700;letter-spacing:.03em}
.day-inline-field{min-width:0;display:grid;gap:3px;color:#f1f1f1;font-size:10px;font-weight:700}
.day-inline-field input,.day-inline-field textarea,.day-inline-field select{width:100%;min-width:0;min-height:30px;padding:5px 7px;border:1px solid #c7c7c7;border-radius:4px;background:#fff;color:#222;font:400 12px 'DM Sans',sans-serif;outline:none}
.day-inline-field:not(.day-inline-description-field){flex:none}
.day-inline-description-field{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
.day-inline-description-field textarea{flex:1 1 auto;min-height:60px;resize:vertical}
.day-inline-fields-row,.day-inline-actions{flex:none}
.day-inline-field input:focus,.day-inline-field textarea:focus,.day-inline-field select:focus{border-color:#668a72;box-shadow:0 0 0 2px #668a722b}
.day-inline-fields-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(120px,1.15fr);gap:6px}
.day-inline-title-field input,.day-inline-description-field textarea{font-size:14.4px}
.day-inline-fields-row .day-inline-field{font-size:15px}
.day-inline-fields-row .day-inline-field input,.day-inline-fields-row .day-inline-field select{min-height:38px;padding-inline:5px;font-size:18px}
.day-inline-status-field{min-width:0}
.day-inline-status-value{display:none!important}
.day-inline-status-control{width:100%;min-width:0;display:flex}
.day-inline-status-button{width:100%;min-width:0;height:38px;min-height:38px;margin-inline:0;display:flex;align-items:center;justify-content:center;gap:0;padding:2px 6px;overflow:hidden;border:1px solid #2a2d31;border-radius:7px;background:linear-gradient(180deg,color-mix(in srgb,var(--day-status-top) 95%,#fff) 0%,color-mix(in srgb,var(--day-status-bg) 86%,#000) 48%,color-mix(in srgb,var(--day-status-bg) 58%,#000) 100%);filter:saturate(1.4);color:var(--day-status-text);box-shadow:0 3px 0 rgba(0,0,0,.48),inset 0 2px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.28);font:300 17.6871px/1 'DM Sans',sans-serif;font-synthesis:none;letter-spacing:.35px;white-space:nowrap;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:filter .14s ease}
.day-inline-status-button{border-top-color:color-mix(in srgb,var(--day-status-edge) 65%,#fff);border-left-color:color-mix(in srgb,var(--day-status-edge) 65%,#333);border-right-color:color-mix(in srgb,var(--day-status-edge) 65%,#333);border-bottom-color:color-mix(in srgb,var(--day-status-edge) 45%,#222)}
.day-inline-status-button[title="Agendado"]{filter:saturate(1.5)}
.day-inline-status-button[title="Sem marc"]{filter:none;background:linear-gradient(180deg,#25292e 0%,#141619 48%,#090a0c 100%)}
.agenda-type-options{min-width:0;margin:0 0 18px;padding:0;border:0;display:grid;gap:8px;color:#dedede}
.agenda-type-options[hidden]{display:none}
.agenda-type-options legend{margin-bottom:8px;font-size:12px}
.agenda-type-options label{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #30353c;border-radius:7px;background:#101419;cursor:pointer}
.agenda-type-options label:has(input:checked){border-color:#008f68;background:#10231d}
.agenda-type-options input{accent-color:#008f68;flex:none}
.agenda-type-options strong{display:block;font-size:14px;font-weight:500;color:#d1a667}
.agenda-type-options small{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:#b9c1c0}
.daily-text-overlay{padding:0;background:#000b;z-index:30}
.daily-text-page{display:flex;flex-direction:column;width:min(760px,100%);height:100dvh;max-height:100dvh;background:#fff;color:#20252a;box-shadow:0 0 30px #0008}
.daily-text-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;border-bottom:1px solid #e4e7ea;background:#f6f7f8}
.daily-text-header small{display:block;color:#626a72;font-size:13px}
.daily-text-header h2{margin:6px 0 0;font-size:18px;line-height:1.35;font-weight:500;text-transform:capitalize}
.daily-text-header button{flex:none;border:1px solid #c9cfd5;border-radius:7px;padding:9px 12px;background:white;color:#303941;font:500 14px 'DM Sans',sans-serif;cursor:pointer}
.daily-text-label{padding:16px 20px 0;font-size:12px;color:#747d86}
#dailyTextInput{flex:1;min-height:0;width:100%;padding:16px 20px;border:0;outline:none;resize:none;background:#fff;color:#20252a;font:400 17px/1.65 'DM Sans',sans-serif;letter-spacing:.1px}
#dailyTextInput:focus-visible{box-shadow:inset 0 0 0 2px #ddebe6}
.daily-text-save-state{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #eceef0;color:#69737c;font-size:12px}
.daily-text-save-state button{flex:none;border:1px solid #353a40;border-radius:7px;padding:10px 18px;background:linear-gradient(180deg,#272b30,#111316);color:#fff;font:600 14px 'DM Sans',sans-serif;cursor:pointer;box-shadow:inset 0 1px 0 #ffffff18,0 2px 4px #0003;transition:filter .15s,transform .15s}
.daily-text-save-state button:hover{filter:brightness(1.08)}
.daily-text-save-state button:active{transform:translateY(1px)}
.daily-text-actions{display:flex;align-items:center;gap:8px}
.daily-text-actions #closeDailyText{border:1px solid #353a40;background:linear-gradient(180deg,#272b30,#111316);color:#fff;box-shadow:inset 0 1px 0 #ffffff18,0 2px 4px #0003}
#dayAppointments.is-day-appointments.is-text-day{display:flex!important;flex-direction:column;grid-template-columns:none;height:calc(100dvh - 170px);min-height:200px;overflow:hidden!important;padding:0}
#dayAppointments.is-text-day>.daily-text-page{width:100%;height:100%;min-height:0;max-height:none;flex:1;box-shadow:none}
body.inline-day-active #dayAppointments.is-day-appointments.is-text-day{height:0;min-height:0;flex:1 1 auto}
#dayAppointments.is-text-day .daily-text-header{padding:10px 12px}
#dayAppointments.is-text-day .daily-text-header h2{font-size:15px}
#dayAppointments.is-text-day .daily-text-label{padding:10px 12px 0}
#dayAppointments.is-text-day .daily-text-save-state{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}
#dayAppointments.is-text-day .daily-text-save-state button{padding:8px 14px;font-size:13px}
#dayAppointments.is-text-day .daily-text-actions{gap:6px}
#dayAppointments.is-text-day #dailyTextInput{padding:12px;font-size:16px}
body.daily-text-active .main-area{height:100dvh;min-height:0;display:flex;flex-direction:column}
body.daily-text-active .topbar{flex:none}
body.daily-text-active .page-footer{display:none}
.day-inline-status-button .day-summary-status-label{display:block;flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-align:center;text-overflow:clip;font:300 17.6871px/1.3 'DM Sans',sans-serif;padding-block:1px;letter-spacing:.35px}
.day-inline-status-button .day-summary-status-mark{font-size:17.6871px}
.day-inline-status-button:active{filter:brightness(1.08)}
.day-inline-status-button:focus-visible{outline:2px solid #d1a667;outline-offset:1px}
.day-inline-money{min-width:0;min-height:38px;display:flex;align-items:center;gap:2px;padding:0 5px;border:1px solid #c7c7c7;border-radius:4px;background:#fff;color:#222;font-size:18px;font-weight:400;letter-spacing:.035em}
.day-inline-money:focus-within{border-color:#668a72;box-shadow:0 0 0 2px #668a722b}
.day-inline-fields-row .day-inline-money input{flex:1;width:100%;min-width:0;min-height:0;height:36px;padding:4px 2px;border:0;background:transparent;font-size:18px;appearance:textfield;-moz-appearance:textfield}
.day-inline-fields-row .day-inline-money input:focus{border:0;box-shadow:none}
.day-inline-money input[type=number]::-webkit-inner-spin-button,.day-inline-money input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.day-inline-time{min-width:0;min-height:38px;display:flex;align-items:center;gap:0;padding:0 3px;border:1px solid #c7c7c7;border-radius:4px;background:#fff;color:#222}
.day-inline-time:focus-within{border-color:#668a72;box-shadow:0 0 0 2px #668a722b}
.day-inline-fields-row .day-inline-time input{flex:1;width:100%;min-width:0;min-height:0;height:36px;padding:4px 1px;border:0;background:transparent;font-size:16px}
.day-inline-fields-row .day-inline-time input:focus{border:0;box-shadow:none}
.day-inline-actions{flex:none;width:100%;margin-top:auto;padding-top:2px}
.day-inline-actions-group{width:100%;min-height:42px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;overflow:hidden;border:1px solid #2a2d31;border-radius:7px;background:linear-gradient(180deg,#25292e 0%,#141619 48%,#090a0c 100%);box-shadow:0 3px 0 rgba(0,0,0,.48),inset 0 2px 0 rgba(255,255,255,.11),inset 0 -2px 0 rgba(0,0,0,.28);color:#d1a667}
.day-inline-actions-group button{position:relative;min-width:0;min-height:42px;padding:0 2px;border:0;border-radius:0;background:transparent;color:inherit;font:400 15px 'DM Sans',sans-serif;cursor:pointer;box-shadow:none;-webkit-tap-highlight-color:transparent}
.day-inline-actions-group button+button::before{position:absolute;top:7px;bottom:7px;left:0;width:1px;content:"";background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.76) 18%,rgba(0,0,0,.76) 82%,transparent 100%);pointer-events:none}
.day-inline-actions-group button:hover{background:rgba(255,255,255,.035)}
.day-inline-actions-group button:active{background:rgba(255,255,255,.08)}
.day-inline-actions-group .day-inline-mic{display:flex;align-items:center;justify-content:center;gap:3px}
.day-inline-mic svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:360px){.day-inline-actions-group button{font-size:12px}.day-inline-mic svg{width:19px;height:19px}}
@media(max-width:760px){#dayOverlay .day-panel{padding:0 3px calc(8px + env(safe-area-inset-bottom))}}
@media(max-width:350px){#dayOverlay .day-screen-header{gap:4px}#dayOverlay .day-screen-header h2{font-size:11px}#dayOverlay .day-screen-actions{gap:2px}#dayOverlay .day-actions-control{width:151px;height:30.7px;gap:1px}#dayOverlay .day-actions-control>button,#dayOverlay .day-actions-control>.day-add-delete-control{height:28.8px;flex-basis:37px}#dayOverlay .day-actions-control>.day-add-delete-control{flex-basis:75px;width:75px}}

.day-delete-confirm{position:fixed;inset:0;z-index:40;display:grid;place-items:center;overflow:auto;padding:calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));background:rgba(0,0,0,.78);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility .16s ease}
.day-delete-confirm.open{opacity:1;visibility:visible;pointer-events:auto}
.day-delete-confirm-card{width:min(350px,100%);max-height:calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;padding:21px 19px 16px;border:1px solid #35473c;border-radius:10px;background:linear-gradient(160deg,#151b17,#090c0a);color:#f3f3ef;box-shadow:0 14px 42px #000c,inset 0 1px 0 #ffffff12}
.day-delete-confirm-card p{margin:0;text-align:center;font:500 15px/1.45 'DM Sans',sans-serif;color:#f1f1ec}
.day-delete-confirm-actions{display:flex;justify-content:center;gap:10px;margin-top:20px}
.day-delete-confirm-actions button{min-width:84px;height:38px;padding:0 16px;border:1px solid #35473c;border-radius:7px;background:#111713;color:#cdd2cc;font:600 13px 'DM Sans',sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.day-delete-confirm-actions button:focus-visible{outline:2px solid #d1a667;outline-offset:2px}
.day-delete-confirm-actions .day-delete-accept{border-color:#987644;background:linear-gradient(160deg,#d0a45e,#ad8245);color:#15120d}
.day-delete-confirm-actions button:active{transform:translateY(1px)}

/* Appointment cards use the same curved shading and soft rim in every view. */
body #weekDays.is-day-appointments>.day-inline-expansion>#dayAppointments.is-day-appointments>.day-commitment-slot,
body.inline-day-active #dayAppointments.is-day-appointments>.day-commitment-slot,
#dayOverlay .day-panel-content.is-day-appointments>.day-commitment-slot{border:.15px solid #15191e!important;border-top:.5px solid #24282b!important;border-left-width:.15px!important;border-right-width:.15px!important;border-radius:6.3px!important;background:#070a10 url("./assets/appointment-surface.png")!important;background-size:100% 100%!important;background-repeat:no-repeat!important;box-shadow:0 3.5px 2.5px rgba(0,0,0,.52),inset 0 .75px 0 rgba(255,255,255,.12),inset 0 1px 2px rgba(255,255,255,.0175),inset 0 -.5px 0 rgba(0,0,0,.1),inset 0 -1.5px 3px rgba(0,0,0,.33)!important}
#dayOverlay .day-panel-content.is-day-appointments>.day-commitment-slot::before,
#dayOverlay .day-panel-content.is-day-appointments>.day-commitment-slot::after{content:none!important;display:none!important}
