:root{--redesign-color-1:#052541;--redesign-color-2:#0064f9;--redesign-color-3:#dce6ef;--redesign-color-4:#10253f;--redesign-color-5:#718299;--redesign-color-6:#f34465;--redesign-color-7:#eef3f8;--redesign-color-8:#062d4e;--redesign-color-9:#031c33;--redesign-color-10:#fff;--redesign-color-11:#04223d;--redesign-color-12:#dce9f8;--redesign-color-13:#143e60;--redesign-color-14:#0066de;--redesign-color-15:#034eaf;--redesign-color-16:#03213d;--redesign-color-17:#05244122;--redesign-color-18:#d9e7f7;--redesign-color-19:#214d7d;--redesign-color-20:#d4e6ff;--redesign-color-21:#56738d;--redesign-color-22:#0b2543;--redesign-color-23:#6d8198;--redesign-color-24:#0067fa;--redesign-color-25:#d8e1ed;--redesign-color-26:#233b56;--redesign-color-27:#0064fa;--redesign-color-28:#0064fa14;--redesign-color-29:#dae5ef;--redesign-color-30:#eef6ff;--redesign-color-31:#fff1f4;--redesign-color-32:#fff7e9;--redesign-color-33:#edfbf6;--redesign-color-34:#122641;--redesign-color-35:#0b2242;--redesign-color-36:#fa2045;--redesign-color-37:#f39800;--redesign-color-38:#078a57;--redesign-color-39:#0769ff;--redesign-color-40:#ff496a;--redesign-color-41:#ff9e00;--redesign-color-42:#08bd8b;--redesign-color-43:#74839b;--redesign-color-44:#0055c3;--redesign-color-45:#c5daf6;--redesign-color-46:#ffffff80;--redesign-color-47:#dce5ee;--redesign-color-48:#1c456d;--redesign-color-49:#d9e3ef;--redesign-color-50:#dbe5ef;--redesign-color-51:#263d59;--redesign-color-52:#0864ef;--redesign-color-53:#0871ff;--redesign-color-54:#eef5ff;--redesign-color-55:#0056cb;--redesign-color-56:#79c637;--redesign-color-57:#f1fbe9;--redesign-color-58:#347a0a;--redesign-color-59:#ff506b;--redesign-color-60:#fff0f3;--redesign-color-61:#d9294d;--redesign-color-62:#ffab00;--redesign-color-63:#fff7e5;--redesign-color-64:#a66400;--redesign-color-65:#cbdbe8;--redesign-color-66:#e8f2fa;--redesign-color-67:#dceaf5;--redesign-color-68:#12324f;--redesign-color-69:#183650;--redesign-color-70:#d7e3ec;--redesign-color-71:#102d0c;--redesign-color-72:#071d2a12;--redesign-color-73:#284865;--redesign-color-74:#f0f6fc;--redesign-color-75:#f0f5fc;--redesign-color-76:#2f4763;--redesign-color-77:#e4ebf3;--redesign-color-78:#f4f9ff;--redesign-color-79:#73859b;--redesign-color-80:#8c9aab;--redesign-color-81:#e9f2ff;--redesign-color-82:#0060ce;--redesign-color-83:#fff0c7;--redesign-color-84:#a65f00;--redesign-color-85:#dff7f0;--redesign-color-86:#087b62;--redesign-color-87:#ffdee6;--redesign-color-88:#c63256;--redesign-color-89:#dce6f1;--redesign-color-90:#e7f2ff;--redesign-color-91:#f1f7ff;--redesign-color-92:#0561de;--redesign-color-93:#f6f8fc;--redesign-color-94:#e0e7f1;--redesign-color-95:#506784;--redesign-color-96:#0063fb;--redesign-color-97:#d8e2ef;--redesign-color-98:#203a57;--redesign-color-99:#d5e2ee;--redesign-color-100:#0b335b0a;--redesign-color-101:#0068fc;--redesign-color-102:#e3eaf4;--redesign-color-103:#e5edf5;--redesign-color-104:#f5f8fc;--redesign-color-105:#65778e;--redesign-color-106:#8b9cb0;--redesign-color-107:#d7e1ee;--redesign-color-108:#233d58;--redesign-color-109:#eaf4ff;--redesign-color-110:#2b5683;--redesign-color-111:#ec355b;--redesign-color-112:#dce7f4;--redesign-color-113:#0561da;--redesign-color-114:#243f5b;--redesign-color-115:#e2eaf5;--redesign-color-116:#f8fbff;--redesign-color-117:#e5edf7;--redesign-color-118:#0b2e53;--redesign-color-119:#0064ee;--redesign-color-120:#d8e4f1;--redesign-color-121:#0c3158;--redesign-color-122:#ff2046;--redesign-color-123:#d7e3ef;--redesign-color-124:#001d3c30;--redesign-color-125:#183a59;--redesign-color-126:#e4ecf4;--redesign-color-127:#e8eef6;--redesign-color-128:#234363;--redesign-color-129:#edf5ff;--redesign-color-130:#8b9bb0;--redesign-color-131:#103e64;--redesign-color-132:#cde5ff;--redesign-color-133:#96b6cf;--redesign-color-134:#e8f3ff;--redesign-color-135:#0064ed;--redesign-color-136:#1a4b70;--redesign-color-137:#d5e8f8;--redesign-color-138:#eef1f5;--redesign-color-139:#122c49;--redesign-color-140:#dce8f6;--redesign-color-141:#e6f2ff;--redesign-color-142:#edf6ff;--redesign-color-143:#f4f7fa;--redesign-color-144:#d72b43;--redesign-color-145:#00223b40;--redesign-color-146:#edf7f1;--redesign-color-147:#137250;}
/* Employee workspace only. Customer contract and signature pages do not load this file. */
:root{--navy:var(--redesign-color-1);--blue:var(--redesign-color-2);--teal:var(--redesign-color-2);--line:var(--redesign-color-3);--ink:var(--redesign-color-4);--muted:var(--redesign-color-5);--danger:var(--redesign-color-6)}
body{background:var(--redesign-color-7);color:var(--ink);font-family:'Malgun Gothic','Noto Sans KR',sans-serif;font-size:14px}
body>aside{width:230px;background:linear-gradient(170deg,var(--redesign-color-8),var(--redesign-color-9) 76%);padding:16px 12px;box-shadow:none;color:var(--redesign-color-10);overflow-y:auto;z-index:60}
.brand{display:block;margin:-16px -12px 18px;padding:14px 18px;background:var(--redesign-color-11);min-height:84px}.brand img.company-logo{width:185px;height:64px;object-fit:contain;background:transparent}
body>aside nav{display:block;margin-top:0}nav button,nav summary{width:100%;color:var(--redesign-color-12);background:none;border:0;border-radius:6px;font-size:14px;font-weight:500;text-align:left;min-height:43px;padding:10px 13px;display:flex;align-items:center;gap:12px;cursor:pointer;margin:3px 0}nav button:hover,nav summary:hover{background:var(--redesign-color-13);color:white}nav button.active,nav details:has(button.active)>summary{color:var(--redesign-color-10);background:linear-gradient(90deg,var(--redesign-color-14),var(--redesign-color-15))}nav button span{width:21px;color:inherit;font-size:18px}nav summary{list-style:none}nav summary:after{content:'⌄';margin-left:auto;font-size:13px}nav details[open]>summary:after{content:'⌃'}nav details>div{padding:0 0 7px 14px}nav details>div button{font-size:12px;min-height:35px;padding:7px 9px}nav .nav-sub{padding-left:20px}.rental-sidebar,.side-note{display:none!important}.app{margin-left:230px}body>.app>header{height:56px;padding:0 24px;background:#2585D9;color:white;position:sticky;top:0;z-index:50;display:flex;box-shadow:0 1px 3px var(--redesign-color-17)}.header-right{gap:15px}#currentDate{display:none}.avatar{background:var(--redesign-color-18);color:var(--redesign-color-19);border:2px solid white}.external-service{color:var(--redesign-color-20)!important;background:transparent!important}.header-right button{color:white;background:transparent;border-color:var(--redesign-color-21)}#adminTools summary{color:white}.admin-tools-menu{color:var(--ink)}.admin-tools-menu button{color:var(--ink)!important}#sidebarToggle{color:white;border:0;background:transparent;font-size:24px;margin-right:18px;cursor:pointer}#breadcrumb{font-size:13px;font-weight:500}.account-caption{font-size:13px;white-space:nowrap}main{padding:20px 24px 30px;max-width:none}.page-heading{margin:0 0 16px}.title-line h1{font-size:26px;letter-spacing:0;font-weight:800;color:var(--redesign-color-22)}.title-line p{font-size:13px;color:var(--redesign-color-23);margin-top:6px}.title-line{align-items:center}.title-icon{color:var(--redesign-color-24);margin-right:12px}button{border-radius:5px;min-height:33px;font-size:13px;padding:7px 12px;font-weight:600;cursor:pointer;border-color:var(--redesign-color-25);color:var(--redesign-color-26)}button.primary,.primary{background:var(--redesign-color-27);border:1px solid var(--redesign-color-27);color:white!important;box-shadow:0 2px 4px var(--redesign-color-28)}button:hover{filter:brightness(.97)}
.stats{gap:14px;margin:0 0 16px;grid-template-columns:repeat(4,minmax(0,1fr))}.stat{border:1px solid var(--redesign-color-29);border-radius:8px;min-height:124px;padding:16px 12px 12px 77px;background:linear-gradient(130deg,var(--redesign-color-10),var(--redesign-color-30));position:relative;overflow:hidden}.stat:nth-child(2){background:linear-gradient(130deg,var(--redesign-color-10),var(--redesign-color-31))}.stat:nth-child(3){background:linear-gradient(130deg,var(--redesign-color-10),var(--redesign-color-32))}.stat:nth-child(4){background:linear-gradient(130deg,var(--redesign-color-10),var(--redesign-color-33))}.stat-label{font-size:14px;font-weight:700;color:var(--redesign-color-34)}.stat strong{font-size:29px;letter-spacing:0;margin-top:3px;color:var(--redesign-color-35)}.stat strong small{font-size:19px;color:inherit}.stat:nth-child(2) strong{color:var(--redesign-color-36)}.stat:nth-child(3) strong{color:var(--redesign-color-37)}.stat:nth-child(4) strong{color:var(--redesign-color-38)!important}.stat-icon{top:18px;left:13px;right:auto;width:49px;height:50px;background:var(--redesign-color-39)!important;color:white!important;display:grid;place-items:center;padding:0;font-size:25px}.stat:nth-child(2) .stat-icon{background:var(--redesign-color-40)!important}.stat:nth-child(3) .stat-icon{background:var(--redesign-color-41)!important}.stat:nth-child(4) .stat-icon{background:var(--redesign-color-42)!important}.stat-bottom{font-size:10px;margin-top:3px;color:var(--redesign-color-43)}.stat-detail{padding:3px 7px;font-size:10px;min-height:23px;margin-top:7px;color:var(--redesign-color-44);border:1px solid var(--redesign-color-45);background:var(--redesign-color-46)}
.panel{border:1px solid var(--redesign-color-47);border-radius:8px;box-shadow:none;overflow:visible}.panel-top{padding:10px 16px;min-height:54px;border-bottom:0}.month-view-label{font-size:15px;color:var(--redesign-color-48)}.top-actions input{font-size:14px;width:155px;border:1px solid var(--redesign-color-49)!important;padding:7px!important;border-radius:5px!important}.top-actions button{font-size:13px;background:var(--redesign-color-10);padding:6px 11px}.filters{padding:10px 16px;align-items:center;border-top:0;border-bottom:0;gap:16px}.filters>div{display:flex;flex-wrap:wrap}.filters button{border:1px solid var(--redesign-color-50);border-radius:0;color:var(--redesign-color-51);font-size:12px;margin-left:-1px;padding:8px 16px;background:var(--redesign-color-10)}.filters button.selected{background:var(--redesign-color-52);color:white;border-color:var(--redesign-color-52)}.filters button:first-child{border-radius:5px 0 0 5px}.filters button:last-child{border-radius:0 5px 5px 0}.search{padding:6px 10px;border-radius:5px;min-width:220px}.search input{font-size:12px;width:210px}.schedule-meta{padding:7px 16px 12px;font-size:11px}.legend{font-size:12px;gap:15px}.legend span:before{width:12px;height:12px;vertical-align:-2px}.reservation{--event:var(--redesign-color-53);--light:var(--redesign-color-54);--dark:var(--redesign-color-55)}.general{--event:var(--redesign-color-56);--light:var(--redesign-color-57);--dark:var(--redesign-color-58)}.insurance{--event:var(--redesign-color-59);--light:var(--redesign-color-60);--dark:var(--redesign-color-61)}.long{--event:var(--redesign-color-62);--light:var(--redesign-color-63);--dark:var(--redesign-color-64)}.daily-schedule{min-width:1050px;table-layout:fixed;border-collapse:collapse!important}.daily-schedule th,.daily-schedule td{border:1px solid var(--redesign-color-65)!important;padding:0}.daily-schedule th{background:linear-gradient(var(--redesign-color-66),var(--redesign-color-67));height:36px;color:var(--redesign-color-68);font-size:12px;font-weight:700}.daily-schedule td{font-size:12px;height:38px;color:var(--redesign-color-69)}.daily-schedule .track{height:38px;min-height:38px}.daily-schedule .timeline{background:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 24 - 1px),var(--redesign-color-70) calc(100% / 24 - 1px),var(--redesign-color-70) calc(100% / 24))}.daily-schedule .event{border:0!important;border-radius:0!important;height:25px;top:6px;background:var(--event)!important;color:var(--redesign-color-71);font-size:12px;font-weight:600;text-align:center;padding:3px 5px;box-shadow:0 1px 2px var(--redesign-color-72);min-height:0}.daily-schedule .event.reservation{color:white}.daily-schedule .schedule-plate,.daily-schedule .schedule-model{padding:0 8px}.hour-labels{display:flex;justify-content:space-between;height:31px;align-items:center;font-size:11px}.hour-labels span{flex:1;text-align:center}.dispatch-heading{display:flex;justify-content:space-between;align-items:center;color:var(--redesign-color-73);padding:10px 12px;background:var(--redesign-color-74);font-size:12px}.table-scroll{max-height:68vh;overflow:auto}.list{font-size:12px;width:100%;border-collapse:collapse}.list th{font-size:12px;font-weight:600;background:var(--redesign-color-75);color:var(--redesign-color-76);white-space:nowrap}.list th,.list td{padding:11px 12px;border-bottom:1px solid var(--redesign-color-77)}.list tbody tr:hover{background:var(--redesign-color-78)}.list small{font-size:10px;color:var(--redesign-color-79)}.list td button{font-size:11px;min-height:28px;padding:4px 9px}.panel-footer{font-size:10px;padding:10px 15px}.app footer{font-size:10px;color:var(--redesign-color-80)}.status,.pending,.returned{font-size:11px;border-radius:5px;padding:4px 8px}.tag{display:inline-flex;align-items:center;border-radius:5px;background:var(--redesign-color-81);color:var(--redesign-color-82);padding:4px 7px;font-size:11px;font-weight:700;white-space:nowrap}.tag.pending{background:var(--redesign-color-83);color:var(--redesign-color-84)}.tag.success{background:var(--redesign-color-85);color:var(--redesign-color-86)}.tag.hold{background:var(--redesign-color-87);color:var(--redesign-color-88)}.workspace-card{background:var(--redesign-color-10);border:1px solid var(--redesign-color-89);border-radius:8px;overflow:hidden;margin-bottom:16px}.workspace-card>h2,.section-bar{margin:0;background:linear-gradient(100deg,var(--redesign-color-90),var(--redesign-color-91));font-size:17px;color:var(--redesign-color-92);padding:12px 16px;font-weight:700}.workspace-card .card-body{padding:16px}.work-tabs{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.work-tabs button{min-width:90px;background:var(--redesign-color-93);border-color:var(--redesign-color-94);color:var(--redesign-color-95)}.work-tabs button.selected{background:var(--redesign-color-96);color:var(--redesign-color-10);border-color:var(--redesign-color-96)}.work-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.work-toolbar input,.work-toolbar select{min-height:36px;border:1px solid var(--redesign-color-97);border-radius:5px;padding:7px 10px;background:var(--redesign-color-10);color:var(--redesign-color-98);max-width:240px}.work-toolbar .query{flex:1;min-width:190px;max-width:360px}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:16px;align-items:start}.detail-panel{position:sticky;top:72px;background:white;border:1px solid var(--redesign-color-99);border-radius:8px;overflow:hidden;box-shadow:0 4px 16px var(--redesign-color-100)}.detail-panel h3{margin:0;padding:13px 16px;background:var(--redesign-color-74);font-size:16px;display:flex;justify-content:space-between}.detail-panel .detail-body{padding:16px}.detail-panel h4{font-size:13px;margin:15px 0 6px;border-left:3px solid var(--redesign-color-101);padding-left:7px}.detail-panel dl{margin:0;border:1px solid var(--redesign-color-102)}.detail-panel dl>div{display:grid;grid-template-columns:105px 1fr;border-bottom:1px solid var(--redesign-color-103);font-size:12px}.detail-panel dl>div:last-child{border:0}.detail-panel dt{background:var(--redesign-color-104);padding:7px;color:var(--redesign-color-105)}.detail-panel dd{margin:0;padding:7px;overflow-wrap:anywhere}.detail-panel .detail-actions{display:flex;gap:7px;margin-top:15px}.detail-panel .detail-actions button{flex:1}.detail-placeholder{padding:45px 20px;color:var(--redesign-color-106);text-align:center}.detail-panel textarea{width:100%;min-height:75px;border:1px solid var(--redesign-color-107);border-radius:5px;padding:8px}.reservation-form .form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}.reservation-form label{font-size:13px;color:var(--redesign-color-108);margin:7px 0}.reservation-form input,.reservation-form select{min-height:37px;margin-top:5px;padding:8px 11px;font-size:13px}.info-note{padding:12px 15px;border-radius:6px;background:var(--redesign-color-109);color:var(--redesign-color-110);line-height:1.8;font-size:12px}.required{color:var(--redesign-color-111)}.reservation-split{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:22px}.contract-layout .form-row{gap:12px}.contract-layout fieldset{border:1px solid var(--redesign-color-112);border-radius:8px;padding:12px 16px;margin:0}.contract-layout fieldset legend{font-size:16px;color:var(--redesign-color-113);font-weight:700;padding:0 8px}.contract-layout label{font-size:12px;color:var(--redesign-color-114)}.contract-layout input,.contract-layout select,.contract-layout textarea{font-size:13px;padding:9px}.contract-layout #form{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:16px}.contract-layout #form>.dialog-heading,.contract-layout #form>.dialog-actions,.contract-layout #form>#error{grid-column:1/-1}.contract-layout #form>.dialog-heading{position:sticky;top:0;background:var(--redesign-color-10);padding:14px 6px;z-index:3;margin-bottom:0}.contract-layout #form>.dialog-actions{position:sticky;bottom:0;background:white;border-top:1px solid var(--redesign-color-115);z-index:4;padding:12px}.contract-layout #form>.contract-fields{grid-column:1}.contract-layout #form>.contract-details,.contract-layout #form>#signatureSection{grid-column:1/-1}.contract-layout{width:min(1300px,96vw)!important;max-width:none!important;max-height:94vh;padding:0 22px!important;border-radius:8px!important}.contract-layout form>label,.contract-layout form>.form-row{background:var(--redesign-color-116);padding:10px;border:1px solid var(--redesign-color-117);border-radius:7px}.contract-layout .dialog-heading h2{color:var(--redesign-color-118)}.contract-layout .eyebrow{color:var(--redesign-color-119)}.contract-layout input[type=checkbox]{width:auto!important}.intake-dialog,.rental-operation-dialog{border-radius:8px!important;border:1px solid var(--redesign-color-120)!important}.intake-dialog h2,.intake-dialog h3{color:var(--redesign-color-121)}.intake-grid input,.intake-grid select{font-size:13px}.notification-anchor{position:relative}.notification-button{position:relative;background:transparent!important;border:0!important;font-size:23px!important;padding:4px!important}.notification-badge{position:absolute;right:-5px;top:-4px;border-radius:20px;background:var(--redesign-color-122);color:white;font-size:10px;min-width:17px;height:17px;display:grid;place-items:center}.notification-panel{position:absolute;right:0;top:40px;width:350px;max-height:460px;overflow:auto;border:1px solid var(--redesign-color-123);background:white;box-shadow:0 8px 30px var(--redesign-color-124);border-radius:8px;color:var(--redesign-color-125)}.notification-panel h3{margin:0;padding:15px;border-bottom:1px solid var(--redesign-color-126);font-size:15px}.notification-panel button{display:block;border:0!important;border-bottom:1px solid var(--redesign-color-127)!important;border-radius:0!important;width:100%;text-align:left!important;color:var(--redesign-color-128)!important;background:white!important;font-size:12px!important;padding:13px!important}.notification-panel button.unread{background:var(--redesign-color-129)!important}.notification-panel small{display:block;color:var(--redesign-color-130);margin-top:5px}.hidden-role{display:none!important}.preview-mark{font-size:10px;background:var(--redesign-color-131);border-radius:3px;padding:3px 6px;color:var(--redesign-color-132);margin-left:12px}.sidebar-collapsed aside{transform:translateX(-230px)}.sidebar-collapsed .app{margin-left:0}.sidebar-collapsed aside,.app{transition:margin .18s,transform .18s}
@media(min-width:1500px){main{padding:22px 28px}.daily-schedule td,.daily-schedule .track{height:38px}}
@media(max-width:1150px){body>aside{width:205px}.app{margin-left:205px}main{padding:18px}.stat{padding-left:62px}.stat-icon{width:40px;height:43px;left:10px}.stat strong{font-size:25px}.stat-label{font-size:12px}.detail-layout{grid-template-columns:minmax(0,1fr) 295px}.brand img.company-logo{width:160px}.contract-layout #form{grid-template-columns:1fr 1fr}}
@media(max-width:850px){body>aside{position:fixed;width:215px;height:100vh;transform:translateX(-215px)}.app{margin-left:0}.sidebar-open aside{transform:translateX(0)}body>.app>header{display:flex;padding:0 14px}main{padding:15px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.detail-panel{position:static}.reservation-split{grid-template-columns:1fr}.contract-layout #form{display:block}.contract-layout #form>*{margin-bottom:12px}.notification-panel{position:fixed;top:58px;right:10px;width:min(350px,95vw)}.account-caption{display:none}.title-line h1{font-size:22px}.filters button{padding:7px 11px}.reservation-form .form-row{grid-template-columns:1fr}.search{width:100%}.work-toolbar input{max-width:100%}}
@media print{body>aside,body>.app>header,.detail-panel,.work-toolbar,.work-tabs,.preview-mark,.stat-detail{display:none!important}.app{margin:0}.stats{display:grid!important;grid-template-columns:repeat(4,1fr)}.stat{min-height:70px;padding:8px}.stat-icon{display:none}.daily-schedule .event{print-color-adjust:exact;-webkit-print-color-adjust:exact}.table-scroll{max-height:none;overflow:visible}.detail-layout{display:block}.daily-schedule{min-width:0}.daily-schedule td,.daily-schedule .track{height:28px}.daily-schedule .event{top:3px;height:22px;font-size:8px}.daily-schedule .schedule-model{font-size:8px}.panel{border:0}.panel-top{display:flex!important}.top-actions{display:none}.list{min-width:0!important;font-size:8px}.list th,.list td{padding:5px}.page-heading h1{font-size:19px}}

.brand{display:flex;align-items:center;gap:8px}.brand img.company-logo{width:72px;height:50px}.brand-name{font-size:19px;font-weight:800;color:white;white-space:nowrap}.brand-name small{display:block;font-size:10px;color:var(--redesign-color-133);margin-top:4px}.account-caption,.header-right>.avatar{display:none!important}#currentAccountBadge{background:transparent!important;color:white!important;font-size:12px}#adminTools summary{background:transparent;border:0}#notificationBell{font-size:0!important}#notificationBell:before{content:"🔔";font-size:22px}main{background:white;min-height:calc(100vh - 56px)}.daily-schedule{min-width:980px}
.detail-layout>.detail-panel{display:block;width:auto;min-width:0;height:auto;min-height:0;padding:0;left:auto;bottom:auto;overflow:auto;flex:none}.detail-layout>.detail-panel dl>div{grid-template-columns:96px minmax(0,1fr)}.detail-layout>.detail-panel dd{word-break:normal}.detail-layout .list{min-width:650px}.detail-layout>div{min-width:0;overflow:auto}.detail-actions{flex-wrap:wrap}.detail-actions button{min-width:130px}.list button{white-space:nowrap}.list td{word-break:keep-all}

.contract-editor-left,.contract-editor-right{display:flex;flex-direction:column;gap:16px;min-width:0}.editor-section{border:1px solid var(--redesign-color-112);border-radius:8px;overflow:hidden;padding:0 14px 14px}.editor-section>h3{margin:0 -14px 12px;padding:11px 14px;background:var(--redesign-color-134);color:var(--redesign-color-135);font-size:16px}.editor-section>fieldset{border:0;margin:0;padding:0}.editor-section>fieldset>legend{display:none}.editor-section .form-row{gap:12px}.editor-section label{display:block;margin:8px 0}.editor-section input,.editor-section select{min-height:35px}.contract-layout #form{align-items:start}.contract-editor-left{grid-column:1}.contract-editor-right{grid-column:2}.contract-layout #form>p.form-help{grid-column:1/-1;margin:0}.contract-layout #form>.contract-editor-left,.contract-layout #form>.contract-editor-right{background:transparent;padding:0;border:0}.detail-panel{max-height:calc(100vh - 85px)}@media(max-width:850px){.detail-panel{max-height:none}.contract-editor-right{margin-top:16px}}

.app footer{display:none}.list td button{background:var(--redesign-color-27);color:white;border-color:var(--redesign-color-27)}.list td{white-space:nowrap}#breadcrumb:after{content:"예시 · 시험자료";font-size:10px;margin-left:12px;background:var(--redesign-color-136);color:var(--redesign-color-137);padding:4px 6px;border-radius:4px}
/* Photo-reference employee dispatch editor; printed/customer contract stays unchanged. */
.dispatch-editor{position:fixed!important;inset:56px 0 0 230px!important;margin:0!important;width:calc(100vw - 230px)!important;height:calc(100vh - 56px)!important;max-height:none!important;max-width:none!important;border:0!important;border-radius:0!important;padding:18px 22px!important;background:var(--redesign-color-10)}.dispatch-editor::backdrop{background:transparent}.dispatch-editor #form{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(320px,1fr);gap:16px!important;align-items:start}.dispatch-editor #form>.dialog-heading{grid-column:1/-1;position:static;padding:0;margin:0;background:white}.dispatch-editor .dialog-heading h2{font-size:17px;margin:0}.dispatch-editor .eyebrow{display:none}.dispatch-type-tabs{grid-column:1/-1;display:flex;gap:8px;margin-bottom:0}.dispatch-type-tabs button{width:33%;background:var(--redesign-color-138);color:var(--redesign-color-139);font-size:17px;height:43px;border:0}.dispatch-type-tabs button.selected{background:var(--redesign-color-2);color:white}.dispatch-left,.dispatch-right{display:flex;flex-direction:column;gap:15px;min-width:0}.dispatch-section{border:1px solid var(--redesign-color-140);border-radius:8px;overflow:hidden;background:var(--redesign-color-10)}.dispatch-section h3{font-size:17px;color:var(--redesign-color-119);background:linear-gradient(90deg,var(--redesign-color-141),var(--redesign-color-142));margin:0;padding:10px 14px}.dispatch-fields{padding:10px 14px;display:grid;grid-template-columns:1fr 1fr;gap:8px 16px;align-items:start}.dispatch-fields>label{margin:0!important;display:flex;flex-direction:column;gap:5px;font-size:12px!important;font-weight:600;min-width:0}.dispatch-fields>.form-row{display:contents!important}.dispatch-fields input,.dispatch-fields select,.dispatch-fields textarea{min-height:33px;font-size:13px!important;padding:6px 9px!important;margin:0!important;width:100%}.dispatch-fields input[readonly]{background:var(--redesign-color-143)}.dispatch-fields>.contract-details,.dispatch-fields>#contractExtra,.dispatch-fields>#paymentHistory,.dispatch-fields>.editor-total,.dispatch-fields>#returnInfo,.dispatch-fields>#operationSummary{grid-column:1/-1}.dispatch-fields #secondDriverFields{border:0;padding:0;margin:0}.dispatch-fields #secondDriverFields>summary{display:none}.dispatch-fields #secondDriverFields>.form-row{display:grid;grid-template-columns:1fr 1fr}.dispatch-right .dispatch-fields{grid-template-columns:1fr}.dispatch-right label{display:grid!important;grid-template-columns:112px 1fr;align-items:center}.editor-total{background:var(--redesign-color-60);color:var(--redesign-color-144);padding:10px 12px;display:flex;justify-content:space-between;font-size:13px;font-weight:bold}.editor-total strong{font-size:19px}.dispatch-editor #form>.contract-fields{display:none!important}.dispatch-editor #form>.signature-section,.dispatch-editor #form>.contract-details,.dispatch-editor #form>p,.dispatch-editor #form>.dialog-actions{grid-column:1/-1}.dispatch-editor #form>.dialog-actions{position:sticky;bottom:-18px;background:white;margin-bottom:-18px;z-index:5}.dispatch-fields label:has(#driverAddress),.dispatch-fields label:has(#driverAddressDetail),.dispatch-fields label:has(#memo){grid-column:1/-1}.dispatch-editor .form-help{font-size:11px}.dispatch-editor input[type=checkbox]{width:16px!important;min-height:16px}.dispatch-editor .dialog-heading button{margin-left:auto}.dispatch-editor .contract-details{margin:5px 0}.dispatch-editor .dispatch-fields .form-row>label{min-width:0}
@media(max-width:1150px){.dispatch-editor{left:205px!important;width:calc(100vw - 205px)!important;padding:14px!important}.dispatch-editor #form{grid-template-columns:minmax(0,1.4fr) minmax(290px,1fr)}}
@media(max-width:850px){.dispatch-editor{inset:56px 0 0 0!important;width:100vw!important}.dispatch-editor #form{display:block!important}.dispatch-left,.dispatch-right{margin-top:12px}.dispatch-type-tabs button{width:50%;font-size:14px}.dispatch-fields{grid-template-columns:1fr 1fr}.dispatch-editor .dialog-actions{bottom:-14px!important}}
@media(max-width:850px){.app>header>div:first-child{display:flex!important;align-items:center}.app>header #breadcrumb{display:none}.app>header .header-right{width:auto;margin-left:auto}body.sidebar-open>aside{z-index:200}.sidebar-open .app>header{z-index:201}}

.dispatch-editor [hidden]{display:none!important}.dispatch-editor .dialog-heading{position:sticky!important;top:-18px!important;z-index:8;padding:10px 0!important}.dispatch-fields label:has(input[type=checkbox]){display:flex!important;flex-direction:row;align-items:center;gap:8px;font-weight:400}.dispatch-fields input[type=checkbox]{flex:none}
.dispatch-fields{gap:9px 14px;padding:12px 14px}.dispatch-fields>label,.dispatch-fields>.form-row>label{display:grid!important;grid-template-columns:95px minmax(0,1fr);align-items:center;gap:8px;font-size:12px}.dispatch-fields label:has(input[type=checkbox]){display:flex!important}.dispatch-section h3{padding:9px 14px}.dispatch-fields input,.dispatch-fields select{min-height:32px!important}.dispatch-fields label:has(#driverAddress),.dispatch-fields label:has(#driverAddressDetail){grid-template-columns:95px 1fr}.dispatch-right .dispatch-fields{gap:10px}.dispatch-type-tabs button{font-size:16px}.dispatch-editor .dialog-heading{padding:5px 0!important}.dispatch-editor .dispatch-left,.dispatch-editor .dispatch-right{gap:12px}.dispatch-editor #form{gap:12px!important}
.app>header{z-index:150!important;overflow:visible!important}.notification-panel{position:fixed!important;top:58px!important;right:18px!important;z-index:1000!important;max-height:70vh;width:360px;box-shadow:0 8px 25px var(--redesign-color-145)}.amount-only-approval{width:min(560px,94vw)!important}.approval-due{background:var(--redesign-color-146);padding:15px;color:var(--redesign-color-147);font-weight:700}.amount-only-approval button:disabled{opacity:.45;cursor:not-allowed}

#breadcrumb:after{content:none}body.auth-required>.app{display:none}body.auth-required>aside{display:none}#adminMenu summary{color:var(--document-paper,#fff)}.reference-editor #refExtras{display:block!important}.reference-editor #refExtras .contract-fields{display:block!important}

/* The same desktop screens and tokens at smaller widths; override legacy phone rules. */
@media screen and (max-width:850px){
  body>aside{inset:56px auto 0 0;height:calc(100dvh - 56px);display:flex;flex-direction:column;padding:16px 12px;overflow:auto}
  body>aside nav{display:block;flex-wrap:nowrap;overflow:visible;flex:none}
  body>aside nav button,body>aside nav summary{width:100%;flex:none;justify-content:flex-start;font-size:14px;padding:10px 13px;gap:12px;margin:3px 0}
  body>aside nav details>div button,body>aside #vehicleNavItems button{font-size:12px;padding:7px 9px;min-height:35px}
  body>aside nav button span{font-size:18px;flex-shrink:0}
  body>aside .brand{min-height:84px;flex-shrink:0}
  body>aside .profile{display:flex;margin-top:auto}
  body>.app{min-width:0;width:100%}
  body>.app>header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:56px;min-height:56px;gap:8px;padding:0 12px}
  .app>header>div:first-child{min-width:0}
  .app>header .header-right{width:auto;flex-wrap:nowrap;gap:10px;min-width:0;margin:0}
  #sidebarToggle{margin-right:0;min-width:36px;flex-shrink:0}
  #adminMenu summary{max-width:125px;overflow:hidden;text-overflow:ellipsis}
  main{padding:15px;min-width:0}
  .title-line{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
  .title-line>div{min-width:0}
  .title-line h1{font-size:22px;overflow-wrap:anywhere}
  .title-line p{font-size:13px;line-height:1.6}
  .registration-actions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .registration-actions button{font-size:12px;padding:8px 6px;min-width:0;line-height:1.5;white-space:normal}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 16px}
  .stat{padding:14px 10px 12px 62px;min-width:0;min-height:124px}
  .stat-icon{display:grid;width:40px;height:43px;left:10px}
  .stat-label{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
  .stat strong{font-size:25px}
  .stat-bottom{font-size:10px}
  .panel,.workspace-card,#content{min-width:0;max-width:100%}
  .panel-top{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 12px}
  .view-tabs{min-width:0;min-height:30px;align-items:center}
  .top-actions{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;width:100%;gap:5px}
  .top-actions input{width:100%;min-width:0}
  .top-actions button{padding:6px 9px}
  .filters{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:10px 12px}
  .filters>div{min-width:0}
  .filters button{font-size:12px;padding:7px 10px}
  .search{min-width:0;width:100%}
  .search input{width:100%;min-width:0;font-size:12px}
  .schedule-meta{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 12px}
  .legend{flex-wrap:wrap;gap:8px 12px;font-size:12px}
  .dispatch-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;line-height:1.6}
  .dispatch-heading>*{min-width:0;overflow-wrap:anywhere}
  .table-scroll{max-width:100%;overflow:auto;overscroll-behavior-x:contain}
  .daily-schedule{min-width:980px}
  .daily-schedule th:nth-child(3),.daily-schedule td:nth-child(3){position:static}
  .daily-schedule th:first-child,.daily-schedule td:first-child{left:0}
  .daily-schedule th:nth-child(2),.daily-schedule td:nth-child(2){left:38px}
  .list{min-width:650px}
  .card-body,.workspace-card .card-body{padding:12px;min-width:0}
  .detail-layout{grid-template-columns:minmax(0,1fr)}
  .detail-layout>.detail-panel{position:static;max-height:none;max-width:100%}
  .work-toolbar{gap:8px;min-width:0}
  .work-toolbar input,.work-toolbar select{min-width:0;max-width:100%}
  .work-toolbar .query{flex-basis:100%;min-width:0;max-width:none}
  .work-tabs button{min-width:0;flex:0 1 auto}
  .settlement-search,.vehicle-info-search,.live-rental-search,.completed-rental-search{grid-template-columns:minmax(0,1fr);width:100%}
  .settlement-page,.vehicle-info-page,.live-rentals-page,.completed-rentals-page,.service-history-page,.service-page,.inspection-page,.staff-panel{padding:12px;min-width:0;max-width:100%}
  dialog:not(.reference-editor):not(.dispatch-editor):not(#contractPreviewDialog){width:min(96vw,900px);max-width:96vw;max-height:calc(100dvh - 24px);overflow:auto}
  dialog form,dialog fieldset,dialog label{min-width:0}
  dialog input,dialog select,dialog textarea{min-width:0;max-width:100%}
  dialog .dialog-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .dialog-heading h2{overflow-wrap:anywhere}
  .dialog-actions{flex-wrap:wrap;gap:8px}
  .dialog-actions button{white-space:normal;max-width:100%}
  .reference-editor,.dispatch-editor{height:calc(100dvh - 56px)!important;overflow:auto!important}
  .reference-editor .ref-fields,.reference-editor #refRental .ref-fields,.reference-editor #refCondition .ref-fields,.reference-editor .ref-primary-driver{grid-template-columns:minmax(0,1fr)}
  .reference-editor #refVehicle .ref-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .reference-editor .ref-field,.reference-editor .ref-right .ref-field{grid-template-columns:88px minmax(0,1fr);font-size:12px!important}
  .reference-editor .ref-field:has(#car){grid-column:auto}
  .reference-editor .ref-actions{flex-wrap:wrap}
  .reference-editor .ref-types button{width:auto;flex:1;min-width:0;font-size:14px}
  .reference-editor .ref-fields>#secondDriverFields>.form-row,.reference-editor .ref-fields>#insuranceFields>.form-row{grid-template-columns:minmax(0,1fr)}
  .reference-editor .ref-fields>#secondDriverFields label,.reference-editor .ref-fields>#insuranceFields label{grid-template-columns:88px minmax(0,1fr)}
  .reference-editor .ref-field:has(#ref_returnPlace){grid-template-columns:88px minmax(0,1fr)}
  .reference-editor .ref-field:has(#ref_returnPlace) .ref-same{position:static;grid-column:2;margin-top:4px}
  .reference-editor .ref-driver-tabs{gap:6px;padding:8px 12px}
  .reference-editor .ref-section>h3{font-size:17px;line-height:1.5}
  .reference-editor .address-input,.reference-editor .license-input{min-width:0}
  .reference-editor .address-input button,.reference-editor .license-input button{flex-shrink:0}
  .notification-panel{left:12px!important;right:12px!important;width:auto!important;max-height:calc(100dvh - 80px)}
  .auth-screen{background:var(--redesign-color-7)}
  .auth-card{max-width:100%}
  #toast{max-width:calc(100vw - 24px);transform:translateX(-50%);text-align:center}
}
@media screen and (max-width:360px){
  main{padding:12px}
  .registration-actions{grid-template-columns:minmax(0,1fr)}
  .stat{padding:12px;min-height:150px}
  .stat-icon{position:static;margin-bottom:8px}
  .reference-editor #refVehicle .ref-fields{grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce){.sidebar-collapsed aside,.app{transition:none}}

/* Independent management lists remain tables on every screen size. */
.staff-management-list{min-width:0}
.staff-management-list .table-scroll{max-width:100%;overflow:auto}
.staff-management-list table{min-width:640px}
.staff-management-list .list th,.staff-management-list .list td{display:table-cell!important}
.staff-management-list td{white-space:nowrap}
.staff-management-list input[type=tel]{width:160px;border:1px solid var(--line);border-radius:6px;padding:8px}
.staff-management-list input[readonly]{border-color:transparent;background:transparent}
.staff-management-list .work-toolbar{flex-wrap:wrap}
.table-scroll:has(.daily-schedule),.schedule-scroll:has(.daily-schedule){max-height:none!important;height:auto!important;overflow-x:auto!important;overflow-y:hidden!important}

/* Same vehicle bars, calendar-day axis; page scroll only. */
.dispatch-scroll.table-scroll{max-height:none;overflow-x:auto;overflow-y:visible}.monthly-dispatch.daily-schedule .timeline{background:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / var(--days) - 1px),var(--redesign-color-70) calc(100% / var(--days) - 1px),var(--redesign-color-70) calc(100% / var(--days)))}.monthly-dispatch .hour-labels{justify-content:initial}.monthly-dispatch .hour-labels span{min-width:0;font-size:10px}
.event.schedule-conflict{outline:2px solid var(--destructive,#d33);outline-offset:-2px}

.stats{grid-template-columns:repeat(3,minmax(0,1fr))}.live-rentals-scroll.table-scroll{max-height:none;height:auto;overflow-x:auto;overflow-y:hidden}.live-rental-section{margin-top:18px;min-width:0}.live-rental-section h3{font-size:15px;color:var(--ink);margin:10px 12px}.work-log-scroll.table-scroll{max-height:none;overflow-x:auto;overflow-y:hidden}.work-log-table td,.work-log-table th{white-space:nowrap!important}.work-log-table{min-width:max-content;width:100%}.work-log-table td{max-width:none}.work-log-table td:last-child{white-space:pre!important}
@media(max-width:850px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Navigation-only reorganization; the task screens retain all existing rules. */
body.grouped-navigation{--business-nav-height:46px;--desk-top:102px;--desk-sidebar:230px;--desk-header-background:#2585D9;--desk-header-foreground:var(--redesign-color-10)}
/* One shared top-band role, independent of legacy header/region rules. */
body.grouped-navigation>.app>header,
body.grouped-navigation>.app>header .brand,
body.grouped-navigation>.app>header .header-right,
body.grouped-navigation #businessNavigation{background:var(--desk-header-background);color:var(--desk-header-foreground)}
.grouped-navigation .app>header{margin-left:calc(-1 * var(--desk-sidebar));width:calc(100% + var(--desk-sidebar));height:56px;padding-left:12px}
.grouped-navigation .app>header>div:first-child{display:flex;align-items:center;min-width:0}
.grouped-navigation .app>header .brand{margin:0;padding:0 10px 0 0;background:transparent;min-height:0;gap:8px}
.grouped-navigation .app>header .cloud-mark{display:flex;align-items:center;justify-content:center;flex:none;width:90px;height:50px}
.grouped-navigation .app>header .cloud-mark img.company-logo{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;background:transparent}
.grouped-navigation .app>header .brand-name{font-size:18px}
.grouped-navigation #breadcrumb{display:none}
#businessNavigation{position:sticky;top:56px;z-index:151;min-height:var(--business-nav-height);background:#2585D9;border-top:1px solid rgba(255,255,255,.28);color:var(--redesign-color-10);display:flex;align-items:stretch;margin-left:calc(-1 * var(--desk-sidebar));width:calc(100% + var(--desk-sidebar));padding:0 12px;gap:12px}
#businessGroups{display:flex;flex:1;align-items:stretch;gap:4px;min-width:0}
#businessGroups button{width:auto;min-height:42px;white-space:nowrap;padding:9px 16px;border-radius:4px 4px 0 0;color:#f0f7ff;background:transparent;border:0;margin:3px 0 0;font-size:14px}
#businessGroups button.active{background:var(--redesign-color-10);color:var(--navy);font-weight:700}
#businessGroups button:hover{background:var(--redesign-color-13)}
#businessGroups button.active:hover{background:var(--redesign-color-10)}
#businessNavigation .common-work-log{width:auto;white-space:nowrap;color:#f0f7ff;background:transparent;border:0;padding:8px 12px}
/* Left status board below the sub menu; hidden on the realtime schedule page. */
body.grouped-navigation>aside{display:flex;flex-direction:column}
body.grouped-navigation>aside nav{flex:1 1 auto}
.sidebar-status{margin:16px 2px 0;padding:12px 4px 4px;border-top:1px solid rgba(255,255,255,.16);flex:none}
.sidebar-status h3{margin:10px 4px 6px;font-size:12px;font-weight:700;color:var(--redesign-color-12)}
.sidebar-status button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;background:transparent;border:0;border-radius:5px;color:var(--redesign-color-12);font-size:12px;font-weight:500;padding:6px 8px;min-height:28px;margin:1px 0;cursor:pointer;text-align:left}
.sidebar-status button:hover:not(:disabled){background:var(--redesign-color-13);color:#fff}
.sidebar-status button:disabled{cursor:default;opacity:.6}
.sidebar-status b{background:var(--redesign-color-2);color:#fff;border-radius:10px;min-width:22px;text-align:center;padding:2px 7px;font-size:11px;flex:none}
/* Signed-in staff name/rank pinned to the bottom of the left menu. */
.grouped-navigation>aside .profile{margin-top:auto;position:sticky;bottom:0;z-index:2;flex:none;background:var(--redesign-color-9);padding:14px 3px 6px;border-top:1px solid rgba(255,255,255,.16);color:#fff}
.grouped-navigation>aside .profile small{color:var(--redesign-color-12)}
.grouped-navigation>aside{top:var(--desk-top);height:calc(100dvh - var(--desk-top));padding-top:12px}
#sidebarGroupTitle{font-size:17px;margin:4px 12px 16px;color:var(--redesign-color-10)}
.navigation-flat-group>summary{display:none}
.navigation-flat-group>div{padding:0}
.grouped-navigation aside nav [hidden],#businessGroups [hidden]{display:none!important}
.grouped-navigation aside nav button{font-size:13px;min-height:39px}
.grouped-navigation .reference-editor,.grouped-navigation .dispatch-editor{top:var(--desk-top)!important;height:calc(100dvh - var(--desk-top))!important}
.grouped-navigation dialog.page-dialog{top:var(--desk-top);height:calc(100dvh - var(--desk-top))}
.grouped-navigation .notification-panel{top:calc(var(--desk-top) + 2px)!important}
@media(min-width:851px){#sidebarToggle{display:none!important}.grouped-navigation>aside{transform:none!important}.grouped-navigation>.app{margin-left:var(--desk-sidebar)}}
@media(min-width:851px) and (max-width:1150px){body.grouped-navigation{--desk-sidebar:205px}#businessGroups button{padding:9px 11px}}
@media(max-width:850px){
 body.grouped-navigation{--desk-sidebar:0px;--business-nav-height:78px;--desk-top:134px}
 .grouped-navigation .app>header{width:100%;margin:0;padding:0 10px}
 .grouped-navigation .app>header .brand-name{font-size:15px}.grouped-navigation .app>header .brand-name small{font-size:9px}
 .grouped-navigation .app>header .cloud-mark{width:76px;height:44px}
 .grouped-navigation .app>header .header-right{gap:5px}.grouped-navigation .app>header #adminMenu summary{max-width:78px}
 .grouped-navigation .app>header .brand{padding:0;gap:5px}
 #businessNavigation{display:grid;grid-template-columns:minmax(0,1fr);padding:0 6px;gap:0;width:100%;margin:0}
 #businessGroups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
 #businessGroups button{font-size:12px;min-height:36px;padding:7px 3px;margin:0;justify-content:center;border-radius:4px;white-space:nowrap}
 #businessNavigation .common-work-log{position:fixed;left:12px;bottom:12px;z-index:210;display:none}
 .grouped-navigation.sidebar-open #businessNavigation .common-work-log{display:block;background:var(--navy);border:1px solid var(--line);border-radius:5px}
 .grouped-navigation .reference-editor,.grouped-navigation .dispatch-editor{top:var(--desk-top)!important;height:calc(100dvh - var(--desk-top))!important}
 .grouped-navigation>aside .profile{margin-bottom:60px}
 .grouped-navigation>aside nav{padding-bottom:60px}
}
@media print{#businessNavigation{display:none!important}}
body.grouped-navigation.sidebar-open #businessNavigation{z-index:205}
body:has(dialog[open]) #businessNavigation .common-work-log{display:none!important}

@media(max-width:850px){
 body.grouped-navigation{--desk-top:180px}
 body.grouped-navigation>.app>header{display:grid;min-height:102px;height:102px;grid-template-columns:minmax(0,1fr);grid-template-rows:48px 48px;gap:0;padding:0 10px}
 .grouped-navigation .app>header>div:first-child{width:100%;justify-content:flex-start}
 .grouped-navigation .app>header .header-right{width:100%;justify-content:flex-end;gap:8px;margin:0}
 .grouped-navigation .app>header .brand-name{font-size:17px}
 .grouped-navigation .app>header .cloud-mark{width:76px;height:44px}
 .grouped-navigation .app>header #adminMenu summary{max-width:100px}
 #businessNavigation{top:102px}
}

/* Owner-requested top-label sizing and centered, stable controls only. */
#businessGroups button{font-size:17px;display:flex;align-items:center;justify-content:center;min-height:43px;line-height:1.3}
.grouped-navigation .header-right{align-items:center;gap:10px}
.grouped-navigation .header-right>button,.grouped-navigation .header-right>a,.grouped-navigation .header-right>details>summary{font-size:15px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1.2;padding:7px 10px;box-sizing:border-box;white-space:nowrap}
.grouped-navigation #notificationBell{min-width:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center}
.grouped-navigation #notificationBell:before{font-size:24px}
@media(max-width:850px){#businessGroups button{font-size:15px;min-height:36px;padding:7px 3px}.grouped-navigation .header-right{gap:6px}.grouped-navigation .header-right>button,.grouped-navigation .header-right>a,.grouped-navigation .header-right>details>summary{font-size:13px;padding:7px 7px;min-height:34px}.grouped-navigation .header-right #adminMenu summary{max-width:90px}}

/* Shared sky-blue navigation only; operational screens keep their own tokens. */
body.grouped-navigation{--desk-menu-hover:#1c72bd;--desk-menu-selected:#fff;--desk-menu-selected-ink:#14598f;--desk-menu-line:#ffffff55}
body.grouped-navigation>aside,body.grouped-navigation>aside nav,body.grouped-navigation>aside .profile,body.grouped-navigation>aside .sidebar-status{background:var(--desk-header-background);color:var(--desk-header-foreground)}
body.grouped-navigation>aside nav button,body.grouped-navigation>aside nav summary,body.grouped-navigation>aside .profile small,body.grouped-navigation>aside .sidebar-status h3,body.grouped-navigation>aside .sidebar-status button{color:var(--desk-header-foreground)}
body.grouped-navigation>aside nav button:hover,body.grouped-navigation>aside nav summary:hover,body.grouped-navigation>aside .sidebar-status button:hover:not(:disabled){background:var(--desk-menu-hover);color:var(--desk-header-foreground)}
body.grouped-navigation>aside nav button.active,body.grouped-navigation>aside nav details:has(button.active)>summary{background:var(--desk-menu-selected);color:var(--desk-menu-selected-ink)}
body.grouped-navigation>aside .sidebar-status,body.grouped-navigation>aside .profile{border-color:var(--desk-menu-line)}
body.grouped-navigation>aside .sidebar-status b{background:var(--desk-menu-hover);color:var(--desk-header-foreground)}
body.grouped-navigation.sidebar-open #businessNavigation .common-work-log{background:var(--desk-header-background);color:var(--desk-header-foreground);border-color:var(--desk-menu-line)}

/* Website inquiry presentation only; same cells/actions on desktop and mobile. */
.website-intakes-page{min-width:0}
.website-intake-detail{padding:16px;min-width:0;line-height:1.7}
.website-intake-detail .info-grid{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 16px}
.website-intake-detail .info-grid dt,.website-intake-detail .info-grid dd{margin:0;min-width:0;overflow-wrap:anywhere}
.website-intake-detail>label{display:grid;gap:8px;margin:16px 0;min-width:0}
.website-intake-detail textarea,.website-intake-detail select{display:block;width:100%;max-width:100%;min-width:0;padding:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink)}
.website-intake-detail .dialog-actions button{white-space:normal;line-height:1.5}
#businessNavigation{top:var(--desk-header-height,56px)}
@media(max-width:850px){
 body.grouped-navigation>.app>header{height:auto;min-height:102px;grid-template-rows:auto auto;padding:6px 10px;gap:6px;align-items:center}
 .grouped-navigation .app>header .header-right{display:flex;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:5px;min-width:0}
 .grouped-navigation .header-right>*{flex:0 1 auto;min-width:0;max-width:100%}
 .grouped-navigation .header-right>button,.grouped-navigation .header-right>a,.grouped-navigation .header-right>details>summary{width:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3;font-size:13px;padding:7px 8px;min-height:36px}
 .grouped-navigation .header-right>#logoutButton{font-size:13px;padding:7px 8px}
 #businessGroups{margin-top:0;min-width:0}
 .website-intakes-page .table-wrap{overflow:visible}
 .website-intakes-page table,.website-intakes-page tbody{display:block;width:100%;min-width:0}
 .website-intakes-page thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .website-intakes-page tbody tr{display:block;border:1px solid var(--line);border-radius:6px;padding:12px;margin:12px 0;background:var(--surface)}
 .website-intakes-page tbody td{display:block;width:100%;max-width:none;padding:6px 0;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere;word-break:normal;font-size:14px;line-height:1.7}
 .website-intakes-page td[data-label]:before{content:attr(data-label);display:block;font-weight:700;color:var(--muted);font-size:12px}
 .website-intakes-page td small{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
 .website-intakes-page td button{width:100%;min-height:44px;white-space:normal;line-height:1.5}
 .website-intake-detail .info-grid{grid-template-columns:minmax(0,1fr);gap:4px}
 .website-intake-detail .info-grid dt{font-weight:700;color:var(--muted);margin-top:8px}
 .website-intake-detail .dialog-actions button{width:100%}
}
@media(max-width:340px){.grouped-navigation .app>header .header-right{gap:3px}.grouped-navigation .header-right>button,.grouped-navigation .header-right>a,.grouped-navigation .header-right>details>summary,.grouped-navigation .header-right>#logoutButton{padding:6px 5px;font-size:12px}}
