/* Inside #tgq only the scan's own styles apply: gist.ai's and the page kit's rules are reset to browser defaults first. */
#tgq,#tgq *{all:revert}
#tgq{color-scheme:only light;--blue:#0e3b7e;--cream:#f8f4eb;--ink:#080808;--border:#d1cfba;--accent:#ff9d1c;--panel:#fff;--tint:#f0f4fa;font-family:Haffer,Arial,sans-serif;font-size:17px;line-height:1.5;color:var(--ink);background:var(--cream)}
#tgq *{box-sizing:border-box}
#tgq{margin:0;min-height:100svh;background:var(--cream);color:var(--ink);font-family:Haffer,Arial,sans-serif;font-synthesis:none}
#tgq a{color:var(--blue);text-underline-offset:4px}
#tgq button,#tgq input,#tgq select{font:inherit}
#tgq button,#tgq a,#tgq input,#tgq select,#tgq summary{-webkit-tap-highlight-color:transparent}
#tgq [hidden]{display:none!important}
#tgq header,#tgq .tgq-main,#tgq footer{width:min(1160px,calc(100% - 80px));margin:auto}
#tgq header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 0;border-bottom:1px solid var(--border)}
#tgq .wordmark{display:inline-flex;flex-shrink:0}
#tgq .wordmark img{display:block;width:178px;height:auto}
#tgq #page-label{font-size:15px;color:var(--blue)}
#tgq .tgq-main{padding:44px 0 64px;min-height:calc(100svh - 192px)}
#tgq footer{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-top:1px solid var(--border);font-size:15px;color:var(--blue)}
#tgq h1,#tgq h2,#tgq h3,#tgq p{margin:0}
#tgq h1{font-size:38px;line-height:1.15;letter-spacing:-.035em;font-weight:400;overflow-wrap:anywhere}
#tgq h2{font-size:24px;line-height:1.25;letter-spacing:-.02em;font-weight:400}
#tgq h3{font-size:20px;line-height:1.3;letter-spacing:-.015em;font-weight:400}
#tgq p{overflow-wrap:anywhere}
#tgq button{cursor:pointer;min-height:50px;padding:12px 22px;border:1px solid var(--ink);border-radius:0;background:var(--accent);color:var(--ink);font-size:17px;text-align:center}
#tgq button:hover{filter:brightness(.97)}
#tgq button:disabled{cursor:wait;background:var(--cream);color:var(--ink);border-style:dashed;box-shadow:none!important;opacity:1}
#tgq button:focus-visible,#tgq a:focus-visible,#tgq input:focus-visible,#tgq select:focus-visible,#tgq summary:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
#tgq .secondary{background:transparent;color:var(--blue);border-color:var(--blue)}
#tgq #reset{margin-top:32px}
#tgq footer .secondary{border:0;padding:0;min-height:44px;text-decoration:underline;text-underline-offset:4px;font-size:15px}
#tgq .notice{font-size:16px;color:var(--blue);padding:12px 16px;border-left:3px solid var(--blue);background:var(--tint);margin-bottom:28px;max-width:760px}
#tgq .notice-warning{border-left-color:var(--accent)}
#tgq #mode{background:transparent;padding:0 0 0 14px;font-size:15px;max-width:760px}
#tgq #mode:empty{display:none}
#tgq #intake,#tgq #capture,#tgq #problem{max-width:720px;margin:20px auto;background:var(--panel);border:1px solid var(--border);padding:40px}
#tgq #intake>p,#tgq #capture>p,#tgq #problem>p{margin-top:20px;max-width:600px}
#tgq #intake h1,#tgq #capture h1{max-width:610px}
#tgq #capture>p:last-child{font-size:15px;margin-top:24px}
#tgq #problem{border-top:3px solid var(--blue)}
#tgq #problem h2{font-size:30px}
#tgq #problem button{margin-top:24px}
#tgq form{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:32px}
#tgq label{display:flex;flex-direction:column;gap:8px;font-size:16px}
#tgq label:nth-child(3),#tgq #scenario-label,#tgq form button{grid-column:1/-1}
#tgq input,#tgq select{min-height:54px;padding:12px 14px;min-width:0;width:100%;color:var(--ink);background:#fff;border:1px solid var(--blue);border-radius:0;font-size:17px}
#tgq input::placeholder{color:var(--blue);opacity:1}
#tgq input[readonly]{background:var(--cream)}
#tgq form button{justify-self:start;min-width:190px}
#tgq #capture-form{grid-template-columns:1fr}
#tgq #capture-status:empty,#tgq #download-status:empty{display:none}
#tgq #capture-status{font-size:16px;color:var(--blue)}
#tgq progress{display:block;width:100%;height:8px;margin:28px 0;accent-color:var(--blue);border:0;border-radius:0}
#tgq progress::-webkit-progress-bar{background:var(--tint)}
#tgq progress::-webkit-progress-value{background:var(--blue)}
#tgq .result-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:start;margin-bottom:24px}
#tgq .result-heading h1{max-width:820px}
#tgq #measured-at{font-size:15px;color:var(--blue);margin-top:16px;max-width:720px}
#tgq .result-actions{max-width:230px;text-align:right}
#tgq .result-actions button{white-space:nowrap}
#tgq .result-actions p{font-size:15px;color:var(--blue);margin-top:12px}
#tgq #result-note:empty{display:none}
#tgq #result-note:not(:empty){margin-bottom:28px}
#tgq .engine-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 24px}
#tgq .engine{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto;align-self:start;column-gap:20px;min-width:0;padding:28px;background:var(--panel);border:1px solid var(--border);border-radius:8px}
#tgq .engine h2{grid-column:1/-1;grid-row:1;color:var(--blue);padding-bottom:24px}
#tgq .metric{font-size:32px;line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums;padding-top:16px;border-top:3px solid var(--accent)}
#tgq .metric-named{grid-column:1;grid-row:2}
#tgq .metric-cited{grid-column:2;grid-row:2}
#tgq .metric-label{font-size:16px;padding:8px 0 24px}
#tgq .label-named{grid-column:1;grid-row:3}
#tgq .label-cited{grid-column:2;grid-row:3}
#tgq .query{grid-column:1/-1;grid-row:4;border-top:1px solid var(--border);padding:20px 0 16px;font-size:17px;line-height:1.5}
#tgq .count-note{grid-column:1/-1;grid-row:5;font-size:15px;padding-bottom:20px}
#tgq .engine h3{grid-column:1/-1;grid-row:6;padding:24px 0 12px;border-top:1px solid var(--border)}
#tgq .comparison-description{grid-column:1/-1;grid-row:7;font-size:15px;padding-bottom:20px}
#tgq .comparison{grid-column:1/-1;grid-row:9;align-self:start;width:100%;border-collapse:collapse;table-layout:fixed;font-size:16px}
#tgq .comparison th,#tgq .comparison td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--border);overflow-wrap:anywhere;vertical-align:middle}
#tgq .comparison th{font-size:15px;font-weight:400;color:var(--blue);padding-top:0}
#tgq .comparison th:last-child,#tgq .comparison td:last-child{width:28%;text-align:right;font-variant-numeric:tabular-nums}
#tgq .comparison .subject-share{background:var(--tint);font-weight:700}
#tgq .comparison-note{grid-column:1/-1;grid-row:10;font-size:15px;padding-top:18px;align-self:start}
#tgq .subject-unavailable{grid-column:1/-1;grid-row:8;align-self:start;margin-bottom:20px;font-size:16px}
#tgq .engine-state{grid-column:1/-1;grid-row:2/span 2;font-size:17px;color:var(--blue);align-self:start;padding:20px 0;border-top:1px solid var(--border)}
#tgq .analytics-choice{position:fixed;inset:auto 20px 20px;max-width:900px;margin:auto;background:var(--cream);border:1px solid var(--blue);padding:28px;box-shadow:0 12px 48px #0002;z-index:10;max-height:85svh;overflow:auto}
#tgq .analytics-choice h2{font-size:24px}
#tgq .analytics-choice p{font-size:15px;margin:16px 0}
#tgq .cookie-options{display:flex;flex-wrap:wrap;gap:20px;margin:20px 0}
#tgq .cookie-options label{flex-direction:row;align-items:center;font-size:16px}
#tgq .cookie-options input{min-height:24px;width:24px;height:24px;accent-color:var(--blue)}
#tgq .analytics-actions{display:flex;flex-wrap:wrap;gap:12px}
#tgq .analytics-actions button{font-size:16px}
#tgq #cookies-reject{background:transparent}
@media(max-width:900px){#tgq header,#tgq .tgq-main,#tgq footer{width:calc(100% - 48px)}
#tgq .engine{padding:22px;column-gap:16px}
#tgq .engine-grid{column-gap:20px}
#tgq .result-heading{grid-template-columns:1fr}
#tgq .result-actions{max-width:none;text-align:left}
#tgq .result-actions p{max-width:600px}
#tgq h1{font-size:34px}
#tgq .comparison{font-size:15px}
#tgq .comparison th,#tgq .comparison td{padding-left:8px;padding-right:8px}}
@media(max-width:680px){#tgq header,#tgq .tgq-main,#tgq footer{width:calc(100% - 40px)}
#tgq header{padding:24px 0;gap:16px}
#tgq .wordmark img{width:154px}
#tgq #page-label{font-size:15px;text-align:right}
#tgq .tgq-main{padding:28px 0 40px}
#tgq h1{font-size:30px;line-height:1.15}
#tgq h2{font-size:24px}
#tgq .result-heading{gap:20px;margin-bottom:20px}
#tgq #measured-at{margin-top:12px}
#tgq .result-actions button{width:100%}
#tgq .engine-grid{display:block}
#tgq .engine{grid-template-rows:none;margin-bottom:24px;padding:20px;column-gap:16px}
#tgq .metric{font-size:30px}
#tgq .metric-label{font-size:16px;padding-bottom:20px}
#tgq .engine h2{padding-bottom:20px}
#tgq .engine h3{padding-top:20px}
#tgq .comparison{font-size:16px}
#tgq #intake,#tgq #capture,#tgq #problem{padding:24px 20px;margin:0}
#tgq #problem h2{font-size:28px}
#tgq form{grid-template-columns:1fr;gap:20px;margin-top:28px}
#tgq form button{width:100%}
#tgq #reset{width:100%;margin-top:24px}
#tgq footer{display:block;padding:20px 0}
#tgq footer .secondary{display:block;margin-top:12px}
#tgq .analytics-choice{inset:auto 12px 12px;padding:22px}
#tgq .cookie-options{display:grid;gap:16px}
#tgq .analytics-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){#tgq *{scroll-behavior:auto!important}}
#tgq #progress{max-width:620px;margin:0 auto;padding:4px 0 0;text-align:center}
#tgq .scan-mark{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 20px;border:1px solid var(--blue);border-radius:50%;background:var(--panel);color:var(--blue);font-size:26px}
#tgq #progress h1{max-width:100%;font-size:36px;line-height:1.16;letter-spacing:-.035em}
#tgq #progress-message{margin:14px auto 28px;max-width:490px;font-size:18px;line-height:1.45}
#tgq .scan-scene{position:relative;isolation:isolate;overflow:hidden;min-height:314px;padding:28px 34px 42px;border-radius:20px;background:linear-gradient(155deg,#d5f6c7 0%,#baf0df 38%,#c1dcfc 75%,#a0c4f9 100%);text-align:left}
#tgq .scan-topic{position:relative;z-index:2;width:85%;margin-left:auto;padding:15px 20px;border:1px solid #ffffffa6;border-radius:16px 16px 4px 16px;background:#ffffffd9;box-shadow:0 3px 18px #0e3b7e09}
#tgq .scan-topic>span{display:block;font-size:15px;color:var(--blue);margin-bottom:4px}
#tgq .scan-topic p{font-size:19px;line-height:1.3;overflow-wrap:anywhere}
#tgq .scan-answer{position:relative;z-index:2;width:90%;margin-top:18px;padding:20px 22px;border:1px solid #fff;border-radius:4px 16px 16px 16px;background:#fff;box-shadow:0 8px 24px #0e3b7e0d;animation:scan-float 5s ease-in-out infinite}
#tgq .scan-answer-heading{display:flex;gap:10px;align-items:center;font-size:16px;color:var(--blue)}
#tgq .scan-spark{display:grid;place-items:center;width:28px;height:28px;background:#e6f7e1;border-radius:8px;font-size:24px;line-height:1}
#tgq .scan-dots{display:flex;gap:4px;margin-left:auto}
#tgq .scan-dots i{display:block;width:5px;height:5px;border-radius:50%;background:var(--blue);animation:scan-dot 1.6s ease-in-out infinite}
#tgq .scan-dots i:nth-child(2){animation-delay:.2s}
#tgq .scan-dots i:nth-child(3){animation-delay:.4s}
#tgq .scan-lines{display:grid;gap:9px;margin:18px 0}
#tgq .scan-lines i{display:block;height:7px;background:#e3ebf5;border-radius:4px}
#tgq .scan-lines i:nth-child(2){width:86%;background:linear-gradient(90deg,#b0d8fb 38%,#e3ebf5 38%)}
#tgq .scan-lines i:nth-child(3){width:94%}
#tgq .scan-lines i:nth-child(4){width:60%}
#tgq .scan-signals{display:flex;flex-wrap:wrap;gap:8px}
#tgq .scan-signals span{padding:4px 9px;border-radius:5px;background:#f0f6ed;font-size:15px;color:var(--blue)}
#tgq #progress .scan-guidance{margin:26px 0 0;font-size:16px}
#tgq #progress .scan-next{margin:8px 0 0;color:var(--blue);font-size:15px}
@keyframes scan-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes scan-dot{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-3px);opacity:1}}
@media(max-width:680px){#tgq #progress{padding:0;margin:0 auto}
#tgq .scan-mark{width:48px;height:48px;margin-bottom:18px;font-size:23px}
#tgq #progress h1{font-size:30px}
#tgq #progress-message{font-size:17px;margin:12px auto 24px}
#tgq .scan-scene{padding:22px 18px 34px;min-height:290px;border-radius:16px}
#tgq .scan-topic{width:92%;padding:13px 16px}
#tgq .scan-topic p{font-size:18px}
#tgq .scan-answer{width:95%;padding:18px 16px;animation:none}
#tgq .scan-signals{gap:6px}
#tgq .scan-signals span{padding:4px 7px}
#tgq .scan-dots i{animation:none}
#tgq #progress .scan-guidance{margin-top:22px}}
@media(prefers-reduced-motion:reduce){#tgq .scan-answer,#tgq .scan-dots i{animation:none}}
#tgq #result-title{display:flex;align-items:center;gap:16px}
#tgq #result-title>span:last-child{min-width:0}
#tgq #result .result-brand-logo{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:28px;overflow:hidden;border:1px solid #c4d4cd;border-radius:50%;background:#e8f1e5;color:var(--blue);font:15px/1 Haffer,Arial,sans-serif}
#tgq #result .result-brand-logo-large{flex-basis:52px;width:52px;height:52px;font-size:24px;border-color:#aec4b2;background:linear-gradient(145deg,#d7edbd,#d1e1f4)}
#tgq #result .result-brand-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;opacity:0}
#tgq #result .result-brand-logo img.loaded{opacity:1}
#tgq #result .result-brand-identity:has(> .result-brand-logo[hidden]) + .result-share-track{margin-left:0}
@media(max-width:680px){#tgq #result .result-brand-identity:has(> .result-brand-logo[hidden]) .result-subject-tag{margin-left:0}}
#tgq #result .engine{background:#f2f5ed;border-color:#d3d9cb;border-radius:16px;padding:28px;box-shadow:0 8px 30px #17391306}
#tgq #result .engine h2{display:flex;align-items:center;gap:12px;color:var(--ink)}
#tgq #result .result-engine-mark{width:30px;height:30px;object-fit:contain;border-radius:50%;background:#fff}
#tgq #result .metric{border-top:0;padding:20px 18px 0;background:#fff;border-radius:12px 12px 0 0;font-size:36px}
#tgq #result .metric-label{padding:8px 18px 20px;background:#fff;border-radius:0 0 12px 12px}
#tgq #result .query{font-size:22px;line-height:1.35;padding:24px 0 16px;margin-top:24px;border-top:1px solid #c8d2c2}
#tgq #result .count-note{color:var(--blue)}
#tgq #result .engine h3{border-top-color:#c8d2c2}
#tgq #result .comparison{background:transparent}
#tgq #result .comparison th{padding-bottom:12px}
#tgq #result .comparison td{padding:16px 0;border-color:#c8d2c2}
#tgq #result .comparison th:first-child{padding-left:0}
#tgq #result .comparison td:last-child,#tgq #result .comparison th:last-child{width:20%;padding-left:12px;padding-right:0}
#tgq #result .comparison .subject-share{background:transparent;font-weight:400}
#tgq #result .comparison .subject-share td:last-child{font-weight:700;color:var(--blue)}
#tgq #result .result-brand-identity{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}
#tgq #result .result-brand-name{flex:1;min-width:90px;overflow-wrap:anywhere}
#tgq #result .result-subject-tag{font-size:15px;line-height:1.3;padding:4px 7px;border-radius:5px;background:#dce9cf;color:var(--blue);white-space:nowrap}
#tgq #result .result-share-track{display:block;height:4px;margin:10px 0 0 38px;background:#dce3d7;border-radius:3px;overflow:hidden}
#tgq #result .result-share-bar{display:block;height:100%;background:var(--blue);border-radius:3px}
#tgq #result .subject-share .result-share-bar{background:#609653}
@media(max-width:680px){#tgq #result-title{gap:12px;align-items:flex-start}
#tgq #result .result-brand-logo-large{width:40px;height:40px;flex-basis:40px;font-size:20px}
#tgq #result .engine{padding:20px;margin-bottom:26px}
#tgq #result .metric{padding:16px 12px 0;font-size:32px}
#tgq #result .metric-label{padding:8px 12px 16px;font-size:15px}
#tgq #result .query{font-size:20px;margin-top:20px}
#tgq #result .comparison td:last-child,#tgq #result .comparison th:last-child{width:18%}
#tgq #result .result-brand-identity{gap:8px}
#tgq #result .result-brand-name{min-width:80px}
#tgq #result .result-subject-tag{margin-left:36px}
#tgq #result .result-share-track{margin-left:36px}}
#tgq{--content-link:#0e3b7e;--brand-primary:#0e3b7e;--brand-secondary:#c8dcf9;--brand-inactive:#e4f1e6;--brand-quinary:#f1f8f2;--background-surface-raised:#fff;--border-default:#d6dae3;--border-radius-md:8px;--border-radius-lg:20px;--spacing-padding-400:16px;--spacing-padding-600:24px;--spacing-gap-200:8px;--spacing-gap-400:16px;--text-default-comfy-300-font-size:14px;--text-default-comfy-400-font-size:16px;--text-default-comfy-400-line-height:160%;--text-accent-tight-600-font-size:24px;--text-accent-tight-600-line-height:120%;--ease-out-expo:cubic-bezier(0.16,1,0.3,1);--entrance-duration:.7s}
#tgq #result .query{font-style:italic;font-synthesis:style}
#tgq .result-title-copy{display:block}
#tgq .result-title-copy>span{display:block}
#tgq #result .result-eyebrow{font-size:var(--text-default-comfy-300-font-size);line-height:1.5;letter-spacing:0;color:var(--content-link);margin-bottom:var(--spacing-gap-200);font-weight:400}
#tgq .ns-verdict strong{font-weight:700;font-synthesis:weight}
#tgq .scan-learning{margin-top:var(--spacing-padding-600);padding:var(--spacing-padding-600);border:1px solid var(--border-default);border-radius:var(--border-radius-lg);background:var(--background-surface-raised);text-align:left}
#tgq .scan-learning-label{font-size:var(--text-default-comfy-300-font-size);color:var(--content-link)}
#tgq .scan-learning h2{margin-top:var(--spacing-gap-200);font-size:var(--text-accent-tight-600-font-size);line-height:var(--text-accent-tight-600-line-height)}
#tgq .scan-learning-copy{margin-top:var(--spacing-gap-200);font-size:var(--text-default-comfy-400-font-size);line-height:var(--text-default-comfy-400-line-height);min-height:5em}
#tgq .scan-learning-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--spacing-gap-200);margin-top:var(--spacing-gap-400)}
#tgq .scan-learning-controls button{min-height:44px;padding:8px 12px;font-size:var(--text-default-comfy-300-font-size)}
#tgq .scan-learning-count{color:var(--content-link);font-size:var(--text-default-comfy-300-font-size)}
#tgq .scan-lines i{overflow:hidden;position:relative}
#tgq .scan-lines i::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,var(--brand-secondary),transparent);transform:translateX(-100%);animation:scan-sweep 3s var(--ease-out-expo) infinite}
#tgq .scan-lines i:nth-child(2)::after{animation-delay:.3s}
#tgq .scan-lines i:nth-child(3)::after{animation-delay:.6s}
@keyframes scan-sweep{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){#tgq .scan-lines i::after{animation:none}}
#tgq .engine{grid-row:span 11}
#tgq .comparison-toggle{grid-column:1/-1;grid-row:10;justify-self:start;margin-top:16px;font-size:15px;min-height:44px}
#tgq .engine .comparison-note{grid-row:11}
#tgq .report-section{margin-top:48px;padding-top:32px;border-top:1px solid var(--border)}
#tgq .report-section>h2{font-size:30px}
#tgq .section-description{margin:10px 0 24px;color:var(--blue);font-size:16px;max-width:70ch}
#tgq .citation-grid,#tgq .health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
#tgq .citation-card,#tgq .health-card{min-width:0;background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:26px}
#tgq .citation-card h3,#tgq .health-card h3{font-size:22px}
#tgq .citation-list{list-style:none;padding:0;margin:0}
#tgq .citation-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--border)}
#tgq .citation-percent{font-variant-numeric:tabular-nums;color:var(--blue)}
#tgq .citation-card .engine-state{border:0;margin:16px 0}
#tgq .health-total{font-size:24px;margin:0 0 24px;font-variant-numeric:tabular-nums}
#tgq .health-grid{gap:16px}
#tgq .health-card{padding:22px}
#tgq .health-card p{font-size:15px}
#tgq .audit-via{margin-top:10px;color:var(--blue)}
#tgq .audit-path{margin-top:6px;overflow-wrap:anywhere}
#tgq .audit-pips{display:flex;gap:5px;flex-wrap:wrap;margin:20px 0 10px}
#tgq .audit-pips i{display:grid;place-items:center;width:22px;height:22px;border-radius:5px;font:15px/1 Arial,sans-serif}
#tgq .audit-pips .pass{background:#d7ead6;color:#215b32}
#tgq .audit-pips .fail{background:#f8ddaf;color:#754307}
#tgq .audit-tally{margin-top:10px}
#tgq .health-missing{border-style:dashed;background:transparent}
#tgq .health-missing>p{margin-top:12px;color:var(--blue)}
#tgq .theme-toggle{padding:8px 12px;min-height:44px;font-size:15px}
#tgq .header-tools{display:flex;align-items:center;gap:16px}
@media(max-width:680px){#tgq .citation-grid,#tgq .health-grid{grid-template-columns:1fr;gap:16px}
#tgq .report-section{margin-top:32px;padding-top:24px}
#tgq .report-section>h2{font-size:26px}
#tgq .citation-card,#tgq .health-card{padding:20px}
#tgq .header-tools{gap:8px;flex-wrap:wrap;justify-content:flex-end}
#tgq .theme-toggle{font-size:14px;padding:6px 8px}
#tgq .health-total{font-size:22px}
#tgq .comparison-toggle{width:100%}}
#tgq .saved-report-next{margin-top:40px;padding:28px;border:1px solid var(--border);background:var(--panel);border-radius:16px}
#tgq .saved-report-next p{margin-top:20px}
#tgq .saved-report-next a{display:inline-block;min-height:44px;padding:12px 20px;background:var(--accent);color:#151b18;border:1px solid currentColor;text-decoration:none}
#tgq{--chart-pass:#5f987a;--chart-fail:#dea447;--chart-not_run:#c3c9c6;--chart-track:#e3e9e3;--chart-second:#82a9df}
#tgq .report-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:48px;align-items:start}
#tgq .report-main{min-width:0}
#tgq .report-main .report-section{margin:0;padding:32px 0;border-top:0;border-bottom:1px solid var(--border)}
#tgq .report-main .report-section:first-child{padding-top:12px}
#tgq .report-main .report-section>h2{font-size:28px}
#tgq .report-main .section-description{margin:10px 0 22px;font-size:15px;color:var(--ink);opacity:.8}
#tgq .report-gist{position:sticky;top:28px;padding:26px;border:1px solid var(--border);border-radius:18px;background:var(--panel);border-top:5px solid #a9c8d4}
#tgq .report-gist h2{font-size:28px}
#tgq .gist-finding{padding:20px 0;border-bottom:1px solid var(--border);font-size:17px}
#tgq .gist-scope{font-size:14px;line-height:1.65;margin-top:20px;opacity:.8}
#tgq .presence-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
#tgq .presence-card{padding:20px;border-radius:14px;background:var(--panel);border:1px solid var(--border)}
#tgq .engine-label{display:flex;gap:8px;align-items:center;font-size:14px;font-weight:400}
#tgq #result .engine-label .result-engine-mark{width:23px;height:23px}
#tgq .presence-body{display:flex;gap:18px;align-items:center;margin-top:20px}
#tgq .report-ring{display:grid;place-items:center;width:116px;height:116px;flex:0 0 116px;border-radius:50%;transform:rotate(0)}
#tgq .ring-center{display:flex;flex-direction:column;align-items:center;justify-content:center;width:91px;height:91px;border-radius:50%;background:var(--panel);line-height:1.2}
#tgq .ring-center strong{font-size:34px;font-weight:400;letter-spacing:-.04em}
#tgq .ring-center>span{font-size:14px;opacity:.75}
#tgq .presence-copy{font-size:14px;line-height:1.45}
#tgq .presence-copy .subtle{margin-top:10px;opacity:.7}
#tgq .presence-question{font-size:14px;font-style:italic;font-synthesis:style;margin-top:18px;padding-top:16px;border-top:1px solid var(--border)}
#tgq .shared-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:15px}
#tgq .shared-table th,#tgq .shared-table td{padding:15px 10px;border-bottom:1px solid var(--border);text-align:right;font-weight:400;font-variant-numeric:tabular-nums;vertical-align:middle}
#tgq .shared-table th:first-child,#tgq .shared-table td:first-child{width:48%;text-align:left;padding-left:0}
#tgq .shared-table .engine-label{justify-content:flex-end}
#tgq .shared-table .subject-share{background:var(--tint)}
#tgq .shared-table .subject-share td:first-child{padding-left:10px}
#tgq .shared-table th{color:var(--blue);font-size:14px}
#tgq .shared-table th small{display:block;font-size:12px;font-weight:400;margin-top:4px}
#tgq .shared-table .share-value{font-size:18px}
#tgq .table-bar{display:block;height:5px;margin-top:8px;background:var(--chart-track);border-radius:3px;overflow:hidden}
#tgq .table-bar i{display:block;height:100%;background:var(--blue);border-radius:3px}
#tgq .shared-table td:nth-child(3) .table-bar i{background:var(--chart-second)}
#tgq #result .shared-table .result-brand-name{min-width:0}
#tgq #result .shared-table .result-subject-tag{font-size:12px;padding:2px 5px;margin:0}
#tgq .report-main .comparison-toggle{margin:12px 0 0;font-size:14px;min-height:40px;padding:8px 12px}
#tgq .report-main .comparison-note{font-size:13px;line-height:1.6;padding-top:14px;opacity:.75}
#tgq .chart-disclosure{margin-top:22px;border:1px solid var(--border);border-radius:10px;background:var(--panel);padding:16px}
#tgq .chart-disclosure summary{cursor:pointer;font-size:15px}
#tgq .chart-legend{display:flex;gap:20px;font-size:13px;margin:14px 0}
#tgq .chart-legend span:before{content:'';display:inline-block;width:10px;height:10px;margin-right:6px;background:var(--blue);border-radius:2px}
#tgq .chart-legend .series-1:before{background:var(--chart-second)}
#tgq .plot-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:15px;padding:12px 0;border-top:1px solid var(--border);align-items:center}
#tgq .plot-name{font-size:13px}
#tgq .plot-series{display:grid;gap:6px}
#tgq .plot-bar{height:25px;position:relative;background:var(--tint);isolation:isolate}
#tgq .plot-bar i{position:absolute;inset:0 auto 0 0;background:var(--blue);opacity:.24;z-index:-1}
#tgq .plot-bar.series-1 i{background:var(--chart-second);opacity:.5}
#tgq .plot-bar>span{display:block;padding:3px 7px;font-size:12px;white-space:nowrap}
#tgq .health-overview{display:flex;gap:30px;align-items:center;margin:20px 0 28px}
#tgq .health-overview .report-ring{width:144px;height:144px;flex-basis:144px}
#tgq .health-overview .ring-center{width:112px;height:112px}
#tgq .health-legend p{font-size:16px;margin:10px 0}
#tgq .health-legend p:before{content:'';display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:10px;background:var(--chart-pass)}
#tgq .health-legend .legend-fail:before{background:var(--chart-fail)}
#tgq .health-legend .legend-not_run:before{background:var(--chart-not_run)}
#tgq .where-heading{font-size:17px;margin:8px 0 14px}
#tgq .report-main .health-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#tgq .report-main .health-card{padding:16px;border-radius:10px}
#tgq .report-main .health-card h3{font-size:16px}
#tgq .report-main .health-card p{font-size:13px}
#tgq .report-main .audit-pips{gap:3px;margin-top:15px}
#tgq .report-main .audit-pips i{width:16px;height:19px;font-size:12px}
#tgq .report-main .health-missing{background:var(--tint)}
#tgq .empty-evidence{font-size:15px;padding:20px;background:var(--tint)}
@media(min-width:768px) and (max-width:1239px){#tgq .report-layout{grid-template-columns:minmax(0,1fr) 240px;gap:24px}
#tgq .presence-grid{grid-template-columns:1fr}
#tgq .presence-card{padding:18px}
#tgq .presence-body{margin-top:14px}
#tgq .report-main .health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#tgq .report-gist{padding:20px}
#tgq .shared-table th:first-child,#tgq .shared-table td:first-child{width:43%}
#tgq .shared-table .engine-label{flex-direction:column;gap:4px}
#tgq .shared-table .engine-label span{font-size:12px}
#tgq .shared-table th,#tgq .shared-table td{padding-left:6px;padding-right:6px}}
@media(max-width:767px){#tgq .report-layout{display:block}
#tgq .report-gist{position:static;margin-top:28px}
#tgq .presence-grid{grid-template-columns:1fr}
#tgq .presence-card{padding:18px}
#tgq .presence-body{gap:24px}
#tgq .presence-copy{font-size:16px}
#tgq .report-main .report-section>h2{font-size:25px}
#tgq .report-main .health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#tgq .shared-table{font-size:13px}
#tgq .shared-table th,#tgq .shared-table td{padding:14px 6px}
#tgq .shared-table th:first-child,#tgq .shared-table td:first-child{width:44%}
#tgq .shared-table .engine-label{flex-direction:column;gap:5px}
#tgq .shared-table .engine-label span{font-size:11px}
#tgq .shared-table .share-value{font-size:16px}
#tgq #result .shared-table .result-brand-logo{width:22px;height:22px;flex-basis:22px}
#tgq #result .shared-table .result-brand-identity{gap:5px}
#tgq .health-overview{gap:22px}
#tgq .plot-row{grid-template-columns:85px minmax(0,1fr);gap:8px}
#tgq .chart-disclosure{padding:12px}
#tgq .plot-bar>span{font-size:11px}
#tgq .chart-legend{font-size:12px;gap:10px}
#tgq .report-main .comparison-toggle{width:100%}}
#tgq .report-main .report-section:first-child{display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:24px;align-items:start;padding-bottom:26px}
#tgq .report-main .report-section:first-child>h2{grid-column:1;font-size:25px}
#tgq .report-main .report-section:first-child>.section-description{grid-column:1;font-size:14px}
#tgq .presence-grid{grid-column:2;grid-row:1/3;gap:18px}
#tgq .presence-card{padding:0;background:transparent;border:0;border-radius:0}
#tgq .presence-card .engine-label{justify-content:center;font-size:12px;white-space:nowrap}
#tgq .presence-body{display:block;margin-top:12px;text-align:center}
#tgq .presence-body .report-ring{margin:auto;width:94px;height:94px}
#tgq .presence-body .ring-center{width:73px;height:73px;background:var(--cream)}
#tgq .presence-body .ring-center strong{font-size:28px}
#tgq .presence-copy{font-size:12px;margin-top:10px}
#tgq .presence-copy .subtle{margin-top:5px}
#tgq .presence-question{display:none}
#tgq .report-main .report-section:first-child>.section-description{margin-bottom:0}
#tgq .result-heading h1{font-size:32px}
#tgq .report-main .shared-table td{padding-top:12px;padding-bottom:12px}
@media(min-width:768px) and (max-width:1239px){#tgq .report-main .report-section:first-child{display:block}
#tgq .presence-grid{grid-template-columns:1fr 1fr;margin-top:20px}
#tgq .presence-card .engine-label{white-space:normal}}
@media(max-width:767px){#tgq .report-main .report-section:first-child{display:block}
#tgq .presence-grid{grid-template-columns:1fr 1fr;margin-top:22px}
#tgq .presence-copy{font-size:12px}
#tgq .presence-card .engine-label{font-size:11px;white-space:normal}
#tgq .result-heading h1{font-size:28px}
#tgq .report-main .health-grid{grid-template-columns:1fr}}
#tgq .report-layout{grid-template-columns:minmax(0,1fr) 340px;gap:36px}
#tgq .report-main{padding:32px;border:1px solid var(--border);border-radius:16px;background:var(--panel)}
#tgq .report-main .result-heading{margin:0 0 24px;display:block}
#tgq .report-main .result-heading h1{font-size:28px}
#tgq .report-main #measured-at{font-size:13px}
#tgq .report-main .result-actions{margin-top:16px;text-align:left;max-width:none}
#tgq .report-main #result-note{font-size:12px;padding:8px 10px;margin-bottom:20px}
#tgq .report-main .report-section{padding:24px 0}
#tgq .report-main .report-section:first-of-type{display:grid;grid-template-columns:minmax(0,1fr) 252px;grid-template-rows:32px 1fr;gap:0 16px;align-items:start;padding:20px 0}
#tgq .report-main .report-section:first-of-type>h2{font-size:18px}
#tgq .report-main .report-section:first-of-type>.section-description{font-size:13px;line-height:1.5;margin:4px 0 0;grid-column:1;grid-row:2}
#tgq .presence-grid{gap:12px}
#tgq .presence-body .ring-center{background:var(--panel)}
#tgq .report-main .report-section>h2{font-size:24px}
#tgq .report-main .section-description{font-size:14px;margin:8px 0 20px}
#tgq .report-main .shared-table{font-size:14px}
#tgq .report-main .shared-table td{padding-top:10px;padding-bottom:10px}
#tgq .report-gist{border-top:1px solid var(--border)}
#tgq .report-gist h2{font-size:22px}
#tgq .gist-finding{font-size:16px}
#tgq .report-main .health-grid{gap:8px}
#tgq .report-main .health-card{padding:12px}
#tgq .report-main .health-card h3{font-size:14px}
#tgq .report-main .health-card p{font-size:12px}
@media(min-width:768px) and (max-width:1239px){#tgq .report-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}
#tgq .report-main{padding:22px}
#tgq .report-main .report-section:first-of-type{display:block}
#tgq .presence-grid{margin-top:20px}
#tgq .report-main .health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){#tgq .report-layout{display:block}
#tgq .report-main{padding:20px}
#tgq .report-main .report-section:first-of-type{display:block}
#tgq .report-main .result-heading h1{font-size:26px}
#tgq .report-main .health-grid{grid-template-columns:1fr}
#tgq .presence-grid{margin-top:20px}
#tgq .report-gist{margin-top:20px}
#tgq .report-main .shared-table{font-size:12px}
#tgq .report-main .shared-table th:first-child,#tgq .report-main .shared-table td:first-child{width:42%}
#tgq .report-main .shared-table th,#tgq .report-main .shared-table td{padding-left:4px;padding-right:4px}
#tgq #result .shared-table .result-brand-name{min-width:0}
#tgq .report-main .health-overview{gap:16px}
#tgq .report-main .health-overview .report-ring{width:120px;height:120px;flex-basis:120px}
#tgq .report-main .health-overview .ring-center{width:92px;height:92px}
#tgq .health-legend p{font-size:14px}
#tgq .report-main .comparison-note{font-size:12px}
#tgq .plot-row{display:block}
#tgq .plot-name{display:block;margin-bottom:8px}}
#tgq .measured-questions{grid-column:1/-1;margin-top:14px;font-size:13px}
#tgq .measured-questions summary{cursor:pointer}
#tgq .measured-questions p{margin-top:10px}
#tgq .health-card a.audit-path{display:block;font-size:12px;overflow-wrap:anywhere;margin-top:10px}
#tgq .citation-domain{text-decoration:none;color:inherit}
#tgq .citation-domain:hover{text-decoration:underline}
#tgq .report-gist #next-step{margin:24px 0 0;padding:22px 0 0;border-top:1px solid var(--border)}
#tgq .report-gist .ns-verdict{display:none}
#tgq .report-gist #next-step-title{font-size:21px;margin:0 0 16px}
#tgq .report-gist .ns-grid{display:block}
#tgq .report-gist .ns-card{padding:0;border:0;background:none;box-shadow:none;margin:0 0 24px}
#tgq .report-gist .ns-card h3{font-size:17px}
#tgq .report-gist .ns-card p{font-size:14px;margin:10px 0 16px}
#tgq .report-gist .ns-button{display:block;font-size:14px;padding:12px;text-align:center;background:var(--accent);color:#121212}
#tgq .report-gist .ns-link{font-size:14px}
#tgq .report-gist .saved-report-next{padding:20px 0 0;margin:24px 0 0;border:0;border-radius:0;border-top:1px solid var(--border)}
#tgq .report-gist .saved-report-next h2{font-size:20px}
#tgq .report-gist .saved-report-next p{font-size:14px}
#tgq .report-gist .saved-report-next a{display:block;text-align:center;font-size:14px}
#tgq .report-gist{position:static}
#tgq .chart-disclosure{margin:18px 0 24px}
#tgq .chart-disclosure[open]>summary{font-weight:700;font-synthesis:weight}
#tgq .report-main .health-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#tgq .report-main .health-card{padding:18px}
#tgq .report-main .audit-pips i{display:block;width:24px;height:6px;border-radius:2px}
#tgq .report-main .audit-pips .pass{background:var(--chart-pass)}
#tgq .report-main .audit-pips .fail{background:var(--chart-fail)}
#tgq .presence-body .report-ring{width:76px;height:76px}
#tgq .presence-body .ring-center{width:59px;height:59px}
#tgq .presence-body .ring-center strong{font-size:25px}
#tgq .presence-copy>p:first-child{display:none}
#tgq .presence-body{margin-top:8px}
#tgq .presence-copy .subtle{font-size:12px;line-height:1.4;margin-top:4px}
#tgq .report-main .report-section:first-of-type{padding-bottom:16px}
#tgq .measured-questions{margin-top:10px}
#tgq .report-main .chart-disclosure .section-description{margin-bottom:12px}
@media(max-width:767px){#tgq .report-main .health-grid{grid-template-columns:1fr}}
#tgq #result{--series-first:#2457a6;--series-second:#b7470d}
#tgq .chart-legend span:before{background:var(--series-first)}
#tgq .chart-legend .series-1:before{background:var(--series-second)}
#tgq .plot-axis{height:22px;position:relative;margin:18px 44px 0 135px;border-bottom:1px solid var(--border);font-size:11px;color:var(--ink)}
#tgq .plot-axis span{position:absolute;bottom:4px;transform:translateX(-50%)}
#tgq .plot-axis span:first-child{transform:none}
#tgq .plot-axis span:last-child{transform:translateX(-100%)}
#tgq .plot-metric{display:grid;grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px}
#tgq .plot-bar{height:13px;border-radius:3px;overflow:hidden;background:var(--chart-track)}
#tgq .plot-bar i,#tgq .plot-bar.series-1 i{opacity:1;background:var(--series-first)}
#tgq .plot-bar.series-1 i{background:var(--series-second)}
#tgq .plot-value{font-size:12px;text-align:right;font-variant-numeric:tabular-nums}
#tgq .plot-series{gap:7px}
#tgq .plot-row{padding:10px 0}
#tgq .plot-name{gap:7px!important;flex-wrap:wrap}
#tgq .plot-name .result-brand-name{min-width:0!important;font-size:13px}
#tgq #result .plot-name .result-brand-logo{width:23px;height:23px;flex-basis:23px}
#tgq #result .plot-name .result-subject-tag{margin:0;font-size:11px}
#tgq .plot-subject{background:var(--tint);box-shadow:inset 3px 0 var(--accent);padding-left:0;padding-right:0}
#tgq .plot-subject .result-brand-name{font-weight:700}
#tgq .plot-subject .plot-name{min-width:0;padding-inline-start:12px}
#tgq .plot-name .result-brand-name{overflow-wrap:anywhere}
#tgq .comparison-table-view{margin-top:12px}
#tgq .comparison-table-view>summary{font-size:14px;cursor:pointer;min-height:36px;padding:8px 0}
#tgq .comparison-table-view[open]>summary{margin-bottom:12px}
@media(max-width:767px){#tgq .plot-axis{margin-left:0}
#tgq .plot-name{display:flex;margin-bottom:7px}
#tgq .plot-row{padding:10px 0}
#tgq .plot-subject{padding-left:0;padding-right:0}
#tgq .plot-series{gap:6px}}
#tgq .citation-total{font-size:14px;margin:14px 0}
#tgq .citation-count{display:block;font-size:11px;white-space:nowrap;margin-top:5px;opacity:.8}
#tgq .citation-domain .result-brand-name{overflow-wrap:anywhere}
#tgq .citation-table .result-brand-identity{flex-wrap:nowrap!important}
#tgq .scan-answer{animation:none;min-height:220px}
#tgq .story-art-heading{font-size:18px;font-weight:600;color:#173953;margin-bottom:18px}
#tgq .story-rows{display:grid;gap:12px}
#tgq .story-row{display:flex;align-items:center;gap:14px;min-height:34px;animation:story-arrive .8s ease-out both}
#tgq .story-row-label{flex:0 1 52%;font-size:15px;line-height:1.3;color:#173953}
#tgq .story-line{display:block;flex:1;height:7px;border-radius:5px;background:linear-gradient(90deg,#a9d8ef,#dce8ef,#a9d8ef);background-size:200% 100%;animation:story-flow 3.8s ease-in-out infinite}
#tgq .story-row:nth-child(2) .story-line{animation-delay:.6s}
#tgq .story-row:nth-child(3) .story-line{animation-delay:1.2s}
#tgq .story-art-caption{font-size:12px!important;line-height:1.4;margin-top:20px;color:#3c5664}
#tgq .scan-scene[data-chapter="1"] .story-row{border:1px solid #d8e5e6;background:#f7fbfc;padding:8px 10px;border-radius:8px}
#tgq .scan-scene[data-chapter="2"] .story-line{height:12px;background:radial-gradient(circle,#7bacbc 3px,transparent 4px) 0 50%/18px 12px;animation:story-samples 4s ease-in-out infinite}
#tgq .scan-scene[data-chapter="4"] .story-row,#tgq .scan-scene[data-chapter="6"] .story-row{border-left:2px solid #a8cfc2;padding-left:14px}
#tgq .scan-scene[data-chapter="5"] .story-line,#tgq .scan-scene[data-chapter="7"] .story-line{height:18px;flex:0 0 18px;border:1px solid #a6bbc9;background:#f1f6f8;border-radius:4px;animation:story-breathe 4s ease-in-out infinite}
#tgq .scan-learning-controls{justify-content:flex-start}
#tgq .scan-learning-count{margin-right:auto}
#tgq .scan-learning-controls button{font-size:13px}
#tgq .scan-scene[data-paused="true"] *{animation-play-state:paused!important}
@keyframes story-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes story-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes story-samples{0%,100%{opacity:.45;background-position:0 50%}50%{opacity:1;background-position:18px 50%}}
@keyframes story-breathe{0%,100%{opacity:.5}50%{opacity:1}}
@media(max-width:680px){#tgq .scan-scene{min-height:0;padding-bottom:24px}
#tgq .scan-answer{min-height:220px;width:100%;padding:18px 16px}
#tgq .story-row-label{font-size:14px}
#tgq .story-art-caption{font-size:11px!important}
#tgq .scan-learning-controls{gap:8px}
#tgq .scan-learning-count{margin-right:0}
#tgq .scan-learning-controls button{flex:1 1 auto}
#tgq .scan-learning-controls button:last-child{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#tgq .scan-scene *{animation:none!important;transition:none!important}
#tgq .story-row{opacity:1;transform:none}}
#tgq .scan-scene[data-paused="true"] .story-row{animation:none;opacity:1;transform:none}
#tgq .report-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}
#tgq #result .result-eyebrow{font-size:28px;line-height:1.25;font-weight:600;color:var(--ink);letter-spacing:0;text-transform:none;margin-bottom:18px}
#tgq #result .result-heading h1{display:block}
#tgq #result .result-title-copy{display:block}
#tgq #result .result-heading h1>.result-brand-logo{display:none}
#tgq .report-main .result-heading h1{font-size:34px;line-height:1.2}
#tgq .report-main #measured-at{font-size:15px;max-width:none}
#tgq .report-topic{display:block;font-size:22px;color:var(--ink);line-height:1.4;margin:20px 0 8px}
#tgq .report-date{display:block;font-size:15px;margin:0}
#tgq #result .report-main .presence-section{display:block;padding:28px 0}
#tgq #result .report-main .presence-section>h2{font-size:25px}
#tgq #result .report-main .presence-section>.section-description{font-size:16px;margin:10px 0 24px}
#tgq #result .presence-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
#tgq #result .presence-card{padding:22px 18px;border:1px solid var(--border);border-radius:14px;background:var(--panel);min-width:0}
#tgq #result .presence-card .engine-label{justify-content:flex-start;white-space:normal;font-size:18px;min-height:48px}
#tgq #result .presence-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
#tgq #result .presence-metric{min-width:0;text-align:left;border-top:3px solid var(--accent);padding-top:16px}
#tgq #result .presence-metric+.presence-metric{border-left:1px solid var(--border);padding-left:14px}
#tgq #result .metric-heading{font-size:16px;line-height:1.4;min-height:45px;margin:0 0 12px}
#tgq #result .presence-metric .report-ring{width:104px;height:104px;max-width:100%;aspect-ratio:1;flex-basis:auto;margin:0 0 14px;background-color:var(--chart-track)}
#tgq #result .presence-metric .ring-center{width:80%;height:80%;background:var(--panel)}
#tgq #result .presence-metric .ring-center strong{font-size:32px}
#tgq #result .presence-metric .ring-center>span{font-size:15px;opacity:1}
#tgq #result .metric-description{font-size:15px;line-height:1.5;margin:0;overflow-wrap:anywhere}
#tgq #result .metric-coverage{font-size:14px;line-height:1.5;margin-top:20px;padding-top:14px;border-top:1px solid var(--border)}
#tgq #result .measured-questions{font-size:15px;margin-top:24px;padding:16px 0;border-top:1px solid var(--border)}
#tgq #result .measured-questions summary{min-height:28px;cursor:pointer;color:var(--blue)}
#tgq #result .measured-questions p{margin-top:12px;line-height:1.6}
#tgq #result .health-overview{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;background:var(--tint);border:1px solid var(--border);padding:24px;border-radius:10px}
#tgq #result .health-overview h3{font-size:18px;margin:0 0 12px}
#tgq #result .audit-coverage-count{font-size:22px;line-height:1.5;margin:0}
#tgq #result .audit-findings p{font-size:16px;margin:10px 0}
#tgq #result .citation-pages{margin-top:8px;font-size:14px}
#tgq #result .citation-pages summary{cursor:pointer;color:var(--blue);padding:8px 0;min-height:40px}
#tgq #result .citation-page{display:block;color:var(--blue);font-size:14px;overflow-wrap:anywhere;margin:8px 0;padding:4px 0}
#tgq #result .citation-unavailable{display:block;font-size:12px;margin-top:6px;opacity:.75}
@media(max-width:1239px){#tgq .report-layout{display:block}
#tgq .report-gist{margin-top:24px}
#tgq .report-main{padding:28px}}
@media(max-width:767px){#tgq #result .presence-grid{grid-template-columns:1fr}
#tgq .report-main{padding:20px}
#tgq #result .presence-card{padding:20px}
#tgq #result .result-eyebrow{font-size:24px}
#tgq .report-main .result-heading h1{font-size:28px}
#tgq .report-topic{font-size:20px}
#tgq #result .health-overview{grid-template-columns:1fr;padding:20px;gap:20px}
#tgq #result .presence-card .engine-label{min-height:0}
#tgq #result .presence-metric .report-ring{width:112px;height:112px}
#tgq #result .presence-metrics{gap:16px}}
@media(max-width:380px){#tgq #result .presence-card{padding:16px}
#tgq #result .presence-metric .report-ring{width:88px;height:88px}
#tgq #result .presence-metric+.presence-metric{padding-left:10px}
#tgq #result .presence-metrics{gap:10px}
#tgq #result .metric-heading{font-size:15px}}
#tgq .scan-recovery{width:min(1160px,calc(100% - 80px));margin:0 auto;padding:16px 0;border-bottom:1px solid #0e3b7e;font-family:Haffer,Arial,sans-serif;font-size:17px;line-height:1.5}
#tgq .scan-recovery a{display:inline-flex;align-items:center;min-height:44px;color:#0e3b7e;text-underline-offset:4px}
#tgq .scan-recovery a:focus-visible{outline:3px solid #0e3b7e;outline-offset:4px}
#tgq #return-results{margin-top:24px}
@media(max-width:680px){#tgq .scan-recovery{width:calc(100% - 40px);padding:12px 0}
#tgq #return-results{width:100%}}
#tgq .wait-capture{display:block;margin:22px 0 0;padding:22px 24px;background:var(--panel);border:1px solid var(--border);text-align:left}
#tgq .wait-capture h2{font-size:24px;line-height:1.2}
#tgq .wait-capture>p{margin-top:8px;font-size:17px}
#tgq .wait-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-top:16px}
#tgq .wait-row input{min-height:50px}
#tgq .wait-row button{min-width:0;white-space:nowrap}
#tgq .wait-capture .wait-change{margin-top:14px;min-height:44px;padding:8px 16px;font-size:16px}
#tgq .wait-capture .wait-fine{margin-top:14px;font-size:14px;color:var(--blue)}
#tgq .next-step{margin-top:40px;padding-top:32px;border-top:1px solid var(--border)}
#tgq .ns-verdict{display:inline;font-size:20px;line-height:1.5;background-image:linear-gradient(#a0cfa8,#a0cfa8);background-repeat:no-repeat;background-position:0 48%;background-size:100% 68%;-webkit-box-decoration-break:clone;box-decoration-break:clone}
#tgq .next-step h2{margin-top:12px;font-size:32px;line-height:1.12;letter-spacing:-.03em}
#tgq .ns-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;margin-top:24px}
#tgq .ns-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:26px;background:var(--panel);border:1px solid var(--border);border-radius:16px}
#tgq .ns-card p{font-size:17px;max-width:46ch}
#tgq .ns-card a{margin-top:auto}
#tgq .ns-primary{background:var(--tint)}
#tgq .ns-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin-top:8px;padding:13px 22px;border:1px solid var(--ink);background:var(--accent);color:var(--ink);font-size:17px;text-decoration:none}
#tgq .ns-button:hover{filter:brightness(.97)}
#tgq .ns-link{display:inline-flex;align-items:center;min-height:44px;font-size:17px}
@media(max-width:680px){#tgq .wait-capture{margin-top:18px;padding:18px 16px}
#tgq .wait-capture h2{font-size:22px}
#tgq .wait-row{grid-template-columns:minmax(0,1fr)}
#tgq .wait-row button,#tgq .wait-capture .wait-change{width:100%}
#tgq .next-step{margin-top:28px;padding-top:24px}
#tgq .next-step h2{font-size:27px}
#tgq .ns-grid{grid-template-columns:minmax(0,1fr);gap:16px}
#tgq .ns-card{padding:20px}
#tgq .ns-button{width:100%}}
#tgq .wait-clock{margin:18px 0 24px;text-align:left}
#tgq .wait-usual,#tgq .wait-elapsed{font-size:15px;line-height:1.5}
#tgq .wait-elapsed{margin-top:8px;color:var(--muted,var(--blue))}
#tgq .wait-bar{height:5px;margin-top:14px;overflow:hidden;background:var(--tint);border-radius:4px}
#tgq .wait-bar i{display:block;width:30%;height:100%;background:var(--accent);animation:scan-wait-sweep 2.6s ease-in-out infinite}
@keyframes scan-wait-sweep{0%,100%{transform:translateX(-100%)}50%{transform:translateX(330%)}}
#tgq .wait-option{margin-top:16px;padding:18px 22px;border:1px solid var(--border);border-radius:14px;background:var(--panel);text-align:left}
#tgq .wait-option>summary{cursor:pointer;font-size:18px;font-weight:600;min-height:28px}
#tgq .wait-option .wait-capture{margin:14px 0 0;padding:0;border:0;box-shadow:none}
#tgq .scan-quiz-body{padding-top:16px}
#tgq .scan-quiz-body>p{font-size:16px;line-height:1.5}
#tgq .scan-quiz-count{margin-top:18px;font-size:14px!important;color:var(--blue)}
#tgq .scan-quiz fieldset{min-width:0;padding:0;margin:10px 0;border:0}
#tgq .scan-quiz legend{font-size:20px;line-height:1.3;font-weight:600}
#tgq .scan-quiz-choices{display:grid;gap:10px;margin-top:16px}
#tgq .scan-quiz-choices label{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px;border:1px solid var(--border);border-radius:8px;cursor:pointer}
#tgq .scan-quiz-choices input{width:18px;height:18px;min-height:0;margin:0;accent-color:var(--blue)}
#tgq .scan-quiz-feedback{margin-top:12px;min-height:24px}
#tgq .scan-quiz-controls{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
#tgq .scan-quiz-controls button{min-height:44px;padding:10px 16px;font-size:16px}
@media(prefers-reduced-motion:reduce){#tgq .wait-bar i{animation:none;transform:translateX(100%)}}
@media(max-width:680px){#tgq .wait-option{padding:16px}
#tgq .scan-quiz-controls button{width:100%}}
#tgq #progress .wait-option .wait-capture{border:0;box-shadow:none;padding:0;background:none}
#tgq .wait-row button{grid-column:auto}
#tgq .scan-quiz-choices label{flex-direction:row;text-align:left}
#tgq .scan-quiz-choices input{padding:0;flex:0 0 18px}
#tgq .wait-email-option .wait-capture{margin-top:0}
#tgq #progress .scan-mark,#tgq #progress .scan-scene{display:none}
#tgq #progress{text-align:left}
#tgq #progress h1{font-weight:400}
#tgq #progress-message{margin:10px 0 22px;max-width:none}
#tgq .scan-steps-bar{height:8px;border-radius:999px;background:var(--border);overflow:hidden}
#tgq .scan-steps-bar i{display:block;width:3%;height:100%;border-radius:inherit;background:var(--blue);transition:width 1s linear}
#tgq .scan-steps-meta{margin:10px 0 20px;font-size:15px;color:var(--blue)}
#tgq .scan-steps-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
#tgq .scan-steps-list li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start;font-size:17px;line-height:1.35;opacity:.42;transition:opacity .3s}
#tgq .scan-steps-list li[data-state="done"],#tgq .scan-steps-list li[data-state="active"]{opacity:1}
#tgq .scan-step-mark{display:grid;place-items:center;box-sizing:border-box;width:20px;height:20px;margin-top:1px;border:1.5px solid var(--border);border-radius:50%}
#tgq .scan-steps-list li[data-state="done"] .scan-step-mark{border-color:var(--blue);background:var(--blue)}
#tgq .scan-steps-list li[data-state="done"] .scan-step-mark::after{content:"";width:9px;height:5px;border:2px solid var(--panel);border-top:0;border-right:0;transform:translateY(-1px) rotate(-45deg)}
#tgq .scan-steps-list li[data-state="active"] .scan-step-mark{border:2px solid var(--blue)}
#tgq .scan-steps-list li[data-state="active"] .scan-step-mark::after{content:"";width:8px;height:8px;border-radius:50%;background:var(--blue);animation:scan-step-pulse 1.2s ease-in-out infinite}
@keyframes scan-step-pulse{0%,100%{transform:scale(.6);opacity:.5}50%{transform:scale(1);opacity:1}}
#tgq #progress .scan-guidance{font-size:15px;color:var(--blue)}
@media(prefers-reduced-motion:reduce){#tgq .scan-steps-bar i{transition:none}
#tgq .scan-steps-list li[data-state="active"] .scan-step-mark::after{animation:none}}
#tgq #progress h1{font-size:28px}
@media(max-width:680px){#tgq #progress h1{font-size:24px}}
#tgq{background:transparent;margin:0 auto;width:min(1120px,100%);text-align:left;color:#0b0b0c}
#tgq .tgq-main{width:100%;min-height:52vh;padding:24px 0 56px}
#tgq button:not(.secondary):not(.text-button),#tgq .ns-button{border-radius:12px}
#tgq input{border-radius:12px}
