/* Trace2Trace OPS R209 — GEO evidence workflow polish */
.r209-geo{
 --r209-ink:#123740;--r209-muted:#6d858a;--r209-line:#dbe6e2;--r209-soft:#f5f8f5;
 --r209-gold:#b39458;--r209-green:#39725e;--r209-amber:#9b6e2d;--r209-red:#9b514a;
}
.r209-geo .r184-intro{margin-bottom:18px!important}
.r209-geo .r184-intro h1{letter-spacing:-.045em!important}
.r209-geo .r184-form{border-radius:13px!important;box-shadow:0 7px 22px rgba(18,55,64,.04)!important}
.r209-geo .r184-topline{margin-top:14px!important;border-radius:10px!important}

/* Result-first single GEO test */
.r209-verdict-panel{
 display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.85fr);gap:18px;
 background:#fff;border:1px solid var(--r209-line);border-top:3px solid var(--r209-gold);
 border-radius:15px;padding:21px 22px;margin:16px 0;box-shadow:0 9px 27px rgba(18,55,64,.05);
}
.r209-verdict-panel[data-tone=accessible]{border-top-color:#4c8b70}
.r209-verdict-panel[data-tone=not-accessible]{border-top-color:#b15c51}
.r209-verdict-panel[data-tone=challenge],
.r209-verdict-panel[data-tone=inconclusive]{border-top-color:#c09045}
.r209-verdict-main>span{display:block;font-size:9px;letter-spacing:.17em;font-weight:800;color:#a48650;margin-bottom:7px}
.r209-verdict-main h2{margin:0 0 8px;color:var(--r209-ink);font-size:25px;letter-spacing:-.035em}
.r209-verdict-main p{margin:0;color:var(--r209-muted);font-size:12px;line-height:1.6;max-width:760px}
.r209-verdict-main small{display:block;margin-top:8px;color:#87979a;font-size:10px}
.r209-verdict-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}
.r209-chip{display:block;border:1px solid #e1e9e5;background:var(--r209-soft);border-radius:9px;padding:10px 11px;min-width:0}
.r209-chip small{display:block;color:#819397;font-size:8px;text-transform:uppercase;letter-spacing:.07em}
.r209-chip strong{display:block;margin-top:4px;color:var(--r209-ink);font-size:11px;overflow-wrap:anywhere}
.r209-chip[data-tone=good]{background:#edf7f1;border-color:#d7e9df}.r209-chip[data-tone=good] strong{color:#39725e}
.r209-chip[data-tone=warn]{background:#fff7e9;border-color:#eadcc2}.r209-chip[data-tone=warn] strong{color:#936a2e}
.r209-evidence-note{grid-column:1/-1;display:flex;gap:13px;padding-top:13px;border-top:1px solid #edf1ee;color:#728589;font-size:10px;line-height:1.5}
.r209-evidence-note b{color:#49676e;white-space:nowrap}

/* Screenshot is the primary evidence */
.r209-primary-evidence{border-radius:15px!important;border-color:#d6e2de!important;box-shadow:0 11px 30px rgba(18,55,64,.06)!important;overflow:hidden!important}
.r209-primary-evidence .r184-window-head{background:#edf3f0!important}
.r209-primary-evidence .r184-capture{min-height:520px!important;background:#f7f9f7!important}
.r209-primary-evidence .r184-scroll{max-height:720px!important;background:#fff!important}
.r209-primary-evidence .r184-scroll img{width:100%!important;height:auto!important;display:block!important}
.r209-primary-evidence .r184-browser-foot{padding:11px 16px!important;background:#fafcf9!important}
.r209-evidence-panels{gap:12px!important;margin-top:14px!important}
.r209-evidence-panels .r184-card{border-radius:12px!important;border-color:#dce6e2!important;box-shadow:none!important}
.r209-evidence-panels .r184-card h2{font-size:17px!important}

/* Licence context */
.r209-licence-context{margin-top:13px!important;border-radius:11px!important;border-color:#dfe6dd!important;box-shadow:none!important}
.r209-licence-single{margin-top:15px!important}
.r209-licence-context header{padding-top:14px!important}
.r209-licence-context .l192-context-body{font-size:11px!important}
.r209-reg-details{margin-top:12px;border-top:1px solid #e7ece8}
.r209-reg-details>summary{cursor:pointer;padding:11px 0;color:#315c65;font-size:11px;font-weight:700;list-style:none}
.r209-reg-details>summary::-webkit-details-marker{display:none}
.r209-reg-details>summary:after{content:" +";color:#9a8357}.r209-reg-details[open]>summary:after{content:" −"}

/* Tabs */
.r209-tabs{background:#edf3ef!important;border:1px solid #dce6e2!important;border-radius:11px!important;padding:4px!important;gap:3px!important}
.r209-tabs button{border-radius:8px!important;font-size:11px!important}
.r209-tabs button.active{background:#fff!important;box-shadow:0 2px 8px rgba(18,55,64,.06)!important;color:#173e48!important}

/* Compare countries as evidence matrix */
.r209-compare .r191-heading{margin-top:18px!important}
.r209-compare-matrix{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
.r209-country-card{background:#fff!important;border:1px solid #dbe5e1!important;border-radius:13px!important;box-shadow:0 7px 19px rgba(18,55,64,.04)!important;overflow:hidden!important}
.r209-country-card[data-r209-tone=accessible]{border-top:3px solid #4c8b70!important}
.r209-country-card[data-r209-tone=not-accessible]{border-top:3px solid #ac584f!important}
.r209-country-card[data-r209-tone=challenge],
.r209-country-card[data-r209-tone=inconclusive]{border-top:3px solid #bf9149!important}
.r209-country-card header{padding:14px 15px 10px!important}
.r209-card-interpretation{margin:0;padding:0 15px 11px;color:#71878b;font-size:10px;line-height:1.45;min-height:29px}
.r209-country-card .r191-card-capture{min-height:240px!important;background:#f6f8f6!important}
.r209-country-card .r191-shot img{width:100%!important;display:block!important}
.r209-country-card footer{background:#fafcf9!important;padding:11px 14px!important}
.r209-country-card .r191-result{font-size:9px!important;max-width:190px;text-align:right}
.r209-country-card .r209-reg-details{padding:0 14px 12px}

/* History grouped by website */
.r209-history .r191-history-note{margin:14px 0!important}
.r209-history-group{border:1px solid #dce6e2;background:#fff;border-radius:13px;margin-bottom:12px;overflow:hidden;box-shadow:0 6px 18px rgba(18,55,64,.035)}
.r209-history-group>header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 15px;background:#f7faf7;border-bottom:1px solid #e5ebe7}
.r209-history-group>header span{font-size:8px;letter-spacing:.15em;color:#9a7d4c;font-weight:800}
.r209-history-group>header h3{margin:3px 0 0;font-size:15px;color:#153c46;overflow-wrap:anywhere}
.r209-history-group>header>strong{font-size:10px;color:#72878b;font-weight:600}
.r209-history-group .r191-history-row{border:0!important;border-bottom:1px solid #eef1ee!important;border-radius:0!important;margin:0!important;background:#fff!important}
.r209-history-group .r191-history-row:last-child{border-bottom:0!important}
.r209-history-detail{border-radius:14px!important;border-color:#d9e4e0!important;box-shadow:0 8px 24px rgba(18,55,64,.05)!important}
.r209-history-detail[data-r209-tone=accessible]{border-top:3px solid #4c8b70!important}
.r209-history-detail[data-r209-tone=challenge],
.r209-history-detail[data-r209-tone=inconclusive]{border-top:3px solid #bf9149!important}
.r209-detail-interpretation{color:#6f858a;font-size:11px;line-height:1.55;margin:9px 0 14px}

/* Stronger semantic state colours without changing stored classification */
.r184-topline[data-r209-tone=challenge] .r184-state strong,
.r184-topline[data-r209-tone=inconclusive] .r184-state strong{color:#966b2d!important}
.r184-topline[data-r209-tone=accessible] .r184-state strong{color:#39725e!important}
.r184-topline[data-r209-tone=not-accessible] .r184-state strong{color:#9b514a!important}

@media(max-width:980px){
 .r209-verdict-panel{grid-template-columns:1fr}
 .r209-compare-matrix{grid-template-columns:1fr!important}
}
@media(max-width:620px){
 .r209-verdict-facts{grid-template-columns:1fr}
 .r209-evidence-note{display:block}.r209-evidence-note b{display:block;margin-bottom:4px}
 .r209-primary-evidence .r184-capture{min-height:360px!important}
 .r209-history-group>header{align-items:flex-start;flex-direction:column}
}
@media(prefers-reduced-motion:reduce){.r209-geo *{scroll-behavior:auto!important}}
