/* Emily Admin overview. Robson Inc. design: navy header, orange marks admin. */
@font-face{font-family:'Inter';src:url('fonts/inter-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--navy:#1a365d;--navy-2:#2d5a87;--orange:#dd6b20;--orange-dark:#c05621;--orange-text:#9a3412;--teal:#319795;
--ground:#f7fafc;--card:#ffffff;--line:#e5e7eb;--soft:#f0f4f8;--ink:#111827;--body:#4b5563;--muted:#6b7280;--red:#991b1b;--red-bar:#c53030}
*{box-sizing:border-box}
body{margin:0;background:var(--ground);color:var(--body);font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.5}
a{color:var(--navy-2)}a:hover{color:var(--navy)}
.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:8px;background:#fff;padding:8px 12px;z-index:10}
.ah-wrap{max-width:1280px;margin:0 auto;padding-left:16px;padding-right:16px}
.ah-header{background:var(--navy);border-bottom:4px solid var(--orange)}
.ah-header-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding-top:12px;padding-bottom:12px}
.ah-brand{display:inline-flex;align-items:center;min-height:44px}.ah-brand img{height:28px;display:block}
.ah-product{color:#ffedd5;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;border-left:1px solid rgba(255,255,255,.2);padding-left:12px}
.ah-spacer{flex:1 1 auto}
.ah-who{color:#fff;font-size:14px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60vw}
.ah-pill{display:inline-flex;align-items:center;padding:4px 10px;border-radius:9999px;background:var(--orange-dark);color:#fff;font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.ah-main{padding-top:28px;padding-bottom:64px;display:flex;flex-direction:column;gap:20px}
.ah-title-row{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px}
.ah-title{display:flex;flex-direction:column;gap:6px}
.ah-eyebrow{margin:0;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--orange-text)}
h1{margin:0;font-size:34px;line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--navy)}
h2{margin:0;font-size:20px;font-weight:700;color:var(--navy)}
.ah-lede{margin:0;color:var(--body)}
.ah-title-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ah-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:9999px;background:#f3f4f6;color:#374151;font-size:12px;font-weight:600}
.ah-button{min-height:44px;padding:0 16px;border-radius:9999px;border:1px solid var(--line);background:#fff;color:var(--navy);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.ah-button:hover{border-color:var(--navy-2)}
.ah-tabs,.ah-work{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ah-tabs a{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:9999px;background:#fff;border:1px solid var(--line);color:var(--navy);font-size:14px;font-weight:600;text-decoration:none}
.ah-tabs a[aria-current="page"]{background:var(--orange-dark);border-color:var(--orange-dark);color:#fff;font-weight:700}
.ah-work{padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}
.ah-work-label{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin-right:4px}
.ah-work a{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 10px;font-size:14px;font-weight:600;text-decoration:none}
.ah-hint{font-weight:400;color:var(--muted);font-size:12px}
.ah-notice{margin:0;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:12px}
.ah-notice a{font-weight:600}
.ah-card{background:var(--card);border:1px solid var(--line);border-top:4px solid var(--orange);border-radius:12px;padding:20px;display:flex;flex-direction:column;gap:14px;min-width:0}
.ah-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.ah-kpi{gap:6px}
.ah-kpi-label{font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.ah-kpi-value{font-size:30px;line-height:1.1;font-weight:700;letter-spacing:-.02em;color:var(--navy)}
.ah-kpi-sub{font-size:13px;color:var(--body)}
.ah-attention{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.ah-att{text-decoration:none;background:var(--soft);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px;min-height:44px}
.ah-att-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:14px;font-weight:600;color:var(--ink)}
.ah-att-value{font-size:22px;font-weight:700;color:var(--navy)}
.ah-att-value.alert{color:var(--red)}
.ah-att-sub{font-size:13px;color:var(--body)}
.ah-two{display:flex;flex-wrap:wrap;gap:16px}
.ah-grow-wide{flex:1 1 520px}.ah-grow{flex:1 1 380px}
.ah-section-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.ah-link{font-size:14px;font-weight:600;min-height:44px;display:inline-flex;align-items:center}
.ah-chart{display:flex;align-items:flex-end;gap:8px;height:180px;padding-top:8px;border-bottom:1px solid var(--line)}
.ah-bar-col{flex:1 1 0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%;min-width:0}
.ah-bar-n{font-size:12px;font-weight:600;color:var(--navy)}
.ah-bar{width:100%;max-width:44px;background:var(--teal);border-radius:6px 6px 0 0;min-height:2px}
.ah-chart-labels{display:flex;gap:8px}
.ah-chart-labels span{flex:1 1 0;text-align:center;font-size:12px;color:var(--muted);min-width:0;overflow:hidden;white-space:nowrap}
.ah-top{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.ah-top li{display:flex;flex-direction:column;gap:6px}
.ah-top-row{display:flex;justify-content:space-between;gap:8px;align-items:center}
.ah-top-name{font-size:14px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ah-top-num{font-family:'Fira Code',ui-monospace,monospace;font-size:13px;color:#374151;white-space:nowrap}
.ah-track{height:8px;background:#f3f4f6;border-radius:9999px;overflow:hidden}
.ah-fill{height:100%;background:var(--navy-2);border-radius:9999px}
.ah-fill.high{background:var(--red-bar)}
.ah-small{margin:0;font-size:13px;color:var(--muted)}
.ah-small:empty{display:none}
@media (max-width:600px){h1{font-size:28px}.ah-card{padding:16px}.ah-kpi-value{font-size:26px}.ah-chart{gap:4px}.ah-chart-labels{gap:4px}.ah-chart-labels span{font-size:10px}}
.ah-range{display:flex;gap:6px;flex-wrap:wrap}
.ah-range button{min-height:44px;padding:0 14px;border-radius:9999px;border:1px solid var(--line);background:#fff;color:var(--navy);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.ah-range button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.ah-dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ah-dl div{background:var(--soft);border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:4px}
.ah-dl dt{font-size:13px;color:var(--body)}.ah-dl dd{margin:0;font-size:24px;font-weight:700;color:var(--navy)}
.ah-funnel{display:flex;flex-direction:column;gap:8px}
.ah-step{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr) minmax(0,170px);align-items:center;gap:12px}
.ah-step-label{font-size:14px;font-weight:600;color:var(--ink)}
.ah-step-track{height:32px;background:#f3f4f6;border-radius:8px;overflow:hidden}
.ah-step-fill{height:100%;min-width:36px;background:var(--navy);border-radius:8px;display:flex;align-items:center;padding-left:10px;color:#fff;font-size:13px;font-weight:700}
.ah-step-drop{font-size:13px;color:var(--muted)}.ah-step-drop.loss{color:var(--red)}
.ah-search{width:320px;max-width:100%}
.ah-search label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:6px}
.ah-search input{width:100%;min-height:44px;padding:0 14px;border:1px solid #d1d5db;border-radius:8px;font:inherit;font-size:14px;color:var(--ink);background:#fff}
.ah-table-wrap{overflow-x:auto;border:1px solid #f3f4f6;border-radius:12px}
.ah-table{width:100%;min-width:760px;border-collapse:collapse;font-size:14px}
.ah-table th{padding:12px 16px;background:#f9fafb;text-align:left;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.ah-table td{padding:12px 16px;border-top:1px solid #f3f4f6;color:#374151;vertical-align:top}
.ah-table .num{text-align:right;font-family:'Fira Code',ui-monospace,monospace;color:var(--ink)}
.ah-member{display:flex;flex-direction:column;gap:2px}.ah-member b{font-weight:600;color:var(--ink)}.ah-member span{font-size:13px;color:var(--muted)}
.ah-tag{display:inline-flex;align-items:center;padding:2px 8px;border-radius:9999px;font-size:12px;font-weight:600;background:#f3f4f6;color:#374151;white-space:nowrap}
.ah-tag.teal{background:#e6fffa;color:#234e52}.ah-tag.blue{background:#ebf8ff;color:#2a4365}.ah-tag.red{background:#fff5f5;color:#9b2c2c}
.ah-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
@media (max-width:600px){.ah-step{grid-template-columns:1fr}.ah-dl dd{font-size:20px}}
.ah-partners{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.ah-partner{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;background:var(--soft);border-radius:12px;padding:16px}
.ah-partner-info{display:flex;flex-direction:column;gap:2px;min-width:0}
.ah-partner-info b{font-size:18px;color:var(--navy)}.ah-partner-info span{font-size:14px;color:var(--body)}
.ah-partner-count{font-size:13px!important;color:var(--muted)!important}
.ah-open{background:var(--orange-dark);border-color:var(--orange-dark);color:#fff}.ah-open:hover{background:#9c4221;border-color:#9c4221}
.ah-dialog{width:min(1100px,calc(100vw - 32px));max-height:calc(100vh - 32px);padding:0;border:0;border-radius:16px;box-shadow:0 24px 64px rgba(15,23,42,.35);background:var(--ground);color:var(--body)}
.ah-dialog::backdrop{background:rgba(15,23,42,.55)}
.ah-dialog-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 20px;background:#fff;border-bottom:4px solid var(--orange)}
.ah-dialog-head h2{font-size:24px}
.ah-dialog-body{padding:20px;display:flex;flex-direction:column;gap:16px}
.ah-dialog-body #p-report{display:flex;flex-direction:column;gap:16px}
.ah-dialog-body #p-report[hidden]{display:none}
@media (max-width:600px){.ah-dialog{width:100vw;max-width:100vw;max-height:100vh;height:100vh;border-radius:0;margin:0}.ah-dialog-body{padding:14px}}
.ah-subnav{padding-top:20px}
.ah-footer{border-top:1px solid var(--line);background:#fff;margin-top:24px}
.ah-footer-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;padding-bottom:16px;font-size:13px;color:var(--muted)}
.ah-footer nav{display:flex;flex-wrap:wrap;gap:4px 16px}
.ah-footer a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:none}
.ah-linkbtn{appearance:none;background:none;border:0;padding:0;margin:0;min-height:32px;font:inherit;font-weight:600;color:var(--navy-2);text-align:left;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(45,90,135,.35);text-underline-offset:3px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ah-linkbtn:hover{color:var(--navy);text-decoration-color:var(--navy)}
.ah-linkbtn:focus-visible{outline:2px solid var(--orange);outline-offset:2px;border-radius:4px}
.ah-profile{width:min(1180px,calc(100vw - 32px))}
.ah-h3{margin:0;font-size:17px;font-weight:700;color:var(--navy)}
.ah-pbody{display:flex;flex-direction:column;gap:16px}
.ah-pgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:16px}
.ah-pchart{gap:10px}
.ah-svg{width:100%;height:170px;display:block;overflow:visible}
.ah-svg g:hover path,.ah-svg g:hover rect[fill]:not([fill="transparent"]){opacity:.8}
.ah-legend{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:#374151}
.ah-legend-item{display:inline-flex;align-items:center;gap:6px}
.ah-swatch{width:12px;height:12px;border-radius:3px;display:inline-block}
.ah-facts{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.ah-facts dd{font-size:16px}
.ah-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--navy-2)}
.ah-details .ah-table{min-width:640px}
.ah-demo{display:inline-flex;align-items:center;gap:8px;padding:4px 4px 4px 12px;border-radius:9999px;background:rgba(255,255,255,.12);color:#fff;font-size:13px;font-weight:600}
.ah-demo-label::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#68d391;margin-right:8px;vertical-align:middle}
.ah-demo.open{background:#c53030}
.ah-demo.open .ah-demo-label::before{background:#fff}
.ah-demo-btn{min-height:36px;padding:0 12px;border-radius:9999px;border:1px solid rgba(255,255,255,.5);background:transparent;color:#fff;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.ah-demo-btn:hover{background:rgba(255,255,255,.15)}
@media (max-width:600px){.ah-demo{order:5;width:100%;justify-content:space-between}}
.ah-busy{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(247,250,252,.82);backdrop-filter:blur(2px)}
.ah-busy[hidden]{display:none}
.ah-busy-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-top:4px solid var(--orange);border-radius:16px;box-shadow:0 20px 50px rgba(15,23,42,.18);padding:28px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px}
.ah-busy-title{margin:6px 0 0;font-size:20px;color:var(--navy)}
.ah-busy-text{margin:0;color:var(--body);font-size:14px}
.ah-busy-note{margin:4px 0 0;font-size:13px;font-weight:600;color:var(--orange-text)}
.ah-busy-anim{display:flex;align-items:flex-end;gap:6px;height:44px}
.ah-busy-anim span{width:10px;height:100%;border-radius:4px 4px 0 0;background:#2a78d6;transform-origin:bottom;animation:ah-grow 1.2s ease-in-out infinite}
.ah-busy-anim span:nth-child(2){animation-delay:.12s}.ah-busy-anim span:nth-child(3){animation-delay:.24s}.ah-busy-anim span:nth-child(4){animation-delay:.36s}.ah-busy-anim span:nth-child(5){animation-delay:.48s}
@keyframes ah-grow{0%,100%{transform:scaleY(.25)}50%{transform:scaleY(1)}}
@media (prefers-reduced-motion:reduce){.ah-busy-anim span{animation:none;transform:scaleY(.6)}}
/* time range: one row of buttons, the pressed one is current */
.ah-range-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.ah-range{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;background:#fff;border:1px solid var(--line);border-radius:9999px}
.ah-range button{min-height:40px;padding:0 16px;border:0;border-radius:9999px;background:transparent;color:var(--navy);font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.ah-range button:hover{background:var(--soft)}
.ah-range button[aria-pressed="true"]{background:var(--navy);color:#fff}
.ah-range button:focus-visible{outline:2px solid var(--navy-2);outline-offset:2px}
.ah-range-note{font-size:13px;color:var(--muted)}
.ah-stale{opacity:.45;transition:opacity .15s}
@media (max-width:560px){.ah-range{border-radius:14px}.ah-range button{padding:0 12px}}
