:root{--bg:#f2f5f8;--paper:#ffffff;--ink:#15283b;--muted:#4f6071;--line:#d9e1e8;--green:#173e66;--gold:#e4bf68;--sidebar:#10253e}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.5 "DM Sans",system-ui,sans-serif}a{color:inherit}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px}aside{width:240px;position:fixed;inset:0 auto 0 0;background:var(--sidebar);color:#f1f3ed;display:flex;flex-direction:column;padding:28px 18px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:700;font-size:16px;margin:0 4px 38px}.brand small{display:block;letter-spacing:.23em;color:var(--gold);font-size:10px}.coin{display:block;flex:none;border-radius:50%}.avatar{display:grid;place-items:center;border-radius:50%;flex:none}.avatar{width:32px;height:32px;background:#e3ebf4;color:var(--green);letter-spacing:0}nav a{display:flex;align-items:center;gap:11px;color:#ced9e6;text-decoration:none;padding:11px 12px;border-radius:8px;margin:3px 0}nav a:hover,nav a.active{background:#243f60;color:#fff}nav a.active{box-shadow:inset 3px 0 #d3b36c}nav a span{width:18px;text-align:center;color:#ddc083}.nav-label,.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:750;text-transform:uppercase}.nav-label{color:#a9bbce;margin:20px 12px 6px}.sidefoot{margin-top:auto;padding:17px 10px 0;border-top:1px solid #334c68;color:#ced9e6;font-size:12px}.sidefoot i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#81c7a6;margin-right:6px}main{margin-left:240px}.top{height:67px;background:var(--paper);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;color:var(--muted);font-size:13px}.top b{padding:0 7px;color:#7a8998}.top-right{display:flex;align-items:center;gap:12px;font-size:10px;letter-spacing:.1em;font-weight:750}.page{max-width:1420px;margin:auto;padding:29px 34px 20px}.hero{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(113deg,#102b4a,#1a416c);color:#fff;border-radius:15px;padding:31px 32px;margin-bottom:20px}.hero::after{content:"";position:absolute;z-index:-1;width:330px;height:330px;right:-10px;top:-74px;border-radius:50%;border:1px solid #ffffff26;box-shadow:0 0 0 27px #ffffff0d,0 0 0 56px #ffffff0a,inset 0 0 0 24px #ffffff09,inset 0 0 0 51px #ffffff06}.hero .eyebrow{color:#f0cf80}.hero p{color:#e0eaf5;max-width:600px;margin:0 0 19px}.hero h1{font-size:clamp(35px,5vw,55px)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.15}h1,h2{font-family:Georgia,serif;font-weight:500}h1{font-size:clamp(31px,5vw,47px);margin:7px 0 10px}h2{font-size:27px;margin:0}h3{font-size:16px;margin-bottom:7px}.sub,.muted{color:var(--muted)}.sub{margin-bottom:20px}.grid{display:grid;gap:15px}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.box{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:17px;min-width:0}.metric{padding:14px 17px}.metric strong{display:block;font-size:23px;line-height:1.25}.metric span,.caption{color:var(--muted);font-size:12px}.section{margin-top:25px}.heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:var(--green);color:#fff;border:1px solid transparent;border-radius:7px;padding:8px 12px;cursor:pointer;text-decoration:none;font-size:13px;font-weight:650}.button:hover{filter:brightness(1.12)}.button.light{background:var(--paper);color:var(--green);border-color:#c9d6e3}.button.gold{background:var(--gold);color:#182a41}.badge{display:inline-block;padding:4px 8px;border-radius:5px;font-size:11px;font-weight:700;background:#e2f2eb;color:#1c563d}.legal{background:#f5ead3;color:#644818}.cardhead{display:flex;justify-content:space-between;gap:7px;align-items:flex-start}.project h3{margin-top:12px}.project p{margin-bottom:9px}.project .button{margin-top:10px}.accent{height:3px;width:35px;background:#a98848;margin-bottom:11px}.meter{height:6px;background:#e0e8ef;border-radius:8px;overflow:hidden;margin:5px 0}.meter span{display:block;height:100%;background:#28785a}.split{display:flex;justify-content:space-between;gap:8px}.row{padding:11px 0;border-bottom:1px solid var(--line)}.row:last-child{border:0}.row p{margin:3px 0}.row .badge{margin-top:5px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:630px;text-align:left}td,th{padding:11px;border-bottom:1px solid var(--line);vertical-align:top}thead th{background:#e7eef6}tbody th{width:18%}details{margin-top:10px}summary{cursor:pointer;font-weight:700}details .row label{display:flex;gap:9px;align-items:flex-start}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;flex:none}label.field{display:grid;gap:5px;font-weight:650;font-size:13px;margin-bottom:12px}input:not([type=checkbox]),select,textarea{width:100%;color:var(--ink);padding:8px 10px;border:1px solid #abbccc;border-radius:6px;background:#ffffff}textarea{min-height:78px;resize:vertical}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.library .box{display:flex;flex-direction:column;align-items:flex-start}.library .box p{flex:1}.template-body{white-space:pre-wrap;font-size:13px;margin:10px 0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.wide{grid-column:1/-1}footer{max-width:1420px;margin:auto;padding:14px 34px 22px;color:var(--muted);font-size:12px}#toast{position:fixed;bottom:15px;right:15px;background:#102b4a;color:white;border-radius:8px;padding:8px 13px;z-index:2}#toast:empty{display:none}@media(max-width:1050px){aside{width:195px}main{margin-left:195px}.page,.top,footer{padding-left:22px;padding-right:22px}.cardhead{flex-wrap:wrap}}@media(max-width:800px){aside{position:static;width:auto;padding:12px 16px}.brand{margin:0 0 8px}.sidefoot,.nav-label{display:none}nav{display:flex;flex-wrap:wrap;gap:3px}nav a{margin:0;padding:6px 8px;font-size:12px}main{margin:0}.top{height:48px}.hero{padding:22px}.page{padding-top:17px}}@media(max-width:570px){.three,.two{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.metric{padding:8px}.metric strong{font-size:16px}.fields{grid-template-columns:1fr}.top-right{display:none}.heading{align-items:flex-start}.page,.top,footer{padding-left:13px;padding-right:13px}.hero::after{right:-210px}}

.agent-card { display: flex; flex-direction: column; }
.agent-tasks { padding-left: 19px; margin: 0 0 13px; }
.agent-tasks li + li { margin-top: 8px; }
.agent-tasks .badge { margin-top: 3px; }
.agent-missing { margin: auto 0 13px; padding-top: 8px; }
.agent-brief { min-height: 240px; font: 14px/1.55 ui-monospace, monospace; }

.portfolio{grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr))}
