/* A2 — architectural workspace. Shared visual layer, no data changes. */
:root{--muted:#706f6d;--line:#e5e5e4;--panel:#fff;--green:#3f3e3d;--violet:#3f3e3d;--card-edge:#e4e4e4;--card-shadow:0 2px 3px #22222103,0 10px 28px -20px #22222133;color:#30302f;background:#f3f3f3;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}
body{background:#f3f3f3}button,input,select,textarea{transition:background-color .16s,border-color .16s,box-shadow .16s}button{min-height:40px;border-radius:10px;font-weight:600;background:#fff;border-color:#e0e0e0;color:#434342}button:hover{background:#f2f2f2;border-color:#b9b9b8}button.primary{background:#3c3b3a;border-color:#3c3b3a;box-shadow:0 4px 10px #3c3b3a12;color:white}button.primary:hover{background:#2f2f2e;border-color:#2f2f2e;box-shadow:0 5px 15px #3c3b3a26}button:disabled{cursor:not-allowed}a{color:#464544;text-underline-offset:3px}input,select,textarea{background:#fff;border:1px solid #dddddc;border-radius:10px;padding:13px 14px;box-shadow:0 1px 2px #22222103}input::placeholder,textarea::placeholder{color:#8a8988}input:focus,select:focus,textarea:focus{border-color:#666563;box-shadow:0 0 0 3px #ececeb}label{color:#5a5958;font-weight:550;line-height:1.5}textarea{resize:vertical;line-height:1.65}h1{font-weight:650;letter-spacing:-.045em;line-height:1.2}h2,h3{font-weight:650}small,.muted{color:var(--muted)}:focus-visible{outline:3px solid #a3a2a1;outline-offset:3px}
.shell{grid-template-columns:258px minmax(0,1fr);background:#f3f3f3}aside{background:#292928;color:#e8e8e7;border-right:0;padding:30px 17px 18px;scrollbar-width:thin;scrollbar-color:#585756 #292928}aside .brand{padding:0 8px 27px;gap:11px;border-bottom:1px solid #ffffff15;margin-bottom:8px}aside .brand img{width:56px;height:38px;object-fit:contain;background:white;padding:4px;border-radius:7px}aside .brand strong{color:#f1f1f0;font-size:12px;letter-spacing:.1em}aside .brand small{color:#b0b0af;font-size:11px;margin-top:4px}.navgroup{color:#a3a3a2;font-size:9px;letter-spacing:.17em;margin:23px 12px 12px;font-weight:650}nav{gap:4px}nav button{position:relative;color:#cccccb;font-size:13px;font-weight:450;border-radius:9px;padding:11px 12px;min-height:42px;gap:12px}nav button:hover{background:#373736;color:#fff;border-color:transparent}nav button.active{background:#efefee;color:#2b2b2b;border-color:#efefee;box-shadow:0 4px 12px #1111101a;font-weight:650}nav button.active:after{content:'';width:5px;height:5px;border-radius:50%;background:#7f7e7b;margin-left:auto}nav svg{width:18px;height:18px;stroke-width:1.65}.sidebar-works{border-left:1px solid #656463;margin:7px 0 10px 20px;padding-left:10px}.sidebar-works button{font-size:12px;min-height:35px;color:#bbbab9;padding:8px 10px}.sidebar-works button:hover{background:#373736;color:#fff}.sidebar-works button.selected{background:#41403f;color:#f2f2f1}.work-context{background:#363635;border-color:#4e4d4c;margin:15px 0 5px;padding:17px}.work-context small{color:#c2c2c1;font-size:9px}.work-context strong{color:white;font-size:13px}.work-context button{background:#484847;border-color:#646362;color:white;min-height:32px}.profile{margin-top:30px;padding:20px 3px 0;border-top:1px solid #ffffff1c;gap:10px}.profile>div:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.profile small{color:#b6b6b5}.profile .avatar{flex-shrink:0;background:#e3e3e2;color:#3b3b3a;border-color:#e3e3e2;width:36px;height:36px;border-radius:50%;font-weight:650}.profile button{color:#c3c3c2;border:1px solid #575655;min-height:34px;width:34px;flex-shrink:0}.profile button:hover{background:#3f3f3e;color:#fff}
.topbar{height:78px;padding:0 38px;background:#fff;border-bottom:1px solid #e3e3e2;gap:18px}.crumb{font-size:12px;color:#858483}.crumb b{color:#3d3d3d;font-weight:600}.topbar select{font-size:12px;border-radius:9px;max-width:220px;padding:10px 30px 10px 13px;background:#f8f8f8}.topbar time{font-size:11px;white-space:nowrap}.topbar #refreshData{font-size:12px;border-color:#e3e3e2;background:#fff;min-height:37px}.content{padding:35px 38px 100px;max-width:1600px}.title{margin-bottom:30px;gap:18px;flex-wrap:wrap}.title h1{font-size:clamp(25px,2.4vw,35px);color:#2d2d2c}.title p{font-size:13px;line-height:1.6;color:#7b7a79;margin-top:9px}.eyebrow{font-size:9px;letter-spacing:.2em;font-weight:700;color:#706f6c;margin-bottom:10px}.title button{min-height:42px;font-size:12px;padding:11px 17px}.stats{gap:18px;margin-bottom:24px}.card,.stat,.work-card,.route-card,.request-card,.schedule-stage,.task-summary>div{border-radius:15px;border-color:#e4e4e3;box-shadow:var(--card-shadow)}.card{padding:25px}.cardhead{margin-bottom:22px}.cardhead h2{font-size:16px;color:#363635;letter-spacing:-.025em}.cardhead button{color:#636260;font-size:11px;min-height:32px;border-color:#e6e6e6;padding:6px 10px;border-radius:7px}.stat{padding:22px 24px}.stat .label{font-size:12px;color:#72716f;font-weight:500}.stat .label svg{background:#f0f0ef;border:1px solid #e7e7e6;border-radius:12px;color:#747371;width:19px;height:19px;padding:9px}.stat strong{font-size:33px;font-weight:600;color:#343433;letter-spacing:-.045em;margin:14px 0 8px}.stat small{color:#898887;font-size:11px}.stat:after{background:#979693;width:28px;height:2px}.grid{gap:24px}.lower{margin-top:24px}.project{padding:21px 0}.project-title{color:#3b3b3a;font-size:14px}.project p{color:#8a8988;font-size:12px}.rowmeta{color:#7d7c7b;font-size:11px}.progress{height:6px;background:#ededed}.progress span,.progress.green span{background:#6d6c6b}.badge{padding:6px 9px;font-size:10px;font-weight:600;letter-spacing:.01em;background:#f2f2f1;color:#696866}.badge.ok{background:#eeeeed;color:#50504f}.badge.warn{background:#ececec;color:#5f5e5b}.approval{border-color:#e9e9e9;padding:18px 0}.approval p{font-size:13px;line-height:1.5}.approval .avatar{border-radius:11px;background:#f1f1f1;color:#71706e;border-color:#e4e4e4}.approval small{font-size:11px}.approval button{min-height:31px;font-size:11px}.empty{padding:48px 24px;font-size:13px;line-height:1.8;color:#828180}.empty h2{font-size:17px;color:#5f5e5d}.work-shortcuts{gap:10px;margin-bottom:26px}.work-shortcuts button{border-radius:10px;font-size:12px;min-height:55px;background:#fff}.work-shortcuts svg{color:#777674}.work-cover{background:#e9e9e9}.work-card .cover-empty{background:linear-gradient(135deg,#e3e3e3,#eeeeee);color:#686766}.work-card .cover-empty svg{background:#f6f6f5;border-color:#e0e0e0;color:#71706f}.work-card .work-cover{height:200px}.work-card-body{padding:23px}.work-card h2{font-size:21px}.work-card-actions{gap:8px}.work-card-actions button{font-size:12px}.work-card-actions button:first-child{background:#3e3e3d;color:white;border-color:#3e3e3d}.work-card-actions button:first-child:hover{background:#313131}
.toolbar{gap:10px;align-items:center;flex-wrap:wrap}.toolbar input{background:white;font-size:13px;max-width:400px}.tablewrap{border-radius:12px;border:1px solid #e8e8e8}table{font-size:13px}th{background:#f5f5f5;color:#7d7c7a;font-size:10px;letter-spacing:.065em;text-transform:uppercase;font-weight:650;padding:15px 17px}td{padding:18px 17px;border-color:#ededec}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafaf9}td small{font-size:11px;margin-top:4px}td button{font-size:11px;min-height:33px;border-radius:8px}.task-filters{gap:7px}.task-filters button{font-size:12px;border-radius:9px;padding:9px 14px}.task-filters [aria-pressed=true]{background:#3f3f3e;border-color:#3f3f3e;box-shadow:0 3px 8px #3f3f3e14}.task-summary strong{font-size:30px;font-weight:600;color:#434342}.task-summary span{font-size:12px}.stage-library .stage-code{background:#eaeae9;color:#61605e;border-radius:12px;font-size:17px}.stage-library .card:after{display:none}.schedule-stage summary{background:#fff}.schedule-task-list{background:#f5f5f5}.schedule-task{border-color:#e4e4e3}.schedule-task h3{font-size:14px}.schedule-task-progress>b{font-weight:600;color:#5f5e5d}.stage-percent{color:#636260}.logistics-summary>div{border-radius:14px;box-shadow:var(--card-shadow)}.logistics-summary svg{background:#efefee;color:#757472}.logistics-summary strong{font-weight:600;color:#464645}.route-rank>span{background:#ededec;color:#5d5c5b;border-radius:12px}.route-cargo{background:#f5f5f4;border-color:#e6e6e5}.route-path h3{color:#464645}.route-arrow{color:#999896}.route-actions button.primary{background:#41403f}.route-card.on-road{border-top-color:#8c8a87}.request-card .route-notes{background:#f8f8f7}.truck-history summary{color:#777674}.logistics-notice,.notice{background:#fff;border:1px solid #e1e1e1;color:#61605f;border-left:3px solid #959492;border-radius:10px;box-shadow:0 3px 10px #2d2d2d04}.notice button{background:#f4f4f4;color:#656463}.truck-hero{background:#323232;border-radius:16px}.truck-hero p,.truck-hero small{color:#c8c7c6}
dialog{border:1px solid #dfdfdf;border-radius:18px;padding:30px;background:#fff;color:#383838;box-shadow:0 28px 90px #1b1b1b3b}dialog::backdrop{background:#2020206b;backdrop-filter:blur(4px)}dialog .cardhead{padding-bottom:19px;border-bottom:1px solid #e9e9e9;margin-bottom:23px}dialog .cardhead h2{font-size:20px}dialog .actions{padding-top:20px;border-top:1px solid #ececec;margin-top:25px}dialog .cardhead button{min-width:34px;min-height:34px}.formgrid{gap:20px}.calc{background:#f2f2f1;border:1px solid #e5e5e5}.error{color:#ae382f;line-height:1.6}#toast{background:#fff;color:#363635;border:1px solid #dfdfde;border-left:4px solid #6f6e6c;padding:16px 22px;box-shadow:0 12px 35px #2c2c2b27;font-size:13px;line-height:1.5;border-radius:10px;bottom:28px}.a2-install{background:#383838;border-color:#5a5958;border-radius:30px;font-size:12px;box-shadow:0 7px 20px #2e2e2d26}
/* Entrance: architectural lines and a calm, solid sign-in panel. */
.login{position:relative;background:#f0f0f0;grid-template-columns:minmax(0,1fr) minmax(360px,460px);padding:64px 8vw;gap:9vw;min-height:100svh;isolation:isolate}.login:before{content:'';position:absolute;z-index:-2;inset:0 44% 0 0;background:#2b2b2a}.login:after{content:'';position:absolute;z-index:-1;left:4%;bottom:-70px;width:38%;height:56%;border:1px solid #ffffff16;transform:skewY(-13deg);background:repeating-linear-gradient(90deg,transparent 0 69px,#ffffff0a 69px 70px),repeating-linear-gradient(0deg,transparent 0 69px,#ffffff0a 69px 70px);pointer-events:none}.loginintro{position:relative;color:#efefee;max-width:520px}.loginintro .brand{margin-bottom:80px;gap:16px}.loginintro .brand img{width:83px;border-radius:8px;background:white;padding:7px}.loginintro .brand strong{color:#efefee;font-size:13px}.loginintro .brand small{color:#b1b1b0;font-size:10px;letter-spacing:.13em;margin-top:5px}.loginintro h1{font-size:clamp(38px,4.25vw,64px);font-weight:500;line-height:1.12;letter-spacing:-.05em}.loginintro .eyebrow{color:#a7a6a4;font-size:10px;margin-bottom:22px}.loginintro p{color:#b9b9b8;font-size:15px;line-height:1.85;margin:25px 0 34px}.loginintro>small{color:#a1a09e!important;font-size:11px;letter-spacing:.025em}.loginbox{background:#fff;border:1px solid #e3e3e2;box-shadow:0 22px 70px -35px #3232324d;border-radius:20px;padding:40px;max-width:460px;justify-self:center}.logomark{width:84px;border:0;border-radius:0;box-shadow:none;margin-bottom:24px}.loginbox h2{font-size:26px;color:#383838;font-weight:600}.loginbox>p{color:#838280;margin:10px 0 32px;font-size:13px}.loginbox label{color:#575655;font-size:12px;margin-bottom:21px}.loginbox input{background:#f9f9f9;color:#383838;box-shadow:none;border:1px solid #dddddc;border-radius:10px;padding:15px;font-size:14px}.loginbox input:focus{border-color:#767574;box-shadow:0 0 0 3px #ededed}.loginbox button.primary{background:#3d3d3c;border-radius:10px;font-size:14px;padding:15px;min-height:48px}.loginbox .password input{padding-right:72px}.password button{color:#757473;min-height:37px}.loginbox .muted{font-size:11px;color:#888785;line-height:1.8;margin-top:26px}.loginbox .preview{color:#5e5e5d;border-color:#d9d9d8;border-radius:10px}
@media(min-width:1600px){.content{padding-top:43px}.shell{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:1150px){.shell{grid-template-columns:230px minmax(0,1fr)}.topbar,.content{padding-left:25px;padding-right:25px}.topbar time{display:none}.stats{gap:14px}.login{padding:45px 5vw;gap:7vw}.loginintro h1{font-size:44px}.loginbox{padding:34px}.cardhead{flex-wrap:wrap}}
@media(max-width:750px){.shell{display:block}aside{width:258px;background:#292928;padding-top:24px;box-shadow:none}aside.open{box-shadow:16px 0 50px #1d1d1c38}.topbar{height:68px;padding:12px 17px;gap:12px}.topbar>div:last-child{gap:8px!important;min-width:0;flex:1;justify-content:flex-end}.topbar select{width:160px;max-width:100%;font-size:12px;min-width:0;flex:1}.topbar #refreshData{font-size:11px;padding:9px;min-height:40px}.mobilemenu{min-height:40px;min-width:40px;color:#3d3d3d;background:#fff;border:1px solid #dededd}.content{padding:26px 17px 95px}.title{gap:15px;margin-bottom:24px}.title h1{font-size:27px}.title p{font-size:12px}.title button{font-size:12px;white-space:normal}.card{padding:20px}.stats{gap:11px}.stat{padding:18px 16px}.stat .label{font-size:11px;align-items:flex-start;gap:5px}.stat .label svg{width:16px;height:16px;padding:6px;flex-shrink:0}.stat strong{font-size:28px}.stat small{font-size:10px}.stat:after{left:16px}.grid{gap:18px}.cardhead h2{font-size:15px}.work-shortcuts button{font-size:11px;padding:12px}.logistics-summary{gap:11px}.request-card,.route-card{padding:19px}.task-summary{gap:11px}.task-summary>div{padding:18px}.task-filters{gap:7px}.task-filters button{font-size:11px;padding:8px 11px}.toolbar input{max-width:none}.tablewrap{border-radius:9px}th,td{padding:14px 12px}dialog{padding:23px 20px;max-height:calc(100svh - 28px)}dialog .cardhead h2{font-size:19px}.login{display:flex;flex-direction:column;justify-content:center;gap:22px;padding:35px 20px;background:#f0f0ef;overflow:hidden}.login:before{inset:0 0 auto;height:205px;background:#2b2b2a}.login:after{display:none}.loginintro{display:block;width:100%;max-width:420px}.loginintro .brand{margin:0;padding:0 8px;gap:13px}.loginintro .brand img{width:58px;padding:4px}.loginintro .brand strong{font-size:12px}.loginintro .brand small{font-size:9px}.loginintro h1,.loginintro>.eyebrow,.loginintro>p,.loginintro>small{display:none}.loginbox{margin:0;width:100%;max-width:420px;padding:30px 26px;border-radius:17px}.loginbox h2{font-size:24px}.loginbox input{font-size:16px}.logomark{width:72px;margin-bottom:20px}.loginbox>p{margin-bottom:26px}.a2-install{right:15px;font-size:11px;padding:11px 15px}#toast{bottom:80px;width:max-content;max-width:calc(100vw - 30px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}.work-card:hover{transform:none}}
@media print{body,.shell,.workspace,.content{background:white!important;color:#111}.card,.stat,.work-card,.schedule-stage,.route-card,.request-card{box-shadow:none;border-color:#ccc}.cardhead h2,.stat strong,.title h1{color:#111}.tablewrap{overflow:visible}th{background:#f2f2f2}nav,.login:before,.login:after{display:none!important}}

@media(max-width:750px){.loginintro h1.entrance-quote{display:block;font-size:18px;line-height:1.45;letter-spacing:-.015em;color:#383837;margin:24px 8px 0}.login:before{height:115px}}
