/* The shared shell and color themes live in shell.css. These rules belong to the team planner. */
.planner-page main :is(h1,h2,h3,p){margin:0}.planner-page main :is(h1,h2,h3){font-family:var(--heading)}
.planner-page{--paper:var(--surface,#191b1d);--green:var(--brand,#c3f078);--font:DM,system-ui,sans-serif;--heading:Manrope,DM,sans-serif}
.planner-page .hero{display:block;padding:0 0 24px;max-width:780px}
.planner-page .hero h1{font-size:32px;line-height:1.2;letter-spacing:-1px;margin:0 0 8px}
.planner-page .hero-description{color:var(--text-secondary);font-size:15px;line-height:1.7}
.planner-page .hero-trust{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px;font-size:12px;color:var(--text-secondary)}
.planner-page .season-banner{display:flex;align-items:center;gap:12px;padding:14px 17px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#191b1d);color:var(--text-secondary);font-size:13px;line-height:1.6;margin-bottom:22px}
.planner-page .season-banner strong{color:var(--ink);font-weight:600}.planner-page .banner-icon{font-size:23px;color:var(--brand)}.planner-page .season-banner a{margin-left:auto;white-space:nowrap;font-size:12px}
.planner-page .workspace{margin:0;border:1px solid var(--line);border-radius:14px;background:var(--surface,#191b1d);overflow:hidden;box-shadow:none}
.planner-page .workspace-top{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:0 24px;border-bottom:1px solid var(--line);gap:12px}
.planner-page .tabs{display:flex;gap:24px;align-self:stretch}.planner-page .tabs button{border:0;border-bottom:2px solid transparent;background:none;color:var(--text-secondary);font-size:13px;font-weight:600;padding:16px 0}
.planner-page .tabs button[aria-selected=true]{border-bottom-color:var(--brand);color:var(--ink)}
.planner-page .text-button{border:0;background:none;color:var(--brand);font-size:12px;font-weight:600;padding:9px 0;white-space:nowrap}
.planner-page .planner-layout{display:grid;grid-template-columns:292px minmax(0,1fr)}
.planner-page .setup{padding:25px 20px;border-right:1px solid var(--line);background:var(--bg);min-width:0}
.planner-page .section-heading{display:flex;gap:10px;align-items:flex-start;margin-bottom:20px}.planner-page .step{width:26px;height:26px;flex:none;border:1px solid var(--line);border-radius:7px;display:grid;place-items:center;font-size:11px;color:var(--brand);background:var(--surface,#191b1d)}
.planner-page .section-heading h2{font-size:15px;letter-spacing:-.3px;line-height:1.5}.planner-page .section-heading p{font-size:12px;color:var(--text-secondary);line-height:1.6;margin-top:3px}
.planner-page .participant{padding:12px;background:var(--surface,#191b1d);border:1px solid var(--line);border-radius:9px;margin-bottom:10px}
.planner-page .participant-top{display:flex;align-items:center;gap:8px}.planner-page .city-letter{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;flex:none;background:var(--raised,#202326);font-size:10px;font-weight:600;color:var(--text-secondary)}
.planner-page .participant-name{flex:1;min-width:0}.planner-page .participant-name strong{display:block;font-size:13px}.planner-page .participant-name small{display:block;margin-top:3px;word-break:break-word;color:var(--text-secondary);font-size:10px;line-height:1.4}.planner-page .fixed-tag{font-size:9px;letter-spacing:.3px;padding:4px 5px;border:1px solid var(--line);border-radius:4px;color:var(--brand)}
.planner-page .remove-zone,.planner-page .dialog-header .icon-button{display:grid;place-items:center;background:none;border:0;color:var(--text-secondary);padding:0;min-width:30px;min-height:36px;font-size:23px;flex:none}
.planner-page .hours-row{display:flex;align-items:center;gap:5px;margin-top:12px;color:var(--text-secondary);font-size:11px}.planner-page .hours-row>span:first-child{margin-right:auto}.planner-page .hours-row select{width:65px;min-height:33px;padding:5px 4px;font-size:11px;border-radius:5px}
.planner-page .add-zone{width:100%;padding:12px 10px;border:1px dashed var(--line);border-radius:8px;background:none;color:var(--brand);font-size:12px;text-align:left;min-height:44px}.planner-page .add-zone>span{float:right;color:var(--text-secondary);font-size:11px}
.planner-page .setup-divider{height:1px;background:var(--line);margin:25px 0}.planner-page .setup label,.planner-page .audit-layout label{display:block;font-size:12px;font-weight:600;margin:0 0 16px;color:var(--ink)}
.planner-page input,.planner-page select{width:100%;min-width:0;min-height:42px;padding:10px;border:1px solid var(--control-line);border-radius:7px;background:var(--surface,#191b1d);color:var(--ink);font:inherit;font-size:13px}
.planner-page label>input,.planner-page label>select{display:block;margin-top:7px}.planner-page .field-help{font-size:12px;color:var(--text-secondary);line-height:1.6;font-weight:400;display:block;margin-top:7px}
.planner-page .input-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.planner-page .input-grid input{padding-left:7px;padding-right:4px;font-size:12px}
.planner-page .privacy-note{display:flex;gap:8px;color:var(--text-secondary);font-size:12px;line-height:1.7;margin-top:24px}.planner-page .privacy-note>span{font-size:18px;color:var(--brand)}
.planner-page .results{min-width:0;padding:25px 24px}.planner-page .results-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.planner-page .results-heading .eyebrow{font-size:10px;letter-spacing:1.3px}.planner-page .results-heading h2{font-size:21px;letter-spacing:-.6px;overflow-wrap:anywhere}
.planner-page .format-switch{display:flex;flex:none;gap:2px;padding:3px;border:1px solid var(--line);border-radius:7px}.planner-page .format-switch button{font-size:11px;min-height:32px;padding:6px 8px;border:0;border-radius:5px;background:none;color:var(--text-secondary)}.planner-page .format-switch button[aria-pressed=true]{color:var(--ink);background:var(--raised,#202326)}
.planner-page .meeting-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(137px,1fr));gap:10px}.planner-page .time-card{padding:16px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);min-width:0}.planner-page .time-card.is-anchor{border-color:var(--brand);background:var(--soft)}
.planner-page .time-card-header{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:15px;color:var(--text-secondary);font-size:12px}.planner-page .tiny-tag{font-size:9px;color:var(--brand);white-space:nowrap}.planner-page .big-time{font:700 24px/1.2 var(--heading);letter-spacing:-1px;white-space:nowrap}.planner-page .time-card .date{font-size:11px;color:var(--text-secondary);margin-top:7px;line-height:1.5}.planner-page .hours-status{margin-top:14px;font-size:11px;color:var(--success);line-height:1.4}.planner-page .hours-status.outside{color:var(--amber,#edbe78)}
.planner-page .shift-alert{display:flex;gap:11px;margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:9px;background:var(--amber-bg,#30271b);color:var(--amber,#edbe78);font-size:12px;line-height:1.7}.planner-page .shift-alert>span{font-size:20px;line-height:1.4}.planner-page .shift-alert strong{display:block;font-size:13px;margin-bottom:3px;font-weight:600}.planner-page .shift-alert.calm{background:var(--success-bg);color:var(--success)}
.planner-page .overlap-section{padding:25px 0;border-bottom:1px solid var(--line)}.planner-page .subheading{display:flex;align-items:center;justify-content:space-between;gap:12px}.planner-page h3{font-size:14px;letter-spacing:-.2px}.planner-page .subheading p,.planner-page .schedule-top p{font-size:12px;color:var(--text-secondary);line-height:1.6;margin-top:5px}
.planner-page .suggestion-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:15px}.planner-page .suggestion{border:1px solid var(--line);border-radius:8px;padding:13px;background:var(--bg);color:var(--ink);text-align:left}.planner-page .suggestion:hover{border-color:var(--brand)}.planner-page .suggestion strong{font-size:16px;display:block}.planner-page .suggestion span{display:block;font-size:11px;color:var(--text-secondary);line-height:1.5;margin-top:6px}.planner-page .suggestion .score{color:var(--brand)}.planner-page .suggestion-detail{font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:12px}
.planner-page .schedule-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 15px}.planner-page .toggle-label{display:flex;align-items:center;gap:7px;color:var(--text-secondary);font-size:12px;font-weight:400;white-space:nowrap;margin:0}.planner-page .toggle-label input{appearance:auto;accent-color:var(--brand);margin:0;min-height:0;width:15px;height:15px}
.planner-page .table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.planner-page table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}.planner-page thead{background:var(--raised,#202326);color:var(--text-secondary);font-size:11px}.planner-page th,.planner-page td{padding:13px 12px;vertical-align:top;text-align:left;border:0}.planner-page th{font-weight:600}.planner-page td{border-top:1px solid var(--line);color:var(--ink);font-variant-numeric:tabular-nums}.planner-page td:first-child{font-size:12px;color:var(--text-secondary)}.planner-page tr.change-row td{background:var(--amber-bg,#30271b)}.planner-page .table-shift{display:block;color:var(--amber,#edbe78);font-size:11px;margin-top:5px}.planner-page .next-day{color:var(--text-secondary);font-size:10px;margin-left:4px}.planner-page .day-label{font-size:10px;color:var(--text-secondary);margin-top:3px}.planner-page .show-more{display:block;margin:12px auto 0;border:0;background:none;color:var(--brand);font-size:12px;padding:8px}.planner-page .empty-table{padding:24px;text-align:center;font-size:13px;color:var(--text-secondary)}
.planner-page .export-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:23px}.planner-page .export-bar strong{display:block;font-size:14px;font-weight:600}.planner-page .export-bar>div>span{display:block;font-size:12px;color:var(--text-secondary);line-height:1.6;margin-top:4px}.planner-page .export-actions{display:flex;gap:8px;flex-wrap:wrap}.planner-page .primary-button,.planner-page .secondary-button{min-height:42px;padding:10px 13px;border:1px solid var(--line);border-radius:7px;font:600 12px var(--font);white-space:nowrap}.planner-page .primary-button{background:var(--brand);border-color:var(--brand);color:var(--brand-ink,#17200f)}.planner-page .secondary-button{background:var(--surface,#191b1d);color:var(--ink)}.planner-page .export-note{font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:12px}.planner-page .secondary-actions{display:flex;flex-wrap:wrap;gap:20px;margin-top:7px}
.planner-page .how-section{padding:42px 0;display:block}.planner-page .how-section>div:first-child{margin-bottom:24px}.planner-page .how-section h2{font-size:24px;letter-spacing:-.7px;line-height:1.4;margin-top:10px}.planner-page .how-section h2 br{display:none}.planner-page .how-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.planner-page .how-cards article{border-top:1px solid var(--line);padding-top:18px}.planner-page .how-cards article>span{font-size:10px;letter-spacing:1px;color:var(--text-secondary)}.planner-page .how-cards h3{font-size:14px;margin-top:13px}.planner-page .how-cards p{font-size:13px;color:var(--text-secondary);line-height:1.8;margin-top:9px}
.planner-page .faq-section{display:grid;grid-template-columns:1fr 2fr;gap:32px;border-top:1px solid var(--line);padding:32px 0;margin:0 0 28px}.planner-page .faq-section h2{font-size:23px;letter-spacing:-.7px}.planner-page .faq-section details{padding:0 0 17px;margin-bottom:17px;border-bottom:1px solid var(--line)}.planner-page .faq-section summary{font-size:14px}.planner-page .faq-section p{font-size:13px;color:var(--text-secondary);line-height:1.8;margin-top:12px}
.planner-page .audit-layout{display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:32px;padding:28px}.planner-page .audit-layout h2{font-size:30px;line-height:1.25;letter-spacing:-1px;margin-top:14px}.planner-page .audit-layout>div>p:not(.eyebrow){font-size:13px;line-height:1.8;color:var(--text-secondary);margin:16px 0 22px}.planner-page .file-drop{display:flex!important;flex-direction:column;align-items:center;gap:6px;padding:23px 15px;border:1px dashed var(--line);border-radius:10px;background:var(--bg);text-align:center;cursor:pointer}.planner-page .file-drop .upload-icon{font-size:30px;color:var(--brand)}.planner-page .file-drop strong{font-size:14px}.planner-page .file-drop>span:last-of-type{font-size:12px;color:var(--text-secondary)}.planner-page .file-drop input{font-size:12px;margin-top:12px;max-width:100%;background:none;border:none;padding:7px 0}.planner-page .file-drop .field-help{font-size:12px}
.planner-page .audit-results{min-width:0}.planner-page .audit-layout details{border-top:1px solid var(--line);padding:15px 0;font-size:13px;color:var(--ink);line-height:1.7}.planner-page .audit-layout details p{margin-top:10px;font-size:12px;color:var(--text-secondary)}.planner-page .audit-empty{min-height:450px;border:1px solid var(--line);border-radius:12px;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px}.planner-page .audit-empty>span{font-size:48px;color:var(--brand);margin-bottom:18px}.planner-page .audit-empty h3{font-size:18px;letter-spacing:-.4px}.planner-page .audit-empty p{font-size:13px;color:var(--text-secondary);line-height:1.8;max-width:300px;margin-top:12px}.planner-page .empty-pills{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:24px}.planner-page .empty-pills span{border:1px solid var(--line);border-radius:20px;padding:7px 9px;font-size:11px;color:var(--text-secondary)}
.planner-page .audit-stat{padding:21px;background:var(--soft);border:1px solid var(--line);border-radius:10px;margin-bottom:18px}.planner-page .audit-stat strong{display:block;font:700 25px var(--heading);letter-spacing:-.6px}.planner-page .audit-stat p{font-size:12px;line-height:1.7;color:var(--text-secondary);margin-top:9px}.planner-page .audit-event{padding:18px 0;border-bottom:1px solid var(--line)}.planner-page .audit-event h3{font-size:14px;overflow-wrap:anywhere}.planner-page .audit-event p{font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:6px}.planner-page .audit-change{background:var(--amber-bg,#30271b);color:var(--amber,#edbe78);border-radius:6px;padding:10px 12px;font-size:12px;line-height:1.7;margin-top:9px}.planner-page .audit-skipped{border:1px solid var(--line);border-radius:8px;padding:15px!important;margin-top:20px;color:var(--amber,#edbe78)!important}.planner-page .audit-skipped ul{padding-left:17px;overflow-wrap:anywhere}.planner-page .status-line{font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:13px}.planner-page .audit-loading{padding:40px;text-align:center;color:var(--brand)}
.planner-page .error-box{padding:15px;border:1px solid var(--line);background:var(--danger-bg);color:var(--danger);border-radius:8px;font-size:13px;line-height:1.7;margin-bottom:16px}
.planner-page .toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);background:var(--surface,#191b1d);color:var(--ink);border:1px solid var(--line);padding:14px 20px;border-radius:9px;font-size:13px;box-shadow:0 8px 30px #0004;z-index:100;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:90vw}.planner-page .toast.visible{opacity:1;transform:translate(-50%,0)}
.planner-page dialog:not(.menu-dialog){background:var(--surface,#191b1d);border:1px solid var(--line);color:var(--ink);width:480px;max-width:calc(100% - 30px);max-height:85vh;padding:25px;border-radius:13px}.planner-page .dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.planner-page .dialog-header h2{font-size:22px;letter-spacing:-.6px}.planner-page dialog>label{font-size:12px;color:var(--text-secondary);display:block;margin-bottom:8px}.planner-page dialog>p{font-size:13px;line-height:1.8;color:var(--text-secondary);margin-bottom:18px}.planner-page dialog .primary-button{margin-top:15px}.planner-page .zone-options{max-height:350px;overflow-y:auto;margin-top:15px}.planner-page .zone-option{display:flex;align-items:center;justify-content:space-between;width:100%;gap:10px;background:none;border:0;border-bottom:1px solid var(--line);padding:13px 8px;text-align:left;color:var(--ink)}.planner-page .zone-option strong{display:block;font-size:14px}.planner-page .zone-option small{display:block;font-size:11px;color:var(--text-secondary);margin-top:4px}.planner-page .zone-option>span:last-child{color:var(--brand);font-size:20px}.planner-page .text-link{color:var(--brand)}
@media(max-width:1150px){.planner-page .planner-layout{grid-template-columns:270px minmax(0,1fr)}.planner-page .results{padding:25px 19px}.planner-page .setup{padding:25px 16px}.planner-page .meeting-cards{grid-template-columns:1fr 1fr}.planner-page .time-card:last-child:nth-child(odd){grid-column:1/-1}.planner-page .audit-layout{gap:24px;padding:24px;grid-template-columns:minmax(230px,300px) minmax(0,1fr)}}
@media(max-width:850px){.planner-page .planner-layout,.planner-page .audit-layout{grid-template-columns:1fr}.planner-page .setup{border-right:0;border-bottom:1px solid var(--line);padding:24px}.planner-page .results{padding:24px}.planner-page #participants{display:grid;grid-template-columns:1fr 1fr;gap:10px}.planner-page .participant{margin:0}.planner-page .add-zone{margin-top:12px}.planner-page .meeting-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.planner-page .time-card:last-child:nth-child(odd){grid-column:auto}.planner-page .audit-empty{min-height:300px}.planner-page .season-banner a{display:none}}
@media(max-width:600px){.planner-page .hero{padding:0 0 24px}.planner-page .hero h1{font-size:32px;letter-spacing:-1px}.planner-page .hero-description{font-size:14px}.planner-page .hero-trust{font-size:11px;gap:12px}.planner-page .season-banner{font-size:12px;padding:13px}.planner-page .workspace-top{padding:0 16px;gap:8px;align-items:flex-start;flex-wrap:wrap}.planner-page .tabs{gap:20px;min-height:54px}.planner-page .tabs button{font-size:12px}.planner-page #reset-plan{padding:0 0 14px}.planner-page .setup,.planner-page .results,.planner-page .audit-layout{padding:22px 17px}.planner-page #participants{grid-template-columns:1fr}.planner-page .participant{padding:13px}.planner-page .participant-name small{font-size:11px}.planner-page .hours-row select{min-height:38px;width:72px;font-size:14px}.planner-page .hours-row{font-size:12px}.planner-page .setup input,.planner-page .setup select,.planner-page .audit-layout input,.planner-page .audit-layout select,.planner-page dialog input{font-size:16px;min-height:44px}.planner-page .hours-row select{font-size:13px}.planner-page .setup .input-grid input{font-size:15px}.planner-page .meeting-cards{grid-template-columns:1fr 1fr}.planner-page .time-card:last-child:nth-child(odd){grid-column:1/-1}.planner-page .time-card .big-time{font-size:24px}.planner-page .results-heading h2{font-size:19px}.planner-page .format-switch button{min-height:36px}.planner-page .suggestion-list{grid-template-columns:1fr}.planner-page .suggestion{display:grid;grid-template-columns:1fr 1fr;column-gap:15px}.planner-page .suggestion .score{grid-column:1/-1}.planner-page .schedule-top{align-items:flex-start;flex-direction:column}.planner-page .toggle-label{min-height:32px}.planner-page .export-bar{padding:16px}.planner-page .export-actions{width:100%}.planner-page .export-actions button{flex:1}.planner-page .how-section{padding:34px 0}.planner-page .how-cards,.planner-page .faq-section{grid-template-columns:1fr;gap:22px}.planner-page .faq-section h2{font-size:22px}.planner-page .how-section .eyebrow{font-size:9px}.planner-page .audit-layout h2{font-size:28px}.planner-page .audit-stat strong{font-size:23px}.planner-page .secondary-actions{gap:16px}.planner-page table{display:table;min-width:400px}.planner-page thead{display:table-header-group;position:static;width:auto;height:auto;overflow:visible;clip:auto;clip-path:none}.planner-page tbody{display:table-row-group}.planner-page tr{display:table-row;border:0;margin:0}.planner-page td{display:table-cell}.planner-page td:first-child{display:table-cell;background:none;padding:13px 12px}.planner-page td:first-child strong,.planner-page td:first-child small{display:initial}.planner-page .table-wrap{overflow-x:auto}}
@media(prefers-reduced-motion:reduce){.planner-page .toast{transition:none}}

.planner-page .eyebrow{font-size:10px;font-weight:700;letter-spacing:1.3px;color:var(--text-secondary)}.planner-page .audit-layout summary,.planner-page .faq-section summary{cursor:pointer}.planner-page .hero-description br{display:none}

.planner-page .planner-help{margin:24px 0 32px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}.planner-page .planner-help>summary{padding:17px 20px;cursor:pointer;font-size:13px;font-weight:600;color:var(--text-secondary)}.planner-page .help-content{padding:4px 20px 20px;max-width:850px}.planner-page .help-content h2{font-size:17px;margin:8px 0}.planner-page .help-content p{font-size:13px;line-height:1.8;color:var(--text-secondary);margin:10px 0}.planner-page .help-content .season-banner{margin:18px 0}.planner-page .help-content .season-banner a{display:none}.planner-page .help-content details{padding:14px 0;border-top:1px solid var(--line)}.planner-page .help-content summary{font-size:13px;cursor:pointer}.planner-page .audit-empty{min-height:350px}.planner-page .export-bar{padding:0}.planner-page .section-heading{margin-bottom:16px}.planner-page .setup-divider{margin:22px 0}

.planner-page .primary-button:hover{background:var(--brand-hover);border-color:var(--brand-hover)}

/* Planner uses the same compact editor and controls as the call checker. */
.planner-page .tabs{flex-direction:row;gap:22px;width:auto;flex-wrap:nowrap}
.planner-page .workspace-top{min-height:54px}
.planner-page .planner-editor{min-width:0;background:var(--bg);border-right:1px solid var(--line)}
.planner-page .planner-editor>.setup{border:0}
.planner-page .planner-editor>summary{display:none}
.planner-page .mobile-plan-action{display:none}
.planner-page #planner-results,.planner-page #audit-results{scroll-margin-top:80px}
.planner-page .audit-baseline{margin:-6px 0 16px}
.planner-page .file-drop{gap:8px;padding:26px 16px;border-color:var(--control-line)}
.planner-page .file-drop .icon{color:var(--brand);width:28px;height:28px;margin-bottom:4px}
.planner-page .file-drop span{font-weight:400}
.planner-page .audit-empty{min-height:280px}
.planner-page .audit-empty>.icon{width:34px;height:34px;color:var(--brand);margin-bottom:18px}
.planner-page .audit-empty h3{font-size:18px}
.planner-page .audit-layout details>summary{min-height:40px;display:flex;align-items:center;gap:8px;cursor:pointer}
.planner-page .privacy-note{margin:14px 0 20px}
.planner-page .results-heading h2{font-size:20px}
.planner-page dialog:not(.menu-dialog){margin:auto;overflow-y:auto;max-height:calc(100dvh - 40px);border-radius:16px;box-shadow:0 24px 80px var(--modal-shadow)}
.planner-page .dialog-header .icon-button{min-width:44px;min-height:44px}
.planner-page .primary-button,.planner-page .secondary-button{min-height:44px;border-radius:8px;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.planner-page .primary-button{background:var(--brand);color:var(--brand-ink)}
@media(max-width:850px){
 .planner-page .planner-editor{border:0;border-bottom:1px solid var(--line)}
 .planner-page .planner-editor>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:16px 18px;cursor:pointer}
 .planner-page .planner-editor>summary::-webkit-details-marker{display:none}
 .planner-page .planner-editor>summary>span:first-child{min-width:0}
 .planner-page .planner-editor>summary strong{font-size:15px;font-weight:600}
 .planner-page .editor-summary{display:block;font-size:12px;color:var(--text-secondary);line-height:1.6;margin-top:4px;overflow-wrap:anywhere}
 .planner-page .edit-label{color:var(--brand);border:1px solid var(--control-line);background:var(--surface);border-radius:7px;font-size:12px;font-weight:600;padding:9px 10px;min-height:40px;flex:none}
 .planner-page .planner-editor[open] .edit-label{display:none}
 .planner-page .planner-editor[open] .editor-summary{display:none}
 .planner-page .mobile-plan-action{display:flex;width:100%;margin-top:12px;justify-content:space-between}
 .planner-page .planner-editor>.setup{padding-top:6px}
}
@media(max-width:600px){
 .planner-page .hero{padding-bottom:18px}.planner-page .hero h1{font-size:27px}.planner-page .hero-description{font-size:13px}
 .planner-page .workspace-top{flex-wrap:nowrap;align-items:stretch;padding:0 14px;gap:10px;min-height:52px}
 .planner-page .tabs{gap:18px;min-height:52px}.planner-page .tabs button{font-size:12px;padding:12px 0;white-space:nowrap}
 .planner-page #reset-plan{padding:0;align-self:center;min-height:44px;font-size:11px;margin-left:auto}
 .planner-page .setup,.planner-page .results,.planner-page .audit-layout{padding:20px 17px}
 .planner-page .remove-zone{min-width:44px;min-height:44px}
 .planner-page .format-switch button{min-height:44px;min-width:44px}
 .planner-page .time-card-header{margin-bottom:10px;flex-wrap:wrap}
 .planner-page .time-card .big-time{font-size:26px}
 .planner-page .meeting-cards{grid-template-columns:1fr}
 .planner-page .time-card{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;row-gap:4px;align-items:center;padding:14px}
 .planner-page .time-card .time-card-header{grid-column:1;grid-row:1;margin:0;justify-content:flex-start;gap:8px;color:var(--ink);font-weight:600}
 .planner-page .time-card .big-time{grid-column:2;grid-row:1/3;text-align:right}
 .planner-page .time-card .date{grid-column:1;grid-row:2;margin:0}
 .planner-page .time-card .hours-status{grid-column:1/-1;margin-top:4px}
 .planner-page .shift-alert{padding:12px;font-size:12px}
 .planner-page .text-button,.planner-page .show-more{min-height:44px}
 .planner-page .overlap-section{padding:14px 0}
 .planner-page .schedule-top{margin-top:18px;gap:8px}
 .planner-page .toggle-label{min-height:44px}
 .planner-page .toggle-label input{width:18px;height:18px}
 .planner-page .table-wrap{overscroll-behavior-x:contain}
 .planner-page .export-actions{flex-wrap:wrap;gap:8px}
 .planner-page .export-actions button{min-width:120px}
 .planner-page .secondary-actions{flex-wrap:wrap;gap:12px}
 .planner-page .audit-layout{gap:22px}
 .planner-page #demo-audit{width:100%;min-height:46px}
 .planner-page .audit-empty{min-height:180px;padding:22px}
 .planner-page dialog:not(.menu-dialog){width:calc(100% - 24px);max-width:none;padding:20px;max-height:calc(100dvh - 24px);border-radius:14px}
 .planner-page .zone-option{min-height:60px}
 .planner-page .setup .input-grid input{font-size:16px}
 .planner-page .audit-stat{padding:16px}.planner-page .audit-stat strong{font-size:21px}
}
@media(max-width:360px){
 .planner-page .input-grid{grid-template-columns:1fr}
 .planner-page .workspace-top{padding:0 12px;gap:8px}.planner-page .tabs{gap:14px}
 .planner-page #reset-plan{font-size:10px}
 .planner-page .time-card .big-time{font-size:23px}
 .planner-page .results-heading{align-items:flex-start;gap:8px}.planner-page .results-heading h2{font-size:18px}
}

.planner-page .dialog-status{color:var(--brand);font-size:13px;margin:12px 0 0}

.planner-page .audit-edit{display:none}@media(max-width:850px){.planner-page .audit-edit{display:inline-flex;align-items:center;margin-bottom:12px;min-height:44px}}
