/* 2026-10-11: retain the portal brand; repair reading and keyboard access. */
:focus-visible{outline:3px solid #ba145c!important;outline-offset:4px}
[id]{scroll-margin-top:100px}
#snap-banner,#snap-banner b,#snap-banner strong{color:#68223f!important}
body[data-repair-page="13"] .head p[style*="--warnbg"],body[data-repair-page="13"] .head p[style*="--warnbg"] *{color:#654800!important}
body[data-repair-page="14"] .tab.on,body[data-repair-page="14"] .tab.active{background:#ba145c!important;color:#fff!important}
body[data-repair-page="14"] .pill{color:#4f373d!important;background:#f7e5ec!important}
body[data-repair-page="35"] .card h3{color:#645b55!important}
body[data-repair-page="17"] p a,body[data-repair-page="18"] p a,body[data-repair-page="37"] p a,body[data-repair-page="37"] td a,body[data-repair-page="37"] .evidence-note a{text-decoration:underline;text-underline-offset:3px}
[role="dialog"][aria-hidden="true"]{visibility:hidden;pointer-events:none}
.repair-group-head{display:flex;align-items:center;gap:8px}
.repair-group-head>.grp-head{flex:1;min-width:0;text-align:left}
.repair-group-head>.grp-bar{flex:none;padding-right:8px}
.repair-group-head .txt-btn{min-height:38px}
.repair-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.repair-scroll:focus-visible{outline-offset:-3px}
.repair-table-toggle,.repair-menu-toggle,.repair-toc{display:none}
.repair-scroll-hint{font-size:13px;color:#645b55;margin:6px 0}
.repair-long-title{margin:0!important;font:inherit!important;color:inherit!important;display:inline!important}
.repair-long-section{border:0;margin:24px 0}
.repair-long-section>summary{font-weight:650;font-size:20px;line-height:1.5;cursor:pointer;padding:12px 0;color:inherit}
.repair-long-section>summary::marker{color:#ba145c}
.repair-session-exit{display:block;width:max-content;max-width:100%;margin:24px auto;padding:10px 16px;font-size:13px;color:#ba145c;background:#fff;border:1px solid #d5c7ce;border-radius:6px}
.repair-stock-link{display:inline-block;padding:10px 16px;margin:0;color:#fff!important;background:#ba145c;border-radius:6px;font-weight:650}
body[data-repair-page="08"] #stock{margin-bottom:28px}
body[data-repair-page="08"] #stock table{min-width:720px!important;table-layout:auto!important}
body[data-repair-page="08"] #stock th:nth-child(2),body[data-repair-page="08"] #stock td:nth-child(2){min-width:180px!important;max-width:300px;word-break:normal!important;overflow-wrap:break-word}
body[data-repair-page="08"] .repair-brand-note>summary{font-size:14px;cursor:pointer;padding:10px 0;font-weight:600}
@media(max-width:700px){
 .repair-table-toggle{display:block;min-height:44px;padding:9px 14px;border:1px solid #ba145c;border-radius:6px;background:#fff;color:#99134e;font:inherit;font-size:14px;margin:10px 0}
 table .repair-row-hidden{display:none!important}
 .repair-toc{display:block;margin:16px 0 24px;padding:12px 16px;border:1px solid #d5c7ce;border-radius:8px;background:#fff;color:#292727;font-size:14px}
 .repair-toc>summary{cursor:pointer;font-weight:650;min-height:28px}
 .repair-toc nav{display:grid;gap:0;margin-top:8px}
 .repair-toc a{padding:10px 0;color:#99134e;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
 .repair-toc a[aria-current="location"]{font-weight:750;color:#292727}
 .repair-menu-toggle{display:block;min-height:42px;padding:8px 14px;background:#fff;color:#99134e;border:1px solid #ba145c;border-radius:6px;font-size:14px;flex:none}
 .repair-nav-ready{position:relative}
 .repair-nav-ready .nav-actions:not(.repair-menu-open){display:none!important}
 .repair-nav-ready .nav-actions.repair-menu-open{display:flex!important;position:absolute;right:0;top:100%;padding:12px;flex-direction:column;align-items:stretch;gap:8px;background:#100b12;border:1px solid #674055;border-radius:8px;z-index:100;max-height:75vh;overflow:auto;min-width:200px}
 .repair-nav-ready .nav-actions.repair-menu-open a{min-height:42px;padding:10px;color:#f4e9ef;white-space:normal}
 .repair-long-section{margin:12px 0}
 .repair-long-section>summary{font-size:18px;border-bottom:1px solid #d5c7ce}
}
@media print{
 .repair-table-toggle,.repair-toc,.repair-menu-toggle,.repair-session-exit{display:none!important}
 table .repair-row-hidden{display:table-row!important}
 .repair-long-section>*{display:block!important}
}

/* Verified follow-up: visible labels, active tabs and text links. */
body[data-repair-page="08"] .repair-menu-toggle{color:#99134e!important}
body[data-repair-page="14"] .tab.active,body[data-repair-page="14"] .tab[aria-selected="true"],body[data-repair-page="14"] .tab.on{background:#ba145c!important}
body[data-repair-page="14"] .tab.active *,body[data-repair-page="14"] .tab[aria-selected="true"] *,body[data-repair-page="14"] .tab.on *{color:#fff!important}
body[data-repair-page="09"] .onink .cap,body[data-repair-page="09"] .onink .cap *{color:#e6dbe2!important}
body[data-repair-page="09"] .pane--light code{color:#99134e!important}
body[data-repair-page="17"] a,body[data-repair-page="18"] a{text-decoration:underline;text-underline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

body[data-repair-page="14"] .tab.on .n,body[data-repair-page="14"] .tab.active .n{opacity:1!important}
body[data-repair-page="02"] .agent-role,body[data-repair-page="02"] .agent-scope,body[data-repair-page="02"] .m-key,body[data-repair-page="02"] .agent summary{color:#514640!important}
body[data-repair-page="37"] a{text-decoration:underline;text-underline-offset:3px}
body[data-repair-page="28"] #yd-scope-tag{color:#ffb4c7!important}

body[data-repair-page="14"] .tab[aria-selected="true"] .n{opacity:1!important}
body[data-repair-page="28"] .pw-rc-can{color:#514640!important}
.repair-company-label{display:none}
@media(max-width:700px){body[data-repair-page="35"] #bar{display:none}.repair-company-label{display:grid;gap:8px;margin:18px 0;color:#514640;font-size:14px}.repair-company-label select{width:100%;min-height:44px;padding:8px;font:inherit;border:1px solid #b9aab1;border-radius:6px;background:#fff;color:#292727}}

/* Screenshot review: keep company names readable and the timestamp on one row. */
body[data-repair-page="35"] table{min-width:980px}
body[data-repair-page="35"] th:first-child,body[data-repair-page="35"] td:first-child{min-width:170px;max-width:240px;word-break:normal;overflow-wrap:break-word}
body[data-repair-page="15"] .facts>.rt-cap{grid-column:1 / -1;padding:12px 16px;width:100%}

body[data-repair-page="01"] h1.eyebrow{margin:0 0 16px;font-weight:600}
