/* finesse · register=product · sub=ai-console · A=forest+warm-paper
 * B=system-CJK-700/400 · C=canvas-dominant-fixed-three-column / mobile-workfaces
 * D=state-transitions · E=楠溪住游接待 · SOUL=6 SPECTACLE=2 DENSITY=6 */
:root {
  --on-accent:#fcfcf8;
  --rail:#203e35; --accent:#315e48; --accent-hover:#274d3a; --accent-soft:#e5ede3;
  --page:#f1f2ed; --paper:#fcfcf8; --inset:#f5f6f0; --ink:#243d33; --muted:#626f63;
  --border:rgba(36,61,51,.12); --border-strong:rgba(36,61,51,.24);
  --line:var(--border); --surface:var(--paper);
  --rail-ink:#edf2e9; --rail-muted:#b4c6ba; --rail-line:rgba(237,242,233,.15); --rail-hover:rgba(237,242,233,.08);
  --needs:#865d24; --needs-soft:#f5ecd9; --rain:#3a657b; --rain-soft:#e9f1f4;
  --danger:#993f35; --danger-soft:#faeee8; --focus:rgba(49,94,72,.24);
  --guide-ring:#d3b653; --guide-glow:rgba(211,182,83,.2); --guide-dot:#efd16c; --guide-dot-shadow:rgba(60,45,16,.3); --guide-shadow:0 24px 80px rgba(23,46,35,.26);
  --shadow:0 1px 3px rgba(36,61,51,.04); --modal-shadow:0 24px 90px rgba(23,46,35,.2); --scrim:rgba(18,36,28,.42);
  --radius-sm:6px; --radius:10px; --radius-lg:16px; --radius-dialog:20px;
  --sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --view-height:100dvh; --view-top:0px; --head-height:72px;
}
/* Image settings inherit all three existing themes; no decorative image or new palette. */
.integration-entry { display:grid; gap:8px; margin:20px 0; }
.integration-entry .button { justify-self:start; }
.integration-status { background:var(--inset); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:24px; }
.integration-status span { display:block; margin:4px 0 8px; color:var(--accent); font-weight:600; }
.integration-status p,.image-details p { color:var(--muted); font-size:13px; }
.image-feature-toggle { width:100%; min-height:72px; margin:-8px 0 20px; padding:12px 14px; display:flex; align-items:center; justify-content:space-between; gap:16px; border:1px solid var(--border-strong); border-radius:var(--radius); text-align:left; background:var(--paper); }
.image-feature-toggle:hover { background:var(--inset); }
.image-feature-toggle>span { min-width:0; }
.image-feature-toggle strong,.image-feature-toggle small { display:block; }
.image-feature-toggle small { margin-top:4px; color:var(--muted); font-size:11px; line-height:1.45; }
.image-feature-toggle>i { position:relative; flex:none; width:46px; height:26px; border-radius:999px; background:var(--border-strong); transition:background .16s; }
.image-feature-toggle>i b { position:absolute; width:20px; height:20px; left:3px; top:3px; border-radius:50%; background:var(--paper); box-shadow:var(--shadow); transition:transform .16s; }
.image-feature-toggle[aria-checked="true"]>i { background:var(--accent); }
.image-feature-toggle[aria-checked="true"]>i b { transform:translateX(20px); }
.image-security,.image-details { margin-top:20px; }
.image-details summary { min-height:44px; cursor:pointer; font-weight:600; }
.image-details p { margin-bottom:12px; }
.image-entry-row { display:flex; flex-wrap:wrap; align-items:center; gap:12px; margin:-8px 0 24px; }
.image-consent { margin:20px 0 12px; align-items:flex-start; }
.image-history { margin-top:24px; display:grid; gap:16px; min-width:0; }
.image-result { border-top:1px solid var(--border); padding-top:16px; min-width:0; }
.image-result .section-heading { margin-bottom:12px; }
.image-result p { color:var(--muted); margin-bottom:12px; }
.image-result figure { margin:0 0 12px; }
.poster-frame { position:relative; width:min(100%,432px); aspect-ratio:3/4; margin-inline:auto; overflow:hidden; border-radius:var(--radius); background:var(--inset); }
.poster-frame::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(18,36,28,.72),rgba(18,36,28,.12) 54%,transparent 68%); pointer-events:none; }
.poster-frame img { display:block; width:100%; height:100%; object-fit:cover; }
.poster-title { position:absolute; z-index:1; left:8%; top:7%; color:#f5f3e8; text-shadow:0 4px 18px rgba(12,29,22,.5); pointer-events:none; }
.poster-title span,.poster-title i { display:block; font-size:clamp(10px,2.4vw,15px); font-style:normal; font-weight:700; letter-spacing:.08em; }
.poster-title strong { display:block; margin:8px 0 12px; font-family:"STKaiti","KaiTi","PingFang SC","Microsoft YaHei",sans-serif; font-size:clamp(42px,11vw,66px); line-height:1.05; letter-spacing:.02em; }
.poster-title i { width:max-content; padding-top:10px; border-top:4px solid #efd16c; font-size:clamp(8px,1.8vw,11px); }
.poster-stamp { position:absolute; z-index:2; right:-12px; bottom:-8px; width:154px; min-height:72px; display:grid; place-items:center; padding:10px 16px 15px; transform:rotate(-5deg); color:#31483c; background:#d9bf92; border:1px solid rgba(49,72,60,.35); box-shadow:0 5px 18px rgba(18,36,28,.2); }
.poster-stamp small,.poster-stamp strong { display:block; line-height:1.15; letter-spacing:.08em; }
.poster-stamp small { font-size:8px; }
.poster-stamp strong { font-family:"STKaiti","KaiTi","PingFang SC",sans-serif; font-size:17px; }
.image-result figcaption { color:var(--muted); font-size:12px; padding-top:8px; }
.image-result small { color:var(--muted); }
/* finesse · component: image-progress-and-preview · register=product · tokens: inherited */
.image-progress { padding:16px; margin-bottom:14px; border-radius:var(--radius); background:var(--inset); }
.image-progress-heading { display:flex; flex-wrap:wrap; gap:8px; justify-content:space-between; font-size:13px; }
.image-progress-heading span { color:var(--muted); }
.image-progress progress { display:block; width:100%; height:9px; margin:16px 0; border:0; border-radius:8px; overflow:hidden; background:var(--border); accent-color:var(--accent); }
.image-progress progress::-webkit-progress-bar { background:var(--border); }
.image-progress progress:indeterminate { background:linear-gradient(90deg,var(--border) 0 25%,var(--accent) 40% 60%,var(--border) 75%); background-size:200% 100%; animation:image-working 2s linear infinite; }
.image-progress progress:indeterminate::-webkit-progress-bar { background:transparent; }
.image-progress ol { display:flex; justify-content:space-between; gap:8px; padding:0; list-style:none; font-size:12px; color:var(--muted); }
.image-progress [aria-current=step] { color:var(--ink); font-weight:700; }
.image-progress p { font-size:12px; margin:12px 0 0; }
@keyframes image-working { to { background-position:-200% 0; } }
[data-poster-preview] { cursor:zoom-in; outline:2px solid transparent; outline-offset:4px; }
[data-poster-preview]:focus-visible { outline-color:var(--accent); }
[data-poster-preview]:active { transform:translateY(1px); }
.poster-frame { container-type:inline-size; }
.poster-title span { font-size:3.5cqw; }
.poster-title strong { font-size:15.3cqw; margin:2cqw 0 2.8cqw; }
.poster-title i { font-size:2.55cqw; padding-top:2.3cqw; border-top-width:1cqw; }
.poster-stamp { width:35.6cqw; min-height:16.7cqw; padding:2.3cqw 3.7cqw 3.5cqw; right:-2.8cqw; bottom:-1.9cqw; }
.poster-stamp small { font-size:1.85cqw; }
.poster-stamp strong { font-size:3.94cqw; }
.shared-posters { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr); gap:24px; align-items:start; padding:24px; margin:20px 0 24px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.shared-posters h2 { font-size:20px; margin:0 0 10px; }
.shared-posters p { font-size:13px; line-height:1.7; margin:0 0 12px; }
.shared-posters small { color:var(--muted); font-size:11px; }
.shared-poster-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.shared-poster-grid .poster-frame { width:100%; }
.shared-poster-grid .poster-frame:only-child { grid-column:1/-1; max-width:240px; }
.poster-viewer { width:min(96vw,780px); max-width:96vw; max-height:96dvh; margin:auto; padding:16px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); color:var(--ink); overflow:auto; }
.poster-viewer::backdrop { background:rgba(12,29,22,.82); }
.poster-viewer-toolbar { display:flex; gap:12px; justify-content:space-between; align-items:center; font-size:12px; margin-bottom:12px; }
.poster-viewer .button { min-height:44px; white-space:nowrap; }
.poster-viewer-content .poster-frame { width:min(100%,calc((96dvh - 145px)*.75)); max-width:660px; border-radius:8px; }
.poster-viewer>p { margin:12px 0 0; text-align:center; font-size:11px; color:var(--muted); }
.image-result .button:disabled { opacity:.5; cursor:not-allowed; }
@media (hover:hover) { [data-poster-preview]:hover { box-shadow:0 0 0 2px var(--accent); } }
@media (max-width:560px) { .shared-posters { grid-template-columns:minmax(0,1fr); padding:18px; gap:16px; } .shared-poster-grid .poster-frame:only-child { max-width:220px; } }
@media (prefers-reduced-motion:reduce) { .image-progress progress:indeterminate { animation:none; background-size:100% 100%; } }
@media print { .poster-viewer { display:none; } .shared-posters { break-inside:avoid; } }
.management-note { margin:0 0 16px; }
.customer-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:auto; }
.customer-actions .button { flex:1; min-width:64px; }
.customer-order { display:flex; justify-content:flex-end; gap:20px; margin-top:8px; border-top:1px solid var(--border); }
#image-settings-form .field input { width:100%; }
@media(max-width:680px) {
  dialog:has(#image-settings-form),dialog:has(#image-generate-form) { height:var(--view-height); max-height:var(--view-height); border-radius:0; margin:0; }
  #image-settings-form,#image-generate-form { height:100%; max-height:var(--view-height); }
  #image-settings-form .dialog-body,#image-generate-form .dialog-body { flex:1; }
  #image-settings-form input,#image-generate-form textarea { font-size:16px; }
  .image-entry-row { margin:0 0 16px; }
}
* { box-sizing:border-box; }
html,body { margin:0; height:100%; overflow-x:clip; }
body { font:14px/1.6 var(--sans); color:var(--ink); background:var(--page); -webkit-font-smoothing:antialiased; }
body[data-page="workbench"] { overflow-y:hidden; position:fixed; inset:0; }
button,input,textarea,select { font:inherit; }
button,a,input,textarea,select { -webkit-tap-highlight-color:transparent; }
button,a { touch-action:manipulation; }
button { color:inherit; cursor:pointer; }
button,a.button { white-space:nowrap; }
button:disabled { opacity:.48; cursor:not-allowed; }
button:active:not(:disabled),a.button:active { transform:translateY(1px); }
a { color:var(--accent); text-underline-offset:4px; }
button { border:0; background:none; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
button,input,select,textarea { border-radius:var(--radius-sm); }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { min-width:0; overflow-wrap:anywhere; text-wrap:balance; }
h1 { font-size:28px; line-height:1.35; letter-spacing:-.035em; }
h2 { font-size:17px; line-height:1.5; }
h3 { font-size:15px; line-height:1.5; }
p { text-wrap:pretty; }
svg { flex:none; }
.icon { width:21px; height:21px; vertical-align:middle; }
.muted,.small { color:var(--muted); }
.small { font-size:12px; }
.amount,.num,time { font-family:var(--mono); font-variant-numeric:tabular-nums; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:-100px; left:16px; z-index:100; padding:12px; background:var(--paper); }
.skip-link:focus { top:12px; }
.button { min-height:44px; border:1px solid var(--border-strong); border-radius:var(--radius); padding:10px 16px; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-weight:600; text-decoration:none; line-height:1.3; transition:background .15s,opacity .15s; }
.button.primary { background:var(--accent); color:var(--on-accent); border-color:transparent; }
.button.primary:hover:not(:disabled) { background:var(--accent-hover); }
.button.quiet { background:var(--paper); }
.button.quiet:hover:not(:disabled),.icon-button:hover:not(:disabled) { background:var(--accent-soft); }
.button.subtle { border-color:transparent; background:var(--accent-soft); }
.button.danger,.danger-text { color:var(--danger); }
.button.full { width:100%; }
.icon-button { width:44px; height:44px; display:inline-grid; place-items:center; flex:none; border-radius:var(--radius); }
.text-button { min-height:44px; padding:9px 0; text-decoration:underline; text-underline-offset:4px; font-size:13px; font-weight:600; text-align:left; }
.button-row { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.brand { display:flex; align-items:center; gap:11px; text-decoration:none; color:inherit; min-width:0; }
.brand-mark { width:40px; height:44px; border:1px solid currentColor; border-color:var(--border-strong); border-radius:14px; display:inline-grid; place-items:center; font-size:27px; font-family:var(--sans); flex:none; }
.brand strong { display:block; font-size:17px; letter-spacing:.04em; }
.brand small { display:block; margin-top:3px; font-size:9px; letter-spacing:.19em; }
.boot-state { min-height:100dvh; display:flex; flex-direction:column; gap:18px; align-items:center; justify-content:center; padding:28px; text-align:center; }
.boot-state h1 { font-size:22px; }
.shell { display:grid; grid-template-columns:240px minmax(0,1fr) 316px; height:var(--view-height); position:relative; top:var(--view-top); }
.rail { background:var(--rail); color:var(--rail-ink); display:flex; flex-direction:column; min-width:0; min-height:0; }
.rail-brand { height:var(--head-height); min-height:var(--head-height); padding:0 20px; border-bottom:1px solid var(--rail-line); }
.rail-brand .brand-mark { border-color:var(--rail-line); }
.rail-brand small { color:var(--rail-muted); }
.rail-fixed { flex:none; padding:24px 12px 16px; }
.new-button { background:var(--accent-soft); color:var(--ink); width:calc(100% - 8px); margin:0 4px 20px; }
.desktop-nav { display:grid; gap:4px; max-height:45dvh; overflow-y:auto; overscroll-behavior:contain; }
.desktop-nav button { min-height:48px; text-align:left; display:flex; align-items:center; gap:12px; padding:10px 15px; color:var(--rail-muted); border-radius:var(--radius); }
.desktop-nav button[aria-current="page"] { color:var(--rail-ink); background:var(--rail-hover); font-weight:600; }
.desktop-nav button:hover { background:var(--rail-hover); }
.rail-scroll { min-height:0; flex:1; overflow:auto; overscroll-behavior:contain; padding:0 16px 24px; scrollbar-width:thin; }
.rail-section-heading { display:flex; align-items:center; justify-content:space-between; margin:20px 8px 8px; color:var(--rail-muted); font-size:12px; }
.rail-section-heading span:first-child { color:var(--rail-ink); font-weight:700; }
.current-reception { position:relative; margin-top:16px; padding:15px 14px 13px; border:1px solid var(--rail-line); border-radius:var(--radius); background:color-mix(in srgb,var(--rail-hover) 66%,transparent); }
.current-reception::before { content:""; position:absolute; left:-1px; top:16px; bottom:16px; width:3px; border-radius:0 3px 3px 0; background:var(--accent); }
.current-reception-top { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--rail-muted); font-size:11px; }
.current-reception-top strong { max-width:94px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:3px 7px; border-radius:999px; background:var(--rail-hover); color:var(--rail-ink); font-size:11px; }
.current-reception h2 { margin-top:10px; font-size:17px; line-height:1.25; overflow-wrap:anywhere; }
.current-reception p { margin-top:4px; color:var(--rail-muted); font-size:12px; line-height:1.45; }
.current-reception .text-button { display:inline-flex; align-items:center; gap:6px; min-height:36px; margin-top:7px; color:var(--rail-ink); }
.current-reception .text-button svg { width:15px; height:15px; }
.current-reception.is-empty { padding-left:16px; }
.current-reception.is-empty::before { display:none; }
.guest-tags { display:flex; flex-wrap:wrap; gap:5px; margin-top:14px; }
.guest-tags span { font-size:11px; border:1px solid var(--rail-line); padding:2px 6px; border-radius:4px; color:var(--rail-muted); }
.reception-list { list-style:none; padding:0; margin:0; }
.reception-list li + li { border-top:1px solid var(--rail-line); }
.reception-list button { min-height:50px; width:100%; text-align:left; padding:8px; border-radius:10px; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.reception-list button:hover { background:var(--rail-hover); }
.reception-list-copy { min-width:0; }
.reception-list strong { font-size:13px; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.reception-list small { display:block; color:var(--rail-muted); margin-top:2px; font-size:11px; }
.reception-list-status { flex:none; max-width:74px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--rail-muted); font-size:11px; }
.rail-all-receptions { width:100%; min-height:44px; margin-top:8px; padding:8px; display:flex; align-items:center; gap:8px; border-top:1px solid var(--rail-line); color:var(--rail-ink); text-align:left; font-size:12px; font-weight:700; }
.rail-all-receptions svg { width:16px; height:16px; }
.rail-all-receptions small { margin-left:auto; color:var(--rail-muted); font-weight:500; }
.rail-empty { padding:12px 4px; color:var(--rail-muted); font-size:13px; }
.rail-footer { flex:none; min-height:64px; padding:10px 16px; border-top:1px solid var(--rail-line); display:flex; gap:8px; align-items:center; }
.rail-footer>div { min-width:0; flex:1; }
.rail-footer strong { display:block; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rail-footer small { display:block; color:var(--rail-muted); font-size:10px; }
.rail-footer .icon-button:hover { background:var(--rail-hover); }
.workspace,.agent-panel { display:flex; flex-direction:column; min-width:0; min-height:0; }
.topbar,.agent-heading { height:var(--head-height); min-height:var(--head-height); display:flex; align-items:center; padding:0 28px; border-bottom:1px solid var(--border); background:var(--paper); gap:12px; }
.topbar { justify-content:space-between; font-size:12px; }
.topbar>div { display:flex; align-items:center; gap:13px; }
.topbar strong { font-size:13px; }
.workspace-body { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:30px 28px 40px; scrollbar-gutter:stable; }
.trip-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; }
.trip-heading h1 { margin:8px 0 10px; }
.trip-heading p { color:var(--muted); font-size:13px; }
.trip-heading .heading-label { font-size:12px; color:var(--muted); }
.trip-heading>.button { align-self:center; }
.weather-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:15px 18px; background:var(--accent-soft); border-radius:var(--radius); margin-bottom:24px; }
.weather-bar>div { display:flex; align-items:center; gap:12px; }
.weather-bar p { font-size:12px; color:var(--muted); }
.weather-bar.rain { background:var(--rain-soft); color:var(--rain); }
.weather-bar .button { background:transparent; font-size:12px; padding-inline:12px; }
.artifact { background:var(--paper); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow); overflow:clip; }
.artifact-tabs { display:flex; gap:20px; padding:0 24px; border-bottom:1px solid var(--border); }
.artifact-tabs button { min-height:52px; padding:12px 0; color:var(--muted); position:relative; font-size:13px; }
.artifact-tabs button[aria-selected="true"] { color:var(--accent); font-weight:700; }
.artifact-tabs button[aria-selected="true"]::after { content:""; position:absolute; height:3px; background:var(--accent); bottom:0; left:0; right:0; border-radius:4px 4px 0 0; }
.artifact-body { padding:24px; }
.section-caption { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); }
.section-caption span { margin-left:auto; font-size:10px; }
.route-overview { background:var(--inset); padding:16px; border-radius:var(--radius); margin-bottom:24px; }
.route-overview ol { margin:16px 0 0; padding:0; list-style:none; display:flex; gap:12px 18px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; padding-bottom:8px; }
.route-overview li { flex:0 0 115px; min-width:0; position:relative; display:flex; align-items:flex-start; flex-direction:column; gap:6px; font-size:12px; }
.route-overview li:not(:last-child)::before { content:""; position:absolute; top:12px; left:30px; width:101px; border-top:1px dashed var(--border-strong); }
.route-overview li>span:not(.route-dot) { min-height:36px; }
.route-overview small { font-size:10px; color:var(--muted); }
.route-dot { width:25px; height:25px; border:1px solid var(--accent); display:grid; place-items:center; border-radius:50%; font:11px var(--mono); color:var(--accent); }
.route-dot.locked { background:var(--accent-soft); }
.route-dot .icon { width:14px; height:14px; }
.day-section+.day-section { margin-top:26px; padding-top:24px; border-top:1px solid var(--border); }
.day-header { display:flex; align-items:center; gap:12px; margin:12px 0 18px; }
.day-number { font:700 24px var(--mono); color:var(--accent); }
.day-header h2 { font-size:16px; }
.day-header p { font-size:12px; color:var(--muted); }
.itinerary-list { list-style:none; margin:0; padding:0; }
.itinerary-item { display:grid; grid-template-columns:46px 32px minmax(0,1fr) 82px; gap:10px; padding:17px 0; position:relative; }
.itinerary-item time { padding-top:5px; font-size:12px; color:var(--muted); }
.item-icon { width:32px; height:36px; display:grid; place-items:center; background:var(--inset); border-radius:var(--radius); color:var(--accent); }
.item-icon .icon { width:19px; height:19px; }
.item-body h3 { font-size:14px; }
.item-body p { margin-top:5px; font-size:12px; color:var(--muted); }
.item-body .item-note { white-space:pre-wrap; overflow-wrap:anywhere; }
.inline-tag { display:inline-block; font-size:10px; margin-left:6px; color:var(--accent); font-weight:400; }
.item-end { display:flex; align-items:flex-end; flex-direction:column; gap:3px; }
.item-end strong { font-size:12px; font-weight:500; white-space:nowrap; }
.item-end small { font-size:10px; color:var(--muted); }
.lock-button { width:44px; height:44px; margin-top:3px; color:var(--muted); }
.lock-button.selected { color:var(--accent); background:var(--accent-soft); }
.add-arrangement { margin-top:14px; font-size:12px; }
.section-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.section-heading>span { color:var(--muted); font-size:12px; }
.budget-section { margin-top:30px; border-top:1px solid var(--border); padding-top:24px; }
.budget-total { display:flex; justify-content:space-between; align-items:center; margin:18px 0 12px; }
.budget-total>span { font-size:13px; }
.budget-total>strong { font:600 26px var(--mono); letter-spacing:-.03em; }
.budget-breakdown { display:grid; gap:8px; padding:14px 0; }
.budget-breakdown>div { display:flex; justify-content:space-between; gap:12px; font-size:12px; }
.budget-breakdown strong { font:500 12px var(--mono); }
.budget-breakdown small { font:11px var(--sans); color:var(--muted); }
.notice-text { display:flex; gap:8px; align-items:flex-start; font-size:12px; margin:14px 0; }
.notice-text .icon { width:16px; height:19px; }
.data-note { font-size:11px; color:var(--muted); margin-top:20px; }
.empty-state { padding:36px 20px; text-align:center; max-width:520px; margin:auto; }
.empty-state>span { display:grid; place-items:center; width:56px; height:60px; border-radius:18px; background:var(--accent-soft); color:var(--accent); margin:0 auto 18px; }
.empty-state h2 { margin-bottom:10px; font-size:20px; }
.empty-state p { color:var(--muted); font-size:13px; margin-bottom:22px; }
.empty-state .button-row { justify-content:center; }
.welcome-state { padding-top:60px; }
.workspace-empty { display:flex; align-items:center; min-height:75%; }
.agent-panel { border-left:1px solid var(--border); background:var(--paper); }
.agent-heading { padding:0 20px; gap:10px; }
.assistant-mark { background:var(--accent-soft); color:var(--accent); border-radius:var(--radius); width:36px; height:38px; display:grid; place-items:center; }
.agent-heading h2 { font-size:16px; }
.agent-heading p { color:var(--muted); font-size:10px; margin-top:2px; }
.agent-tabs { flex:none; display:flex; padding:0 18px; gap:20px; border-bottom:1px solid var(--border); }
.agent-tabs button { min-height:44px; font-size:12px; padding:9px 0; color:var(--muted); }
.agent-tabs button[aria-selected="true"] { color:var(--accent); font-weight:700; }
.agent-scroll { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:20px; scrollbar-width:thin; }
.agent-intro { padding:12px 0 28px; }
.agent-intro h3 { font-size:15px; margin-bottom:8px; }
.agent-intro p { font-size:12px; color:var(--muted); }
.message { margin-bottom:23px; }
.message-header { display:flex; gap:10px; align-items:center; margin-bottom:8px; }
.message-header strong { font-size:11px; }
.message-header time { color:var(--muted); font-size:10px; }
.message-body { white-space:pre-wrap; overflow-wrap:anywhere; font-size:13px; line-height:1.85; }
.message.user .message-body { padding:12px; background:var(--inset); border-radius:var(--radius); }
.message .text-button { font-size:11px; min-height:44px; padding:8px 0; color:var(--muted); }
.message-status { color:var(--needs); font-size:11px; margin-top:6px; }
.run-status { border:1px solid var(--border); border-radius:var(--radius); padding:12px; font-size:12px; margin-bottom:20px; }
.run-status-line { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.run-status p { font-size:11px; color:var(--muted); margin-top:6px; }
.run-status.failed { background:var(--danger-soft); border-color:transparent; }
.run-status.stopping,.run-status.stopped { background:var(--needs-soft); border-color:transparent; }
.run-error { color:var(--danger) !important; white-space:pre-wrap; overflow-wrap:anywhere; }
.run-events { margin:0; padding:0 0 6px; list-style:none; }
.run-event { display:grid; grid-template-columns:22px minmax(0,1fr); gap:9px; padding:0 0 18px; position:relative; font-size:12px; }
.run-event:not(:last-child)::before { content:""; position:absolute; top:25px; bottom:5px; left:10px; border-left:1px solid var(--border); }
.run-event>.icon { padding:3px; width:22px; height:22px; background:var(--accent-soft); color:var(--accent); border-radius:50%; }
.run-event time { font-size:10px; color:var(--muted); display:block; margin-top:3px; }
.run-event details { margin-top:4px; }
.run-event summary { cursor:pointer; min-height:44px; display:flex; align-items:center; text-decoration:underline; color:var(--muted); font-size:11px; }
.run-event pre { white-space:pre-wrap; overflow-wrap:anywhere; font:10px/1.6 var(--mono); max-height:180px; overflow:auto; background:var(--inset); padding:8px; }
.approval-card { background:var(--needs-soft); padding:18px 16px; border-radius:var(--radius); margin:12px 0 20px; }
.approval-card h3 { display:flex; align-items:center; gap:9px; font-size:14px; }
.approval-card>p { font-size:12px; color:var(--muted); margin-top:10px; }
.approval-card .button { margin-top:12px; font-size:12px; width:100%; }
.approval-card .check-row { margin-top:12px; font-size:11px; }
.approval-card ul { margin:12px 0; padding-left:16px; font-size:11px; }
.approval-card li+li { margin-top:5px; }
.approval-card .text-button { font-size:12px; }
.approval-card .published-info { font-size:11px; }
.run-receipt { padding:10px 0; margin-top:12px; border-top:1px solid var(--border); font-size:10px; color:var(--muted); }
.composer { flex:none; padding:14px 18px 16px; border-top:1px solid var(--border); background:var(--paper); }
.composer label { display:block; font-size:11px; color:var(--muted); margin-bottom:6px; }
.composer textarea { width:100%; resize:none; min-height:66px; max-height:145px; background:var(--inset); font-size:14px; padding:10px; border:1px solid var(--border-strong); }
.composer-actions { display:flex; gap:12px; justify-content:space-between; margin-top:9px; }
.composer-actions .button { font-size:12px; }
.composer-hint { margin-top:7px; font-size:10px; color:var(--muted); }
.composer-error { color:var(--danger); font-size:11px; margin:5px 0; }
.new-content { display:none; width:100%; min-height:44px; color:var(--accent); background:var(--accent-soft); font-size:11px; flex:none; }
.new-content.visible { display:block; }
.checklist-intro { font-size:13px; color:var(--muted); margin:10px 0 20px; }
.checklist { list-style:none; padding:0; margin:0; }
.checklist li { padding:14px 0; border-bottom:1px solid var(--border); }
.check-row { display:flex; align-items:flex-start; gap:10px; cursor:pointer; min-height:44px; }
input[type="checkbox"] { width:18px; height:18px; min-height:18px; margin:3px 0; flex:none; accent-color:var(--accent); }
.check-row strong { font-size:13px; font-weight:500; }
.check-row small { display:block; color:var(--muted); font-size:11px; margin-top:4px; }
.check-row input:checked+span strong { color:var(--muted); text-decoration:line-through; }
.export-row { margin-top:20px; }
.share-notice { padding:16px; background:var(--accent-soft); border-radius:var(--radius); margin-bottom:20px; }
.share-notice p { font-size:12px; margin:8px 0 12px; color:var(--muted); }
.diff-note { border-radius:var(--radius); padding:12px 14px; background:var(--rain-soft); color:var(--rain); font-size:12px; margin-bottom:20px; }
.diff-note p+p { margin-top:6px; }
.diff-note summary { min-height:44px; display:flex; align-items:center; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.diff-note ul { padding-left:18px; margin-top:0; }
.diff-note li { margin-bottom:10px; }
.diff-note small { display:block; }
.issue-box { margin:0 0 20px; padding:14px 16px; border:1px solid var(--border); border-radius:var(--radius); font-size:12px; }
.issue-box.blocking { background:var(--danger-soft); color:var(--danger); border:0; }
.issue-box ul { padding-left:18px; margin-bottom:0; }
.mobile-head,.mobile-dock,.mobile-run { display:none; }
dialog { width:min(600px,calc(100% - 32px)); max-height:min(90dvh,850px); border:1px solid var(--border); padding:0; border-radius:var(--radius-dialog); color:var(--ink); background:var(--paper); box-shadow:var(--modal-shadow); overflow:hidden; }
dialog::backdrop { background:var(--scrim); }
.dialog-frame { display:flex; flex-direction:column; max-height:min(90dvh,850px); }
.dialog-header { display:flex; justify-content:space-between; align-items:center; padding:20px 24px 16px; border-bottom:1px solid var(--border); flex:none; }
.dialog-header h2 { font-size:20px; }
.dialog-body { padding:20px 24px; overflow:auto; min-height:0; overscroll-behavior:contain; }
.dialog-footer { padding:16px 24px; display:flex; justify-content:flex-end; gap:10px; border-top:1px solid var(--border); background:var(--paper); flex:none; }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.form-grid .wide { grid-column:1/-1; }
.field { display:flex; flex-direction:column; gap:6px; font-size:12px; margin-bottom:16px; min-width:0; }
.form-grid .field { margin:0; }
.field input,.field select,.field textarea { width:100%; min-width:0; max-width:100%; min-height:44px; padding:10px 12px; background:var(--paper); border:1px solid var(--border-strong); color:var(--ink); font-size:16px; }
.field input[type="date"] { display:block; appearance:none; -webkit-appearance:none; text-align:left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align:left; min-height:1.5em; }
.field input[type="date"]::-webkit-datetime-edit { padding:0; }
.field textarea { resize:vertical; min-height:85px; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:1; }
.field input:focus,.field textarea:focus,.field select:focus { outline:2px solid var(--focus); border-color:var(--accent); outline-offset:1px; }
.field input[aria-invalid="true"] { border-color:var(--danger); }
.field small { color:var(--muted); font-size:11px; }
.document-tool-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:4px 0 16px; padding:12px 14px; border:1px solid var(--border); border-radius:14px; background:var(--accent-soft); }
.document-tool-row .button { min-height:40px; }
.document-tool-row>span { color:var(--muted); font-size:12px; }
.document-recognition { display:grid; grid-template-columns:42px minmax(0,1fr); gap:12px; align-items:center; margin:12px 0 4px; padding:14px; border:1px solid var(--border); border-radius:15px; background:var(--paper); }
.document-recognition[hidden] { display:none; }
.recognition-orb { width:42px; height:42px; display:grid; place-items:center; border-radius:14px 14px 14px 5px; color:var(--accent); background:var(--accent-soft); }
.recognition-orb .icon { width:22px; height:22px; }
.document-recognition strong,.document-recognition small { display:block; }
.document-recognition small { margin-top:3px; color:var(--muted); line-height:1.5; }
.recognition-track { display:block; height:3px; margin-top:9px; overflow:hidden; border-radius:99px; background:var(--line); }
.recognition-track i { display:block; width:36%; height:100%; border-radius:inherit; background:var(--accent); transform:translateX(-120%); }
.document-recognition[data-state="reading"] .recognition-track i { animation:recognition-scan 1.05s ease-in-out infinite; }
.document-recognition[data-state="ready"] { border-color:var(--accent); }
.document-recognition[data-state="ready"] .recognition-track i { width:100%; transform:none; }
.document-recognition[data-state="error"] { border-color:var(--danger); }
.document-recognition[data-state="error"] .recognition-orb { color:var(--danger); }
@keyframes recognition-scan { 0% { transform:translateX(-120%); } 70%,100% { transform:translateX(310%); } }
.form-error { color:var(--danger); font-size:12px; white-space:pre-wrap; margin-top:14px; }
.form-lead { color:var(--muted); font-size:12px; margin-bottom:20px; }
.form-subheading { margin:22px 0 12px; font-size:14px; }
.dialog-body>.check-row { font-size:13px; }
.toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); background:var(--rail); color:var(--rail-ink); border-radius:var(--radius); box-shadow:var(--shadow); padding:12px 18px; max-width:calc(100% - 32px); z-index:90; font-size:13px; pointer-events:none; opacity:0; transition:opacity .16s; text-align:center; }
.toast.visible { opacity:1; }
.login-page { min-height:100dvh; display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,1fr); }
.login-story { background:var(--rail); color:var(--rail-ink); padding:44px 48px; display:flex; flex-direction:column; justify-content:space-between; }
.login-story .brand-mark { border-color:var(--rail-line); }
.login-story .brand small { color:var(--rail-muted); }
.login-statement { max-width:440px; padding:60px 0; }
.login-statement h1 { font-size:38px; line-height:1.5; letter-spacing:-.04em; }
.login-statement p { color:var(--rail-muted); font-size:15px; line-height:1.9; margin-top:24px; max-width:330px; }
.login-story footer { color:var(--rail-muted); font-size:12px; }
.login-form-side { display:flex; align-items:center; justify-content:center; padding:40px; }
.login-form { width:100%; max-width:340px; }
.login-form h2 { font-size:25px; margin-bottom:8px; }
.login-form>p { font-size:13px; color:var(--muted); margin-bottom:30px; }
.login-form>.experience-prefill { margin:-16px 0 20px; padding:11px 12px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--inset); color:var(--muted); line-height:1.65; }
.login-form>.experience-prefill[data-status="ready"] { border-color:color-mix(in srgb,var(--accent) 26%,var(--border)); background:var(--accent-soft); color:var(--ink); }
.login-form>.experience-prefill[data-status="error"] { border-color:color-mix(in srgb,var(--danger) 28%,var(--border)); background:var(--danger-soft); color:var(--danger); }
.login-form .field { margin-bottom:20px; }
.password-wrap { display:flex; position:relative; }
.password-wrap input { padding-right:54px; }
.password-wrap button { position:absolute; right:4px; top:0; min-width:48px; min-height:44px; font-size:12px; }
.login-form .button { margin-top:7px; }
.login-form>.auth-error:not(:empty) { color:var(--danger); background:var(--danger-soft); border:1px solid color-mix(in srgb,var(--danger) 28%,transparent); border-radius:var(--radius-sm); padding:10px 12px; margin:-4px 0 12px; font-weight:600; }
.login-form input[aria-invalid="true"] { border-color:var(--danger); box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 12%,transparent); }
.login-footnote { font-size:11px; color:var(--muted); line-height:1.9; margin-top:24px; }
.login-mobile-brand { display:none; }
.share-page { max-width:820px; margin:auto; padding:40px 28px 60px; }
.share-header { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:44px; }
.share-header .brand strong { font-size:15px; }
.share-heading { margin-bottom:24px; }
.share-heading h1 { font-size:30px; margin:14px 0; }
.share-heading p { color:var(--muted); font-size:13px; }
.share-page .artifact-body { padding:28px; }
.share-page footer { font-size:11px; color:var(--muted); margin-top:24px; }
.share-page .share-summary { padding:16px; background:var(--accent-soft); font-size:13px; margin-top:20px; border-radius:var(--radius); white-space:pre-wrap; }
@media (min-width:1600px) {
  .workspace-body { padding:34px 36px 48px; }
  .artifact-body { padding:28px; }
  .itinerary-item { grid-template-columns:50px 36px minmax(0,1fr) 104px; gap:14px; }
}
@media (max-width:1250px) and (min-width:1081px) {
  .shell { grid-template-columns:220px minmax(0,1fr) 300px; }
  .workspace-body { padding:24px 18px 32px; }
  .artifact-body { padding:20px 16px; }
  .topbar { padding:0 18px; }
  .topbar .location { display:none; }
  h1 { font-size:24px; }
  .trip-heading { align-items:flex-start; }
  .trip-heading>.button { padding-inline:10px; font-size:12px; }
}
@media (max-width:1080px) {
  body[data-page="workbench"] #app { height:var(--view-height); position:relative; top:var(--view-top); display:flex; flex-direction:column; }
  .shell { display:block; flex:1; min-height:0; height:auto; top:0; }
  .rail,.workspace,.agent-panel { width:100%; height:100%; }
  body[data-mobile-view="plan"] .rail,body[data-mobile-view="plan"] .agent-panel,
  body[data-mobile-view="agent"] .rail,body[data-mobile-view="agent"] .workspace,
  body[data-mobile-view="guest"] .workspace,body[data-mobile-view="guest"] .agent-panel { display:none; }
  .mobile-head { min-height:58px; flex:none; display:flex; align-items:center; justify-content:space-between; padding:calc(8px + env(safe-area-inset-top)) 16px 8px; gap:10px; background:var(--paper); border-bottom:1px solid var(--border); }
  .mobile-head .brand { gap:8px; }
  .mobile-head .brand-mark { width:28px; height:31px; border-radius:10px; font-size:20px; }
  .mobile-head .brand strong { font-size:15px; }
  .mobile-head .brand small { display:none; }
  .mobile-head .icon-button { width:44px; height:44px; }
  .mobile-head-actions { display:flex; }
  .mobile-dock { display:block; flex:none; background:var(--paper); padding-bottom:env(safe-area-inset-bottom); border-top:1px solid var(--border); }
  .mobile-dock nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
  .mobile-dock button { display:flex; flex-direction:column; gap:3px; justify-content:center; align-items:center; height:60px; font-size:11px; color:var(--muted); border-radius:0; }
  .mobile-dock button[aria-current="page"] { color:var(--accent); background:var(--inset); font-weight:700; }
  .mobile-dock .icon { width:21px; height:21px; }
  .mobile-run { display:flex; align-items:center; justify-content:space-between; padding:5px 14px; min-height:48px; gap:12px; background:var(--accent-soft); font-size:12px; flex:none; }
  .mobile-run .button { min-height:44px; padding:7px 12px; font-size:12px; background:var(--paper); }
  .mobile-run>.text-button { flex:1; min-width:0; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:left; }
  .mobile-run .button .icon { width:15px; height:15px; }
  .mobile-run[hidden] { display:none; }
  .rail-brand,.desktop-nav,.rail-footer { display:none; }
  .rail-fixed { padding:16px 16px 4px; }
  .new-button { width:100%; margin:0; }
  .rail-scroll { padding:0 20px 24px; }
  .current-reception { max-width:740px; }
  .rail-section-heading { margin-top:20px; }
  .reception-list { max-width:740px; }
  .topbar { min-height:48px; height:48px; padding:0 20px; }
  .topbar .location,.topbar .icon-button,.topbar .breadcrumb-group { display:none; }
  .workspace-body { padding:24px 20px 36px; }
  .trip-heading h1 { font-size:26px; }
  .trip-heading>.button { font-size:12px; padding-inline:12px; }
  .artifact-body { padding:22px; }
  .agent-panel { border-left:0; }
  .agent-heading { height:54px; min-height:54px; padding:0 20px; }
  .agent-heading .assistant-mark { width:30px; height:32px; }
  .agent-heading h2 { font-size:14px; }
  .agent-heading p { display:none; }
  .agent-tabs { min-height:44px; }
  .agent-scroll { padding:20px; }
  .message { max-width:720px; }
  .message-body { font-size:14px; }
  .approval-card { max-width:720px; }
  .approval-card .button { width:auto; min-width:180px; }
  .composer { padding:10px 16px 12px; }
  .composer textarea { font-size:16px; min-height:58px; }
  .composer label,.composer-hint { display:none; }
  .composer-actions { margin-top:6px; }
  .composer-actions .button { min-height:44px; font-size:13px; }
  .toast { bottom:calc(78px + env(safe-area-inset-bottom)); }
  body[data-keyboard="true"] .mobile-dock { display:none; }
  body[data-keyboard="true"] .agent-heading,body[data-keyboard="true"] .agent-tabs { display:none; }
  .run-event { max-width:720px; }
  .login-story { padding:32px; }
  .login-statement h1 { font-size:31px; }
}
@media (max-width:640px) {
  .login-page { display:block; min-height:var(--view-height); }
  .login-story { display:none; }
  .login-mobile-brand { display:block; padding:28px 24px 0; }
  .login-form-side { padding:48px 24px 32px; }
  .login-form { max-width:400px; }
  .share-page { padding:24px 16px 40px; }
  .share-header { margin-bottom:30px; }
  .share-header .brand small { font-size:8px; }
  .share-header .button { padding:10px; }
  .share-header .button span { display:none; }
  .share-heading h1 { font-size:25px; }
  .share-page .artifact-body { padding:18px 12px; }
}
@media (max-width:480px) {
  .workspace-body { padding:20px 12px 30px; }
  .trip-heading { gap:10px; margin-bottom:20px; }
  .trip-heading h1 { font-size:22px; }
  .trip-heading .heading-label,.trip-heading p { font-size:11px; }
  .trip-heading>.button { padding:8px; font-size:11px; }
  .trip-heading>.button .icon { display:none; }
  .weather-bar { padding:12px; gap:10px; margin-bottom:18px; }
  .weather-bar>div { gap:8px; }
  .weather-bar h3 { font-size:13px; }
  .weather-bar p { font-size:10px; }
  .weather-bar .button { font-size:11px; padding:8px; }
  .weather-bar .button .icon { display:none; }
  .artifact-tabs { padding:0 14px; gap:20px; }
  .artifact-tabs button { font-size:12px; }
  .artifact-body { padding:18px 12px; }
  .route-overview { padding:12px; }
  .itinerary-item { grid-template-columns:40px minmax(0,1fr) 66px; gap:8px; padding:16px 0; }
  .item-icon { display:none; }
  .item-body h3 { font-size:13px; }
  .item-body p { font-size:11px; }
  .item-end strong { font-size:11px; }
  .item-end small { font-size:9px; }
  .budget-total>strong { font-size:22px; }
  .budget-section h2 { font-size:15px; }
  .budget-breakdown strong { font-size:11px; }
  .budget-breakdown small { display:block; text-align:right; font-size:10px; }
  .agent-scroll { padding:16px; }
  .agent-tabs { padding:0 16px; }
  .approval-card .button { width:100%; min-width:0; }
  .empty-state { padding:32px 12px; }
  .empty-state h2 { font-size:18px; }
  .empty-state .button { font-size:12px; }
  .form-grid { gap:12px; }
  dialog { width:100%; max-width:100%; max-height:calc(var(--view-height) - 12px); margin:auto 0 0; border-radius:20px 20px 0 0; }
  .dialog-frame { max-height:calc(var(--view-height) - 12px); }
  .dialog-header { padding:16px 18px 12px; }
  .dialog-header h2 { font-size:18px; }
  .dialog-body { padding:18px; }
  .dialog-footer { padding:12px 18px calc(12px + env(safe-area-inset-bottom)); }
  .dialog-footer .button { flex:1; font-size:13px; }
  .field { font-size:12px; }
  .field input,.field select,.field textarea { padding:9px; }
}
@media (max-height:700px) and (min-width:1081px) {
  :root { --head-height:60px; }
  .rail-fixed { padding-top:14px; padding-bottom:8px; }
  .new-button { margin-bottom:10px; }
  .desktop-nav button { min-height:44px; }
  .workspace-body { padding-top:20px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; scroll-behavior:auto!important; }
}
@media print {
  .share-header .button,.skip-link,.toast { display:none; }
  body { background:var(--paper); }
  .share-page { max-width:none; padding:0; }
  .artifact { border:0; box-shadow:none; }
  .itinerary-item { break-inside:avoid; }
}

/* V1.1: familiar controls, progressive disclosure, and state-only motion. */
:root[data-theme="river"],.theme-choice[data-theme="river"] {
  --rail:#223d50; --accent:#305d79; --accent-hover:#24485f; --accent-soft:#e2eaf0;
  --page:#edf0f3; --paper:#fafbfc; --inset:#f1f4f6; --ink:#263d4d; --muted:#586b78; --on-accent:#fafbfc;
  --border:rgba(38,61,77,.12); --border-strong:rgba(38,61,77,.26);
  --rail-ink:#ecf2f7; --rail-muted:#b8c9d5; --rail-line:rgba(236,242,247,.15); --rail-hover:rgba(236,242,247,.08);
  --needs:#76591e; --needs-soft:#f3ecda; --rain:#3e607d; --rain-soft:#e6edf5;
  --danger:#993f45; --danger-soft:#faeeee; --focus:rgba(48,93,121,.24);
  --shadow:0 1px 3px rgba(38,61,77,.04); --modal-shadow:0 24px 90px rgba(25,45,60,.2); --scrim:rgba(20,36,48,.42);
}
:root[data-theme="clay"],.theme-choice[data-theme="clay"] {
  --rail:#483a30; --accent:#84573c; --accent-hover:#6d452e; --accent-soft:#eee5da;
  --page:#f1eee8; --paper:#fcfaf6; --inset:#f6f1ea; --ink:#47392f; --muted:#706052; --on-accent:#fcfaf6;
  --border:rgba(71,57,47,.12); --border-strong:rgba(71,57,47,.26);
  --rail-ink:#f5eee5; --rail-muted:#d1c1b1; --rail-line:rgba(245,238,229,.15); --rail-hover:rgba(245,238,229,.08);
  --needs:#775620; --needs-soft:#f3e9d5; --rain:#3e6375; --rain-soft:#e7eef0;
  --danger:#a1313e; --danger-soft:#fae9ec; --focus:rgba(132,87,60,.24);
  --shadow:0 1px 3px rgba(71,57,47,.04); --modal-shadow:0 24px 90px rgba(56,40,27,.2); --scrim:rgba(40,30,23,.42);
}
.theme-choice[data-theme="forest"] { --rail:#203e35; --accent:#315e48; --paper:#fcfcf8; --page:#f1f2ed; }
.theme-picker { padding:0; border:0; display:grid; gap:12px; margin:20px 0; }
.theme-picker legend { margin-bottom:12px; font-weight:700; }
.theme-choice { display:flex; align-items:center; gap:14px; min-height:76px; border:1px solid var(--border-strong); border-radius:var(--radius); padding:12px; cursor:pointer; }
.theme-choice:has(:checked) { outline:2px solid var(--accent); outline-offset:1px; }
.theme-choice strong,.theme-choice small { display:block; }
.theme-choice small { color:inherit; font-size:12px; margin-top:2px; }
.theme-swatch { width:48px; height:42px; border:1px solid var(--border-strong); border-radius:6px; background:linear-gradient(90deg,var(--rail) 30%,var(--page) 30%,var(--page) 75%,var(--accent) 75%); flex:none; }
[hidden] { display:none!important; }
.overview-back { margin-left:12px; }
.overview-heading { display:flex; gap:16px; justify-content:space-between; align-items:center; margin-bottom:24px; }
.overview-heading p,.next-step p { color:var(--muted); margin-top:6px; }
.overview-controls { display:grid; grid-template-columns:minmax(0,1fr) 160px; gap:16px; }
.overview-controls .field { margin:0; }
.batch-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; min-height:64px; margin:12px 0; font-size:12px; color:var(--muted); }
.batch-toolbar .check-row { margin:0; }
.reception-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:16px; }
.reception-card { background:var(--paper); border:1px solid var(--border); border-radius:var(--radius-lg); padding:20px; box-shadow:var(--shadow); min-width:0; display:flex; flex-direction:column; }
.reception-card-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.reception-card-head .check-row { margin:0; min-height:44px; }
.status-pill { background:var(--accent-soft); color:var(--accent); border-radius:var(--radius-sm); padding:4px 10px; font-size:12px; }
.reception-card h2 { font-size:19px; }
.reception-card>p { color:var(--muted); font-size:13px; margin-top:6px; }
.reception-card dl { display:grid; gap:8px; margin:18px 0; }
.reception-card dl>div { display:flex; justify-content:space-between; gap:12px; font-size:13px; }
.reception-card dt { color:var(--muted); }
.reception-card dd { margin:0; font-variant-numeric:tabular-nums; text-align:right; }
.reception-card .card-next { border-top:1px solid var(--border); padding-top:12px; margin-bottom:16px; }
.reception-card>.button { margin-top:auto; }
.reception-cards>.empty-state { grid-column:1/-1; }
.journey-guide { margin-bottom:24px; }
.journey-guide>ol { margin:0 0 16px; padding:0; list-style:none; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.journey-guide>ol li { display:flex; gap:7px; align-items:center; color:var(--muted); font-size:12px; }
.journey-guide>ol li>span { display:grid; place-items:center; width:24px; height:24px; flex:none; border:1px solid var(--border-strong); border-radius:50%; }
.journey-guide>ol .icon { width:14px; height:14px; }
.journey-guide>ol li[aria-current] { color:var(--accent); font-weight:700; }
.journey-guide>ol li[aria-current]>span { background:var(--accent); border-color:transparent; color:var(--paper); }
.next-step { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 20px; background:var(--accent-soft); border-radius:var(--radius); }
.next-step h2 { font-size:16px; }
.next-step p { font-size:13px; }
.next-step .button { flex:none; }
.guide-layer { position:fixed; inset:0; z-index:120; pointer-events:none; }
.guide-scrim { position:fixed; background:var(--scrim); pointer-events:auto; }
.guide-spot { position:fixed; border:2px solid var(--guide-ring); border-radius:18px; box-shadow:0 0 0 5px var(--guide-glow); pointer-events:auto; transition:left .22s cubic-bezier(.16,1,.3,1),top .22s cubic-bezier(.16,1,.3,1),width .22s cubic-bezier(.16,1,.3,1),height .22s cubic-bezier(.16,1,.3,1); }
.guide-spot i { position:absolute; width:8px; height:8px; border-radius:50%; background:var(--guide-dot); box-shadow:0 2px 8px var(--guide-dot-shadow); animation:guide-float 1.8s ease-in-out infinite; }
.guide-spot i:nth-child(1) { right:-5px; top:18%; }
.guide-spot i:nth-child(2) { left:16%; bottom:-5px; animation-delay:.25s; }
.guide-spot i:nth-child(3) { right:22%; top:-5px; animation-delay:.5s; }
.guide-bubble { position:fixed; width:min(360px,calc(100vw - 24px)); max-height:calc(100dvh - 24px); overflow:visible; padding:20px; border:1px solid var(--border); border-radius:22px; background:var(--paper); color:var(--ink); box-shadow:var(--guide-shadow); pointer-events:auto; animation:guide-arrive .22s cubic-bezier(.16,1,.3,1); }
.guide-bubble::after { content:""; position:absolute; width:16px; height:16px; background:var(--paper); border:solid var(--border); transform:rotate(45deg); }
.guide-bubble[data-side="left"]::after { left:-9px; top:28px; border-width:0 0 1px 1px; }
.guide-bubble[data-side="right"]::after { right:-9px; top:28px; border-width:1px 1px 0 0; }
.guide-bubble[data-side="bottom"]::after { top:-9px; left:var(--guide-tail-x,34px); border-width:1px 0 0 1px; }
.guide-bubble[data-side="top"]::after { bottom:-9px; left:var(--guide-tail-x,34px); border-width:0 1px 1px 0; }
.guide-bubble>header { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.guide-symbol { width:44px; height:44px; display:grid; place-items:center; color:var(--accent); background:var(--accent-soft); border-radius:15px 15px 15px 5px; }
.guide-symbol .icon { width:23px; height:23px; }
.guide-count { color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.guide-bubble h2 { margin-top:16px; font-size:21px; line-height:1.35; overflow-wrap:anywhere; }
.guide-bubble>p { margin-top:9px; color:var(--muted); font-size:14px; line-height:1.7; }
.guide-example { margin-top:14px; padding:12px 14px; border-radius:12px; color:var(--accent); background:var(--accent-soft); font-size:12px; line-height:1.55; }
.guide-bubble>footer { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:18px; }
.guide-bubble>footer>div { display:flex; gap:8px; }
.guide-anchor { position:relative; }
@keyframes guide-arrive { from { opacity:.45; transform:translateY(8px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes guide-float { 0%,100% { transform:translateY(0) scale(.9); } 50% { transform:translateY(-5px) scale(1.1); } }
.dialog-footer>.text-button { margin-right:auto; }
.guest-step { border:0; margin:0; padding:0; min-width:0; }
.guest-step legend { padding:0 0 16px; font-weight:700; font-size:17px; }
.login-steps { margin:32px 0 0; padding:0; list-style-position:inside; display:grid; gap:16px; color:var(--rail-ink); }
.auth-switch { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:16px; }
.login-form>small { color:var(--muted); display:block; margin:-6px 0 12px; font-size:12px; }
.terms-check { margin:16px 0; }
.terms-check .text-button { padding-block:4px; }
.message-body { white-space:normal; }
.message-body p { margin:6px 0; overflow-wrap:anywhere; }
.message-body.is-typing { white-space:pre-wrap; }
.message-body.is-typing::after { content:""; display:inline-block; width:2px; height:1em; margin-left:3px; vertical-align:-.12em; background:var(--accent); animation:typing-caret .72s steps(1,end) infinite; }
@keyframes typing-caret { 50% { opacity:0; } }
.message-subtitle { font-weight:700; }
.message-body code { font-family:var(--mono); background:var(--inset); padding:1px 3px; }
.message-point { padding-left:12px; text-indent:-12px; }
.landscape-routes { margin-bottom:24px; }
.landscape-routes>.section-caption { flex-wrap:wrap; }
.landscape-routes>.section-caption span { margin-left:0; }
.route-day { margin-top:16px; }
.route-day h3 { margin-bottom:10px; }
.landscape-map { display:block; width:100%; max-height:360px; background:var(--inset); border-radius:var(--radius); }
.map-mountain { fill:var(--accent-soft); }
.map-river { stroke:var(--rain); stroke-width:14; fill:none; opacity:.18; }
.map-line { fill:none; stroke:var(--accent); stroke-width:2; stroke-dasharray:4 5; }
.map-stop circle { fill:var(--paper); stroke:var(--accent); stroke-width:2; }
.map-stop text { fill:var(--accent); font:600 13px var(--sans); }
.map-stop.locked circle { fill:var(--accent); }
.map-stop.locked text { fill:var(--paper); }
.route-overview .route-stops { display:block; margin:8px 0 16px; padding:0; }
.route-overview .route-stops>li { display:block; padding:0; margin:0; }
.route-overview .route-stops>li::after,.route-overview .route-stops>li::before { display:none; }
.route-stops button { display:grid; grid-template-columns:24px minmax(0,1fr) auto 20px; gap:8px; align-items:center; min-height:48px; width:100%; text-align:left; padding:8px; border-radius:var(--radius-sm); }
.route-stops button:hover { background:var(--paper); }
.route-stops button strong { overflow:hidden; text-overflow:ellipsis; font-size:13px; }
.route-stops button small { color:var(--muted); font-size:12px; }
.route-stops button>span { color:var(--accent); }
.itinerary-item:focus { outline:2px solid var(--accent); outline-offset:4px; border-radius:var(--radius-sm); }
@media (max-width:1080px) {
  .mobile-head-actions>[data-action="logout"] { display:none; }
  .topbar [data-action="theme"] { display:none; }
  .mobile-dock nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .overview-back { margin-left:auto; padding:0; }
  .topbar>div:first-child { flex:1; display:flex; justify-content:space-between; align-items:center; }
  .overview-heading h1 { font-size:24px; }
  .overview-heading { align-items:flex-start; }
  .overview-heading>.button { padding-inline:12px; font-size:13px; }
  .reception-cards { grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); }
  .composer-hint { display:block; font-size:11px; }
  body[data-keyboard="true"] .composer-hint { display:none; }
  .guest-step .field input,.guest-step .field textarea,.guest-step .field select { font-size:16px; min-height:48px; }
  .guest-step .field input,.guest-step .field select { height:48px; line-height:normal; }
  .guest-step .field:has(input[type="date"]),.guest-step .field:has(#field-days) { grid-column:1/-1; }
  dialog:has(#guest-form),dialog:has(#item-form) { width:100%; max-width:680px; max-height:var(--view-height); margin:auto; }
  dialog:has(#guest-form) .dialog-frame { max-height:var(--view-height); }
}
@media (max-width:600px) {
  .reception-cards { grid-template-columns:minmax(0,1fr); }
  .overview-heading { flex-wrap:wrap; }
  .overview-controls { grid-template-columns:minmax(0,1fr) 108px; gap:10px; }
  .overview-controls input,.overview-controls select { font-size:16px; }
  .journey-guide>ol { gap:4px; }
  .journey-guide>ol li { flex-direction:column; gap:5px; font-size:11px; }
  .next-step { flex-direction:column; align-items:stretch; padding:16px; gap:12px; }
  .next-step>.button { align-self:flex-start; min-width:120px; }
  .route-stops button { grid-template-columns:20px minmax(0,1fr) 20px; }
  .route-stops button small { grid-column:2; grid-row:2; }
  .route-stops button>.icon { grid-column:3; grid-row:1/3; }
  .landscape-routes>.section-caption { font-size:13px; }
  .landscape-routes>.section-caption span { width:100%; font-size:11px; }
  .itinerary-item { grid-template-columns:48px minmax(0,1fr); gap:10px; padding:18px 0; }
  .item-body h3 { font-size:16px; }
  .item-body p { font-size:13px; }
  .item-end { grid-column:2; flex-direction:row; align-items:center; justify-content:flex-start; gap:10px; }
  .item-end strong { font-size:14px; }
  .item-end small { font-size:12px; }
  .item-end .lock-button { margin-left:auto; }
  .guide-bubble { padding:18px; border-radius:20px; }
  .guide-bubble h2 { font-size:19px; }
  .guide-bubble>footer { align-items:flex-end; }
  dialog:has(#guest-form),dialog:has(#item-form) { height:var(--view-height); max-width:100%; border-radius:0; margin:0; }
  #guest-form,#item-form { height:100%; max-height:100%; }
  #guest-form .dialog-body,#item-form .dialog-body { flex:1; }
  .dialog-footer { flex-wrap:wrap; gap:8px; }
  .dialog-footer>.text-button { font-size:12px; }
  .field input,.field select,.field textarea { font-size:16px; }
  .login-form-side { padding-top:28px; }
}

/* Operations extend the existing forest / river / clay design tokens. */
/* finesse · targeted repair: inherited themes, legible map nodes and single-line actions */
.landscape-routes { container-type:inline-size; }
.route-diagram { width:100%; height:auto; display:block; background:var(--inset); border-radius:var(--radius); }
.route-diagram-mobile { display:none; }
.route-mountains { fill:var(--accent); opacity:.055; }
.route-river-band { fill:none; stroke:var(--accent); opacity:.16; stroke-width:28; }
.route-river-shine { fill:none; stroke:var(--surface); stroke-width:1.5; opacity:.8; }
.route-thread { fill:none; stroke:var(--accent); stroke-width:2.5; stroke-dasharray:5 7; }
.route-node-dot { fill:var(--surface); stroke:var(--accent); stroke-width:2.5; }
.route-node-dot.is-locked { stroke-width:4; }
.route-node-hit { fill:transparent; stroke:transparent; stroke-width:2; }
.route-diagram a { cursor:pointer; outline:none; }
.route-diagram a:focus-visible .route-node-hit { stroke:var(--accent); }
.route-diagram a:active .route-node-hit { fill:var(--accent-soft); }
.route-node-title { font-size:24px; font-weight:600; fill:var(--ink); }
.route-node-meta,.route-node-cost { font-size:22px; fill:var(--muted); }
.route-region { font-size:18px; fill:var(--muted); }
.route-day h3 span { font-size:14px; font-weight:400; color:var(--muted); margin-left:8px; }
@container (max-width:640px) {
  .route-diagram-desktop { display:none; }
  .route-diagram-mobile { display:block; }
  .route-node-title { font-size:22px; }
  .route-node-meta,.route-node-cost { font-size:20px; }
}
.customer-more-actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0; }
.customer-actions .button,.customer-more-actions .button { white-space:nowrap; flex:0 0 auto; }
.ops-task-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:24px 0 32px; }
.ops-task-actions article { display:flex; flex-direction:column; align-items:flex-start; padding:20px 0; border-bottom:1px solid var(--line); }
.ops-task-actions h2 { font-size:18px; margin:0 0 12px; }
.ops-task-actions p { color:var(--muted); font-size:14px; margin:0 0 18px; }
.ops-task-actions .button { margin-top:auto; white-space:nowrap; }
.ops-scope-picker { padding:16px 20px; border-radius:var(--radius); background:var(--accent-soft); }
.ops-scope-picker summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:600; }
.ops-scope-picker summary span { font-size:14px; font-weight:400; margin-left:12px; overflow-wrap:anywhere; }
.ops-scope-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-height:300px; overflow:auto; padding:12px 0; }
.ops-scope-options .check-row { min-height:52px; align-items:center; }
.ops-scope-options small { display:block; color:var(--muted); }
.ops-task-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.ops-task-filters .button { white-space:nowrap; }
.ops-task-filters [aria-pressed="true"] { background:var(--accent-soft); border-color:var(--accent); }
.ops-run-header { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.ops-run-header h2 { margin:0 0 8px; font-size:22px; }
.ops-run-header>.button { flex:none; white-space:nowrap; }
.ops-run-guests { color:var(--ink); overflow-wrap:anywhere; }
.ops-next-action { background:var(--accent-soft); padding:16px; border-radius:var(--radius); }
@media (hover:hover) { .route-diagram a:hover .route-node-hit { fill:var(--accent-soft); } }
@media (max-width:768px) {
  .ops-task-actions { grid-template-columns:minmax(0,1fr); gap:0; margin:16px 0; }
  .ops-task-actions article { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 16px; padding:18px 0; }
  .ops-task-actions article h2 { grid-column:1; margin:0; font-size:16px; }
  .ops-task-actions article p { grid-column:1; margin:0; }
  .ops-task-actions article .button { grid-column:2; grid-row:1/3; align-self:center; margin:0; padding:8px 12px; }
  .ops-scope-options { grid-template-columns:minmax(0,1fr); }
  .ops-scope-picker summary span { display:block; margin:6px 0 0; }
}
body[data-full-workspace="true"] .shell { grid-template-columns:240px minmax(0,1fr); }
body[data-full-workspace="true"] .agent-panel { display:none; }
.ops-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:16px 0 24px; }
.ops-toolbar h2 { margin-right:auto; }
.ops-toolbar .button,.layout-switch .button { white-space:nowrap; min-height:44px; }
.layout-switch { display:flex; gap:6px; margin:16px 0; }
.layout-switch [aria-pressed="true"] { background:var(--accent-soft); color:var(--accent); border-color:var(--accent); }
.customer-table-scroll { overflow:auto; overscroll-behavior:contain; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); }
.customer-table { width:100%; border-collapse:collapse; text-align:left; min-width:1040px; font-size:14px; }
.customer-table th,.customer-table td { padding:16px; border-bottom:1px solid var(--line); vertical-align:middle; }
.customer-table thead { background:var(--accent-soft); }
.customer-table thead th { white-space:nowrap; font-weight:600; }
.customer-table tbody th { font-weight:400; max-width:230px; overflow-wrap:anywhere; }
.customer-table small { display:block; color:var(--muted); margin-top:6px; }
.customer-table input { width:22px; height:22px; }
.customer-table tr:hover { background:var(--accent-soft); }
.customer-table .customer-actions { flex-wrap:nowrap; gap:6px; }
.customer-table .customer-action-cell { width:330px; min-width:330px; position:sticky; right:0; background:var(--surface); border-left:1px solid var(--line); }
.customer-table thead th:last-child { position:sticky; right:0; background:var(--accent-soft); }
.customer-table td:nth-child(5) { text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.customer-table th:nth-child(5) { text-align:right; }
.customer-table td:nth-child(6),.customer-table th:nth-child(6) { min-width:96px; white-space:nowrap; }
.customer-table tbody th small { max-width:230px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.customer-table .button { min-height:44px; padding:8px 12px; }
.customer-table .customer-order { justify-content:flex-start; gap:20px; }
.ops-section,.ops-proposal { margin:24px 0; padding:24px 0; border-top:1px solid var(--line); }
.ops-section h2,.ops-proposal h2 { font-size:20px; margin:0 0 12px; }
.ops-section h3,.ops-feedback h3 { font-size:17px; }
.ops-scope { padding:16px; border-radius:var(--radius); background:var(--accent-soft); display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.ops-list { display:grid; gap:0; }
.ops-list article { padding:20px 0; border-bottom:1px solid var(--line); }
.ops-list article>div { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.ops-list ul { padding-left:20px; }
.ops-list li { margin:6px 0; }
/* finesse · component: merchant-catalog-groups · intent: keep prices scannable while reducing mobile page length */
.catalog-groups { display:grid; gap:12px; margin-top:18px; }
.catalog-group { border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); overflow:hidden; }
.catalog-group>summary { min-height:58px; padding:15px 18px; display:flex; align-items:center; gap:12px; cursor:pointer; font-weight:700; list-style:none; background:var(--inset); }
.catalog-group>summary::-webkit-details-marker { display:none; }
.catalog-group>summary::after { content:'展开'; margin-left:auto; color:var(--muted); font-size:12px; font-weight:500; }
.catalog-group[open]>summary::after { content:'收起'; }
.catalog-group>summary small { color:var(--muted); font-weight:500; }
.catalog-group>.ops-list { padding:0 18px 8px; }
.catalog-item-heading { justify-content:space-between; align-items:flex-start!important; }
.catalog-item-heading h3 { margin-right:auto; }
.catalog-item-heading strong { color:var(--accent); white-space:nowrap; }
.ops-warning { border:1px solid var(--line); border-radius:var(--radius); padding:12px; background:var(--accent-soft); }
.ops-task-layout { display:grid; grid-template-columns:minmax(180px,240px) minmax(0,1fr); gap:28px; align-items:start; }
.ops-run-list { display:grid; gap:6px; }
.ops-run-list button { display:grid; gap:7px; min-width:0; padding:16px; border-radius:var(--radius); text-align:left; border:1px solid var(--line); }
.ops-run-list button[aria-current="page"] { border-color:var(--accent); background:var(--accent-soft); }
.ops-run-list small,.ops-run-list span { color:var(--muted); font-size:12px; }
.ops-run-detail { min-width:0; overflow-wrap:anywhere; }
.ops-run-detail>h2 { font-size:22px; }
.ops-run-detail details { margin:16px 0; }
.ops-run-detail summary,.ops-section summary { cursor:pointer; min-height:44px; padding:10px 0; }
.ops-paragraph { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.8; }
.ops-preview-grid,.ops-comparison { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.ops-preview-grid article,.ops-comparison>div { padding:18px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow-wrap:anywhere; }
.ops-plan-list { padding-left:20px; }
.ops-plan-list li { margin:12px 0; }
.ops-plan-list small { display:block; color:var(--muted); }
.ops-approval { background:var(--accent-soft); padding:20px; border-radius:var(--radius); margin-top:24px; }
.ops-booking { display:flex; justify-content:space-between; align-items:center; gap:12px; border-bottom:1px solid var(--line); padding:12px 0; }
.ops-booking small { display:block; color:var(--muted); margin-top:6px; }
.ops-feedback { border-bottom:1px solid var(--line); padding:16px 0; }
.ops-map-points>div { padding:12px 0; display:flex; gap:8px; align-items:center; flex-wrap:wrap; border-bottom:1px solid var(--line); }
.ops-map-points small { color:var(--muted); flex:1; }
.ops-real-map { width:100%; height:auto; border-radius:var(--radius); }
.ops-map-canvas { min-height:180px; background:var(--inset); border-radius:var(--radius); padding:12px; margin:16px 0; }
.ops-map-canvas img { display:block; margin-bottom:8px; }
#map-search-form { display:flex; gap:12px; align-items:flex-end; margin:20px 0; }
#map-search-form .field { flex:1; min-width:0; margin:0; }
#map-search-form button { white-space:nowrap; flex:none; min-height:48px; }
.feedback-public { max-width:640px; padding:32px 20px; margin:0 auto; }
.feedback-public h1 { font-size:clamp(24px,5vw,32px); }
.feedback-public textarea { width:100%; }
@media (max-width:1080px) {
  body[data-full-workspace="true"] .shell { display:block; }
  body[data-full-workspace="true"][data-mobile-view="agent"] .agent-panel { display:flex; }
  .ops-task-layout { grid-template-columns:minmax(0,1fr); gap:18px; }
  .ops-run-list { display:flex; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x proximity; }
  .ops-run-list button { flex:0 0 185px; scroll-snap-align:start; }
}
@media (max-width:600px) {
  .ops-toolbar { gap:8px; }
  .ops-toolbar .button { padding:10px 12px; font-size:13px; }
  .ops-preview-grid,.ops-comparison { grid-template-columns:minmax(0,1fr); }
  .ops-section { margin:16px 0; padding:16px 0; }
  .ops-booking { align-items:flex-start; flex-wrap:wrap; }
  .ops-scope { display:block; overflow-wrap:anywhere; }
  .ops-scope .button { margin-top:12px; }
  .customer-table-scroll { margin-inline:0; }
  .ops-run-list button { min-height:90px; }
  .catalog-groups { gap:10px; }
  .catalog-group>summary { min-height:54px; padding:13px 14px; }
  .catalog-group>.ops-list { padding:0 14px 6px; }
  .catalog-item-heading { display:block!important; }
  .catalog-item-heading strong { display:block; margin-top:5px; }
}
