@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}
