/* SPDX-License-Identifier: GPL-2.0-or-later */
.regulatory-app{--rg-surface:var(--color-home-surface,#f2f5fb);--rg-blue:var(--color-primary,#2d4281);--rg-orange:var(--color-action,#fcb13f);padding-bottom:3rem;min-width:0;font-size:1rem;line-height:1.6}
.regulatory-app [hidden]{display:none!important}
.regulatory-app *{box-sizing:border-box}
.regulatory-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:2rem;margin-bottom:1.25rem}
.regulatory-heading>div{min-width:0;max-width:58rem}
.regulatory-app h1{font-size:clamp(1.85rem,3.2vw,2.65rem);line-height:1.18;letter-spacing:-.025em;margin:0 0 1rem;color:var(--rg-blue)}
.regulatory-heading p{margin:0;max-width:70ch;font-size:1.125rem;line-height:1.65}
.regulatory-heading .rg-edition{flex:none;font-size:.8125rem;line-height:1.6;display:grid;gap:.15rem;max-width:14rem;padding-top:.25rem;color:var(--color-muted,#667085)}
.rg-edition strong{font-size:.875rem;color:var(--rg-blue);overflow-wrap:anywhere}
.rg-context{margin:0 0 2rem;font-size:.875rem;color:var(--color-muted,#667085);max-width:100ch}
.rg-context a{color:var(--rg-blue);text-underline-offset:3px}
.rg-tabs{display:flex;gap:.5rem;flex-wrap:wrap;padding:0;margin-bottom:2rem}
.regulatory-app button,.regulatory-app input,.regulatory-app select{font:inherit}
.regulatory-app button{cursor:pointer;text-decoration:none;box-shadow:none}
.regulatory-app button:disabled{cursor:wait;opacity:.6;transform:none}
.regulatory-app button:focus-visible,.regulatory-app a:focus-visible{outline:2px solid var(--rg-orange);outline-offset:3px}
.rg-tabs>button,.rg-segmented>button{border:0;background:transparent;color:var(--rg-blue);font-weight:600;min-height:52px;padding:.7rem 1.15rem;border-radius:2rem;white-space:nowrap}
.rg-tabs>button[aria-selected=true],.rg-segmented>button[aria-pressed=true]{background:var(--rg-orange)}
.rg-tabs>button:not([aria-selected=true]):hover,.rg-segmented>button:not([aria-pressed=true]):hover{background:var(--rg-surface)}
.rg-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;align-items:start}
.rg-workspace>*,.rg-profile-grid>*,.rg-profile-taxonomy>*{min-width:0}
.rg-filter-panel{background:var(--rg-surface);border-radius:1rem;padding:1.25rem}
.rg-filters>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-weight:700;color:var(--rg-blue);font-size:1.0625rem;cursor:pointer;min-height:44px}
.rg-filters>summary::-webkit-details-marker{display:none}
.regulatory-app :is(button,a,summary,.rg-detail-empty)>svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rg-filters[open]>summary svg{display:none}
.rg-filters form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:1rem;padding-top:0}
.rg-filters form>label:first-child{grid-column:span 2}
.rg-filter-actions{display:flex;align-items:center;justify-content:flex-start;gap:1.25rem;grid-column:1/-1;min-height:52px}
.regulatory-app label{display:grid;gap:.45rem;color:var(--rg-blue);font-size:.875rem;font-weight:600;min-width:0}
.regulatory-app label>input:not([type=checkbox]):not([type=file]),.regulatory-app label>select{width:100%;min-width:0;min-height:52px;padding:.65rem .9rem;border-radius:2rem;border:1px solid var(--color-border,#b7c3dd);background:#fff;color:var(--rg-blue);font-weight:400;font-size:1rem}
.regulatory-app input::placeholder{color:var(--color-muted,#667085);opacity:1}
.regulatory-app label>.selection-picker{width:100%;min-width:0}
.regulatory-app .selection-picker-trigger{font-size:.9375rem;min-height:52px}
.regulatory-app input:focus{box-shadow:none;background:#fff}
.rg-button{display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:52px;padding:.7rem 1.25rem;background:#fff;color:var(--rg-blue);font-weight:600;border:1px solid var(--color-border,#b7c3dd);border-radius:2rem;line-height:1.35;text-decoration:none;transition:transform 160ms ease-out}
.rg-button.rg-primary{background:var(--rg-orange);border-color:transparent}
.rg-button:hover{color:var(--rg-blue);transform:scale(1.02)}
.rg-text-button{display:inline-flex;align-items:center;gap:.5rem;justify-content:center;min-height:44px;padding:.5rem .25rem;border:0;background:transparent;color:var(--rg-blue);font-weight:600;text-decoration:none}
.rg-text-button:hover{color:var(--rg-blue);text-decoration:none}
.rg-map-panel{min-width:0;background:#fff}
.rg-map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap}
.rg-map-toolbar>p{margin:0;color:var(--color-muted,#667085);font-size:.875rem;font-variant-numeric:tabular-nums}
.rg-segmented{display:flex;gap:.15rem;background:var(--rg-surface);border-radius:2rem;padding:.2rem}
.rg-segmented>button{min-height:44px;padding:.5rem .8rem;font-size:.875rem}
.rg-map-hint{font-size:.8125rem;line-height:1.6;color:var(--color-muted,#667085);margin:1rem 0 .75rem}
.rg-canvas-wrap{position:relative;border-radius:1rem;overflow:hidden;background:var(--rg-surface)}
.rg-canvas{height:clamp(680px,72vh,760px);min-width:0;width:100%;background:linear-gradient(#fff,var(--rg-surface))}
.rg-canvas svg{width:auto;height:auto;stroke:none;stroke-width:0}
.rg-map-tools{position:absolute;right:12px;bottom:12px;display:flex;gap:4px;padding:4px;background:#fff;border-radius:2rem;box-shadow:0 4px 12px rgb(16 41 78 / .1)}
.rg-map-tools>button{display:grid;place-items:center;width:44px;height:44px;border:0;background:transparent;border-radius:50%;color:var(--rg-blue)}
.rg-map-tools>button:hover{background:var(--rg-surface)}
.rg-legend{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;font-size:.75rem;line-height:1.5;color:var(--color-muted,#667085);padding:1rem 0}
.rg-legend>span{display:inline-flex;align-items:center;gap:.4rem}
.rg-dot{width:9px;height:9px;border-radius:50%;display:inline-block;background:var(--rg-blue)}
.rg-dot-standard{background:var(--rg-orange);border-radius:2px;transform:rotate(45deg)}
.rg-dot-process{background:#7497dc}
.rg-legend-edge::before{content:"";display:inline-block;width:22px;height:0;border-top:1px solid #667ca5}
.rg-legend-edge.rg-dashed::before{border-top-style:dashed}
.rg-export-row{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;font-size:.875rem}
.rg-export-row>details{position:relative}
.rg-export-row summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.5rem;min-height:44px;color:var(--rg-blue);font-weight:600}
.rg-export-row summary::-webkit-details-marker{display:none}
.rg-export-row details>div{position:absolute;top:100%;left:0;display:flex;gap:.25rem;padding:.5rem;z-index:2;background:#fff;border-radius:.75rem;box-shadow:0 8px 24px rgb(16 41 78 / .14)}
.rg-export-row details button{min-height:44px;min-width:48px;border:0;border-radius:.5rem;background:var(--rg-surface);color:var(--rg-blue)}
.rg-detail{background:var(--rg-surface);border-radius:1rem;padding:1.5rem;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:7 3 3;scroll-margin-top:calc(var(--sticky-header-height,140px) + 20px)}
.rg-detail :is(h2,h3,h4,h5){text-wrap:pretty;overflow-wrap:break-word;word-break:normal;-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:7 3 3}
.rg-detail a{hyphens:none;overflow-wrap:anywhere}
.rg-detail h2{font-size:1.375rem;line-height:1.35;margin:.5rem 0 .85rem;color:var(--rg-blue)}
.rg-detail h3{font-size:1rem;line-height:1.4;margin:1.75rem 0 .65rem;color:var(--rg-blue)}
.rg-detail p{font-size:.9375rem;line-height:1.7;margin:.85rem 0}
.rg-detail-title>span{font-size:.75rem;color:var(--color-muted,#667085)}
.rg-detail-title .rg-status{font-size:.75rem;color:var(--rg-blue)}
.rg-detail-empty{padding:.5rem 0;max-width:65ch}
.rg-detail>p{max-width:95ch}
.rg-detail>dl:not(.rg-temporal){display:flex;flex-wrap:wrap;gap:1rem 3rem}
.rg-detail>dl:not(.rg-temporal)>div{margin:0;min-width:140px}
.regulatory-app .rg-detail-empty>svg{width:64px;height:64px;color:#7497dc;margin-bottom:1rem}
.regulatory-app dl{margin:1rem 0}
.regulatory-app dl>div{display:grid;gap:.1rem;margin:.85rem 0}
.regulatory-app dt{font-size:.75rem;color:var(--color-muted,#667085)}
.regulatory-app dd{margin:0;font-size:.875rem;color:var(--rg-blue)}
.rg-status{display:inline-block;border-radius:1rem;background:#e4eaf6;padding:.3rem .65rem;color:var(--rg-blue);font-size:.8125rem;line-height:1.5;font-weight:600}
.rg-status-applicable{background:#e1f0e7;color:#24543a}
.rg-status-conditional{background:#fff0d9;color:#754610}
.rg-status-undetermined,.rg-status-unknown{background:#e7ebf4}
.rg-status-not_applicable{background:#f2f3f6;color:#525a69}
.rg-status-voluntary{background:#fff0d9;color:#754610}
.rg-small{font-size:.8125rem!important;color:var(--color-muted,#667085);line-height:1.65}
.rg-detail-sources{padding:0;list-style:none;display:grid;gap:.75rem;font-size:.875rem}
.rg-detail .rg-temporal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}
.rg-detail .rg-temporal>div{min-width:0;margin:0}
.rg-temporal dd{min-width:0;overflow-wrap:anywhere}
.rg-temporal time{font-weight:600;font-variant-numeric:tabular-nums}
.rg-detail .rg-temporal .rg-small{margin:.35rem 0 0}
.rg-provisions,.rg-provision{min-width:0;max-width:100%}
.rg-provision+.rg-provision{margin-top:1.75rem}
.rg-detail .rg-provision h4{font-size:.9375rem;line-height:1.5;font-weight:700;color:var(--rg-blue);margin:1rem 0 .5rem}
.rg-detail .rg-provision h5{font-size:.875rem;line-height:1.5;font-weight:600;color:var(--rg-blue);margin:1.25rem 0 .5rem}
.rg-detail .rg-provision>p{margin:.5rem 0}
.rg-provision>.rg-detail-sources{display:block;margin:.65rem 0;line-height:1.65}
.rg-provision>ul{display:grid;grid-template-columns:minmax(0,1fr);gap:.8rem;list-style:none;padding:0;margin:.75rem 0 0}
.rg-provision>ul>li{min-width:0;font-size:.875rem;line-height:1.6}
.rg-provision>ul>li>a{font-weight:600}
.rg-detail .rg-provision li>p{margin:.25rem 0 0}
.rg-detail :is(.rg-temporal,.rg-provisions) a{max-width:100%;overflow-wrap:anywhere;text-underline-offset:3px}
.rg-map-reset{margin-top:1rem}
.rg-map-reset>.rg-button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
.regulatory-app a>svg{width:16px;height:16px;display:inline-block;vertical-align:middle;margin-left:.3rem}
.rg-node-link{border:0;background:transparent;color:var(--rg-blue);padding:.35rem 0;text-align:left;font-weight:600;min-height:44px;max-width:100%;line-height:1.45}
.rg-node-link:hover{color:var(--rg-blue);text-decoration:underline;text-underline-offset:3px}
.rg-table-scroll{overflow-x:auto;max-width:100%;min-width:0;border-radius:.75rem;}
.regulatory-app table{border-collapse:collapse;min-width:540px;width:100%;font-size:.875rem;line-height:1.6}
.regulatory-app table caption{text-align:left;color:var(--color-muted,#667085);font-size:.8125rem;padding:.75rem 0;caption-side:bottom}
.regulatory-app th,.regulatory-app td{padding:1rem;text-align:left;vertical-align:top;border:0}
.regulatory-app thead{background:#e6ebf5;color:var(--rg-blue)}
.regulatory-app tbody tr:nth-child(even){background:var(--rg-surface)}
.regulatory-app tbody th{font-weight:600;min-width:160px}
.regulatory-app td{min-width:130px;overflow-wrap:anywhere}
.regulatory-app td p{margin:0 0 .5rem}
.regulatory-app td small{font-size:.75rem;line-height:1.5;display:block;color:var(--color-muted,#667085)}
.regulatory-app td details{margin-top:.75rem}
.regulatory-app td summary{cursor:pointer;color:var(--rg-blue)}
.regulatory-app td ul{padding-left:1.25rem;font-size:.8125rem}
.rg-section-heading{max-width:75ch;margin:0 0 1.75rem}
.rg-section-heading h2{font-size:1.875rem;line-height:1.25;letter-spacing:-.02em;color:var(--rg-blue);margin:0 0 .85rem}
.rg-section-heading p{margin:0;line-height:1.75}
.rg-demo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:2rem}
.rg-demo{border:0;border-radius:1rem;background:var(--rg-surface);color:var(--rg-blue);padding:1.25rem;text-align:left;display:grid;gap:.65rem}
.rg-demo strong{font-size:1.0625rem;line-height:1.4}
.rg-demo span{font-size:.875rem;line-height:1.6;color:var(--color-text,#393a3d)}
.rg-demo[aria-pressed=true]{background:#fff0d9}
.rg-demo:hover{background:#e8edf7}
.rg-profile{padding:2rem;background:var(--rg-surface);border-radius:1rem;margin-bottom:3rem}
.regulatory-app fieldset{border:0;min-width:0;padding:0;margin:0}
.regulatory-app legend{font-weight:700;font-size:1.0625rem;color:var(--rg-blue);margin-bottom:1.25rem;padding:0}
.rg-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.rg-profile-taxonomy{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:2rem}
.rg-checkbox-options{display:grid;gap:.5rem;max-height:20rem;overflow-y:auto;overscroll-behavior:contain;}
.rg-checkbox-options>label{display:flex;align-items:flex-start;gap:.65rem;font-size:.875rem;line-height:1.55;font-weight:400;min-height:44px;padding:.4rem .25rem .4rem 0}
.rg-checkbox-options input[type=checkbox]{flex:none;margin-top:.1rem}
.rg-profile-controls{margin-top:2rem}
.rg-profile-controls>summary{font-size:1.0625rem;line-height:1.5;color:var(--rg-blue);font-weight:600;cursor:pointer;padding:.5rem 0;min-height:44px}
.rg-profile-controls>p{font-size:.875rem;margin:.75rem 0}
.rg-profile-controls>.rg-checkbox-options{grid-template-columns:repeat(3,minmax(0,1fr));max-height:none}
.rg-profile-controls>fieldset{margin-top:1.5rem}
.rg-profile-controls .rg-inventory-known{display:flex;align-items:flex-start;gap:.75rem;line-height:1.6;min-height:44px;font-weight:400;margin:1rem 0}
.rg-inventory-known input{flex:none;margin-top:.15rem}
.rg-profile-controls fieldset:disabled{opacity:.5}
.rg-profile .rg-small{margin-top:1.5rem;max-width:90ch}
.rg-profile-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.25rem}
.rg-import-label{position:relative;display:inline-flex!important;overflow:hidden;font-size:1rem!important}
.rg-import-label input{position:absolute;inset:0;opacity:0;cursor:pointer}
.rg-import-label:focus-within{outline:2px solid var(--rg-orange);outline-offset:3px}
.rg-result-heading{max-width:none}
.rg-result-summary{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin-top:1.5rem;align-items:center}
.rg-result-summary>span{display:flex;align-items:center;gap:.5rem}
.rg-result-map{margin:2rem 0}
.rg-result-map h3,.rg-impact-chains h3,.rg-coverage h3{color:var(--rg-blue);font-size:1.5rem;line-height:1.4;margin:0 0 1rem}
.rg-impact-canvas{height:clamp(460px,65svh,680px);background:var(--rg-surface);border-radius:1rem;overflow:hidden}
.rg-impact-canvas svg{stroke:none;stroke-width:0;width:auto;height:auto}
.rg-result-map details{margin-top:1rem}
.rg-result-map summary{cursor:pointer;color:var(--rg-blue);min-height:44px}
.rg-applicability-list{list-style:none;display:flex;flex-wrap:wrap;gap:.65rem;padding:1rem;background:var(--rg-surface);border-radius:1rem}
.rg-applicability-list>li{display:flex;align-items:center;gap:.5rem;background:#fff;padding:.6rem .9rem;border-radius:.65rem;flex-wrap:wrap}
.rg-applicability-list button{color:var(--rg-blue);border:0;background:transparent;text-align:left;min-height:44px;font-size:.875rem}
.rg-applicability-list .rg-status{font-size:.7rem}
.rg-impact-chains,.rg-coverage{margin:3rem 0}
.rg-impact-chains>ol{list-style:none;display:flex;flex-wrap:wrap;align-items:stretch;gap:1.25rem;padding:0;margin:1.5rem 0}
.rg-impact-chains li{position:relative;flex:1 1 150px;min-width:0;padding:1rem;background:var(--rg-surface);border-radius:.75rem}
.rg-impact-chains li:not(:last-child)::after{content:"";position:absolute;width:1rem;height:0;border:solid #7497dc;border-width:1.5px 0 0;right:-1.15rem;top:50%}
.rg-impact-chains li:not(:last-child)::before{content:"";position:absolute;width:.4rem;height:.4rem;border:solid #7497dc;border-width:1.5px 1.5px 0 0;transform:rotate(45deg);right:-1.1rem;top:calc(50% - .2rem)}
.rg-impact-chains li.rg-chain-editorial:not(:last-child)::after{border-style:dashed}
.rg-impact-chains li>span{display:block;font-size:.75rem;color:var(--color-muted,#667085)}
.rg-impact-chains li>.rg-node-link{font-size:.875rem}
.rg-coverage>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.rg-coverage article{padding:1.25rem;background:var(--rg-surface);border-radius:.75rem;min-width:0}
.rg-coverage h4{font-size:1rem;line-height:1.5;margin:0 0 .75rem;color:var(--rg-blue)}
.rg-coverage article p{font-size:.875rem;margin:.75rem 0 0}
.rg-change-form{display:flex;align-items:flex-end;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}
.rg-change-form>label{min-width:200px}
.rg-change,.rg-empty{padding:1.5rem;background:var(--rg-surface);border-radius:1rem;margin-bottom:1rem}
.rg-change h3,.rg-empty h3{color:var(--rg-blue);font-size:1.2rem;line-height:1.4;margin:0 0 .75rem}
.rg-change>.rg-status{margin-bottom:1rem}
.rg-change details{margin-top:1.25rem}
.rg-change summary{color:var(--rg-blue);cursor:pointer;min-height:44px}
.rg-version-comparison{display:flex;gap:1.5rem 3rem;flex-wrap:wrap}
.rg-change p,.rg-empty p{margin:.75rem 0 0}
.rg-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.rg-source-list>article{background:var(--rg-surface);border-radius:1rem;padding:1.5rem;overflow-wrap:anywhere}
.rg-source-list h3{font-size:1.125rem;line-height:1.5;margin:0 0 .75rem}
.rg-source-list p{font-size:.875rem;margin:.5rem 0}
.rg-source-list dl{display:flex;gap:1.5rem;flex-wrap:wrap;margin:.75rem 0}
.rg-source-list dl>div{margin:0}
.rg-method-copy{max-width:75ch}
.rg-method-copy h3{font-size:1.35rem;color:var(--rg-blue);line-height:1.4;margin:2rem 0 .75rem}
.rg-method-copy p{font-size:1.0625rem;line-height:1.8;margin:0}
.rg-search-dock{display:flow-root;min-block-size:3.75rem}
@media(width>48rem){.regulatory-heading .rg-edition{inline-size:14rem}}
.rg-edition>span:last-child{min-block-size:1.6em}
.rg-status-line{min-block-size:1.6em;margin-block:-.5rem .75rem}
.rg-loading{margin:0;color:var(--color-muted,#667085)}
.rg-map-toolbar>p{min-block-size:1.6em}
.regulatory-app:not([data-rg-drawn]) .rg-legend,
.regulatory-app:not([data-rg-drawn]) .rg-export-row,
.regulatory-app:not([data-rg-drawn]) .rg-map-reset{visibility:hidden}
.regulatory-app:not([data-rg-drawn]) .rg-map-panel{min-block-size:clamp(680px,72vh,760px)}
@media(max-width:48rem){.regulatory-app:not([data-rg-drawn]) .rg-map-panel{min-block-size:460px}}
@media(max-width:25rem){.rg-edition>span:last-child{flex-basis:100%}}
.rg-error{background:#fff0d9;color:#754610;padding:1.25rem 1.5rem;border-radius:1rem;margin-bottom:1.5rem}
.rg-error p{margin:0 0 .75rem}
@media(max-width:84rem){.rg-detail{padding:1.5rem}.rg-map-toolbar{align-items:flex-start}}
@media(max-width:74rem){.rg-filters form{grid-template-columns:repeat(4,minmax(0,1fr))}.rg-filter-actions{grid-column:1/-1}.rg-detail{grid-column:1/-1}.rg-detail-empty{padding:0}.rg-detail dl{display:flex;gap:1rem 2rem;flex-wrap:wrap}.rg-detail dl>div{margin:0;min-width:140px}.rg-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:48rem){
 .regulatory-heading{display:block}.regulatory-heading .rg-edition{margin-top:1.25rem;max-width:none;display:flex;flex-wrap:wrap;gap:.2rem .75rem}.regulatory-heading p{font-size:1rem}.rg-context{font-size:.8125rem;margin-bottom:1.5rem}
 .rg-tabs{max-width:100%;padding:.25rem 0 .5rem;gap:.25rem;margin-bottom:1.25rem}.rg-tabs>button{max-width:100%;font-size:.9375rem;padding:.6rem .85rem;white-space:normal;overflow-wrap:anywhere}
 .rg-workspace{grid-template-columns:minmax(0,1fr)}.rg-filter-panel{padding:1rem 1.25rem}.rg-filters form{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-detail .rg-temporal{grid-template-columns:minmax(0,1fr)}.rg-detail{grid-column:auto}.rg-canvas{height:clamp(460px,65svh,560px)}.rg-map-toolbar{gap:.5rem}.rg-segmented{width:100%;justify-content:space-between}.rg-segmented>button{flex:1;padding:.5rem .65rem}.rg-map-hint{margin:.5rem 0 .75rem}
 .rg-demo-row{grid-template-columns:minmax(0,1fr);gap:.75rem}.rg-demo{padding:1.1rem 1.25rem;gap:.35rem}.rg-profile{padding:1.25rem}.rg-profile-taxonomy{grid-template-columns:minmax(0,1fr);gap:1.25rem}.rg-profile-taxonomy legend{margin-bottom:.5rem}.rg-checkbox-options{max-height:15rem;grid-template-columns:repeat(2,minmax(0,1fr))}.rg-profile-controls>.rg-checkbox-options{grid-template-columns:repeat(2,minmax(0,1fr))}.rg-profile-controls fieldset .rg-checkbox-options{grid-template-columns:minmax(0,1fr);max-height:none}.rg-profile-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .rg-section-heading h2{font-size:1.6rem}.rg-detail .rg-small{max-width:65ch}.rg-coverage>div{grid-template-columns:minmax(0,1fr)}.rg-impact-chains>ol{flex-direction:column;gap:.8rem}.rg-impact-chains li{flex:auto}.rg-impact-chains li:not(:last-child)::after{right:50%;top:auto;bottom:-.6rem;transform:rotate(135deg);width:.5rem;height:.5rem}.rg-source-list{grid-template-columns:minmax(0,1fr)}.rg-change-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.rg-change-form>label{min-width:0}.rg-change-form>button{grid-column:1/-1}.rg-result-summary{gap:.75rem}.rg-result-summary .rg-status{font-size:.75rem}
}
@media(max-width:25rem){.rg-filters form,.rg-profile-grid{grid-template-columns:minmax(0,1fr)}.rg-filters form>label:first-child{grid-column:auto}.rg-filter-actions{flex-wrap:wrap;justify-content:flex-start;gap:.5rem 1rem}.rg-checkbox-options,.rg-profile-controls>.rg-checkbox-options{grid-template-columns:minmax(0,1fr)}.rg-canvas{height:460px}.rg-detail{padding:1.25rem}.rg-edition>span:last-child{flex-basis:100%}.rg-map-toolbar>p{font-size:.8125rem}}
@media(max-width:48rem){
 .rg-impact-chains li:not(:last-child)::after{width:0;height:.6rem;right:50%;top:auto;bottom:-.7rem;transform:none;border-width:0 0 0 1.5px}
 .rg-impact-chains li:not(:last-child)::before{width:.35rem;height:.35rem;right:calc(50% - .18rem);top:auto;bottom:-.7rem;transform:rotate(135deg)}
 .rg-profile-actions>*{min-width:0;max-width:100%;width:100%}
}
@media(prefers-reduced-motion:reduce){.regulatory-app *{scroll-behavior:auto!important;transition:none!important}}
@media print{.rg-filter-panel,.rg-tabs,.rg-export-row,.rg-map-reset,.rg-profile-actions{display:none!important}.rg-workspace{display:block}.rg-canvas{height:450px}.rg-detail{break-inside:avoid}.regulatory-app table{font-size:9pt}.regulatory-app td,.regulatory-app th{padding:6pt}}

/* Deliberate map interaction: scrolling remains page scrolling; zoom has bounded steps. */
.rg-canvas,.rg-impact-canvas,.rg-canvas svg,.rg-impact-canvas svg{touch-action:pan-y}
.rg-canvas.rg-pan-active,.rg-impact-canvas.rg-pan-active,.rg-pan-active svg{touch-action:none;cursor:grab}
.rg-map-tools>button[aria-pressed=true]{background:var(--rg-surface)}
.rg-map-tools>button:disabled{cursor:default;opacity:.35}
.rg-map-tools output{display:grid;place-items:center;min-width:40px;font-size:.75rem;line-height:1;font-variant-numeric:tabular-nums;color:var(--color-muted,#667085)}
.rg-selection{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem 0;font-size:.875rem;color:var(--rg-blue)}
.rg-selection>span{font-weight:600;min-width:0;overflow-wrap:anywhere}
.rg-selection .rg-text-button{flex:none;font-size:.8125rem}
.rg-export-row [data-rg-share]{gap:.65rem;padding-inline:.75rem;border-radius:2rem}
@media(hover:hover) and (pointer:fine){.rg-export-row [data-rg-share]:hover{background:var(--rg-surface)}}
@media(max-width:74rem){.rg-selection:not([hidden]){display:flex}}

.rg-canvas.rg-is-panning,.rg-impact-canvas.rg-is-panning,.rg-is-panning svg{cursor:grabbing;user-select:none}

/* Quiet entry points and explicit standard-family context share existing controls. */
.rg-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .85rem;margin-top:1rem}
.rg-shortcuts>span{font-size:.8125rem;color:var(--color-muted,#667085)}
.rg-shortcuts>.rg-text-button{padding:.35rem 0;justify-content:flex-start;font-size:.875rem;text-align:start}
.rg-detail-full-title{font-weight:600;color:var(--rg-blue)}
.rg-framework>ul{list-style:none;padding:0;margin:.75rem 0 1.25rem;display:grid;gap:.75rem}
.rg-framework>ul>li{padding:.85rem;background:#fff;border-radius:.75rem;min-width:0}
.rg-framework .rg-node-link{font-weight:600;line-height:1.5;text-align:start;white-space:normal}
.rg-framework .rg-small{margin:.3rem 0 .45rem}
.rg-framework>ul>li>a{font-size:.8125rem;display:inline-flex;align-items:center;gap:.3rem}
.rg-framework>ul>li>a>svg{width:16px;height:16px}
.rg-framework-current>.rg-node-link{font-weight:700}
.rg-framework>.rg-button{width:100%;white-space:normal;font-size:.875rem}
/* Make source-attributed legal and professional links visible in the detail view. */
.rg-connections{margin:1.5rem 0}
.rg-connections>ul{list-style:none;margin:0;padding:0;display:grid;gap:.75rem}
.rg-connections>ul>li{padding:1rem;border-radius:.75rem;background:var(--color-surface,#f2f5fb)}
.rg-connections .rg-node-link{display:block;text-align:left;line-height:1.45}
.rg-connection-type{display:block;margin-top:.35rem;color:var(--color-primary,#2d4281);font-size:.8125rem;font-weight:600}
.rg-connections .rg-small{margin:.5rem 0}
.rg-connections .rg-detail-sources{font-size:.8125rem}
.rg-connection-sources{margin-top:.5rem}
.rg-connection-sources>summary{cursor:pointer;color:var(--color-primary,#2d4281);font-size:.8125rem;font-weight:600}
.rg-connection-sources[open]>.rg-detail-sources{margin-top:.65rem}
@media(min-width:49rem){.rg-connections>ul,.rg-framework>ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rg-connection-context+.rg-connection-context{margin-top:1rem;padding-top:.75rem;border-top:1px solid var(--color-border,#dce3ef)}
.rg-indirect-connections{margin-top:1.75rem;border-top:1px solid var(--color-border,#dce3ef);padding-top:.75rem}
.rg-indirect-connections>summary{min-height:44px;cursor:pointer;color:var(--color-primary);font-size:.9375rem;font-weight:600;line-height:1.5}
.rg-connection-route>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:.8125rem;color:var(--color-muted)}
.rg-connection-route ol{padding-left:1.2rem;list-style:decimal}.rg-connection-route ol>li{margin:.75rem 0;padding:0;border:0}.rg-connection-route .rg-node-link{font-size:.8125rem;overflow-wrap:anywhere}.rg-connection-route .rg-detail-sources{font-size:.8125rem;overflow-wrap:anywhere}

/* Leave space for the sticky site header when returning from node details. */
[data-rg-canvas]{scroll-margin-top:calc(var(--sticky-header-height,140px) + 20px)}

/* The trail describes visits, while the orange map edges show evidenced relationships. */
.rg-navigation{padding:1rem;margin:.75rem 0 1rem;border:1px solid var(--rg-line,#dce3ef);border-radius:1rem;background:var(--rg-surface,#f3f5fa);min-width:0}
.rg-navigation-heading{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;color:var(--rg-blue,#2d4281);font-weight:600}
.rg-navigation-heading .rg-button{min-height:44px;display:inline-flex;align-items:center;gap:.5rem}
.rg-navigation nav ol{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .25rem;margin:.85rem 0 .5rem;padding:0;list-style:none}
.rg-navigation nav li{display:flex;align-items:center;min-width:0;max-width:100%}
.rg-navigation nav li+li:before{content:'›';color:#65718a;margin:0 .4rem;font-weight:400}
.rg-navigation nav button{display:block;max-width:100%;min-height:44px;padding:.5rem .7rem;border:1px solid #dce3ef;border-radius:.6rem;background:#fff;color:#2d4281;font:inherit;text-align:left;overflow-wrap:anywhere;cursor:pointer}
.rg-navigation nav [aria-current=step]{background:#2d4281;color:#fff;border-color:#2d4281;font-weight:600}
.rg-navigation button:focus-visible,.rg-navigation summary:focus-visible{outline:3px solid #fcb13f;outline-offset:3px}
.rg-navigation-status{font-size:.8125rem;line-height:1.5;color:#65718a;margin:.5rem 0 0}
.rg-navigation-route{margin-top:.65rem;font-size:.875rem;overflow-wrap:anywhere}
.rg-navigation-route summary{cursor:pointer;color:#2d4281;font-weight:600;padding:.35rem 0}
.rg-navigation-route ol{padding-left:1.2rem}
.rg-navigation-route li{margin:.65rem 0}
@media(max-width:30rem){.rg-navigation{padding:.75rem}.rg-navigation-heading{gap:.6rem;font-size:.875rem}.rg-navigation nav{font-size:.8125rem}}

/* Keep legal citations attributable to their parent instrument in impact results. */
.rg-legal-context{display:block;margin-top:.45rem;font-size:.8125rem;line-height:1.5;font-weight:400;color:#596780;overflow-wrap:anywhere}

.rg-result-heading h2{scroll-margin-top:calc(var(--sticky-header-height,140px) + 20px)}

.rg-compact-nodes{list-style:none;margin:0;padding:0;display:grid;gap:.625rem}
.rg-compact-nodes>li{min-width:0;padding:.75rem 1rem;border:1px solid var(--color-divider);border-radius:.875rem}
.rg-compact-nodes .rg-node-link{display:block;min-height:44px;padding:.25rem 0;text-align:start;font-weight:700}
.rg-compact-node-meta{margin:0;color:var(--color-muted);font-size:.875rem;line-height:1.5}
.rg-compact-nodes details{margin-top:.25rem}
.rg-compact-nodes summary{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:44px;cursor:pointer;font-size:.875rem;color:var(--color-primary);list-style:none}
.rg-compact-nodes summary::-webkit-details-marker{display:none}
.rg-compact-nodes summary .rn-icon{width:1rem;height:1rem;flex:none}
.rg-compact-nodes details[open] summary .rn-icon{transform:rotate(180deg)}
.rg-compact-nodes details p{margin:.25rem 0 .625rem}
:is(.rg-canvas,.rg-impact-canvas) svg text{paint-order:stroke;stroke:var(--rg-surface);stroke-width:2px;stroke-linejoin:round}
