/* Phase 5: compliance / documents / registrations list pattern (no horizontal scroll at any width) */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.cx-top{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.cx-badge{font-size:11px;font-weight:700;border:1px solid var(--line);background:var(--paper-2);color:var(--ink-2);border-radius:99px;padding:3px 10px}
.cx-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin-bottom:12px}
.cx-tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--surface);cursor:pointer;text-align:left;color:var(--ink);font:inherit;transition:border-color .15s,box-shadow .15s}
.cx-tile b{font-size:24px;line-height:1.1;font-family:"Bricolage Grotesque","Public Sans",sans-serif}.cx-tile span{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.cx-tile:hover{border-color:var(--navy-300)}.cx-tile.on{border-color:var(--navy-700);background:var(--navy-50);box-shadow:inset 0 -3px 0 var(--accent)}
.cx-tile:focus-visible,.cx-chip:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.cx-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;justify-content:space-between;margin:4px 0 10px}
.cx-search{flex:1 1 240px;max-width:420px}.cx-search input{width:100%;box-sizing:border-box;padding:10px 12px;border:1.5px solid var(--line);border-radius:10px;font:inherit;font-size:14px;background:var(--surface);color:var(--ink)}
.cx-search input:focus{outline:none;border-color:var(--navy-700);box-shadow:0 0 0 3px rgba(var(--navy-700-rgb),.15)}
.cx-chips{display:flex;flex-wrap:wrap;gap:6px}.cx-chip{border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:99px;padding:6px 12px;font:600 12.5px inherit;cursor:pointer}.cx-chip.on{background:var(--navy-700);border-color:var(--navy-700);color:#fff}
.cx-legend{font-size:12.5px;color:var(--ink-2);flex:1 1 260px}.cx-legend summary{cursor:pointer;color:var(--navy-700);font-weight:600}.cx-legend ul{margin:8px 0 4px;padding-left:0;list-style:none;display:grid;gap:6px}.cx-legend p{margin:4px 0 0;color:var(--muted)}
.cx-group{margin:16px 0 8px}.cx-gh{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;border-bottom:2px solid var(--navy-700);padding-bottom:6px;margin-bottom:4px}
.cx-gh h3{margin:0;font-size:16px;color:var(--ink)}.cx-gh p{margin:0;font-size:12.5px;color:var(--muted)}
.cx-row{border-bottom:1px solid var(--line-2)}
.cx-sum{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.2fr) auto 16px;gap:10px 16px;align-items:start;padding:12px 4px;cursor:pointer;list-style:none;font-size:13.5px;line-height:1.45}
.cx-sum::-webkit-details-marker{display:none}
.cx-locked .cx-sum{cursor:default;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.2fr)}
.cx-title{font-weight:700;color:var(--ink);overflow-wrap:anywhere}.cx-freq{display:block;font-size:11.5px;font-weight:700;color:var(--brass-700);margin-top:2px}
.cx-when,.cx-applies{color:var(--ink-2);overflow-wrap:anywhere}
.cx-lab{display:block;font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:1px}
.cx-st{display:inline-block;font-size:10.5px;font-weight:800;border-radius:99px;padding:2px 8px;white-space:nowrap}
.cx-st-VP{background:var(--success-bg);color:var(--success)}.cx-st-VS{background:var(--navy-50);color:var(--navy-800)}.cx-st-UV{background:var(--warning-bg);color:var(--warning)}
.cx-chev{width:10px;height:10px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);margin-top:5px;transition:transform .15s}
details[open]>.cx-sum .cx-chev{transform:rotate(225deg);margin-top:9px}
.cx-sum:hover .cx-title{color:var(--navy-700)}.cx-sum:focus-visible{outline:3px solid var(--focus);outline-offset:-3px;border-radius:6px}
.cx-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;padding:4px 4px 14px;font-size:13px;color:var(--ink-2);overflow-wrap:anywhere}
.cx-body .cx-wide{grid-column:1/-1}.cx-body a{color:var(--navy-700);font-weight:600}
/* registrations: collapsible details */
.kb-more{margin:6px 0 2px}.kb-more summary{cursor:pointer;font-size:12.5px;font-weight:600;color:var(--navy-700)}.kb-more[open] summary{margin-bottom:4px}
.og{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))!important}
.kb-reg,.oc{min-width:0;overflow-wrap:anywhere}
#documents,#compliance,#rgOut{max-width:100%;overflow-x:hidden}
@media(max-width:760px){
 .cx-sum{grid-template-columns:minmax(0,1fr) auto 14px;gap:4px 10px}
 .cx-sum .cx-when{grid-column:1/2;grid-row:2}.cx-sum .cx-applies{display:none}
 .cx-sum .cx-st{grid-column:2;grid-row:1}.cx-sum .cx-chev{grid-column:3;grid-row:1}
 .cx-locked .cx-sum{grid-template-columns:1fr}
 .cx-body{grid-template-columns:1fr}
 .cx-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.cx-tile{padding:10px}.cx-tile b{font-size:20px}.cx-tile span{font-size:10.5px}
}
[data-theme="dark"] .cx-tile.on{background:#14293A;border-color:var(--navy-300)}[data-theme="dark"] .cx-chip.on{background:var(--navy-300);color:var(--navy-950);border-color:var(--navy-300)}
[data-theme="dark"] .cx-legend summary,[data-theme="dark"] .kb-more summary,[data-theme="dark"] .cx-body a{color:var(--navy-200)}
[data-theme="dark"] .cx-gh{border-bottom-color:var(--navy-300)}
@media print{.cx-row{break-inside:avoid}.cx-body{display:grid!important}}
#documents>.kb-facts,#documents>.cx-tools,#documents>.preview-count,#documents>.locked-premium,#documents>.empty-preview{grid-column:1/-1}
.cx-note{font-size:12.5px;color:var(--muted);margin:-4px 0 14px}
