:root{color:#182235;background:#f4f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,a{font:inherit}button{border:0}a{color:#4657c9}.shell{max-width:1240px;margin:0 auto;padding:1.5rem 2rem 5rem}.topbar,.brand,.user-actions,.hero,.panel-heading,.card-top,.card-foot,.button-row,.subpanel-title,.nav-tabs{align-items:center;display:flex}.topbar{justify-content:space-between;gap:1rem}.brand{color:#202c47;font-weight:800;gap:.65rem;letter-spacing:-.02em}.brand small{color:#7b8496;display:block;font-size:.7rem;font-weight:600;letter-spacing:.02em;margin-top:.1rem}.brand-mark{align-items:center;background:#4657c9;border-radius:.75rem;color:#fff;display:inline-flex;font-size:.75rem;height:2rem;justify-content:center;width:2rem}.user-actions{flex-wrap:wrap;gap:.55rem;justify-content:flex-end}.user-name{color:#5f6b80;font-size:.85rem}.quiet-link{color:#4657c9;font-size:.85rem;font-weight:700;text-decoration:none}.role-pill,.count-badge{background:#e9ecff;border-radius:999px;color:#4657c9;font-size:.7rem;font-weight:800;padding:.32rem .55rem;text-transform:capitalize}.hero{justify-content:space-between;gap:2rem;padding:6rem 0 3.5rem}.eyebrow{color:#5b6ee1;font-size:.72rem;font-weight:800;letter-spacing:.13em;margin:0 0 .7rem;text-transform:uppercase}h1{font-size:clamp(2.8rem,7vw,5.8rem);letter-spacing:-.07em;line-height:.95;margin:0 0 1.1rem;max-width:740px}h2{font-size:1.35rem;letter-spacing:-.03em;margin:.15rem 0}h3{font-size:.95rem;margin:0}.lede{color:#657187;font-size:1.08rem;line-height:1.65;margin:0;max-width:42rem}.health-card{align-items:center;background:#fff;border:1px solid #e2e7f0;border-radius:1rem;box-shadow:0 16px 40px #33405b12;display:flex;gap:.75rem;min-width:150px;padding:1rem}.health-card small,.metric-card small,.detail-grid small{color:#7b8496;display:block;font-size:.72rem;font-weight:700;margin-bottom:.25rem}.health-card strong{display:block;font-size:.9rem;text-transform:capitalize}.status-dot{background:#e6a33f;border-radius:50%;height:.65rem;width:.65rem}.status-dot.ok{background:#25a36f}.status-dot.unavailable{background:#d9534f}.workspace{display:grid;gap:1rem}.nav-tabs{border-bottom:1px solid #dfe5ef;gap:.25rem;justify-content:flex-start;overflow-x:auto}.nav-tabs button,.filters button,.refresh-button{background:transparent;color:#68748a;cursor:pointer;font-size:.82rem;font-weight:800;padding:.7rem .8rem;white-space:nowrap}.nav-tabs button.selected{border-bottom:2px solid #4657c9;color:#4657c9}.nav-tabs .refresh-button{color:#4657c9;margin-left:auto}.nav-tabs button:disabled,button:disabled{cursor:wait;opacity:.55}.metric-row{display:grid;gap:.8rem;grid-template-columns:repeat(4,1fr)}.metric-card,.panel,.login-panel{background:#fff;border:1px solid #e2e7f0;border-radius:1rem;box-shadow:0 12px 32px #33405b0c}.metric-card{padding:1rem}.metric-card strong{display:block;font-size:1.55rem;letter-spacing:-.04em}.metric-card span{color:#8a93a3;display:block;font-size:.73rem;margin-top:.25rem}.panel{overflow:hidden;padding:1.25rem}.panel-heading{align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}.panel-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.65rem;justify-content:flex-end}.panel-heading p:not(.eyebrow){color:#69758a;margin:.45rem 0 0}.filters{display:flex;flex-wrap:wrap;gap:.25rem;justify-content:flex-end}.filters button{border:1px solid #e0e5ef;border-radius:.55rem;padding:.42rem .62rem}.filters button.selected{background:#4657c9;color:#fff}.project-grid{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.project-card{background:#fbfcfe;border:1px solid #e3e8f1;border-radius:.85rem;cursor:pointer;display:flex;flex-direction:column;gap:.7rem;padding:1rem;text-align:left;transition:border-color .15s,transform .15s,box-shadow .15s}.project-card:hover{border-color:#9ca8e8;box-shadow:0 8px 20px #4657c914;transform:translateY(-1px)}.project-card strong{color:#1f2a40;font-size:1rem}.project-card p{color:#69758a;font-size:.82rem;line-height:1.45;margin:0;min-height:2.35rem}.card-top,.card-foot{gap:.6rem;justify-content:space-between}.card-foot{color:#8490a3;font-size:.74rem;margin-top:auto}.progress{color:#4657c9;font-size:.75rem;font-weight:800}.status-badge{background:#eef1f6;border-radius:999px;color:#59667c;display:inline-flex;font-size:.68rem;font-weight:800;padding:.3rem .5rem;text-transform:capitalize}.status-badge.active,.status-badge.healthy,.status-badge.complete,.status-badge.paid,.status-badge.approved,.status-badge.fresh{background:#e3f6ed;color:#19784f}.status-badge.at-risk,.status-badge.high,.status-badge.critical,.status-badge.overdue,.status-badge.error{background:#ffebe9;color:#b43d38}.status-badge.waiting-client,.status-badge.waiting-agency-external,.status-badge.medium,.status-badge.stale-or-unknown,.status-badge.partial-unknown{background:#fff4da;color:#946c16}.status-badge.billable,.status-badge.ready-for-review{background:#e9ecff;color:#4657c9}.detail-panel{display:grid;gap:1.2rem}.financial-panel{display:grid;gap:1rem}.mini-metrics{display:grid;gap:.65rem;grid-template-columns:repeat(6,1fr)}.mini-metrics>div{background:#fff;border:1px solid #e5e9f1;border-radius:.6rem;padding:.7rem}.mini-metrics strong{display:block;font-size:.95rem}.detail-grid{display:grid;gap:.75rem;grid-template-columns:repeat(4,1fr)}.detail-grid>div{background:#f5f7fb;border-radius:.7rem;padding:.8rem}.detail-grid strong{display:block;font-size:1.25rem}.button-row{flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.primary-button,.ghost-button{border-radius:.6rem;cursor:pointer;display:inline-flex;font-size:.82rem;font-weight:800;justify-content:center;padding:.65rem .85rem;text-decoration:none}.primary-button{background:#4657c9;color:#fff}.ghost-button{background:#f3f5fa;color:#4657c9}.split-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.subpanel,.signal-card,.sheet-card{background:#f8f9fc;border:1px solid #e4e8f0;border-radius:.75rem;padding:1rem}.subpanel-title{justify-content:space-between;gap:.75rem}.subpanel p{line-height:1.5;margin:.6rem 0 0}.muted{color:#8490a3}.warning-text{color:#b43d38;font-size:.8rem}.table-wrap{overflow-x:auto}.table-wrap h3{margin:.25rem 0 .7rem}table{border-collapse:collapse;min-width:680px;width:100%}th,td{border-bottom:1px solid #edf0f5;padding:.78rem .55rem;text-align:left;vertical-align:middle}th{color:#7b8496;font-size:.7rem;letter-spacing:.05em;text-transform:uppercase}td{color:#4e5b70;font-size:.82rem}td:first-child{color:#1f2a40;font-weight:700}.action-cell{min-width:190px}.action-cell .inline-link{margin:.15rem .45rem .15rem 0}.table-wrap input{background:#fbfcfe;border:1px solid #dce2ec;border-radius:.45rem;color:#27334a;font:inherit;min-width:130px;padding:.48rem .55rem}.review-note{display:flex;margin-top:1rem}.review-note textarea{background:#fbfcfe;border:1px solid #dce2ec;border-radius:.55rem;color:#27334a;font:inherit;padding:.62rem .7rem;resize:vertical;width:100%}.sheet-grid{display:grid;gap:.8rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.sheet-card{display:flex;flex-direction:column;gap:.65rem}.sheet-card>span,.sheet-card p{color:#8490a3;font-size:.76rem;margin:0}.sheet-card strong{color:#1f2a40}.operations-grid{align-items:start}.signal-card+.signal-card,.queue-group+.queue-group{margin-top:.7rem}.signal-card ul,.queue-group ul{color:#5e6a7e;font-size:.8rem;line-height:1.6;margin:.7rem 0 0;padding-left:1.1rem}.signal-card li{margin:.3rem 0}.timeline{border-left:2px solid #e1e6f0;list-style:none;margin:.7rem 0 0;padding:0 0 0 1rem}.timeline li{padding:0 0 1rem;position:relative}.timeline li:before{background:#4657c9;border:3px solid #f4f7fb;border-radius:50%;content:"";height:.55rem;left:-1.35rem;position:absolute;top:.25rem;width:.55rem}.timeline li>div{display:flex;flex-direction:column;gap:.2rem}.timeline strong{color:#27334a;font-size:.82rem;font-weight:700}.timeline span,.timeline small,.approval-card small{color:#8490a3;font-size:.72rem}.approval-card{background:#f8f9fc;border:1px solid #e4e8f0;border-radius:.7rem;margin-top:.7rem;padding:.8rem}.approval-card p{color:#657187;font-size:.8rem;margin:.6rem 0}.queue-group{border-bottom:1px solid #e8ecf3;padding:.4rem 0 .8rem}.queue-group:last-child{border-bottom:0}code{color:#59667c;font-size:.72rem}.alert{border-radius:.7rem;font-size:.82rem;margin-bottom:.5rem;padding:.75rem 1rem}.alert.error{background:#ffebe9;color:#a13a35}.alert.success{background:#e3f6ed;color:#19784f}.empty{color:#8490a3;font-size:.85rem;padding:1.2rem 0}.login-panel{margin-top:2rem;padding:2rem;text-align:center}.login-panel p{color:#69758a;margin:.5rem auto 1.4rem}.modal-backdrop{align-items:flex-start;background:#18223599;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;overflow-y:auto;padding:3rem 1rem;position:fixed;z-index:10}.modal{background:#fff;border:1px solid #e2e7f0;border-radius:1rem;box-shadow:0 24px 80px #18223540;max-width:820px;padding:1.25rem;width:100%}.modal-small{max-width:620px}.modal .panel-heading{margin-bottom:1rem}.form-grid{display:grid;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr))}.field,.form-grid label{color:#536076;display:flex;flex-direction:column;font-size:.76rem;font-weight:800;gap:.35rem}.field-wide{grid-column:1 / -1}.form-grid input,.form-grid select,.form-grid textarea{background:#fbfcfe;border:1px solid #dce2ec;border-radius:.55rem;color:#27334a;font:inherit;font-weight:500;padding:.62rem .7rem;width:100%}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#7180db;box-shadow:0 0 0 3px #4657c91a;outline:none}.form-grid textarea{line-height:1.45;resize:vertical}.field-help{color:#8490a3;font-size:.7rem;font-weight:500}.inline-link{align-self:flex-start;background:transparent;color:#4657c9;cursor:pointer;font-size:.73rem;font-weight:800;padding:0}.modal-actions{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:flex-end;padding-top:.35rem}@media(max-width:1000px){.mini-metrics{grid-template-columns:repeat(3,1fr)}}@media(max-width:840px){.hero{align-items:flex-start;flex-direction:column;padding:4rem 0 2.5rem}.health-card{width:100%}.metric-row{grid-template-columns:repeat(2,1fr)}.panel-heading{align-items:flex-start;flex-direction:column}.panel-actions,.filters{justify-content:flex-start}.nav-tabs .refresh-button{margin-left:0}}@media(max-width:600px){.shell{padding:1rem 1rem 3rem}.topbar{align-items:flex-start;flex-direction:column}.user-actions{justify-content:flex-start}.hero{padding:3rem 0 2rem}h1{font-size:3.3rem}.metric-row,.detail-grid,.split-grid{grid-template-columns:1fr 1fr}.operations-grid{display:block}.operations-grid>.panel+.panel{margin-top:1rem}}@media(max-width:600px){.form-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}}
