.ytv-dashboard{margin:24px 0;padding:22px;border:1px solid var(--line,#cbd7df);border-radius:20px;background:var(--card,#fff);color:var(--ink,#102d43);text-align:start}.ytv-dashboard h3{font-size:23px;margin:0 0 10px}.ytv-dashboard h4{font-size:18px;margin:26px 0 12px}.ytv-note{font-size:13px;line-height:1.6;color:var(--muted,#61778a)}.ytv-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.ytv-card{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line,#d2dfeb);border-radius:14px;background:var(--bg,#f5f9fc)}.ytv-card strong{font-size:30px;line-height:1.2}.ytv-card small{font-size:12px;line-height:1.5;color:var(--muted,#61778a)}.ytv-actions{display:flex;flex-wrap:wrap;gap:10px}.ytv-dashboard button{padding:9px 16px;border:1px solid var(--line,#cbd7df);border-radius:999px;background:var(--accent,#00478d);color:#fff;font:inherit;font-size:14px;cursor:pointer}.ytv-dashboard button:disabled{opacity:.5;cursor:wait}.ytv-dashboard select,.ytv-dashboard textarea{display:block;width:100%;max-width:100%;margin:10px 0;padding:10px 12px;border:1px solid var(--line,#cbd7df);border-radius:12px;background:var(--bg,#f5f9fc);color:inherit;font:inherit}.ytv-table{max-width:100%;overflow:auto;margin:12px 0}.ytv-table table{width:100%;border-collapse:collapse;text-align:start;font-size:14px}.ytv-table th,.ytv-table td{padding:10px 12px;border-bottom:1px solid var(--line,#d2dfeb);white-space:normal;overflow-wrap:anywhere}.ytv-table th{font-size:12px;color:var(--muted,#61778a);font-weight:600}.ytv-toggle{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;margin-top:16px}.ytv-toggle input{width:20px!important;height:20px!important;min-height:0!important;flex:none;accent-color:var(--accent,#00478d)}.ytv-import{margin:12px 0;padding:14px;border:1px solid var(--line,#d2dfeb);border-radius:14px}.ytv-import summary{cursor:pointer;font-weight:600;list-style:none}.ytv-import summary::-webkit-details-marker{display:none}.ytv-import input[type=file]{display:block;max-width:100%;margin:14px 0}.ytv-dashboard a{color:var(--accent,#00478d)}.ytv-sample-status{font-weight:600}.ytv-dashboard [role=alert]{color:#b03535}@media(max-width:520px){.ytv-dashboard{padding:16px}.ytv-grid{grid-template-columns:1fr 1fr}.ytv-card{padding:12px}.ytv-card strong{font-size:25px}.ytv-table th,.ytv-table td{padding:8px;font-size:12px}}

.ytv-answer{white-space:pre-wrap;line-height:1.65}

@media(max-width:850px){.ytv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.ytv-grid{grid-template-columns:1fr}}

/* Match the shared widget checkbox; override WordPress checkmark offsets. */
.ytv-toggle{flex-direction:row!important}.ytv-toggle>span{line-height:1.5}
.ytv-toggle input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;position:relative;display:inline-block;box-sizing:border-box!important;flex:0 0 26px;width:26px!important;height:26px!important;margin:0!important;padding:0!important;border:2px solid currentColor!important;border-radius:50%!important;background:transparent!important;color:inherit;cursor:pointer}.ytv-toggle input[type=checkbox]:checked{background:var(--primary-color,#00478d)!important;border-color:var(--primary-color,#00478d)!important}.ytv-toggle input[type=checkbox]:checked::before{content:""!important;position:absolute!important;display:block!important;float:none!important;inset:auto!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:16px!important;height:16px!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 6.5 12 13 4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.ytv-toggle input[type=checkbox]:focus-visible{outline:2px solid var(--accent,#00478d);outline-offset:3px}

/* Guided overview, with technical reports available only on request. */
.ytv-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ytv-header .ytv-note{margin:4px 0}.ytv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ytv-card{padding:20px;gap:10px}.ytv-card:last-child strong{font-size:23px}.ytv-dashboard .ytv-secondary{background:transparent;color:var(--accent,#00478d);border-color:var(--line,#cbd7df)}.ytv-dashboard [hidden]{display:none!important}.ytv-next{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0;padding:20px;border-radius:16px;background:var(--bg,#f1f7fc);border:1px solid var(--line,#d2dfeb)}.ytv-next h4,.ytv-setup h4{margin:0 0 6px}.ytv-next p{margin:0;font-size:14px;line-height:1.5}.ytv-next button{flex:none}.ytv-connected{color:var(--accent,#00478d);font-size:14px}.ytv-details{display:block;margin:12px 0!important;padding:16px!important;border:1px solid var(--line,#d2dfeb);border-radius:16px!important;background:var(--card,#fff)}.ytv-details summary{font:inherit!important;font-weight:600!important;cursor:pointer;list-style:none}.ytv-details summary::-webkit-details-marker{display:none}.ytv-details[open]>summary{margin-bottom:16px}.ytv-details summary:focus-visible{outline:2px solid var(--accent,#00478d);outline-offset:5px;border-radius:5px}.ytv-details>button{margin:6px 8px 6px 0}.ytv-details p{font-size:14px;line-height:1.6}.ytv-setup{padding:18px;border:1px solid var(--line,#d2dfeb);border-radius:16px;margin:18px 0}.ytv-setup>button{display:block;width:100%;text-align:start;margin-top:10px}.ytv-sources{padding:4px 0 16px}.ytv-source-row{display:grid;grid-template-columns:minmax(100px,1fr) 2fr 40px;align-items:center;gap:16px;margin:14px 0;font-size:14px}.ytv-source-row>strong{text-align:end}.ytv-source-row progress{appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:var(--line,#d2dfeb);color:var(--accent,#00478d)}.ytv-source-row progress::-webkit-progress-bar{background:var(--line,#d2dfeb)}.ytv-source-row progress::-webkit-progress-value{background:var(--accent,#00478d);border-radius:8px}.ytv-source-row progress::-moz-progress-bar{background:var(--accent,#00478d)}
@media(max-width:600px){.ytv-next{align-items:stretch;flex-direction:column}.ytv-card{padding:14px}.ytv-source-row{grid-template-columns:1.4fr 1fr 30px;gap:10px}.ytv-card strong{font-size:27px}.ytv-card:last-child strong{font-size:18px}}@media(max-width:380px){.ytv-grid{grid-template-columns:1fr}}

.ytv-dashboard button.ytv-source-button{display:inline-block;text-align:start;border:0!important;border-radius:4px!important;padding:3px 0!important;background:transparent!important;color:var(--accent,#00478d)!important;font-size:14px;line-height:1.5}.ytv-source-button:hover{text-decoration:underline}.ytv-source-button:focus-visible{outline:2px solid currentColor;outline-offset:4px}.ytv-source-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 32px));max-height:80vh;overflow:auto;margin:auto;padding:24px;border:1px solid var(--line,#cbd7df);border-radius:22px;background:var(--card,#fff);color:var(--ink,#102d43);box-shadow:0 20px 80px #001b3340;font:inherit}.ytv-source-dialog::backdrop{background:#001a335c;backdrop-filter:blur(3px)}.ytv-source-dialog .ytv-header h3{margin:0;font-size:22px}.ytv-source-dialog table td:first-child{overflow-wrap:anywhere}.ytv-source-dialog button{flex:none}

/* Readiness overview: full upper semicircle = 100%; numbers remain readable without color. */
.ytv-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:24px 0}.ytv-health-card{min-width:0;padding:24px;border:1px solid var(--line,#d2dfeb);border-radius:24px;background:var(--card,#fff);text-align:center}.ytv-health-card h4{margin:0 0 20px}.ytv-dial{position:relative;max-width:280px;margin:0 auto}.ytv-dial svg{display:block;width:100%;height:auto}.ytv-dial path{fill:none;stroke-width:14;stroke-linecap:round}.ytv-dial-track{stroke:var(--line,#d2dfeb)}.ytv-dial-value{stroke:var(--primary-color,var(--accent,#00478d))}.ytv-dial strong{position:absolute;bottom:12px;left:0;right:0;font-size:42px;font-weight:700;line-height:1.1}.ytv-health-caption{font-weight:600;margin:12px 0 8px}.ytv-health-card small{display:block;color:var(--muted,#61778a);line-height:1.5}.ytv-health-card .ytv-details{text-align:start;margin-top:24px!important}.ytv-check{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid var(--line,#d2dfeb);font-size:13px;line-height:1.5}.ytv-check strong{flex-shrink:0;font-size:12px}.ytv-health-next{padding:24px;border-radius:20px;background:var(--bg,#f1f7fc);border:1px solid var(--line,#d2dfeb)}.ytv-health-next h4{margin:0 0 12px}.ytv-health-next p,.ytv-health-next li{line-height:1.6}.ytv-health-next li{padding:5px 0}.ytv-health-next button{margin-top:12px}.ytv-dashboard button:focus-visible{outline:3px solid var(--accent,#00478d);outline-offset:4px}@media(max-width:620px){.ytv-health-grid{grid-template-columns:1fr;gap:16px}.ytv-health-card{padding:20px}.ytv-health-next{padding:20px}.ytv-check{flex-wrap:wrap;gap:4px}}

.ytv-question-suggestions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.ytv-question-suggestions p{flex-basis:100%;margin:0}.ytv-question-suggestions button{white-space:normal;text-align:left;max-width:100%}.ytv-grounding{width:100%;border:0;min-height:100px}
