@import "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap";
:root{--ink:#222f3c;--muted:#727a81;--green:#365f82;--lime:#dceaf5;--line:#e5e8ea;--surface:#f5f6f7;--white:#fff;color:var(--ink);background:var(--surface);font-family:Noto Sans JP,Arial,sans-serif;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid var(--line);min-height:40px;color:var(--ink);cursor:pointer;white-space:nowrap;background:#fff;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:9px 15px;font-weight:500;text-decoration:none;display:inline-flex}button:hover,.button:hover{background:#f0f3f5;border-color:#bbc5cf}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{color:#fff;background:#182634}a{color:inherit;text-decoration:none}.icon{background:0 0;border:0;min-width:36px;min-height:36px;padding:8px}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.7px;margin-bottom:8px;font-size:28px}h2{margin-bottom:0;font-size:16px}h3{font-size:15px}p{line-height:1.8}small{font-size:12px}.muted,.sub{color:var(--muted)}.sub{margin-top:5px;display:block}.inline{align-items:center;gap:10px;display:flex}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.full{width:100%}.app-shell{min-height:100vh;display:flex}.sidebar{border-right:1px solid var(--line);z-index:30;background:#fff;flex-direction:column;width:240px;padding:30px 18px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-1.5px;align-items:center;gap:10px;padding:0 13px 28px;font-family:Arial,sans-serif;font-size:34px;font-weight:750;display:flex}.brand-mark{background:var(--green);width:35px;height:38px;color:var(--lime);letter-spacing:-2px;border-radius:9px;place-items:center;font-size:28px;font-weight:900;display:grid}.brand-period{color:#527fac;margin-left:-10px}.workspace{border:1px solid var(--line);border-radius:9px;align-items:center;gap:10px;padding:14px 10px;font-size:12px;font-weight:600;display:flex}.workspace small{color:var(--muted);margin-top:4px;font-size:10px;font-weight:400;display:block}.company-icon{background:#f2f3f5;border-radius:6px;place-items:center;width:32px;height:32px;display:grid}.nav-caption{color:#989da2;letter-spacing:1px;margin:30px 14px 10px;font-size:11px}.sidebar nav{flex-direction:column;gap:5px;display:flex}.sidebar nav a{color:#6b737a;border-radius:7px;align-items:center;gap:11px;padding:12px 13px;font-size:13px;display:flex}.sidebar nav a.active{color:var(--green);background:#eaeff3;font-weight:700}.sidebar nav a:hover{background:#f1f3f5}.nav-count{background:#fff;border-radius:4px;margin-left:auto;padding:2px 5px;font-size:11px}.sidebar-bottom{margin-top:auto;padding:24px 10px 0}.sidebar-bottom p{color:#a9adb1;margin:22px 0 0;font-size:10px}.person{align-items:center;gap:10px;font-size:13px;font-weight:500;display:flex}.person small{color:var(--muted);margin-top:3px;font-size:10px;font-weight:400;display:block}.avatar{color:#576a7d;background:#e8ebee;border-radius:50%;flex-shrink:0;place-items:center;width:33px;height:33px;font-size:12px;display:grid}.avatar.c1{color:#6775a1;background:#eef1f9}.avatar.c2{color:#a28b6d;background:#f6ece3}.app-shell>main{flex:1;min-width:0;margin-left:240px}.topbar{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;height:72px;padding:0 36px;font-size:12px;display:flex}.topbar .inline>span:first-child{color:var(--muted)}.topbar strong{font-weight:500}.top-date{color:#757e87;font-size:12px}.demo-switch{background:#f0f3f6;min-height:30px;padding:5px 8px;font-size:11px}.content{max-width:1660px;margin:auto;padding:24px 36px 60px}.demo-banner{color:#6b7884;margin-bottom:22px;font-size:11px}.page-intro{justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px;display:flex}.page-intro p{color:var(--muted);margin-bottom:0;font-size:13px}.eyebrow{letter-spacing:1.8px;color:#8b939a;margin-bottom:9px;font-size:10px;font-weight:700}.metrics{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px;display:grid}.metrics.three{grid-template-columns:repeat(3,1fr)}.metrics>div{border:1px solid var(--line);background:#fff;border-radius:10px;padding:21px 23px}.metrics span{color:#747a80;margin-bottom:11px;font-size:12px;display:block}.metrics strong{letter-spacing:-1px;font-size:30px;font-weight:700;line-height:1.2;display:block}.metrics small{color:var(--muted);letter-spacing:0;font-size:12px;font-weight:400}.metrics p{color:#8b9197;margin:10px 0 0;font-size:10px}.metrics .metric-accent{background:#e8eff5;border-color:#d9e3ec}.text-button{color:#405b76;background:0 0;border:0;min-height:30px;padding:0;font-size:12px}.panel{border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:22px;overflow:hidden}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:20px 22px;display:flex}.toolbar h2{font-size:16px}.pager{border:1px solid var(--line);border-radius:6px;gap:0;margin-left:12px;display:flex;overflow:hidden}.pager button{border:0;border-radius:0;min-height:32px;padding:5px 10px;font-size:11px}.search{border:1px solid var(--line);color:#8e949b;border-radius:7px;align-items:center;gap:8px;min-height:36px;padding:0 11px;display:flex}.search input{background:0 0;border:0;outline:0;width:145px;padding:6px 0;font-size:12px}.board-scroll{overflow-x:auto}.board{border-collapse:collapse;table-layout:fixed;width:100%;min-width:900px}.board th,.board td{border-top:1px solid var(--line);border-right:1px solid #edeff0}.board thead th{color:#7c8389;text-align:center;height:74px;font-size:11px;font-weight:400;position:relative}.board thead th:first-child{text-align:left;width:162px;padding-left:22px}.board thead th:first-child span{margin-left:8px;font-size:10px}.board thead th b{color:#58626d;margin-top:4px;font-size:20px;font-weight:500;display:block}.board thead th.current b{color:var(--green)}.board .current{background:#eef3f8}.today{color:#46719b;font-size:9px;position:absolute;top:13px;right:9px}.board tbody th{background:#fff;padding:18px 15px 18px 20px;font-weight:400}.board tbody td{vertical-align:top;height:78px;padding:8px}.board tr:last-child td,.board tr:last-child th{border-bottom:0}.board th:last-child,.board td:last-child{border-right:0}.slots{min-height:58px;position:relative}.assignment{text-align:left;white-space:normal;border:0;border-left:3px solid #95a6b7;border-radius:5px;width:100%;min-height:58px;margin-bottom:4px;padding:10px 9px;display:block}.assignment span{font-size:11px;font-weight:500;line-height:1.5;display:block}.assignment small{opacity:.65;white-space:nowrap;margin-top:5px;font-size:9px;display:block}.site0{color:#41576d;background:#e9eef3;border-color:#869db4}.site1{color:#616c9e;background:#eef0fb;border-color:#a5acd2}.site2{color:#9b7746;background:#fcf2e5;border-color:#d8b579}.add-slot{color:#a4adb6;opacity:0;background:0 0;border:0;width:100%;height:20px;min-height:20px;padding:0}.board td:hover .add-slot,.add-slot:focus{opacity:1}.panel-footer{border-top:1px solid var(--line);color:#8a9197;justify-content:space-between;padding:14px 22px;font-size:10px;display:flex}.legend{background:#889caf;border-radius:2px;width:7px;height:7px;margin-right:7px;display:inline-block}.lower-grid{grid-template-columns:1.6fr 1fr;gap:22px;display:grid}.site-line{border-top:1px solid #f0f1f2;align-items:center;gap:13px;padding:14px 22px;display:flex}.site-icon{border-radius:8px;flex-shrink:0;place-items:center;width:39px;height:39px;display:grid}.site-line strong{font-size:12px;font-weight:600}.site-line p{color:var(--muted);margin:4px 0 0;font-size:10px}.site-line .pill{margin-left:auto}.pill{white-space:nowrap;border-radius:5px;padding:5px 8px;font-size:10px;display:inline-block}.pill.green{color:#476c91;background:#e6edf4}.pill.gray{color:#7d8287;background:#f0f1f2}.pill.amber{color:#986d27;background:#fff3d8}.text-link{color:#697b8c;font-size:11px}.quick{background:#eceff2;padding:30px}.quick h2{margin:18px 0 15px;font-size:19px}.quick p{color:#7b838b;font-size:12px;line-height:2}.quick .primary{margin-top:8px;font-size:12px}.table-wrap{overflow:auto}table:not(.board){border-collapse:collapse;width:100%;font-size:13px}table:not(.board) th{text-align:left;color:#7a828a;white-space:nowrap;background:#f9fafa;padding:15px 20px;font-size:11px;font-weight:500}table:not(.board) td{border-top:1px solid var(--line);padding:17px 20px;line-height:1.7}table:not(.board) td strong{font-size:13px}table:not(.board) td button,.table-wrap .button{min-height:32px;padding:6px 10px;font-size:11px}.empty{text-align:center;color:#99a0a6;padding:60px}.empty p{margin:16px 0 0;font-size:13px}.banner{color:#8a702d;background:#fff8e5;border:1px solid #eee2bf;border-radius:8px;margin-bottom:20px;padding:16px 20px;font-size:13px;line-height:1.9}.error{color:#a1392e;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff0ed;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:12px 16px;font-size:13px;display:flex}.toast{color:#fff;z-index:150;background:#22374b;border-radius:9px;align-items:center;gap:10px;padding:15px 22px;display:flex;position:fixed;bottom:25px;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #19293920}.actions{justify-content:flex-end;gap:10px;margin:20px 0;display:flex}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;display:grid}.project-card{padding:24px}.project-card h2{margin:20px 0 12px;font-size:17px}.project-card p{color:var(--muted);margin-bottom:8px;font-size:12px}.contract-summary{border-block:1px solid var(--line);justify-content:space-between;margin:20px 0;padding:17px 0;font-size:12px;display:flex}.project-card .inline button{font-size:11px}.project-card details{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.project-card summary{cursor:pointer;font-size:12px}.project-card h3{margin-top:20px;font-size:12px}.rate-line{border:0;border-bottom:1px solid var(--line);border-radius:0;justify-content:space-between;width:100%;padding-inline:0;font-size:11px}.master-line{border-top:1px solid var(--line);justify-content:space-between;align-items:center;padding:16px 0;font-size:13px;display:flex}.bar-row{grid-template-columns:240px 1fr 140px;align-items:center;gap:20px;padding:18px 24px;font-size:12px;display:grid}.bar-row>div{background:#edf0f3;border-radius:4px;height:12px}.bar-row i{background:#90a4b8;border-radius:4px;height:100%;display:block}.bar-row strong{text-align:right}.section-label{color:#7a848e;padding:16px 24px}.month{width:155px}input,select,textarea{color:var(--ink);background:#fff;border:1px solid #dce0e4;border-radius:6px;max-width:100%;padding:10px 12px}textarea{resize:vertical;min-height:82px}input:focus,select:focus,textarea:focus{outline-offset:1px;outline:2px solid #9fb2c5}input[type=checkbox]{width:20px;height:20px;accent-color:var(--green)}dialog{border:1px solid var(--line);width:min(780px,94vw);max-height:90vh;color:var(--ink);border-radius:14px;padding:26px;box-shadow:0 25px 100px #1a2a3a20}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#14212d60}dialog>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:22px;padding-bottom:18px;display:flex}dialog h2{font-size:20px}dialog h3{margin:22px 0 16px}.form-grid{grid-template-columns:1fr 1fr;gap:17px;display:grid}label{flex-direction:column;gap:8px;font-size:12px;font-weight:500;display:flex}label b{color:#d18b74}label.wide{grid-column:1/-1}.dialog-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;display:flex}.danger{color:#ad4c39;margin-right:auto}.worker-row{border:1px solid var(--line);background:#f5f7f8;border-radius:8px;margin-bottom:12px;padding:18px 45px 18px 18px;position:relative}.worker-row .form-grid{grid-template-columns:repeat(4,1fr);gap:12px}.worker-row label:nth-child(-n+2){grid-column:span 2}.worker-row input,.worker-row select{width:100%}.remove{position:absolute;top:9px;right:3px}.section-heading{justify-content:space-between;align-items:center;display:flex}.section-heading h3{align-items:center;gap:8px;display:flex}.section-heading span{color:var(--muted);font-size:11px}.section-heading button{font-size:11px}.vehicle-row{margin-bottom:15px}.vehicle-row select{flex:1}.vehicle-row span{font-size:12px}.confirm-text{font-size:15px;line-height:1.9}fieldset{border:0;margin:0;padding:0}fieldset:disabled{opacity:.65}.mobile-menu{display:none}.auth-page{background:linear-gradient(130deg,#192938,#2c4761);place-items:center;min-height:100vh;display:grid}.auth-card{background:#fff;border-radius:16px;width:min(440px,92vw);padding:40px}.auth-card .brand{padding:0 0 25px}.auth-card h1{font-size:23px}.auth-card p{color:var(--muted);font-size:13px}.auth-card form{gap:18px;display:grid}.auth-card label{font-size:14px}.auth-card input,.auth-card button{min-height:46px}.auth-card a{color:#4b6987}.print-sheet{background:#fff;max-width:900px;margin:30px auto;padding:50px}.print-sheet h1{text-align:center;letter-spacing:12px}.print-sheet .invoice-head{justify-content:space-between;margin:40px 0;display:flex}.print-sheet .total{border-block:2px solid var(--green);justify-content:space-between;padding:18px;font-size:24px;display:flex}.print-sheet th,.print-sheet td{font-size:12px!important}.print-sheet .totals{text-align:right;line-height:2}.print-controls{justify-content:space-between;max-width:900px;margin:25px auto;display:flex}.print-sheet .void{color:#b53e31;text-align:center;font-size:24px}@media (min-width:1500px){.content{padding:32px 45px}.board tbody td{height:82px}.sidebar{width:250px}.app-shell>main{margin-left:250px}}@media (max-width:1150px){.sidebar{width:205px;padding-inline:12px}.app-shell>main{margin-left:205px}.content{padding:22px}.topbar{padding-inline:22px}.metrics{gap:10px}.metrics>div{padding:18px 16px}.metrics strong{font-size:26px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand{font-size:31px}.sidebar nav a{gap:8px;font-size:12px}.workspace{font-size:10px}}@media (max-width:760px){:root{font-size:16px}.sidebar{width:250px;transform:translate(-100%);box-shadow:10px 0 40px #1a2a3a15}.sidebar.open{transform:none}.app-shell>main{margin-left:0}.mobile-menu{display:flex}.topbar{height:62px;padding:0 14px}.topbar .inline>span:first-of-type,.top-date{display:none}.content{padding:18px 15px 80px}.page-intro{align-items:flex-start;margin-bottom:22px}.page-intro h1{font-size:23px}.page-intro p{font-size:13px}.page-intro button{padding:9px 11px;font-size:12px}.eyebrow{font-size:9px}.metrics{grid-template-columns:repeat(2,1fr);gap:9px;margin-bottom:18px}.metrics.three{grid-template-columns:1fr}.metrics>div{padding:17px}.metrics strong{font-size:26px}.metrics p{font-size:10px}.lower-grid,.project-grid{grid-template-columns:1fr;gap:0}.toolbar{gap:12px;padding:15px}.toolbar h2{font-size:15px}.toolbar .inline{flex-wrap:wrap}.pager{margin-left:0}.search{flex:1}.search input{width:100%}.panel-footer{padding-inline:13px;font-size:9px}.board tbody th{z-index:1;position:sticky;left:0}.board thead th:first-child{z-index:2;background:#fff;position:sticky;left:0}.board{min-width:880px}.assignment span{font-size:12px}.add-slot{opacity:1}.form-grid{grid-template-columns:1fr}.worker-row .form-grid{grid-template-columns:1fr 1fr}.worker-row label:nth-child(-n+2){grid-column:span 2}label,input,select,textarea{font-size:16px}button,.button{min-height:44px}.worker-row{padding:15px 34px 15px 13px}dialog{padding:20px 15px}.demo-banner{font-size:10px;line-height:1.6}.bar-row{grid-template-columns:1fr;gap:10px}.actions{flex-wrap:wrap}.table-wrap{font-size:13px}.sidebar-bottom{padding-top:15px}.sidebar nav a{padding:10px;font-size:14px}.auth-card{padding:30px}.print-sheet{margin:10px;padding:25px}.print-sheet .invoice-head{gap:20px}.print-sheet .total{font-size:19px}}@media print{body{background:#fff}.print-controls{display:none}.print-sheet{max-width:none;margin:0;padding:10mm}.print-sheet tr{break-inside:avoid}@page{size:A4;margin:10mm}}.auth-page{background:linear-gradient(135deg,#eaf0f6,#dce7f1)}.auth-card{border:1px solid #d4dfea;box-shadow:0 18px 60px #2f507314}.auth-card .brand,.auth-card a{color:#365f82}.brand-mark{color:#edf5fb;background:#365f82}.auth-card p{color:#536b80}.auth-card small{color:#536b80;line-height:1.7}.primary:hover{background:#2d526f}.auth-card button:disabled{opacity:.6;cursor:not-allowed}.invoice-history-toggle{cursor:pointer;white-space:nowrap;flex-direction:row;align-items:center;gap:8px}.crew-picker{border:1px solid var(--line);border-radius:8px;grid-column:1/-1;padding:16px}.crew-picker legend{padding:0 6px;font-weight:600}.crew-picker p{font-size:12px}.crew-choices{flex-wrap:wrap;gap:10px 20px;display:flex}.crew-choices label,.planning-member>label,.batch-days label{cursor:pointer;flex-direction:row;align-items:center;gap:9px;display:flex}.site-board{min-width:1100px}.site-board th:first-child{width:210px}.site-board tbody th{text-align:left;vertical-align:top;background:#fff;padding:18px 14px}.site-board-title{color:var(--green);align-items:flex-start;gap:8px;line-height:1.6;display:flex}.site-board-title svg{flex-shrink:0;margin-top:2px}.base-crew{color:var(--muted);margin:10px 0;font-size:11px;font-weight:400;line-height:1.7}.site-board-actions{flex-wrap:wrap;gap:6px;display:flex}.site-board-actions button{min-height:28px;padding:5px 7px;font-size:10px}.site-board td{vertical-align:top;padding:7px}.crew-cell{white-space:normal;text-align:left;background:#f5f8fb;border:1px solid #0000;flex-direction:column;justify-content:flex-start;align-items:stretch;gap:6px;width:100%;min-height:105px;padding:8px;display:flex}.crew-cell:hover{background:#edf3f8;border-color:#88a7c0}.crew-cell-count{color:var(--muted);font-size:10px;font-weight:400}.crew-chip{overflow-wrap:anywhere;background:#ffffffd9;border:1px solid #dfe7ed;border-radius:5px;flex-direction:column;gap:4px;padding:7px 8px;font-size:12px;line-height:1.5;display:flex}.crew-chip small{font-size:10px;font-weight:400}.crew-conflict{color:#a0641d;font-size:11px;line-height:1.6;display:block}.unassigned-row td,.unassigned-row th{background:#f8fafb!important}.unassigned-row th{font-size:12px}.unassigned-row td>div{flex-wrap:wrap;gap:5px;margin-top:8px;display:flex}.unassigned-row td>div>span{color:#6c7985;background:#fff;border:1px solid #e1e7ec;border-radius:4px;padding:4px;font-size:10px}.planning-dialog{width:min(720px,94vw)}.planning-members{gap:9px;max-height:45vh;padding:2px;display:grid;overflow:auto}.planning-member{border:1px solid var(--line);border-radius:7px;grid-template-columns:1fr 1fr;align-items:center;gap:12px;padding:12px;display:grid}.planning-member>label{font-size:13px}.planning-member>input{width:100%;min-width:0;font-size:12px}.batch-days{grid-template-columns:1fr 1fr;gap:12px;margin:20px 0;display:grid}.batch-days label{border:1px solid var(--line);border-radius:7px;flex-wrap:wrap;padding:12px}.batch-days small{color:var(--muted);font-weight:400}.site-crew-summary{color:var(--green);font-size:12px}@media (max-width:760px){.site-board th:first-child{width:180px}.planning-member{grid-template-columns:1fr}.site-board-actions button{min-height:36px}.crew-choices label{font-size:14px}.batch-days{grid-template-columns:1fr}}.planning-person-fields{gap:8px;min-width:0;display:grid}.planning-person-fields input,.planning-person-fields select{width:100%;min-width:0}.crew-job{color:var(--green);font-weight:600!important}.planning-person-fields label{font-size:11px}.site-board .customer-group th{color:var(--green);text-align:left;background:#e8eff6;border-top:1px solid #cfdae5;padding:12px 16px;font-size:13px}.customer-group-label{white-space:nowrap;align-items:center;gap:14px;display:inline-flex;position:sticky;left:16px}.customer-group small{color:#677b8c;margin-left:0;font-weight:400}.site-board .customer-group th:first-child{width:auto;position:static}.mobile-board-switch,.mobile-day-board{display:none}@media (max-width:760px){.planning-board.mobile-view-day>.page-intro,.planning-board.mobile-view-day>.metrics,.planning-board.mobile-view-day>.panel{display:none}.mobile-view-day>.mobile-day-board{display:block}.planning-board>.metrics{gap:8px}.planning-board>.metrics>div{padding:12px}.planning-board>.metrics strong{font-size:24px}.planning-board>.metrics p{display:none}.mobile-board-switch{background:#e3ebf3;border-radius:10px;gap:4px;margin:0 0 16px;padding:4px;display:flex}.mobile-board-switch button{background:0 0;border:0;flex:1}.mobile-board-switch button[aria-pressed=true]{color:#365f82;background:#fff;font-weight:700}.mobile-day-board h1{margin:0 0 18px;font-size:23px}.day-navigation{align-items:center;gap:5px;margin-bottom:12px;display:flex}.day-navigation>button{flex-shrink:0;padding:8px}.day-navigation input{flex:1;width:0;min-width:0;padding:8px 4px;font-size:15px}.day-search input{box-sizing:border-box;width:100%;min-width:0}.mobile-day-board>p{margin:12px 0;font-size:12px}.day-customer{background:#fff;border:1px solid #d3dfe9;border-radius:12px;margin-bottom:16px;overflow:hidden}.day-customer>h2{margin:0}.day-customer>h2 button{text-align:left;background:#e8eff6;border:0;border-radius:0;align-items:center;gap:8px;width:100%;padding:14px;display:flex}.day-customer>h2 button>span{overflow-wrap:anywhere;flex:1;min-width:0;font-size:14px}.day-customer small{white-space:nowrap;font-size:12px;font-weight:400}.day-customer svg{flex-shrink:0}.day-customer svg.expanded{transform:rotate(90deg)}.day-site header{justify-content:space-between;align-items:start;gap:10px;display:flex}.day-site h3{overflow-wrap:anywhere;margin:0;font-size:16px}.day-site header>span{white-space:nowrap;background:#edf3f8;border-radius:12px;padding:3px 9px;font-size:12px}.day-workers{margin:12px 0;padding:0;list-style:none}.day-workers li{border-bottom:1px solid #edf1f5;padding:10px 0}.day-workers li>div{justify-content:space-between;gap:10px;display:flex}.day-workers strong{overflow-wrap:anywhere;font-size:14px}.day-workers li>div>span{color:#4d6c88;text-align:right;overflow-wrap:anywhere;max-width:50%;font-size:12px}.day-workers p{overflow-wrap:anywhere;margin:5px 0 0;font-size:12px}.day-no-crew{color:#728294;margin:16px 0;font-size:13px}.day-edit{color:#365f82;background:#edf3f8;border-color:#ccdce9;width:100%;font-weight:600}.day-base{color:#61788d;background:#fff;border:0;width:100%;margin-top:6px;font-size:12px}.day-unassigned{background:#edf1f5;border-radius:12px;padding:16px}.day-unassigned h2{margin:0 0 12px;font-size:14px}.day-unassigned small{margin-left:8px;font-weight:400}.day-unassigned>div{flex-wrap:wrap;gap:8px;display:flex}.day-unassigned span{background:#fff;border-radius:6px;padding:6px 10px;font-size:13px}.planning-board>.panel .toolbar>.inline{flex-wrap:wrap}.planning-board>.panel .toolbar h2{font-size:14px}.planning-board{position:relative}.mobile-board-switch{background:0 0;gap:2px;margin:0;padding:0;position:absolute;top:0;right:0}.mobile-board-switch button{flex:initial;color:#748597;min-height:36px;padding:6px 9px;font-size:12px}.mobile-board-switch button[aria-pressed=true]{background:#e7eef5}.mobile-day-board h1{margin-bottom:14px;padding-top:44px;font-size:19px}.day-search{margin:0 0 12px}.mobile-view-week>.page-intro{padding-top:44px}.day-customer{background:0 0;border:0;border-radius:0;margin:12px 0}.day-customer>div{background:#fff;border:1px solid #e1e8ef;border-radius:10px;overflow:hidden}.day-site{border-top:1px solid #edf1f5;padding:0}.day-site:first-child{border-top:0}.day-site-summary{text-align:left;background:#fff;border:0;border-radius:0;width:100%;padding:13px 32px 13px 14px;display:block;position:relative}.day-site-summary>strong{overflow-wrap:anywhere;margin-bottom:7px;font-size:15px;display:block}.day-site-summary>svg{color:#91a2b3;position:absolute;top:calc(50% - 8px);right:10px}.day-names{flex-wrap:wrap;gap:5px 16px;font-size:15px;font-weight:400;line-height:1.5;display:flex}.day-names>span{overflow-wrap:anywhere;max-width:100%}.day-unassigned{background:0 0;padding:14px 2px}.day-unassigned h2{color:#70849a;font-size:12px}.day-unassigned span{background:0 0;padding:0;font-size:15px}.day-unassigned>div{gap:6px 16px}.planning-board.mobile-view-day>.page-intro,.planning-board.mobile-view-week>.page-intro{align-items:flex-start;gap:12px;margin:0 0 18px;padding:0;display:flex}.planning-board>.page-intro h1{letter-spacing:-.03em;margin:7px 0 8px;font-size:25px;line-height:1.35}.planning-board>.page-intro p{color:#74869a;margin:0;font-size:12px;line-height:1.7}.planning-board>.page-intro .eyebrow{letter-spacing:.16em;color:#8098af;font-size:10px}.planning-board>.page-intro>.primary{display:none}.mobile-board-switch{box-sizing:border-box;background:#eaf0f6;border:1px solid #dce6ef;border-radius:12px;align-items:center;gap:4px;width:100%;margin:0 0 14px;padding:5px;display:flex;position:static}.mobile-board-switch>button{border-radius:8px;flex:1;min-height:40px;font-size:13px;font-weight:600}.mobile-board-switch>button[aria-pressed=true]{color:#365f82;background:#fff;box-shadow:0 2px 5px #365f8210}.mobile-board-switch>button[aria-label=検索]{flex:0 0 40px;order:3;justify-content:center;align-items:center;display:flex}.mobile-board-switch>button[hidden]{display:none}.day-navigation{background:#fff;border:1px solid #e0e8ef;border-radius:12px;gap:6px;margin-bottom:18px;padding:9px;box-shadow:0 2px 8px #365f8205}.day-navigation>button{color:#365f82;background:#f4f7fa;border:0;min-height:40px}.day-navigation input{color:#294e70;background:0 0;border:0;font-weight:600}.day-customer{background:#fff;border:1px solid #d6e2ed;border-radius:12px;margin:0 0 15px;overflow:hidden;box-shadow:0 3px 10px #365f8205}.day-customer>h2 button{color:#476986;background:#e7eff7;min-height:44px;padding:12px 14px}.day-customer>h2 button>span{font-size:13px;font-weight:600}.day-customer>div{border:0;border-radius:0}.day-site-summary{padding:14px 34px 14px 15px}.day-site-summary>strong{color:#243f58;margin-bottom:10px;font-size:15px}.day-site-summary:focus-visible{outline-offset:-3px;outline:2px solid #628bad}.day-names{gap:6px}.day-names>span{color:#365f82;background:#eef4fa;border:1px solid #dce8f3;border-radius:6px;padding:4px 9px;font-size:14px;line-height:1.4}.day-names>span.muted{color:#88939f;background:#f3f4f6;border-color:#eceff2;font-size:12px}.day-unassigned{border-top:1px solid #dde5ed;margin-top:20px;padding:16px 2px}.day-unassigned h2{font-weight:600}.day-unassigned span{color:#6a7b8d;background:#e9edf2;border-radius:6px;padding:4px 9px;font-size:14px}.day-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px;display:grid}.day-kpis>div{background:#fff;border:1px solid #d6e2ed;border-radius:12px;padding:14px 16px;box-shadow:0 3px 10px #365f8205}.day-kpis>div:first-child{background:#e7eff7;border-color:#d1dfec}.day-kpis>div>span{color:#617b93;margin-bottom:7px;font-size:12px;display:block}.day-kpis strong{color:#294e70;font-variant-numeric:tabular-nums;font-size:28px;line-height:1.2;display:block}.day-kpis small{color:#6b8298;margin-left:6px;font-size:12px;font-weight:400}}.report-workers{border:1px solid #dce5ed;border-radius:9px;margin-bottom:20px;overflow:hidden}.report-worker{border-bottom:1px solid #e3eaf1;padding:10px 12px}.report-worker:last-child{border-bottom:0}.report-worker-person{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 28px;align-items:end;gap:8px;display:grid}.report-worker-hours{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,.7fr) 34px;gap:8px;margin-top:6px;display:grid}.report-worker label{gap:3px;min-width:0;margin:0}.report-worker label>span,.report-form .vehicle-row label>span{color:#71869b;font-size:11px;font-weight:400}.report-worker input,.report-worker select{box-sizing:border-box;width:100%;min-width:0;height:34px;padding:4px 6px}.report-worker select{background:#eaf3fc}.report-worker-hours input{background:0 0;border-width:0 0 1px;border-radius:0}.report-worker input[type=checkbox]{width:22px;height:22px;margin:5px auto}.report-worker .icon{width:28px;min-height:34px;padding:3px}.report-form .vehicle-row{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 28px;align-items:end;gap:8px;margin:8px 0;display:grid}.report-form .vehicle-row label{gap:3px;min-width:0}.report-form .vehicle-row select{background:#eaf3fc;width:100%;min-width:0}.vehicle-kind output{overflow-wrap:anywhere;background:#faf8e9;border-radius:5px;min-height:40px;padding:9px 8px;font-size:13px;display:block}.report-form .vehicle-row .icon{width:28px;padding:3px}.report-form .section-heading{gap:8px}.report-form .section-heading h3{font-size:15px}@media (max-width:760px){.report-worker{padding:8px}.report-worker-person{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) 24px;gap:5px}.report-worker-hours{grid-template-columns:minmax(0,1.1fr) minmax(0,1.1fr) minmax(0,.65fr) minmax(0,.7fr) 28px;gap:5px}.report-worker select{height:32px;padding:3px;font-size:13px}.report-worker-hours input{height:31px;padding:2px;font-size:13px;line-height:1.2}.report-worker-hours input::-webkit-calendar-picker-indicator{display:none}.report-worker-hours input::-webkit-date-and-time-value{text-align:center;min-width:0}.report-worker label>span{white-space:nowrap;font-size:10px}.report-worker .icon{width:24px;min-height:32px}.report-worker input[type=checkbox]{width:20px;height:20px}.report-form .vehicle-row select{height:34px;padding:4px;font-size:13px}.vehicle-kind output{min-height:34px;padding:7px;font-size:12px}.report-form .section-heading button{padding:6px 8px;font-size:12px}.report-basic{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.report-basic>label{min-width:0}.report-basic input,.report-basic select{box-sizing:border-box;width:100%;min-width:0}.report-basic label>span{font-size:12px}.report-basic input,.report-basic select{padding:8px 5px;font-size:14px}.report-worker-hours input[type=number]{appearance:textfield}.report-worker-hours input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.report-worker-hours input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}}.report-date{margin:0 0 14px}.report-date>label{max-width:220px}.report-site-line{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);align-items:end;gap:10px;margin-bottom:18px;display:grid}.report-site-line h3{margin:0 0 10px;font-size:14px}.report-site-line label{min-width:0}.report-site-line select{background:#edf4fa;width:100%;min-width:0}.report-time-hint{color:#71869b;font-size:11px;line-height:1.6}.next-day{color:#527795;font-size:10px}.report-worker-hours input[inputmode=numeric]{font-variant-numeric:tabular-nums}@media (max-width:760px){.report-site-line{grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);gap:6px}.report-site-line h3{white-space:nowrap;font-size:11px}.report-site-line label>span{font-size:11px}.report-site-line select{padding:7px 3px;font-size:12px}.report-date>label{max-width:none}.report-date input{box-sizing:border-box;width:100%;min-width:0}}.report-top-line,.report-default-line{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.report-site-stack{grid-template-columns:1fr;gap:12px;margin-bottom:14px;display:grid}.report-other-fields{gap:12px;margin-bottom:14px;display:grid}.report-top-line label,.report-default-line label,.report-site-stack label{min-width:0}.report-top-line input,.report-top-line select,.report-default-line input,.report-site-stack select{box-sizing:border-box;width:100%;min-width:0}@media (max-width:760px){dialog:has(.report-form){box-sizing:border-box;overscroll-behavior:contain;width:calc(100% - 20px);max-width:620px;overflow-x:hidden}.report-form,.report-form fieldset{box-sizing:border-box;min-width:0;max-width:100%}.report-form input:not([type=checkbox]),.report-form select,.report-form textarea{box-sizing:border-box;min-width:0;max-width:100%;font-size:16px!important}.report-top-line{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,.65fr);gap:6px}.report-top-line label>span,.report-default-line label>span{white-space:nowrap;font-size:11px}.report-top-line input,.report-top-line select{padding:8px 3px}.report-default-line{gap:8px}.report-worker-hours{grid-template-columns:minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,.85fr) minmax(0,.85fr) 22px;gap:4px}.report-worker-person{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 24px}.report-worker-hours input{padding:2px 0}.report-form .report-worker input[type=checkbox]{max-width:20px}.report-list .toolbar{flex-direction:column;align-items:stretch;display:flex}.report-list .toolbar>.inline{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;display:grid}.report-list .toolbar input,.report-list .toolbar select{box-sizing:border-box;width:100%;min-width:0;font-size:16px}.report-list .table-wrap{overflow:visible}.report-list table{width:100%;min-width:0;display:block}.report-list thead{display:none}.report-list tbody{display:block}.report-list tr{border-bottom:1px solid #e5e8ea;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px 12px;padding:15px;display:grid}.report-list td{white-space:normal;overflow-wrap:anywhere;border:0;min-width:0;padding:0;font-size:13px;display:block}.report-list td:first-child{color:#365f82;grid-column:1;font-weight:600}.report-list td:nth-child(2){grid-area:2/1/auto/-1}.report-list td:nth-child(2) strong{font-size:15px}.report-list td:nth-child(2) small{white-space:normal;font-size:12px}.report-list td:nth-child(3):before{content:"担当：";color:#8190a0;font-size:11px}.report-list td:nth-child(4):before{content:"作業員：";color:#8190a0;font-size:11px}.report-list td:nth-child(5){text-align:right;grid-area:1/2}.report-list td:nth-child(6){grid-column:1/-1}.report-list td:nth-child(6) button{color:#365f82;background:#edf3f8;width:100%}.report-list .search{box-sizing:border-box;width:100%}.report-list table:not(.board) td{border:0;padding:0;line-height:1.6}.report-list table:not(.board) td strong{font-size:15px}.report-list table:not(.board) td button{min-height:40px;font-size:13px}}.report-top-line{align-items:start}.report-top-line>label{flex-direction:column;gap:6px;min-width:0;margin:0;display:flex}.report-top-line>label>span{min-height:18px;margin:0;line-height:18px;display:block}.report-top-line input,.report-top-line select{vertical-align:middle;background-color:#fff;border:1px solid #d8e1e9;border-radius:6px;height:44px;min-height:44px;max-height:44px;margin:0;padding:0 8px;line-height:normal}.report-top-line input[type=date]{appearance:none;text-align:left;display:block}.report-top-line input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.2em;margin:0}.report-top-line input[type=date]::-webkit-datetime-edit{padding:0}.report-top-line input[type=date]::-webkit-datetime-edit-fields-wrapper{padding:0}.report-top-line select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23748799' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 6px center;background-repeat:no-repeat;padding-right:19px}@media (max-width:760px){.report-top-line{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,.65fr);gap:8px}.report-top-line input,.report-top-line select{height:44px;min-height:44px;max-height:44px;padding-top:0;padding-bottom:0}.report-top-line input{padding-left:6px;padding-right:4px}.report-top-line select{padding-left:6px;padding-right:18px}.report-top-line input[type=date]::-webkit-calendar-picker-indicator{width:14px;margin:0;padding:0}}.report-list .toolbar>.inline{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;min-width:0;display:grid}.report-list .toolbar>.inline>input,.report-list .toolbar>.inline>select{box-sizing:border-box;vertical-align:middle;background-color:#fff;border:1px solid #d8e1e9;border-radius:6px;width:100%;min-width:0;max-width:100%;height:44px;min-height:44px;max-height:44px;margin:0;padding:0 10px;font-size:16px;line-height:normal;display:block}.report-list input[type=month]{appearance:none;text-align:left}.report-list input[type=month]::-webkit-date-and-time-value{text-align:left;min-width:0;min-height:1.2em;margin:0}.report-list input[type=month]::-webkit-datetime-edit{padding:0}.report-list input[type=month]::-webkit-datetime-edit-fields-wrapper{padding:0}.report-list input[type=month]::-webkit-calendar-picker-indicator{width:14px;margin:0;padding:0}.report-list .toolbar>.inline>select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23748799' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:25px}.report-top-line input[type=date],.report-list .toolbar>.inline>input[type=month]{padding-top:10px;padding-bottom:10px;line-height:22px}.report-top-line input[type=date]::-webkit-date-and-time-value{height:22px;min-height:22px;margin:0;padding:0;line-height:22px;display:block}.report-list input[type=month]::-webkit-date-and-time-value{height:22px;min-height:22px;margin:0;padding:0;line-height:22px;display:block}.report-top-line input[type=date]::-webkit-datetime-edit{padding:0;line-height:22px}.report-list input[type=month]::-webkit-datetime-edit{padding:0;line-height:22px}.missing-report-row{border-top:1px solid #e8dfc6;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.missing-report-row:first-of-type{margin-top:10px}.missing-report-row>div{overflow-wrap:anywhere;min-width:0}.missing-report-row button{flex-shrink:0}.missing-report-row .sub{margin-top:4px}@media (max-width:480px){.missing-report-row{flex-direction:column;align-items:flex-start;gap:8px}.missing-report-row button{align-self:flex-end}}.report-form input[required][data-empty=true]:not([type=checkbox]),.report-form select[required]:invalid,.report-form textarea[required][data-empty=true]{background-color:#fff1f4}.report-form[data-commute-fee=false] .report-top-line>label:nth-child(3) input{background-color:#fff}@media (max-width:760px){html{scrollbar-gutter:stable}body:has(dialog[open]){overflow:hidden}.app-shell,.content,.panel,.project-card,.toolbar,.toolbar>.inline,.search,.page-intro>div,.planning-board{min-width:0;max-width:100%}input:not([type=checkbox]):not([type=radio]),select,textarea{box-sizing:border-box;min-width:0;max-width:100%;font-size:16px!important}input[type=checkbox],input[type=radio]{flex-shrink:0}dialog,dialog.planning-dialog{overscroll-behavior:contain;box-sizing:border-box;width:calc(100% - 20px);max-width:620px;max-height:calc(100dvh - 24px);margin:auto;padding:18px 14px;overflow-y:auto}dialog:has(.report-form){overscroll-behavior:contain;box-sizing:border-box;width:calc(100% - 20px);max-width:620px;max-height:calc(100dvh - 24px);margin:auto;padding:18px 14px;overflow-y:auto}dialog form,dialog fieldset,dialog label,dialog .form-grid,dialog .form-grid>*{min-width:0;max-width:100%}dialog .form-grid{grid-template-columns:minmax(0,1fr)}dialog input:not([type=checkbox]):not([type=radio]),dialog select,dialog textarea{width:100%}dialog>header{align-items:flex-start;gap:12px}dialog>header h2{overflow-wrap:anywhere;min-width:0;font-size:18px;line-height:1.5}dialog>header>.icon{flex-shrink:0}dialog p,dialog legend,.project-card p,.project-card h2,.master-line>span{overflow-wrap:anywhere}dialog .dialog-footer,dialog .section-heading{flex-wrap:wrap;gap:8px}dialog .dialog-footer>button,dialog .section-heading>button{white-space:normal;max-width:100%}dialog .dialog-footer>button{flex:120px}dialog .section-heading h3{flex-wrap:wrap;min-width:0}.planning-members{min-width:0;max-height:none;overflow:visible}.planning-member{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}.planning-member>label>span{overflow-wrap:anywhere;min-width:0}.planning-person-fields{grid-template-columns:minmax(0,1fr)}.planning-person-fields input,.planning-person-fields select{min-height:44px}.crew-choices{grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;display:grid}.crew-choices label{overflow-wrap:anywhere;min-width:0}.batch-days{grid-template-columns:minmax(0,1fr)}.toolbar>.inline{flex-wrap:wrap;gap:8px}.toolbar>.inline>input,.toolbar>.inline>select{flex:130px;width:auto}.toolbar .search{flex-basis:100%;width:100%}.search input{width:100%;min-width:0}.page-intro{flex-wrap:wrap;gap:12px}.project-card>.inline,.master-line,.contract-summary{flex-wrap:wrap;gap:10px}.project-card button,.rate-line,.master-line button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.rate-line>span{text-align:right;min-width:0}.table-wrap,.board-scroll{overscroll-behavior-x:contain;min-width:0;max-width:100%}.invoice-history-toggle{white-space:normal;min-width:0}.toast{overflow-wrap:anywhere;max-width:calc(100% - 24px)}dialog input[type=date],dialog input[type=month]{appearance:none;min-height:44px;padding-top:10px;padding-bottom:10px;line-height:22px}dialog input[type=date]::-webkit-date-and-time-value{text-align:left;height:22px;min-height:22px;margin:0;padding:0;line-height:22px;display:block}dialog input[type=month]::-webkit-date-and-time-value{text-align:left;height:22px;min-height:22px;margin:0;padding:0;line-height:22px;display:block}dialog input[type=date]::-webkit-datetime-edit{padding:0}dialog input[type=month]::-webkit-datetime-edit{padding:0}}@media (max-width:360px){.report-worker-hours{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.report-worker-hours .report-night{flex-direction:row;align-items:center}.report-top-line{gap:5px}}.site-board thead th.calendar-saturday{color:#386a9f;background:#edf4fc}.site-board thead th.calendar-sunday,.site-board thead th.calendar-holiday{color:#ac4d60;background:#fff0f2}.site-board thead th.calendar-saturday b,.site-board thead th.calendar-sunday b,.site-board thead th.calendar-holiday b{color:inherit}.site-board thead th{padding:12px 5px}.calendar-holiday-name{white-space:normal;overflow-wrap:anywhere;margin-top:4px;font-size:10px;line-height:1.5;display:block}.site-board td.calendar-saturday{background:#f4f8fd}.site-board td.calendar-sunday,.site-board td.calendar-holiday{background:#fff6f7}.site-board th.current{box-shadow:inset 0 3px #638bab}.day-calendar-label{color:#687c8d;flex-wrap:wrap;align-items:center;gap:7px;display:flex;margin:-8px 0 14px!important;font-size:13px!important}.day-calendar-label strong{font-size:12px;font-weight:500}.day-calendar-label.calendar-saturday{color:#386a9f}.day-calendar-label.calendar-sunday,.day-calendar-label.calendar-holiday{color:#ac4d60}.day-navigation.calendar-saturday input{color:#386a9f}.day-navigation.calendar-sunday input,.day-navigation.calendar-holiday input{color:#ac4d60}.board-month-export{flex-wrap:wrap;justify-content:flex-end;align-items:end;gap:10px;margin:0 0 16px;display:flex}.board-month-export label{gap:4px;font-size:11px}.board-month-export input{width:165px;min-width:0}.board-month-export .button{font-size:12px}@media (max-width:760px){.board-month-export{justify-content:space-between}.board-month-export label{flex:1;min-width:0}.board-month-export input{width:100%}.board-month-export .button{flex-shrink:0}}.closing-issues{max-height:55dvh;overflow-y:auto}.closing-issue{overflow-wrap:anywhere;background:#fff8f8;border:1px solid #efd9d9;border-radius:8px;margin:10px 0;padding:12px}.closing-issue strong{font-size:14px}.closing-issue p{margin:7px 0;font-size:13px}.closing-issue button{font-size:13px}.report-search{border-bottom:1px solid var(--line);padding:18px 22px}.report-search-main{align-items:end;gap:14px;display:flex}.report-search label{flex-direction:column;gap:5px;min-width:0;font-size:12px;display:flex}.report-keyword{flex:1}.report-search input,.report-search select{width:100%;min-width:0;height:42px}.report-search details{margin-top:12px}.report-search summary{cursor:pointer;color:var(--green);font-size:13px}.report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:12px;margin-top:14px;display:grid}.report-crew-names{white-space:normal;overflow-wrap:anywhere;flex-wrap:wrap;gap:4px 10px;display:flex}.report-crew-names span{font-size:12px}.report-list-names table{table-layout:fixed;width:100%;min-width:0}.report-list-names td{white-space:normal;overflow-wrap:anywhere}.report-list-names td:nth-child(2) small{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (max-width:760px){.report-search{padding:14px}.report-search-main{grid-template-columns:minmax(0,1fr) auto;gap:10px;display:grid}.report-search-main .report-keyword{grid-area:2/1/auto/-1}.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-list-names td:nth-child(3){grid-area:3/1/auto/-1}.report-list-names td:nth-child(3):before{content:"作業員："}.report-list-names td:nth-child(4){text-align:right;grid-area:1/2}.report-list-names td:nth-child(4):before{content:none}.report-list-names td:nth-child(5){text-align:left;grid-area:4/1/auto/-1}.report-list-names td:nth-child(5) button{color:#365f82;background:#edf3f8;width:100%}.report-crew-names{display:inline-flex}.report-search-main input[type=month]{padding-top:9px;padding-bottom:9px;line-height:22px}}.report-list-names th:first-child{width:12%}.report-list-names th:nth-child(2){width:23%}.report-list-names th:nth-child(3){width:45%}.report-list-names th:nth-child(4){width:12%}.report-list-names th:nth-child(5){width:8%}.report-list-names td:nth-child(3){padding:10px 14px}.report-inline-details{min-width:0;font-size:12px}.report-worker-summary{border-bottom:1px solid #edf0f3;padding:6px 0}.worker-summary-name{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.worker-summary-name>span{color:#738393;font-size:11px}.worker-summary-values{font-variant-numeric:tabular-nums;color:#536777;flex-wrap:wrap;gap:3px 12px;margin-top:4px;font-size:11px;display:flex}.worker-summary-values>span{white-space:nowrap}.worker-summary-values b{color:#273f54;font-weight:600}.worker-summary-values .night-on{color:#4d5892;background:#eff0fa;border-radius:3px;padding:0 4px}.night-off{color:#81909c}.report-vehicle-summary{color:#63798b;overflow-wrap:anywhere;align-items:flex-start;gap:6px;margin-top:7px;font-size:11px;display:flex}.report-vehicle-summary svg{flex-shrink:0;margin-top:2px}@media (max-width:760px){.report-list-names td:nth-child(3):before{content:none}.report-list-names td:nth-child(3){padding:0}.report-worker-summary{padding:7px 0}.worker-summary-values{gap:3px 10px}.report-inline-details{background:#f6f9fc;border-radius:6px;padding:4px 9px 9px}.report-vehicle-summary{line-height:1.6}}.report-list-names td:nth-child(2) .report-client-name{-webkit-line-clamp:unset;margin:0 0 5px;font-weight:400;display:block;overflow:visible}.report-sort-heading{min-height:30px;color:var(--green);background:0 0;border:0;gap:6px;padding:0;font-size:12px}.report-sort-heading:hover{background:#eaf0f5}.report-mobile-sort{display:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:760px){.report-mobile-sort{color:var(--muted);align-items:center;gap:14px;margin-top:10px;font-size:12px;display:flex}}.closing-issue.closing-warning{background:#fff9e9;border-color:#eadcae}.price-card{border:1px solid #dce5ed;border-radius:8px;min-width:0;margin:12px 0;padding:12px}.price-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.price-fields>label{min-width:0}.price-fields input,.price-fields select{box-sizing:border-box;width:100%;min-width:0}.sales-voucher{border-top:1px solid #dce5ed}.sales-voucher>summary{cursor:pointer;grid-template-columns:140px minmax(0,1fr) 140px 120px;gap:12px;padding:18px;display:grid}.sales-voucher small{color:#71869b;display:block}.voucher-lines{padding:0 18px 18px}.voucher-line{border-bottom:1px solid #edf1f5;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;padding:8px 0;display:grid}@media (max-width:760px){.board-month-export{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.board-month-export>label{flex-direction:column;min-width:0;margin:0;display:flex}.board-month-export input{box-sizing:border-box;width:100%;max-width:100%;height:44px;font-size:16px}.board-month-export>.button{box-sizing:border-box;white-space:nowrap;justify-content:center;align-items:center;height:44px;margin:0;display:flex}.report-worker-hours{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}.report-worker-hours>label{flex-direction:column;align-items:stretch;gap:4px;width:100%;min-width:0;display:flex}.report-worker-hours input:not([type=checkbox]){width:100%;min-width:0;max-width:100%;height:40px;line-height:24px;padding:6px!important;font-size:16px!important}.report-worker-hours .report-night{flex-direction:row;justify-content:flex-start;align-items:center}.report-worker-hours .report-night input{margin:0 6px}.report-default-line>label{flex-direction:column;min-width:0;display:flex}.next-day{display:block;position:static!important}.sales-voucher>summary{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;padding:12px}.price-fields{grid-template-columns:minmax(0,1fr)}.voucher-line{grid-template-columns:minmax(0,1fr) auto}.voucher-line>span:first-child{grid-column:1/-1}}.voucher-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}@media (max-width:760px){.planning-board .board-month-export{grid-template-columns:minmax(0,1fr);gap:8px;width:100%;min-width:0;display:grid}.planning-board .board-month-export>label{width:100%;min-width:0;max-width:100%;margin:0;display:flex}.planning-board .board-month-export input{box-sizing:border-box;width:100%;min-width:0;max-width:100%}.planning-board .board-month-export>.button{box-sizing:border-box;justify-self:stretch;width:100%;min-width:0;max-width:100%;margin:0;position:static}}.sales-tabs{gap:6px;padding:8px 0;display:flex}.sales-tabs [aria-selected=true]{color:#285576;background:#e4edf5;font-weight:700}.sales-panel .toolbar{flex-wrap:wrap;gap:8px}.sales-panel .toolbar>*{flex:0 auto;min-width:0}.sales-panel .toolbar select{max-width:200px}.sales-totals{background:#edf3f8;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:8px 16px;display:flex}.sales-totals>span{align-items:center;gap:8px;display:flex}.sales-totals small{font-size:12px}.sales-totals strong{font-size:15px}.sales-count{color:#4b5563;margin:8px 16px;font-size:12px}.sales-voucher>summary{outline:none;grid-template-columns:110px minmax(120px,1fr) minmax(180px,auto) 120px;align-items:center;gap:12px;min-height:48px;padding:8px 14px;display:grid}.sales-voucher>summary>strong:last-child{text-align:right}.sales-voucher[open]{background:#f3f7fa}.sales-voucher{border-bottom:1px solid #d9e2e9}.sales-voucher summary:focus:not(:focus-visible){outline:none}.sales-badges{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.sales-client-group>summary,.sales-site-group>summary{cursor:pointer;background:#e9f0f6;justify-content:space-between;padding:12px 16px;font-weight:700;display:flex}.sales-client-group>summary{z-index:2;position:sticky;top:110px}.sales-site-group>summary{background:#f5f7fa;padding-left:24px}.sales-more{position:relative}.sales-more>summary{cursor:pointer;padding:5px 12px;list-style:none}.sales-more>button{z-index:5;white-space:nowrap;background:#fff;position:absolute;right:0;box-shadow:0 2px 10px #24374b24}.sales-editor{width:min(960px,100vw - 24px);max-height:90dvh;padding:0}.sales-editor[open]{flex-direction:column;display:flex}.sales-editor>header{flex:none;padding:16px}.sales-editor form{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.sales-editor-body{overscroll-behavior:contain;min-height:0;padding:16px;overflow-y:auto}.sales-editor fieldset,.progress-input,.report-fixed-field{border:0;min-width:0;margin:0;padding:0}.sales-editor .dialog-footer{flex:none;padding:12px 16px;position:static}.sales-entry-head,.sales-entry-row{grid-template-columns:110px minmax(120px,1fr) 65px 60px 110px 100px 36px;align-items:center;gap:8px;display:grid}.sales-entry-head{color:#4b5563;background:#f0f4f7;padding:8px 0;font-size:12px}.sales-entry-row{border-bottom:1px solid #dce4eb;padding:7px 0}.sales-entry-row label>span{display:none}.sales-entry-row input{width:100%;min-width:0}.sales-entry-row label{min-width:0}.sales-entry-kind{font-size:12px}.sales-editor-totals{background:#edf3f8;flex-wrap:wrap;justify-content:flex-end;gap:16px;margin-top:16px;padding:12px;display:flex}.negative{color:#b42318}.amount-warning{color:#9a4a00}.progress-panel{padding:12px 16px}.progress-panel p,.progress-panel small{font-size:12px}.progress-table td{vertical-align:middle;padding:8px}.progress-table td small{display:block}.progress-input{gap:6px;max-width:230px;display:flex}.progress-input>input{width:130px;min-width:95px}.progress-input label{align-items:center;gap:3px;display:flex}.progress-input label input{width:65px}.text-button,.payroll-name{text-align:left;background:0 0;border:0;font-weight:700}.progress-history{padding-top:16px}.report-fixed-field{display:contents}.report-site-stack{border:0;min-width:0;margin:0;padding:0}@media (max-width:700px){.sales-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.sales-totals>span,.sales-totals small{display:block}.sales-totals>span:first-child{grid-column:1/-1;display:flex}.sales-voucher>summary{grid-template-columns:90px minmax(0,1fr);gap:6px}.sales-voucher>summary>strong{white-space:normal;overflow-wrap:anywhere}.sales-voucher>summary .sales-badges{grid-column:1}.sales-entry-head{display:none}.sales-entry-row{grid-template-columns:1fr 1fr 36px;gap:7px}.sales-entry-kind{grid-column:1/-1}.sales-entry-row label>span{font-size:12px;display:block}.sales-entry-row label:nth-child(2){grid-column:1/3}.sales-entry-row label:nth-child(3){grid-column:1}.sales-entry-row label:nth-child(4){grid-column:2}.sales-entry-row label:nth-child(5){grid-column:1}.sales-entry-row>strong{grid-column:2}.sales-entry-row>button{grid-area:auto/3}.sales-editor-body{padding:12px}.sales-editor-totals{gap:6px;display:grid}.sales-editor .voucher-line{grid-template-columns:minmax(0,1fr) auto;gap:5px}.sales-editor .voucher-line span:nth-child(2){grid-column:1;font-size:12px}.sales-editor .voucher-line strong{grid-area:1/2/3}.sales-editor input{font-size:16px}.progress-table{min-width:1000px}.sales-panel .toolbar select{flex:130px;max-width:100%}.sales-client-group>summary,.sales-site-group>summary{gap:8px;font-size:14px}.progress-history{overflow-x:auto}.sales-editor .price-fields{grid-template-columns:1fr}.sales-editor .dialog-footer{justify-content:flex-end}}.progress-input{align-items:center}.progress-input label{flex-direction:row}.progress-input input{height:36px}.progress-table th{white-space:nowrap}.invoice-editor{width:min(1100px,96vw);max-height:90dvh;padding:0}.invoice-editor[open]{flex-direction:column;display:flex}.invoice-editor>header{flex:none;margin:0;padding:14px 18px}.invoice-editor>.dialog-body{min-height:0;padding:16px 18px;overflow:auto}.invoice-editor>.dialog-footer{background:#fff;flex:none;margin:0;padding:12px 18px}.invoice-editor .price-fields{grid-template-columns:1fr 1fr;gap:16px;display:grid}.invoice-editor table td{min-height:44px;padding:7px 10px}.invoice-editor table .pill{white-space:normal}.invoice-warnings p{margin:0;font-size:12px}.invoices-panel{overflow:visible}.invoice-list td{height:48px!important;padding:6px 12px!important}.invoice-list tfoot td{border-top:2px solid var(--line)}.invoice-void{color:#4b5563;background:#f1f2f3}.invoice-selection-actions{flex-wrap:wrap;padding:8px 14px}.invoice-list th button{background:0 0;border:0;min-height:24px;padding:0;font-size:12px}.button.disabled{opacity:.5;pointer-events:none}.invoice-editor .clickable{cursor:pointer}.invoice-editor .clickable:hover{background:#eef4fa}.sales-voucher>summary{grid-template-columns:145px minmax(120px,1fr) auto auto}@media (max-width:760px){.invoice-editor .price-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.invoice-editor>.dialog-body{padding:12px}.invoice-editor>.dialog-footer{flex-wrap:wrap;gap:6px;padding:10px}.invoice-editor>.dialog-footer button{white-space:normal;flex:1}.invoice-editor input,.invoice-editor select{width:100%;min-width:0;font-size:16px}.invoice-editor input[type=checkbox]{width:20px}.invoice-editor .table-wrap{overflow:auto}.invoices-panel .toolbar{gap:8px}.invoices-panel .toolbar .button{white-space:normal}.invoice-list{min-width:780px}.sales-voucher>summary{grid-template-columns:115px minmax(0,1fr)}.invoice-selection-actions{align-items:flex-start}}
@media screen{:root{--ui-scale:1;--ui-text:calc(14px * var(--ui-scale));--ui-label:calc(12px * var(--ui-scale));--muted:#4b5563}:root[data-text-size=large]{--ui-scale:1.15}:is(.app-shell,dialog){font-size:var(--ui-text);color:#222f3c}:is(.app-shell,dialog) :is(p,span,div,li,a,button,input,select,textarea,td,output){font-size:var(--ui-text)}:is(.app-shell,dialog) :is(small,label,legend,th,.sub,.muted,.pill,.eyebrow,.nav-caption,.report-time-hint,.crew-conflict,.crew-job,.calendar-holiday-name,.today,.next-day){font-size:var(--ui-label)!important}:is(.app-shell,dialog) :is(.sub,.muted,small,.nav-caption,.report-time-hint,.panel-footer,.site-base-crew,.day-no-crew){opacity:1;color:#4b5563!important}:is(.app-shell,dialog) :is(button,.button,input,select,textarea){min-width:0;font-size:var(--ui-text)!important}:is(.app-shell,dialog) :is(strong,b){font-size:var(--ui-text);font-weight:700}:is(.app-shell,dialog) :is(button,a,input,select,textarea,summary):focus:not(:focus-visible){box-shadow:none;outline:none!important}:is(.app-shell,dialog) :is(button,a,input,select,textarea,summary):focus-visible{outline-offset:2px;outline:2px solid #376b9a!important}.app-shell .pill.gray{color:#4b5563}.app-shell .pill.amber{color:#735018}.app-shell .pill.green{color:#365f82}.app-shell button:disabled,.app-shell .button:disabled,dialog button:disabled{opacity:1;color:#53616c;cursor:not-allowed;background:#edf0f2;border-color:#d4dce2}.app-shell .content{max-width:none;padding:0 20px 28px}.app-shell .topbar{background:0 0;border:0;height:0;min-height:0;padding:0;overflow:visible}.topbar>.inline,.topbar .mobile-menu{display:none}.app-shell .page-intro{z-index:24;background:var(--surface);border-bottom:1px solid var(--line);gap:8px;height:56px;min-height:56px;max-height:56px;position:sticky;top:0;align-items:center!important;margin:0!important;padding:0!important;display:flex!important}.app-shell .page-heading{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.app-shell .page-intro h1{letter-spacing:0;white-space:nowrap;padding:0;font-size:calc(20px * var(--ui-scale))!important;margin:0!important;line-height:1.2!important}.page-actions{align-items:center;gap:8px;min-width:0;max-width:65%;display:flex}.page-actions:empty{display:none}.page-actions button,.page-actions .button{min-height:36px;padding:6px 10px}.page-help{flex:none;position:relative}.page-help>summary{cursor:pointer;width:24px;height:24px;font-size:var(--ui-label);color:#365f82;background:#fff;border:1px solid #94a3b8;border-radius:50%;place-items:center;list-style:none;display:grid}.page-help>summary::-webkit-details-marker{display:none}.page-help>div{width:min(330px,75vw);font-size:var(--ui-text);z-index:50;background:#fff;border:1px solid #c6d4df;border-radius:8px;padding:12px;line-height:1.6;position:absolute;top:30px;left:-80px;box-shadow:0 5px 18px #23384b25}.app-shell .eyebrow{display:none}.demo-banner{padding:4px;margin:0!important;font-size:12px!important}.app-shell .metrics{background:#fff;border:1px solid #d2dce5;border-radius:7px;gap:0;min-height:48px;max-height:56px;margin:8px 0;overflow-x:auto;display:flex!important}.app-shell .metrics>div{border:0;border-right:1px solid #d2dce5;border-radius:0;flex:1;justify-content:center;align-items:center;gap:10px;min-width:max-content;min-height:48px;padding:8px 14px;display:flex}.app-shell .metrics span{color:#4b5563;margin:0;font-size:var(--ui-label)!important}.app-shell .metrics strong{white-space:nowrap;letter-spacing:0;font-size:calc(18px * var(--ui-scale))!important}.app-shell .metrics p{display:none}.app-shell .panel{border-radius:7px;margin:8px 0;overflow:visible}.app-shell .toolbar{z-index:20;border-bottom:1px solid var(--line);background:#fff;flex-wrap:nowrap;gap:8px;min-height:48px;max-height:54px;padding:6px 12px;position:sticky;top:56px}.toolbar>.inline{gap:8px;min-width:0;flex-wrap:nowrap!important}.toolbar label{margin:0}.toolbar input,.toolbar select{height:36px;min-height:36px;padding:5px 8px}.app-shell .table-wrap{isolation:isolate;min-height:0;max-height:calc(100dvh - 178px);scroll-padding-top:38px;overflow:auto}.app-shell table:not(.board) th{z-index:3;color:#4b5563;height:36px;font-size:var(--ui-label);background:#edf2f6;padding:8px 12px;position:sticky;top:0}.app-shell table:not(.board) td{height:46px;line-height:1.4;font-size:var(--ui-text);vertical-align:middle;padding:5px 12px}.app-shell table:not(.board) td :is(button,.button){min-height:32px;padding:4px 9px}.app-shell table:not(.board) td .sub{margin:2px 0 0;line-height:1.3}.app-shell .table-wrap td .inline{gap:5px}.app-shell .pill{padding:3px 6px}.app-shell .sales-voucher>summary{gap:8px;min-height:48px;padding:5px 12px}.sales-voucher small{margin-top:2px}.voucher-line{min-height:36px;padding:6px 0}.report-search{z-index:20;background:#fff;align-items:center;gap:10px;min-height:48px;max-height:54px;display:flex;position:sticky;top:56px;padding:5px 10px!important}.report-search-main{flex:1;align-items:center;gap:8px;min-width:0;display:flex!important}.report-search-main>label{min-width:0;margin:0}.report-search-main>label:first-child{font-size:0!important}.report-search-main input{height:36px;min-height:36px}.report-search-main .report-keyword{flex:1;font-size:0!important}.report-search>details{flex:none}.report-search>details>summary{cursor:pointer;white-space:nowrap;font-size:var(--ui-label)}.report-filter-grid{z-index:25;background:#fff;border:1px solid #c9d5df;width:min(720px,90vw);padding:12px;position:absolute;top:48px;right:0;box-shadow:0 6px 18px #23384b25}.report-inline-details{gap:2px}.report-worker-summary{padding:2px 0}.report-worker-summary>div{gap:4px}.report-worker-summary span{font-size:var(--ui-label)!important}.report-vehicle-summary{margin-top:2px;font-size:var(--ui-label)!important}.info-box{color:#354e65;background:#edf3f8;border:1px solid #cbdbe8;border-radius:6px;margin:8px 0;padding:10px 12px;line-height:1.5}.user-display-menu{font-size:var(--ui-label);margin:12px 0}.user-display-menu summary{cursor:pointer;font-size:var(--ui-label)}.user-display-menu>div{gap:6px;margin-top:8px;display:flex}.user-display-menu button[aria-pressed=true]{color:#fff;background:#365f82}.sidebar{padding:16px 14px 10px}.sidebar .brand{padding-bottom:14px}.sidebar .nav-caption{margin:14px 10px 6px}.sidebar nav{gap:2px}.sidebar nav a{font-size:var(--ui-text);color:#4b5563;padding:8px 10px}.sidebar-bottom{padding:12px 8px 0}.sidebar-bottom p{margin:8px 0 0;color:#4b5563!important;font-size:var(--ui-label)!important}.back-to-top{z-index:35;color:#294e70;background:#fff;border-color:#89a6bf;position:fixed;bottom:18px;right:18px;box-shadow:0 3px 12px #23384b25}.period-control{vertical-align:middle;flex:1;width:100%;min-width:0;display:inline-flex;position:relative}.period-control .period-native{max-width:100%;margin:0;color:#0000!important;-webkit-text-fill-color:transparent!important;width:100%!important;min-width:0!important}.period-control .period-native::-webkit-datetime-edit{color:#0000}.period-text{pointer-events:none;color:#222f3c;white-space:nowrap;text-overflow:ellipsis;font-weight:500;position:absolute;top:50%;left:10px;right:30px;overflow:hidden;transform:translateY(-50%);font-size:var(--ui-text)!important}.toolbar .period-control{flex:0 0 165px;width:165px}.day-navigation .period-control{flex:1;width:0}dialog[open]{flex-direction:column;gap:0;width:min(780px,94vw);max-height:90dvh!important;padding:0!important;display:flex!important;overflow:hidden!important}dialog>header{border-bottom:1px solid var(--line);background:#fff;flex:none;min-height:56px;margin:0!important;padding:14px 18px!important}dialog>header h2{line-height:1.4;font-size:calc(16px * var(--ui-scale))!important}dialog>form{overscroll-behavior:contain;min-height:0;padding:16px 18px 0;scroll-padding-bottom:70px;overflow:auto}dialog>form>footer{z-index:5;border-top:1px solid var(--line);background:#fff;flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex;position:sticky;bottom:0;margin:14px -18px 0!important;padding:10px 18px!important}dialog>.dialog-body{overscroll-behavior:contain;min-height:0;padding:16px 18px;overflow:auto}dialog>footer{border-top:1px solid var(--line);background:#fff;flex:none;justify-content:flex-end;gap:8px;display:flex;margin:0!important;padding:10px 18px!important}dialog footer .primary{order:3;margin-left:0}dialog footer button{min-height:36px}dialog fieldset{min-width:0}dialog .planning-members{max-height:none;overflow:visible}.planning-board>.board-month-export{gap:8px;min-height:40px;margin:8px 0}.board-month-export label{flex-direction:row;align-items:center;gap:8px;display:flex}.board-month-export .period-control{flex:none;width:165px}.board-month-export input{height:36px!important}.board-month-export .button{min-height:36px;height:36px!important}.planning-board .board-scroll{isolation:isolate;max-height:calc(100dvh - 235px);scroll-padding-top:86px;scroll-padding-bottom:84px;overflow:auto}.site-board thead th{z-index:8;color:#4b5563;background:#f3f6f8;top:0;height:48px!important;font-size:var(--ui-label)!important;position:sticky!important}.site-board thead th b{margin-top:0;font-size:var(--ui-text)!important}.site-board thead th:first-child{z-index:12;left:0}.site-board tbody th:first-child{z-index:4;background:#fff;position:sticky;left:0}.site-board .customer-group th:first-child{z-index:7;height:32px;padding:6px 12px;top:48px;left:0;position:sticky!important}.site-board .customer-group-label{color:#365f82;left:12px}.site-board tbody td{height:56px;padding:4px}.site-board tbody th{padding:6px 10px}.site-board .site-board-actions{flex-wrap:wrap;gap:4px;display:flex}.site-board-actions button{min-height:30px;padding:3px 6px;font-size:var(--ui-text)!important}.site-board .unassigned-row th,.site-board .unassigned-row td{z-index:9;border-top:2px solid #b4c7d8;max-height:90px;bottom:0;position:sticky!important}.site-board .unassigned-row th{z-index:11;left:0}.unassigned-row td>div{max-height:58px;margin-top:2px;overflow:auto}.unassigned-row td>div>span{color:#4b5563;padding:1px 3px;font-size:var(--ui-label)!important}.day-kpis{border:1px solid #cbdbe8;border-radius:6px;max-height:56px;overflow:hidden;gap:0!important;min-height:48px!important;margin:8px 0!important;display:flex!important}.day-kpis>div{flex:1;justify-content:center;align-items:center;gap:10px;border:0!important;border-radius:0!important;padding:8px!important;display:flex!important}.day-kpis strong{font-size:calc(18px * var(--ui-scale))!important;margin:0!important}.day-kpis span{color:#4b5563;font-size:var(--ui-label)!important}.day-kpis small{margin-left:3px}.day-customer{overflow:visible!important}.day-customer>h2{z-index:8;position:sticky;top:110px}.day-unassigned{z-index:9;border:1px solid #cbdbe8;max-height:110px;position:sticky;bottom:0;overflow:auto;background:#edf3f8!important}.day-unassigned h2{margin-bottom:4px}.day-site-summary{padding:8px 30px 8px 12px!important}.day-site-summary>strong{margin-bottom:4px!important}}@media screen and (max-width:760px){.app-shell .content{padding:0 10px 24px}.app-shell .page-intro{gap:5px;padding-left:34px!important}.app-shell .page-intro h1{white-space:normal;font-size:calc(16px * var(--ui-scale))!important}.page-heading{gap:4px!important}.page-actions{gap:4px;max-width:48%}.page-actions button,.page-actions .button{gap:3px;padding:5px 7px;line-height:1.2;white-space:normal!important}.page-actions svg{flex:none;width:14px}.page-help>summary{width:20px;height:20px}.page-help>div{left:-100px}.topbar>.inline:first-child{display:block}.topbar>.inline:first-child>:not(.mobile-menu){display:none}.topbar .mobile-menu{z-index:28;width:30px;min-width:30px;padding:4px;display:flex;position:fixed;top:10px;left:8px}.app-shell .toolbar{padding:5px 8px;overflow-x:auto}.toolbar>.inline{flex:none}.toolbar .period-control{flex:0 0 140px;width:140px}.toolbar select{max-width:160px}:is(.app-shell,dialog) :is(input,select,textarea){font-size:max(16px,var(--ui-text))!important}.planning-board.mobile-view-day>.page-intro,.planning-board.mobile-view-week>.page-intro{display:flex!important}.planning-board>.page-intro .primary{display:inline-flex!important}.planning-board .board-month-export{flex-wrap:nowrap;gap:8px;width:100%;margin:6px 0;display:flex!important}.planning-board .board-month-export>label{flex-direction:row;flex:1;gap:6px;width:auto;display:flex}.planning-board .board-month-export .period-control{flex:1;width:0}.planning-board .board-month-export>.button{flex:none;padding:5px 8px;width:auto!important;height:36px!important}.mobile-board-switch{z-index:20;border-radius:0;min-height:48px;max-height:54px;margin:0!important;padding:3px!important;position:sticky!important;top:56px!important}.mobile-board-switch button{min-height:36px!important}.app-shell .planning-board.mobile-view-day>.metrics{display:none!important}.planning-board .metrics>div{padding:6px 9px}.planning-board .board-scroll{max-height:calc(100dvh - 250px)}.day-navigation{margin:6px 0!important;padding:4px!important}.day-navigation input{height:36px!important}.day-navigation button{min-height:36px!important}.day-calendar-label{margin:4px 0!important}.report-search{gap:5px}.report-search-main{gap:4px}.report-search-main>label:first-child{flex:none;width:135px}.report-keyword input{width:100%;min-width:0}.report-search-main>.muted{display:none}.report-search>details>summary{white-space:normal;max-width:70px}.report-mobile-sort{display:none}.report-list .table-wrap{max-height:calc(100dvh - 190px)}.app-shell .report-list table tbody tr{margin:0!important;padding:8px!important}.app-shell .report-list table td{height:auto;padding:2px 0!important}.app-shell .report-list table td:last-child button{min-height:32px}.day-names>span{font-weight:700;font-size:var(--ui-text)!important}.day-customer>h2 button>span{color:#365f82;font-size:var(--ui-label)!important}.day-customer>h2 button{min-height:32px;padding:6px 10px!important}dialog>header{padding:10px 12px!important}dialog>form{padding:12px 12px 0}dialog>form>footer{margin:12px -12px 0!important;padding:10px 12px!important}dialog>.dialog-body{padding:12px}.back-to-top{bottom:12px;right:12px}}@media screen{.app-shell .brand{font-size:32px!important}.app-shell .brand-mark{font-size:28px!important}.app-shell .brand-period{font-size:32px!important}.app-shell :is(td strong,.site-board-title strong,.day-names>span){font-weight:700;font-size:var(--ui-text)!important}.app-shell .board thead th:first-child span{color:#4b5563;font-size:var(--ui-label)!important}.site-board thead th{padding:4px 5px!important}.site-board th:first-child{width:290px!important}.site-board .customer-group th:first-child{width:auto!important}.site-board .site-base{font-size:var(--ui-label)!important;margin:3px 0!important}.site-board tbody td>button{min-height:48px!important}.site-board .site-board-actions button{min-height:28px}.site-board .site-board-title{line-height:1.4}.app-shell .project-grid{display:block}.app-shell .project-card{margin:0;padding:0}.project-summary{cursor:pointer;grid-template-columns:2fr 2fr 90px 100px;align-items:center;gap:12px;min-height:48px;padding:5px 12px;display:grid}.project-summary strong{font-size:var(--ui-text)!important}.project-summary>span{color:#4b5563}.project-detail{padding:14px 18px}.project-detail>.inline:first-child{display:none}.report-line-expand>summary{cursor:pointer;flex-direction:column;gap:2px;list-style:none;display:flex}.report-line-expand>summary strong{line-height:1.35;font-size:var(--ui-text)!important}.report-line-expand>summary small{color:#365f82;font-size:var(--ui-label)!important}.report-line-expand[open]>summary{margin-bottom:6px}.demo-banner{display:none}.topbar{z-index:auto!important}.topbar .mobile-menu{z-index:40!important}}@media screen and (max-width:760px){.project-summary{grid-template-columns:minmax(0,1fr) 60px;gap:2px 8px;min-height:56px}.project-summary>strong{grid-column:1}.project-summary>span:nth-child(2){grid-area:2/1;font-size:var(--ui-label)!important}.project-summary>.pill{grid-area:1/2}.project-summary>span:last-child{grid-area:2/2;font-size:var(--ui-label)!important}.app-shell .topbar{position:static!important;overflow:visible!important}.sidebar.open{overflow:auto}.site-board th:first-child{width:290px!important}}@media screen{.app-shell .report-list table td{height:56px;padding:4px 12px;line-height:1.15}.app-shell .report-list table td .sub{margin:0;line-height:1.1;font-size:var(--ui-label)!important}.app-shell table thead button{min-height:24px!important;font-size:var(--ui-label)!important;padding:0 4px!important}.report-header-actions{align-items:center;gap:6px;display:flex}.report-header-actions .button{font-size:var(--ui-label)!important}.content>.banner{margin:6px 0;padding:8px 12px;line-height:1.5;font-size:var(--ui-label)!important}.content>.banner summary{font-size:var(--ui-label)!important}.content>.banner details{margin-top:3px}.compact-actions{position:relative}.compact-actions>summary{cursor:pointer;white-space:nowrap;font-size:var(--ui-text);background:#fff;border:1px solid #cbd5df;border-radius:6px;padding:7px;list-style:none}.compact-actions>div{z-index:50;background:#fff;border:1px solid #cbd5df;border-radius:7px;flex-direction:column;align-items:stretch;gap:6px;width:190px;padding:8px;display:flex;position:absolute;top:40px;right:0;box-shadow:0 4px 14px #23384b22}.app-shell .brand-period{color:#365f82}.app-shell table .list-group th{z-index:2;color:#365f82;background:#e8eff6;height:28px;padding:4px 12px;font-weight:600;top:36px}.app-shell .report-list .list-group{height:28px!important}.app-shell .report-list .list-group th{display:table-cell}.app-shell .report-list .list-group{display:table-row;padding:0!important}.mobile-sort-actions{display:none}.sales-voucher[open]>summary{z-index:6;background:#fff;position:sticky;top:110px}:is(.app-shell,dialog) input::placeholder,:is(.app-shell,dialog) textarea::placeholder{color:#4b5563;opacity:1}}@media screen and (max-width:760px){.mobile-sort-actions{flex-wrap:wrap;gap:5px;display:flex}.app-shell .report-list table tbody tr:not(.list-group){gap:4px!important;height:auto!important;margin:0!important;padding:8px!important}.app-shell .report-list table tbody td{line-height:1.2;height:auto!important;min-height:0!important;padding:0!important}.app-shell .report-list .list-group th{padding:4px 8px!important;top:0!important}.report-line-expand summary{gap:2px}.app-shell .report-list table tbody td:last-child{padding-top:3px!important}}@media screen{.table-wrap:focus-visible,.board-scroll:focus-visible{outline-offset:2px;outline:2px solid #376b9a}.app-shell .banner,dialog .banner{color:#73551a}.app-shell :is(.worker-summary-name>span,.night-off,.section-label){color:#4b5563!important}.app-shell .report-worker-summary .worker-summary-values span{color:#4b5563}.app-shell .night-on{color:#365f82!important}.sales-customer>h2{z-index:7;color:#365f82;background:#e8eff6;min-height:28px;margin:0;padding:6px 12px;position:sticky;top:110px;font-size:var(--ui-label)!important}.sales-customer .sales-voucher[open]>summary{top:140px}.sales-customer .sales-voucher>summary{height:48px;min-height:48px}.sales-customer:last-child{border-radius:0 0 7px 7px}.app-shell .master-line{min-height:46px;padding:5px 12px}.master-line button{min-height:32px;padding:4px 10px}.project-card>.inline.spread{background:#edf2f6;border-bottom:1px solid #d2dce5;min-height:48px;padding:6px 12px}.project-card>.inline.spread h2{font-size:var(--ui-text)}.project-card>.inline.spread button{min-height:32px;padding:4px 10px}.planning-board .metrics{height:48px;min-height:48px;margin:6px 0}.planning-board .metrics>div{min-height:46px;padding:4px 12px}.planning-board .metrics p{display:none}.planning-board .toolbar{flex-wrap:nowrap;min-height:48px;max-height:none;padding:5px 10px;position:static}.planning-board .toolbar>.inline{flex-shrink:0}.planning-board .toolbar .board-month-export{min-height:36px;margin:0}.board-tools{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:42px;padding:4px 10px;display:flex}.board-tools button{min-height:32px;padding:4px 8px}.planning-board .board-scroll{max-height:calc(100dvh - 218px)}.site-board th:first-child{width:240px!important}.site-board .site-board-title{align-items:center;gap:4px;min-width:0;display:flex}.site-board-title>strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.site-board .site-board-actions{flex-wrap:nowrap;flex:none}.site-board .site-board-actions button{width:26px;min-height:26px;padding:3px}.site-board .base-crew{line-height:18px;font-size:var(--ui-label);color:#4b5563;align-items:center;gap:3px;margin:1px 0 0;display:flex}.base-crew>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.base-crew .base-help{background:0 0;border:0;flex:none;min-height:18px;padding:0}.site-board tbody tr:not(.customer-group):not(.unassigned-row)>th{height:60px;padding:4px 8px}.site-board tbody td{height:60px;padding:3px}.site-board .crew-cell{text-align:left;white-space:normal;width:100%;height:100%;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:column;justify-content:flex-start;gap:2px;padding:0;display:flex;min-height:52px!important}.crew-cell .crew-cell-count{display:none}.crew-cell:not(:has(.crew-chip)){justify-content:center;align-items:center}.crew-cell:not(:has(.crew-chip)) .crew-cell-count{opacity:0;line-height:26px;display:block;font-size:20px!important}.crew-cell:hover .crew-cell-count,.crew-cell:focus .crew-cell-count,.crew-cell:active .crew-cell-count{opacity:1}.site-board .crew-chip{color:#243d53;background:#eaf1f7;border:0;border-radius:3px;flex-wrap:wrap;align-items:center;gap:2px 6px;min-height:26px;margin:0;padding:2px 4px;line-height:22px;display:flex}.crew-chip>span{min-width:0;font-weight:700;line-height:22px}.crew-chip .crew-job{color:#4b5563;margin:0;display:inline;font-size:var(--ui-label)!important}.crew-chip .crew-job.job-missing{color:#934b08;background:#fff0d9;border-radius:3px;padding:0 3px}.crew-chip .crew-conflict{text-overflow:ellipsis;white-space:nowrap;color:#934b08;width:100%;margin:0;line-height:16px;overflow:hidden;font-size:var(--ui-label)!important}.site-board .current{background:0 0}.site-board thead .current{background:#f3f6f8;box-shadow:inset 0 3px #365f82}.site-board td.calendar-saturday{background:#f4f8fd}.site-board thead .calendar-saturday{background:#edf4fc}.site-board td.calendar-sunday,.site-board td.calendar-holiday{background:#fff6f7}.site-board thead .calendar-sunday,.site-board thead .calendar-holiday{background:#fff0f2}.site-board .unassigned-row th,.site-board .unassigned-row td{background:#eef3f7;padding:4px 6px;height:auto!important}.unassigned-row th button,.day-unassigned h2 button{background:0 0;border:0;max-width:100%;min-height:26px;padding:0;font-size:var(--ui-label)!important}.unassigned-row.collapsed td>div{display:none}.day-unassigned h2 button{justify-content:flex-start;width:100%;display:flex}dialog .planning-members{scrollbar-width:thin;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:none;padding:0;display:grid;overflow:visible}dialog .planning-member{border:1px solid #dbe4ed;border-radius:5px;min-width:0;margin:0;padding:5px 8px;display:block}.planning-member.selected{background:#f0f5fa;grid-column:1/-1}.planning-person-line{align-items:center;gap:8px;min-width:0;display:flex}.planning-person-line>label{flex:1;align-items:center;gap:5px;min-width:0;margin:0;display:flex}.planning-person-line>select{width:42%;min-width:0;height:32px;padding:3px 6px}.planning-person-line label>span{overflow-wrap:anywhere}.planning-member .add-plan-note{min-height:20px;margin-left:25px;padding:0;font-size:var(--ui-label)!important}.planning-member>input{height:32px;margin-top:4px}.planning-member .crew-conflict{color:#934b08;display:block;font-size:var(--ui-label)!important}dialog .batch-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:8px 0;display:grid}.batch-days>label{text-align:center;flex-direction:column;justify-content:flex-start;align-items:center;gap:3px;min-width:0;padding:6px 2px;display:flex;font-size:var(--ui-label)!important}.batch-days label:has(input:disabled){color:#4b5563;background:#eef0f2}.batch-days small{overflow-wrap:anywhere;font-size:var(--ui-label)!important}.copy-planning{margin:12px 0 0}.copy-planning summary{font-size:var(--ui-text);cursor:pointer}.copy-planning p{margin:4px 0}.dialog-footer .clear-day{color:#9d3529;margin-right:auto}.planning-job-options,.base-job-settings{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0;display:grid}.planning-job-options label{align-items:center;gap:6px;display:flex}.base-job-settings label{min-width:0}}@media screen and (max-width:760px){.planning-board .toolbar{flex-wrap:wrap;gap:4px}.planning-board .toolbar>.inline{justify-content:space-between;width:100%}.planning-board .toolbar .board-month-export{width:100%;margin:0}.board-tools{flex-wrap:wrap;padding:4px 6px}.board-tools>button{white-space:normal;width:100%;font-size:12px!important}.board-tools .search,.board-tools .search input{width:100%}.planning-board.mobile-view-week .metrics{flex-wrap:wrap;height:auto;min-height:48px;max-height:none}.planning-board.mobile-view-week .metrics>div{flex-basis:45%;min-height:32px}.planning-board .board-scroll{max-height:calc(100dvh - 330px)}.site-board th:first-child{width:220px!important}.planning-person-line>select{width:45%;font-size:16px!important}.planning-member .planning-person-line>label{font-size:14px!important}.planning-dialog .section-heading{align-items:center;gap:6px}.planning-dialog .section-heading button{white-space:normal;padding:4px;font-size:12px!important}.planning-dialog .section-heading h3{font-size:14px!important}.planning-dialog .dialog-footer{flex-wrap:wrap;gap:6px}.planning-dialog .dialog-footer .clear-day{justify-content:flex-start;width:100%}.planning-job-options,.base-job-settings{grid-template-columns:minmax(0,1fr)}}@media screen{dialog .planning-person-line>label{justify-content:flex-start;flex-direction:row!important}dialog .planning-person-line input[type=checkbox]{flex:none;width:18px;height:18px;margin:0}dialog .planning-job-options label{flex-direction:row!important}dialog .planning-member{min-height:38px}}@media screen and (max-width:760px){dialog.planning-dialog .dialog-footer{display:flex!important}dialog.planning-dialog .dialog-footer>button{flex:0 auto;width:auto!important}dialog.planning-dialog .dialog-footer>.clear-day{background:0 0;border:0;flex-basis:100%;min-height:28px;padding:2px 0}dialog.planning-dialog .dialog-footer>.primary{margin-left:0}}@media screen{.planning-board .toolbar{z-index:20;background:#fff;position:sticky;top:56px}.site-board{min-width:1430px}.site-board .crew-chip{text-align:left;flex-direction:row;justify-content:flex-start;align-items:center}.site-board .crew-chip>span{white-space:nowrap;flex:1;min-width:0;display:inline}.site-board .crew-chip .crew-job{flex:none}.site-board .crew-chip .crew-conflict{flex-basis:100%}.planning-dialog fieldset>label.inline{justify-content:flex-start;flex-direction:row!important}.reports-page .report-controls{z-index:22;background:#f5f7f9;flex-wrap:wrap;align-items:center;gap:10px;min-height:50px;padding:4px 0;display:flex;position:sticky;top:56px}.report-month{align-items:center;gap:6px;margin:0;display:flex}.report-month .period-control{width:155px}.report-steps{font-size:var(--ui-label);margin-left:auto}.report-steps .current{color:#315d80;font-weight:700}.report-steps a{font-size:var(--ui-label)}.report-more{position:relative}.report-more>summary{cursor:pointer;padding:8px;list-style:none}.report-more>div{z-index:30;background:#fff;border:1px solid #d5dfe8;border-radius:6px;gap:5px;min-width:160px;padding:6px;display:grid;position:absolute;top:100%;right:0;box-shadow:0 5px 18px #152c4720}.report-more a{padding:8px}.report-missing-notice{text-align:left;color:#755213;background:#fff8e5;border:1px solid #e6d7af;justify-content:flex-start;width:100%;min-height:36px;margin:6px 0;padding:6px 12px}.report-tabs{border-bottom:1px solid #dce3e9;gap:4px;padding:0 12px;display:flex}.report-tabs button{background:0 0;border:0;border-radius:0;padding:10px 14px}.report-tabs button[aria-selected=true]{color:#244f73;border-bottom:3px solid #37698f;font-weight:700}.report-list-filters{z-index:18;background:#fff;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 12px;display:flex;position:sticky;top:106px}.report-list-filters>input{flex:1;min-width:160px;max-width:420px}.report-list-filters>details{position:relative}.report-list-filters .report-filter-grid{z-index:30;background:#fff;border:1px solid #dce3e9;width:min(700px,80vw);padding:14px;position:absolute;top:24px;right:0;box-shadow:0 4px 20px #172d4120}.report-grid-head{z-index:15;background:#edf2f6;border-block:1px solid #dce3e9;grid-template-columns:100px 200px minmax(0,1fr) 145px;align-items:center;gap:8px;min-height:36px;padding:3px 12px;display:grid;position:sticky;top:160px}.report-grid-head button{background:0 0;border:0;justify-content:flex-start;padding:3px}.report-grid-head span{font-size:var(--ui-label)}.report-date-group{z-index:10;color:#2e5574;background:#e6eef5;margin:0;padding:5px 12px;line-height:24px;position:sticky;top:196px;font-size:var(--ui-text)!important}.report-date-group span{font-size:var(--ui-label)}.report-overview-row{border:0;text-align:left;white-space:normal;background:#fff;border-bottom:1px solid #e1e7ed;border-radius:0;align-items:center;gap:12px;width:100%;min-height:56px;font-weight:400;grid-template-columns:minmax(170px,1fr) minmax(0,2.5fr) 145px!important;padding:7px 12px!important;display:grid!important}.report-overview-row:hover{background:#f3f7fb}.report-overview-site,.report-overview-workers,.report-overview-status{flex-direction:column;gap:2px;min-width:0;display:flex}.report-overview-site small{line-height:18px;font-size:var(--ui-label)!important}.report-overview-site strong{overflow-wrap:anywhere}.worker-one-line{flex-wrap:wrap;align-items:center;gap:3px 10px;min-height:26px;display:flex}.worker-one-line span{font-size:var(--ui-label)}.report-overview-status .pill{white-space:nowrap;align-self:flex-start;align-items:center;gap:4px;display:inline-flex}.pill.blue{color:#285479;background:#e5eff9}.pill.green{color:#256345;background:#e2f1e9}.reports-page .report-warning,dialog .report-warning{color:#8c470a!important;font-size:var(--ui-label)!important}.report-batch-bar{flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;display:flex}.report-batch-bar>small,.report-batch-bar>p{flex-basis:100%;margin:0}.report-batch-bar label{flex-direction:row;align-items:center;gap:6px;display:flex}.report-batch-bar input,.missing-compact input{flex:none;width:18px;height:18px}.missing-compact-row{border-top:1px solid #e1e7ed;align-items:center;gap:10px;min-height:44px;padding:5px 12px;display:flex}.missing-compact-row>strong{flex:1}.missing-compact-row>span{font-size:var(--ui-label)}.missing-compact-row>button{flex:none;margin-left:auto}.missing-compact-row>small{max-width:180px}dialog:has(.report-form){width:min(960px,96vw)}dialog>form.report-form{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.report-form>fieldset{overscroll-behavior:contain;min-height:0;margin:0;padding:12px 18px;overflow:auto}.report-form>footer.dialog-footer{flex:none;position:static;margin:0!important;padding:10px 18px!important}.report-form>.error,.report-form>.banner{flex:none;margin:0 18px;padding:6px 10px}.report-form .report-site-stack{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;display:grid!important}.report-form .report-site-stack label{min-width:0}.report-form .report-other-fields{grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px;margin-top:10px;display:grid}.report-form .report-other-fields>.wide{grid-column:auto}.report-form .report-other-fields textarea{height:44px;min-height:44px}.report-form .report-other-fields label:has(input[type=checkbox]){flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;display:flex}.report-form .report-other-fields input[type=checkbox]{width:18px;height:18px}.holiday-record-hint{text-align:right;margin-top:2px;display:block}.report-form .section-heading{flex-wrap:wrap;align-items:center;gap:8px;margin:14px 0 6px;display:flex}.report-form .section-heading h3{margin-right:auto}.report-form .section-heading button{min-height:32px;padding:5px 8px}.report-defaults{background:#f3f6f9;border-radius:5px;align-items:center;gap:12px;margin-bottom:8px;padding:6px 10px;display:flex}.report-defaults>.report-default-line{gap:8px;grid-template-columns:repeat(3,minmax(0,100px))!important;margin:0!important;display:grid!important}.report-defaults label{margin:0!important}.report-defaults input{height:32px}.report-defaults small{max-width:130px}.report-workers-table{border:1px solid #d8e1e9;border-radius:6px;overflow:hidden}.worker-table-head,.worker-table-row{grid-template-columns:minmax(120px,1.5fr) minmax(125px,1.5fr) repeat(4,minmax(60px,.7fr)) 40px 32px;align-items:center;gap:6px;display:grid}.worker-table-head{background:#eef3f7;padding:5px 8px}.worker-table-head>span{font-size:var(--ui-label)}.worker-table-row{padding:6px 8px}.report-worker-v2+.report-worker-v2{border-top:1px solid #dce4eb}.worker-table-row>label{min-width:0;position:relative;margin:0!important;display:block!important}.worker-table-row>label>span{display:none}.worker-table-row :is(input,select){border:1px solid #cbd5df;width:100%;height:34px;margin:0;padding:4px 6px;background:#fff!important}.worker-table-row input[type=checkbox]{width:18px;height:18px;margin:0 auto;display:block}.worker-table-row .next-day{background:#fff;position:absolute;bottom:-11px;right:0;font-size:12px!important}.worker-table-row .icon{border:0;width:28px;padding:3px}.report-worker-v2>small{padding:0 8px 5px;display:block}.field-error{color:#ad3029!important}.report-form select:required:invalid,.report-form input:required:invalid{background:#fff!important;border-color:#c64c48!important}.report-form :is(select,input,textarea){background-color:#fff!important}.report-workers-table>p{margin:0;padding:8px 12px}}@media screen and (max-width:760px){.reports-page .page-intro{flex-wrap:wrap;height:auto;min-height:56px}.reports-page .page-intro button{padding:6px;font-size:12px!important}.reports-page .report-controls{gap:6px;position:static}.report-steps{width:100%;margin:0;line-height:22px}.report-list-filters{position:static}.report-grid-head{position:sticky;top:56px;grid-template-columns:70px 1fr!important}.report-grid-head>span{display:none}.report-date-group{top:94px}.report-list-filters .report-filter-grid{width:100%;box-shadow:none;position:static}.report-list-filters>details{width:100%}.report-list-filters>input{width:100%;max-width:none}.report-overview-row{grid-template-columns:minmax(0,1fr) auto!important;gap:4px 8px!important;padding:8px 10px!important}.report-overview-site{grid-column:1}.report-overview-status{grid-area:1/2}.report-overview-workers{grid-column:1/-1}.worker-one-line{gap:2px 6px;min-height:24px}.worker-one-line b{font-size:14px!important}.worker-one-line span{font-size:12px!important}.report-overview-status .pill{padding:4px;font-size:12px!important}.report-overview-site small{font-size:12px!important}.missing-compact-row{grid-template-columns:20px minmax(0,1fr) auto;gap:4px 8px;padding:8px;display:grid}.missing-compact-row>input{grid-row:1/4}.missing-compact-row>strong,.missing-compact-row>span:nth-of-type(2){grid-column:2}.missing-compact-row>button{grid-area:1/3/4;padding:5px;font-size:12px!important}.missing-compact-row>small{grid-column:2}.report-batch-bar button{white-space:normal;width:100%}.report-form>fieldset{padding:10px 12px}.report-form .report-site-stack{gap:8px!important}.report-form .report-other-fields{display:block}.report-form .report-other-fields label{margin-top:8px}.holiday-record-hint{text-align:left}.report-form .section-heading button{white-space:normal;font-size:12px!important}.report-form .section-heading h3{width:100%;margin:0}.report-defaults{padding:6px;display:block}.report-defaults>.report-default-line{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:4px!important}.worker-table-head{display:none}.worker-table-row{grid-template-columns:repeat(4,minmax(0,1fr)) 28px;gap:5px;padding:8px}.worker-table-row>label>span{line-height:18px;display:block;font-size:12px!important}.worker-table-row>label:first-child{grid-column:1/3}.worker-table-row>label:nth-child(2){grid-column:3/5}.worker-table-row>label:nth-child(3){grid-area:2/1}.worker-table-row>label:nth-child(4){grid-area:2/2}.worker-table-row>label:nth-child(5){grid-area:2/3}.worker-table-row>label:nth-child(6){grid-area:2/4}.worker-table-row>label:nth-child(7){grid-area:2/5;align-self:start}.worker-table-row>button{grid-area:1/5;align-self:end}.worker-table-row :is(input,select){height:36px;padding:3px;font-size:16px!important}.worker-table-row input[type=checkbox]{width:20px;height:20px;margin-top:8px}.report-form>footer.dialog-footer{flex-wrap:nowrap!important;padding:8px 12px!important;display:flex!important}.report-form>footer.dialog-footer button{flex:0 auto;width:auto!important}}@media screen{.reports-page .report-controls{flex-wrap:nowrap;height:54px;padding:5px 0}.reports-page .report-month,.report-controls>.pill{flex:none}.report-controls>.report-list-filters{background:0 0;flex-wrap:nowrap;flex:1;min-width:0;margin-left:auto;padding:0;position:static}.report-controls>.report-list-filters>input{width:180px;min-width:100px;max-width:none}.report-list-filters>details{flex:none}.report-steps{font-size:var(--ui-label);padding:4px 0;line-height:24px}.report-grid-head{grid-template-columns:minmax(170px,1fr) minmax(0,2.5fr) 145px;top:110px}.report-grid-head>button:first-child{padding:3px 8px;position:absolute;top:-37px;right:170px}.report-grid-head>button:nth-child(2){grid-column:1}.report-grid-head>span:nth-child(3){grid-column:2}.report-grid-head>span:nth-child(4){grid-column:3}.report-date-group{top:146px}.report-form>fieldset{display:block}.report-form .report-top-line{margin-bottom:10px}.report-form .report-other-fields{margin-bottom:0}.report-form .holiday-record-hint{margin:2px 0 8px}.report-form .report-defaults{margin-top:6px}}@media screen and (max-width:760px){.reports-page .report-controls{flex-wrap:wrap;height:auto;min-height:50px;position:sticky;top:56px}.report-controls>.report-list-filters{flex-wrap:wrap;flex-basis:100%;margin:0}.report-controls>.report-list-filters>details{width:auto}.report-controls .report-filter-grid{width:calc(100vw - 44px);position:absolute;right:0}.report-controls>.pill{font-size:12px!important}.reports-page .report-month .period-control{width:140px}.report-grid-head{top:156px;grid-template-columns:1fr!important}.report-date-group{top:194px}.report-steps,.report-steps a,.report-steps span{font-size:12px!important}.report-grid-head>button:first-child{grid-column:1;position:static}.report-grid-head>button:nth-child(2){grid-column:2}.report-grid-head>span{display:none}}@media screen{.report-mobile-keyword{display:none}}@media screen and (max-width:760px){.reports-page .report-controls{flex-wrap:nowrap;gap:5px;height:54px;min-height:54px}.reports-page .report-month{gap:0;width:128px;font-size:0!important}.reports-page .report-month .period-control{width:128px}.report-controls>.pill{white-space:normal;max-width:125px;padding:4px;line-height:16px;font-size:12px!important}.report-controls>.report-list-filters{flex-wrap:nowrap;flex:1;min-width:45px}.report-controls>.report-list-filters>input,.report-controls>.report-list-filters>span{display:none}.report-controls>.report-list-filters>details{position:static}.report-list-filters summary{white-space:nowrap;font-size:12px!important}.report-controls .report-filter-grid{z-index:30;background:#fff;width:min(340px,90vw);max-height:65dvh;position:absolute;top:50px;right:0;overflow:auto;box-shadow:0 4px 20px #152e4420}.report-mobile-keyword{display:flex!important}.report-grid-head{top:110px}.report-date-group{top:146px}}@media screen{.report-tabs-wrap{border-bottom:1px solid #dce3e9;align-items:center;gap:10px;padding-right:80px;display:flex}.report-tabs-wrap .report-tabs{border:0;flex:none}.report-tabs-wrap .report-tabs button{min-height:36px;padding:6px 10px}.report-tabs-wrap .report-missing-notice{width:auto;height:28px;min-height:28px;margin:0;padding:3px 8px;font-size:var(--ui-label)!important}.report-steps{height:22px;margin:0;padding:0;line-height:22px}.report-list-v2{margin-top:0!important}.report-grid-head{height:30px;min-height:30px;padding:0 12px}.report-grid-head button{min-height:28px}.report-grid-head>button:first-child{top:-33px;right:12px}.report-date-group{padding:2px 12px;line-height:22px;top:140px}.report-overview-row{min-height:56px;padding:3px 12px!important}.report-overview-site small{line-height:16px}.report-overview-site strong{line-height:20px}.report-overview-site{gap:0}.report-overview-workers{grid-template-columns:minmax(0,1fr) 125px;gap:0 6px;display:grid}.report-overview-workers>.worker-one-line{grid-column:1;min-height:26px}.report-overview-workers>small{overflow-wrap:anywhere;grid-area:1/2/4;align-self:center;line-height:18px}.worker-one-line{gap:2px 8px}.reports-page .report-month{white-space:nowrap;flex-direction:row!important}.reports-page .report-month .period-control{width:150px}}@media screen and (max-width:760px){.report-tabs-wrap{padding:0;display:block}.report-tabs-wrap .report-missing-notice{width:calc(100% - 16px);height:auto;margin:4px 8px}.report-tabs-wrap .report-tabs button{padding:8px 12px}.report-steps{height:auto;min-height:22px;line-height:20px}.report-grid-head>button:first-child{position:static}.report-overview-workers{gap:2px;display:flex}.report-overview-row{padding:6px 8px!important}.reports-page .report-month .period-control{width:128px}.report-date-group{top:140px}}@media screen{.sites-toolbar{z-index:22;background:#f5f7f9;flex-wrap:nowrap;gap:8px;height:54px;min-height:54px;display:flex;position:sticky;top:56px;padding:5px 0!important}.sites-toolbar>input{flex:1;max-width:300px}.sites-toolbar>select{width:auto;max-width:230px}.sites-toolbar>span{white-space:nowrap}.sites-toolbar>a{margin-left:auto}.site-list-panel{overflow:visible}.site-list-head,.site-list-row{grid-template-columns:minmax(145px,1.3fr) minmax(145px,1.3fr) 65px minmax(140px,1.3fr) 115px 75px 55px;align-items:center;gap:10px;padding:0 12px;display:grid!important}.site-list-head{z-index:15;background:#edf2f6;border-bottom:1px solid #d9e1e8;height:36px;position:sticky;top:110px}.site-list-head button{background:0 0;border:0;justify-content:flex-start;padding:3px 0;font-size:var(--ui-label)!important}.site-list-head>span{font-size:var(--ui-label)}.site-list-row{cursor:pointer;border-bottom:1px solid #e1e7ed;height:52px}.site-list-row:hover{background:#f2f6fa}.site-list-row:focus-visible{outline-offset:-2px;outline:2px solid #376b9a}.site-list-row>:is(strong,span){white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.site-list-row>.pill{justify-self:start}.site-edit-label{color:#315d80}.app-shell .site-unset,dialog .site-unset{color:#8b470a!important;font-size:var(--ui-label)!important}dialog.site-editor[open]{border-radius:12px 0 0 12px;width:min(1000px,97vw);height:90dvh;max-height:90dvh;margin:0;animation:.15s ease-out site-slide-in;position:fixed;inset:5dvh 0 5dvh auto;box-shadow:-10px 0 35px #15334b30}@keyframes site-slide-in{0%{opacity:.6;transform:translate(40px)}to{opacity:1;transform:translate(0)}}dialog.site-editor>form{flex-direction:column;flex:1;min-height:0;padding:0;display:flex;overflow:hidden}.site-editor .site-editor-body{border:0;min-height:0;margin:0;padding:12px 18px;display:block;overflow:auto}.site-editor-body>section{border-bottom:1px solid #e0e6ec;margin-bottom:12px;padding-bottom:14px}.site-editor h3{margin:0 0 10px;font-size:16px!important}.site-editor h4{margin:12px 0 6px;font-size:14px!important}.site-editor-body p{margin:4px 0 10px}.site-editor .site-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.site-editor label{flex-direction:column;gap:4px;min-width:0;margin:0;display:flex}.site-editor .site-wide{grid-column:1/-1}.site-editor em{color:#a8332b;font-style:normal;display:contents}.site-editor input,.site-editor select{background:#fff;width:100%;min-width:0;height:36px}.site-editor input:required:invalid,.site-editor select:required:invalid{border-color:#c95850}.site-editor .site-crew-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.site-crew-item{border:1px solid #dce4ed;border-radius:5px;align-items:center;gap:8px;min-width:0;padding:4px 6px;display:flex}.site-editor .site-crew-item label,.site-editor .site-check{flex:1;align-items:center;gap:6px;display:flex;flex-direction:row!important}.site-editor input[type=checkbox]{flex:none;width:18px;height:18px}.site-crew-item select{width:48%;height:32px}.site-editor .site-check{margin-top:12px}.site-section-actions{justify-content:space-between;align-items:center;margin:12px 0 6px;display:flex}.site-section-actions h4{margin:0}.site-section-actions button{min-height:30px;padding:4px 8px}.site-rate-head,.site-rate-row{grid-template-columns:minmax(145px,1.5fr) repeat(4,minmax(100px,1fr)) 30px;align-items:center;gap:6px;display:grid}.site-rate-head{background:#edf2f6;padding:5px 6px}.site-rate-head span{font-size:var(--ui-label)}.site-rate-row{border-bottom:1px solid #e0e6ec;padding:5px 6px}.site-rate-row label>span{display:none}.site-rate-row .icon,.site-vehicle-rate .icon{width:28px;padding:3px}.site-editor .site-vehicle-rate{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 30px;align-items:end;gap:8px;margin:6px 0;display:grid}.site-editor .site-commute-price{max-width:300px;margin-top:14px}.site-editor>form>footer{border-top:1px solid #dce3e9;flex-wrap:wrap;flex:none;justify-content:flex-end;gap:8px;display:flex;position:static;margin:0!important;padding:10px 18px!important}.site-editor footer p{flex-basis:100%;margin:0}.site-editor footer .error{max-height:100px;overflow:auto}.price-apply-sites{background:#f0f5fa;border:1px solid #dce5ed;border-radius:6px;margin:12px 0;padding:12px}.price-apply-sites>label{align-items:center;gap:8px;padding:6px 0;flex-direction:row!important;display:flex!important}.price-apply-sites input{flex:none;width:18px;height:18px}}@media screen and (max-width:760px){.sites-toolbar{flex-wrap:wrap;height:auto;min-height:54px}.sites-toolbar>input{flex-basis:100%;width:100%;max-width:none}.sites-toolbar>select{flex:1;max-width:44%}.sites-toolbar>span{font-size:12px!important}.sites-toolbar>a{padding:5px;font-size:12px!important}.site-list-head{flex-wrap:wrap;gap:8px;height:auto;min-height:36px;top:154px;display:flex!important}.site-list-head>span{display:none}.site-list-head button{font-size:12px!important}.site-list-row{grid-template-columns:minmax(0,1fr) auto auto;gap:3px 8px;height:auto;min-height:80px;padding:8px}.site-list-row>strong{white-space:normal;grid-column:1/3}.site-list-row>span:nth-child(2){grid-column:1/3;font-size:12px!important}.site-list-row>span:nth-child(3){grid-area:2/3;font-size:12px!important}.site-list-row>span:nth-child(4){grid-column:1/3;font-size:12px!important}.site-list-row>span:nth-child(5){grid-area:4/1/auto/3;font-size:12px!important}.site-list-row>span:nth-child(6){grid-area:1/3}.site-list-row>span:nth-child(7){grid-area:3/3/5;font-size:12px!important}dialog.site-editor[open]{width:97vw}.site-editor .site-editor-body{padding:10px 12px}.site-editor .site-crew-editor{grid-template-columns:minmax(0,1fr)}.site-rate-head{display:none}.site-rate-row{border:1px solid #dce4ed;border-radius:5px;grid-template-columns:repeat(2,minmax(0,1fr)) 28px;gap:6px;margin:6px 0;padding:8px}.site-rate-row>label:first-child{grid-column:1/3}.site-rate-row>label>span{display:block;font-size:12px!important}.site-rate-row>label:nth-child(2){grid-area:2/1}.site-rate-row>label:nth-child(3){grid-area:2/2}.site-rate-row>label:nth-child(4){grid-area:3/1}.site-rate-row>label:nth-child(5){grid-area:3/2}.site-rate-row>button{grid-area:1/3}.site-editor>form>footer{padding:8px 12px!important}.site-editor footer button{width:auto!important}.site-editor .site-form-grid{gap:8px}.site-editor .site-vehicle-rate{gap:6px}.site-crew-item select{font-size:16px!important}}.clients-toolbar{z-index:15;background:var(--surface);align-items:center;gap:8px;height:54px;padding:8px 0;display:flex;position:sticky;top:56px}.clients-toolbar input{max-width:320px}.clients-toolbar select{width:160px}.clients-panel{overflow:visible}.clients-table{table-layout:fixed;width:100%}.clients-table th{z-index:12;background:#edf2f6;position:sticky;top:110px}.clients-table th:first-child{width:27%}.clients-table th:nth-child(2){width:9%}.clients-table th:last-child{width:220px}.clients-table tbody tr{cursor:pointer;height:52px}.clients-table td{height:52px;font-size:var(--ui-body)!important;padding:6px 12px!important}.clients-table td:first-child strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.clients-table tbody tr:hover{background:#f1f6fa}.client-row-actions{justify-content:flex-end;gap:6px;display:flex}.client-row-actions button{min-height:34px;padding:5px 8px}.client-edit-dialog[open]{width:min(600px,96vw)}.client-edit-dialog>form,.client-prices-dialog>form{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden}.client-edit-body,.client-prices-body{min-height:0;padding:14px 18px;overflow:auto}.client-edit-body{gap:14px;display:grid}.client-active{flex-direction:row;align-items:flex-start;gap:8px;display:flex}.client-active input{flex:none;width:18px;height:18px}.client-active small{color:#4b5563;margin-top:4px;font-weight:400;line-height:1.6;display:block}dialog.client-edit-dialog>form>footer,dialog.client-prices-dialog>form>footer{flex:none;position:static;margin:0!important;padding:10px 18px!important}.client-edit-dialog footer p,.client-prices-dialog footer p{flex-basis:100%;margin:0}.client-prices-dialog[open]{width:min(1100px,97vw);max-width:1100px;max-height:90dvh}.client-price-head,.client-price-row{grid-template-columns:minmax(140px,1.5fr) repeat(7,minmax(0,1fr)) 30px;gap:6px;display:grid}.client-price-head{z-index:2;font-size:var(--ui-label);background:#edf2f6;align-items:center;padding:8px 4px;position:sticky;top:-14px}.client-price-row{border-bottom:1px solid #dde5ed;align-items:start;padding:8px 4px}.client-price-row label{gap:4px;min-width:0}.client-price-row label>span{display:none}.client-price-row input,.client-price-row select{background:#fff;width:100%;min-width:0;height:36px;padding:6px;font-size:var(--ui-body)!important}.client-price-row .icon{width:28px;min-width:28px;padding:5px}.manual-price{color:#855100;font-weight:600;font-size:12px!important}.price-reset{white-space:normal;min-height:26px;padding:2px 4px;font-size:12px!important}.price-add{margin-top:10px}.client-prices-body p{font-size:var(--ui-label);margin:0 0 10px}.client-prices-dialog footer button{white-space:normal}.client-prices-dialog footer .error{max-height:70px;overflow:auto}@media (max-width:1000px){.client-price-head{display:none}.client-price-row{border:1px solid #dce4ed;border-radius:6px;grid-template-columns:repeat(2,minmax(0,1fr)) 28px;margin:8px 0;padding:10px}.client-price-row label>span{line-height:1.5;display:block;font-size:12px!important}.client-price-row .price-job{grid-column:1/3}.client-price-row .price-delete{grid-area:1/3}.client-price-row>label:not(.price-job){grid-column:auto}.client-price-row>label:nth-child(2n){grid-column:1}.client-price-row>label:nth-child(odd):not(.price-job){grid-column:2}.client-price-row input,.client-price-row select{font-size:16px!important}.clients-table th:last-child{width:190px}}@media (max-width:760px){.clients-toolbar{gap:6px;height:54px}.clients-toolbar input{width:45%;min-width:0}.clients-toolbar select{width:38%;min-width:0}.clients-table,.clients-table tbody{display:block}.clients-table thead{display:none}.clients-table tbody tr{border-bottom:1px solid #dce4ed;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;height:auto;padding:8px 10px;display:grid}.clients-table td{min-width:0;height:auto;display:block;border:0!important;padding:0!important}.clients-table td:first-child{grid-column:1/3;align-self:center}.clients-table td:nth-child(2){text-align:right;grid-area:1/3}.clients-table td:nth-child(3){grid-column:1}.clients-table td:nth-child(4){grid-column:2}.clients-table td:nth-child(5){text-align:right;grid-column:3}.clients-table td:last-child{grid-column:1/-1}.clients-table td:nth-child(3):before{content:"進行中：";font-size:12px}.clients-table td:nth-child(4):before{content:"価格表：";font-size:12px}.client-edit-body,.client-prices-body{padding:10px 12px}.client-prices-dialog[open]{width:97vw}.client-prices-dialog>header h2{font-size:16px!important}.client-prices-dialog footer{gap:6px}.client-prices-dialog footer button{flex:0 auto;padding:6px 8px}.clients-table td{height:auto!important}.clients-table tbody tr{min-height:0!important}.client-prices-dialog .client-price-row{padding-right:6px}}.member-dialog{width:min(880px,100vw - 24px)!important;max-height:90dvh!important;overflow:hidden!important}.member-dialog>form{flex-direction:column;min-height:0;display:flex;overflow:hidden;padding:0!important}.member-dialog-body{overscroll-behavior:contain;min-height:0;padding:20px;overflow:auto}.member-dialog .dialog-footer{flex-shrink:0;justify-content:flex-end;margin:0;padding:14px 20px}.member-dialog fieldset{min-width:0}.member-dialog .inline{align-items:flex-start;margin:16px 0}.member-dialog input:not([type=checkbox]),.member-dialog select{width:100%;min-width:0;max-width:100%}.members-table td{height:52px;padding:6px 10px!important}.members-table strong{font-size:14px}.member-order,.member-actions{justify-content:flex-end;gap:4px;display:flex}.member-order button{min-width:26px;padding:4px 6px}.member-order button[draggable=true]{cursor:grab}.members-panel .toolbar{gap:12px}.members-panel .toolbar small{margin-left:auto}.members-table td:last-child{width:240px}.pay-history article{border-bottom:1px solid #cbd5e1;padding:12px 0}.pay-history dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.pay-history dl div{justify-content:space-between;gap:10px;display:flex}.pay-history dd{font-variant-numeric:tabular-nums;margin:0}.member-share{display:none}@media (max-width:700px){.members-table thead{display:none}.members-table,.members-table tbody,.members-table tr{width:100%;display:block}.members-table tr{border-bottom:1px solid #cbd5e1;grid-template-columns:1fr 1fr;gap:6px;padding:10px;display:grid}.members-table td{overflow-wrap:anywhere;min-width:0;border:0!important;width:auto!important;height:auto!important;padding:0!important;display:block!important}.members-table td:nth-child(2){grid-area:1/1}.members-table td:first-child{grid-area:1/2}.members-table td:last-child{grid-column:1/-1}.members-table td:nth-child(n+3):not(:last-child):before{content:attr(data-label);color:#4b5563;font-size:12px;display:block}.members-panel .toolbar{flex-wrap:wrap}.members-panel .toolbar input{width:100%;min-width:0}.members-panel .toolbar small{margin:0}.member-dialog-body{padding:14px}.member-dialog .form-grid,.pay-history dl{grid-template-columns:1fr 1fr}.member-dialog .dialog-footer{flex-wrap:wrap;padding:12px}.member-share{display:inline-flex}.member-actions{flex-wrap:wrap}.members-table small{white-space:normal}}.member-dialog .dialog-footer{box-sizing:border-box;min-width:0;flex-wrap:wrap!important;width:100%!important;margin:0!important;padding:12px!important;display:flex!important;position:static!important}.member-dialog .dialog-footer button{flex:0 auto;min-width:0;width:auto!important}.pay-history dl div{flex-wrap:wrap}.members-table tr{cursor:pointer}.payroll-description{color:#4b5563;margin:8px 0;font-size:12px!important}.payroll-download{position:relative}.payroll-output-menu{z-index:50;background:#fff;border:1px solid #cbd5e1;border-radius:8px;gap:8px;min-width:280px;padding:12px;display:grid;position:absolute;top:100%;right:0;box-shadow:0 8px 24px #20304022}.payroll-download>p{z-index:50;background:#fff;width:280px;padding:10px;position:absolute;top:45px;right:0}.payroll-warning{color:#805510;margin:8px 12px;font-size:12px!important}.payroll-table tr{cursor:pointer}.payroll-name{font-weight:700;background:0 0!important;border:0!important;padding:0!important}.payroll-pay-missing{color:#805510!important;background:#fff4db!important}.payroll-table td{padding:6px 10px!important}.payroll-panel .toolbar{gap:8px}.attendance-dialog{width:min(960px,100vw - 24px)!important;max-height:90dvh!important;overflow:hidden!important}.attendance-dialog-body{min-height:0;padding:12px;overflow:auto}.attendance-dialog .dialog-footer{flex:none;width:100%!important;margin:0!important;padding:12px!important;position:static!important}.attendance-dialog td small,.attendance-dialog td strong{display:block}.attendance-dialog td{padding:6px!important}.attendance-dialog th{top:0!important}.attendance-dialog td:first-child,.attendance-dialog td:nth-child(3){white-space:nowrap}.attendance-dialog td select{width:100%;min-width:0}@media (max-width:700px){.payroll-table thead{display:none}.payroll-table,.payroll-table tbody{width:100%;display:block}.payroll-table tr{border-bottom:1px solid #cbd5e1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px;display:grid}.payroll-table td{border:0!important;width:auto!important;height:auto!important;padding:0!important;display:block!important}.payroll-table td:first-child{grid-column:1/-1}.payroll-table td:last-child{justify-content:end;align-items:end;display:flex!important}.payroll-table td:not(:first-child):not(:last-child):before{content:attr(data-label);color:#4b5563;font-size:12px;display:block}.payroll-table td:nth-last-child(2){grid-column:1/3}.payroll-panel .toolbar{flex-wrap:wrap;height:auto!important;max-height:none!important}.attendance-dialog table{table-layout:fixed;width:100%;min-width:0!important}.attendance-dialog th:first-child{width:22%}.attendance-dialog th:nth-child(2){width:39%}.attendance-dialog th:nth-child(3){width:27%}.attendance-dialog th:nth-child(4){width:12%}.attendance-dialog td:nth-child(3){white-space:normal;overflow-wrap:anywhere}.attendance-dialog :is(th,td){font-size:12px!important}.attendance-dialog select{padding:4px!important;font-size:16px!important}.attendance-dialog .dialog-footer button{width:auto!important}.payroll-output-menu{max-width:calc(100vw - 28px)}}dialog.invoice-editor[open]{width:min(1100px,100vw - 24px)!important}dialog.invoice-editor>.dialog-body{flex:1;min-height:0;overflow:auto!important}dialog.invoice-editor>.dialog-footer{flex:none!important;width:100%!important;margin:0!important;padding:12px 18px!important;position:static!important}dialog.invoice-editor th{top:0!important}.invoice-preview .invoice-grid th{position:static!important}.invoice-paper :is(th,td,p,span,strong,h1,h2,h3){color:#000!important}.invoice-editor .price-fields input{font-size:16px!important}.invoice-list th{top:0}@media (max-width:760px){dialog.invoice-editor>.invoice-selection-footer{grid-template-columns:120px minmax(0,1fr);display:grid!important}dialog.invoice-editor>.invoice-selection-footer>button:nth-child(2){grid-area:1/1/auto/-1;min-height:32px}dialog.invoice-editor>.invoice-selection-footer>button{white-space:normal;width:100%;min-width:0;margin:0!important}}
