:root{--navy:#0b1f35;--ink:#0b1c30;--muted:#74777d;--green:#6fac32;--gold:#745b21}body{font-family:Lexend,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f8f9ff;color:var(--ink);font-size:14px;line-height:20px}*{box-sizing:border-box}button,a,input,select,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:6px;background:var(--navy);color:white;padding:9px 13px;display:inline-flex;align-items:center;gap:6px}button:disabled{opacity:.5;cursor:wait}.quiet,.secondary{background:#e5eeff;color:var(--ink)}.material-symbols-outlined{vertical-align:middle}.header-actions{display:flex;align-items:center;gap:18px}.global-search{display:flex;align-items:center;gap:10px;background:white;padding:5px 12px;border-radius:6px;width:42%;box-shadow:0 1px 3px #0b1f350b}.global-search input{border:0;width:100%;outline:0;padding:6px;background:transparent}.account{display:flex;gap:10px;align-items:center}.account strong{font-size:12px}.account small{display:block;color:var(--muted);font-size:11px}.avatar{display:inline-flex;width:32px;height:32px;border-radius:50%;align-items:center;justify-content:center;background:#e5eeff;color:white}.workspace-main{padding:94px 24px 40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.eyebrow{font-size:11px;color:#44474d;margin-bottom:8px}.eyebrow span{margin-left:12px;color:var(--muted)}.workspace-main h1{font-size:28px;line-height:36px;font-weight:600;color:var(--green);letter-spacing:-.02em;margin:0 0 7px}#subtitle{color:#44474d}#status{font-size:12px;color:var(--muted);margin:12px 0}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:20px 0}.metric,.panel{background:#fff;border-radius:8px;padding:20px;box-shadow:0 1px 3px #0b1f3512}.metric{position:relative;overflow:hidden;border-top:4px solid var(--gold)}.metric-head{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.metric-label{font-size:11px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:600}.metric-icon,.title-icon{font-size:22px!important;width:22px;height:22px;flex:0 0 22px;color:var(--gold)}.metric strong{display:block;font-size:32px;line-height:38px;letter-spacing:-.02em;font-weight:600;margin:16px 0 8px}.metric small{font-size:11px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px}.stack{display:flex;flex-direction:column;gap:20px} .panel h2{font-size:18px;line-height:24px;letter-spacing:-.01em;font-weight:600;margin:0 0 16px;display:flex;gap:8px;align-items:center}.panel h3{font-size:14px;font-weight:600;margin:12px 0}.panel-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.panel-top h2{margin:0}.panel p.hint,.empty{color:var(--muted);font-size:13px;line-height:1.7;padding:12px 0}.stage-grid{display:grid;grid-template-columns:repeat(5,minmax(115px,1fr));gap:8px;overflow:auto}.stage{padding:12px;background:#eff4ff;border-radius:6px}.stage label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;line-height:18px}.stage i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--gold)} .stage b{display:block;font-size:20px;line-height:26px;margin-top:6px}.pipeline-bar{display:flex;gap:2px;height:10px;border-radius:12px;overflow:hidden;margin-bottom:18px;background:#eff4ff}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f5;padding:14px 0}.row:last-child{border:0}.row strong{font-size:14px;line-height:20px;font-weight:600} .row p{color:var(--muted);font-size:13px;line-height:18px;margin:5px 0}.row .text{min-width:0;overflow-wrap:anywhere}.badge{display:inline-block;background:#eff4ff;color:var(--gold);font-size:11px;padding:4px 7px;border-radius:4px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:#eff4ff}td,th{padding:14px 12px;border-bottom:1px solid #edf0f5}td{font-size:13px;line-height:18px}td small{display:block;font-size:11px;line-height:14px;color:var(--muted);margin-top:4px}.person-cell strong{display:block;font-size:18px;line-height:24px;font-weight:600;letter-spacing:-.01em}.person-cell{display:flex;align-items:center;gap:10px;white-space:nowrap}.tabs{display:flex;gap:8px;margin-bottom:20px;flex-wrap:wrap}.tabs button.active{background:var(--navy);color:white}.tabs button{background:#eff4ff;color:var(--ink)}.muted{color:var(--muted);font-size:12px;line-height:1.6}dialog{border:0;border-radius:12px;width:min(850px,95vw);max-height:90vh;padding:32px;color:var(--ink);box-shadow:0 20px 90px #0003}dialog::backdrop{background:#0b1f3580}.close{float:right;background:#edf0f5;color:var(--ink);font-size:22px;padding:4px 12px}dialog h2{font-size:24px;font-weight:600}dialog .fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}dialog label{display:block;font-size:12px;margin-bottom:6px}dialog input,dialog select,dialog textarea{width:100%;padding:10px;border:1px solid #c8d2df;border-radius:6px;background:white;color:var(--ink)}dialog textarea{min-height:90px}.wide{grid-column:1/-1}dialog form{margin:24px 0}dialog form h3{border-top:1px solid #e4e9ef;padding-top:24px;font-weight:600;margin-bottom:14px}dialog form button{margin-top:16px}.history{padding:12px;border-left:3px solid var(--green);background:#f5f7fa;margin:10px 0;white-space:pre-wrap}.error{color:#a32929!important}[hidden]{display:none!important}.rcg-sidebar [data-path][aria-current=page]{background:#304c6b!important;color:white!important}.rcg-sidebar nav .material-symbols-outlined{font-size:22px!important;width:22px;flex-shrink:0}@media(max-width:1200px){.summary-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.account{display:none}}@media(max-width:800px){.rcg-sidebar{width:205px}.app-shell{padding-left:205px}.app-shell>header{left:205px}.header-actions{gap:5px}.global-search{width:48%}.workspace-main{padding:85px 15px 30px}.page-heading{align-items:flex-start}.workspace-main h1{font-size:24px;line-height:32px}.eyebrow span{display:block;margin:4px 0}.metric{padding:14px}}@media(max-width:600px){.rcg-sidebar{position:static;width:auto;height:auto;max-height:270px}.app-shell{padding-left:0}.app-shell>header{position:sticky;left:0;top:0;height:auto;min-height:64px}.workspace-main{padding-top:24px}.rcg-sidebar>div:last-child{display:none}.fields{grid-template-columns:1fr!important}.summary-grid{gap:10px}.wide{grid-column:auto}}
/* Mobile navigation must override the desktop utility classes. */
.mobile-menu-toggle{display:none}
@media(max-width:800px){
 body .app-shell{padding-left:0!important;min-width:0;width:100%}
 body .app-shell>header{left:0!important;position:sticky!important;top:0;height:auto!important;min-height:64px;padding:10px 14px;display:flex;flex-wrap:wrap;gap:10px;z-index:60}
 body .mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:#0b1f35;color:white;padding:10px 14px}
 body .rcg-sidebar{display:none!important;position:fixed!important;top:116px;bottom:0;left:0;width:min(320px,90vw)!important;height:auto!important;max-height:none!important;z-index:70;overflow-y:auto;overscroll-behavior:contain;box-shadow:12px 0 30px #0b1f3530;padding-bottom:env(safe-area-inset-bottom)}
 body.mobile-menu-open .rcg-sidebar{display:flex!important}
 body .rcg-sidebar>div:last-child{display:flex!important}
 body .rcg-sidebar a[data-path]{min-height:44px;padding:10px 14px;font-size:14px}
 body .global-search{order:3;width:100%;flex-basis:100%;min-width:0;height:42px}
 body .global-search input{font-size:16px;min-width:0}
 body .header-actions{margin-left:auto;gap:8px}
 body .header-actions button{min-height:44px;font-size:12px;padding:8px 10px;white-space:nowrap}
 body .header-actions .material-symbols-outlined{font-size:20px}
 body .workspace-main{padding:24px 16px 40px!important;width:100%;min-width:0}
 body .page-heading{display:block;margin-bottom:18px}
 body .page-heading>button{margin-top:16px;min-height:44px}
 body .workspace-main h1{font-size:26px;line-height:34px;overflow-wrap:anywhere}
 body #subtitle{font-size:14px;line-height:22px}
 body .dashboard-grid{display:flex;flex-direction:column;gap:16px}
 body .summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body .metric{padding:15px;min-width:0}
 body .metric-label{font-size:11px;line-height:16px;overflow-wrap:anywhere}
 body .metric strong{font-size:28px;line-height:34px;margin:12px 0 8px}
 body .metric small{display:block;line-height:17px}
 body .panel{padding:16px;min-width:0}
 body .panel h2{font-size:18px;line-height:25px;flex-wrap:wrap}
 body .panel-top{flex-wrap:wrap}
 body .stage-grid{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
 body .stage label{white-space:normal;font-size:12px}
 body .row{flex-wrap:wrap;align-items:flex-start}
 body .row .text{flex:1 1 180px}
 body .row button,body .tabs button{min-height:44px}
 body .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body table{min-width:600px}
 body .tabs{gap:8px}
 body dialog{width:calc(100% - 24px);max-height:85dvh;padding:20px;margin:auto}
 body dialog .fields{grid-template-columns:1fr!important}
 body dialog input,body dialog select,body dialog textarea{font-size:16px;min-height:44px}
 body dialog label{font-size:14px}
 body dialog .close{min-width:44px;min-height:44px}
}
@media(max-width:360px){body .summary-grid{grid-template-columns:1fr}body .header-actions button{font-size:11px}}
