.mo76-workspace,.mo76-workspace *,.mo76-dialog,.mo76-dialog *,.mo76-travel-revision,.mo76-travel-revision *{box-sizing:border-box}
.mo76-copy{display:inline}.mo76-en{display:none}.mo76-zh{display:inline}html[data-language="en"] .mo76-zh{display:none}html[data-language="en"] .mo76-en{display:inline}html[data-language="zh-en"] .mo76-en,html[data-language="both"] .mo76-en,html[data-language="bilingual"] .mo76-en{display:block;font-size:.88em;margin-top:3px}
.mo76-workspace{min-width:0;container-type:inline-size;margin-bottom:80px}.mo76-workspace h2,.mo76-workspace h3,.mo76-workspace h4,.mo76-dialog h2,.mo76-dialog h3,.mo76-dialog h4{margin:0}.mo76-workspace button,.mo76-dialog button,.mo76-travel-revision button{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.mo76-workspace input,.mo76-dialog input,.mo76-dialog textarea,.mo76-dialog select{font:inherit;min-width:0;max-width:100%;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-control-border);border-radius:9px;padding:10px}.mo76-workspace button:focus-visible,.mo76-workspace input:focus-visible,.mo76-workspace summary:focus-visible,.mo76-dialog button:focus-visible,.mo76-dialog input:focus-visible,.mo76-dialog textarea:focus-visible,.mo76-dialog select:focus-visible,.mo76-dialog summary:focus-visible,.mo76-travel-revision input:focus-visible,.mo76-travel-revision button:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}.mo76-toolbar,.mo76-toolbar>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.mo76-toolbar{justify-content:space-between;margin-bottom:12px}.mo76-toolbar [aria-pressed="true"],.mo76-calendar [aria-pressed="true"]{border:2px solid var(--ui-accent);color:var(--ui-info);background:var(--ui-brand-soft)}
.mo76-muted{color:var(--ui-muted);font-size:.9em}.mo76-notice{border:1px solid var(--ui-border);border-radius:10px;padding:12px;background:var(--ui-brand-soft)}.mo76-warning{border:1px solid var(--ui-error-fg);border-radius:10px;padding:12px;background:var(--ui-error-bg);color:var(--ui-error-fg);overflow-wrap:anywhere}.mo76-read-status:empty{display:none}.mo76-layout{display:grid;grid-template-columns:minmax(250px,300px) minmax(0,1fr);gap:18px;align-items:start}.mo76-layout>*{min-width:0}.mo76-queue-box,.mo76-order-card,.mo76-capacity,.mo76-calendar,.mo76-detail-empty{background:var(--ui-surface);border:1px solid var(--ui-border);border-radius:14px;min-width:0}.mo76-queue-box{overflow:hidden}.mo76-queue-box>header{padding:15px;border-bottom:1px solid var(--ui-border)}.mo76-queue-box>header label{display:grid;gap:7px;margin-top:12px}.mo76-queue-box>p{padding:0 14px;font-size:.9em}.mo76-queue-list{display:grid;gap:10px;padding:10px}.mo76-queue-row{display:block;width:100%;text-align:start;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-surface);padding:13px;color:var(--ui-text)}.mo76-queue-row.is-selected{border:2px solid var(--ui-accent);background:var(--ui-brand-soft);padding:12px}.mo76-queue-row>strong,.mo76-queue-row>small{display:block;overflow-wrap:anywhere}.mo76-queue-row>strong{margin:7px 0}.mo76-queue-row>small{font-weight:normal;color:var(--ui-muted)}.mo76-queue-row dl{margin:12px 0 0;font-size:.88em;display:grid;gap:5px}.mo76-queue-row dl>div{display:grid;grid-template-columns:minmax(82px,.8fr) minmax(0,1fr);gap:10px}.mo76-queue-row dt{color:var(--ui-muted)}.mo76-queue-row dd{margin:0;overflow-wrap:anywhere}.mo76-badge{display:inline-flex;padding:4px 9px;border-radius:20px;background:var(--ui-wait-bg);color:var(--ui-wait-fg);font-size:.85em}.mo76-badge.is-accepted{background:var(--ui-success-bg);color:var(--ui-success-fg)}
.mo76-detail-host{container-type:inline-size;min-width:0}.mo76-order-card,.mo76-capacity{padding:17px}.mo76-order-card>header{display:flex;gap:9px;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--ui-border);padding-bottom:16px}.mo76-order-card>header>small{flex:1 1 100px;color:var(--ui-info);overflow-wrap:anywhere}.mo76-order-card>header>h2,.mo76-order-card>header>strong{flex-basis:100%;overflow-wrap:anywhere}.mo76-order-card>header h2{font-size:1.25em}.mo76-order-card [data-mo76-section]{position:relative;padding:18px 0;border-bottom:1px solid var(--ui-border);min-width:0}.mo76-order-card [data-mo76-section]>h3,.mo76-travel-revision [data-mo76-section]>h3{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:1.05em}.mo76-order-card [data-mo76-section]>h3>span:first-child,.mo76-travel-revision [data-mo76-section]>h3>span:first-child{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:50%;background:var(--ui-brand-soft);color:var(--ui-info);font-weight:700}.mo76-order-card [data-mo76-section]:not(:last-of-type)>h3>span:first-child:after{content:"";position:absolute;top:49px;bottom:-14px;left:13px;width:1px;background:var(--ui-flow-line);opacity:.28;pointer-events:none;z-index:0}.mo76-menu-line{padding:12px 0;border-top:1px solid var(--ui-border);margin-top:12px;overflow-wrap:anywhere}.mo76-menu-line ul{padding-left:22px;columns:2;column-gap:22px}.mo76-menu-line li{break-inside:avoid;padding:3px 0}.mo76-facts{display:grid;gap:9px;margin:12px 0;font-size:.92em}.mo76-facts>div{display:grid;grid-template-columns:minmax(100px,.8fr) minmax(0,1fr);gap:12px}.mo76-facts dt{color:var(--ui-muted);overflow-wrap:anywhere}.mo76-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.mo76-total{display:flex;justify-content:space-between;gap:14px;margin:14px 0;align-items:baseline}.mo76-total strong{font-size:1.15em;overflow-wrap:anywhere}.mo76-order-card .profile751-readback{background:transparent;padding:0;border:0}.mo76-order-card .profile751-readback h4{display:none}.mo76-order-card .profile751-readback dl>div{min-width:0}.profile751-policy-note{display:block;color:var(--ui-muted);font-size:.86em;margin-top:4px}.mo76-order-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;padding-top:16px}.mo76-workspace .mo76-danger,.mo76-dialog .mo76-danger{background:#ac2334;border-color:#ac2334;color:#fff}.mo76-workspace .mo76-danger:hover,.mo76-dialog .mo76-danger:hover{background:#8e1d2b}.mo76-order-actions button:disabled{opacity:.5;cursor:not-allowed}.mo76-proposal{margin-top:16px;border:2px solid var(--ui-warning);padding:13px;border-radius:12px;background:var(--ui-wait-bg)}.mo76-proposal h4{color:var(--ui-wait-fg)}.mo76-proposal details,.mo76-travel-revision details{margin-top:12px}.mo76-proposal summary,.mo76-travel-revision summary{cursor:pointer;min-height:44px;padding:10px 0}.mo76-proposal details [data-mo76-section]{padding:12px 0}
.mo76-cap-head{border:1px solid var(--ui-border);border-radius:12px;padding:14px;background:var(--ui-display-bg)}.mo76-cap-head.is-fit{border-color:var(--ui-success-fg);background:var(--ui-success-bg);color:var(--ui-success-fg)}.mo76-cap-head.is-over{border-color:var(--ui-error-fg);background:var(--ui-error-bg);color:var(--ui-error-fg)}.mo76-cap-head>strong{font-size:2em;display:block;line-height:1.2;margin:8px 0}.mo76-cap-head h2{font-size:1em}.mo76-cap-head p,.mo76-cap-head small{font-size:.85em;display:block;overflow-wrap:anywhere}.mo76-capacity>h3{margin:20px 0 10px;font-size:1.1em}.mo76-table-wrap{overflow:auto;max-width:100%}.mo76-capacity table{width:100%;border-collapse:collapse;min-width:520px;font-size:.82em}.mo76-capacity th,.mo76-capacity td{text-align:start;padding:10px 7px;border-bottom:1px solid var(--ui-border);vertical-align:top}.mo76-capacity thead th{color:var(--ui-muted);background:var(--ui-canvas);font-weight:600}.mo76-capacity tbody th{font-weight:normal;white-space:nowrap}.mo76-capacity tr.is-current{background:var(--ui-brand-soft)}.mo76-fit{color:var(--ui-success-fg);font-weight:650}.mo76-over{color:var(--ui-error-fg);font-weight:650}.mo76-bar{display:flex;width:100px;max-width:100%;height:8px;border-radius:8px;overflow:hidden;background:var(--ui-border);margin-top:5px}.mo76-bar i{display:block;background:#758ba5;height:100%}.mo76-bar b{display:block;background:#2a9c6b;height:100%}.mo76-bar b.is-over{background:#ce3f56}
.mo76-calendar{padding:14px;margin-bottom:15px;background:var(--ui-brand-soft)}.mo76-calendar-head,.mo76-calendar-head>div{display:flex;gap:6px;align-items:center;justify-content:space-between}.mo76-calendar-head h3{font-size:1.1em}.mo76-calendar-nav{display:flex;justify-content:space-between;gap:6px;margin:10px 0}.mo76-calendar-nav button{padding:7px 8px;font-size:.85em}.mo76-weekdays,.mo76-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.mo76-weekdays{font-size:.73em;text-align:center;color:var(--ui-muted);margin-bottom:5px}.mo76-date-grid button{min-width:0;min-height:53px;padding:5px 1px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid var(--ui-border);border-radius:7px;background:var(--ui-surface);color:var(--ui-text);line-height:1.2;white-space:nowrap;word-break:normal;overflow-wrap:normal}.mo76-date-grid .mo76-day-number{white-space:nowrap;font-size:.83em}.mo76-date-grid .mo76-count{font-size:.7em;white-space:nowrap;min-width:20px;line-height:1.35;background:var(--ui-brand-soft);color:var(--ui-info);border-radius:4px}.mo76-date-grid .is-today{box-shadow:inset 0 0 0 2px var(--ui-accent);background:var(--ui-selected)}.mo76-date-grid .is-selected{border:2px solid var(--ui-accent);background:var(--ui-brand-soft)}.mo76-date-grid .has-orders:not(.is-selected):not(.is-today){background:var(--ui-success-bg)}.mo76-date-grid .is-outside{opacity:.65}.mo76-empty{padding:16px;color:var(--ui-muted)}.mo76-detail-empty{grid-column:1/-1;min-height:160px}
.mo76-dialog{width:min(740px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-surface);color:var(--ui-text);box-shadow:0 24px 80px #0006;overflow:hidden}.mo76-dialog::backdrop{background:#07172ca8}.mo76-dialog[open]{display:flex;flex-direction:column}.mo76-dialog>header{display:flex;justify-content:space-between;gap:15px;align-items:start;flex:0 0 auto;padding:18px 22px;border-bottom:1px solid var(--ui-border)}.mo76-dialog>header p{font-size:.86em;color:var(--ui-muted)}.mo76-dialog>form{display:flex;min-height:0;flex-direction:column;overflow:hidden;margin:0;max-width:none}.mo76-dialog-body{padding:18px 22px;overflow:auto;min-height:0;overscroll-behavior:contain}.mo76-dialog form>footer{display:flex;justify-content:flex-end;gap:10px;flex:0 0 auto;padding:14px 22px;border-top:1px solid var(--ui-border)}.mo76-dialog fieldset{display:grid;gap:12px;border:1px solid var(--ui-border);border-radius:12px;padding:14px;min-width:0;margin:16px 0}.mo76-dialog label{display:grid;gap:8px;margin:13px 0}.mo76-dialog textarea{min-height:110px;resize:vertical;width:100%;font-size:16px}.mo76-dialog .mo76-reason,.mo76-travel-revision .mo76-reason{display:flex;gap:12px;align-items:flex-start;padding:10px 0;min-height:44px;margin:0}.mo76-reason input[type="checkbox"]{width:21px;height:21px;flex:0 0 21px;accent-color:var(--ui-accent);margin-top:2px}.mo76-required{color:var(--ui-required);font-weight:bold}.mo76-suggestions{display:flex;flex-direction:column;gap:8px;margin:12px 0}.mo76-suggestions button{text-align:start}.mo76-dialog [data-mo76-time-fields]{padding:12px;border:1px solid var(--ui-border);border-radius:12px;margin:14px 0}.mo76-dialog [data-mo76-close-choice]{padding:12px;border:2px solid var(--ui-accent);border-radius:12px}.mo76-dialog [data-mo76-close-choice] button{margin-top:10px;margin-right:8px}.mo76-dialog [hidden]{display:none!important}.mo76-dialog .form-error:empty{display:none}.mo76-travel-revision{background:var(--ui-wait-bg);border:2px solid var(--ui-warning);border-radius:14px;padding:16px;margin:16px 0;min-width:0;overflow-wrap:anywhere}
@container(max-width:720px){.mo76-capacity table{min-width:520px}}
@container(max-width:760px){.mo76-layout{grid-template-columns:minmax(0,1fr)}.mo76-queue-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mo76-calendar{max-width:430px}}
@media(max-width:600px){.mo76-layout{grid-template-columns:minmax(0,1fr)}.mo76-queue-list{grid-template-columns:minmax(0,1fr)}.mo76-order-card,.mo76-capacity{padding:14px}.mo76-facts>div{grid-template-columns:minmax(90px,.8fr) minmax(0,1fr);gap:8px}.mo76-order-actions>*{flex:1 1 120px}.mo76-menu-line ul{columns:1}.mo76-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px)}.mo76-dialog>header,.mo76-dialog-body{padding:14px}.mo76-dialog form>footer{padding:12px 14px}.mo76-dialog form>footer>*{flex:1}.mo76-toolbar{align-items:stretch}.mo76-toolbar>button{width:100%}.mo76-order-card>header h2{font-size:1.17em}}

/* N1: effective snapshot table; K3 calendar is outside the selected-order node. */
.mo76-menu-table-wrap{max-width:100%;overflow:auto}.mo76-menu-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:360px;font-size:13px;line-height:1.5}.mo76-menu-table col:nth-child(1){width:28%}.mo76-menu-table col:nth-child(2){width:27%}.mo76-menu-table col:nth-child(3){width:16%}.mo76-menu-table col:nth-child(4){width:29%}.mo76-menu-table th,.mo76-menu-table td{padding:11px 8px;border-bottom:1px solid var(--ui-border);vertical-align:top;overflow-wrap:anywhere;text-align:start;white-space:normal}.mo76-menu-table thead th{background:var(--ui-canvas);font-weight:600;color:var(--ui-muted)}.mo76-menu-table th:last-child,.mo76-menu-table td:last-child{text-align:right}.mo76-menu-table tbody th{font-weight:600}.mo76-package{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.mo76-needs>.mo76-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}.mo76-needs>.mo76-facts>div{display:block}.mo76-needs dt{font-size:.88em;margin-bottom:5px}.mo76-needs dd{font-size:1em;line-height:1.6}.mo76-needs.has-allergy .mo76-facts>div:nth-child(2){border-left:3px solid var(--ui-error-fg);padding-left:8px;background:var(--ui-error-bg)}.mo76-order-summary{margin:0;flex-basis:100%;font-size:.88em}.mo76-total strong{font-size:21px}.mo76-seat-only{padding:13px;background:var(--ui-brand-soft);border-radius:8px;font-weight:600}.mo76-layout.is-k3{grid-template-columns:minmax(220px,.7fr) minmax(0,1.1fr) minmax(280px,1.1fr)}.mo76-k3-right,.mo76-k3-right>div{min-width:0}.mo76-k3-right{display:grid;gap:16px}.mo76-k3-right .mo76-calendar{margin:0}.mo76-k3-right .mo76-capacity{height:auto}.mo76-order-card>header{align-items:flex-start}.mo76-order-card>header>p{max-width:100%;overflow-wrap:anywhere;margin:0}
@container(max-width:1120px){.mo76-layout.is-k3{grid-template-columns:minmax(0,1fr)}.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mo76-k3-right .mo76-calendar{max-width:none}}
@media(max-width:600px){.mo76-needs>.mo76-facts{grid-template-columns:minmax(0,1fr)}.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:minmax(0,1fr)}.mo76-menu-table{font-size:13px}.mo76-menu-table th,.mo76-menu-table td{padding:10px 6px}}
.sw76-fulfillment{min-width:0;margin:18px 0;border:1px solid var(--ui-border);border-radius:12px;padding:14px}.sw76-fulfillment-mode{margin:14px 0;padding:12px;border:1px solid var(--ui-border);border-radius:9px}.sw76-fulfillment-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.sw76-fulfillment-fields label{min-width:0;display:grid;gap:7px}.sw76-fulfillment-fields input,.sw76-fulfillment-fields select,.sw76-fulfillment-fields textarea{width:100%;max-width:100%;min-width:0;font:inherit;background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-control-border);border-radius:7px;padding:9px}.sw76-fulfillment-fields p,.sw76-fulfillment-fields label:has(textarea){grid-column:1/-1}.sw76-fulfillment-toggle{display:flex!important;gap:10px;align-items:center}.sw76-fulfillment-toggle input{width:20px;height:20px}.sw76-fulfillment input:focus-visible,.sw76-fulfillment select:focus-visible,.sw76-fulfillment textarea:focus-visible{outline:3px solid var(--ui-accent);outline-offset:2px}.sw76-fulfillment input:disabled,.sw76-fulfillment select:disabled,.sw76-fulfillment textarea:disabled{opacity:.65}@media(max-width:600px){.sw76-fulfillment-fields{grid-template-columns:minmax(0,1fr)}}

.mo76-menu-scroll-hint{display:none;font-size:13px;color:var(--ui-muted)}.mo76-menu-table-wrap:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}.sw76-fulfillment-fields[hidden]{display:none!important}.mo76-k3-right .mo76-table-wrap{max-height:320px;overflow:auto}.mo76-k3-right .mo76-table-wrap thead{position:sticky;top:0;z-index:1}.mo76-safety-path{margin-top:14px;padding:12px;border:1px solid var(--ui-error-fg);border-radius:10px;background:var(--ui-error-bg)}.mo76-safety-path .ghost{margin:5px 6px 0 0;display:inline-flex;align-items:center;min-height:44px}@media(max-width:600px){.mo76-menu-scroll-hint{display:block}}

/* K3: retain the independent calendar immediately after the complete P2 panel. */
.mo76-layout.is-k3{grid-template-columns:minmax(210px,.76fr) minmax(330px,1.08fr) minmax(350px,1.12fr);gap:16px;align-items:start}
.mo76-k3-right{align-content:start;gap:16px}.mo76-k3-capacity{padding:14px}.mo76-k3-capacity .mo76-cap-head{padding:12px}.mo76-k3-capacity .mo76-cap-head>div{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.mo76-k3-capacity .mo76-cap-head h2{flex:1 1 100%;font-size:.95em}.mo76-k3-capacity .mo76-cap-head strong{font-size:1.8em;line-height:1.1}.mo76-k3-capacity .mo76-cap-head p{margin:6px 0}.mo76-k3-capacity .mo76-cap-head small{margin-top:4px;font-size:12px;line-height:1.4}.mo76-k3-capacity>h3{margin:14px 0 6px;font-size:1em}.mo76-k3-capacity .mo76-k3-legend,.mo76-k3-scroll-hint,.mo76-k3-explanation{font-size:12px;line-height:1.45;margin:6px 0}.mo76-k3-scroll-hint{color:var(--ui-info)}
.mo76-k3-right .mo76-k3-day-table{overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--ui-border);border-radius:7px}.mo76-k3-day-table:focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}.mo76-k3-day-table table{min-width:390px;font-size:12px;table-layout:auto}.mo76-k3-day-table th,.mo76-k3-day-table td{padding:7px 5px}.mo76-k3-day-table tbody th{font-size:12px}.mo76-k3-day-table td small{display:block;font-size:10px;line-height:1.3;margin-top:3px}.mo76-k3-day-table .mo76-bar{width:64px}.mo76-k3-day-table thead{position:sticky;top:0;z-index:1}
@container(max-width:1120px) and (min-width:901px){.mo76-layout.is-k3{grid-template-columns:minmax(180px,.65fr) minmax(280px,1fr) minmax(300px,1.08fr);gap:12px}.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:minmax(0,1fr)}.mo76-layout.is-k3 .mo76-queue-row{padding:10px}.mo76-layout.is-k3 .mo76-queue-row dl>div{grid-template-columns:minmax(0,1fr);gap:2px}.mo76-layout.is-k3 .mo76-queue-row dl{gap:7px}}
@container(max-width:900px){.mo76-layout.is-k3{grid-template-columns:minmax(0,1fr)}.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:repeat(2,minmax(0,1fr))}.mo76-k3-right .mo76-calendar{max-width:none}}
@media(max-width:600px){.mo76-layout.is-k3{grid-template-columns:minmax(0,1fr)}.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:minmax(0,1fr)}.mo76-k3-capacity{padding:12px}.mo76-k3-day-table table{min-width:390px}}

/* Read-only per-table snapshots and explicit initial provider arrangements. */
.mo76-table-needs{min-width:0;margin-top:18px}.mo76-table-needs .diet76-table-summary>article{border:1px solid var(--ui-border);border-radius:10px;padding:12px;margin-top:12px}.mo76-table-needs .diet76-table-summary dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.mo76-table-needs .diet76-table-summary dl>div{min-width:0}.mo76-table-needs .diet76-table-summary dt{color:var(--ui-muted);font-size:.88em}.mo76-table-needs .diet76-table-summary dd{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.mo76-arrangement-fields{border:1px solid var(--ui-border);border-radius:10px;padding:14px;margin:16px 0}.mo76-arrangement-fields legend{font-weight:650}.mo76-arrangement-fields label{display:grid;gap:8px;margin:12px 0}.mo76-arrangement-fields .mo76-reason{display:flex}.mo76-arrangement-fields textarea{min-height:94px;resize:vertical}.sw76-demo-terms{padding:10px;border:1px solid var(--ui-info);border-radius:8px;background:var(--ui-brand-soft);color:var(--ui-info);font-size:.9em}@media(max-width:600px){.mo76-table-needs .diet76-table-summary dl{grid-template-columns:minmax(0,1fr)}}

/* Keep explicit close controls readable beside a bilingual mobile title. */

/* Compact capacity summary shared by pending and accepted; risk notices and full day tables remain outside. */
.mo76-capacity>.mo76-compact-summary{padding:10px 12px}.mo76-compact-summary>h2{font-size:.95em;line-height:1.3;margin:0 0 5px}.mo76-capacity>.mo76-compact-summary .mo76-cap-primary{display:flex;align-items:baseline;gap:5px 9px;flex-wrap:wrap}.mo76-capacity>.mo76-compact-summary .mo76-cap-primary>strong{font-size:1.65em;line-height:1.1;margin:0}.mo76-compact-summary .mo76-cap-status{font-size:.88em;line-height:1.3}.mo76-compact-summary .mo76-cap-basis{font-size:12px;line-height:1.3;margin:0}.mo76-capacity>.mo76-compact-summary .mo76-cap-interval{font-size:12px;line-height:1.3;margin:4px 0}.mo76-cap-meta{font-size:12px;line-height:1.4}.mo76-cap-meta>summary{cursor:pointer;min-height:28px;padding:3px 0}.mo76-cap-meta>summary:focus-visible{outline:3px solid var(--ui-accent);outline-offset:2px}.mo76-cap-meta>div{border-top:1px solid var(--ui-border);padding-top:5px}.mo76-capacity>.mo76-compact-summary .mo76-cap-meta p{font-size:12px;line-height:1.4;margin:5px 0}.mo76-capacity>.mo76-compact-summary .mo76-cap-meta small{font-size:12px;line-height:1.4;margin:0}

/* M03 only: both tabs share the chosen K3 columns and compact header density. */
.mo76-layout.is-k3{grid-template-columns:minmax(220px,280px) minmax(0,1fr) minmax(0,1fr);gap:16px}.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:minmax(0,1fr)}.mo76-layout.is-k3 .mo76-menu-table col:nth-child(1){width:28%}.mo76-layout.is-k3 .mo76-menu-table col:nth-child(2){width:31%}.mo76-layout.is-k3 .mo76-menu-table col:nth-child(3){width:15%}.mo76-layout.is-k3 .mo76-menu-table col:nth-child(4){width:26%}.mo76-layout.is-k3 .mo76-menu-table th,.mo76-layout.is-k3 .mo76-menu-table td{padding:10px 7px}.mo76-layout.is-k3 .mo76-k3-day-table{height:var(--mo76-six-rows-height,420px);max-height:none}.mo76-layout.is-k3 .mo76-k3-capacity>h3{margin-top:10px}.mo76-layout.is-k3 .mo76-k3-legend,.mo76-layout.is-k3 .mo76-k3-scroll-hint,.mo76-layout.is-k3 .mo76-k3-explanation{font-size:12px;line-height:1.35;margin:5px 0}.mo76-calendar-head>div:first-child{display:grid;gap:2px}.mo76-calendar-head>div:first-child small{color:var(--ui-muted);font-size:12px}.mo76-calendar [data-mo76-calendar-error]{font-size:12px}.mo76-calendar [data-mo76-calendar-error] button{margin-top:6px}.mo76-calendar>[data-mo76-calendar-status]{font-size:12px;margin:6px 0}
.mo76-layout.is-k3 .mo76-menu-table{font-size:max(13px,calc(13px * var(--font-scale,1)))}.mo76-layout.is-k3 .mo76-date-grid button{min-height:44px}.mo76-k3-explanation>summary{cursor:pointer;min-height:28px;padding:3px 0}.mo76-k3-explanation>summary:focus-visible{outline:3px solid var(--ui-accent);outline-offset:2px}.mo76-k3-explanation>p{margin:5px 0}.mo76-package-source{line-height:1.45}.mo76-ordinary-review{border:2px solid var(--ui-warning);border-radius:12px;background:var(--ui-wait-bg);color:var(--ui-text);padding:14px;margin:18px 0 0;min-width:0}.mo76-ordinary-review h3{font-size:1.1em;line-height:1.5;margin-bottom:10px}.mo76-ordinary-review ul{padding-left:22px;margin:8px 0}.mo76-ordinary-review li{font-size:1em;font-weight:650;line-height:1.6;overflow-wrap:anywhere}.mo76-ordinary-review>p{font-size:.88em;line-height:1.6}.mo76-ordinary-review>label{display:grid;gap:7px;margin-top:12px}.mo76-ordinary-review select,.mo76-ordinary-review textarea{font:inherit;box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid var(--ui-control-border);border-radius:9px;padding:9px;background:var(--ui-surface);color:var(--ui-text)}.mo76-ordinary-review select{min-height:44px}.mo76-ordinary-review textarea{min-height:76px;resize:vertical}.mo76-ordinary-review fieldset{min-width:0;border:1px solid var(--ui-border);border-radius:8px;margin-top:12px;padding:10px}.mo76-ordinary-review .mo76-reason{display:flex;align-items:flex-start;gap:10px;line-height:1.6}.mo76-ordinary-review .mo76-ordinary-confirm{font-weight:650}.mo76-ordinary-review :is(select,textarea,input):focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}
.mo76-table-handling-label{min-width:0;overflow-wrap:anywhere}.mo76-table-marker-note{display:block;font-size:.85em;line-height:1.5;margin-top:4px;color:var(--ui-muted)}.mo76-ordinary-fields>h3{font-size:1.1em;line-height:1.5;margin-bottom:10px}.mo76-ordinary-fields>ul li{font-size:1em;line-height:1.6;font-weight:650}.mo76-ordinary-fields .mo76-reason{display:flex;align-items:flex-start;gap:10px}.mo76-demo-supplement{border:2px dashed var(--ui-warning);border-radius:10px;background:var(--ui-wait-bg);padding:12px;margin:14px 0;min-width:0}.mo76-demo-supplement>h4{font-size:1em;line-height:1.5}.mo76-demo-supplement>p{font-size:.85em;line-height:1.6;margin:7px 0}.mo76-demo-supplement .mo76-menu-table-wrap{background:var(--ui-surface)}
body:has([data-mo76-page]) .ui-page-heading.page-assistant-header{padding-top:14px;padding-bottom:12px;min-height:0}body:has([data-mo76-page]) .page-assistant-header__grid{grid-template-columns:minmax(190px,245px) minmax(0,1fr);gap:16px}body:has([data-mo76-page]) .page-assistant-header__title{min-height:92px}body:has([data-mo76-page]) .page-assistant-header__title h1{font-size:calc(26px * var(--font-scale,1));line-height:1.3}body:has([data-mo76-page]) .page-assistant-header__cards .assistant76-h2{min-height:92px;padding:10px 14px}body:has([data-mo76-page]) .page-assistant-header__cards .assistant76-next{margin-top:4px;line-height:1.4}body:has([data-mo76-page]) .page-assistant-header__cards .assistant76-stage{margin-top:2px}body:has([data-mo76-page]) .ui-shell #workspace{padding-top:0}
@container(max-width:1050px) and (min-width:901px){.mo76-layout.is-k3{grid-template-columns:minmax(200px,.65fr) minmax(0,1fr) minmax(0,1fr);gap:12px}}
@container(max-width:900px){.mo76-layout.is-k3{grid-template-columns:minmax(0,1fr)}.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body:has([data-mo76-page]) .page-assistant-header__grid{grid-template-columns:minmax(0,1fr)}body:has([data-mo76-page]) .page-assistant-header__title{min-height:0}}
@media(max-width:600px){.mo76-layout.is-k3 .mo76-queue-list{grid-template-columns:minmax(0,1fr)}body:has([data-mo76-page]) .ui-page-heading.page-assistant-header{padding-top:12px;padding-bottom:12px}body:has([data-mo76-page]) .page-assistant-header__cards .assistant76-h2{min-height:0}}

/* The shared shell's #appShell header rule has higher specificity; scope this override to M03. */
body:has([data-mo76-page]) #appShell .ui-page-heading.page-assistant-header{margin-top:0;margin-bottom:0;padding-top:8px;padding-bottom:8px}body:has([data-mo76-page]) #appShell .page-assistant-header__title #uiPageDescription{font-size:calc(13px * var(--font-scale,1));line-height:1.45}body:has([data-mo76-page]) #appShell .page-assistant-header__title .ui-work-date{padding-top:3px;font-size:calc(12px * var(--font-scale,1));line-height:1.4}body:has([data-mo76-page]) #appShell .page-assistant-header__cards .comp75-summary-actions{flex-wrap:nowrap;max-width:none;gap:8px}body:has([data-mo76-page]) #appShell .page-assistant-header__cards .comp75-summary-actions>button{flex:0 1 auto}body:has([data-mo76-page]) .mo76-toolbar+p{font-size:calc(12px * var(--font-scale,1));line-height:1.4;margin:4px 0 8px}.mo76-layout.is-k3 .mo76-k3-capacity{padding:10px}.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-head{padding:8px}.mo76-layout.is-k3 .mo76-k3-legend{margin:5px 0 7px}.mo76-layout.is-k3 .mo76-k3-scroll-hint{margin:0}.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-head h2{font-size:.9em}.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-head p{margin:4px 0}
@media(max-width:900px){body:has([data-mo76-page]) #appShell .ui-page-heading.page-assistant-header{padding-top:12px;padding-bottom:12px}body:has([data-mo76-page]) #appShell .page-assistant-header__cards .comp75-summary-actions{flex-wrap:wrap;justify-content:flex-start}}

body:has([data-mo76-page]) #appShell .mo76-toolbar{margin-bottom:0}body:has([data-mo76-page]) #appShell .mo76-toolbar+p{font-size:calc(12px * var(--font-scale,1));line-height:1.4;margin:4px 0 6px}body:has([data-mo76-page]) #appShell .mo76-k3-capacity .mo76-cap-head p{margin:4px 0}body:has([data-mo76-page]) #appShell .mo76-k3-legend{font-size:calc(12px * var(--font-scale,1));line-height:1.4;margin:5px 0 7px}

@media(min-width:901px){body:has([data-mo76-page]) #appShell .ui-page-heading.page-assistant-header{padding-top:6px;padding-bottom:6px}body:has([data-mo76-page]) #appShell .page-assistant-header__title,body:has([data-mo76-page]) #appShell .page-assistant-header__cards .assistant76-h2{min-height:88px}.mo76-layout.is-k3 .mo76-k3-right{gap:12px}.mo76-layout.is-k3 .mo76-k3-capacity{padding:8px}.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-head{padding:6px}}
.mo76-dialog .mo76-ordinary-review .mo76-ordinary-confirm{font-size:calc(16px * var(--font-scale,1));line-height:1.65;border-top:1px solid var(--ui-border);padding-top:12px}.mo76-dialog .mo76-ordinary-confirm input{width:22px;height:22px;flex:0 0 22px;margin-top:3px}
.mo76-dialog>header>div{min-width:0;flex:1}.mo76-dialog>header>button{flex:0 0 auto;min-width:74px;white-space:normal}.mo76-dialog>header h2{font-size:calc(20px * var(--font-scale,1));line-height:1.4;overflow-wrap:anywhere}
.mo76-dialog,.mo76-dialog>form{overflow:clip}.mo76-dialog button.primary:disabled{background:var(--ui-brand-soft);color:var(--ui-muted);border-color:var(--ui-border);opacity:1}
.mo76-dialog form>footer{flex-wrap:wrap}.mo76-dialog form>footer>[data-mo76-submit-blocker]{flex:1 1 100%;margin:0 0 6px;padding:8px;font-size:13px;line-height:1.4}
@media(min-width:901px){body[data-viewport="desktop"][data-font-size="medium"] [data-mo76-page] .mo76-layout.is-k3 .mo76-menu-table{min-width:0;width:100%;table-layout:fixed}}
@media(max-width:600px){#merchantOrderAdjustment76 form>footer [data-mo76-submit]{flex:2 1 0}#merchantOrderAdjustment76 form>footer [data-mo76-action="close-modal"]{flex:1 1 0}}

/* Keep the full 168px day table while placing the accepted calendar in the first desktop viewport. */
.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-head>.mo76-cap-topline,.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-head>.mo76-cap-bottomline{display:flex;align-items:baseline;justify-content:space-between;gap:3px 8px;flex-wrap:wrap}.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-topline h2{flex:0 1 auto;line-height:1.4;margin:0}.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-interval{font-size:12px;line-height:1.4;margin:0}.mo76-layout.is-k3 .mo76-k3-capacity .mo76-cap-primary{flex:1 1 auto;gap:3px 6px}.mo76-layout.is-k3 .mo76-cap-meta{flex:0 0 auto}.mo76-layout.is-k3 .mo76-cap-meta[open]{flex:1 1 100%}.mo76-layout.is-k3 .mo76-cap-meta>summary{white-space:normal}.mo76-layout.is-k3 .mo76-k3-day-heading{display:flex;align-items:baseline;justify-content:space-between;gap:4px;flex-wrap:wrap;margin:10px 0 6px}.mo76-layout.is-k3 .mo76-k3-day-heading small{font-size:12px;font-weight:400;line-height:1.4;margin:0}

/* Controlled long-queue compatibility: retain every sorted row; scroll only the wide K3 queue. */
@container(min-width:901px){.mo76-layout.is-k3 .mo76-queue-box{display:flex;flex-direction:column;max-height:max(300px,calc(100dvh - 360px))}.mo76-layout.is-k3 .mo76-queue-box>header,.mo76-layout.is-k3 .mo76-queue-box>p{flex:0 0 auto}.mo76-layout.is-k3 .mo76-queue-list{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;grid-auto-rows:max-content;align-content:start}}

/* Six complete intervals; order fill and server-clock outline are independent. */
.mo76-k3-day-table tbody tr.is-current>*{background:var(--ui-brand-soft)}
.mo76-k3-day-table tbody tr.is-now{outline:2px solid var(--ui-warning,#a65f00);outline-offset:-2px}
.mo76-k3-slot-marker{display:block;font-size:10px;font-weight:700;line-height:1.35;margin-top:3px}
.mo76-k3-slot-marker[hidden]{display:none!important}
.mo76-k3-slot-legend{font-size:12px;line-height:1.4;color:var(--ui-muted);margin:4px 0 7px}
