/* Public Entry 1/Quiz result presentation only. No scoring or category policy. */
.result-ring-select{display:flex;align-items:center;gap:8px;width:fit-content;min-height:44px;font-size:13px;cursor:pointer;margin-top:6px}
.result-ring-select input{width:18px;height:18px;margin:0;accent-color:var(--lime);flex:none}
.result-ring-select:has(input:disabled){opacity:.5;cursor:default}
#resultsGrid .v2-result.ring-selected{box-shadow:inset 3px 0 var(--lime)}
.result-ring-bar{position:sticky;bottom:12px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:var(--shadow-soft)}
.result-ring-bar button{min-height:44px;white-space:normal}
.result-ring-bar button:disabled{opacity:.5;cursor:default}
@media(max-width:620px){.result-ring-bar{bottom:8px;flex-direction:column;align-items:stretch;text-align:center;gap:6px;padding:10px}.result-ring-bar button{width:100%;font-size:13px}}
#resultsGrid.v2-results .v2-results-overview{display:flex;align-items:center;gap:24px;padding:18px 20px;margin:8px 0 24px;border:1px solid var(--line);border-radius:5px;background:var(--surface2);flex-wrap:wrap}
#resultsGrid .v2-results-overview .v2-reference-header{background:none;border:0;padding:0;margin:0!important;flex:1 1 230px;font-size:14px}
#resultsGrid .v2-reference-header strong{font-family:Georgia,serif;font-size:19px;line-height:1.25;font-weight:400}
#resultsGrid .v2-reference-header img{width:44px;height:56px}
#resultsGrid .v2-results-overview .v2-profile{margin:0;padding:0;border:0;flex:1 1 230px;min-width:0}
#resultsGrid .v2-profile summary{font-weight:600;line-height:1.5}
#resultsGrid .v2-profile[open]{flex-basis:100%;order:3}
#resultsGrid .v2-selection-summary{margin:0;flex:1 1 300px}
#resultsGrid .v2-selection-summary>p{margin:0 0 8px}
#resultsGrid .v2-selection-summary ul{display:flex;justify-content:space-between;gap:0;margin:0}
#resultsGrid .v2-selection-summary li{display:flex;flex:1;flex-direction:column;gap:3px;padding:2px 12px;border:0;border-left:1px solid var(--line);background:none;color:var(--muted);font-size:11px;opacity:1}
#resultsGrid .v2-selection-summary li b{font-size:18px;color:var(--text)}
#resultsGrid .v2-radar-action{margin:0;flex:0 1 auto}
#resultsGrid .v2-radar-action button{min-height:46px;border:1px solid #9baa78;background:var(--lime);color:#18200d;font-size:13px;padding:12px 16px}
#resultsGrid .v2-result{display:grid;grid-template-columns:36px 76px minmax(170px,1.2fr) minmax(170px,1fr) 90px 94px 134px;gap:14px;align-items:center;padding:20px 0;border-top:1px solid var(--line);background:none;position:relative}
#resultsGrid .v2-result:has(details[open]){background:var(--surface);border-radius:5px}
#resultsGrid .v2-ranking-mark{grid-column:1;grid-row:1;align-self:center;gap:6px;justify-items:center}
#resultsGrid .v2-rank{font-size:17px;padding:0}
#resultsGrid .v2-medal{font-size:9px;padding:2px 4px}
#resultsGrid .v2-result-image{grid-column:2;grid-row:1;width:76px;height:94px;font-size:10px;overflow:hidden;background:#fff}
#resultsGrid .v2-result-image img{width:100%;height:100%;object-fit:contain}
#resultsGrid .v2-result-copy{grid-column:3;grid-row:1;min-width:0}
#resultsGrid .v2-result h3{font-size:22px;line-height:1.18;margin:3px 0 8px;overflow-wrap:anywhere}
#resultsGrid .v2-brand{font-size:10px!important;letter-spacing:.09em;margin:0!important}
#resultsGrid .v2-category{font-size:10px;padding:2px 7px}
#resultsGrid .v2-result-copy>p:last-child{font-size:11px;margin:7px 0 0;line-height:1.5}
#resultsGrid .v2-compact-reasons{grid-column:4;grid-row:1;min-width:0;padding-left:14px;border-left:1px solid var(--line)}
#resultsGrid .v2-compact-reasons h4{font-size:11px;font-weight:600;margin:0 0 8px}
#resultsGrid .v2-compact-reasons ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:5px}
#resultsGrid .v2-compact-reasons li{font-size:11px;line-height:1.4;border:1px solid var(--line);border-radius:4px;padding:5px 7px;color:var(--muted);overflow-wrap:anywhere}
#resultsGrid .v2-compact-reasons p{font-size:11px;color:var(--muted);margin:0}
#resultsGrid .v2-score{grid-column:5;grid-row:1;text-align:center;align-self:center}
#resultsGrid .v2-score strong{font-size:25px;line-height:1.3}
#resultsGrid .v2-score span{display:block;font-size:10px;line-height:1.4}
#resultsGrid .v2-future-actions{grid-column:6;grid-row:1;display:grid;gap:8px;border-left:1px solid var(--line);padding-left:12px}
#resultsGrid .v2-future-actions button{display:flex;align-items:center;text-align:left;padding:0;gap:6px;font:inherit;font-size:10px;line-height:1.4;color:var(--muted);opacity:.8;min-height:34px}
#resultsGrid .v2-future-actions small{display:block;font-size:9px;border:0}
#resultsGrid .v2-future-actions button>span:first-child{font-size:18px;flex:none}
#resultsGrid .v2-details{display:block;grid-column:1/-1;min-width:0}
#resultsGrid .v2-details summary{position:absolute;right:0;top:42px;width:134px;display:flex;align-items:center;justify-content:center;list-style:none;font-size:11px;min-height:42px;padding:10px 8px;border:1px solid #8b9b68;border-radius:5px;text-align:center;cursor:pointer;line-height:1.4;color:var(--text);margin:0}
#resultsGrid .v2-details summary::-webkit-details-marker{display:none}
#resultsGrid .v2-details summary:hover{background:var(--surface2)}
#resultsGrid .v2-details summary:focus-visible{outline:2px solid #809c38;outline-offset:3px}
#resultsGrid .v2-collapse-label,#resultsGrid details[open] .v2-expand-label{display:none}
#resultsGrid details[open] .v2-collapse-label{display:inline}
#resultsGrid .v2-details-body{grid-column:1/-1;min-width:0;padding:20px 18px 8px;border-top:1px solid var(--line)}
#resultsGrid .v2-reason{max-width:none;padding:14px 16px;border-left:3px solid #96ad63;background:var(--surface2);border-radius:0 4px 4px 0}
#resultsGrid .v2-reason h4{margin:0 0 6px;font-size:14px}
#resultsGrid .v2-reason p{margin:0;font-size:13px;line-height:1.65}
#resultsGrid .v2-profile-groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:22px 0}
#resultsGrid .v2-profile-group dl>div{display:grid;grid-template-columns:minmax(78px,1fr) minmax(130px,1.3fr);align-items:center;gap:8px}
#resultsGrid .v2-profile-group dd{justify-content:flex-start;gap:10px;min-width:0}
#resultsGrid .v2-profile-group dd>span{min-width:54px;white-space:nowrap}
#resultsGrid .v2-profile-group meter{width:76px;height:6px;flex-shrink:1}
#resultsGrid .v2-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#resultsGrid .v2-notes>h4{grid-column:1/-1;font-size:14px;margin:0}
#resultsGrid .v2-note-stage{border:1px solid var(--line);border-radius:5px;padding:12px;min-width:0}
#resultsGrid .v2-note-stage h5{margin:0 0 8px}
#resultsGrid .v2-note-chips{display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0;list-style:none}
#resultsGrid .v2-note-chips li{padding:5px 8px;border-radius:4px;background:var(--surface2);font-size:12px;line-height:1.4;color:var(--text)}
#entry1RadarBackdrop .sg-radar-modal{width:min(1000px,calc(100vw - 32px));max-height:90dvh;overflow:auto}
#entry1RadarBackdrop .sg-radar-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}
#entry1RadarBackdrop .sg-radar-svg{display:block;width:100%;max-width:420px;height:auto;margin:auto}
#entry1RadarBackdrop .sg-radar-series{fill-opacity:.035;stroke-width:1.7}
#entry1RadarBackdrop .sg-radar-ref{stroke-dasharray:4 4;fill:none}
#entry1RadarBackdrop .sg-radar-legend{font-size:11px;gap:7px;margin-top:12px}
#entry1RadarBackdrop .v2-radar-summary{padding:18px 0;border-bottom:1px solid var(--line)}
#entry1RadarBackdrop .v2-radar-summary h4{font-size:15px;line-height:1.5;margin:0 0 6px;font-weight:600;overflow-wrap:anywhere}
#entry1RadarBackdrop .v2-radar-summary p{font-size:13px;line-height:1.65;color:var(--muted);margin:0}
#entry1RadarBackdrop .v2-radar-summary i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;background:#799f39}
#entry1RadarBackdrop .v2-radar-summary.two i{background:#3183b7}
#entry1RadarBackdrop .v2-radar-summary.three i{background:#bb7733}
@media(max-width:1150px){
 #resultsGrid .v2-result{grid-template-columns:34px 70px minmax(150px,1fr) minmax(150px,1fr) 85px 132px;gap:12px}
 #resultsGrid .v2-result-image{width:70px;height:90px}
 #resultsGrid .v2-details summary{width:132px}
 #resultsGrid .v2-future-actions{grid-column:4/7;grid-row:2;display:flex;justify-content:flex-end;border:0;padding:0}
 #resultsGrid .v2-future-actions button{min-height:30px}
 #resultsGrid .v2-profile-group dl>div{grid-template-columns:1fr;gap:5px}
}
@media(max-width:800px){
 #resultsGrid .v2-results-overview{gap:18px;padding:16px;margin-bottom:18px}
 #resultsGrid .v2-selection-summary{flex-basis:100%;min-width:0}
 #resultsGrid .v2-selection-summary li{padding:2px 7px;font-size:10px}
 #resultsGrid .v2-selection-summary li:first-child{border-left:0;padding-left:0}
 #resultsGrid .v2-radar-action{width:100%}
 #resultsGrid .v2-result{grid-template-columns:28px 62px minmax(0,1fr);gap:12px;padding:18px 0}
 #resultsGrid .v2-ranking-mark{grid-column:1;grid-row:1;align-self:start}
 #resultsGrid .v2-result-image{grid-column:2;grid-row:1;width:62px;height:85px}
 #resultsGrid .v2-result-copy{grid-column:3;grid-row:1}
 #resultsGrid .v2-result h3{font-size:21px}
 #resultsGrid .v2-score{grid-column:3;grid-row:2;display:flex;gap:10px;align-items:center;text-align:left}
 #resultsGrid .v2-score strong{font-size:25px}
 #resultsGrid .v2-score span{max-width:100px}
 #resultsGrid .v2-compact-reasons{grid-column:1/-1;grid-row:3;padding:0;border:0}
 #resultsGrid .v2-compact-reasons h4{font-size:12px}
 #resultsGrid .v2-compact-reasons li{font-size:12px}
 #resultsGrid .v2-future-actions{grid-column:1/-1;grid-row:4;justify-content:flex-start;gap:24px}
 #resultsGrid .v2-future-actions button{font-size:12px}
 #resultsGrid .v2-details{grid-row:5}
 #resultsGrid .v2-details summary{position:static;width:auto;font-size:13px;min-height:44px}
 #resultsGrid .v2-details-body{padding:16px 8px 4px}
 #resultsGrid .v2-profile-groups,#resultsGrid .v2-notes{grid-template-columns:1fr}
 #resultsGrid .v2-profile-group dl>div{grid-template-columns:minmax(90px,1fr) minmax(128px,1fr)}
 #resultsGrid .v2-reason{padding:12px}
 #entry1RadarBackdrop .sg-radar-wrap{grid-template-columns:1fr;gap:10px}
 #entry1RadarBackdrop .sg-radar-modal{padding:18px;max-height:92dvh}
 #entry1RadarBackdrop .sg-radar-head{gap:10px}
 #entry1RadarBackdrop .sg-radar-head h3{font-size:25px}
}
/* Visible affordances for existing controls; no layout or behavior changes. */
html[data-theme] .app :is(#referenceView,#discoverView,#compareView,#quizView,#ringueView) .text-input{background:#fff!important;border:1px solid #a5af95!important;box-shadow:inset 0 1px 3px #23351908;color:#203022!important;cursor:text}
html[data-theme] .app :is(#referenceView,#discoverView,#compareView,#quizView,#ringueView) .text-input::placeholder{color:#727b6a;opacity:1}
html[data-theme] .app :is(#referenceView,#discoverView,#compareView,#quizView,#ringueView) .text-input:hover{border-color:#7d9161!important}
html[data-theme] .app :is(#referenceView,#discoverView,#compareView,#quizView,#ringueView) .text-input:focus{border-color:#708b35!important;outline:2px solid #8da95755!important;outline-offset:2px;background:#fffef9!important}
html[data-theme] #referenceView .reference-mode-switch button{background:#f1f4e9;border-color:#aab993;box-shadow:0 2px 3px #263b1710}
html[data-theme] #referenceView .reference-mode-switch button[aria-pressed="true"]{background:#e5edcf;border-color:#758d3f;box-shadow:inset 0 0 0 1px #758d3f}
html[data-theme] #referenceView .reference-mode-switch button:hover{border-color:#758d3f;background:#ebf1dc}
html[data-theme] #referenceView .reference-mode-switch button:focus-visible{outline:2px solid #708b35;outline-offset:3px}
html[data-theme] #resultsGrid .v2-details summary{background:#edf2e2;border-color:#9aab7e;box-shadow:0 2px 3px #263b1710;font-weight:600}
html[data-theme] #resultsGrid .v2-details summary:hover,html[data-theme] #resultsGrid .v2-details[open] summary{background:#e2ebce;border-color:#758d3f}
html[data-theme="dark"] .app :is(#referenceView,#discoverView,#compareView,#quizView,#ringueView) .text-input{background:#222c25!important;color:#f3f0e8!important;border-color:#68765e!important}
html[data-theme="dark"] .app :is(#referenceView,#discoverView,#compareView,#quizView,#ringueView) .text-input::placeholder{color:#adb7a7}
html[data-theme="dark"] .app :is(#referenceView,#discoverView,#compareView,#quizView,#ringueView) .text-input:focus{background:#273329!important;border-color:#a0ba70!important}
html[data-theme="dark"] #referenceView .reference-mode-switch button{background:#263027;border-color:#647357}
html[data-theme="dark"] #referenceView .reference-mode-switch button[aria-pressed="true"],html[data-theme="dark"] #referenceView .reference-mode-switch button:hover{background:#35442b;border-color:#a0ba70}
html[data-theme="dark"] #resultsGrid .v2-details summary{background:#2b3727;border-color:#819363;color:#f3f0e8}
html[data-theme="dark"] #resultsGrid .v2-details summary:hover,html[data-theme="dark"] #resultsGrid .v2-details[open] summary{background:#37472d;border-color:#a0ba70}
