.studio-page{max-width:1380px;margin:36px auto;padding:0 24px;color:#eaf5fc;font-family:Arial,sans-serif}.studio-page h1{font-size:38px;margin:8px 0}.studio-kicker{color:#4be0ee;font-size:12px;font-weight:bold;letter-spacing:2px}.studio-muted{color:#a5bed1;line-height:1.6}.studio-grid{display:grid;grid-template-columns:290px minmax(0,1fr);gap:22px;margin:24px 0}.studio-panel,.studio-post{border:1px solid #294655;background:#10212e;border-radius:14px;padding:22px;margin-bottom:18px}.studio-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}.studio-page label,.studio-dialog label{display:grid;gap:7px;margin:10px 0;color:#b7d0e0;font-size:14px}.studio-page input,.studio-page select,.studio-page textarea,.studio-dialog input,.studio-dialog select{background:#0a1925;border:1px solid #395465;border-radius:8px;padding:12px;color:#f0f7fb;width:100%;box-sizing:border-box;min-width:0;font:inherit}.studio-page textarea{resize:vertical;min-height:90px}.studio-page button,.studio-dialog button,.studio-page .studio-link{padding:11px 16px;border:1px solid #365564;background:#183140;color:#eaf8fc;border-radius:8px;cursor:pointer;font:inherit}.studio-page button.primary,.studio-dialog button.primary{background:#4adae6;color:#08212d;font-weight:bold}.studio-page button:disabled,.studio-dialog button:disabled{opacity:.5;cursor:wait}.studio-page button:focus-visible,.studio-dialog button:focus-visible{outline:3px solid #58e0ed;outline-offset:3px}.studio-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.studio-drafts button,.studio-search-results button{display:block;width:100%;text-align:left;margin:8px 0}.studio-drafts small,.studio-search-results small{display:block;color:#a5bed1;margin-top:5px}.studio-leg{padding:18px;border:1px solid #35505e;border-radius:10px;margin:14px 0;background:#0a1a26}.studio-post-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.studio-post-head h3{margin:8px 0}.studio-post-leg{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0;border-top:1px solid #294655}.studio-post-leg span{display:block;color:#aec5d6;font-size:13px;margin-top:5px}.studio-post-leg p{grid-column:1/-1;margin:0;white-space:pre-wrap}.studio-more{color:#64e69a}.studio-less{color:#ff8585}.studio-post small{color:#9eb7c8;line-height:1.6}.studio-copy{white-space:pre-wrap;line-height:1.6}.studio-dialog{max-width:760px;width:calc(100% - 44px);max-height:85vh;overflow:auto;box-sizing:border-box;background:#10212e;color:#eaf5fc;border:1px solid #4c7687;border-radius:14px;padding:24px;font:16px/1.5 Arial,sans-serif}.studio-dialog::backdrop{background:#000b}.studio-dialog a,.studio-page a{color:#5edbe8}.studio-metrics{display:flex;gap:20px;flex-wrap:wrap;padding:14px 0}.studio-metrics span{display:block;color:#a4bccd;font-size:13px}.studio-status{min-height:24px;line-height:1.6;color:#aee8e9}.studio-error{color:#ffabab}.studio-page [hidden],.studio-dialog [hidden]{display:none!important}.studio-page .studio-danger{color:#ffaaaa}.studio-sidebar{align-self:start}.studio-published{max-width:1380px;margin:24px auto}.studio-published .studio-post{color:#eaf5fc}.studio-post-head>strong{color:#62d9e6}
@media(max-width:750px){.studio-grid{grid-template-columns:1fr}.studio-page{padding:0 14px;margin-top:24px}.studio-page h1{font-size:30px}.studio-panel,.studio-post{padding:16px}.studio-post-leg{grid-template-columns:1fr}.studio-controls{grid-template-columns:1fr}.studio-dialog{padding:18px}.studio-post-head{align-items:flex-start}.studio-actions button{flex-grow:1}}

.settlement-summary{padding:18px;margin:18px 0;border:1px solid #28566a;border-radius:12px;background:#081c2a}.settlement-summary p{margin:8px 0}.settlement-audit{margin:18px 0}.settlement-audit summary{cursor:pointer;color:#67dfeb;font-weight:800}.settlement-row{padding:14px 0;border-bottom:1px solid #294250;overflow-wrap:anywhere}.settlement-row strong,.settlement-row span{display:block}.settlement-row p{margin:6px 0}.settlement-row small{color:#a6bdcb}.settlement-audit form{max-width:740px}.settlement-audit select{max-width:100%}
