.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{height:64px;padding:0 32px}
.brand{font-size:16px;gap:13px}.brand strong{font-size:15px}
.header-actions{gap:18px}.timezone{font-size:11px;letter-spacing:.3px}
.workspace{padding:24px 32px;max-width:1680px}
.page-heading{margin-bottom:24px;align-items:center}
.page-heading h1{font-size:24px;font-weight:600;letter-spacing:-.8px}
.page-heading .eyebrow{font-size:11px;margin-bottom:4px;font-variant-numeric:tabular-nums}
.planner-layout{grid-template-columns:208px minmax(0,1fr);gap:24px}
.planner{border-radius:12px}
.calendar-toolbar{min-height:60px;padding:12px 16px}
.week-navigation h2{font-size:16px;font-weight:590;margin-left:6px}
.week-badge{border:0;background:var(--soft);padding:4px 7px;font-size:10px}
.calendar-options{gap:8px}
.day-heading{height:64px;gap:3px}.day-heading .day-number{font-size:17px;font-weight:520}
.time-scroll{height:clamp(360px,calc(100dvh - 318px),760px);min-height:360px}
.section-top{margin-bottom:12px}.section-top h2{font-size:12px;font-weight:580}
.mini-section{padding-bottom:22px}.mini-day{height:28px}
.week-summary,.routine-section,.note-section{padding-top:18px;margin-bottom:20px}
.summary-row{margin:10px 0;font-size:11px}.summary-row strong{font-weight:540}
.routine-list{gap:10px}.routine-copy strong{font-weight:520}
.note-section textarea{background:white;border:1px solid var(--line);border-radius:8px;padding:10px;min-height:92px;font-size:12px}
.note-footer{justify-content:flex-end;padding:4px 0 0}
.status-text{min-height:0;font-size:10px}.status-text:empty{display:none}
.empty-small{font-size:11px;color:var(--muted)}
.guest-mode .week-summary,.guest-mode .routine-section,.guest-mode .note-section{display:none}
.dialog-header{padding:22px 24px 18px;align-items:center}
.dialog-header h2{font-size:19px;font-weight:600}
.dialog-header .icon-button{margin-top:0}
.dialog-description{font-size:12px;line-height:1.7}
.dialog .title-label input{font-size:16px;height:46px}
.dialog .dialog-body>fieldset{margin-top:18px}
.dialog-footer{padding:14px 24px}
.overlap-hint{background:transparent;padding:0;color:#826637;border-radius:0}
.auth-dialog .dialog-body>label:first-child:not([hidden]){margin-top:0}
.auth-dialog .full-width{margin-top:20px}.auth-switch{margin-top:10px}
.share-scope{background:var(--bg);padding:14px;border-radius:8px}
.share-scope p{font-size:11px}.share-buttons{justify-content:space-between}
.other-shares{margin-top:22px;padding-top:16px}
.tool-row{padding:12px 8px;gap:10px}
.tool-row>span{display:flex;align-items:center;gap:8px}
.tool-row small{display:inline;margin:0}
#account-dialog .full-width{margin-top:24px}
@media(min-width:1700px){.site-header{padding-left:max(32px,calc((100vw - 1616px)/2));padding-right:max(32px,calc((100vw - 1616px)/2))}}
@media(max-width:1200px){.workspace{padding:24px}.site-header{padding:0 24px}.planner-layout{grid-template-columns:180px minmax(0,1fr);gap:22px}.calendar-toolbar{padding:12px}.week-navigation h2{font-size:15px}.calendar-options{gap:6px}}
@media(max-width:1000px){.planner-layout{grid-template-columns:minmax(0,1fr);gap:24px}.sidebar{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.week-summary,.routine-section,.note-section{padding-top:0;margin-bottom:0}.week-summary,.routine-section{padding-right:20px}.guest-mode .sidebar{display:none}.note-section textarea{min-height:82px}.time-scroll{height:clamp(360px,calc(100dvh - 310px),680px)}}
@media(max-width:640px){.site-header{height:60px;padding:0 16px}.brand{font-size:14px;gap:11px}.brand strong{font-size:13px}.workspace{padding:20px 16px 24px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:21px;letter-spacing:-.6px}.page-heading .eyebrow{font-size:10px;margin-bottom:3px}.planner{border-radius:10px}.calendar-toolbar{min-height:58px;padding:10px 8px;gap:4px}.week-navigation h2{font-size:13px;margin-left:4px}.week-badge{display:inline-flex;margin-left:6px;font-size:9px;padding:3px 5px}.calendar-options{gap:3px}.mobile-days{padding:0 7px 9px}.mobile-day{padding:5px 0;gap:4px}.mobile-day strong{font-size:14px}.time-scroll{height:clamp(360px,calc(100dvh - 296px),680px)}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0 2px}.week-summary{padding-right:20px}.routine-section{padding-right:0}.note-section{padding-top:18px}.dialog-header{padding:20px 20px 16px}.dialog-header h2{font-size:19px}.dialog-footer{padding:14px 20px calc(14px + env(safe-area-inset-bottom))}.dialog .title-label input{font-size:16px}.dialog .dialog-body>fieldset{margin-top:18px}.shared-mode .week-summary{margin-top:0}}
@media(max-width:360px){.site-header{padding:0 12px}.brand{gap:8px;font-size:13px}.brand strong{font-size:12px}.workspace{padding:18px 10px 22px}.page-heading h1{font-size:20px}.calendar-toolbar{flex-wrap:nowrap;padding:10px 6px}.week-navigation h2{font-size:12px}.week-navigation>.icon-button{width:21px}.week-badge{margin-left:4px;padding:3px 4px;font-size:8px}.calendar-options{gap:2px}.calendar-options>.icon-button{width:22px}.view-toggle button{width:23px}.calendar-options .compact{padding:0 5px;font-size:9px}}
@media print{.site-header{padding:0}.workspace{padding:20px 0}.page-heading h1{font-size:24px}.planner-layout{display:block}.planner{border:0}}

.auth-dialog .dialog-body>#name-label[hidden]+label{margin-top:0}
.dialog input:focus-visible,.dialog textarea:focus-visible,.dialog select:focus-visible{outline:none;border-color:var(--text);box-shadow:0 0 0 1px var(--text)}
