/* aipostoz SEO – white + indigo website theme (loaded after the extension CSS) */
:root, :root:not([data-theme="light"]) {
  --bg: #ffffff; --card: #f6f7fb; --text: #0f172a; --muted: #475569; --line: #e2e8f0;
  --accent: #4f46e5; --good: #15803d; --mid: #b45309; --bad: #b91c1c;
  --ink: #0f172a; --soft: #eef2ff;
}
@media (prefers-color-scheme: dark) {
  :root, :root:not([data-theme="light"]) {
    --bg: #ffffff; --card: #f6f7fb; --text: #0f172a; --muted: #475569; --line: #e2e8f0;
    --accent: #4f46e5; --good: #15803d; --mid: #b45309; --bad: #b91c1c;
  }
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #ffffff; color: var(--ink); font: 16px/1.55 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: #4338ca; }
a:hover { color: #312e81; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid #6366f1; outline-offset: 2px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 30; }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-tag { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--soft); padding: 3px 8px; border-radius: 99px; }
.main-nav { display: flex; gap: 6px 18px; flex-wrap: wrap; align-items: center; font-size: 15px; font-weight: 500; }
.main-nav > a, .dd > summary { color: #334155; text-decoration: none; padding: 8px 2px; cursor: pointer; }
.main-nav > a:hover, .dd > summary:hover { color: var(--accent); }
.dd { position: relative; }
.dd > summary { list-style: none; }
.dd > summary::-webkit-details-marker { display: none; }
.dd > summary::after { content: ' ▾'; font-size: 12px; }
.dd-menu { position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; min-width: 250px; box-shadow: 0 16px 40px rgba(15,23,42,.12); display: grid; z-index: 40; }
.dd-menu a { padding: 9px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.dd-menu a:hover { background: var(--card); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 15px; padding: 11px 16px; min-height: 44px; border-radius: 10px; border: 1px solid transparent; text-decoration: none; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { color: #fff; opacity: .9; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { color: #fff; filter: brightness(1.08); }
.btn-line { background: #fff; color: var(--ink); border-color: #cbd5e1; }
.btn-line:hover { border-color: var(--accent); color: var(--ink); }
.limit-banner { background: #fef3c7; color: #78350f; padding: 10px 16px; text-align: center; font-weight: 600; }

/* Tool intro */
.tool-intro { background: var(--card); border-bottom: 1px solid var(--line); padding: 40px 0 32px; margin-bottom: 8px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.tool-intro h1 { margin: 6px 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.03em; }
.lead { margin: 0; font-size: 18px; color: var(--muted); max-width: 760px; }

/* Make the extension pages fit the website */
main .page { max-width: 1200px; padding-top: 16px; }
main .page .top { display: none; }
main .card { background: var(--card); }

/* Generic content blocks */
.section { padding: 56px 0; }
.section h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; margin: 0 0 10px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card-box { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
a.card-box:hover { border-color: var(--accent); color: var(--ink); }
.card-box h3 { margin: 0; font-size: 18px; }
.card-box p { margin: 0; color: var(--muted); font-size: 15px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 13px; font-weight: 600; color: var(--accent); }

/* FAQ */
.faq { padding: 40px 16px 64px; max-width: 860px; }
.faq h2 { font-size: 30px; letter-spacing: -0.02em; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; font-size: 17px; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #f8fafc; margin-top: 40px; font-size: 14px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 24px; }
.foot-grid nav { display: grid; gap: 6px; align-content: start; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-grid strong { color: var(--ink); }
.copy { padding-bottom: 28px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .main-nav { order: 3; width: 100%; } .dd-menu { position: static; box-shadow: none; } }

/* Forms used by the new tools */
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #334155; }
.field input, .field select, .field textarea, .inp { font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; padding: 11px 12px; min-height: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.grow { flex: 1 1 260px; min-width: 0; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px; margin-bottom: 16px; }
.panel h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pill-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pill-tabs a, .pill-tabs button { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 14px; min-height: 40px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: #334155; text-decoration: none; cursor: pointer; }
.pill-tabs .on { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress { height: 8px; border-radius: 6px; background: var(--line); overflow: hidden; margin: 10px 0 6px; }
.progress > div { height: 100%; background: var(--accent); width: 0; transition: width .3s; }
.out { width: 100%; min-height: 320px; font: 13px/1.5 'JetBrains Mono', ui-monospace, monospace; border: 1px solid #1e293b; background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 14px; resize: vertical; }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { background: #f8fafc; color: var(--muted); font-size: 12px; font-weight: 700; position: sticky; top: 0; cursor: default; }
table.t th.sort { cursor: pointer; }
table.t td.url { overflow-wrap: anywhere; max-width: 420px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.tag.ok { background: #dcfce7; color: #166534; }
.tag.no { background: #fee2e2; color: #991b1b; }
.tag.warn { background: #fef3c7; color: #92400e; }
.tag.info { background: #e0e7ff; color: #3730a3; }
.msg-err { color: var(--bad); font-weight: 600; }
.note { background: var(--soft); border: 1px solid #c7d2fe; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #312e81; }
.check-line { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 500; color: var(--ink); }
.check-line input { width: 18px; height: 18px; }

/* Home */
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hero { background: var(--card); border-bottom: 1px solid var(--line); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.035em; }
.hero-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; max-width: 640px; display: grid; gap: 10px; }
.hero-form .inp { font-size: 17px; }
.modes { border: 0; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.mode { display: flex; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.mode:has(input:checked) { border-color: var(--accent); background: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.ticks li::before { content: '✓ '; color: var(--good); font-weight: 800; }
.sample { flex: 1 1 360px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(15,23,42,.08); }
.sample-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.sample-top span:first-child { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.sample-score { display: flex; align-items: center; gap: 18px; }
.ring-s { width: 104px; height: 104px; border-radius: 50%; background: conic-gradient(#d97706 calc(var(--p) * 1%), #e5e7eb 0); display: grid; place-items: center; flex: none; }
.ring-s span { width: 86px; height: 86px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 32px; font-weight: 800; }
.amber { color: #b45309; font-size: 20px; }
.green { color: #15803d; }
.sample-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sample-groups div { background: #f8fafc; border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.sample-groups span { font-size: 13px; font-weight: 700; color: var(--muted); }
.sample-groups b { font-size: 22px; }
.sample-crit { background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.sample-crit b { color: #b91c1c; }
.soft { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.card-box.dark { background: var(--ink); color: #fff; }
.card-box.dark p { color: #cbd5e1; }
.card-box.dark .mono { color: #a5b4fc; }
.two-promo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.promo { border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.promo h2 { margin: 0; font-size: 28px; letter-spacing: -0.02em; }
.promo p { margin: 0; }
.promo.dark { background: var(--ink); color: #fff; }
.promo.dark p { color: #cbd5e1; }
.eyebrow.light { color: #a5b4fc; }
.soft-promo { background: var(--soft); border: 1px solid #e0e7ff; }

/* Text pages */
.prose { max-width: 820px; padding-top: 24px; padding-bottom: 40px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }

/* ---------- v3: announcement, technology cards ---------- */
.announce { background: #1e1b4b; color: #e0e7ff; font-size: 14px; padding: 8px 0; text-align: center; }
.announce a { color: #fff; font-weight: 700; margin-left: 6px; }
.tech-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 8px 0 14px; }
.tcard { border: 1px solid #e5e7eb; border-left: 4px solid #16a34a; border-radius: 10px; padding: 10px 12px; display: grid; gap: 3px; background: #fff; align-content: start; min-width: 0; }
.tcard.off { border-left-color: #9ca3af; }
.tcard span { font-size: 12px; color: #6b7280; }
.tcard b { font-size: 15px; }
.tcard.on b { color: #16a34a; }
.tcard em { font-size: 12px; color: #6b7280; font-style: normal; }
code.tid { display: inline-block; font: 600 12px 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; background: #eef2ff; color: #4338ca; border-radius: 5px; padding: 1px 6px; cursor: copy; overflow-wrap: anywhere; margin: 1px 0; }
code.tid.copied { background: #dcfce7; color: #166534; }
.tech-group { border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.tg-head { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #6b7280; padding: 9px 14px 5px; }
.tech-row { display: grid; grid-template-columns: minmax(140px, 240px) 1fr; gap: 12px; padding: 8px 14px; border-top: 1px solid #f1f2f6; font-size: 14px; }
.tr-name { font-weight: 700; min-width: 0; }
.tv { font: 600 11px 'JetBrains Mono', ui-monospace, monospace; color: #6b7280; }
.tr-val { min-width: 0; }
.tr-ev { font-size: 12px; color: #6b7280; overflow-wrap: anywhere; }
.tech-report { margin: 18px 0; padding: 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fafafa; }
.tech-report h2 { margin: 0 0 8px; font-size: 18px; }
@media (max-width: 560px) { .tech-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Ads (AdSense + own banners) ---------- */
.ad-wrap { margin-top: 28px; margin-bottom: 28px; }
.ad-slot { margin: 32px auto; text-align: center; clear: both; max-width: 100%; overflow: hidden; }
.ad-label { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-body { min-height: 90px; display: flex; justify-content: center; align-items: center; }
.ad-type-adsense .ad-body { display: block; min-height: 100px; }
.ad-type-banner .ad-body { min-height: 0; }
.ad-body img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.post-body .ad-slot { margin: 36px 0; }
.ad-dev-mobile { display: none; }
@media (max-width: 720px) {
  .ad-dev-desktop { display: none; }
  .ad-dev-mobile { display: block; }
}

/* ---------- Guides (blog) ---------- */
.sec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-row h2 { margin: 0; }
.sec-row a { font-weight: 700; text-decoration: none; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.post-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--ink); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; background: var(--card); display: block; }
.pc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-body h3 { margin: 0; font-size: 18px; line-height: 1.35; text-wrap: balance; }
.pc-body p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cat-pills a { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.cat-pills a.on, .cat-pills a:hover { border-color: var(--accent); color: var(--accent); }
.pager { display: flex; gap: 6px; justify-content: center; margin: 32px 0 8px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 700; }
.pager a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

.post-head { max-width: 820px; padding-top: 32px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.post-head h1 { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.18; margin: 0 0 12px; text-wrap: balance; letter-spacing: -.01em; }
.post-meta { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.post-meta a { color: var(--ink); font-weight: 700; text-decoration: none; }
.post-cover { max-width: 980px; margin: 0 auto 8px; }
.post-cover img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 16px; display: block; background: var(--card); }
.post-body { font-size: 17.5px; line-height: 1.75; }
.post-body > * { max-width: 72ch; }
.post-body h2 { font-size: 26px; line-height: 1.3; margin: 40px 0 10px; text-wrap: balance; }
.post-body h3 { font-size: 20px; margin: 28px 0 8px; }
.post-body p { margin: 0 0 18px; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; }
.post-body blockquote { margin: 24px 0; padding: 4px 20px; border-left: 4px solid var(--accent); color: var(--muted); }
.post-body pre, .post-body code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; }
.post-body code { background: var(--card); padding: 2px 6px; border-radius: 5px; }
.post-body pre { background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: 12px; overflow-x: auto; }
.post-body pre code { background: none; padding: 0; color: inherit; }
.post-body table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; font-size: 15px; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.author-box { max-width: 820px; display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin-top: 32px; margin-bottom: 32px; background: var(--card); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.about-author img { width: 96px; height: 96px; }
.author-box p { margin: 6px 0; color: var(--muted); font-size: 15px; }
.author-box > div { min-width: 0; }
.related { padding-bottom: 40px; }
.related h2 { font-size: 22px; margin: 0 0 16px; }
@media (max-width: 560px) {
  .post-body { font-size: 16.5px; }
  .author-box { flex-direction: column; }
}
/* Hide the label and space when Google has no ad to show */
.ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }

/* ---------- Landscape top banner, vertical sidebar banner, side rails ---------- */
.ad-top-wrap { margin-top: 20px; margin-bottom: 4px; }
.ad-top-wrap .ad-slot { margin: 0 auto; }
.ad-shape-vertical, .ad-rail { width: var(--ad-w, 160px); max-width: 100%; margin: 0; }
.ad-shape-vertical .ad-body, .ad-rail .ad-body { min-height: 250px; }
.ad-shape-vertical.ad-type-adsense .ad-body, .ad-rail.ad-type-adsense .ad-body { min-height: 600px; }
.post-body { margin: 0 auto; }
.post-layout { display: grid; grid-template-columns: minmax(0, 820px) 300px; gap: 40px; justify-content: center; align-items: start; }
.post-layout .post-body { margin: 0; }
.post-side { position: sticky; top: 96px; padding-top: 24px; }
@media (min-width: 1100px) {
  .post:has(.post-layout) .post-head, .post:has(.post-layout) .post-cover { max-width: 1192px; }
  .post:has(.post-layout) .post-head > * { max-width: 820px; }
  .post:has(.post-layout) .author-box { margin-left: max(16px, calc(50% - 580px)); }
}
@media (max-width: 1099px) {
  .post-layout { grid-template-columns: minmax(0, 820px); }
  .post-side { display: none; }
}
.ad-rail { position: fixed; top: 110px; z-index: 20; display: none !important; }
.ad-rail_left { left: calc(50% - 600px - 24px - var(--ad-w)); }
.ad-rail_right { right: calc(50% - 600px - 24px - var(--ad-w)); }
@media (min-width: 1488px) { .ad-rail-120 { display: block !important; } }
@media (min-width: 1568px) { .ad-rail-160 { display: block !important; } }
@media (min-width: 1848px) { .ad-rail-300 { display: block !important; } }
.ad-rail { transition: opacity .2s; }
.ad-rail.ad-rail-off { opacity: 0; pointer-events: none; }

/* ---------- AI content detector ---------- */
.aid textarea { font-size: 16px; line-height: 1.6; min-height: 240px; }
.aid-bar { margin-top: 10px; align-items: center; gap: 8px; flex-wrap: wrap; }
.aid-status { min-height: 0; margin: 0 0 12px; font-weight: 600; }
.aid-status:empty { display: none; }
.aid-status.err { color: var(--bad); background: #fef2f2; border: 1px solid #fecaca; border-radius: 12px; padding: 12px 14px; }
.aid-top { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.aid-verdict { flex: 1 1 260px; min-width: 0; }
.aid-verdict h2 { margin: 4px 0 6px; font-size: 26px; text-wrap: balance; }
.aid-verdict p { margin: 4px 0; }
.aid-ring { --c: #d97706; width: 132px; height: 132px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), #e5e7eb 0); display: grid; place-items: center; flex: none; }
.aid-ring span { width: 108px; height: 108px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.aid-ring.lv-high { --c: #dc2626; } .aid-ring.lv-mid { --c: #d97706; } .aid-ring.lv-low { --c: #16a34a; }
.aid-deep { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--card); }
.aid-deep > div { flex: 1 1 320px; min-width: 0; }
.aid-deep h2 { font-size: 18px; }
.aid-deep .btn:disabled { opacity: .6; cursor: default; }
.aid-hl { font-size: 16px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 12px; padding: 16px; max-height: 560px; overflow-y: auto; }
.aid-s { border-radius: 4px; padding: 2px 0; cursor: help; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.aid-s:focus { outline: 2px solid var(--accent); }
.aid-s.lv-high, .aid-legend .lv-high { background: #fee2e2; }
.aid-s.lv-mid, .aid-legend .lv-mid { background: #fef3c7; }
.aid-s.lv-low, .aid-legend .lv-low { background: transparent; }
.aid-legend { display: flex; gap: 8px; flex-wrap: wrap; }
.aid-legend span { padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line); }
.aid-tip { margin: 10px 0 0; color: var(--ink); }
.aid-tip:empty { display: none; }
.aid-val { overflow-wrap: anywhere; min-width: 120px; }

.brand-logo { display: block; width: auto; max-width: 220px; object-fit: contain; }
@media (max-width: 560px) { .brand-logo { max-width: 150px; max-height: 44px; } }
