:root{--ink:#12231c;--ink2:#1c3128;--paper:#f2f4f0;--white:#fff;--line:#d5ddd7;--muted:#68766e;--green:#16734a;--green2:#e3f3ea;--amber:#a35d00;--amber2:#fff0d6;--red:#b33e35;--red2:#fae8e6;--blue:#2d5fc7;--rail:232px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;letter-spacing:0}button,input,select,textarea{font:inherit;letter-spacing:0}button{color:inherit}a{color:inherit}svg{width:18px;height:18px;stroke-width:1.8}[hidden]{display:none!important}.truth-bar{min-height:38px;padding:7px 18px;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;color:#edf5f0;background:#0d1a15;font-size:.68rem}.truth-bar b{color:#b9f46a}.truth-bar span{text-align:center;color:#b7c5bc}.truth-bar a{text-underline-offset:3px}.rental-app{min-height:calc(100vh - 38px);display:grid;grid-template-columns:var(--rail) minmax(0,1fr)}.rail{min-height:calc(100vh - 38px);padding:20px 14px 14px;position:sticky;top:0;align-self:start;display:flex;flex-direction:column;color:#eff5f1;background:var(--ink);border-right:1px solid #33493e}.brand{padding:0 6px 20px;display:flex;gap:10px;align-items:center;text-decoration:none;border-bottom:1px solid #354b40}.brand>span{width:35px;height:35px;display:grid;place-items:center;color:var(--ink);background:#b9f46a;font:900 .68rem ui-monospace,monospace}.brand div{min-width:0;display:grid;gap:3px}.brand b{font-size:.82rem}.brand small{color:#a8b8ae;font-size:.61rem}.rail nav{padding:20px 0;display:grid;gap:4px}.rail nav button{min-height:42px;padding:0 10px;display:grid;grid-template-columns:22px 1fr;align-items:center;gap:8px;color:#b9c7be;background:transparent;border:1px solid transparent;border-radius:5px;text-align:left;font-size:.7rem;cursor:pointer}.rail nav button:hover{color:#fff;background:#1c3529}.rail nav button.active{color:#fff;background:#2a4739;border-color:#557061}.rail nav button.active svg{color:#b9f46a}.rail-note{margin-top:auto;padding:14px 7px 4px;border-top:1px solid #354b40}.rail-note b{color:#b9f46a;font:.66rem ui-monospace,monospace}.rail-note p{margin:7px 0 0;color:#9cafaa;font-size:.61rem;line-height:1.5}.workspace-head{min-height:92px;padding:17px 28px;position:sticky;top:0;z-index:40;display:flex;justify-content:space-between;align-items:center;gap:20px;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}.workspace-head p,.section-head p,.custody-head p,.dialog-head p{margin:0 0 5px;color:var(--green);font:800 .58rem ui-monospace,monospace}.workspace-head h1{margin:0;font-size:1.28rem}.head-actions{display:flex;gap:8px}.icon-button{width:40px;height:40px;padding:0;display:grid;place-items:center;background:#fff;border:1px solid #b8c4bc;border-radius:5px;cursor:pointer}.button{min-height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:5px;font-size:.7rem;font-weight:760;cursor:pointer}.button.solid{color:#fff;background:var(--green);border:1px solid var(--green)}.button.outline{background:#fff;border:1px solid #b8c4bc}.button.full{width:100%}.screen{padding:24px 28px 40px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line)}.metrics>div{min-height:112px;padding:18px 20px;display:grid;align-content:space-between;border-right:1px solid var(--line)}.metrics>div:last-child{border-right:0}.metrics span{color:var(--muted);font-size:.69rem}.metrics strong{margin:8px 0 4px;font-size:1.9rem;line-height:1}.metrics small{color:var(--muted);font-size:.6rem}.metrics .warn strong{color:var(--amber)}.metrics .profit strong{color:var(--green)}.command-grid{margin:16px 0;display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.surface{background:#fff;border:1px solid var(--line);border-radius:6px}.section-head{min-height:62px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.section-head h2{margin:0;font-size:.92rem}.section-head>span,.section-head>small{color:var(--muted);font-size:.61rem}.link-button{padding:4px 0;display:flex;align-items:center;gap:6px;color:var(--green);background:none;border:0;font-size:.66rem;font-weight:760;cursor:pointer}.live-item{min-height:68px;padding:12px 17px;display:grid;grid-template-columns:1fr 130px 90px;align-items:center;gap:12px;border-bottom:1px solid #e8ece9}.live-item:last-child{border-bottom:0}.live-item div{min-width:0;display:grid;gap:4px}.live-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.71rem}.live-item small,.live-item>span{color:var(--muted);font-size:.61rem}.readiness ol{margin:0;padding:7px 17px 12px;list-style:none}.readiness li{min-height:63px;display:grid;grid-template-columns:32px 1fr;align-items:center;gap:10px;border-bottom:1px solid #e8ece9}.readiness li:last-child{border-bottom:0}.readiness li>svg{padding:7px;width:30px;height:30px;color:var(--green);background:var(--green2);border-radius:5px}.readiness li div{display:grid;gap:4px}.readiness li b{font-size:.68rem}.readiness li small{color:var(--muted);font-size:.6rem}.exception-row{min-width:650px;min-height:52px;padding:0 17px;display:grid;grid-template-columns:120px 1fr 150px 90px;align-items:center;gap:12px;border-bottom:1px solid #e8ece9;font-size:.65rem}.exception-row:last-child{border-bottom:0}.exception-row span{color:var(--muted)}.exception-table{overflow-x:auto}.toolbar{margin-bottom:13px;display:flex;justify-content:space-between;gap:12px}.toolbar>label{width:min(430px,100%);height:40px;padding:0 11px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #b8c4bc;border-radius:5px}.toolbar input{min-width:0;width:100%;border:0;outline:0;font-size:.69rem}.segmented{padding:3px;display:flex;background:#e1e7e2;border-radius:5px}.segmented button{min-width:64px;border:0;border-radius:4px;background:transparent;font-size:.64rem;cursor:pointer}.segmented button.active{background:#fff;box-shadow:0 1px 3px #aab4ad;font-weight:760}.table-title{min-height:50px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:.71rem;font-weight:760}.table-scroll{overflow-x:auto}table{width:100%;min-width:850px;border-collapse:collapse}th,td{height:52px;padding:0 14px;border-bottom:1px solid #e7ebe8;text-align:left;white-space:nowrap;font-size:.66rem}th{height:40px;color:var(--muted);background:#f7f9f7;font-size:.58rem}tbody tr:last-child td{border-bottom:0}td strong{display:block}td small{margin-top:3px;display:block;color:var(--muted);font-size:.58rem}.status{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border-radius:4px;font-size:.58rem;font-weight:760}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status.available,.status.closed{color:var(--green);background:var(--green2)}.status.reserved,.status.warning{color:var(--amber);background:var(--amber2)}.status.rented,.status.active{color:var(--blue);background:#e6edfb}.status.blocked,.status.returning{color:var(--red);background:var(--red2)}.order-layout{min-height:650px;display:grid;grid-template-columns:290px 1fr;background:#fff;border:1px solid var(--line);border-radius:6px;overflow:hidden}.order-index{border-right:1px solid var(--line)}.order-index-head{height:55px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:.72rem;font-weight:760}.order-index-head button{width:31px;height:31px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:4px}.order-tab{width:100%;min-height:76px;padding:12px 14px;display:grid;gap:4px;text-align:left;background:#fff;border:0;border-bottom:1px solid #e5eae6;cursor:pointer}.order-tab.active{background:var(--green2);box-shadow:inset 3px 0 var(--green)}.order-tab b{font-size:.68rem}.order-tab span,.order-tab small{color:var(--muted);font-size:.59rem}.order-detail{padding:22px}.order-hero{padding-bottom:18px;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.order-hero h2{margin:5px 0;font-size:1.15rem}.order-hero p{margin:0;color:var(--muted);font-size:.65rem}.order-facts{display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid var(--line);border-top:1px solid var(--line)}.order-facts div{min-height:72px;padding:11px;display:grid;align-content:center;gap:4px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.order-facts span{color:var(--muted);font-size:.58rem}.order-facts b{font-size:.68rem}.order-assets{margin-top:18px}.order-assets h3{font-size:.75rem}.custody-head{padding:20px;display:flex;align-items:end;justify-content:space-between;gap:20px;color:#fff;background:var(--ink2);border-radius:6px 6px 0 0}.custody-head h2{margin:0 0 6px;font-size:1.05rem}.custody-head span{color:#afbeb5;font-size:.62rem}.custody-head select{min-width:260px;height:39px;padding:0 10px;color:#fff;background:#2d493c;border:1px solid #667c70;border-radius:4px}.stage-track{display:grid;grid-template-columns:repeat(7,1fr);background:#fff;border:1px solid var(--line)}.stage-node{min-height:78px;padding:12px;display:grid;align-content:center;gap:6px;border-right:1px solid var(--line)}.stage-node:last-child{border-right:0}.stage-node span{width:23px;height:23px;display:grid;place-items:center;color:var(--muted);background:#edf0ed;border-radius:50%;font-size:.58rem}.stage-node b{color:var(--muted);font-size:.61rem}.stage-node.done span,.stage-node.current span{color:#fff;background:var(--green)}.stage-node.done b,.stage-node.current b{color:var(--ink)}.stage-node.current{background:var(--green2)}.custody-workbench{margin-top:16px;display:grid;grid-template-columns:1.1fr .9fr;gap:16px}.stage-work,.evidence-ledger{min-height:410px;background:#fff;border:1px solid var(--line);border-radius:6px}.stage-content{padding:20px}.stage-content h2{margin:0 0 7px;font-size:1rem}.stage-content>p{margin:0 0 18px;color:var(--muted);font-size:.66rem}.check-list{display:grid;gap:9px}.check-list label{min-height:44px;padding:0 12px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:4px;font-size:.66rem}.stage-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stage-form label,dialog label{display:grid;gap:5px;color:var(--muted);font-size:.62rem}.stage-form input,.stage-form select,dialog input,dialog select,dialog textarea{width:100%;min-width:0;height:40px;padding:0 10px;border:1px solid #b8c4bc;border-radius:4px}.stage-form textarea,dialog textarea{height:auto;padding:9px 10px;resize:vertical}.stage-action{margin-top:18px}.ledger-item{min-height:58px;padding:11px 16px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:9px;border-bottom:1px solid #e7ebe8}.ledger-item>i,.ledger-item>svg{padding:6px;width:27px;height:27px;color:var(--green);background:var(--green2);border-radius:4px}.ledger-item div{display:grid;gap:4px}.ledger-item b{font-size:.66rem}.ledger-item small,.ledger-item>span{color:var(--muted);font-size:.58rem}.settlement-summary{margin-bottom:16px;display:grid;grid-template-columns:repeat(4,1fr);color:#fff;background:var(--ink2)}.settlement-summary div{min-height:115px;padding:18px;border-right:1px solid #496155}.settlement-summary p{margin:0;color:#b9f46a;font:.58rem ui-monospace,monospace}.settlement-summary strong{margin:15px 0 5px;display:block;font-size:1.55rem}.settlement-summary span{color:#b6c3bb;font-size:.61rem}dialog{width:min(620px,calc(100% - 28px));max-height:calc(100vh - 30px);padding:0;border:1px solid #98a69c;border-radius:7px}dialog::backdrop{background:rgba(9,20,14,.6)}dialog form{padding:0 22px 22px}.dialog-head{min-height:74px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.dialog-head h2{margin:0;font-size:1rem}.dialog-head button{width:38px;height:38px;display:grid;place-items:center;background:#fff;border:1px solid var(--line);border-radius:4px}.form-grid{margin:18px 0;display:grid;grid-template-columns:1fr 1fr;gap:11px}#trial-dialog form>label{margin-top:12px}.consent{grid-template-columns:18px 1fr!important;align-items:center}.consent input{width:16px!important;height:16px!important}.form-status{min-height:19px;margin:10px 0;color:var(--muted);font-size:.62rem}.form-status.error{color:var(--red)}.form-status.success{color:var(--green)}.toast{padding:11px 15px;position:fixed;z-index:100;right:18px;bottom:18px;color:#fff;background:var(--ink);border-radius:5px;font-size:.66rem}
@media(max-width:1050px){:root{--rail:205px}.screen{padding:20px}.workspace-head{padding:15px 20px}.command-grid,.custody-workbench{grid-template-columns:1fr}.stage-track{overflow-x:auto;grid-template-columns:repeat(7,150px)}.order-layout{grid-template-columns:240px 1fr}.settlement-summary{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.truth-bar{padding:8px 11px;grid-template-columns:1fr auto}.truth-bar span{display:none}.rental-app{display:block}.rail{min-height:0;padding:9px 11px 0;position:relative}.brand{padding:0 2px 9px;border-bottom:0}.rail nav{margin:0 -11px;padding:0 11px 8px;display:flex;gap:5px;overflow-x:auto}.rail nav button{min-width:max-content;height:37px;grid-template-columns:18px auto}.rail-note{display:none}.workspace-head{min-height:80px;padding:13px 14px;align-items:flex-end}.head-actions .button span{display:none}.head-actions .button{width:40px;padding:0}.screen{padding:14px 11px 28px}.metrics{grid-template-columns:1fr 1fr}.metrics>div{min-height:98px;padding:14px}.metrics>div:nth-child(2){border-right:0}.metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.toolbar{flex-direction:column}.segmented{overflow-x:auto}.segmented button{min-width:62px;height:34px}.order-layout{display:block}.order-index{border-right:0}.order-index #order-list{display:flex;overflow-x:auto}.order-tab{min-width:220px}.order-detail{padding:16px}.order-hero{flex-direction:column}.order-facts{grid-template-columns:1fr 1fr}.custody-head{align-items:start;flex-direction:column}.custody-head select{width:100%;min-width:0}.stage-track{grid-template-columns:repeat(7,135px)}.stage-form,.form-grid{grid-template-columns:1fr}.settlement-summary{grid-template-columns:1fr 1fr}.settlement-summary div{min-height:100px;padding:14px}.toast{left:11px;right:11px;bottom:11px}}
