/* OTB AI Brand Stress Test - scoped styles (everything lives under .otb-scan / .otb-report) */
.otb-scan,.otb-report{
  --otb-blue:#3157A7;--otb-blue-soft:#e8eef9;--otb-gold:#BD903A;--otb-gold-soft:#f7efe0;
  --otb-ink:#1b1f29;--otb-muted:#626875;--otb-line:#e3e6ec;--otb-bg:#ffffff;--otb-panel:#f7f8fa;
  --otb-green:#1f7a45;--otb-green-soft:#e3f3e9;--otb-amber:#a35a00;--otb-amber-soft:#fdf0dc;
  --otb-red:#b2232e;--otb-red-soft:#fbe5e6;--otb-grey:#5c6370;--otb-grey-soft:#eef0f3;
  color:var(--otb-ink);font-size:16px;line-height:1.55;
}
.otb-scan{max-width:960px;margin:0 auto}
.otb-scan *,.otb-report *{box-sizing:border-box}
.otb-scan [hidden]{display:none!important}

/* ---------- form ---------- */
.otb-scan__grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.otb-field{display:flex;flex-direction:column;gap:6px}
.otb-field label{font-weight:600;font-size:14px}
.otb-scan__grid input,.otb-scan__grid textarea{font:inherit;font-weight:400;padding:10px 12px;border:1px solid var(--otb-line);border-radius:8px;background:var(--otb-bg);color:var(--otb-ink)}
.otb-scan__grid input:focus,.otb-scan__grid textarea:focus{outline:2px solid var(--otb-blue);outline-offset:1px}
.otb-scan__wide{grid-column:1/-1}
.otb-scan__hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.otb-scan__btn,.otb-btn{margin-top:16px;padding:12px 22px;border:0;border-radius:8px;background:var(--otb-blue);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.otb-scan__btn:disabled{opacity:.55;cursor:wait}
.otb-btn--ghost{background:transparent;color:var(--otb-blue);border:1px solid var(--otb-blue);padding:8px 14px;font-size:14px;margin-top:10px}
.otb-scan__msg{min-height:1.5em;margin:12px 0 0;color:var(--otb-muted)}
.otb-scan__msg.is-error{color:var(--otb-red)}
.otb-scan__result{margin-top:36px}

/* ---------- shared ---------- */
.otb-muted{color:var(--otb-muted)}
.otb-note{color:var(--otb-muted);font-size:13px;margin:10px 0 0;font-style:italic}
.otb-chip{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.6;background:var(--otb-grey-soft);color:var(--otb-grey);white-space:nowrap}
.otb-chip--green{background:var(--otb-green-soft);color:var(--otb-green)}
.otb-chip--blue{background:var(--otb-blue-soft);color:var(--otb-blue)}
.otb-chip--amber{background:var(--otb-amber-soft);color:var(--otb-amber)}
.otb-chip--red{background:var(--otb-red-soft);color:var(--otb-red)}
.otb-chip--src{background:transparent;border:1px solid var(--otb-line);color:var(--otb-muted);font-weight:500}
.otb-chip--id{background:var(--otb-ink);color:#fff}
.otb-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.otb-ev{list-style:none;margin:10px 0 0;padding:0;font-size:14px}
.otb-ev li{display:flex;gap:8px;align-items:baseline;padding:4px 0;border-top:1px dashed var(--otb-line)}
.otb-ev li:first-child{border-top:0}
.otb-ev .otb-chip{flex:none}

/* ---------- report ---------- */
.otb-report{border:1px solid var(--otb-line);border-radius:14px;background:var(--otb-bg);overflow:hidden}
.otb-head{display:grid;grid-template-columns:1fr auto;gap:24px;padding:28px 32px;background:linear-gradient(135deg,var(--otb-blue-soft),#fff 60%);border-bottom:3px solid var(--otb-gold)}
.otb-eyebrow{margin:0 0 6px;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--otb-gold)}
.otb-head__brand{margin:0 0 6px;font-size:30px;line-height:1.15;color:var(--otb-ink)}
.otb-head__meta{margin:2px 0;font-size:14px}
.otb-head__score{display:flex;align-items:center;gap:18px}
.otb-head__verdict{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:220px}
.otb-head__verdict p{margin:0;font-size:13px}
.otb-band{display:inline-block;padding:6px 12px;border-radius:8px;font-weight:700;font-size:15px}
.otb-band--green{background:var(--otb-green-soft);color:var(--otb-green)}
.otb-band--blue{background:var(--otb-blue-soft);color:var(--otb-blue)}
.otb-band--amber{background:var(--otb-amber-soft);color:var(--otb-amber)}
.otb-band--red{background:var(--otb-red-soft);color:var(--otb-red)}
.otb-ring{width:128px;height:128px;flex:none}
.otb-ring__bg{fill:none;stroke:var(--otb-grey-soft);stroke-width:10}
.otb-ring__fg{fill:none;stroke-width:10;stroke-linecap:round}
.otb-ring--green .otb-ring__fg{stroke:var(--otb-green)}
.otb-ring--blue .otb-ring__fg{stroke:var(--otb-blue)}
.otb-ring--amber .otb-ring__fg{stroke:var(--otb-amber)}
.otb-ring--red .otb-ring__fg{stroke:var(--otb-red)}
.otb-ring__num{font-size:36px;font-weight:800;fill:var(--otb-ink)}
.otb-ring__of{font-size:11px;fill:var(--otb-muted)}

.otb-sec{padding:26px 32px;border-top:1px solid var(--otb-line)}
.otb-head + .otb-sec{border-top:0}
.otb-sec__title{margin:0 0 4px;font-size:20px;color:var(--otb-ink)}
.otb-sec__sub{margin:0 0 16px;color:var(--otb-muted);font-size:14px}
.otb-summary{margin:8px 0 0;font-size:17px;line-height:1.65;max-width:72ch}

/* dimensions */
.otb-dims{display:flex;flex-direction:column;gap:6px}
.otb-dim{border:1px solid var(--otb-line);border-radius:10px;background:var(--otb-bg)}
.otb-dim[open]{background:var(--otb-panel)}
.otb-dim__row{display:grid;grid-template-columns:minmax(200px,280px) 1fr 40px;gap:14px;align-items:center;padding:12px 14px;cursor:pointer;list-style:none}
.otb-dim__row::-webkit-details-marker{display:none}
.otb-dim__row::before{content:"";width:0;height:0;position:absolute}
.otb-dim__name{font-weight:600;font-size:15px}
.otb-dim__name .otb-chip{margin-left:8px;vertical-align:middle}
.otb-dim__w{margin-left:8px;font-weight:500;font-size:12px;color:var(--otb-muted)}
.otb-dim__score{font-weight:800;text-align:right;font-variant-numeric:tabular-nums}
.otb-bar{height:10px;background:var(--otb-grey-soft);border-radius:6px;overflow:hidden}
.otb-bar__fill{display:block;height:100%;border-radius:6px}
.otb-bar__fill--green{background:var(--otb-green)}
.otb-bar__fill--blue{background:var(--otb-blue)}
.otb-bar__fill--amber{background:var(--otb-gold)}
.otb-bar__fill--red{background:var(--otb-red)}
.otb-dim__body{padding:4px 16px 14px}
.otb-crit{padding:12px 0;border-top:1px solid var(--otb-line)}
.otb-crit__top{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.otb-crit__why{margin:6px 0 0;font-size:14px;color:var(--otb-muted)}

/* gaps */
.otb-gaps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.otb-gap{border:1px solid var(--otb-line);border-top:4px solid var(--otb-red);border-radius:10px;padding:16px;background:var(--otb-bg)}
.otb-gap__top{display:flex;justify-content:space-between;gap:8px;font-size:13px;align-items:center}
.otb-gap__id{font-weight:800;color:var(--otb-red)}
.otb-gap__title{margin:8px 0 8px;font-size:16px;line-height:1.35}
.otb-gap p{font-size:14px;margin:0}
.otb-gap .otb-ev li{display:block}
.otb-gap .otb-ev .otb-chip{margin:0 6px 2px 0}
.otb-gap__meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}

/* action plan */
.otb-plan{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.otb-act{display:grid;grid-template-columns:36px 1fr;gap:14px;padding:14px;border:1px solid var(--otb-line);border-radius:10px}
.otb-act__n{width:32px;height:32px;border-radius:50%;background:var(--otb-blue);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.otb-act__title{margin:2px 0 8px;font-weight:600}
.otb-act__tags{display:flex;flex-wrap:wrap;gap:6px}
.otb-act__out{margin:8px 0 0;font-size:14px;color:var(--otb-muted)}
.otb-act__why{margin-top:6px;font-size:14px}
.otb-act__why summary{cursor:pointer;color:var(--otb-blue);font-weight:600}
.otb-act__why p{margin:6px 0 0;color:var(--otb-muted)}

/* evidence tiles */
.otb-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;align-items:start}
.otb-tile{border:1px solid var(--otb-line);border-radius:10px;padding:14px;background:var(--otb-panel)}
.otb-tile__label{margin:0;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--otb-muted)}
.otb-tile__value{margin:4px 0 0;font-size:22px;font-weight:800}
.otb-tile__note{margin:2px 0 0;font-size:13px;color:var(--otb-muted)}

/* risks / opportunities */
.otb-cols{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.otb-col{border-radius:10px;padding:16px 18px}
.otb-col h4{margin:0 0 8px;font-size:16px}
.otb-col ul{margin:0;padding-left:18px;font-size:14px}
.otb-col li{margin:6px 0}
.otb-col--risk{background:var(--otb-red-soft)}
.otb-col--risk h4{color:var(--otb-red)}
.otb-col--opp{background:var(--otb-green-soft)}
.otb-col--opp h4{color:var(--otb-green)}

/* about */
.otb-about{border-top:1px solid var(--otb-line);padding:18px 32px 24px;font-size:14px;color:var(--otb-muted)}
.otb-about summary{cursor:pointer;font-weight:600;color:var(--otb-ink)}
.otb-about__body ul{padding-left:18px}

/* ---------- responsive ---------- */
@media (max-width:820px){
  .otb-gaps{grid-template-columns:1fr}
  .otb-head{grid-template-columns:1fr}
}
@media (max-width:640px){
  .otb-scan__grid,.otb-cols{grid-template-columns:1fr}
  .otb-head,.otb-sec,.otb-about{padding-left:16px;padding-right:16px}
  .otb-head__brand{font-size:24px}
  .otb-dim__row{grid-template-columns:1fr 40px;gap:8px}
  .otb-dim__row .otb-bar{grid-column:1/-1;grid-row:2}
}


/* ---------- v3: field errors, status/loader, toolbar ---------- */
.otb-field__err{margin:0;min-height:0;font-size:13px;color:var(--otb-red)}
.otb-field__err:empty{display:none}
.otb-scan__grid [aria-invalid="true"]{border-color:var(--otb-red);background:var(--otb-red-soft)}
.otb-scan__grid input[readonly],.otb-scan__grid textarea[readonly]{background:var(--otb-panel);color:var(--otb-muted)}
.otb-scan__actions{display:flex;gap:10px;align-items:center}
.otb-btn--primary{background:var(--otb-blue);color:#fff;border:1px solid var(--otb-blue)}
.otb-btn:disabled{opacity:.55;cursor:not-allowed}
.otb-btn:focus-visible{outline:3px solid var(--otb-gold);outline-offset:2px}
.otb-status{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;align-items:center;margin-top:20px;padding:18px 20px;border-radius:12px;border:1px solid var(--otb-line);background:var(--otb-panel)}
.otb-status__text p{margin:0}
.otb-status__msg{font-weight:700}
.otb-status__sub{color:var(--otb-muted);font-size:14px;margin-top:2px!important}
.otb-status__actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}
.otb-status__actions:empty{display:none}
.otb-status__actions .otb-btn{margin-top:4px;padding:8px 16px;font-size:14px}
.otb-status--busy{background:var(--otb-blue-soft);border-color:#c9d6f0}
.otb-status--error{background:var(--otb-red-soft);border-color:#f2c4c7}
.otb-status--error .otb-status__msg{color:var(--otb-red)}
.otb-status--warn{background:var(--otb-amber-soft);border-color:#f1d9b0}
.otb-spinner{width:28px;height:28px;border-radius:50%;border:3px solid #c9d6f0;border-top-color:var(--otb-blue);animation:otb-spin .9s linear infinite;display:none}
.otb-status--busy .otb-spinner{display:block}
.otb-status:not(.otb-status--busy){grid-template-columns:1fr}
@keyframes otb-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.otb-spinner{animation-duration:3s}}
.otb-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;padding:14px 18px;border-radius:12px;background:var(--otb-green-soft);border:1px solid #bfe3cc}
.otb-toolbar__msg{margin:0;font-weight:700;color:var(--otb-green)}
.otb-toolbar__msg:focus{outline:none}
.otb-toolbar__btns{display:flex;flex-wrap:wrap;gap:8px}
.otb-toolbar .otb-btn{margin-top:0;background:#fff}
.otb-scan__result{margin-top:16px}

/* ---------- print / PDF: only the report ---------- */
@media print{
  html.otb-printing body *{visibility:hidden!important}
  html.otb-printing .otb-scan__result,html.otb-printing .otb-scan__result *{visibility:visible!important}
  html.otb-printing .otb-scan__result{position:absolute;left:0;top:0;width:100%;margin:0}
  .otb-noprint,.otb-scan__form,.otb-status,.otb-toolbar{display:none!important}
  .otb-report{border:0}
  .otb-sec,.otb-gap,.otb-act,.otb-tile{break-inside:avoid}
  .otb-head,.otb-bar__fill,.otb-col,.otb-chip,.otb-band,.otb-act__n{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}


/* ---------- v3.1 premium responsive visual refresh (CSS only) ---------- */
/* Scoped to the plugin so the WordPress theme and footer remain untouched. */
.otb-scan,.otb-report{
  --otb-blue:#3356a7;
  --otb-blue-soft:#eef2ff;
  --otb-gold:#bc8f39;
  --otb-gold-soft:#f4ebd7;
  --otb-ink:#111111;
  --otb-muted:#626975;
  --otb-line:#e5e7eb;
  --otb-bg:#ffffff;
  --otb-panel:#f8f9fb;
  --otb-green:#28734f;
  --otb-green-soft:#e7f3ec;
  --otb-amber:#8b641d;
  --otb-amber-soft:#f8f0df;
  --otb-red:#b54747;
  --otb-red-soft:#fbebeb;
  --otb-grey:#5c6370;
  --otb-grey-soft:#f1f3f6;
  width:100%;
  min-width:0;
  color:var(--otb-ink);
  font-family:inherit;
  overflow-wrap:anywhere;
}
.otb-scan{max-width:1180px;margin:0 auto}
.otb-scan *,.otb-report *{box-sizing:border-box;min-width:0}
.otb-scan button,.otb-report button{font-family:inherit}
.otb-scan__form{
  padding:clamp(16px,2.6vw,34px);
  background:#fff;
  border:1px solid var(--otb-line);
  border-radius:14px;
  box-shadow:0 8px 28px rgba(17,17,17,.045);
}
.otb-scan__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
.otb-field{min-width:0;gap:8px}
.otb-field label{font-size:14px;line-height:1.4;font-weight:650;color:#111}
.otb-scan__grid input,.otb-scan__grid textarea{
  display:block;width:100%;max-width:100%;min-height:48px;
  padding:12px 14px;border:1px solid #d9dde5;border-radius:7px;
  background:#fff;color:#111;font-size:15px;line-height:1.45;
  box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease;
}
.otb-scan__grid textarea{min-height:92px;resize:vertical}
.otb-scan__grid input::placeholder,.otb-scan__grid textarea::placeholder{color:#8b919b;opacity:1}
.otb-scan__grid input:focus,.otb-scan__grid textarea:focus{
  outline:0;border-color:var(--otb-blue);box-shadow:0 0 0 3px rgba(51,86,167,.12)
}
.otb-scan__grid [aria-invalid="true"]{border-color:var(--otb-red);background:#fff7f7}
.otb-scan__actions{margin-top:24px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.otb-scan__btn,.otb-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:12px 22px;margin-top:0;border-radius:7px;
  border:1px solid var(--otb-blue);background:var(--otb-blue);color:#fff;
  font-size:15px;font-weight:700;line-height:1.35;text-align:center;
  text-decoration:none;box-shadow:none;cursor:pointer;white-space:normal;
  transition:background .15s ease,border-color .15s ease,transform .15s ease;
}
.otb-scan__btn:hover,.otb-btn--primary:hover{background:#29478e;border-color:#29478e;color:#fff}
.otb-scan__btn:active,.otb-btn:active{transform:translateY(1px)}
.otb-btn--ghost{background:#fff;color:var(--otb-blue);border:1px solid #cbd4e8;padding:10px 15px;font-size:14px}
.otb-btn--ghost:hover{background:var(--otb-blue-soft);color:var(--otb-blue);border-color:var(--otb-blue)}
.otb-btn:focus-visible,.otb-scan__btn:focus-visible{outline:3px solid var(--otb-gold);outline-offset:3px}
.otb-field__err{font-size:12px;line-height:1.4}
.otb-scan__result{margin-top:28px}
.otb-status{border-radius:10px;background:#f8f9fb;border-color:var(--otb-line)}
.otb-status--busy{background:var(--otb-blue-soft);border-color:#d5def5}
.otb-status--warn{background:var(--otb-gold-soft);border-color:#e5d4ad}
.otb-toolbar{
  background:#fff;border:1px solid var(--otb-line);border-left:4px solid var(--otb-blue);
  border-radius:10px;padding:16px 18px;gap:14px
}
.otb-toolbar__msg{color:#111;font-weight:700}
.otb-toolbar__btns{gap:8px}
.otb-toolbar .otb-btn{margin:0}
.otb-toolbar .otb-btn[data-act="download"]{background:var(--otb-blue);border-color:var(--otb-blue);color:#fff}
.otb-toolbar .otb-btn[data-act="download"]:hover{background:#29478e}

/* Report banner: white page, pale gold header, blue score ring/panel accents. */
.otb-report{border:1px solid var(--otb-line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(17,17,17,.04)}
.otb-head{
  grid-template-columns:minmax(0,1fr) minmax(260px,auto);
  gap:24px;padding:clamp(20px,3vw,34px);
  background:#f4ebd7;border:0;border-bottom:1px solid #e7d9b9;
}
.otb-eyebrow{color:#7c5a20;letter-spacing:.09em}
.otb-head__brand{color:#111;font-size:clamp(25px,2.6vw,34px);line-height:1.15;overflow-wrap:anywhere}
.otb-head__meta{color:#29251e;overflow-wrap:anywhere}
.otb-head__score{gap:16px;flex-wrap:wrap;justify-content:flex-end}
.otb-ring{width:clamp(104px,10vw,128px);height:auto;max-width:100%}
.otb-ring__bg{stroke:#e4d8bc}
.otb-ring--green .otb-ring__fg{stroke:var(--otb-green)}
.otb-ring--blue .otb-ring__fg{stroke:var(--otb-blue)}
.otb-ring--amber .otb-ring__fg{stroke:var(--otb-gold)}
.otb-ring--red .otb-ring__fg{stroke:var(--otb-red)}
.otb-ring__num{fill:#111}
.otb-ring__of{fill:#5f5748}
.otb-head__verdict{max-width:220px}
.otb-band{border-radius:6px;font-size:14px}
.otb-sec{padding:clamp(18px,2.4vw,30px);border-color:var(--otb-line)}
.otb-sec__title{font-size:clamp(19px,2vw,22px);line-height:1.3;letter-spacing:-.015em;color:#111}
.otb-sec__sub{line-height:1.55}
.otb-summary{max-width:76ch;font-size:16px}
.otb-dim,.otb-gap,.otb-act,.otb-tile{border-color:var(--otb-line);border-radius:8px;box-shadow:none}
.otb-dim__row{grid-template-columns:minmax(0,280px) minmax(50px,1fr) 42px;gap:14px}
.otb-dim__row:focus-visible{outline:2px solid var(--otb-blue);outline-offset:2px}
.otb-dim[open]{background:#fafbfc}
.otb-bar__fill--amber{background:var(--otb-gold)}
.otb-gap{border-top-color:var(--otb-gold);padding:18px}
.otb-gap__id{color:var(--otb-blue)}
.otb-act__n{border-radius:7px;background:var(--otb-blue)}
.otb-tile{background:#fff;padding:16px}
.otb-col--risk{background:#fbefef}
.otb-col--opp{background:#edf5ef}
.otb-about{padding:20px clamp(18px,2.4vw,30px) 24px}
.otb-about summary{line-height:1.5}
.otb-chip{white-space:normal;overflow-wrap:anywhere}
.otb-ev li{min-width:0;overflow-wrap:anywhere}
.otb-ev li>span:last-child{min-width:0}
.otb-plan,.otb-tiles,.otb-gaps,.otb-cols{min-width:0}
.otb-scan a,.otb-report a{overflow-wrap:anywhere}
.otb-scan__grid input,.otb-scan__grid textarea,.otb-btn{max-width:100%}

/* Tablet */
@media (max-width: 900px){
  .otb-scan{max-width:100%}
  .otb-head{grid-template-columns:minmax(0,1fr);gap:18px}
  .otb-head__score{justify-content:flex-start}
  .otb-head__verdict{max-width:none}
  .otb-gaps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .otb-dim__row{grid-template-columns:minmax(150px,240px) minmax(40px,1fr) 36px;gap:10px}
}
/* Mobile */
@media (max-width: 640px){
  .otb-scan{width:100%;max-width:100%;margin:0}
  .otb-scan__form{padding:16px;border-radius:10px}
  .otb-scan__grid,.otb-cols,.otb-gaps{grid-template-columns:minmax(0,1fr)}
  .otb-scan__grid{gap:17px}
  .otb-scan__wide{grid-column:1}
  .otb-field label{font-size:13px}
  .otb-scan__grid input,.otb-scan__grid textarea{font-size:16px;min-height:48px}
  .otb-scan__actions{display:block;margin-top:20px}
  .otb-scan__actions .otb-btn,.otb-scan__actions button{width:100%;min-height:50px}
  .otb-head{padding:18px;gap:16px}
  .otb-head__brand{font-size:24px}
  .otb-head__meta{font-size:13px}
  .otb-head__score{align-items:center;gap:12px}
  .otb-ring{width:100px}
  .otb-head__verdict{gap:5px}
  .otb-sec{padding:18px 16px}
  .otb-sec__title{font-size:19px}
  .otb-sec__sub{font-size:13px}
  .otb-summary{font-size:15px}
  .otb-dim__row{grid-template-columns:minmax(0,1fr) 34px;gap:8px;padding:12px}
  .otb-dim__name{font-size:13px;overflow-wrap:anywhere}
  .otb-dim__name .otb-chip{margin:5px 4px 0 0}
  .otb-dim__row .otb-bar{grid-column:1/-1;grid-row:2}
  .otb-dim__body{padding:2px 12px 12px}
  .otb-crit__top{align-items:flex-start}
  .otb-crit__top strong{flex:1 1 100%}
  .otb-gap{padding:14px}
  .otb-gap__top{align-items:flex-start;flex-wrap:wrap}
  .otb-act{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:12px}
  .otb-act__n{width:28px;height:28px}
  .otb-tiles{grid-template-columns:minmax(0,1fr)}
  .otb-col{padding:14px}
  .otb-about{padding:16px}
  .otb-toolbar{align-items:stretch;padding:14px}
  .otb-toolbar__btns{display:grid;grid-template-columns:minmax(0,1fr);width:100%}
  .otb-toolbar__btns .otb-btn{width:100%;min-height:46px}
  .otb-status{padding:14px;grid-template-columns:1fr}
  .otb-status--busy{grid-template-columns:auto minmax(0,1fr)}
  .otb-status__actions{grid-column:1}
  .otb-status__actions .otb-btn{width:100%;min-height:44px}
}
/* Narrow phones */
@media (max-width: 380px){
  .otb-scan__form{padding:12px}
  .otb-head{padding:14px}
  .otb-sec{padding:15px 12px}
  .otb-head__score{align-items:flex-start}
  .otb-ring{width:88px}
  .otb-chip{font-size:11px;padding:2px 7px}
}
/* Honor reduced-motion preferences. */
@media (prefers-reduced-motion:reduce){
  .otb-scan *,.otb-report *{transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}
