/* C-only refinements using existing ARK tokens and material styles. */
.store-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.store-brand{display:flex;align-items:center;gap:10px;min-width:0}.store-brand h1{font-size:20px}.store-brand p{font-size:13px;color:var(--muted)}.store-avatar{display:block;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background-image:url('assets/store-avatar-source.png');background-size:48px 48px;background-position:0 0;background-repeat:no-repeat}.store-header .role-switch{width:132px;flex-shrink:0}.store-header .role-switch button{padding:4px;min-height:38px;font-size:14px}.store-meta{padding-left:0;flex-wrap:wrap;margin-top:0}.app-footer{display:flex;gap:12px;align-items:center;justify-content:center}.app-footer img{width:64px;max-height:30px;object-fit:contain}.reception-toolbar{display:flex;align-items:center;gap:16px;justify-content:space-between}.reception-toolbar .view-tabs{flex:1}.reception-summary p{margin:6px 0;font-size:14px}.reception-summary small{line-height:1.7}.reception-card{min-width:0}.record-actions{flex-wrap:wrap;align-items:center}.record-actions .ark-action-button{min-width:130px;margin-top:10px}.card-details>summary,.audit>summary,.history>summary,.late-list>summary,.reception-modal details>summary{padding:10px 0;cursor:pointer;min-height:40px;color:var(--action-ink)}.history .panel,.late-list .panel{margin-top:12px}.reception-modal .ark-action-button{margin-top:14px}.reception-modal p{margin:10px 0}.reception-modal .field{margin-top:12px}.reception-modal{overflow-wrap:anywhere;min-width:0}.reception-modal input[type=checkbox]{width:20px;height:20px;flex-shrink:0}.fact-label{display:flex;align-items:flex-start;gap:8px;font-size:13px;margin-top:14px}.extra-quick{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.conflict,.danger{color:var(--error)!important}.conflict{font-size:13px;line-height:1.7}.persistence-warning{margin:12px 16px}.timeline-group{display:grid;grid-template-columns:45px minmax(0,1fr);gap:10px}.timeline-group>h2{font-size:14px;border-right:1px solid var(--line);padding-right:5px}.timeline-items,.timeline-item{min-width:0}.timeline-item+.timeline-item{margin-top:12px}.timeline-item .panel{padding:14px}.timeline-item .record-top{flex-wrap:wrap}.timeline-item h3{font-size:16px}.timeline-item .record-actions{display:grid;grid-template-columns:1fr}.timeline-item .record-actions .ark-action-button{min-width:0}.timeline-item .outline-button{width:100%}.audit pre{max-width:100%;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:var(--soft);padding:10px;border-radius:10px}.audit ol{padding-left:18px;font-size:13px}.audit li{margin:10px 0}.occupancy-tools{display:grid;gap:12px}.app-shell,main,.panel,.field,.summary,.notice{min-width:0;overflow-wrap:anywhere}.reception-modal input,.reception-modal select{max-width:100%}button{max-width:100%}@media(max-width:350px){.store-header{padding:14px 12px;gap:8px}.store-brand{gap:7px}.store-brand h1{font-size:18px}.store-header .role-switch{width:112px}.store-avatar{flex-basis:42px;width:42px;height:42px;background-size:42px 42px;background-position:0 0}.overlay{padding:10px}.reception-modal{padding:16px;max-height:calc(100dvh - 20px)}.timeline-group{grid-template-columns:40px minmax(0,1fr);gap:6px}}

.timeline-group{grid-template-columns:64px minmax(0,1fr)}.timeline-group>h2{overflow-wrap:anywhere}.modal-editor{min-width:0}@media(max-width:350px){.timeline-group{grid-template-columns:56px minmax(0,1fr)}}
.action-feedback{display:flex;gap:8px;align-items:center}.action-feedback>span{flex:1;min-width:0}.action-feedback small{display:block;font-size:12px;color:var(--muted)}.action-feedback button{flex:0 0 auto;white-space:nowrap}.action-feedback .outline-button{padding:8px 12px}
.conflict-details>summary{cursor:pointer;min-height:40px;padding:8px 0;color:var(--error)}.conflict-details p{font-size:13px}
.reception-toolbar{position:sticky;top:0;z-index:2;background:var(--surface);padding:8px 0}

/* C staff hierarchy. Host adapter of the existing ARK 0.5.2 semantic theme. */
.staff-workspace{--staff-body:16px;--staff-explain:14px;--staff-meta:13px;--staff-section-gap:24px;display:flex;flex-direction:column;gap:var(--staff-section-gap);min-width:0}
.staff-workspace .reception-toolbar{gap:12px;padding:10px 0;background:var(--canvas);border-bottom:1px solid var(--line);isolation:isolate}
.staff-workspace .reception-toolbar .view-tabs{gap:4px;border:1px solid var(--line);background:var(--surface);padding:4px;border-radius:var(--r-control)}
.staff-workspace .reception-toolbar .view-tabs button{flex:1;min-height:40px;border:0;border-radius:10px;font-size:15px;color:var(--muted)}
.staff-workspace .reception-toolbar .view-tabs .active{background:var(--accent-soft);color:var(--brand);font-weight:700}
.staff-workspace .register-button{background:var(--surface);color:var(--action-ink);flex:none;white-space:nowrap}
.staff-workspace .reception-summary{border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);padding:14px 16px}
.staff-workspace .summary-date{display:flex;align-items:center;justify-content:space-between;gap:10px}
.staff-workspace .summary-date strong{font-size:var(--staff-body);color:var(--ink)}
.staff-workspace .summary-date>span{font-size:var(--staff-meta);color:var(--muted);font-variant-numeric:tabular-nums}
.staff-workspace .summary-status{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}
.staff-workspace .summary-status p{font-size:var(--staff-explain);margin:0;color:var(--text)}
.staff-workspace .summary-status p b{font-size:17px;color:var(--ink)}
.staff-workspace .summary-separator{margin:0 8px;color:var(--line)}
.staff-workspace .available-capacity{font-size:var(--staff-meta);color:var(--ink);white-space:nowrap;background:var(--soft);border-radius:8px;padding:5px 8px}
.staff-workspace .reception-summary small{display:block;font-size:var(--staff-explain);line-height:1.65;color:var(--muted)}
.staff-workspace .reception-section{border:1px solid var(--line);border-radius:var(--r-panel);background:var(--surface);overflow:hidden;min-width:0}
.staff-workspace .section-heading{display:flex;align-items:center;gap:9px;padding:13px 16px;background:var(--soft);border-bottom:1px solid var(--line)}
.staff-workspace .section-heading::before{content:'';width:4px;height:20px;border-radius:4px;background:var(--section-color,var(--action-ink));flex:none}
.staff-workspace .section-heading h2{font-size:17px;line-height:1.5;font-weight:700}
.staff-workspace .section-serving{--section-color:var(--brand)}
.staff-workspace .section-waiting{--section-color:var(--warning)}
.staff-workspace .section-next{--section-color:var(--action-ink)}
.staff-workspace .section-serving .section-heading{background:var(--accent-soft);border-color:var(--accent-line)}
.staff-workspace .section-count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:var(--r-pill);padding:0 7px;background:var(--surface);color:var(--muted);font-size:var(--staff-meta);font-weight:600;font-variant-numeric:tabular-nums}
.staff-workspace .section-body{display:grid;gap:12px;padding:12px;min-width:0}
.staff-workspace .section-empty{font-size:var(--staff-explain);color:var(--muted);line-height:1.7;padding:8px 2px}
.staff-workspace .reception-card{padding:16px;border:1px solid var(--line);border-radius:var(--r-control);box-shadow:none;background:var(--surface)}
.staff-workspace .record-top{align-items:flex-start;gap:10px}
.staff-workspace .record-top>strong{font-size:19px;font-weight:700;line-height:1.45;color:var(--ink);min-width:0}
.staff-workspace .badge{flex:none;font-size:12px;font-weight:500;line-height:1.5;padding:4px 8px;white-space:nowrap}
.staff-workspace .badge.waiting{background:var(--warning-soft);color:var(--warning)}
.staff-workspace .record-service{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;color:var(--text);font-size:var(--staff-explain);line-height:1.6;margin:7px 0 12px}
.staff-workspace .service-duration{font-weight:600;color:var(--ink)}
.staff-workspace .record-extra{font-size:var(--staff-meta);color:var(--muted)}
.staff-workspace .record-plan{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 9px;border-top:1px solid var(--line);padding-top:11px;font-size:var(--staff-explain);line-height:1.65;color:var(--text)}
.staff-workspace .data-label{color:var(--muted);font-size:var(--staff-meta);flex:none}
.staff-workspace .record-plan strong{font-size:var(--staff-explain);font-weight:500;letter-spacing:0;font-variant-numeric:tabular-nums}
.staff-workspace .record-timing{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:10px;margin:12px 0 10px;padding:12px;background:var(--soft);border:1px solid var(--line);border-radius:10px}
.staff-workspace .record-timing>div+div{border-left:1px solid var(--line);padding-left:12px}
.staff-workspace .record-timing dt{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:4px}
.staff-workspace .record-timing dd{font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.3px;color:var(--ink);margin:0;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.staff-workspace .record-timing dd small{font-size:var(--staff-meta);font-weight:400;margin-left:5px;color:var(--muted);letter-spacing:0}
.staff-workspace .record-actual{display:flex;flex-wrap:wrap;gap:5px 14px;margin:11px 0;font-size:var(--staff-meta);line-height:1.6;color:var(--muted);font-variant-numeric:tabular-nums}
.staff-workspace .record-actual b{font-weight:500;color:var(--text)}
.staff-workspace .record-release{display:flex;flex-wrap:wrap;gap:3px 7px;padding:10px;background:var(--success-soft);color:var(--success);border-radius:8px;font-size:var(--staff-explain)}
.staff-workspace .record-release b{font-weight:500}
.staff-workspace .record-release>span{flex-basis:100%;font-size:var(--staff-meta)}
.staff-workspace .record-alert{margin:12px 0;padding:10px 12px;border:1px solid var(--line);border-left:3px solid var(--error);border-radius:8px;background:var(--surface);font-size:var(--staff-explain);line-height:1.6}
.staff-workspace .record-alert.is-overdue{border-color:var(--warning-soft);border-left-color:var(--warning);background:var(--warning-soft);color:var(--warning)}
.staff-workspace .record-alert p{font-size:var(--staff-explain);color:inherit;margin:0}
.staff-workspace .record-alert .conflict-details>summary{min-height:36px;padding:8px 0 0}
.staff-workspace .record-alert .conflict-details p{margin:5px 0;font-size:var(--staff-meta)}
.staff-workspace .record-actions,.staff-workspace .timeline-item .record-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:13px;padding-top:13px;border-top:1px solid var(--line)}
.staff-workspace .record-actions .ark-action-button{margin:0;min-width:0}
.staff-workspace .record-actions .outline-button,.staff-workspace .timeline-item .record-actions .outline-button{width:auto;color:var(--action-ink);white-space:nowrap;min-width:74px}
.staff-workspace .release-hint{margin:7px 0 0;font-size:var(--staff-meta);line-height:1.55;color:var(--muted)}
.staff-workspace .record-corrections{display:flex;align-items:center;flex-wrap:wrap;gap:5px 14px;margin-top:7px}
.staff-workspace .record-corrections .text-button{padding:4px 0;min-height:36px;color:var(--action-ink);font-size:var(--staff-meta);text-decoration:underline;text-underline-offset:3px}
.staff-workspace .card-details{border-top:1px solid var(--line);margin-top:5px}
.staff-workspace .card-details>summary{padding:11px 0 0;min-height:40px;color:var(--muted);font-size:var(--staff-meta)}
.staff-workspace .record-detail-body{padding-top:8px}
.staff-workspace .record-detail-body p{font-size:var(--staff-explain);line-height:1.6}
.staff-workspace .late-list{border:1px solid var(--line);border-left:3px solid var(--warning);border-radius:var(--r-control);background:var(--surface)}
.staff-workspace .late-list>summary{padding:12px 14px;color:var(--warning);font-size:var(--staff-explain);font-weight:600}
.staff-workspace .late-list .panel,.staff-workspace .history .panel{margin-top:0}
.staff-workspace .staff-secondary{border-top:1px solid var(--line);padding-top:20px;display:grid;gap:16px}
.staff-workspace .aux-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.staff-workspace .aux-heading h2{font-size:var(--staff-explain);font-weight:600;color:var(--muted)}
.staff-workspace .aux-heading .outline-button{font-size:var(--staff-meta);color:var(--action-ink)}
.staff-workspace .history{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-control);padding:0 14px}
.staff-workspace .history>summary{padding:13px 0;font-size:var(--staff-explain);font-weight:500;color:var(--muted)}
.staff-workspace .history-records{display:grid;gap:12px;padding-bottom:14px}
.staff-workspace .history .field{margin-bottom:14px}
.staff-workspace .block-card{border:1px solid var(--line);border-radius:var(--r-control);padding:14px;box-shadow:none}
.staff-workspace .block-card h3{font-size:var(--staff-body)}
.staff-workspace .block-card p{font-size:var(--staff-explain);line-height:1.65;margin:7px 0}
.staff-workspace .block-card .ark-action-button{margin-top:12px}
.staff-workspace .schedule-context{padding:14px 16px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface)}
.staff-workspace .schedule-context .caption{font-size:var(--staff-explain);margin-top:10px;line-height:1.6}
.staff-workspace .timeline-group{display:block;padding-left:12px;border-left:2px solid var(--line);min-width:0}
.staff-workspace .timeline-group>h2{display:inline-flex;align-items:center;position:relative;border:0;padding:0;font-size:16px;line-height:1.5;margin-bottom:10px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.staff-workspace .timeline-group>h2::before{content:'';position:absolute;left:-18px;width:8px;height:8px;border:2px solid var(--surface);border-radius:50%;background:var(--action-ink);box-sizing:content-box}
.staff-workspace .timeline-items{display:grid;gap:16px}
.staff-workspace .timeline-item+.timeline-item{margin-top:0}
.staff-workspace .schedule-overlap,.staff-workspace .schedule-delta{font-size:var(--staff-meta);line-height:1.65;margin:0 0 8px;color:var(--muted)}
.staff-workspace .schedule-overlap.conflict{padding:7px 10px;border-left:3px solid var(--error);background:var(--surface);border-radius:6px}
@media(max-width:350px){
 .staff-workspace{gap:20px}
 .staff-workspace .reception-summary{padding:12px}
 .staff-workspace .summary-status{gap:5px;flex-wrap:wrap}
 .staff-workspace .summary-separator{margin:0 5px}
 .staff-workspace .section-heading{padding:12px}
 .staff-workspace .section-heading h2{font-size:16px}
 .staff-workspace .section-body{padding:10px}
 .staff-workspace .reception-card{padding:12px}
 .staff-workspace .record-top>strong{font-size:18px}
 .staff-workspace .record-timing{padding:10px;gap:8px}
 .staff-workspace .record-timing>div+div{padding-left:9px}
 .staff-workspace .record-timing dd{font-size:23px}
 .staff-workspace .record-actions{gap:8px}
 .staff-workspace .aux-heading{gap:8px}
}

.staff-workspace .record--cancelled .record-release{background:var(--soft);color:var(--muted)}

/* C customer compact adapter; uses the existing ARK semantic theme and real primary button. */
.customer-workspace{display:grid;gap:12px;min-width:0}
.customer-workspace .store-meta{font-size:13px;gap:12px;color:var(--muted)}
.customer-workspace .view-tabs{gap:0;border:1px solid var(--line);border-radius:var(--r-control);padding:3px;background:var(--surface)}
.customer-workspace .view-tabs button{flex:1;min-height:38px;border:0;border-radius:10px;font-size:14px}
.customer-workspace .view-tabs .active{background:var(--accent-soft);color:var(--brand);font-weight:600}
.customer-workspace .panel{padding:14px 16px;box-shadow:none}
.customer-workspace .section-title{margin-bottom:10px;gap:8px}
.customer-workspace .section-title h2{font-size:16px;line-height:1.5}
.customer-workspace .service-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.customer-workspace .service-options button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;padding:7px 4px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}
.customer-workspace .service-options strong{font-size:15px;font-weight:600;line-height:1.5}
.customer-workspace .service-options span{font-size:13px;color:var(--muted)}
.customer-workspace .service-options .chosen{background:var(--accent-soft);border-color:var(--brand);color:var(--brand)}
.customer-workspace .service-options .chosen span{color:var(--brand)}
.customer-workspace .selected-service-note{margin-top:8px;font-size:14px;line-height:1.55;color:var(--muted)}
.customer-workspace .dates{gap:8px}
.customer-workspace .dates button{padding:7px 3px;gap:2px;min-height:56px}
.customer-workspace .dates strong{font-size:15px;font-weight:600}
.customer-workspace .dates small{font-size:12px;line-height:1.5}
.customer-workspace .time-stage-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px;margin:9px 0 5px}
.customer-workspace .time-stage-heading>strong{font-size:14px;font-weight:600;line-height:1.6}
.customer-workspace .time-stage-heading strong span{font-size:12px;font-weight:400;color:var(--muted);margin-left:5px;white-space:nowrap}
.customer-workspace .time-stage-heading>.caption{font-size:12px}
.customer-workspace .time-back{min-height:36px;font-size:13px;color:var(--action-ink);padding:4px 0 4px 8px;white-space:nowrap}
.customer-workspace .time-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.customer-workspace .time-period{display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:4px;min-height:65px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text);text-align:left}
.customer-workspace .time-period>span:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:4px;flex-wrap:wrap}
.customer-workspace .time-period strong{font-size:14px;font-weight:600}
.customer-workspace .time-period small{font-size:12px;white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}
.customer-workspace .period-availability{font-size:12px;color:var(--muted);line-height:1.5}
.customer-workspace .time-period[aria-pressed=true]{border-color:var(--brand);background:var(--accent-soft)}
.customer-workspace .time-period:disabled{background:var(--dock);color:var(--muted);cursor:not-allowed}
.customer-workspace .time-period:disabled strong{font-weight:400}
.customer-workspace .slots{gap:8px}
.customer-workspace .slots button{min-height:54px;padding:5px 2px}
.customer-workspace .slots button strong{font-size:16px}
.customer-workspace .hint{margin-top:9px;font-size:14px;line-height:1.55}
.customer-workspace .contact-fields{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:10px}
.customer-workspace .contact-fields .field{margin:0;gap:6px;font-size:14px}
.customer-workspace .contact-fields input{padding:10px;min-height:44px;font-size:16px}
.customer-workspace .contact-fields input::placeholder{font-size:12px}
.customer-workspace .booking-summary{padding:10px 12px;gap:3px;margin:12px 0 0}
.customer-workspace .booking-summary strong{font-size:15px;line-height:1.5}
.customer-workspace .booking-summary span{font-size:13px;line-height:1.5}
.customer-workspace .booking-action{padding:0}
.customer-workspace .booking-action .primary-action{width:100%}
.customer-workspace .booking-demo-boundary{font-size:12px;line-height:1.5;text-align:center;color:var(--muted);margin-top:-6px}
.customer-workspace .error{font-size:14px;line-height:1.6}
@media(max-width:350px){.customer-workspace .panel{padding:12px}.customer-workspace .service-options{gap:6px}.customer-workspace .service-options strong{font-size:14px}.customer-workspace .time-period{padding:8px;min-height:65px}.customer-workspace .contact-fields{gap:8px}.customer-workspace .contact-fields input{padding:9px 8px}.customer-workspace .contact-fields input::placeholder{font-size:11px}.customer-workspace .time-stage-heading strong span{margin-left:3px}}

/* C schedule adapter: daily scan uses the current ARK semantic palette. */
.staff-workspace .schedule-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.staff-workspace .schedule-workspace>*{min-width:0}
.staff-workspace .schedule-example-bar{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:11px 13px;background:var(--accent-soft);border:1px solid var(--accent-line);border-radius:var(--r-control)}
.staff-workspace .schedule-example-bar>span{display:flex;gap:8px;align-items:baseline;min-width:0}
.staff-workspace .schedule-example-bar strong{font-size:14px;color:var(--brand)}
.staff-workspace .schedule-example-bar small{font-size:12px;line-height:1.5;color:var(--muted)}
.staff-workspace .schedule-example-bar a,.staff-workspace .schedule-context-foot a{font-size:13px;color:var(--action-ink);text-decoration:underline;text-underline-offset:3px;flex-shrink:0;min-height:40px;display:inline-flex;align-items:center}
.staff-workspace .schedule-date-row{display:flex;align-items:center;gap:8px}
.staff-workspace .schedule-date-row .field{flex:1;min-width:0;margin:0}
.staff-workspace .schedule-date-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.staff-workspace .schedule-date-row input{margin-top:0;font-variant-numeric:tabular-nums;min-height:44px;padding:8px;font-size:16px}
.staff-workspace .schedule-date-row>.outline-button{margin-bottom:0;min-width:48px;padding:8px;font-size:13px;white-space:nowrap}
.staff-workspace .schedule-context{padding:12px}
.staff-workspace .schedule-context-foot{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;margin-top:8px;font-size:13px;color:var(--muted)}
.staff-workspace .schedule-context-foot .text-button{min-height:40px;font-size:13px;padding:4px 0;color:var(--action-ink)}
.staff-workspace .schedule-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:3px 0 5px}
.staff-workspace .schedule-counts>span{display:flex;align-items:baseline;justify-content:center;gap:5px;color:var(--muted);font-size:12px}
.staff-workspace .schedule-counts>span+span{border-left:1px solid var(--line)}
.staff-workspace .schedule-counts strong{font-size:22px;font-weight:650;color:var(--ink);font-variant-numeric:tabular-nums}
.staff-workspace .schedule-counts .has-attention strong{color:var(--warning)}
.staff-workspace .schedule-filters{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:3px;background:var(--dock);padding:3px;border:1px solid var(--line);border-radius:var(--r-control)}
.staff-workspace .schedule-filters button{min-height:42px;padding:6px 3px;font-size:13px;color:var(--muted);border:0;background:transparent;border-radius:9px;white-space:nowrap}
.staff-workspace .schedule-filters button[aria-pressed=true]{color:var(--brand);background:var(--surface);box-shadow:0 1px 3px var(--line);font-weight:600}
.staff-workspace .schedule-filters span{font-size:12px;margin-left:3px;font-variant-numeric:tabular-nums}
.staff-workspace .schedule-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.staff-workspace .schedule-card{position:relative;min-width:0;padding:14px 15px 0;border:1px solid var(--line);border-left:3px solid var(--accent-line);border-radius:var(--r-control);background:var(--surface);overflow-wrap:anywhere}
.staff-workspace .schedule-card--serving{border-left-color:var(--brand)}
.staff-workspace .schedule-card--pause{border-left-color:var(--warning)}
.staff-workspace .schedule-card--conflict{border-left-color:var(--error)}
.staff-workspace .schedule-card--history{border-left-color:var(--line);background:var(--surface)}
.staff-workspace .schedule-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.staff-workspace .schedule-time{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;min-width:0}
.staff-workspace .schedule-time small{font-size:12px;color:var(--muted)}
.staff-workspace .schedule-time strong{font-size:17px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--ink)}
.staff-workspace .schedule-card .badge{flex-shrink:0;font-size:12px}
.staff-workspace .schedule-card .badge.pause{color:var(--warning);background:var(--warning-soft)}
.staff-workspace .schedule-person{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;margin-top:10px}
.staff-workspace .schedule-person h3{font-size:17px;line-height:1.5;font-weight:600;color:var(--ink);margin:0}
.staff-workspace .schedule-person>span{font-size:14px;color:var(--muted);line-height:1.6}
.staff-workspace .schedule-actual{font-size:13px;line-height:1.65;color:var(--muted);margin:6px 0 0;font-variant-numeric:tabular-nums}
.staff-workspace .schedule-warning{font-size:14px;line-height:1.6;color:var(--warning);margin:8px 0 0;padding:6px 9px;border-radius:7px;background:var(--warning-soft)}
.staff-workspace .schedule-conflict-note{font-size:14px;line-height:1.6;color:var(--error);margin:8px 0 0;padding:5px 0;font-weight:500}
.staff-workspace .schedule-quick{position:absolute;right:14px;bottom:3px;display:flex;justify-content:flex-end}
.staff-workspace .schedule-quick .ark-action-button{min-width:110px;min-height:40px;padding:7px 12px;font-size:13px}
.staff-workspace .schedule-details{margin-top:9px;border-top:1px solid var(--line)}
.staff-workspace .schedule-details>summary{min-height:46px;display:flex;align-items:center;gap:6px;color:var(--action-ink);font-size:13px;cursor:pointer;list-style:none}
.staff-workspace .schedule-quick+.schedule-details>summary{width:calc(100% - 124px)}
.staff-workspace .schedule-details>summary::before{content:'›';font-size:20px;line-height:1;transition:transform .15s}
.staff-workspace .schedule-details[open]>summary::before{transform:rotate(90deg)}
.staff-workspace .schedule-full{padding:5px 0 14px}
.staff-workspace .schedule-full .reception-card{border:0;padding:0;box-shadow:none;background:transparent}
.staff-workspace .schedule-full .reception-card>.record-top{display:none}
.staff-workspace .schedule-full .reception-card>.record-service{margin-top:0}
.staff-workspace .schedule-full>p{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:10px}
.staff-workspace .schedule-filter-hint{font-size:13px;line-height:1.7;color:var(--muted);margin:0}
@media(max-width:350px){.staff-workspace .schedule-card{padding:12px 12px 0}.staff-workspace .schedule-time strong{font-size:16px}.staff-workspace .schedule-card-top{gap:6px}.staff-workspace .schedule-counts>span{gap:3px}.staff-workspace .schedule-filters button{font-size:12px}.staff-workspace .schedule-filters span{margin-left:2px}.staff-workspace .schedule-example-bar{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.staff-workspace .schedule-details>summary::before{transition:none}}

/* Proportional daily calendar; source palette and controls stay ARK 0.5.2. */
.staff-workspace .calendar-workspace{--calendar-height:480px;gap:10px}
.calendar-datebar{display:flex;gap:7px;align-items:center;min-width:0}
.calendar-datebar .field{flex:1;min-width:0;margin:0}
.calendar-datebar input{margin:0;min-width:0;width:100%;padding:8px;font-size:16px;min-height:44px}
.calendar-datebar .outline-button{font-size:13px;padding:8px;white-space:nowrap}
.calendar-context{display:flex;justify-content:space-between;gap:5px 12px;flex-wrap:wrap;font-size:12px;color:var(--muted);line-height:1.7}
.calendar-context a{color:var(--action-ink);text-decoration:underline;text-underline-offset:3px;margin-left:5px;min-height:32px;display:inline-flex;align-items:center}
.day-overview{padding:10px 12px;border:1px solid var(--line);border-radius:var(--r-control);background:var(--surface);min-width:0}
.day-overview-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}
.day-overview-title strong{font-size:14px;color:var(--ink)}
.day-overview-title .text-button{min-height:32px;font-size:12px;padding:0;color:var(--action-ink)}
.overview-bar{position:relative;height:15px;border-radius:5px;overflow:hidden;background:var(--soft)}
.overview-bar>span{position:absolute;top:0;bottom:0}
.overview-hours{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:5px;font-variant-numeric:tabular-nums}
.capacity-free{background:var(--success-soft);color:var(--success)}
.capacity-partial{background:var(--success);color:var(--surface)}
.capacity-full{background:var(--brand);color:var(--surface)}
.capacity-conflict{background:var(--error);color:var(--surface)}
.capacity-past{background:var(--soft);color:var(--muted)}
.capacity-legend{display:flex;gap:6px 13px;flex-wrap:wrap;font-size:12px;color:var(--muted);line-height:1.6}
.capacity-legend>span{display:flex;align-items:center;gap:4px;white-space:nowrap}
.capacity-legend i{display:inline-block;width:10px;height:10px;border:1px solid var(--line);border-radius:3px}
.calendar-alerts{display:grid;gap:5px}
.calendar-alerts button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px;text-align:left;padding:8px 10px;border:1px solid var(--error);border-radius:9px;background:var(--surface);color:var(--error);font-size:13px;line-height:1.5}
.calendar-alerts button>span{font-size:12px;white-space:nowrap}
.timeline-attention{padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.timeline-attention>summary,.calendar-records>summary{padding:9px 0;min-height:40px;font-size:13px;color:var(--action-ink);cursor:pointer}
.timeline-entry-buttons{display:grid;gap:6px;padding:4px 0 8px;min-width:0}
.timeline-entry-buttons>button{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;min-height:42px;border:1px solid var(--line);border-radius:9px;background:var(--surface);text-align:left;min-width:0;color:var(--ink)}
.timeline-entry-buttons strong{font-size:14px;font-weight:500;min-width:0;overflow-wrap:anywhere}
.timeline-entry-buttons span{font-size:12px;color:var(--muted);line-height:1.5;text-align:right}
.timeline-untimed{padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.timeline-untimed>strong{font-size:13px;color:var(--muted);font-weight:500}
.timeline-untimed .timeline-entry-buttons{padding-bottom:0}
.calendar-axis-heading{display:flex;gap:8px;justify-content:space-between;align-items:baseline;margin:2px 0 3px}
.calendar-axis-heading strong{font-size:15px;color:var(--ink)}
.calendar-axis-heading>span{font-size:11px;color:var(--muted);line-height:1.6;text-align:right}
.timeline-calendar{position:relative;display:grid;grid-template-columns:39px minmax(0,1fr) 23px;gap:4px;height:var(--calendar-height);margin:5px 0 12px;outline-offset:4px;min-width:0}
.timeline-scale,.timeline-plot,.timeline-capacity{position:relative;height:100%;min-width:0}
.timeline-scale>span{position:absolute;right:2px;transform:translateY(-50%);font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.2}
.timeline-plot{background:var(--surface);border-left:1px solid var(--line);border-right:1px solid var(--line);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent calc(5% - 1px),var(--soft) calc(5% - 1px),var(--soft) 5%)}
.timeline-hour{position:absolute;left:0;right:0;border-top:1px solid var(--line);pointer-events:none}
.timeline-gap{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:center;background:var(--success-soft);color:var(--success);pointer-events:none}
.timeline-gap>span{font-size:12px;line-height:1.4}
.timeline-event{position:absolute;z-index:2;display:block;text-align:left;padding:2px 5px;border:1px solid var(--brand);border-left:3px solid var(--brand);border-radius:5px;background:var(--accent-soft);color:var(--ink);overflow:hidden;min-width:0;min-height:0;line-height:1.25;margin:0;box-sizing:border-box;cursor:pointer;font-variant-numeric:tabular-nums}
.timeline-event-copy{position:absolute;top:2px;left:5px;right:3px;z-index:2;display:flex;flex-direction:column;gap:1px;min-width:0;pointer-events:none}
.timeline-event strong{display:block;font-size:13px;line-height:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.timeline-event small{display:block;font-size:11px;line-height:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.timeline-event em{font-size:11px;line-height:1.5;font-style:normal;color:var(--warning)}
.timeline-event .timeline-subtitle{color:var(--muted);font-size:10px;line-height:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.timeline-event.is-pause{background:var(--warning-soft);border-color:var(--warning)}
.timeline-event.is-history{background:var(--soft);border-color:var(--line);color:var(--muted)}
.timeline-event.is-conflict{border-color:var(--error);border-left-width:3px}
.timeline-event.is-selected{outline:2px solid var(--action-ink);outline-offset:1px;z-index:4}
.timeline-event.is-short small,.timeline-event.is-dense small{display:none}
.timeline-event.is-short{padding-top:1px;padding-bottom:1px}
.timeline-event.is-short .timeline-event-copy{top:1px}
.timeline-event.is-tiny{padding:0}
.timeline-event.is-tiny .timeline-event-copy{display:none}
.timeline-tail{position:absolute;left:0;right:0;background:repeating-linear-gradient(135deg,var(--warning-soft) 0,var(--warning-soft) 5px,var(--surface) 5px,var(--surface) 9px);border-top:1px dashed var(--warning);z-index:1;pointer-events:none}
.timeline-now{position:absolute;left:0;right:0;border-top:2px solid var(--error);z-index:5;pointer-events:none}
.timeline-now>span{position:absolute;right:0;top:-16px;background:var(--error);color:var(--surface);font-size:10px;line-height:15px;padding:0 3px;border-radius:3px}
.timeline-capacity{border-radius:3px}
.timeline-capacity>span{position:absolute;left:0;right:0;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--surface);font-size:11px;overflow:hidden}
.timeline-capacity b{font-weight:500;font-size:11px;line-height:1}
.calendar-free-windows{display:flex;gap:5px 10px;flex-wrap:wrap;align-items:baseline;padding:10px 12px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.calendar-free-windows>strong{font-size:13px;color:var(--success);flex-basis:100%;font-weight:600}
.calendar-free-windows>span{font-size:13px;font-variant-numeric:tabular-nums;line-height:1.7}
.calendar-free-windows small{font-size:12px;color:var(--muted);margin-left:5px}
.calendar-footnote{font-size:12px;line-height:1.7;color:var(--muted);margin:0}
.calendar-records{border-top:1px solid var(--line);padding-top:3px;min-width:0}
.calendar-records .schedule-filters{margin:4px 0 7px;grid-template-columns:repeat(3,minmax(0,1fr))}
.timeline-inspector .reception-card{box-shadow:none;margin-top:12px}
.timeline-inspector-notice{display:flex;gap:9px;align-items:center;padding:10px;background:var(--success-soft);color:var(--success);border-radius:9px;font-size:14px;line-height:1.6}
.timeline-inspector-notice button{flex-shrink:0;min-height:40px;border:1px solid var(--line);border-radius:8px;padding:4px 8px;background:var(--surface);color:var(--action-ink)}
.timeline-toast{position:fixed;z-index:20;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;width:calc(100% - 32px);max-width:440px;padding:10px 12px;border:1px solid var(--accent-line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);font-size:14px;line-height:1.5;color:var(--ink)}
.timeline-toast>span{flex:1;min-width:0}
.timeline-toast button{min-height:40px;flex-shrink:0;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--action-ink);font-size:13px}
@media(max-width:350px){.calendar-datebar{flex-wrap:wrap}.calendar-datebar .field{flex-basis:calc(100% - 58px)}.calendar-datebar>.outline-button:last-child{margin-left:auto}.calendar-axis-heading>span{max-width:150px}.timeline-calendar{grid-template-columns:33px minmax(0,1fr) 20px;gap:3px}.timeline-event{padding:2px 3px}.timeline-event-copy{left:3px}.timeline-event strong{font-size:12px}.calendar-context{font-size:12px}.capacity-legend{gap:5px 9px}.timeline-event small{font-size:10px}}

/* Local candidate: avoid the native project picker only in adjustment dialogs. */
.reception-modal .modal-service-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.reception-modal .modal-service-choice.ark-action-button{min-width:0;min-height:64px;margin:0;padding:10px 7px;font-size:14px;line-height:1.5}
.reception-modal .modal-service-choice .ark-action-button__label{word-break:keep-all;overflow-wrap:normal}
.reception-modal .modal-service-choice[aria-pressed="true"]{background:var(--accent-soft);border-color:var(--brand);color:var(--brand)}
.reception-modal .modal-service-choice:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
