:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#f3efe5;background:#0b1018}*{box-sizing:border-box}body{margin:0}.shell{display:flex;min-height:100vh}aside{width:252px;background:#101722;border-right:1px solid #28303b;display:flex;flex-direction:column;padding:26px 17px;flex-shrink:0}.brand{display:flex;align-items:center;gap:12px;font-weight:850;letter-spacing:2px;font-size:19px}.brand small{display:block;color:#b99c60;font-size:9px;letter-spacing:1.2px;margin-top:4px}.crest{color:#e0b55d;font-size:30px}.section,.eyebrow{font-size:10px;letter-spacing:2px;color:#b9a06a;font-weight:800}.section{margin:45px 10px 14px}nav{display:grid;gap:7px}nav button{border:0;background:transparent;color:#aeb8c8;padding:14px 16px;text-align:left;border-radius:9px;font:inherit;cursor:pointer}nav button:hover,nav button.active{background:#2a2c2b;color:#f3d18d}.asidefoot{margin-top:auto;color:#d7cba9;font-size:13px;padding:20px 10px}.asidefoot small{color:#7d8998}main{flex:1;min-width:0;padding:30px clamp(18px,4vw,55px)}header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}h1{font-size:30px;margin:8px 0 0}.user{display:flex;align-items:center;gap:12px;background:#1d2632;border:1px solid #35404b;border-radius:35px;padding:10px 16px;color:#e7bd6c;font-weight:700}.user span{color:white;font-size:12px}.user small{display:block;color:#98a5b4;font-weight:400}.notice{border:1px solid #5a4826;background:#241e15;color:#e5c98b;border-radius:10px;padding:12px 15px;font-size:12px;margin-bottom:25px}.hero{border:1px solid #594727;border-radius:16px;padding:30px;background:linear-gradient(115deg,#292519,#121e2d 70%);margin-bottom:23px}.hero h2{font-size:27px;margin:9px 0}.hero p{color:#aab5c4;max-width:700px;line-height:1.6}.gold{color:#e8c27c}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.card,.panel{background:#171f2b;border:1px solid #303c49;border-radius:13px;padding:20px}.card label{font-size:12px;color:#aab5c4}.metric{font-size:28px;font-weight:750;margin:12px 0 4px}.card small{color:#a9bdad}.panel h3{margin:0 0 18px;font-size:16px}.layout{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}.bars{height:180px;display:flex;align-items:end;gap:13px;border-bottom:1px solid #46505b;padding:0 8px}.bars div{background:linear-gradient(#e5bd6c,#7e633a);flex:1;border-radius:5px 5px 0 0}.barlabels{display:flex;justify-content:space-around;color:#aeb7c2;font-size:11px;margin-top:10px}.stages{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px;overflow-x:auto}.stage{background:#202a37;border-radius:10px;padding:13px;min-height:160px}.stage h4{font-size:12px;color:#f0c77a;margin:0 0 16px}.deal{background:#111924;border:1px solid #3a4858;border-radius:8px;padding:12px;font-size:12px;line-height:1.7}.deal strong{display:block}.muted{color:#9cabbc}.row{display:flex;justify-content:space-between;border-bottom:1px solid #35404d;padding:13px 0;gap:15px;font-size:13px}.row:last-child{border:0}.pill{color:#e6c786;background:#37301f;padding:4px 8px;border-radius:12px;font-size:11px}.empty{color:#b4becc;line-height:1.8}button:focus-visible{outline:2px solid #e8c27c;outline-offset:2px}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,1fr)}.layout{grid-template-columns:1fr}}@media(max-width:650px){.shell{display:block}aside{width:auto;padding:14px}.section,.asidefoot{display:none}nav{display:flex;overflow:auto;margin-top:14px}nav button{white-space:nowrap;padding:9px}main{padding:18px}h1{font-size:23px}.cards{grid-template-columns:1fr 1fr;gap:9px}.card{padding:13px}.metric{font-size:23px}.user{display:none}}
[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #566274;border-radius:8px;background:#243142;color:#f3efe5;padding:9px 13px}button:disabled{opacity:.55;cursor:wait}.primary{background:#d6b16a;color:#101722;border-color:#d6b16a;font-weight:750}label{display:grid;gap:7px;color:#cbd2dd;font-size:13px}input,select,textarea{width:100%;min-width:0;background:#0f1722;color:#f3efe5;border:1px solid #536173;border-radius:7px;padding:11px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #e8c27c;outline-offset:2px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:22px}.login-panel{width:min(100%,460px);padding:30px}.login-panel h1{margin-top:30px}.login-panel form,#fields{display:grid;gap:17px}.login-panel form{margin-top:24px}.login-panel p{line-height:1.6;font-size:13px}.account{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}.account span{font-size:12px;color:#c3cddb;overflow-wrap:anywhere}.toolbar{display:flex;gap:18px;align-items:end;flex-wrap:wrap;margin:0 0 20px}.toolbar>label:first-child{flex:1;min-width:180px}.check{display:flex;align-items:center;gap:9px;align-self:center}.check input{width:auto}.record{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #35404d;padding:18px 0}.record h4{margin:0 0 8px;font-size:16px;overflow-wrap:anywhere}.record p{margin:6px 0;color:#aab5c4;font-size:13px;overflow-wrap:anywhere}.record>div{min-width:0}.record>button{flex-shrink:0}.stages{grid-template-columns:repeat(6,minmax(220px,1fr));padding-bottom:12px}.stage h3{font-size:14px;color:#e8c27c}.deal{margin-bottom:12px;overflow-wrap:anywhere}.deal p{margin:9px 0}.deal button{width:100%;margin-top:12px}.deal select{padding:7px}.feedback{min-height:0;color:#c6d9c5}.feedback:empty{display:none}.error,#form-message{color:#edb5ab}.metric{font-size:clamp(20px,2.2vw,28px);overflow-wrap:anywhere}.row>span:last-child{text-align:right;overflow-wrap:anywhere;min-width:0}.row>span:first-child{flex-shrink:0}dialog{width:min(95vw,570px);max-height:90vh;overflow:auto;background:#171f2b;color:#f3efe5;border:1px solid #536173;border-radius:14px;padding:25px}dialog::backdrop{background:#05090ed9}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.muted{font-size:13px;line-height:1.6}@media(max-width:650px){header{align-items:flex-start;flex-direction:column}.account{justify-content:flex-start}.record{align-items:flex-start}.record>button{font-size:12px;padding:8px}.row{flex-wrap:wrap}.row>span:last-child{text-align:left}.toolbar>button{width:100%}.login-panel{padding:23px}.metric{font-size:21px}}
