/* ATHRTY BLACKLINE / Authority Path. Scoped to the canonical product experience. */
#advisor.authority-diagnostic{max-width:1510px;margin:0 auto;padding:80px clamp(20px,5vw,76px) 68px}
.ap-shell{border:1px solid #40545d;border-radius:28px;background:linear-gradient(138deg,rgba(37,55,65,.89),rgba(12,20,26,.98) 48%,#0d1519);box-shadow:0 42px 100px #0007,0 1px 0 #9fc4d01a inset;overflow:hidden}
.ap-header{display:flex;justify-content:space-between;align-items:end;gap:32px;padding:clamp(25px,4vw,52px) clamp(22px,4vw,58px) 32px;border-bottom:1px solid #35454d}
.ap-eyebrow,.ap-section-kicker{font-size:10px;letter-spacing:.2em;font-weight:720;color:#b5cbd8}
.ap-head-copy h2{margin:15px 0 12px;line-height:1.02;letter-spacing:-.075em;font-size:clamp(44px,6vw,78px);font-weight:520}
.ap-head-copy p{font-size:14px;line-height:1.7;color:#bdcbd1;max-width:590px;margin:0}
.ap-head-aside{border-left:1px solid #4a6169;padding-left:23px;display:grid;gap:7px;min-width:220px}
.ap-head-aside strong{font-size:11px;letter-spacing:.13em}.ap-head-aside span{font-size:12px;color:#a4bbc3}
.ap-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:0 clamp(22px,4vw,58px);border-bottom:1px solid #35454d}
.ap-progress li{display:flex;align-items:center;gap:13px;padding:22px 8px;color:#839ba4;font-size:12px;letter-spacing:.025em;min-width:0}
.ap-progress li.current{color:#edf6f9}.ap-progress li.complete{color:#c3dce2}
.ap-progress-no{border:1px solid #4d646b;border-radius:100px;display:grid;place-items:center;min-width:34px;height:34px;font-size:10px;font-weight:780}
.ap-progress .current .ap-progress-no{background:#dce9ec;color:#0a1519;border-color:#dce9ec}
.ap-content{padding:clamp(25px,3.8vw,54px) clamp(22px,4vw,58px) 30px}
.ap-section-title{font-size:clamp(30px,4.8vw,52px);font-weight:520;letter-spacing:-.065em;line-height:1.1;margin:13px 0}
.ap-section-copy{color:#b6c7ce;font-size:14px;max-width:720px;line-height:1.75;margin:0 0 28px}
.ap-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ap-role,.ap-issue{text-align:left;border:1px solid #48606b;background:linear-gradient(150deg,#1b2a31,#101b20);color:#f0f6f8;border-radius:19px;min-width:0;cursor:pointer;transition:border-color .2s,transform .2s,background .2s;min-height:54px}
.ap-role{padding:26px 24px;display:flex;flex-direction:column;gap:15px;min-height:217px}
.ap-role:hover,.ap-issue:hover{transform:translateY(-2px);border-color:#9ab5c0}
.ap-role.is-selected,.ap-issue.is-selected{border-color:#c4d8df;background:linear-gradient(155deg,#314e5c,#192a32);box-shadow:inset 0 0 0 1px #b8d0da45}
.ap-role-index,.ap-issue-no{font-size:10px;letter-spacing:.17em;color:#b2d1dc;font-weight:690}
.ap-role strong{font-size:clamp(21px,2.6vw,30px);font-weight:570;letter-spacing:-.045em;margin-top:12px}
.ap-role small{color:#b8cbd2;font-size:12px;line-height:1.55}
.ap-issue-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-bottom:24px}
.ap-issue{padding:19px 22px;display:flex;align-items:center;gap:20px;font-size:14px;font-weight:550;line-height:1.5}
.ap-issue-no{border-right:1px solid #506771;padding-right:14px;align-self:stretch;display:flex;align-items:center}
.ap-qualify-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.ap-field{display:flex;flex-direction:column;gap:9px;color:#c6d6dc;font-size:12px}
.ap-field select{width:100%;color:#e8f1f4;background:#14232b;border:1px solid #627782;border-radius:13px;min-height:52px;padding:12px 16px;font:inherit;font-size:14px}
.ap-field select option{background:#14232b;color:white}
.ap-footer{border-top:1px solid #3b515a;padding:19px clamp(22px,4vw,58px) 25px;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.ap-status{font-size:11px;line-height:1.5;color:#a6bbc4;max-width:470px}
.ap-footer-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.ap-btn{border:1px solid #5e7882;border-radius:100px;min-height:48px;padding:12px 20px;font:inherit;font-size:12px;font-weight:670;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.ap-btn:hover{text-decoration:none}.ap-btn-primary{background:#e0ecef;border-color:#e0ecef;color:#0d1b21}.ap-btn-primary:hover{background:white;color:#0d1b21}
.ap-btn-quiet{color:#e1ebee;background:#1b2b32}.ap-btn-quiet:hover{background:#334b57}
.ap-btn:disabled{opacity:.43;cursor:not-allowed}
.ap-result-summary{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(240px,.8fr);gap:12px;margin-top:26px}
.ap-result-narrative,.ap-result-caution{padding:30px;border:1px solid #526a73;border-radius:18px;background:#16252c}
.ap-result-narrative h4{font-size:clamp(24px,3vw,36px);line-height:1.1;letter-spacing:-.055em;font-weight:540;margin:19px 0 14px}
.ap-result-narrative p,.ap-result-caution p{color:#b4c8d0;font-size:13px;line-height:1.75;margin:0}
.ap-result-caution{background:#0d1a20}.ap-result-caution>span{display:block;font-size:10px;letter-spacing:.15em;color:#a8bec8}
.ap-result-caution>strong{display:block;margin:12px 0;color:#edf4f5;font-size:19px;letter-spacing:.04em}
.ap-match-title{font-size:25px;font-weight:540;letter-spacing:-.04em;margin:40px 0 8px}
.ap-match-lede{font-size:12px;color:#afc2cb;margin:0 0 16px;line-height:1.65}
.ap-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ap-match-card{background:#101c22;border:1px solid #405762;border-radius:16px;padding:24px;display:flex;flex-direction:column;gap:11px;min-width:0}
.ap-match-index{font-size:9px;color:#b9d0d6;letter-spacing:.14em}
.ap-match-card h5{font-size:21px;line-height:1.14;letter-spacing:-.045em;font-weight:570;margin:12px 0 0}
.ap-match-card p{color:#abc0c8;line-height:1.6;font-size:12px;margin:0}
.ap-match-price{display:flex;gap:7px 12px;flex-wrap:wrap;color:#d8e7ec;font-size:12px;padding-top:15px;margin-top:auto;border-top:1px solid #3a5059}
.ap-match-price strong{font-weight:650}.ap-match-price span{color:#b5cbd3}
.ap-inline-link{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:44px;padding:11px 15px;background:#253b47;border:1px solid #6b8996;border-radius:100px;color:#edf7f8;font-size:12px;font-weight:650;margin-top:10px}
.ap-inline-link:hover{background:#405d69;text-decoration:none}
.ap-next-action{border-top:1px solid #344d56;margin-top:34px;padding-top:28px}
.ap-next-action h4{font-size:clamp(24px,3vw,34px);letter-spacing:-.055em;font-weight:550;margin:12px 0}
.ap-next-action p{color:#b8cbd1;font-size:13px;line-height:1.65;max-width:730px}
#advisor.authority-diagnostic .ap-btn:focus-visible,#advisor.authority-diagnostic button:focus-visible,#advisor.authority-diagnostic a:focus-visible{outline:2px solid #e0f2f6;outline-offset:4px}
.ap-triage-title{font-size:25px;font-weight:540;letter-spacing:-.04em;margin:36px 0 8px}
.ap-triage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:17px}
.ap-triage-item{min-width:0;border:1px solid #415862;background:linear-gradient(145deg,#132229,#0e191e);border-radius:17px;padding:24px}
.ap-triage-item h5{font-size:18px;letter-spacing:-.035em;line-height:1.22;font-weight:560;margin:18px 0 10px}
.ap-triage-item p{font-size:12px;line-height:1.7;color:#afc7d0;margin:0}
@media(max-width:920px){.ap-header{align-items:start}.ap-head-aside{min-width:155px}.ap-role{min-height:220px;padding:20px}.ap-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ap-triage-grid{grid-template-columns:1fr}#advisor.authority-diagnostic{padding:48px 15px}.ap-header{display:block}.ap-head-aside{border:0;border-top:1px solid #425960;padding:18px 0 0;margin-top:23px}.ap-progress{padding:0 16px}.ap-progress li{padding:17px 5px;flex-direction:column;text-align:center;gap:8px;font-size:10px}.ap-content{padding:28px 18px}.ap-role-grid,.ap-issue-grid,.ap-qualify-grid,.ap-match-grid,.ap-result-summary{grid-template-columns:1fr}.ap-role{min-height:130px;gap:8px}.ap-role strong{margin-top:2px}.ap-footer{padding:20px 18px}.ap-footer-actions{width:100%;justify-content:stretch}.ap-footer-actions .ap-btn{flex:1 1 auto}.ap-result-narrative,.ap-result-caution{padding:23px}}
@media(prefers-reduced-motion:reduce){.ap-role,.ap-issue{transition:none}.ap-role:hover,.ap-issue:hover{transform:none}}
/* X-AUTHORITY commercial journey: recurring value is described without assigning entitlements. */
.ap-member-value{margin-top:25px;border-top:1px solid #3e555f;padding-top:27px}
.ap-member-value h4{font-size:clamp(19px,2.2vw,27px);letter-spacing:-.045em;font-weight:550;line-height:1.18;margin:10px 0}
.ap-member-intro{color:#b8cbd1;font-size:13px;line-height:1.65;max-width:760px;margin:0 0 18px}
.ap-member-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ap-member-column{border:1px solid #445f6b;border-radius:18px;background:linear-gradient(155deg,#1a2b34,#101b22);padding:23px;display:grid;align-content:start;gap:12px}
.ap-member-type{font-size:10px;letter-spacing:.16em;color:#a9c6d1;font-weight:680}
.ap-member-column strong{font-size:18px;font-weight:560;letter-spacing:-.025em}
.ap-member-column p{font-size:12px;color:#b8cbd1;line-height:1.65;margin:0}
.ap-member-status{font-size:11px;color:#a6bdc5;line-height:1.6;margin:13px 0 0}
@media(max-width:700px){.ap-member-columns{grid-template-columns:1fr}.ap-member-column{padding:18px}}
/* BLACKLINE PASS 3 (light): .ap-shell is a fixed dark panel in both modes (the products page pattern: dark surface + light text). Its body text uses fixed light hexes and passes on the dark shell (#bdcbd1 11.1:1, #839ba4 6.3:1), but its headings carry NO color rule — they inherit the page ink, which pass 2 flipped to dark in light, producing dark-on-dark ("Find the problem.", "How do you work with ATHRTY?", membership card titles). Pin the uncolored headings inside the shell to the dark mode's own resolved value (#f0f1ed, the page --fg in dark; 16.3:1 on the shell) in light only. Colored strongs (.ap-result-caution>strong, .ap-match-price, .ap-role via its parent) are not targeted. Dark unchanged. */
:root[data-athrty-appearance="light"] .ap-head-copy h2,:root[data-athrty-appearance="light"] .ap-section-title,:root[data-athrty-appearance="light"] .ap-head-aside strong,:root[data-athrty-appearance="light"] .ap-member-value h4,:root[data-athrty-appearance="light"] .ap-member-column strong,:root[data-athrty-appearance="light"] .ap-result-narrative h4,:root[data-athrty-appearance="light"] .ap-match-title,:root[data-athrty-appearance="light"] .ap-match-card h5,:root[data-athrty-appearance="light"] .ap-triage-title,:root[data-athrty-appearance="light"] .ap-triage-item h5,:root[data-athrty-appearance="light"] .ap-next-action h4{color:#f0f1ed}