:root{color:#17283d;font-synthesis:none;--navy:#14283f;--ink:#17283d;--muted:#516377;--line:#dae2e8;--primary:#16704b;--radius:12px;background:#f3f6f8;font-family:Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{color:#253a50;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #d4dde4;border-radius:8px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:0 13px;font-size:.84rem;font-weight:700;display:inline-flex}button:hover:not(:disabled){background:#edf3f6}button:disabled{cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,.table-scroll:focus-visible{outline-offset:2px;outline:3px solid #2679be}input,select{min-height:44px;color:var(--ink);background:#fff;border:1px solid #ccd7e0;border-radius:8px;min-width:0;padding:0 10px}h1,h2,p{margin:0}.primary{border-color:var(--primary);background:var(--primary);color:#fff}.primary:hover:not(:disabled){background:#115a3c}button:disabled:not(.slot){color:#687789;background:#e9eef2;border-color:#e2e8ed}.icon{flex-shrink:0;width:44px;padding:0}.app{grid-template:auto 1fr/220px minmax(0,1fr);min-height:100dvh;display:grid}.topbar{z-index:6;background:var(--navy);color:#fff;grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;min-height:74px;padding:12px 25px;display:flex;position:sticky;top:0;box-shadow:0 2px 8px #14283f24}.brand,.top-actions{align-items:center;gap:12px;display:flex}.brand-icon{color:#e2f7ee;background:#206244;border-radius:10px;flex:0 0 42px;place-items:center;width:42px;height:42px;display:inline-grid}.brand strong{letter-spacing:.04em;font-size:.98rem;line-height:1.35;display:block}.brand small{color:#c3cfda;margin-top:2px;font-size:.73rem;display:block}.role{color:#e7edf2;white-space:nowrap;background:#ffffff12;border:1px solid #fff3;border-radius:7px;padding:6px 10px;font-size:.75rem}.mobile-menu{display:none}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;justify-content:space-between;gap:24px;padding:30px 14px;display:flex}.sidebar nav{gap:6px;display:grid}.sidebar nav button{border-color:#0000;justify-content:flex-start;gap:12px;min-height:46px;padding:0 12px}.sidebar nav .nav-active{color:#176748;background:#e8f3ed}.sidebar-foot{color:var(--muted);align-items:center;gap:8px;padding:12px;font-size:.75rem;display:flex}main{width:100%;min-width:0;max-width:1760px;margin:0 auto;padding:33px clamp(16px,2.75vw,44px) 38px}.page-title{justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:22px;display:flex}h1{letter-spacing:.03em;font-size:clamp(1.48rem,2.15vw,2.05rem);line-height:1.3}.page-title p{color:var(--muted);margin-top:8px;font-size:.88rem;line-height:1.6}.panel{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:clip;box-shadow:0 2px 5px #13263a09}.panel-toolbar,.schedule-meta,.admin-actions,.selection-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:13px;padding:15px 19px;display:flex}.date-section,.date-controls,.actions,.row-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.date-section{gap:12px}.date-section strong{font-size:1rem;display:block}.date-section small,.selection-bar small{color:var(--muted);margin-top:3px;font-size:.75rem;display:block}.date-icon{color:#1b6c4d;background:#e8f3ed;border-radius:9px;place-items:center;width:43px;height:43px;display:grid}.date-controls{margin-left:4px}.schedule-meta{color:#40566b;background:#fafcfd;border-block:1px solid #e5ebef;padding-block:12px;font-size:.74rem}.legend{flex-wrap:wrap;align-items:center;gap:8px 15px;display:flex}.legend span,.updated,.footnote{align-items:center;gap:6px;display:inline-flex}.legend i{border:1px solid;border-radius:3px;width:12px;height:12px}.updated{white-space:nowrap}.updated i,.slot-dot{background:#278760;border-radius:50%;flex:0 0 6px;width:6px;height:6px}.admin-actions{border-bottom:1px solid var(--line);justify-content:flex-start}.admin-actions button:last-child{margin-left:auto}.scroll-hint{display:none}.badge{white-space:nowrap;border-radius:6px;padding:5px 8px;font-size:.74rem;font-weight:700;display:inline-block}.table-scroll{max-width:100%;max-height:68vh;overflow:auto}.schedule{--vehicle-width:190px;table-layout:fixed;border-spacing:0;width:100%;min-width:870px;font-size:.8rem}.schedule th{color:#344c61;text-align:center;background:#f0f4f7;padding:10px 7px;font-size:.75rem}.schedule thead th{z-index:2;position:sticky;top:0}.schedule th:first-child{width:var(--vehicle-width);text-align:left;z-index:1;padding-inline:13px;position:sticky;left:0;box-shadow:1px 0 #dce5eb}.schedule thead th:first-child{z-index:3}.schedule th svg{vertical-align:-3px;margin-right:4px}.schedule tbody th{color:var(--ink);overflow-wrap:anywhere;background:#fff;line-height:1.35}.schedule th small{color:var(--muted);margin-top:4px;display:block}.schedule td{background:#fff;padding:5px 4px}.schedule tbody :is(td,th){border-bottom:1px solid #e7edf1}.schedule tbody tr:last-child :is(td,th){border-bottom:0}.schedule tbody tr:nth-child(2n) :is(td,th){background:#fafcfd}.slot{border-color:#0000;border-radius:6px;width:100%;min-height:44px;padding:4px;font-size:.73rem}.free,button.free{color:#176545;background:#e8f4ed}button.free:hover:not(:disabled){background:#d2ebdd}.pending,button.pending{color:#735411;background:#fff0ca}button.pending:hover:not(:disabled){background:#ffe6a4}.confirmed,button.confirmed{color:#234e83;background:#e2ecfa}button.confirmed:hover:not(:disabled){background:#ccdef8}.unavailable,.cancelled,button.unavailable{color:#4d5f70;background:#edf1f4}button.unavailable:hover:not(:disabled){background:#dde5ec}button.selected,button.selected:hover:not(:disabled){color:#fff;background:#176c4a}.booking{text-align:left;flex-direction:column;align-items:flex-start;gap:0;padding-inline:7px;display:flex}.booking strong,.booking small{text-overflow:ellipsis;max-width:100%;overflow:hidden}.booking small{font-size:.65rem}.selection-bar{border-top:1px solid var(--line)}.selection-bar strong{font-size:.88rem}.stop-selection{border-top:0;border-bottom:1px solid var(--line);background:#f6faf8;gap:8px 14px}.stop-selection button[aria-pressed=true]{color:#176545;background:#e8f3ed;border-color:#278760}.stop-selection small,.stop-selection .alert{flex-basis:100%;margin:0}.footnote{color:var(--muted);margin-top:16px;font-size:.78rem;line-height:1.55}.footnote svg,.alert>svg{flex-shrink:0}.alert{border:1px solid #c8e4d4;border-radius:8px;align-items:center;gap:8px;margin-bottom:14px;padding:10px 13px;font-size:.87rem;line-height:1.5;display:flex}.alert .icon,.alert button{margin-left:auto}.alert.success{color:#195f43;background:#eaf5ee}.alert.error{color:#8c2525;background:#fff0ef;border-color:#efc8c4}.alert.info{color:#264d75;background:#eaf1fa;border-color:#ccdef2}.empty{color:var(--muted);text-align:center;padding:36px 12px}.list-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 19px;display:flex}.list-row+.list-row{border-top:1px solid var(--line)}.list-row>div:first-child>*{overflow-wrap:anywhere;display:block}dialog{color:var(--ink);border:1px solid var(--line);background:#fff;border-radius:13px;width:min(490px,100% - 24px);max-height:calc(100dvh - 24px);padding:20px;box-shadow:0 18px 75px #12243b33}dialog::backdrop{background:#13243b9c}.dialog-title{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}h2{font-size:1.2rem}dialog p{overflow-wrap:anywhere;line-height:1.6}dialog .alert{margin:10px 0 0}dialog label{gap:5px;margin-block:14px;font-size:.88rem;font-weight:700;display:grid}.summary{background:#f2f6f8;border-radius:8px;grid-template-columns:85px 1fr;gap:8px;padding:12px;font-size:.86rem;display:grid}.summary dt{color:var(--muted)}.summary dd{overflow-wrap:anywhere;margin:0;font-weight:700}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px;display:flex}@media (width<=1050px){.app{grid-template-columns:175px minmax(0,1fr)}.sidebar{padding-inline:8px}}@media (width<=760px){.app{display:block}.topbar{min-height:63px;padding:9px 12px}.brand{gap:7px}.brand-icon{flex-basis:35px;width:35px;height:35px}.brand strong{font-size:.82rem}.brand small{font-size:.65rem}.top-actions{gap:6px}.mobile-menu{color:#fff;background:#ffffff12;border-color:#fff3;display:inline-flex}.mobile-menu:hover:not(:disabled){background:#ffffff25}.sidebar{display:none}.sidebar.open{z-index:5;border-bottom:1px solid var(--line);padding:8px 12px;display:block;position:sticky;top:63px}.sidebar-foot{display:none}main{padding:20px 12px 30px}.page-title{align-items:flex-start;margin-bottom:14px}.page-title p{font-size:.78rem}.panel-toolbar,.schedule-meta,.admin-actions,.selection-bar{padding:11px}.date-section{flex:100%}.date-controls{flex-basis:100%;gap:6px;margin-left:0}.date-controls input{flex:1}.date-section strong{font-size:.95rem}.scroll-hint{color:var(--muted);justify-content:space-between;padding:8px 11px;font-size:.72rem;display:flex}.schedule{--vehicle-width:122px;min-width:786px}.schedule th:first-child{padding-inline:8px}.schedule td{padding:4px 3px}.selection-bar .actions{margin-left:auto}.stop-selection .actions{gap:6px;margin-left:0}.stop-selection button{padding-inline:9px}.admin-actions button:last-child{margin-left:0}.list-row{padding-inline:12px}.row-actions{gap:5px}}.client-app{grid-template-columns:minmax(0,1fr)}.client-app main{max-width:none;padding:16px clamp(12px,1.65vw,26px) 22px}.client-app .page-title{align-items:center;margin-bottom:10px}.cutoff-notice{color:#71370e;background:#fff0de;border:1px solid #f4c899;border-left:4px solid #cf681c;border-radius:8px;align-items:flex-start;gap:10px;margin-bottom:14px;padding:11px 14px;font-size:.85rem;line-height:1.55;display:flex}.cutoff-notice svg{flex-shrink:0;margin-top:2px}.cutoff-notice strong{font-size:clamp(.98rem,1.8vw,1.22rem)}.cutoff-notice p{margin-top:2px}.day-notice{color:#71370e;background:#fff0de;border-block:1px solid #f4c899;padding:10px 13px;font-size:.88rem;font-weight:700;line-height:1.55}.client-app .panel-toolbar,.client-app .schedule-meta,.client-app .selection-bar{gap:8px 12px;padding:9px 12px}.client-app .schedule{--vehicle-width:160px;min-width:844px}.client-app .schedule td{padding:3px}.client-app .booking{text-align:center;justify-content:center;align-items:center;padding-inline:3px}@media (width>=761px) and (width<=880px){.client-app .scroll-hint{color:var(--muted);justify-content:space-between;padding:6px 12px;font-size:.72rem;display:flex}}body:has(.mobile-client){min-width:0}.mobile-client .topbar{min-height:56px;padding:8px 14px;position:static}.mobile-client .brand{gap:9px}.mobile-client .brand-icon{flex:0 0 34px;width:34px;height:34px}.mobile-client .brand strong{letter-spacing:0;font-size:1rem}.mobile-client .brand small{display:none}.mobile-client main{padding:12px 12px calc(24px + env(safe-area-inset-bottom,0px))}.mobile-flow{gap:14px;max-width:560px;margin-inline:auto;font-size:1rem;line-height:1.5;display:grid}.mobile-flow button{white-space:normal;font-size:1rem}.mobile-flow button svg,.mobile-cutoff svg{flex-shrink:0}.mobile-flow h1{letter-spacing:0;font-size:1.6rem}.mobile-flow h2{font-size:1.18rem;line-height:1.4}.mobile-cutoff{color:#71370e;background:#fff0de;border:1px solid #f4c899;border-radius:12px;align-items:flex-start;gap:9px;padding:10px 11px;display:flex}.mobile-cutoff svg{margin-top:2px}.mobile-steps{background:#e8edf0;border-radius:12px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:0;padding:4px;list-style:none;display:grid}.mobile-steps li{color:#465b70;text-align:center;border-radius:9px;flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;min-height:38px;padding:4px 2px;font-size:.875rem;font-weight:700;display:flex}.mobile-steps li span{background:#fff;border-radius:50%;place-items:center;width:20px;height:20px;display:grid}.mobile-steps [aria-current=step]{color:#145f40;background:#fff;box-shadow:0 1px 3px #14283f1a}.mobile-steps [aria-current=step] span{background:var(--primary);color:#fff}.mobile-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.mobile-refresh{padding-inline:10px}.mobile-card{border:1px solid var(--line);background:#fff;border-radius:15px}.mobile-date{padding:12px}.mobile-date h2{align-items:center;gap:7px;display:flex}.mobile-date h2 svg{color:var(--primary)}.mobile-date p{margin:3px 0 8px;font-weight:700}.mobile-date-controls{grid-template-columns:44px minmax(0,1fr) 44px minmax(44px,auto);gap:8px;display:grid}.mobile-date-controls input{width:100%;min-width:0;max-width:100%;margin:0;padding-inline:5px;font-size:1rem;display:block}.mobile-date-controls input::-webkit-date-and-time-value{text-align:start;min-width:0;margin:0}.mobile-date-controls :is(input,button):focus-visible{outline-offset:-3px}.mobile-date-controls button:last-child{padding-inline:8px}.mobile-vehicles{margin:8px 0 0;padding:0;list-style:none}.mobile-vehicles li+li{border-top:1px solid var(--line)}.mobile-vehicles li button{text-align:left;border:0;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:7px;width:100%;min-height:62px;padding:8px;display:grid}.mobile-vehicles strong{overflow-wrap:anywhere;color:var(--ink)}.mobile-truck{width:31px;height:33px;color:var(--primary);background:#eff5f2;border-radius:8px;place-items:center;display:grid}.mobile-availability{text-align:center;border-radius:8px;padding:4px 6px;font-size:.875rem}.mobile-availability small{font-size:.75rem;display:block}.mobile-back{justify-self:start;padding-inline:8px}.mobile-vehicle-context{border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px}.mobile-vehicle-context p{color:var(--muted)}.mobile-hours{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;display:grid}.mobile-flow .mobile-hour{overflow-wrap:anywhere;border-color:#0000;border-radius:11px;grid-template-rows:auto auto;align-content:center;gap:4px;min-width:0;min-height:74px;padding:6px 2px;display:grid}.mobile-hour strong{font-variant-numeric:tabular-nums;font-size:.9375rem}.mobile-hour span{flex-wrap:wrap;justify-content:center;align-items:center;gap:3px;font-size:.875rem;display:flex}.mobile-hour:hover:not(:disabled){border-color:currentColor}.mobile-action-bar{z-index:2;padding:6px 0 calc(10px + env(safe-area-inset-bottom,0px));background:#f3f6f8;gap:7px;display:grid;position:sticky;bottom:0}.mobile-selection{justify-content:space-between;align-items:center;gap:6px;min-height:44px;display:flex}.mobile-selection div{flex-wrap:wrap;align-items:baseline;gap:0 8px;display:flex}.mobile-selection button{flex-shrink:0}.mobile-flow .mobile-primary{border-radius:11px;width:100%;min-height:54px;padding-block:6px;font-size:1.125rem}.mobile-message{color:#664013;background:#fff8ec;border:1px solid #ebce9d;border-radius:10px;padding:9px 10px}.mobile-moving{color:#234e83;background:#edf3fa;border-color:#ccdef2}.mobile-moving button{margin-top:7px}.mobile-error{color:#8c2525;background:#fff0ef;border-color:#efc8c4}.mobile-success{color:#195f43;background:#eaf5ee;border-color:#c8e4d4}.mobile-form,.mobile-completed{gap:12px;padding:14px;display:grid}.mobile-form label{font-weight:700}.mobile-form input{width:100%;min-height:50px}.mobile-request-summary{background:#f0f4f6;border-radius:9px;grid-template-columns:auto minmax(0,1fr);gap:7px 12px;margin:0;padding:10px;display:grid}.mobile-request-summary dt{color:var(--muted)}.mobile-request-summary dd{overflow-wrap:anywhere;margin:0;font-weight:700}.mobile-completed>svg{color:var(--primary)}.mobile-completed-destination{overflow-wrap:anywhere}.mobile-client dialog .summary,.mobile-client dialog button,.mobile-client dialog .alert{font-size:1rem}.mobile-client dialog button{white-space:normal}.mobile-client dialog .summary{grid-template-columns:auto minmax(0,1fr)}@media (width<=350px){.mobile-truck{display:none}.mobile-vehicles li button{grid-template-columns:minmax(0,1fr) auto auto}.mobile-hours{gap:4px}}
