:root { color-scheme: light; --ink:#22342f; --muted:#586760; --paper:#f3f1ea; --white:#fffefa; --line:#d9ded5; --green:#254e42; --rust:#a7533d; --sans:Arial,Helvetica,sans-serif; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--paper); font:14px/1.5 var(--sans); }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
a { color:inherit; text-underline-offset:3px; }
:focus-visible { outline:3px solid #ab624d; outline-offset:3px; }
[hidden] { display:none !important; }
.skip { position:absolute; left:1rem; top:-100px; background:#fff; padding:12px; z-index:5; }
.skip:focus { top:1rem; }
.topbar { height:72px; padding:0 clamp(20px,4vw,60px); display:flex; align-items:center; justify-content:space-between; gap:24px; background:var(--white); border-bottom:1px solid var(--line); }
.brand img { display:block; width:148px; height:auto; }
.topbar-right { display:flex; align-items:center; gap:28px; font-weight:700; font-size:13px; }
.topbar-right a { text-decoration:none; }
.topbar-right a:hover { text-decoration:underline; }
.topbar-right a span { color:var(--rust); }
.demo-chip,.demo-label { color:#80543b; background:#f6e9d7; padding:7px 11px; border-radius:5px; font-size:12px; font-weight:700; }
.workspace { max-width:1530px; padding:36px clamp(20px,4vw,60px) 48px; margin:auto; }
.page-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:22px; }
h1,h2,h3,p { margin:0; }
h1 { font-size:30px; line-height:1.2; letter-spacing:-.025em; }
.page-heading p { color:var(--muted); margin-top:4px; }
.demo-label { background:transparent; border:1px solid #d6c5ae; }
.demo-notice { display:flex; align-items:flex-start; gap:12px; padding:15px 17px; color:#694b33; background:#f8edde; border-radius:8px; }
.demo-notice svg { width:20px; height:20px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; }
.demo-notice p { max-width:100ch; }
.summary { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin:22px 0; background:var(--line); border:1px solid var(--line); border-radius:9px; overflow:hidden; }
.summary div { padding:17px 22px; background:var(--white); display:flex; flex-direction:column; gap:2px; }
.summary span { color:var(--muted); font-size:13px; }
.summary strong { font-size:24px; font-variant-numeric:tabular-nums; line-height:1.2; }
.work-grid { display:grid; grid-template-columns:minmax(290px,0.9fr) minmax(410px,1.1fr); gap:20px; align-items:start; }
.queue,.detail { background:var(--white); border:1px solid var(--line); border-radius:10px; min-width:0; }
.queue-header { padding:23px 24px 10px; }
h2 { font-size:20px; line-height:1.3; }
.queue-header p { color:var(--muted); margin-top:3px; font-size:13px; }
search { display:block; padding:12px 24px 4px; }
label,legend { display:block; font-size:12px; font-weight:700; color:#3d5149; }
.search-row { display:flex; gap:8px; margin-top:6px; }
input,select,textarea { width:100%; border:1px solid #8b9c92; border-radius:5px; background:#fff; color:var(--ink); padding:10px 12px; min-height:44px; }
input::placeholder,textarea::placeholder { color:#66776f; opacity:1; }
.search-row button,.secondary,.primary { min-height:44px; border-radius:5px; font-weight:700; padding:10px 16px; }
.search-row button,.secondary { color:var(--green); border:1px solid #92a69a; background:#fff; }
.search-row button:hover,.secondary:hover { background:#edf3ec; }
.filters { padding:16px 24px 13px; border:0; margin:0; min-width:0; }
.filter-options { display:flex; gap:6px; flex-wrap:wrap; margin-top:7px; }
.filter-options input { position:absolute; width:1px; height:1px; margin:-1px; clip-path:inset(50%); overflow:hidden; }
.filter-options label { min-height:34px; padding:7px 10px; border-radius:5px; color:#4b5d54; cursor:pointer; background:#f0f2ed; font-size:12px; }
.filter-options input:checked+label { color:#fff; background:var(--green); }
.filter-options input:focus-visible+label { outline:3px solid #ab624d; outline-offset:2px; }
.order-list { list-style:none; padding:0; margin:0; border-top:1px solid var(--line); }
.order-list li+li { border-top:1px solid #e5e9e2; }
.order-button { display:block; width:100%; padding:18px 24px; border:0; background:transparent; text-align:left; color:inherit; }
.order-button:hover { background:#f3f6ef; }
.order-button[aria-pressed="true"] { background:#e4f0e6; }
.order-top { display:flex; justify-content:space-between; gap:14px; align-items:center; margin-bottom:7px; }
.order-no { color:var(--muted); font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.order-name { display:block; font-size:15px; font-weight:700; line-height:1.35; }
.order-meta { display:block; margin-top:6px; color:var(--muted); font-size:13px; }
.status { display:inline-flex; align-items:center; justify-content:center; padding:4px 8px; white-space:nowrap; border-radius:4px; font-size:11px; line-height:1.4; font-weight:700; color:#36554a; background:#e3efe6; }
.status.NEW { color:#84503e; background:#f8e6db; }.status.WAITING { color:#775a22; background:#f5ebcb; }.status.PROCESSED { color:#495d5b; background:#e7edeb; }
.empty { padding:24px; color:var(--muted); }
.detail-top { padding:24px; display:flex; justify-content:space-between; align-items:start; gap:15px; border-bottom:1px solid var(--line); }
.detail-top h2 { font-size:21px; }
.order-id { font-size:12px; font-weight:700; color:#835440; margin-bottom:6px; }
.detail-date { font-size:13px; color:var(--muted); margin-top:4px; }
.detail-body { padding:0 24px 24px; }
.section-block { padding:22px 0; border-bottom:1px solid #e2e8df; }
h3 { font-size:15px; line-height:1.35; margin-bottom:14px; }
h3 span { font-size:11px; font-weight:400; color:var(--muted); margin-left:4px; }
.trip-list { list-style:none; margin:0 0 15px; padding:0; }
.trip-list li { padding:14px; background:#f2f5ee; border-radius:6px; }
.trip-list li+li { margin-top:8px; }
.trip-list strong { display:block; font-size:14px; }
.trip-list span { color:var(--muted); font-size:13px; }
.facts { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0; }
.facts div { min-width:0; }.facts dt { color:var(--muted); font-size:12px; }.facts dd { margin:3px 0 0; overflow-wrap:anywhere; font-weight:600; }
.helper { color:var(--muted); font-size:12px; margin:10px 0 0; line-height:1.55; }
#edit-form { padding:22px 0; border-bottom:1px solid #e2e8df; }
.field-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field { margin-bottom:16px; min-width:0; }.field label,.reply-block label { margin-bottom:6px; }
textarea { resize:vertical; min-height:82px; }
.primary { border:1px solid var(--green); background:var(--green); color:#fff; }
.primary:hover { background:#386656; }
.form-status { color:#365d4a; font-size:12px; margin-top:8px; min-height:1em; }
.reply-block { border:0; padding-bottom:0; }.reply-block .helper { margin:0 0 14px; }.reply-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.footer-note { color:var(--muted); font-size:12px; text-align:center; margin:25px 0 0; }
.no-js { padding:24px; }
@media(max-width:850px) { .work-grid { grid-template-columns:1fr; }.summary div { padding:14px; }.detail { scroll-margin-top:12px; } }
@media(max-width:520px) { .topbar { height:64px; gap:8px; }.topbar-right { gap:12px; }.demo-chip { display:none; }.workspace { padding-top:25px; }.page-heading { align-items:flex-start; }.page-heading h1 { font-size:27px; }.demo-label { font-size:11px; padding:6px; }.summary { grid-template-columns:1fr 1fr; }.summary strong { font-size:21px; }.queue-header,search { padding-left:17px; padding-right:17px; }.filters { padding-left:17px; padding-right:17px; }.order-button { padding:17px; }.detail-top { padding:20px 17px; }.detail-body { padding:0 17px 20px; }.field-grid,.facts { grid-template-columns:1fr; gap:12px; } input,select,textarea { font-size:16px; min-height:48px; }.search-row button,.primary,.secondary { min-height:48px; }.page-heading .demo-label { max-width:110px; text-align:center; } }
