/*
 * Online Security Hub brand 3.1: the site skin. Loaded last on every page, after osh-tokens.css.
 * Colours, type sizes and spacing come only from the tokens (var(--osh-*)); there are no hex values here.
 * 1. The older stylesheets read --paper-* variables: they are pointed at the brand tokens.
 * 2. The shared header (.osh-bh) and footer (.osh-bf).
 * 3. Shared pieces: buttons, boxes, evidence labels, the founder byline.
 */

/* ---------- 1. old variables -> brand tokens (light and dark follow data-osh-theme) ---------- */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
    --paper-canvas: var(--osh-canvas); --paper-card: var(--osh-surface); --paper-stone: var(--osh-surface-subtle);
    --paper-ink: var(--osh-text); --paper-graphite: var(--osh-text); --paper-ashen: var(--osh-text-secondary);
    --paper-mist: var(--osh-border-subtle); --paper-chalk: var(--osh-border-subtle);
    --paper-clay: var(--osh-text); --paper-band: var(--osh-petrol); --paper-on-band: var(--osh-white);
    --paper-good: var(--osh-status-success-fg); --paper-good-bg: var(--osh-status-success-bg);
    --paper-bad: var(--osh-status-danger-fg); --paper-bad-bg: var(--osh-status-danger-bg);
    --paper-warn: var(--osh-status-warning-fg); --paper-warn-bg: var(--osh-status-warning-bg);
    --paper-sans: var(--osh-font-body); --paper-serif: var(--osh-font-editorial);
    --site--preset--color--chrome: var(--osh-petrol); --site--preset--color--on-chrome: var(--osh-white);
    --osh-sidebar-bg: var(--osh-petrol); --osh-hd-bg: var(--osh-petrol);
    --v2-on-accent: var(--osh-action-text); --v2-on-primary: var(--osh-action-text); --v2-primary: var(--osh-action-background);
    --v2-accent: var(--osh-action-background);
}
html { background: var(--osh-canvas); }
body { background: var(--osh-canvas); color: var(--osh-text); font-family: var(--osh-font-body); font-size: var(--osh-type-body-size); line-height: var(--osh-type-body-leading); }
:where(a) { color: inherit; }
:focus-visible { outline: 2px solid var(--osh-focus-outer); outline-offset: var(--osh-focus-offset); box-shadow: 0 0 0 2px var(--osh-focus-inner); }
.osh-only-dark { display: none !important; }
:root[data-osh-theme="dark"] .osh-only-dark { display: inline-block !important; }
:root[data-osh-theme="dark"] .osh-only-light { display: none !important; }
/* Every page uses the full 1200px content width (the brand container), with the side padding outside it. */
.osh-wrap { box-sizing: border-box; width: 100%; max-width: calc(var(--osh-container) + 2 * var(--osh-space-xl)); margin-inline: auto; padding-inline: var(--osh-space-xl); }
:root { --v2-wrap: calc(var(--osh-container) + 2 * var(--osh-space-xl)); }
#osh-main.osh-single { padding-inline: var(--osh-space-xl); }
#osh-main .osh-single-wrap { max-width: var(--osh-container); gap: var(--osh-space-2xl); }
#osh-main .osh-article { max-width: none; flex: 1 1 auto; }
#osh-main .osh-sidebar { flex: 0 0 320px; width: 320px; }
@media (max-width: 767px) { .osh-wrap { padding-inline: var(--osh-space-lg); } }

/* ---------- 2a. header: logo, the two doors, account ---------- */
.osh-bh { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--osh-canvas) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--osh-text); font-family: var(--osh-font-body); font-size: var(--osh-type-body-size); line-height: var(--osh-type-body-leading); border-bottom: 1px solid var(--osh-border-subtle); }
.osh-bh *, .osh-bh *::before, .osh-bh *::after { box-sizing: border-box; }
.osh-bh a { color: inherit; text-decoration: none; }
.osh-bh-in { display: flex; align-items: center; gap: var(--osh-space-xl); min-height: 80px; }
.osh-bh-logo { display: inline-flex; align-items: center; min-height: var(--osh-target-min); margin-right: auto; flex: none; }
.osh-bh-logo img { display: block; width: 224px; height: auto; }
.osh-bh-doors { display: flex; gap: var(--osh-space-2xl); }
.osh-bh-doors a, .osh-bh-acct a { display: inline-flex; align-items: center; min-height: var(--osh-target-min); font-weight: 400; }
.osh-bh-doors a[aria-current] { font-weight: 600; }
.osh-bh-doors a:hover, .osh-bh-acct a:hover, .osh-bh-sub a:hover { text-decoration: underline; text-underline-offset: 4px; }
.osh-bh-acct { display: flex; align-items: center; gap: var(--osh-space-lg); padding-left: var(--osh-space-xl); border-left: 1px solid var(--osh-border-subtle); }
.osh-bh-acct svg { display: block; }
.osh-bh-acct .osh-bh-icon { justify-content: center; min-width: var(--osh-target-min); }
.osh-bh-sub { background: var(--osh-canvas); color: var(--osh-text); font-family: var(--osh-font-body); border-bottom: 1px solid var(--osh-border-subtle); }
.osh-bh-sub a { color: inherit; text-decoration: none; }
.osh-bh-sub ul { display: flex; flex-wrap: wrap; gap: var(--osh-space-xs) var(--osh-space-xl); margin: 0; padding: 0; list-style: none; }
.osh-bh-sub a { display: inline-flex; align-items: center; min-height: var(--osh-target-min); font-size: var(--osh-type-label-size); line-height: var(--osh-type-label-leading); color: var(--osh-text-secondary); }
.osh-bh-sub a[aria-current] { color: var(--osh-text); font-weight: 600; }
.osh-bh-menu { display: none; position: relative; }
.osh-bh-menu > summary { display: inline-flex; align-items: center; min-height: var(--osh-target-min); padding: 0 var(--osh-space-md); border: 1px solid var(--osh-border); border-radius: var(--osh-radius); font-weight: 600; font-size: var(--osh-type-label-size); cursor: pointer; list-style: none; }
.osh-bh-menu > summary::-webkit-details-marker { display: none; }
.osh-bh-panel { position: absolute; z-index: 60; top: calc(100% + var(--osh-space-sm)); right: 0; width: min(88vw, 340px); padding: var(--osh-space-lg); background: var(--osh-surface); border: 1px solid var(--osh-border); border-radius: var(--osh-radius); }
.osh-bh-panel ul { margin: 0 0 var(--osh-space-md); padding: 0 0 var(--osh-space-md); list-style: none; border-bottom: 1px solid var(--osh-border-subtle); }
.osh-bh-panel ul:last-child { margin: 0; padding: 0; border: 0; }
.osh-bh-panel a { display: flex; align-items: center; min-height: var(--osh-target-min); }
.osh-bh-panel .is-door { font-weight: 600; }
.osh-bh-panel .is-sub { padding-left: var(--osh-space-lg); color: var(--osh-text-secondary); font-size: var(--osh-type-label-size); }
@media (max-width: 767px) {
    .osh-bh-in { min-height: 64px; gap: var(--osh-space-md); }
    .osh-bh-logo img { width: 176px; }
    .osh-bh-doors, .osh-bh-acct, .osh-bh-sub { display: none; }
    .osh-bh-menu { display: block; }
}

/* the door menus (osh-menu.js) */
.osh-bh-door { display: flex; align-items: center; gap: 2px; }
.osh-bh-caret { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--osh-radius); background: transparent; color: var(--osh-text-secondary); cursor: pointer; transition: transform var(--osh-motion-fast); }
.osh-bh-caret:hover, .osh-bh-door.is-open .osh-bh-caret { color: var(--osh-text); background: var(--osh-surface-subtle); }
.osh-bh-door.is-open .osh-bh-caret svg { transform: rotate(180deg); }
.osh-mm { position: absolute; left: 0; right: 0; top: 100%; z-index: 90; background: var(--osh-surface); border-top: 1px solid var(--osh-border-subtle); border-bottom: 1px solid var(--osh-border); box-shadow: 0 24px 48px -28px color-mix(in srgb, var(--osh-petrol) 40%, transparent); }
.osh-mm[hidden] { display: none; }
.osh-mm-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--osh-space-3xl); padding-block: var(--osh-space-2xl); max-height: min(70vh, 640px); overflow-y: auto; }
.osh-mm ul { margin: 0; padding: 0; list-style: none; }
.osh-mm a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--osh-space-md); padding: 6px 0; color: var(--osh-text); text-decoration: none; font-size: var(--osh-type-label-size); line-height: var(--osh-type-label-leading); }
.osh-mm a:hover span, .osh-mm a.osh-mm-h:hover { text-decoration: underline; text-underline-offset: 4px; }
.osh-mm small { flex: none; font-size: 12px; color: var(--osh-text-secondary); font-variant-numeric: tabular-nums; }
.osh-mm-side { padding-right: var(--osh-space-xl); border-right: 1px solid var(--osh-border-subtle); }
.osh-mm-k { margin: 0 0 var(--osh-space-xs); font: 600 12px/1.4 var(--osh-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--osh-text-secondary); }
.osh-mm-side ul + .osh-mm-k { margin-top: var(--osh-space-xl); }
.osh-mm-side a { font-weight: 600; }
.osh-mm-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--osh-space-xl) var(--osh-space-2xl); align-content: start; }
.osh-mm a.osh-mm-h { margin-bottom: var(--osh-space-xs); font-weight: 600; font-size: var(--osh-type-body-size); }
.osh-mm a.osh-mm-all { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.osh-bh-acct .osh-bh-up { min-height: 40px; padding: 0 var(--osh-space-lg); font-size: var(--osh-type-label-size); }
.osh-bh-acct .osh-bh-up:hover { text-decoration: none; }
/* Light/dark switch and the signed-in greeting (Mefat 2026-11-18) */
.osh-bh-theme { display: inline-flex; align-items: center; justify-content: center; min-width: var(--osh-target-min); min-height: var(--osh-target-min); padding: 0; border: 0; border-radius: 999px; background: none; color: inherit; cursor: pointer; }
.osh-bh-theme:hover { background: var(--osh-surface-subtle); }
.osh-bh-theme:focus-visible, .osh-bh-panel-theme:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.osh-bh-acct .osh-bh-me { gap: 10px; padding: 4px 14px 4px 4px; border: 1px solid var(--osh-border-subtle); border-radius: 999px; font-weight: 600; }
.osh-bh-acct .osh-bh-me:hover { text-decoration: none; border-color: var(--osh-border); background: var(--osh-surface-subtle); }
.osh-bh-me img, .osh-bh-me-i { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.osh-bh-me-i { display: grid; place-items: center; background: var(--osh-petrol); color: #fff; font-size: 14px; font-weight: 700; }
:root[data-osh-theme="dark"] .osh-bh-me-i { background: #fff; color: var(--osh-petrol); }
.osh-bh-acct { gap: var(--osh-space-md); }
.osh-bh-panel-theme { display: flex; align-items: center; gap: 10px; width: 100%; min-height: var(--osh-target-min); padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }

/* ---------- 2b. footer ---------- */
/* Footer: compact, comparitech-style (2026-11-17): a petrol band with logo and social icons, one row of site links,
   one row of policies, one small line. */
.site-blocks > footer.osh-bf, .osh-bf { margin-top: var(--osh-space-4xl); background: var(--osh-petrol); color: #fff; font-family: var(--osh-font-body); }
.osh-bf *, .osh-bf *::before, .osh-bf *::after { box-sizing: border-box; }
.osh-bf a { color: inherit; text-decoration: none; }
.osh-bf a:hover { text-decoration: underline; text-underline-offset: 4px; }
.osh-bf ul { margin: 0; padding: 0; list-style: none; }
.osh-bf-row { display: flex; align-items: center; justify-content: space-between; gap: var(--osh-space-md); padding-block: var(--osh-space-2xl, 40px) var(--osh-space-xl); }
.osh-bf-brand p { margin: 10px 0 0; font-size: 14px; color: color-mix(in srgb, #fff 70%, transparent); }
.osh-bf-logo img { display: block; width: 200px; height: auto; }
.osh-bf-social { display: flex; gap: var(--osh-space-xs); }
.osh-bf-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid color-mix(in srgb, #fff 22%, transparent); }
.osh-bf-social a:hover { background: #fff; color: var(--osh-petrol); text-decoration: none; }
.osh-bf-nav { padding-block: var(--osh-space-lg); border-top: 1px solid color-mix(in srgb, #fff 16%, transparent); }
.osh-bf-nav ul { display: flex; flex-wrap: wrap; gap: 6px 32px; }
.osh-bf-nav a { display: inline-block; padding-block: 6px; font-size: 16px; font-weight: 500; line-height: 1.4; }
.osh-bf-base { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--osh-space-md) var(--osh-space-xl); padding-block: var(--osh-space-lg) var(--osh-space-xl); border-top: 1px solid color-mix(in srgb, #fff 16%, transparent); }
.osh-bf-base p { margin: 0; max-width: 72ch; font-size: 13px; line-height: 1.6; color: color-mix(in srgb, #fff 68%, transparent); }
.osh-bf-base p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.osh-bf-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; flex: none; }
.osh-bf-legal a { font-size: 13px; line-height: 1.6; color: color-mix(in srgb, #fff 68%, transparent); }
.osh-bf-legal a:hover { color: #fff; }
:root[data-osh-theme="dark"] .osh-bf { border-top: 1px solid color-mix(in srgb, #fff 14%, transparent); }
@media (max-width: 767px) {
    .osh-bf-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
    .osh-bf-nav a { font-size: 15px; }
    .osh-bf-base { flex-direction: column; }
    .osh-bf-logo img { width: 170px; }
}

/* ---------- 2c. older pages: the brand's 4px corners, petrol controls ---------- */
#osh-main :where([class*="card"], [class*="pill"], [class*="btn"], [class*="box"], [class*="chip"], [class*="tag"], [class*="search"], [class*="panel"], [class*="verdict"], [class*="honest"], [class*="note"], [class*="toast"], [class*="label"], [class*="facts"], [class*="intro"], [class*="popular"] a, [class*="threat"], [class*="area"], [class*="list"], [class*="svc"], [class*="pick"], [class*="aside"], [class*="side"] > section, input, select, textarea, button, table, pre, blockquote, figure img):not([class*="ring"]):not([class*="-av"]):not([class*="switch"]):not([class*="tick"]):not([class*="avatar"]) { border-radius: var(--osh-radius) !important; }
.osh-back-top { background: var(--osh-action-background); color: var(--osh-action-text); border-radius: var(--osh-radius); }
.osh-privacy { border-radius: var(--osh-radius); }

/* ---------- 2d. fixes from the first review (16 Nov) ---------- */
/* Light (secondary) buttons keep their text on hover: a tint background, never petrol on petrol. */
#osh-main :is(.v2-btn.v2-btn-accent, .v5-btn-ghost, .osh-btn.is-secondary, .me-btn-soft):hover,
#osh-main :is(.v2-btn.v2-btn-accent, .v5-btn-ghost, .osh-btn.is-secondary, .me-btn-soft):focus-visible {
    background-color: var(--osh-surface-subtle) !important; color: var(--osh-text) !important; border-color: var(--osh-border) !important; filter: none !important; opacity: 1 !important; }
/* Verdict labels: one look per meaning (Recommended / Not recommended / Facts checked), with a written label and icon. */
#osh-main :is(.v5-pill-top, .v5-pill-good) { background: var(--osh-status-success-bg) !important; color: var(--osh-status-success-fg) !important; border: 1px solid var(--osh-status-success-border) !important; }
#osh-main .v5-pill-avoid { background: var(--osh-status-danger-bg) !important; color: var(--osh-status-danger-fg) !important; border: 1px solid var(--osh-status-danger-border) !important; }
#osh-main .v5-pill-untested { background: var(--osh-label-neutral-background) !important; color: var(--osh-label-neutral-foreground) !important; border: 1px solid var(--osh-label-neutral-border) !important; }
/* The verdict box: a thin border all round in the verdict's colour, on its light background. */
#osh-main .v5-verdict { border: 1px solid var(--osh-border-subtle) !important; background: var(--osh-surface-subtle) !important; }
#osh-main :is(.v5-verdict-top, .v5-verdict-good) { border-color: var(--osh-status-success-border) !important; background: var(--osh-status-success-bg) !important; }
#osh-main .v5-verdict-avoid { border-color: var(--osh-status-danger-border) !important; background: var(--osh-status-danger-bg) !important; }
#osh-main .v5-verdict :is(.v5-pill-top, .v5-pill-good, .v5-pill-avoid) { background: var(--osh-surface) !important; }
/* Product cards: the same frame for every card; the label says the verdict. */
#osh-main .v5-card.is-tested { border-top: 1px solid var(--osh-border-subtle) !important; }
#osh-main .v5-card:hover { border-color: var(--osh-border) !important; box-shadow: none !important; }
/* The side box on product pages scrolls with the page instead of sliding over the boxes under it. */
#osh-main .v5-pside .v5-box:first-child { position: static !important; }
/* Article sidebar: the author first, then Summarize with AI. */
.osh-sidebar-inner { display: flex; flex-direction: column; }
.osh-sidebar-inner > .osh-sb-bio { order: 1; }
.osh-sidebar-inner > .osh-ai-box { order: 2; }
.osh-sidebar-inner > :not(.osh-sb-bio):not(.osh-ai-box) { order: 3; }

/* ---------- 2e. the search pop-up (partials/brand-header, osh-search.js) ---------- */
.osh-sx-open, .osh-sx-open body { overflow: hidden; }
.osh-sx { position: fixed; inset: 0; z-index: 200; display: grid; align-content: start; justify-items: center; padding: calc(10vh + env(safe-area-inset-top, 0px)) var(--osh-space-lg) var(--osh-space-lg);
    background: color-mix(in srgb, var(--osh-canvas) 60%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-family: var(--osh-font-body); color: var(--osh-text); }
.osh-sx[hidden] { display: none; }
.osh-sx-panel { box-sizing: border-box; display: flex; flex-direction: column; width: min(100%, 720px); max-height: 76vh; background: var(--osh-surface); border: 1px solid var(--osh-border); border-radius: var(--osh-radius); box-shadow: 0 24px 64px -24px color-mix(in srgb, var(--osh-petrol) 45%, transparent); overflow: hidden; }
.osh-sx-form { display: flex; align-items: center; gap: var(--osh-space-md); padding: 0 var(--osh-space-lg); border-bottom: 1px solid var(--osh-border-subtle); }
.osh-sx-form svg { flex: none; }
.osh-sx-form { min-height: 60px; }
.osh-sx .osh-sx-q { flex: 1; min-width: 0; height: 58px; margin: 0; padding: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent !important; color: var(--osh-text); font: 400 var(--osh-type-card-title-size)/1 var(--osh-font-body); }
.osh-sx-q::placeholder { color: var(--osh-text-secondary); }
.osh-sx-q::-webkit-search-cancel-button { display: none; }
.osh-sx-close { flex: none; min-height: 32px; padding: 0 var(--osh-space-sm); border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius); background: transparent; color: var(--osh-text-secondary); font: 600 12px/1 var(--osh-font-body); cursor: pointer; }
.osh-sx-tabs { display: flex; gap: var(--osh-space-xs); padding: var(--osh-space-sm) var(--osh-space-lg) 0; border-bottom: 1px solid var(--osh-border-subtle); }
.osh-sx-tabs button { min-height: 40px; padding: 0 var(--osh-space-md); border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--osh-text-secondary); font: 600 var(--osh-type-label-size)/1 var(--osh-font-body); cursor: pointer; }
.osh-sx-tabs button[aria-selected="true"] { color: var(--osh-text); border-bottom-color: var(--osh-petrol); }
:root[data-osh-theme="dark"] .osh-sx-tabs button[aria-selected="true"] { border-bottom-color: var(--osh-white); }
.osh-sx-list { flex: 1; margin: 0; padding: var(--osh-space-sm); list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.osh-sx-list [role="option"] { display: flex; align-items: center; gap: var(--osh-space-md); min-height: 52px; padding: 6px var(--osh-space-md) 6px 8px; border-radius: 6px; cursor: pointer; transition: background .1s ease; }
.osh-sx-list [role="option"]:hover { background: var(--osh-surface-subtle); }
.osh-sx-list [role="option"][aria-selected="true"] { background: color-mix(in srgb, var(--osh-petrol) 9%, var(--osh-surface)); }
.osh-sx-list .i { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border: 1px solid var(--osh-border-subtle); border-radius: 6px; background: var(--osh-surface); color: var(--osh-text-secondary); }
.osh-sx-list [aria-selected="true"] .i { border-color: var(--osh-petrol); background: var(--osh-petrol); color: #fff; }
.osh-sx-list .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.osh-sx-list small { flex: none; font-size: var(--osh-type-caption-size); color: var(--osh-text-secondary); }
.osh-sx-list .go { flex: none; visibility: hidden; min-width: 26px; padding: 2px 6px; border: 1px solid var(--osh-border); border-radius: 4px; background: var(--osh-surface); font: 600 12px/1.3 var(--osh-font-body); text-align: center; color: var(--osh-text-secondary); }
.osh-sx-list [aria-selected="true"] .go { visibility: visible; }
:root[data-osh-theme="dark"] .osh-sx-list [role="option"][aria-selected="true"] { background: color-mix(in srgb, #fff 10%, var(--osh-surface)); }
:root[data-osh-theme="dark"] .osh-sx-list [aria-selected="true"] .i { border-color: #fff; background: #fff; color: var(--osh-petrol); }
.osh-sx-group, .osh-sx-empty { padding: var(--osh-space-md) var(--osh-space-md) var(--osh-space-xs) 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--osh-text-secondary); }
.osh-sx-empty { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: var(--osh-type-label-size); }
.osh-sx-foot { display: flex; flex-wrap: wrap; gap: var(--osh-space-xs) var(--osh-space-lg); margin: 0; padding: var(--osh-space-sm) var(--osh-space-lg); border-top: 1px solid var(--osh-border-subtle); font-size: var(--osh-type-caption-size); color: var(--osh-text-secondary); }
.osh-sx-foot kbd { display: inline-block; min-width: 18px; margin-right: 2px; padding: 1px 4px; border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius); font: 600 11px/1.4 var(--osh-font-body); text-align: center; }
@media (max-width: 767px) { .osh-sx { padding-top: var(--osh-space-lg); } .osh-sx-panel { max-height: 86vh; } .osh-sx-foot { display: none; } .osh-sx-list small { display: none; } }

/* ---------- 2f. /alternatives/ (directory/alternatives.blade.php) ---------- */
.osh-alt, .osh-alt-head > * { text-align: left !important; }
.osh-alt-head > * { margin-inline: 0 !important; }
.osh-alt-head { display: grid; gap: var(--osh-space-md); padding-block: var(--osh-space-4xl) var(--osh-space-xl); }
.osh-alt-head p { margin: 0; max-width: 60ch; }
.osh-alt-head kbd { padding: 1px 6px; border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius); font: 600 13px/1.4 var(--osh-font-body); }
.osh-alt-sec { padding-top: var(--osh-space-2xl); }
.osh-alt-sec > .osh-section-title { padding-bottom: var(--osh-space-lg); border-bottom: 1px solid var(--osh-border-subtle); }
.osh-alt-rows { margin: 0; padding: 0; list-style: none; }
.osh-alt-rows > li { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); gap: var(--osh-space-lg) var(--osh-grid-gap); padding-block: var(--osh-space-xl); border-bottom: 1px solid var(--osh-border-subtle); }
.osh-alt-tool { display: flex; gap: var(--osh-space-md); align-items: flex-start; }
.osh-alt-tool > div { display: grid; gap: var(--osh-space-sm); justify-items: start; }
.osh-alt-name { font: 600 var(--osh-type-card-title-size)/var(--osh-type-card-title-leading) var(--osh-font-body); color: var(--osh-text); text-decoration: none; }
.osh-alt-name:hover, .osh-alt-instead a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.osh-alt-k { display: block; margin-bottom: var(--osh-space-xs); font: 600 var(--osh-type-label-size)/var(--osh-type-label-leading) var(--osh-font-body); color: var(--osh-text-secondary); }
.osh-alt-why p { margin: 0; max-width: 60ch; }
.osh-alt-instead { display: grid; gap: var(--osh-space-sm); align-content: start; }
.osh-alt-instead > a:not(.osh-go) { display: flex; align-items: center; gap: var(--osh-space-sm); font-weight: 600; color: var(--osh-text); text-decoration: none; }
.osh-alt .v5-logo { width: 40px; height: 40px; flex: none; }
.osh-alt-instead .v5-logo { width: 28px; height: 28px; }
.osh-alt-instead .osh-go { font-size: var(--osh-type-label-size); color: var(--osh-text); }
@media (max-width: 767px) { .osh-alt-rows > li { grid-template-columns: minmax(0, 1fr); } .osh-alt-head { padding-top: var(--osh-space-3xl); } }

/* ---------- 2g. articles: the text on a white panel over the tint, readable type (brand 3.1) ---------- */
#osh-main.osh-single { background: var(--osh-surface-subtle); padding-block: var(--osh-space-2xl) var(--osh-space-4xl); }
#osh-main .osh-article { padding: var(--osh-space-2xl) var(--osh-space-3xl); background: var(--osh-surface); border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius); }
#osh-main .osh-article > .osh-title { margin: 0 0 var(--osh-space-lg); font: var(--osh-type-page-title-weight) 44px/1.15 var(--osh-font-editorial); letter-spacing: -.01em; color: var(--osh-text); }
#osh-main .osh-content { font-family: var(--osh-font-body); color: var(--osh-text); }
#osh-main .osh-content :is(p, li) { font-size: var(--osh-type-article-size); line-height: var(--osh-type-article-leading); }
#osh-main .osh-content p { margin: 0 0 1.1em; }
#osh-main .osh-content :is(h2, h3) { margin: 1.8em 0 .6em; font-family: var(--osh-font-body); font-weight: 600; letter-spacing: -.01em; color: var(--osh-text); }
#osh-main .osh-content h2 { font-size: 28px; line-height: 36px; }
#osh-main .osh-content h3 { font-size: var(--osh-type-card-title-size); line-height: var(--osh-type-card-title-leading); }
#osh-main .osh-content h2.osh-h-problem { color: var(--osh-status-danger-fg); }
#osh-main .osh-content h2.osh-h-answer { color: var(--osh-status-success-fg); }
#osh-main .osh-sidebar .osh-sb-box { border-radius: var(--osh-radius); }
@media (max-width: 767px) {
    #osh-main .osh-article { padding: var(--osh-space-xl) var(--osh-space-lg); }
    #osh-main .osh-article > .osh-title { font-size: 32px; }
    #osh-main .osh-content :is(p, li) { font-size: 17px; line-height: 27px; }
    #osh-main .osh-content h2 { font-size: 24px; line-height: 32px; }
}

/* ---------- 2h. The Weekly Check sign-up (partials/weekly-check) ---------- */
.osh-wc { box-sizing: border-box; display: grid; gap: var(--osh-space-lg); padding: var(--osh-space-xl); border-radius: var(--osh-radius); font-family: var(--osh-font-body); }
.osh-wc *, .osh-wc *::before, .osh-wc *::after { box-sizing: border-box; }
.osh-wc-page { grid-template-rows: auto auto 1fr; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--osh-space-lg) var(--osh-space-3xl); align-items: start; padding: var(--osh-space-2xl); background: var(--osh-surface-subtle); border: 1px solid var(--osh-card-border); color: var(--osh-text); }
.osh-wc-side { background: var(--osh-petrol); color: var(--osh-white); }
.osh-wc-head { display: flex; align-items: center; gap: var(--osh-space-md); }
.osh-wc-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: color-mix(in srgb, currentColor 12%, transparent); }
.osh-wc-k { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; opacity: .75; }
.osh-wc h2 { margin: 0 !important; font: 600 var(--osh-type-card-title-size)/var(--osh-type-card-title-leading) var(--osh-font-body) !important; color: inherit !important; }
.osh-wc p { margin: 0 !important; }
.osh-wc-what { font-size: var(--osh-type-body-size); line-height: var(--osh-type-body-leading); }
.osh-wc-page .osh-wc-what { grid-column: 1; }
.osh-wc-page .osh-wc-form { grid-column: 2; grid-row: 1 / span 3; }
.osh-wc-art { grid-column: 1; align-self: end; width: min(100%, 320px); height: auto; }
.osh-wc-form { display: grid; gap: var(--osh-space-xs); }
.osh-wc-form label { margin-top: var(--osh-space-sm); font: 600 var(--osh-type-label-size)/var(--osh-type-label-leading) var(--osh-font-body); }
.osh-wc-form label span { font-weight: 400; opacity: .8; }
.osh-wc-form input:not([tabindex="-1"]) { width: 100%; min-height: var(--osh-target-min); padding: 0 var(--osh-space-md); border: 1px solid var(--osh-border); border-radius: var(--osh-radius); background: var(--osh-surface); color: var(--osh-text); font: 400 var(--osh-type-body-size)/1 var(--osh-font-body); }
.osh-wc-side .osh-wc-form input:not([tabindex="-1"]) { border-color: var(--osh-white); background: var(--osh-white); color: var(--osh-petrol); }
.osh-wc-form button { margin-top: var(--osh-space-md); min-height: var(--osh-target-min); border: 1px solid var(--osh-action-border); border-radius: var(--osh-radius); background: var(--osh-action-background); color: var(--osh-action-text); font: 600 var(--osh-type-body-size)/1 var(--osh-font-body); cursor: pointer; }
.osh-wc-side .osh-wc-form button { border-color: var(--osh-white); background: var(--osh-white); color: var(--osh-petrol); }
.osh-wc-form button:hover { opacity: .9; }
.osh-wc-form button:disabled { opacity: .6; cursor: progress; }
.osh-wc-msg { margin-top: var(--osh-space-xs) !important; font-size: var(--osh-type-caption-size); line-height: var(--osh-type-caption-leading); opacity: .85; }
.osh-wc-msg.is-error { opacity: 1; font-weight: 600; }
.osh-wc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:root[data-osh-theme="dark"] .osh-wc-side { border: 1px solid var(--osh-white); }
@media (max-width: 767px) { .osh-wc-page { grid-template-columns: minmax(0, 1fr); padding: var(--osh-space-xl); } .osh-wc-page .osh-wc-form { grid-column: 1; grid-row: auto; } }

/* ---------- 2i. links in reading text: approved blue #204F86 (info token), bold and underlined ---------- */
#osh-main :is(.osh-content, .entry-content, .osh-pp-text, .legacy-content) a:not([class*="btn"]):not([class*="button"]):not(.osh-pick a):not(.v2-sec-link):not(.v2-card-seg):not(.v2-card-main):not(.v2-card-sub):not(.osh-textpage-toc a):not(.v2-card-id a):not(.osh-ab2-btn):not(.osh-ab2-link):not(.osh-ab2-end a):not(.osh-ab2-uses a) {
    color: var(--osh-status-info-fg) !important; font-weight: 600; text-decoration: underline !important; text-decoration-color: color-mix(in srgb, var(--osh-status-info-fg) 45%, transparent) !important; text-underline-offset: 3px; text-decoration-thickness: 1.5px; border-radius: 2px; transition: background-color var(--osh-motion-fast); }
#osh-main :is(.osh-content, .entry-content, .osh-pp-text, .legacy-content) a:not([class*="btn"]):not([class*="button"]):not(.osh-pick a):not(.v2-sec-link):not(.v2-card-seg):not(.v2-card-main):not(.v2-card-sub):not(.osh-textpage-toc a):not(.v2-card-id a):not(.osh-ab2-btn):not(.osh-ab2-link):not(.osh-ab2-end a):not(.osh-ab2-uses a):hover {
    background: var(--osh-status-info-bg); text-decoration-color: currentColor !important; }

/* ---------- 2j. tables inside articles: the comparison widget (.onlinesecurityhub) and the simple tables (.osh-t) ---------- */
/* their inner box is also called .osh-wrap: none of the page container rules may reach it (it shifted the frozen column) */
#osh-main .osh-t .osh-wrap, #osh-main .onlinesecurityhub .osh-wrap { max-width: none !important; margin: 0 !important; padding: 0 !important; width: auto; }
#osh-main :is(.osh-t, .onlinesecurityhub) {
    --ink: var(--osh-text); --mut: var(--osh-text-secondary); --line: var(--osh-border-subtle); --head: var(--osh-petrol); --sec: var(--osh-surface-subtle);
    --secink: var(--osh-text); --g: var(--osh-status-success-fg); --n: var(--osh-status-danger-fg); --w: var(--osh-status-warning-fg); --acc: var(--osh-status-info-fg); --hov: var(--osh-surface-subtle);
    font-family: var(--osh-font-body) !important; color: var(--osh-text); }
#osh-main :is(.osh-t, .onlinesecurityhub) :is(table, th, td, button, summary, select, input) { font-family: var(--osh-font-body) !important; }
#osh-main .osh-t table, #osh-main .onlinesecurityhub-table { font-size: 14.5px !important; line-height: 1.4; background: var(--osh-surface) !important; border-radius: 0 !important; }
#osh-main :is(.osh-t .osh-wrap, .onlinesecurityhub-scroll) { border: 1px solid var(--osh-border-subtle) !important; border-radius: var(--osh-radius) !important; background: var(--osh-surface) !important; }
#osh-main :is(.osh-t, .onlinesecurityhub-table) thead th { background: var(--osh-petrol) !important; color: var(--osh-white) !important; font-size: 13.5px !important; font-weight: 600; letter-spacing: .02em; padding: 10px 12px !important; border: 0 !important; }
:root[data-osh-theme="dark"] #osh-main :is(.osh-t, .onlinesecurityhub-table) thead th { background: var(--osh-surface-subtle) !important; box-shadow: inset 0 -1px 0 var(--osh-border); }
#osh-main :is(.osh-t, .onlinesecurityhub-table) :is(tbody th, td) { padding: 8px 12px !important; border: 0 !important; border-bottom: 1px solid var(--osh-border-subtle) !important; background: var(--osh-surface) !important; color: var(--osh-text); }
#osh-main :is(.osh-t, .onlinesecurityhub-table) tbody th { font-weight: 600; background: var(--osh-surface-subtle) !important; box-shadow: inset -1px 0 0 var(--osh-border-subtle) !important; }
#osh-main :is(.osh-t, .onlinesecurityhub-table) tbody tr:hover > * { background: color-mix(in srgb, var(--osh-surface-subtle) 70%, var(--osh-surface)) !important; }
#osh-main :is(.osh-t, .onlinesecurityhub-table) tbody tr:hover > th { background: var(--osh-surface-subtle) !important; }
#osh-main :is(.osh-t, .onlinesecurityhub-table) tbody tr:last-child > * { border-bottom: 0 !important; }
/* status values: the colour plus a small dot, so the meaning does not rest on colour alone */
#osh-main :is(.osh-t .g, .onlinesecurityhub-g) { color: var(--osh-status-success-fg) !important; }
#osh-main :is(.osh-t .n, .onlinesecurityhub-n) { color: var(--osh-status-danger-fg) !important; }
#osh-main :is(.osh-t .w, .onlinesecurityhub-w) { color: var(--osh-status-warning-fg) !important; }
#osh-main :is(.osh-t .g, .osh-t .n, .osh-t .w, .onlinesecurityhub-g, .onlinesecurityhub-n, .onlinesecurityhub-w) { font-weight: 600; }
#osh-main :is(.osh-t td.g, .osh-t td.n, .osh-t td.w, td.onlinesecurityhub-g, td.onlinesecurityhub-n, td.onlinesecurityhub-w)::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
/* the table scrolls sideways in its own box, so its header row sits at the top of that box */
#osh-main .onlinesecurityhub-table thead th { top: 0 !important; }
#osh-main .onlinesecurityhub-fixhead { background: var(--osh-petrol); }
#osh-main .onlinesecurityhub-sec th { background: var(--osh-surface-subtle) !important; color: var(--osh-text) !important; }
#osh-main :is(.onlinesecurityhub-zoombtn, .onlinesecurityhub-dd summary) { border: 1px solid var(--osh-border) !important; border-radius: var(--osh-radius) !important; background: var(--osh-surface) !important; color: var(--osh-text) !important; }
#osh-main .onlinesecurityhub-dd-menu { border-color: var(--osh-border) !important; border-radius: var(--osh-radius) !important; background: var(--osh-surface) !important; }
#osh-main :is(.onlinesecurityhub-fs-topbar, .onlinesecurityhub-fs-footbar) { background: var(--osh-petrol) !important; border-radius: var(--osh-radius) !important; }
/* full screen: the brand page, a compact table */
.onlinesecurityhub:is(:fullscreen, .onlinesecurityhub-fauxfull) { background: var(--osh-canvas) !important; padding: var(--osh-space-xl) !important; }
.onlinesecurityhub:is(:fullscreen, .onlinesecurityhub-fauxfull) .onlinesecurityhub-table { font-size: 12px !important; }
.onlinesecurityhub:is(:fullscreen, .onlinesecurityhub-fauxfull) .onlinesecurityhub-table :is(th, td) { padding: 6px 10px !important; }
#osh-main .osh-t .osh-src, #osh-main .onlinesecurityhub-foot { color: var(--osh-text-secondary); font-size: 12px; }

/* ---------- 3. shared pieces ---------- */
.osh-btn { display: inline-flex; align-items: center; justify-content: center; min-height: var(--osh-target-min); padding: 0 var(--osh-space-xl); border: 1px solid var(--osh-action-border); border-radius: var(--osh-radius); background: var(--osh-action-background); color: var(--osh-action-text) !important; font: 600 var(--osh-type-body-size)/var(--osh-type-body-leading) var(--osh-font-body); text-decoration: none !important; cursor: pointer; transition: opacity var(--osh-motion-fast); }
.osh-btn:hover { opacity: .88; }
.osh-btn.is-secondary { background: var(--osh-secondary-action-background); color: var(--osh-secondary-action-text) !important; border-color: var(--osh-secondary-action-border); }
.osh-box { display: block; padding: var(--osh-space-2xl); background: var(--osh-surface-subtle); border: 1px solid var(--osh-card-border); border-radius: var(--osh-radius); color: var(--osh-text); }
.osh-eyebrow { margin: 0; font: 600 var(--osh-type-label-size)/var(--osh-type-label-leading) var(--osh-font-body); letter-spacing: .04em; text-transform: uppercase; color: var(--osh-text); }
.osh-display { margin: 0; font: var(--osh-type-display-weight) var(--osh-type-display-size)/var(--osh-type-display-leading) var(--osh-font-editorial); letter-spacing: -.01em; color: var(--osh-text); }
.osh-page-title { margin: 0; font: var(--osh-type-page-title-weight) var(--osh-type-page-title-size)/var(--osh-type-page-title-leading) var(--osh-font-editorial); letter-spacing: -.01em; color: var(--osh-text); }
.osh-section-title { margin: 0; font: var(--osh-type-section-title-weight) var(--osh-type-section-title-size)/var(--osh-type-section-title-leading) var(--osh-font-body); letter-spacing: -.01em; color: var(--osh-text); }
.osh-card-title { margin: 0; font: var(--osh-type-card-title-weight) var(--osh-type-card-title-size)/var(--osh-type-card-title-leading) var(--osh-font-body); color: var(--osh-text); }
.osh-lead { margin: 0; font: 400 var(--osh-type-card-title-size)/var(--osh-type-card-title-leading) var(--osh-font-body); color: var(--osh-text); }
.osh-muted { color: var(--osh-text-secondary); }
.osh-go { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
/* The Business door: opening and The Baseline box (directory/business-home.blade.php) */
.osh-bd-hero { display: grid; gap: var(--osh-space-xl); padding-block: var(--osh-space-4xl) var(--osh-space-2xl); }
.osh-bd-hero .osh-display { max-width: 16em; font: var(--osh-type-display-weight) var(--osh-type-display-size)/var(--osh-type-display-leading) var(--osh-font-editorial) !important; color: var(--osh-text) !important; }
.osh-bd-hero p { margin: 0; }
.osh-bd-hero .osh-bd-baseline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--osh-space-xl) var(--osh-space-3xl); align-items: center; margin-top: var(--osh-space-lg); }
.osh-bd-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--osh-space-2xl) var(--osh-space-4xl); align-items: center; }
.osh-bd-text { display: grid; gap: var(--osh-space-xl); }
.osh-bd-art { justify-self: end; width: min(100%, 460px); height: auto; }
.osh-bd-path { justify-self: end; width: min(100%, 440px); height: auto; }
.osh-bd-baseline > div { display: grid; gap: var(--osh-space-md); justify-items: start; }
.osh-bd-baseline .osh-card-title { color: var(--osh-text) !important; }
.osh-bd-hero .osh-byline a { color: inherit; text-decoration: none; }
@media (max-width: 767px) { .osh-bd-hero { padding-block: var(--osh-space-3xl) var(--osh-space-xl); } .osh-bd-hero .osh-bd-baseline, .osh-bd-top { grid-template-columns: minmax(0, 1fr); } .osh-bd-art { justify-self: center; width: min(100%, 300px); } .osh-bd-path { justify-self: center; } }
.osh-bz h2.osh-bz-title { font: var(--osh-type-section-title-weight) var(--osh-type-section-title-size)/var(--osh-type-section-title-leading) var(--osh-font-body) !important; letter-spacing: -.01em; }
.osh-byline { display: flex; align-items: center; gap: var(--osh-space-md); font-weight: 600; }
.osh-byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
/* 2k. Drawings (public/assets/brand/illustrations, line art on a transparent background).
   Dark mode turns them into light lines on dark: invert, then turn the hue back so green stays green. */
.osh-illo { display: block; max-width: 100%; height: auto; }
:root[data-osh-theme="dark"] .osh-illo { filter: invert(1) hue-rotate(180deg) brightness(1.1); }
.osh-art-head { display: grid !important; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--osh-space-xl) var(--osh-space-3xl); align-items: center; }
.osh-art-head > div { display: grid; gap: var(--osh-space-md); align-content: start; }
.osh-art-head > div > * { margin-block: 0 !important; }
.osh-art-head > .osh-illo { justify-self: end; width: min(100%, 420px); }
.osh-art-head > .osh-art-tall { width: auto; max-height: 200px; }
.bl-art { display: flex; align-items: center; gap: var(--osh-space-xl); padding: var(--osh-space-md) 14px; border-bottom: 1px solid var(--osh-border-subtle); }
.bl-art .osh-illo { flex: none; width: 220px; }
.bl-art p { margin: 0; font-size: var(--osh-type-label-size); line-height: var(--osh-type-label-leading); color: var(--osh-text-secondary); }
.osh-dir-welcome-art { width: 120px; margin-bottom: var(--osh-space-md); }
#osh-main .v5-verdict { position: relative; }
.v5-verdict-art { float: right; width: 120px; margin: 0 0 var(--osh-space-md) var(--osh-space-xl); }
.v5-honest { align-items: center !important; }
.v5-honest-art { flex: none; width: 56px; }
.me-empty-art { width: 200px; margin: var(--osh-space-lg) auto 0; }
.osh-nf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--osh-space-2xl) var(--osh-space-4xl); align-items: center; padding-block: var(--osh-space-4xl); }
.osh-nf > div { display: grid; gap: var(--osh-space-lg); justify-items: start; }
.osh-nf p { margin: 0; }
.osh-nf ul { display: grid; gap: var(--osh-space-xs); margin: 0; padding: 0; list-style: none; }
.osh-nf ul a { font-weight: 600; }
.osh-nf-search { display: flex; gap: var(--osh-space-sm); width: min(100%, 440px); }
.osh-nf-search input { flex: 1; min-width: 0; min-height: var(--osh-target-min); padding: 0 var(--osh-space-md); border: 1px solid var(--osh-border); border-radius: var(--osh-radius); background: var(--osh-surface); color: var(--osh-text); font: 400 var(--osh-type-body-size)/1 var(--osh-font-body); }
.osh-nf > .osh-illo { justify-self: end; width: min(100%, 440px); }
@media (max-width: 767px) {
    .osh-art-head, .osh-nf { grid-template-columns: minmax(0, 1fr); }
    .osh-art-head > .osh-illo, .osh-nf > .osh-illo { justify-self: start; width: min(100%, 280px); }
    .osh-art-head > .osh-art-tall { max-height: 140px; }
    .osh-nf > .osh-illo { order: -1; }
    .bl-art .osh-illo { width: 140px; }
    .v5-verdict-art { width: 84px; }
}
/* 2l. Bigger reading size (Mefat 2026-11-16: "make the content bigger"). One step up from the brand pack's sizes;
   :root:root wins over osh-tokens.css and osh-v2.css whatever the load order. */
:root:root {
  --osh-type-display-size: 68px; --osh-type-display-leading: 72px;
  --osh-type-page-title-size: 52px; --osh-type-page-title-leading: 58px;
  --osh-type-section-title-size: 36px; --osh-type-section-title-leading: 44px;
  --osh-type-card-title-size: 24px; --osh-type-card-title-leading: 32px;
  --osh-type-article-size: 20px; --osh-type-article-leading: 32px;
  --osh-type-body-size: 18px; --osh-type-body-leading: 28px;
  --osh-type-label-size: 16px; --osh-type-label-leading: 24px;
  --osh-type-caption-size: 15px; --osh-type-caption-leading: 22px;
  --t1: 13px; --t2: 16px; --t3: 18px; --t4: 20px; --t5: 22px; --t6: 26px;
}
@media (max-width: 767px) {
  :root:root {
    --osh-type-display-size: 42px; --osh-type-display-leading: 46px;
    --osh-type-page-title-size: 36px; --osh-type-page-title-leading: 42px;
    --osh-type-section-title-size: 28px; --osh-type-section-title-leading: 36px;
    --osh-type-card-title-size: 21px; --osh-type-card-title-leading: 29px;
    --osh-type-article-size: 18px; --osh-type-article-leading: 29px;
    --osh-type-body-size: 17px; --osh-type-body-leading: 26px;
    --osh-type-label-size: 15px; --osh-type-label-leading: 22px;
    --osh-type-caption-size: 14px; --osh-type-caption-leading: 21px;
    --t2: 15px; --t3: 17px; --t4: 18px;
  }
}
/* 2m. Logos always sit inside their square (some files run to the edge, e.g. NordVPN), product card actions,
   article text filling its panel (Mefat 2026-11-16). */
.v5-logo:not(.v5-logo-mono) img { box-sizing: border-box; padding: 12%; }
#osh-main .v2-card-logo { padding: 8px; }
#osh-main .v2-card-text { font-size: var(--osh-type-label-size); line-height: 1.6; color: var(--osh-text); }
.v2-card-acts { margin: auto -22px 0; border-top: 1px solid var(--osh-border-subtle); }
.v2-card-facts { display: flex; align-items: center; justify-content: space-between; gap: var(--osh-space-md); min-height: 48px; padding: 0 22px; font: 600 var(--osh-type-label-size)/1.3 var(--osh-font-body); color: var(--osh-text) !important; text-decoration: none !important; }
.v2-card-facts:hover { background: var(--osh-surface-subtle); }
.v2-card-facts .osh-icon { flex: none; width: 16px; height: 16px; transform: rotate(-90deg); transition: transform var(--osh-motion-fast); }
.v2-card-facts:hover .osh-icon { transform: rotate(-90deg) translateY(3px); }
.v2-card-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--osh-space-sm); padding: 0 22px 20px; }
.v2-card-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--osh-space-sm); min-height: 44px; padding: 0 var(--osh-space-md); border: 1px solid var(--osh-border); border-radius: var(--osh-radius); background: var(--osh-surface); color: var(--osh-text) !important; font: 600 15px/1.2 var(--osh-font-body); text-decoration: none !important; text-align: center; transition: background var(--osh-motion-fast), border-color var(--osh-motion-fast); }
.v2-card-btn .osh-icon { flex: none; width: 17px; height: 17px; }
.v2-card-btn:hover { border-color: var(--osh-text); background: var(--osh-surface-subtle); }
.v2-card-btn.is-main { border-color: var(--osh-petrol); background: var(--osh-petrol); color: var(--osh-white) !important; }
.v2-card-btn.is-main:hover { opacity: .9; background: var(--osh-petrol); }
:root[data-osh-theme="dark"] .v2-card-btn.is-main { border-color: var(--osh-white); background: var(--osh-white); color: var(--osh-petrol) !important; }
#osh-main .osh-article { padding: var(--osh-space-2xl) var(--osh-space-2xl) var(--osh-space-3xl); }
#osh-main .osh-article .osh-content { padding-inline: 0; }
@media (max-width: 767px) { #osh-main .osh-article { padding: var(--osh-space-xl) var(--osh-space-lg); } }
@media (max-width: 767px) { .v2-card-btn { padding: 0 var(--osh-space-sm); font-size: 14px; white-space: nowrap; gap: 6px; } .v2-card-btn .osh-icon { width: 15px; height: 15px; } }
/* 2n. Topic page: link to the topic's comparison (personal-topic.blade.php). */
#osh-main .osh-tp-cmp { display: grid; gap: 4px; max-width: 720px; margin: var(--osh-space-lg) 0 var(--osh-space-sm); padding: var(--osh-space-lg) var(--osh-space-xl); border-radius: var(--osh-radius); background: var(--osh-petrol); color: var(--osh-white) !important; text-decoration: none !important; box-shadow: 5px 5px 0 color-mix(in srgb, var(--osh-status-success-fg) 55%, transparent); transition: transform var(--osh-motion-fast); }
#osh-main .osh-tp-cmp:hover { transform: translate(-2px, -2px); }
.osh-tp-cmp-k { font: 600 13px/1.4 var(--osh-font-body); letter-spacing: .06em; text-transform: uppercase; color: #7fd3a4; }
.osh-tp-cmp b { font: 600 var(--osh-type-card-title-size)/1.3 var(--osh-font-body); }
.osh-tp-cmp > span:not([class]) { font-size: var(--osh-type-label-size); color: color-mix(in srgb, var(--osh-white) 82%, transparent); }
.osh-tp-cmp-go { margin-top: var(--osh-space-sm); font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
:root[data-osh-theme="dark"] #osh-main .osh-tp-cmp { border: 1px solid color-mix(in srgb, var(--osh-white) 22%, transparent); }

/* Text size button ("Aa" in the article meta, osh.js data-osh-font): larger, then largest, then back.
   Its styles were lost in the 2026-11-16 restyle; restored 2026-11-17. */
:root:root[data-osh-font="1"] { --osh-type-article-size: 23px; --osh-type-article-leading: 36px; }
:root:root[data-osh-font="2"] { --osh-type-article-size: 26px; --osh-type-article-leading: 40px; }
:root[data-osh-font="1"] #osh-main .osh-content :is(h2) { font-size: 1.12em; }
:root[data-osh-font="2"] #osh-main .osh-content :is(h2) { font-size: 1.2em; }
.osh-font-resizer[aria-pressed="true"] { color: var(--osh-petrol); }

/* Long text pages (privacy, terms, cookies, disclosure, how I test; 2026-11-17): reading spacing. */
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > .site-block-post-content { max-width: 760px; }
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > .site-block-post-content > :is(h2, h3) { margin-block: 1.8em .5em; }
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > .site-block-post-content > :is(p, ul, ol, table) { margin-block: 0 1em; }
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > .site-block-post-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > .site-block-post-content :is(th, td) { padding: 10px 12px; border: 1px solid var(--osh-border-subtle); text-align: left; vertical-align: top; }
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > .site-block-post-content th { background: var(--osh-surface-subtle); color: var(--osh-text); font-weight: 600; }

/* ---------- 2e. Alignment pass (Mefat 2026-11-17: "pixel perfect, the spacing looks wrong") ----------
   One column for everything: the header's 1200px container with the same side padding (osh-wrap).
   Boxed sections line up by their outer edge; sections are 64px apart. Checked with /root/osh-qa/align.js. */
:root { --osh-col: min(var(--osh-container), calc(100% - 2 * var(--osh-space-xl))); }
@media (max-width: 767px) { :root { --osh-col: calc(100% - 2 * var(--osh-space-lg)); } }

/* Old saved pages (WordPress layout classes): every top-level block on the header's column. */
#osh-main.is-layout-constrained.has-global-padding { padding-inline: 0 !important; }
#osh-main.is-layout-constrained > :not(.alignfull):not(script):not(style) { box-sizing: border-box; width: var(--osh-col); max-width: none !important; margin-inline: auto !important; }
/* Long text pages keep a reading column, and their title sits on it too. */
/* Long text pages (legal, How I test): full site width, "On this page" on the left, the text on the right (Page::TEXT_PAGES). */
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > :is(h1, .site-block-post-content) { width: var(--osh-col); padding-inline: 0 !important; }
body:is(.privacy-policy, .terms-of-service, .cookie-policy, .disclosure, .how-i-test).osh-blockpage #osh-main > h1 { margin-top: var(--osh-space-2xl, 40px) !important; margin-bottom: var(--osh-space-2xl, 40px) !important; }
#osh-main .osh-textpage { width: 100%; max-width: none !important; margin-inline: 0 !important; }
.osh-textpage { display: grid; grid-template-columns: 260px minmax(0, 780px); gap: var(--osh-space-4xl); align-items: start; }
.osh-textpage-body > :first-child { margin-top: 0; }
.osh-textpage-toc { position: sticky; top: 104px; padding: var(--osh-space-lg); border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius); background: var(--osh-surface-subtle); font-family: var(--osh-font-body); }
.osh-textpage-toc p { margin: 0 0 10px !important; font-size: 12px !important; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--osh-text-secondary); }
.osh-textpage-toc ol { display: grid; gap: 2px; margin: 0 !important; padding: 0 !important; list-style: none; counter-reset: tp; }
.osh-textpage-toc li { margin: 0 !important; padding: 0 !important; counter-increment: tp; }
#osh-main .osh-textpage-toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 4px; color: var(--osh-text) !important; font-size: 14px; line-height: 1.4; text-decoration: none !important; }
#osh-main .osh-textpage-toc a::before { content: counter(tp); flex: none; min-width: 16px; color: var(--osh-text-secondary); font-variant-numeric: tabular-nums; }
#osh-main .osh-textpage-toc a:hover, #osh-main .osh-textpage-toc a.is-here { background: var(--osh-surface); box-shadow: inset 0 0 0 1px var(--osh-border-subtle); }
.osh-textpage-body h2 { scroll-margin-top: 104px; }
@media (max-width: 1023px) { .osh-textpage { grid-template-columns: minmax(0, 1fr); gap: var(--osh-space-xl); } .osh-textpage-toc { position: static; } }

/* Topic pages: the "What to look for" box on the column, even gaps between sections. */
.v2-topicpage .v5-look.v2-wrap { box-sizing: border-box; width: var(--osh-col); max-width: none; margin-inline: auto; padding: var(--osh-space-xl); }
.v2-topicpage .v5-look-topic { margin-top: var(--osh-space-lg); margin-bottom: var(--osh-space-4xl); }
.v2-topicpage .v2-tp-cards { padding-bottom: var(--osh-space-4xl); }
.v2-topicpage .v5-untested { margin-top: 0; margin-bottom: 0; padding-bottom: var(--osh-space-4xl); }
.v2-topicpage .v2-tp-group { margin-bottom: var(--osh-space-lg); }

/* Product card actions (item 6, 2026-11-17): one bar "Review | Settings | Prices & facts", the first one filled.
   #osh-main in every selector: the site's link and corner rules use the id too. */
/* Product card actions (Mefat 2026-11-18): the main read on top, full width; the other two side by side underneath. */
#osh-main .v2-card { padding-bottom: 22px; }
#osh-main .v2-card .v2-card-acts { display: grid; gap: 8px; margin: auto 0 0; padding-top: var(--osh-space-lg); border-top: 0; }
#osh-main .v2-card-main { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: var(--osh-radius) !important; background: var(--osh-petrol); color: var(--osh-white) !important; font: 600 15px/1.2 var(--osh-font-body); text-decoration: none !important; }
#osh-main .v2-card-main span { flex: 1; }
#osh-main .v2-card-main .v2-card-arrow { flex: none; transition: transform .15s ease; }
#osh-main .v2-card-main:hover { background: color-mix(in srgb, var(--osh-petrol) 86%, #fff); }
#osh-main .v2-card-main:hover .v2-card-arrow { transform: translateX(3px); }
#osh-main .v2-card-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#osh-main .v2-card-more.is-1 { grid-template-columns: 1fr; }
#osh-main .v2-card-sub { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px; border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius) !important; background: var(--osh-surface-subtle); color: var(--osh-text) !important; font: 600 14px/1.2 var(--osh-font-body); text-decoration: none !important; white-space: nowrap; }
#osh-main .v2-card-sub:hover { border-color: var(--osh-border); background: var(--osh-surface); }
#osh-main :is(.v2-card-main, .v2-card-sub) .osh-icon { flex: none; width: 17px; height: 17px; }
#osh-main :is(.v2-card-main, .v2-card-sub):focus-visible { outline: 2px solid var(--osh-focus, var(--osh-petrol)); outline-offset: 2px; }
:root[data-osh-theme="dark"] #osh-main .v2-card-main { background: var(--osh-white); color: var(--osh-petrol) !important; }
:root[data-osh-theme="dark"] #osh-main .v2-card-main:hover { background: color-mix(in srgb, var(--osh-white) 88%, var(--osh-petrol)); }
@media (max-width: 380px) { #osh-main .v2-card-sub { font-size: 13px; gap: 6px; } }
#osh-main .v2-card-id h3 a { color: var(--osh-text); text-decoration: none; }
#osh-main .v2-card-id h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About page (/mefat-shabani/, 2026-11-17, item 18): body built by /root/osh-content/about/build-about.py ---------- */
.osh-ab2 { color: var(--osh-text); font-family: var(--osh-font-body); }
/* The saved page wrapper (also on /contact/) added 50px each side: content sits on the header's column. */
#osh-main .osh-pagewrap { box-sizing: border-box; width: var(--osh-col) !important; max-width: none !important; margin-inline: auto !important; padding-inline: 0 !important; }
#osh-main .osh-ab2-uses a { color: var(--osh-text) !important; text-decoration: none !important; }
#osh-main .osh-ab2-uses a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.osh-ab2 :is(h1, h2, h3, p, ul, ol, dl, figure) { margin: 0; }
.osh-ab2-k { font: 600 13px/1.4 var(--osh-font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--osh-text-secondary); }
.osh-ab2-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--osh-space-3xl); align-items: center; padding-block: var(--osh-space-3xl) var(--osh-space-2xl); }
.osh-ab2-hero-text { display: grid; gap: var(--osh-space-lg); }
.osh-ab2 h1 { font: var(--osh-type-display-weight, 500) clamp(36px, 2.4vw + 18px, 54px)/1.1 var(--osh-font-editorial); letter-spacing: -.015em; }
.osh-ab2-lead { font-size: 20px; line-height: 1.55; color: var(--osh-text-secondary); max-width: 58ch; }
.osh-ab2-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--osh-space-md) var(--osh-space-xl); }
#osh-main .osh-ab2-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--osh-radius); background: var(--osh-petrol); color: var(--osh-white) !important; font-weight: 600; text-decoration: none !important; }
#osh-main .osh-ab2-btn:hover { background: color-mix(in srgb, var(--osh-petrol) 86%, #fff); }
#osh-main .osh-ab2-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--osh-text) !important; text-decoration: none !important; }
#osh-main .osh-ab2-link:hover { text-decoration: underline !important; text-underline-offset: 4px; }
.osh-ab2-portrait { position: relative; justify-self: end; width: min(100%, 420px); }
.osh-ab2-portrait::before { content: ""; position: absolute; top: 6%; left: 6%; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--osh-tint); z-index: 0; }
.osh-ab2-portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50% !important; }
.osh-ab2-portrait figcaption { position: relative; z-index: 1; margin-top: var(--osh-space-xl); font-size: 14px; color: var(--osh-text-secondary); text-align: center; }
.osh-ab2-facts { margin-block: var(--osh-space-2xl) var(--osh-space-4xl); padding: var(--osh-space-xl); border-radius: var(--osh-radius); background: var(--osh-surface-subtle); }
.osh-ab2-facts dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--osh-space-xl); }
.osh-ab2-facts dt { font: 500 clamp(30px, 1.4vw + 18px, 40px)/1.1 var(--osh-font-editorial); color: var(--osh-text); }
.osh-ab2-facts dd { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--osh-text-secondary); }
.osh-ab2-sec { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--osh-space-2xl); padding-block: var(--osh-space-3xl); border-top: 1px solid var(--osh-border-subtle); }
.osh-ab2-sec h2 { font: 500 clamp(26px, 1vw + 18px, 34px)/1.2 var(--osh-font-editorial); }
.osh-ab2-body { display: grid; gap: var(--osh-space-md); max-width: 720px; }
.osh-ab2-body > p { font-size: 18px; line-height: 1.65; }
.osh-ab2-h3 { margin-top: var(--osh-space-lg) !important; font: 600 18px/1.3 var(--osh-font-body); }
.osh-ab2-uses { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--osh-space-sm); padding: 0; list-style: none; }
.osh-ab2-uses li { display: flex; align-items: flex-start; gap: var(--osh-space-md); padding: var(--osh-space-md); border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius); background: var(--osh-surface); }
.osh-ab2-uselogo { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 6px; border: 1px solid var(--osh-border-subtle); border-radius: 10px !important; background: #fff; }
.osh-ab2-uselogo img { width: 100%; height: 100%; object-fit: contain; }
.osh-ab2-uselogo.is-letter { border: 0; background: var(--osh-petrol); color: #fff; font-weight: 700; }
.osh-ab2-uses li > span:last-child { display: grid; gap: 2px; }
.osh-ab2-usek { font-size: 13px; color: var(--osh-text-secondary); }
.osh-ab2-uses b { font-size: 16px; }
.osh-ab2-usenote { font-size: 14px; line-height: 1.4; color: var(--osh-text-secondary); }
.osh-ab2-desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--osh-space-lg); align-items: center; margin-top: var(--osh-space-md); }
.osh-ab2-desk img { display: block; width: 100%; height: auto; border-radius: var(--osh-radius); }
.osh-ab2-desk figcaption { margin-top: 8px; font-size: 14px; color: var(--osh-text-secondary); }
.osh-ab2-note { padding: var(--osh-space-lg); border-left: 3px solid var(--osh-petrol); background: var(--osh-surface-subtle); font-size: 16px; line-height: 1.6; }
.osh-ab2-life { padding-bottom: var(--osh-space-xl); }
/* Photos keep their own shape (Mefat 2026-11-18: wide ones were cut): a masonry of four columns. */
.osh-ab2-photos { columns: 4; column-gap: var(--osh-space-md); margin: 0 0 var(--osh-space-3xl); padding: 0; list-style: none; }
.osh-ab2-photos li { break-inside: avoid; margin: 0 0 var(--osh-space-lg) !important; }
.osh-ab2-photos figure { margin: 0; }
.osh-ab2-photos img { display: block; width: 100%; height: auto; border-radius: var(--osh-radius); }
.osh-ab2-photos figcaption { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--osh-text-secondary); }
.osh-ab2-tips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--osh-space-lg) var(--osh-space-xl); padding: 0; list-style: none; counter-reset: abtip; }
.osh-ab2-tips li { position: relative; padding-left: 44px; font-size: 16px; line-height: 1.55; color: var(--osh-text-secondary); counter-increment: abtip; }
.osh-ab2-tips li::before { content: counter(abtip); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--osh-petrol); color: #fff; font: 600 14px/1 var(--osh-font-body); }
#osh-main .osh-ab2-tips li a { color: var(--osh-text) !important; text-decoration: none !important; }
#osh-main .osh-ab2-tips li a strong { text-decoration: underline; text-decoration-color: var(--osh-border); text-underline-offset: 4px; }
.osh-ab2-end { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--osh-space-xl); align-items: center; margin-block: var(--osh-space-2xl) var(--osh-space-xl); padding: var(--osh-space-2xl); border-radius: var(--osh-radius); background: var(--osh-petrol); color: #fff; }
.osh-ab2-end h2 { margin-bottom: var(--osh-space-sm) !important; font: 500 clamp(26px, 1vw + 18px, 34px)/1.2 var(--osh-font-editorial); color: #fff; }
.osh-ab2-end p { font-size: 17px; line-height: 1.6; color: color-mix(in srgb, #fff 85%, transparent); }
#osh-main .osh-ab2-end p a { color: #fff !important; }
.osh-ab2-sign { margin-top: var(--osh-space-md) !important; font-style: italic; }
.osh-ab2-end .osh-ab2-actions { justify-content: flex-end; }
#osh-main .osh-ab2-btn.is-light { background: #fff; color: var(--osh-petrol) !important; }
#osh-main .osh-ab2-link.is-light { color: #fff !important; }
:root[data-osh-theme="dark"] .osh-ab2-tips li::before { background: #fff; color: var(--osh-petrol); }
@media (max-width: 1023px) {
    .osh-ab2-hero, .osh-ab2-sec, .osh-ab2-end { grid-template-columns: minmax(0, 1fr); }
    .osh-ab2-portrait { justify-self: start; width: min(100%, 320px); }
    .osh-ab2-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .osh-ab2-photos { columns: 3; }
    .osh-ab2-end .osh-ab2-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
    .osh-ab2-desk, .osh-ab2-tips { grid-template-columns: minmax(0, 1fr); }
    .osh-ab2-photos { columns: 2; }
    .osh-ab2-facts dl { grid-template-columns: minmax(0, 1fr); }
}
#osh-main :is(.osh-ab2-uses, .osh-ab2-photos, .osh-ab2-tips) { padding-left: 0 !important; margin-left: 0 !important; }

/* ---------- Contact page (2026-11-17, item 23): the form in the brand style, scoped to pages with the form ---------- */
#osh-main .osh-pagewrap:has(.osh-reach) h1 { margin: var(--osh-space-xl) 0 var(--osh-space-md) !important; padding: 0 !important; border: 0 !important; font: 500 clamp(36px, 2vw + 20px, 52px)/1.1 var(--osh-font-editorial) !important; letter-spacing: -.015em; }
#osh-main .osh-pagewrap:has(.osh-reach) h1::after, #osh-main .osh-pagewrap:has(.osh-reach) h1::before { display: none !important; }
#osh-main .osh-pagewrap:has(.osh-reach) h1 + p { max-width: 62ch; font-size: 20px !important; line-height: 1.55 !important; color: var(--osh-text-secondary) !important; }
.osh-reach-form { counter-reset: reachstep; gap: var(--osh-space-2xl) !important; }
.osh-reach-step { padding: var(--osh-space-xl) !important; border: 1px solid var(--osh-border-subtle) !important; border-radius: var(--osh-radius); background: var(--osh-surface); }
.osh-reach .osh-reach-h { display: flex !important; align-items: center; gap: var(--osh-space-sm); margin-bottom: var(--osh-space-lg) !important; font: 600 20px/1.3 var(--osh-font-body) !important; counter-increment: reachstep; }
.osh-reach .osh-reach-h::before { content: counter(reachstep); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--osh-petrol); color: #fff; font: 600 14px/1 var(--osh-font-body); }
.osh-reach-topic { border: 1px solid var(--osh-border) !important; box-shadow: none !important; transition: border-color var(--osh-motion-fast), background var(--osh-motion-fast); }
.osh-reach-topic:hover { border-color: var(--osh-text-secondary) !important; }
.osh-reach-topic:has(input:checked) { border-color: var(--osh-petrol) !important; background: color-mix(in srgb, var(--osh-petrol) 6%, var(--osh-surface)); box-shadow: inset 0 0 0 1px var(--osh-petrol) !important; }
.osh-reach-topic:has(input:checked)::after { content: ""; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--osh-petrol) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.osh-reach :is(input[type="text"], input[type="email"], textarea, select) { min-height: 48px; padding: 10px 14px !important; border: 1px solid var(--osh-border) !important; border-radius: var(--osh-radius) !important; background: var(--osh-surface) !important; font: 17px/1.4 var(--osh-font-body) !important; color: var(--osh-text) !important; box-shadow: none !important; }
.osh-reach :is(input[type="text"], input[type="email"], textarea, select):focus { outline: 0; border-color: var(--osh-petrol) !important; box-shadow: 0 0 0 3px color-mix(in srgb, var(--osh-petrol) 15%, transparent) !important; }
.osh-reach-send :is(button, [type="submit"]) { min-height: 50px; padding: 0 26px; border-radius: var(--osh-radius) !important; background: var(--osh-petrol) !important; color: #fff !important; font: 600 17px/1 var(--osh-font-body) !important; }
.osh-contact-aside { padding: var(--osh-space-xl) !important; border: 1px solid var(--osh-border-subtle); border-radius: var(--osh-radius) !important; background: var(--osh-surface-subtle) !important; }
.osh-contact-aside :is(h2, h3, .osh-contact-aside-h) { font-family: var(--osh-font-body) !important; }
#osh-main .osh-pagewrap:has(.osh-reach) h1 > span { display: inline; padding: 0; margin: 0; border: 0 !important; }
/* Step headings inside the card, like step 4 (a legend otherwise sits on the fieldset border). */
.osh-reach-step > legend.osh-reach-h { float: left; width: 100%; }
.osh-reach-step > legend.osh-reach-h + * { clear: both; }

/* Profile (2026-11-17, items 20 and 22): first and last name side by side, the photo row. */
.me-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--osh-space-md); }
/* Profile photo: click the round photo to change it; crop window (osh-photo.js) */
.me-avatar-row { display: flex; align-items: center; gap: var(--osh-space-lg); margin: 0 0 var(--osh-space-sm); padding: 8px 14px 18px 18px; border-bottom: 1px solid var(--osh-border-subtle); }
.me-avatar { position: relative; flex: none; width: 88px; height: 88px; padding: 0; border: 0; border-radius: 50% !important; background: none; cursor: pointer; }
.me-avatar img, .me-avatar-none { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50% !important; object-fit: cover; box-shadow: 0 0 0 3px var(--osh-surface), 0 0 0 4px var(--osh-border); }
.me-avatar-none { background: var(--osh-petrol); color: #fff; font: 600 32px/1 var(--osh-font-body); }
.me-avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgb(10 38 44 / 0); transition: background .15s ease; }
.me-avatar:hover::after, .me-avatar:focus-visible::after { background: rgb(10 38 44 / .35); }
.me-avatar:focus-visible { outline: 2px solid var(--osh-petrol); outline-offset: 4px; }
.me-avatar-cam { position: absolute; z-index: 1; right: -2px; bottom: -2px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--osh-petrol); color: #fff; box-shadow: 0 0 0 3px var(--osh-surface); }
.me-avatar-name { margin: 0; font-weight: 600; font-size: 17px; }
.me-avatar-help { margin: 2px 0 8px; font-size: 13px; line-height: 1.5; color: var(--osh-text-secondary); }
.me-avatar-acts { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.me-linkbtn.is-quiet { color: var(--osh-text-secondary); }
.me-photo-form.is-scripted { display: none; }
.me-photo-form { display: grid; gap: 4px; }
:root[data-osh-theme="dark"] .me-avatar-none, :root[data-osh-theme="dark"] .me-avatar-cam { background: #fff; color: var(--osh-petrol); }
.me-crop { width: min(92vw, 440px); padding: 0; border: 1px solid var(--osh-border); border-radius: 8px; background: var(--osh-surface); color: var(--osh-text); box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
.me-crop::backdrop { background: rgb(10 38 44 / .6); }
.me-crop-in { display: grid; gap: var(--osh-space-md); padding: var(--osh-space-xl); }
.me-crop h2 { margin: 0; font-size: 20px; }
.me-crop p { margin: -8px 0 0; font-size: 14px; color: var(--osh-text-secondary); }
.me-crop-stage { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: #111; cursor: grab; touch-action: none; user-select: none; }
.me-crop-stage.is-dragging { cursor: grabbing; }
.me-crop-stage:focus-visible { outline: 2px solid var(--osh-petrol); outline-offset: 3px; }
.me-crop-stage canvas { display: block; width: 100%; height: 100%; }
.me-crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgb(0 0 0 / .55); outline: 2px solid rgb(255 255 255 / .9); outline-offset: -2px; pointer-events: none; }
.me-crop-zoom { display: flex; align-items: center; gap: 12px; font-size: 20px; color: var(--osh-text-secondary); }
.me-crop-zoom input { flex: 1; accent-color: var(--osh-petrol); }
.me-crop-go { display: flex; justify-content: flex-end; gap: var(--osh-space-sm); }
.me-linkbtn { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--osh-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 640px) { .me-field-row { grid-template-columns: minmax(0, 1fr); } }

/* Sidebar sign-up, compact (Mefat 2026-11-18) */
.osh-wc-side { gap: var(--osh-space-md); padding: var(--osh-space-xl) var(--osh-space-lg); }
.osh-wc-side h2 { font-size: 20px !important; line-height: 1.25 !important; }
.osh-wc-side .osh-wc-what { font-size: 15px; line-height: 1.55; opacity: .9; }
.osh-wc-side .osh-wc-form { gap: 4px; }
.osh-wc-side .osh-wc-form label { margin-top: 6px; font-size: 13px; }
.osh-wc-side .osh-wc-form input:not([tabindex="-1"]) { min-height: 42px; border-color: transparent; }
.osh-wc-side .osh-wc-form input:not([tabindex="-1"]):focus { outline: 2px solid var(--osh-white); outline-offset: 2px; }
.osh-wc-form button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; }
.osh-wc-form button svg { transition: transform .15s ease; }
.osh-wc-form button:hover svg { transform: translateX(3px); }
.osh-wc-side .osh-wc-msg { font-size: 12px; }

/* Summarize with AI: the buttons share the box width evenly, edge to edge */
.osh-ai-box .osh-ai-btns { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 6px; }
.osh-ai-box .osh-ai-btn { flex: 1 1 0; width: auto; max-width: 44px; height: auto; aspect-ratio: 1; }
.osh-ai-box .osh-ai-title { margin-bottom: 14px; }

/* Sidebar search: one rounded field with the button inside, a clear focus ring, no browser "x" */
.osh-sb-box:has(.site-block-search) { padding: var(--osh-space-lg); }
.osh-sb-box .site-block-search__inside-wrapper { display: flex; align-items: center; min-height: 46px; border: 1px solid color-mix(in srgb, #fff 45%, transparent) !important; border-radius: var(--osh-radius) !important; background: color-mix(in srgb, #fff 8%, transparent) !important; transition: border-color .15s ease, background .15s ease; }
.osh-sb-box .site-block-search__inside-wrapper:focus-within { border-color: #fff !important; background: color-mix(in srgb, #fff 14%, transparent) !important; box-shadow: 0 0 0 3px color-mix(in srgb, #fff 25%, transparent); }
.osh-sb-box .site-block-search__input { flex: 1; min-width: 0; height: 44px; padding: 0 6px 0 14px !important; outline: none !important; box-shadow: none !important; }
.osh-sb-box .site-block-search__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.osh-sb-box .site-block-search__input::selection { background: color-mix(in srgb, #fff 35%, transparent); color: #fff; }
.osh-sb-box .site-block-search__button { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 3px 0 0 !important; padding: 0 !important; background: #fff !important; color: var(--osh-petrol) !important; cursor: pointer; }
.osh-sb-box .site-block-search__button svg { width: 22px; height: 22px; fill: var(--osh-petrol) !important; }
.osh-sb-box .site-block-search__button:hover { background: color-mix(in srgb, #fff 85%, var(--osh-petrol)) !important; }

/* ---------- Dark mode fixes (Mefat 2026-11-18): hovers must stay visible on the dark background ---------- */
.osh-share-btn:hover { background: var(--osh-surface-subtle); }
:root[data-osh-theme="dark"] .osh-share-btn:hover { background: rgb(255 255 255 / .16); color: #fff; }
:root[data-osh-theme="dark"] .osh-share-btn:hover svg { fill: #fff; color: #fff; }
:root[data-osh-theme="dark"] :is(.osh-hp-topics > li > ul a, .osh-gd-box li a):hover { color: #fff; }
:root[data-osh-theme="dark"] :is(.osh-gd .osh-gd-grid a, .osh-hp .osh-hp-cmp a):hover { border-color: rgb(255 255 255 / .55); box-shadow: 0 6px 24px rgb(0 0 0 / .35); }
:root[data-osh-theme="dark"] .osh-hp-topics > li:hover { border-color: rgb(255 255 255 / .4); }
/* Line drawings are black on transparent: show them white on the dark background */
:root[data-osh-theme="dark"] img[src*="/assets/brand/illustrations/"] { filter: invert(1) hue-rotate(180deg) brightness(1.1); }

/* ---------- Compact mega menu (Mefat 2026-11-18): tighter rows, a hairline per area, AI highlighted ---------- */
.osh-mm a { min-height: 0 !important; padding: 5px 0; }
.osh-mm-in { gap: var(--osh-space-2xl); padding-block: var(--osh-space-xl); }
.osh-mm-areas { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--osh-space-lg) var(--osh-space-xl); }
.osh-mm-area { padding-top: var(--osh-space-sm); border-top: 1px solid var(--osh-border-subtle); }
.osh-mm a.osh-mm-h { justify-content: flex-start; gap: 8px; margin-bottom: 2px; font-size: 15px; }
.osh-mm-area li a { font-size: 14px; color: var(--osh-text-secondary); }
.osh-mm-area li a:hover { color: var(--osh-text); }
.osh-mm-side ul + .osh-mm-k { margin-top: var(--osh-space-lg); }
.osh-mm-area.is-ai { margin: -1px 0 0; padding: var(--osh-space-sm) var(--osh-space-md) var(--osh-space-md); border-top: 2px solid var(--osh-petrol); border-radius: 0 0 var(--osh-radius) var(--osh-radius); background: color-mix(in srgb, var(--osh-petrol) 6%, var(--osh-surface)); }
.osh-mm-new { display: inline-block; padding: 1px 7px; border-radius: 999px; background: var(--osh-petrol); color: #fff; font: 600 11px/1.5 var(--osh-font-body); font-style: normal; letter-spacing: .03em; text-decoration: none; }
:root[data-osh-theme="dark"] .osh-mm-area.is-ai { border-top-color: #fff; background: rgb(255 255 255 / .06); }
:root[data-osh-theme="dark"] .osh-mm-new { background: #fff; color: var(--osh-petrol); }
.osh-mm-area.is-ai { align-self: start; }
