.projectLedgerPage{min-height:100vh;color:var(--ink);background:#f4f6f5}.projectLedgerHeader{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:24px;padding:18px max(24px,50vw - 590px);display:flex}.projectLedgerHeader>a{color:var(--green);font-weight:900;text-decoration:none}.projectLedgerHeader nav{gap:18px;display:flex}.projectLedgerHeader nav a{color:var(--ink);font-size:14px;font-weight:700;text-decoration:none}.projectLedgerShell{max-width:1180px;margin:auto;padding:46px 24px 80px}.projectLedgerTitle{justify-content:space-between;align-items:end;gap:28px;display:flex}.projectLedgerTitle h1{margin:7px 0 8px;font:42px/1.25 Georgia,Yu Mincho,serif}.projectLedgerTitle>div>p:last-child{color:var(--muted);margin:0;font-size:15px}.projectCreate{gap:8px;display:flex}.projectCreate input,.projectCreate button,.projectSelector select{background:#fff;border:1px solid #bdc9c5;border-radius:5px;height:46px;padding:0 13px;font-size:15px}.projectCreate button{border-color:var(--green);background:var(--green);color:#fff;font-weight:800}.projectSelector{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:end;gap:20px;margin-top:30px;padding:19px 22px;display:flex}.projectSelector label span{color:var(--muted);margin-bottom:7px;font-size:12px;font-weight:800;display:block}.projectSelector select{min-width:290px;font-weight:800}.projectSelector>div{gap:8px;display:flex}.projectSelector a{color:var(--green);border:1px solid #aac0b9;border-radius:5px;padding:11px 13px;font-size:13px;font-weight:800;text-decoration:none}.printHeading{border-left:5px solid var(--green);background:#fff;justify-content:space-between;align-items:end;margin-top:28px;padding:20px 24px;display:flex}.printHeading span{color:var(--muted);font-size:12px;font-weight:800}.printHeading h2{margin:4px 0 0;font-size:24px}.printHeading p{color:var(--muted);margin:0;font-size:13px}.projectStats{background:#52635e;border-radius:7px;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:14px;display:grid;overflow:hidden}.projectStats article{color:#fff;background:#10221e;padding:20px}.projectStats span{color:#abb9b5;font-size:12px;font-weight:800;display:block}.projectStats strong{color:#78d7b4;margin-top:7px;font:25px Georgia,serif;display:block}.projectStats small{font:12px sans-serif}.projectStats .grand{border-top:3px solid var(--orange);padding-top:17px}.projectStats .grand strong{color:#fff}.projectLedgerTable{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:14px;overflow:hidden}.projectTableWrap{overflow-x:auto}.projectLedgerTable table{border-collapse:collapse;width:100%;min-width:1050px}.projectLedgerTable th{color:#4e5e59;text-align:left;background:#e7eeeb;padding:12px 10px;font-size:12px}.projectLedgerTable td{border-bottom:1px solid #e3e8e6;padding:10px;font-size:13px}.projectLedgerTable input{width:100%;min-width:100px;color:var(--ink);background:0 0;border:1px solid #0000;border-radius:4px;padding:8px;font-size:13px}.projectLedgerTable input:hover,.projectLedgerTable input:focus{background:#fff;border-color:#b8c8c3;outline:0}.projectLedgerTable input.number{text-align:right;min-width:80px}.projectLedgerTable .amount{white-space:nowrap;font-weight:900}.projectLedgerTable td button{color:#a24f35;background:0 0;border:0;font-size:20px}.category{white-space:nowrap;color:var(--green);background:#e8f1ee;border-radius:4px;padding:5px 7px;font-size:11px;font-weight:900;display:inline-block}.category.配管溶接{color:#a14e2d;background:#fff0e8}.category.鋼材{color:#285878;background:#eaf0f7}.projectLedgerTable tfoot td{text-align:right;background:#f6f8f7;border:0;font-weight:800}.projectLedgerTable tfoot .total td{color:#fff;background:#10221e;font-size:16px}.projectEmpty{text-align:center;padding:50px}.projectEmpty b{font-size:17px}.projectEmpty p{color:var(--muted);margin:8px 0 0;font-size:14px}.projectLedgerActions{justify-content:flex-end;gap:10px;margin-top:17px;display:flex}.projectLedgerActions button{color:var(--green);background:#fff;border:1px solid #a9beb7;border-radius:5px;padding:11px 15px;font-weight:800}.projectLedgerActions button.primary{background:var(--green);color:#fff}.projectLedgerActions button.danger{color:#9a482e;border-color:#dfc4bb;margin-right:auto}.projectLedgerActions button:disabled{cursor:not-allowed;opacity:.4}.projectLedgerNote{color:var(--muted);margin:16px 0 0;font-size:12px;line-height:1.7}@media (width<=760px){.projectLedgerHeader{flex-direction:column;align-items:flex-start}.projectLedgerHeader nav{white-space:nowrap;width:100%;overflow-x:auto}.projectLedgerShell{padding:32px 14px 60px}.projectLedgerTitle{flex-direction:column;align-items:stretch}.projectLedgerTitle h1{font-size:31px}.projectCreate{grid-template-columns:1fr auto;display:grid}.projectSelector{flex-direction:column;align-items:stretch}.projectSelector select{width:100%;min-width:0}.projectSelector>div{grid-template-columns:1fr 1fr;display:grid}.projectSelector a{text-align:center}.projectStats{grid-template-columns:1fr 1fr}.projectLedgerActions{grid-template-columns:1fr 1fr;display:grid}.projectLedgerActions button.danger{grid-column:1/-1;margin:0}.printHeading{flex-direction:column;align-items:flex-start;gap:8px}}@media print{@page{size:A4 landscape;margin:10mm}.noPrint,.legalNav{display:none!important}.projectLedgerPage{background:#fff}.projectLedgerShell{max-width:none;padding:0}.projectLedgerTitle{display:none}.printHeading{border:0;border-bottom:2px solid #222;margin:0;padding:0 0 10px}.projectStats{border:1px solid #555;grid-template-columns:repeat(4,1fr)}.projectStats article{padding:10px;color:#000!important;background:#fff!important}.projectStats span,.projectStats strong{color:#000!important}.projectLedgerTable{border-color:#555}.projectLedgerTable table{min-width:0}.projectLedgerTable th{color:#000;background:#ddd!important}.projectLedgerTable th,.projectLedgerTable td{border:1px solid #999;padding:6px;font-size:10px}.projectLedgerTable input{border:0;padding:0;font-size:10px}.category{padding:0;color:#000!important;background:0 0!important}.projectLedgerTable tfoot .total td{color:#000!important;background:#ddd!important}.projectLedgerNote{font-size:9px}}
