/* dos.md ads — zones on the site and brand placeholders. Colors follow the Zara (dos.md) theme tokens with fallbacks. */
.dads-zone { --dads-blue: var(--blue-600, #0B62E4); --dads-blue-d: var(--blue-900, #093F94); --dads-blue-s: var(--blue-50, #EAF2FE);
  --dads-ink: var(--ink-900, #0F1115); --dads-ink-2: var(--ink-600, #4C5361); --dads-line: var(--line, #E7E9ED); }
.dads-zone.z-ad { overflow: hidden; }
.dads-box { position: relative; width: 100%; max-width: var(--dads-max, 1200px); margin: 0 auto; aspect-ratio: var(--dads-w) / var(--dads-h);
  container-type: inline-size; border-radius: 10px; overflow: hidden; background: var(--surface-2, #F8F9FA); }
.dads-ad, .dads-ad picture { display: block; width: 100%; height: 100%; }
.dads-ad img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0 !important; }
.dads-ad:focus-visible, .dads-ph:focus-visible { outline: 3px solid var(--blue-100, #D3E4FD); outline-offset: -3px; }

/* zones printed by Osclass hooks (no edits in the theme) */
.dads-hook { display: block; min-width: 0; }
.dads-hook > .z-ad { margin: 16px 0; }
.z-item > .dads-hook { grid-column: 1 / -1; }          /* item_bottom runs inside the 2-column grid of the listing page */
.z-item-aside > .dads-hook > .z-ad { margin: 16px 0 0; }

@media (max-width: 767px) {
  .dads-box { aspect-ratio: var(--dads-mw) / var(--dads-mh); max-width: calc(var(--dads-mw) * 1px); }
  .dads-hide-m { display: none !important; }
}
@media (min-width: 768px) {
  .dads-hide-d { display: none !important; }
}

/* ---------- placeholders ---------- */
.dads-ph { --dads-ph-fg: var(--dads-ink); position: absolute; inset: 0; display: flex; overflow: hidden; text-decoration: none !important; color: var(--dads-ph-fg);
  font-family: var(--font, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif); line-height: 1.25; -webkit-font-smoothing: antialiased; }
.dads-ph-deco { position: absolute; top: 0; right: 0; height: 100%; width: 60%; pointer-events: none; }
.dads-ph-in { position: relative; z-index: 1; display: flex; align-items: center; gap: clamp(10px, 2.4cqi, 28px); width: 100%; padding: 0 clamp(14px, 4cqi, 48px); box-sizing: border-box; }
.dads-ph-badge { flex: 0 0 auto; display: grid; place-items: center; width: clamp(34px, 6cqi, 72px); height: clamp(34px, 6cqi, 72px); border-radius: 16px; }
.dads-ph-ico { width: 55%; height: 55%; }
.dads-ph-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: clamp(2px, .6cqi, 8px); }
.dads-ph-title { font-weight: 700; font-size: clamp(14px, 2.5cqi, 30px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.dads-ph-text { font-size: clamp(12px, 1.45cqi, 17px); opacity: .85; overflow-wrap: anywhere; }
.dads-ph-cta { flex: 0 0 auto; display: inline-flex; align-items: center; white-space: nowrap; font-weight: 600; font-size: clamp(12px, 1.4cqi, 16px);
  padding: clamp(8px, 1.1cqi, 13px) clamp(12px, 2cqi, 24px); border-radius: 999px; transition: transform .15s ease, filter .15s ease; }
.dads-ph:hover .dads-ph-cta { filter: brightness(1.08); transform: translateY(-1px); }
/* the theme colors every link on hover (a:hover { color: accent-hover }): keep the placeholder's own text color */
.dads-zone .dads-box a.dads-ph, .dads-zone .dads-box a.dads-ph:link, .dads-zone .dads-box a.dads-ph:visited,
.dads-zone .dads-box a.dads-ph:hover, .dads-zone .dads-box a.dads-ph:focus, .dads-zone .dads-box a.dads-ph:active { color: var(--dads-ph-fg); }

/* narrow wide strip (phones): title + button */
@container (max-width: 560px) {
  .dads-ph--wide .dads-ph-text, .dads-ph--wide .dads-ph-badge { display: none; }
  .dads-ph--wide .dads-ph-title { font-size: clamp(14px, 4.4cqi, 19px); }
  .dads-ph--wide .dads-ph-cta { font-size: 13px; padding: 9px 14px; }
}
@container (max-width: 330px) {
  .dads-ph--wide .dads-ph-in { flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; }
}

/* tall tower / box: column */
.dads-ph--tall .dads-ph-in, .dads-ph--box .dads-ph-in {
  flex-direction: column; justify-content: center; text-align: center; gap: 14px; padding: 22px 20px; }
.dads-ph--tall .dads-ph-badge, .dads-ph--box .dads-ph-badge { width: 64px; height: 64px; border-radius: 20px; }
.dads-ph--tall .dads-ph-title { font-size: 24px; }
.dads-ph--tall .dads-ph-text { font-size: 15px; }
.dads-ph--box .dads-ph-in { gap: 10px; padding: 16px; }
.dads-ph--box .dads-ph-badge { width: 46px; height: 46px; border-radius: 14px; }
.dads-ph--box .dads-ph-title { font-size: 18px; }
.dads-ph--box .dads-ph-text { font-size: 13px; }
.dads-ph--tall .dads-ph-cta, .dads-ph--box .dads-ph-cta { font-size: 14px; padding: 10px 18px; }
.dads-ph--tall .dads-ph-txt, .dads-ph--box .dads-ph-txt { flex: 0 0 auto; }
.dads-ph--tall .dads-ph-deco, .dads-ph--box .dads-ph-deco { width: 100%; height: 55%; top: auto; bottom: 0; }

/* light minimal */
.dads-ph--light { background: #fff radial-gradient(circle at 1px 1px, #DCE6F5 1px, transparent 1.5px) 0 0 / 18px 18px; box-shadow: inset 0 0 0 1px var(--dads-line); }
.dads-ph--light .dads-ph-badge { background: var(--dads-blue-s); color: var(--dads-blue); }
.dads-ph--light .dads-ph-text { color: var(--dads-ink-2); opacity: 1; }
.dads-ph--light .dads-ph-cta { background: var(--dads-blue); color: #fff; }

/* brand blue */
.dads-ph--brand { background: linear-gradient(115deg, #0B62E4 0%, #0A50BC 55%, #093F94 100%); --dads-ph-fg: #fff; }
.dads-ph--brand .dads-ph-badge { background: rgba(255,255,255,.16); color: #fff; }
.dads-ph--brand .dads-ph-cta { background: #fff; color: #0B62E4; }

/* geometric dark */
.dads-ph--geo { background: #0F1115; --dads-ph-fg: #fff; }
.dads-ph--geo .dads-ph-badge { background: #1B1F27; color: #8DB6FF; box-shadow: inset 0 0 0 1px #333945; }
.dads-ph--geo .dads-ph-text { color: #C4CAD3; opacity: 1; }
.dads-ph--geo .dads-ph-cta { background: #2478F0; color: #fff; }

/* compact */
.dads-ph--compact { background: var(--dads-blue-s); --dads-ph-fg: var(--dads-blue-d); }
.dads-ph--compact .dads-ph-badge { order: 3; background: transparent; color: var(--dads-blue); width: auto; }
.dads-ph--compact .dads-ph-badge .dads-ph-ico { width: clamp(20px, 2.6cqi, 30px); height: auto; }
.dads-ph--compact .dads-ph-title { font-size: clamp(14px, 2.1cqi, 24px); }
.dads-ph--compact .dads-ph-text { color: var(--dads-blue); }
.dads-ph--compact .dads-ph-cta { background: transparent; color: var(--dads-blue); box-shadow: inset 0 0 0 1.5px var(--dads-blue); }

/* local business */
.dads-ph--local { background: linear-gradient(180deg, #fff 0%, #F3F7FF 100%); box-shadow: inset 0 0 0 1px var(--dads-line), inset 6px 0 0 var(--dads-blue); }
.dads-ph--local .dads-ph-badge { background: var(--dads-blue); color: #fff; }
.dads-ph--local .dads-ph-text { color: var(--dads-ink-2); opacity: 1; }
.dads-ph--local .dads-ph-cta { background: var(--dads-ink); color: #fff; }
.dads-ph--local.dads-ph--tall, .dads-ph--local.dads-ph--box { box-shadow: inset 0 0 0 1px var(--dads-line), inset 0 6px 0 var(--dads-blue); }

/* cabinet (create in your account) */
.dads-ph--cabinet { background: #F8F9FA; box-shadow: inset 0 0 0 1px var(--dads-line); }
.dads-ph--cabinet .dads-ph-badge { background: #fff; color: var(--dads-blue); box-shadow: 0 1px 2px rgba(15,17,21,.08), inset 0 0 0 1px var(--dads-line); }
.dads-ph--cabinet .dads-ph-text { color: var(--dads-blue); font-weight: 600; opacity: 1; }
.dads-ph--cabinet .dads-ph-cta { background: var(--dads-blue); color: #fff; }

@media (prefers-reduced-motion: reduce) { .dads-ph-cta { transition: none; } }

/* ---------- public page "Реклама на сайте" and shared buttons ---------- */
.dads-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-field, 12px);
  font-weight: 600; font-size: 15px; text-decoration: none !important; border: 1px solid var(--border, #D8DCE2); background: #fff; color: var(--ink-900, #0F1115); cursor: pointer; }
.dads-btn-main { background: var(--blue-600, #0B62E4); border-color: var(--blue-600, #0B62E4); color: #fff !important; }
.dads-btn-main:hover { background: var(--blue-700, #0A50BC); }
/* 1.7.0: cabinet buttons carry the theme's opt-out class z-btn-reset — Zara painted every submit button blue
   (secondary «С кошелька» looked like the main one, the «вернуть в черновик» link became a cut blue button) */
.dads-btn:not(.dads-btn-main):not(:disabled):hover { border-color: var(--blue-600, #0B62E4); color: var(--blue-600, #0B62E4); }
.dads-cab .dads-btn { white-space: normal; text-align: center; line-height: 1.25; }
.dads-muted { color: var(--ink-500, #6B7280); }
.dads-info { max-width: 1100px; margin: 0 auto; padding: 8px 0 32px; color: var(--ink-900, #0F1115); }
.dads-info h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 10px; letter-spacing: -.02em; }
.dads-info h2 { font-size: 22px; margin: 28px 0 12px; }
.dads-info-hero { padding: clamp(20px, 4vw, 40px); border-radius: var(--r-panel, 16px); background: linear-gradient(115deg, #0B62E4, #093F94); color: #fff; }
.dads-info-hero p { max-width: 640px; font-size: 16px; line-height: 1.5; opacity: .92; margin: 0 0 18px; }
.dads-info-hero .dads-btn-main { background: #fff; border-color: #fff; color: #0B62E4 !important; }

/* ---------- animated hero (1.1.1) ---------- */
.dads-info .dads-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: 24px; min-height: 360px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-panel, 20px);
  background: linear-gradient(120deg, #0B62E4 0%, #0A55CF 45%, #083A8C 100%); color: #fff; box-shadow: 0 18px 40px -18px rgba(9, 63, 148, .55); }
.dads-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dads-hero-blob { position: absolute; width: 460px; height: 460px; border-radius: 50%; will-change: transform; }
.dads-b1 { top: -200px; right: -120px; background: radial-gradient(circle, rgba(34, 211, 238, .55) 0, rgba(34, 211, 238, 0) 65%); animation: dads-drift1 18s ease-in-out infinite alternate; }
.dads-b2 { bottom: -260px; left: 18%; background: radial-gradient(circle, rgba(124, 92, 255, .5) 0, rgba(124, 92, 255, 0) 65%); animation: dads-drift2 22s ease-in-out infinite alternate; }
.dads-b3 { top: -160px; left: -160px; background: radial-gradient(circle, rgba(80, 160, 255, .45) 0, rgba(80, 160, 255, 0) 65%); animation: dads-drift3 26s ease-in-out infinite alternate; }
.dads-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 78% 50%, #000 0, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 78% 50%, #000 0, transparent 75%);
  animation: dads-grid 30s linear infinite; }

/* text */
.dads-hero-text { position: relative; z-index: 1; min-width: 0; }
.dads-hero-text > * { animation: dads-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.dads-hero-text > :nth-child(2) { animation-delay: .08s; }
.dads-hero-text > :nth-child(3) { animation-delay: .18s; }
.dads-hero-text > :nth-child(4) { animation-delay: .28s; }
.dads-hero-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
  letter-spacing: .01em; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.dads-hero-kicker i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #5CF2B4; }
.dads-hero-kicker i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #5CF2B4; animation: dads-ping 2s cubic-bezier(0, 0, .2, 1) infinite; }
.dads-info .dads-hero h1 { color: #fff !important; font-family: inherit; font-size: clamp(28px, 4.1cqi, 46px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 800; }
.dads-hero-mark { position: relative; display: inline-block; white-space: nowrap; background: linear-gradient(90deg, #fff 0%, #BDE6FF 50%, #fff 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: dads-sheen 6s ease-in-out 1.4s infinite; }
.dads-hero-mark svg { position: absolute; left: 0; right: 0; bottom: -.16em; width: 100%; height: .3em; overflow: visible; }
.dads-hero-mark path { fill: none; stroke: #6FD3FF; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 0; vector-effect: non-scaling-stroke;
  animation: dads-draw 1s cubic-bezier(.6, 0, .2, 1) .55s both; }
.dads-info .dads-hero p { max-width: 560px; margin: 0 0 22px; font-size: clamp(15px, 1.5vw, 17px); line-height: 1.55; color: rgba(255,255,255,.9); opacity: 1; }
.dads-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }

/* main button: white, glow, shine */
.dads-info .dads-hero .dads-hero-cta { position: relative; overflow: hidden; box-sizing: border-box; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 14px; font-size: 16px; font-weight: 700;
  background: #fff; border-color: #fff; color: #0B62E4 !important; box-shadow: 0 10px 26px -8px rgba(2, 16, 60, .55), 0 0 0 0 rgba(255,255,255,.5);
  transition: transform .2s ease, box-shadow .2s ease; animation: dads-glow 3.2s ease-out 1.6s infinite; }
.dads-info .dads-hero .dads-hero-cta:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(2, 16, 60, .6); }
.dads-hero-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(11,98,228,0), rgba(11,98,228,.16), rgba(11,98,228,0)); animation: dads-shine 4s ease-in-out 1.2s infinite; }
.dads-hero-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.dads-hero-cta:hover svg { transform: translateX(4px); }
.dads-info .dads-hero a.dads-hero-more, .dads-info .dads-hero a.dads-hero-more:hover, .dads-info .dads-hero a.dads-hero-more:visited, .dads-info .dads-hero a.dads-hero-more:focus {
  display: inline-flex; align-items: center; box-sizing: border-box; min-height: 50px; padding: 0 18px; border-radius: 14px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: background .2s ease; }
.dads-info .dads-hero a.dads-hero-more:hover { background: rgba(255,255,255,.18); }
.dads-hero a:focus-visible { outline: 3px solid #6FD3FF; outline-offset: 3px; }

/* illustration: a stage of fixed size, scaled per screen */
.dads-hero-art { position: relative; z-index: 1; height: 330px; animation: dads-in 1s cubic-bezier(.2, .7, .2, 1) .2s both; }
.dads-hero-stage { --s: 1; position: absolute; left: 50%; top: 50%; width: 460px; height: 320px; transform: translate(-50%, -50%) scale(var(--s));
  font-family: var(--font, 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif); line-height: 1.2; }
.dads-hero-screen { position: absolute; left: 0; top: 24px; width: 350px; height: 250px; border-radius: 14px; background: #fff; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(2, 16, 60, .6), 0 0 0 1px rgba(255,255,255,.4); animation: dads-float 7s ease-in-out infinite; }
.dads-hs-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 10px; background: #F3F5F8; border-bottom: 1px solid #E7E9ED; }
.dads-hs-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D8DCE2; }
.dads-hs-bar i:first-child { background: #FF6B6B; } .dads-hs-bar i:nth-child(2) { background: #FFC94D; } .dads-hs-bar i:nth-child(3) { background: #3DD68C; }
.dads-hs-bar span { margin-left: 10px; flex: 1; height: 16px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #E7E9ED; font-size: 9px; line-height: 16px; padding-left: 8px; color: #6B7280; }
.dads-hs-slot { position: relative; height: 76px; margin: 12px 12px 0; border-radius: 9px; overflow: hidden; background: #E8EEF8; box-shadow: 0 0 0 2px rgba(11,98,228,.0); animation: dads-slot 6s ease-in-out infinite; }
.dads-hs-label { position: absolute; top: 4px; right: 5px; z-index: 2; padding: 1px 5px; border-radius: 4px; font-size: 8px; font-weight: 600; color: #fff; background: rgba(0,0,0,.25); }
.dads-hs-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px; overflow: hidden; }
.dads-hs-grid i, .dads-hp-list i { display: block; border-radius: 8px; background:
  linear-gradient(#E3ECFA, #E3ECFA) 0 0 / 100% 58% no-repeat, linear-gradient(#E3E7EE, #E3E7EE) 6px calc(58% + 7px) / 70% 6px no-repeat,
  linear-gradient(#EEF1F5, #EEF1F5) 6px calc(58% + 18px) / 42% 6px no-repeat, #fff; box-shadow: inset 0 0 0 1px #EDF0F4; height: 56px; }
.dads-hs-grid::after, .dads-hp-list::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%) -150% 0 / 60% 100% no-repeat;
  animation: dads-skel 2.6s ease-in-out infinite; }

/* rotating banners inside the mini site and the phone */
.dads-ad-x { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 0 14px; color: #fff; opacity: 0;
  overflow: hidden; animation: dads-ad 12s ease-in-out infinite; }
.dads-ad-x::before { content: ""; position: absolute; right: -30px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.14); }
.dads-ad-x b { position: relative; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.dads-ad-x small { position: relative; font-size: 10.5px; opacity: .92; }
.dads-ad-x em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 6px 11px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 700; background: #fff; }
.dads-ad-1 { background: linear-gradient(110deg, #FF9F43, #FF5E62); }
.dads-ad-1 em { color: #F2545B; }
.dads-ad-2 { background: linear-gradient(110deg, #20C997, #0B9F6E); animation-delay: -8s; }
.dads-ad-2 em { color: #0B9F6E; }
.dads-ad-3 { background: radial-gradient(circle at 85% 20%, rgba(36,120,240,.6), transparent 55%), #0F1115; animation-delay: -4s; }
.dads-ad-3 em { color: #fff; background: #2478F0; }

.dads-hero-phone { position: absolute; left: 320px; top: 98px; width: 124px; height: 214px; padding: 6px; box-sizing: border-box; border-radius: 24px; background: #0F1115;
  overflow: hidden; box-shadow: 0 26px 50px -16px rgba(2, 16, 60, .7), inset 0 0 0 1px #333945; animation: dads-float 6s ease-in-out -2.5s infinite; }
.dads-hero-phone::before { content: ""; position: absolute; inset: 6px; border-radius: 18px; background: #F6F8FB; }
.dads-hp-notch { position: absolute; z-index: 2; left: 50%; top: 10px; width: 36px; height: 9px; margin-left: -18px; border-radius: 9px; background: #0F1115; }
.dads-hp-slot { position: relative; height: 44px; margin: 24px 6px 0; border-radius: 8px; overflow: hidden; background: #E8EEF8; }
.dads-hp-slot .dads-ad-x { padding: 0 9px; }
.dads-hp-slot .dads-ad-x b { font-size: 12px; }
.dads-hp-slot .dads-ad-x::before { width: 70px; height: 70px; right: -20px; top: -25px; }
.dads-hp-list { position: relative; display: grid; gap: 6px; margin: 8px 6px 0; overflow: hidden; }
.dads-hp-list i { height: 36px; background:
  linear-gradient(#E3ECFA, #E3ECFA) 4px 4px / 28px 28px no-repeat, linear-gradient(#E3E7EE, #E3E7EE) 38px 9px / 50% 6px no-repeat,
  linear-gradient(#EEF1F5, #EEF1F5) 38px 20px / 32% 6px no-repeat, #fff; }

/* floating stat chips */
.dads-hero-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: #fff; color: #0F1115;
  box-shadow: 0 16px 34px -10px rgba(2, 16, 60, .45); }
.dads-chip-txt { display: flex; flex-direction: column; }
.dads-chip-txt small { font-size: 10.5px; color: #6B7280; font-weight: 500; }
.dads-chip-txt b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.dads-chip-views { left: 206px; top: 0; animation: dads-float 5s ease-in-out -1s infinite; }
.dads-chip-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: #EAF2FE; color: #0B62E4; }
.dads-chip-ico svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.dads-chip-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; }
.dads-chip-bars i { width: 5px; border-radius: 2px; background: #0B62E4; transform-origin: bottom; animation: dads-bar 2.4s ease-in-out infinite alternate; }
.dads-chip-bars i:nth-child(1) { height: 35%; background: #9CC2F7; animation-delay: -.2s; }
.dads-chip-bars i:nth-child(2) { height: 55%; background: #7AACF3; animation-delay: -.6s; }
.dads-chip-bars i:nth-child(3) { height: 45%; background: #4F8FEE; animation-delay: -1s; }
.dads-chip-bars i:nth-child(4) { height: 75%; background: #2478F0; animation-delay: -1.4s; }
.dads-chip-bars i:nth-child(5) { height: 100%; animation-delay: -1.8s; }
.dads-chip-ctr { left: -18px; top: 238px; animation: dads-float 6.5s ease-in-out -3s infinite; }
.dads-chip-ctr b { color: #0A6B4A; }
.dads-chip-spark { width: 80px; height: 28px; overflow: visible; }
.dads-chip-spark path { fill: none; stroke: #12B886; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 110; stroke-dashoffset: 0; animation: dads-spark 4s ease-in-out infinite; }

/* cursor clicks the banner: ring + "+1 клик" */
.dads-hero-click { position: absolute; z-index: 4; left: 178px; top: 106px; width: 0; height: 0; }
.dads-hc-cursor { position: absolute; left: -5px; top: -3px; width: 26px; height: 26px; fill: #0F1115; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); opacity: 0; animation: dads-cursor 6s cubic-bezier(.45, 0, .25, 1) infinite; }
.dads-hc-ring { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(255,255,255,.7); opacity: 0;
  animation: dads-ring 6s ease-out infinite; }
.dads-hc-plus { position: absolute; left: 18px; top: -38px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; font-size: 11px; font-weight: 700; color: #fff; background: #12B886;
  box-shadow: 0 6px 14px -4px rgba(18, 184, 134, .7); opacity: 0; animation: dads-plus 6s ease-out infinite; }

/* sizes follow the width of the page block (the theme container), not the window */
div.dads-info { container-type: inline-size; }   /* the page block only: .dads-info is also a badge colour */
@container (max-width: 1080px) { .dads-hero-stage { --s: .86; } }
@container (max-width: 960px) { .dads-info .dads-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } .dads-hero-stage { --s: .76; } }
@container (max-width: 820px) {
  .dads-info .dads-hero { grid-template-columns: 1fr; gap: 8px; min-height: 0; }
  .dads-hero-art { height: 270px; margin: 0 -8px -8px; }
  .dads-hero-stage { --s: .8; }
  .dads-hero-grid { -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 80%, #000 0, transparent 75%); mask-image: radial-gradient(ellipse 90% 60% at 50% 80%, #000 0, transparent 75%); }
}
@container (max-width: 520px) {
  .dads-hero-art { height: 214px; }
  .dads-hero-stage { --s: .64; }
  .dads-hero-actions { flex-direction: column; align-items: stretch; }
  .dads-info .dads-hero .dads-hero-cta, .dads-info .dads-hero a.dads-hero-more { justify-content: center; width: 100%; box-sizing: border-box; }
}
@container (max-width: 370px) { .dads-hero-stage { --s: .56; } .dads-hero-art { height: 190px; } }

@keyframes dads-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes dads-in { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes dads-drift1 { to { transform: translate(-140px, 90px) scale(1.15); } }
@keyframes dads-drift2 { to { transform: translate(180px, -70px) scale(1.2); } }
@keyframes dads-drift3 { to { transform: translate(120px, 120px) scale(.9); } }
@keyframes dads-grid { to { background-position: 32px 32px, 32px 32px; } }
@keyframes dads-ping { 75%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes dads-draw { from { stroke-dashoffset: 200; } }
@keyframes dads-sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@keyframes dads-shine { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@keyframes dads-glow { 0% { box-shadow: 0 10px 26px -8px rgba(2,16,60,.55), 0 0 0 0 rgba(255,255,255,.45); } 70%, 100% { box-shadow: 0 10px 26px -8px rgba(2,16,60,.55), 0 0 0 14px rgba(255,255,255,0); } }
@keyframes dads-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dads-ad { 0% { opacity: 0; transform: translateX(16px); } 3% { opacity: 1; transform: none; } 33.3% { opacity: 1; transform: none; } 36.3% { opacity: 0; transform: translateX(-16px); } 100% { opacity: 0; } }
@keyframes dads-slot { 0%, 46%, 70%, 100% { box-shadow: 0 0 0 0 rgba(11,98,228,0); } 52% { box-shadow: 0 0 0 3px rgba(11,98,228,.55); } }
@keyframes dads-skel { 0% { background-position: -150% 0; } 60%, 100% { background-position: 250% 0; } }
@keyframes dads-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes dads-spark { 0% { stroke-dashoffset: 110; } 45%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes dads-cursor { 0% { opacity: 0; transform: translate(150px, 140px); } 10% { opacity: 1; } 44% { transform: translate(0, 0) scale(1); } 49% { transform: translate(0, 0) scale(.8); }
  55% { transform: translate(0, 0) scale(1); } 78% { opacity: 1; transform: translate(0, 0); } 90%, 100% { opacity: 0; transform: translate(26px, 30px); } }
@keyframes dads-ring { 0%, 47% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; } 68%, 100% { opacity: 0; transform: scale(1.9); } }
@keyframes dads-plus { 0%, 48% { opacity: 0; transform: translateY(8px) scale(.8); } 54% { opacity: 1; transform: none; } 76% { opacity: 1; transform: translateY(-10px); } 86%, 100% { opacity: 0; transform: translateY(-20px); } }

@media (prefers-reduced-motion: reduce) {
  .dads-hero *, .dads-hero *::before, .dads-hero *::after { animation: none !important; transition: none !important; }
  .dads-hero .dads-ad-1 { opacity: 1; }
  .dads-hero-click { display: none; }
}
.dads-info-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 18px 0 0; }
.dads-info-steps div { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line, #E7E9ED); border-radius: var(--r-panel, 16px); background: #fff; }
.dads-info-steps b { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-50, #EAF2FE); color: var(--blue-600, #0B62E4); }
.dads-info-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.dads-info-zone { padding: 14px 16px; border: 1px solid var(--line, #E7E9ED); border-radius: var(--r-panel, 16px); background: #fff; }
.dads-info-zone header { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.dads-info-zone p { margin: 0 0 8px; font-size: 14px; line-height: 1.45; }
.dads-info-zone ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.dads-info-zone li { padding: 4px 10px; border-radius: 999px; background: var(--surface, #F3F4F6); font-size: 13px; }
.dads-info-size { color: var(--ink-500, #6B7280); font-size: 13px !important; }
.dads-info-faq p { line-height: 1.55; max-width: 800px; }

/* ---------- advertiser cabinet ---------- */
.dads-cab { color: var(--ink-900, #0F1115); }
.dads-cab h1 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 6px; letter-spacing: -.01em; }
.dads-cab h2 { font-size: 18px; margin: 0 0 12px; }
.dads-cab h3 { font-size: 16px; margin: 18px 0 10px; }
.dads-crumbs { margin: 0 0 8px; font-size: 14px; }
.dads-cab-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.dads-panel { background: #fff; border: 1px solid var(--line, #E7E9ED); border-radius: var(--r-panel, 16px); padding: 18px; margin: 0 0 16px; }
/* 1.7.0: main column + «Действия» on the right; payments and history under the main column (not under the sticky card).
   The card sticks below the site header (--dads-top is measured by cabinet.js: header + admin bar) and only while it fits
   on the screen (cabinet.js adds .is-tall otherwise) — it never covers anything. On narrow screens: main, actions, extra. */
.dads-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; grid-template-areas: "main side" "extra side"; gap: 0 16px; align-items: start; }
.dads-main { grid-area: main; min-width: 0; }
.dads-side { grid-area: side; align-self: stretch; min-width: 0; }
.dads-extra { grid-area: extra; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 16px; align-items: start; }
.dads-sticky { position: sticky; top: var(--dads-top, 88px); }
.dads-sticky.is-tall { position: static; }
@media (max-width: 960px) {
  .dads-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "extra"; }
  .dads-sticky { position: static; }
}
.dads-form { margin: 0; }
.dads-form-foot { margin: 4px 0 0; }
.dads-cab-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
/* summary of a running campaign */
.dads-summary { padding: 16px 18px; }
.dads-summary-kpis { display: flex; flex-wrap: wrap; gap: 10px; }
.dads-summary-kpis > div { flex: 1 1 110px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2, #F8F9FA); box-shadow: inset 0 0 0 1px var(--line, #E7E9ED); min-width: 0; }
.dads-summary-kpis > .dads-summary-period { flex: 2 1 230px; }
.dads-summary-kpis span { font-size: 13px; color: var(--ink-500, #6B7280); }
.dads-summary-kpis b { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.dads-summary-period b { font-size: 18px; }
.dads-summary-kpis small { margin: 0 !important; font-size: 13px; font-weight: 600; color: var(--blue-600, #0B62E4) !important; }
.dads-summary .dads-prog { margin: 14px 0 0; }
/* 1.7.1: on a phone the period takes its own line, Показы / Клики / CTR stand in one row */
@media (max-width: 520px) {
  .dads-summary { padding: 14px; }
  .dads-summary-kpis { gap: 8px; }
  .dads-summary-kpis > div { flex: 1 1 0; padding: 10px; }
  .dads-summary-kpis > .dads-summary-period { flex: 1 1 100%; }
  .dads-summary-kpis span { font-size: 12px; }
  .dads-summary-kpis b { font-size: 19px; }
  .dads-summary-period b { font-size: 17px; }
}
/* places of a campaign that can no longer be changed */
.dads-chosen { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.dads-chosen li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--blue-50, #EAF2FE); box-shadow: inset 0 0 0 1px rgba(11, 98, 228, .25); font-size: 14px; }
.dads-chosen li span { font-size: 13px; color: var(--ink-600, #4C5361); }
.dads-facts { display: grid; gap: 6px; margin: 0 0 12px; font-size: 14px; }
.dads-facts > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line, #E7E9ED); }
.dads-facts dt { color: var(--ink-500, #6B7280); }
.dads-facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 480px) { .dads-facts > div { grid-template-columns: 1fr; gap: 2px; } }
.dads-more summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--blue-600, #0B62E4); padding: 4px 0; }
.dads-more .dads-history { margin-top: 6px; }
.dads-field { display: block; margin: 0 0 14px; font-weight: 600; font-size: 14px; }
.dads-field input, .dads-field select { display: block; width: 100%; margin-top: 6px; font-weight: 400; min-height: 44px; box-sizing: border-box; }
/* 1.6.1: own look of the fields — the theme styles only some input types, the rest were left with the browser frame */
.dads-cab .dads-field input:not([type=checkbox]):not([type=radio]):not([type=file]), .dads-cab .dads-field select {
  height: 46px; padding: 0 12px; border: 1px solid var(--border, #D8DCE2); border-radius: var(--r-field, 12px); background-color: #fff;
  color: var(--ink-900, #0F1115); font: inherit; font-size: 16px; font-weight: 400; line-height: normal; box-shadow: none; outline: none; }
.dads-cab .dads-field select { padding-right: 36px; }
.dads-cab .dads-field input:focus, .dads-cab .dads-field select:focus { border-color: var(--blue-600, #0B62E4); box-shadow: 0 0 0 3px rgba(11, 98, 228, .15); }
.dads-cab .dads-field input:disabled, .dads-cab .dads-field select:disabled { background-color: var(--surface-2, #F8F9FA); color: var(--ink-500, #6B7280); }
.dads-cab .dads-field input::placeholder { color: var(--ink-400, #9AA1AD); }
.dads-field select[multiple] { min-height: 150px; }
.dads-field small, .dads-cab small { display: block; margin-top: 4px; font-weight: 400; color: var(--ink-500, #6B7280); }
.dads-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; }
.dads-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 0 0 14px; }
.dads-zone-opt { position: relative; display: block; cursor: pointer; }
.dads-zone-opt input { position: absolute; top: 14px; left: 14px; width: 18px; height: 18px; }
.dads-zone-card { display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 12px 12px 12px 42px; border: 1.5px solid var(--line, #E7E9ED); border-radius: 12px; font-size: 13px; }
.dads-zone-opt input:checked + .dads-zone-card { border-color: var(--blue-600, #0B62E4); background: var(--blue-50, #EAF2FE); }
.dads-zone-opt input:disabled + .dads-zone-card { opacity: .75; cursor: default; }
.dads-zone-size { color: var(--ink-600, #4C5361); }
.dads-zone-price { font-weight: 600; color: var(--blue-600, #0B62E4); }
.dads-target { margin: 0 0 14px; }
.dads-target summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.dads-total { padding: 12px 14px; border-radius: 12px; background: var(--surface, #F3F4F6); margin: 0 0 14px; font-size: 15px; }
.dads-alert { padding: 12px 14px; border-radius: 12px; background: var(--amber-bg, #FEF4E6); color: var(--amber-ink, #8A5B10); margin: 0 0 14px; font-size: 14px; line-height: 1.45; }
.dads-alert ul { margin: 6px 0 0 18px; padding: 0; }
.dads-alert-ok { background: var(--green-bg, #E7F7F0); color: var(--green-ink, #0A6B4A); }
.dads-alert-err { background: var(--red-bg, #FEECEB); color: var(--red-ink, #B4231A); }
.dads-wide { width: 100%; margin: 0 0 8px; }
.dads-btn:disabled { opacity: .5; cursor: not-allowed; }
.dads-link { background: none; border: 0; padding: 4px 0; color: var(--ink-500, #6B7280); text-decoration: underline; cursor: pointer; font-size: 13px;
  max-width: 100%; white-space: normal; text-align: left; height: auto; min-height: 0; line-height: 1.4; }
.dads-inline { display: inline; }
.dads-banner { padding: 14px 0; border-top: 1px solid var(--line, #E7E9ED); }
.dads-banner-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; margin-bottom: 8px; }
.dads-banner-img { width: 100%; border-radius: 10px; overflow: hidden; background: var(--surface-2, #F8F9FA); box-shadow: inset 0 0 0 1px var(--line, #E7E9ED); }
.dads-banner-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.dads-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.dads-upload input[type=file] { flex: 1 1 220px; min-width: 0; max-width: 100%; font-size: 14px; color: var(--ink-600, #4C5361); }
.dads-upload input[type=file]::file-selector-button { margin-right: 10px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--border, #D8DCE2); border-radius: var(--r-field, 12px);
  background: #fff; color: var(--ink-900, #0F1115); font: inherit; font-weight: 600; cursor: pointer; }
.dads-upload input[type=file]::file-selector-button:hover { border-color: var(--blue-600, #0B62E4); color: var(--blue-600, #0B62E4); }
.dads-warn { color: var(--amber-ink, #8A5B10); }
.dads-pv { margin: 0 0 18px; }
.dads-pv-title { font-weight: 600; margin-bottom: 6px; }
/* 1.6.1: the computer preview never narrower than the phone one — with the account menu of the theme the column is ~540px,
   then the phone preview goes to the next line */
.dads-pv-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; }
.dads-pv-desk { flex: 1 1 420px; min-width: 0; }
.dads-pv-phone { flex: 0 1 300px; min-width: 0; }
.dads-pv-cap { display: block; font-size: 12px; color: var(--ink-500, #6B7280); margin-bottom: 4px; }
.dads-pv .z-ad { margin: 0; }
.dads-noimg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 8px; font-size: 13px; color: var(--ink-500, #6B7280); border: 1px dashed var(--border, #D8DCE2); border-radius: 10px; }
.dads-lines, .dads-orders, .dads-history { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; }
.dads-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line, #E7E9ED); }
.dads-lines-total { font-size: 15px; border-bottom: 0 !important; }
.dads-orders li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 8px 0; border-bottom: 1px solid var(--line, #E7E9ED); }
.dads-orders em { grid-column: 1 / -1; font-style: normal; color: var(--ink-500, #6B7280); font-size: 13px; }
.dads-orders em.dads-order-paid { color: var(--green-ink, #0A6B4A); }
.dads-orders em.dads-order-created { color: var(--amber-ink, #8A5B10); }
.dads-history li { padding: 6px 0; border-bottom: 1px solid var(--line, #E7E9ED); line-height: 1.4; }
.dads-history span { color: var(--ink-500, #6B7280); font-size: 12px; }
.dads-howto { padding-left: 18px; line-height: 1.5; }
.dads-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface, #F3F4F6); color: var(--ink-600, #4C5361); white-space: nowrap; vertical-align: middle; }
.dads-badge.dads-ok { background: var(--green-bg, #E7F7F0); color: var(--green-ink, #0A6B4A); }
.dads-badge.dads-wait { background: var(--amber-bg, #FEF4E6); color: var(--amber-ink, #8A5B10); }
.dads-badge.dads-err { background: var(--red-bg, #FEECEB); color: var(--red-ink, #B4231A); }
.dads-badge.dads-info { background: var(--blue-50, #EAF2FE); color: var(--blue-900, #093F94); }
.dads-empty { text-align: center; max-width: 560px; margin: 20px auto; padding: 28px 20px; background: #fff; border: 1px solid var(--line, #E7E9ED); border-radius: var(--r-panel, 16px); }
.dads-empty-ico { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 20px; background: var(--blue-50, #EAF2FE); color: var(--blue-600, #0B62E4); }
.dads-empty-ico svg { width: 34px; height: 34px; }
.dads-empty-steps { text-align: left; display: inline-block; margin: 0 0 18px; line-height: 1.6; }
.dads-cards { display: grid; gap: 12px; }
.dads-card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; padding: 14px; background: #fff; border: 1px solid var(--line, #E7E9ED); border-radius: var(--r-panel, 16px); }
@media (max-width: 600px) { .dads-card { grid-template-columns: 1fr; } }
.dads-card-thumb { display: grid; place-items: center; min-height: 70px; border-radius: 10px; background: var(--surface-2, #F8F9FA); overflow: hidden; color: var(--ink-400, #98A0AC); font-size: 13px; text-decoration: none; }
.dads-card-thumb img { display: block; max-width: 100%; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.dads-card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.dads-card-top a { color: inherit; text-decoration: none; font-size: 16px; }
.dads-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 6px 0; font-size: 13px; color: var(--ink-600, #4C5361); }
.dads-left { font-weight: 600; color: var(--blue-600, #0B62E4); }
.dads-reason { color: var(--red-ink, #B4231A); }
.dads-card-kpi { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; margin: 6px 0 10px; }
.dads-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dads-card-actions .dads-btn { min-height: 38px; padding: 8px 14px; font-size: 14px; }

/* ---------- statistics ---------- */
.dads-periods { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.dads-periods a { padding: 7px 14px; border-radius: 999px; background: var(--surface, #F3F4F6); color: var(--ink-700, #333945); text-decoration: none; font-size: 14px; }
.dads-periods a.is-active { background: var(--blue-600, #0B62E4); color: #fff; }
.dads-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 16px; }
.dads-kpis div { padding: 12px 14px; border-radius: 12px; background: var(--surface-2, #F8F9FA); box-shadow: inset 0 0 0 1px var(--line, #E7E9ED); }
.dads-kpis span { display: block; font-size: 13px; color: var(--ink-500, #6B7280); }
.dads-kpis b { display: block; font-size: 26px; letter-spacing: -.02em; margin-top: 2px; }
.dads-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin: 0 0 16px; }
.dads-chart-box { margin: 0; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line, #E7E9ED); }
.dads-chart-box figcaption { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.dads-chart-box figcaption span { color: var(--ink-500, #6B7280); }
.dads-chart { display: block; width: 100%; height: 140px; }
.dads-chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-400, #98A0AC); }
.dads-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.dads-stat { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0 0 16px; }
.dads-stat th, .dads-stat td { padding: 7px 6px; border-bottom: 1px solid var(--line, #E7E9ED); text-align: right; }
.dads-stat th:first-child, .dads-stat td:first-child { text-align: left; }
.dads-stat th { font-size: 12px; color: var(--ink-500, #6B7280); font-weight: 600; }
.dads-stat tr.is-current td { background: var(--blue-50, #EAF2FE); }
.dads-explain { margin-top: 10px; font-size: 14px; line-height: 1.5; }
.dads-explain summary { cursor: pointer; font-weight: 600; }

/* placeholders: decoration never covers the text in tall / box shapes */
.dads-ph--tall .dads-ph-deco, .dads-ph--box .dads-ph-deco { height: 42%; opacity: .55; }
.dads-ph--geo.dads-ph--tall .dads-ph-in { justify-content: flex-start; padding-top: 56px; }
.dads-ph--geo.dads-ph--box .dads-ph-deco { opacity: .3; }
.dads-ph--compact.dads-ph--tall .dads-ph-badge, .dads-ph--compact.dads-ph--box .dads-ph-badge { display: none; }
.dads-ph--compact.dads-ph--tall .dads-ph-title { font-size: 26px; }
.dads-ph--compact.dads-ph--tall .dads-ph-text { font-size: 16px; }

/* towns and villages (campaign wizard) */
.dads-geo { margin-top: 14px; }
.dads-geo-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.dads-geo-head .dads-muted { font-size: 13px; }
.dads-geo-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.dads-geo-town { border: 1px solid var(--line, #E7E9ED); border-radius: 12px; padding: 10px 12px; background: #fff; }
.dads-geo-town.is-on { border-color: var(--blue-600, #0B62E4); background: var(--blue-50, #EAF2FE); }
.dads-geo-check { display: flex; align-items: center; gap: 8px; min-height: 30px; cursor: pointer; font-size: 15px; }
.dads-geo-check input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: var(--blue-600, #0B62E4); }
.dads-geo-town details { margin-top: 4px; }
.dads-geo-town summary { cursor: pointer; font-size: 13px; color: var(--blue-600, #0B62E4); padding: 2px 0; }
.dads-geo-villages { display: flex; flex-direction: column; max-height: 260px; overflow-y: auto; padding: 4px 0 0 2px; }
/* 1.6.2: rows never shrink in the scrolling list — long names on two lines used to overlap the next row */
.dads-geo-villages .dads-geo-check { flex-shrink: 0; font-size: 14px; line-height: 1.3; min-height: 28px; padding: 3px 0; box-sizing: border-box; }
.dads-geo-check input:disabled + * , .dads-geo-villages input:disabled { opacity: .7; }

/* ---------- promised views (1.2.0) ---------- */
.dads-prog { margin: 0 0 14px; }
.dads-prog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; font-size: 14px; margin-bottom: 6px; }
.dads-prog-bonus { padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--green-bg, #E7F7F0); color: var(--green-ink, #0A6B4A); }
.dads-prog-bar { position: relative; height: 10px; border-radius: 999px; background: var(--surface, #F3F4F6); box-shadow: inset 0 0 0 1px var(--line, #E7E9ED); overflow: hidden; }
.dads-prog-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #2478F0, #0B62E4); transition: width .6s ease; }
.dads-prog-bar em { position: absolute; top: -2px; bottom: -2px; width: 2px; margin-left: -1px; background: var(--ink-900, #0F1115); opacity: .35; }
.dads-prog.is-ok .dads-prog-bar i { background: linear-gradient(90deg, #20C997, #0B9F6E); }
.dads-prog.is-wait .dads-prog-bar i { background: linear-gradient(90deg, #FFB547, #E8920C); }
.dads-prog.is-free .dads-prog-bar i { background: linear-gradient(90deg, #8B7CFF, #6A55F0); }
.dads-prog-note { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink-600, #4C5361); }
.dads-prog--compact { margin: 6px 0 4px; max-width: 420px; }
.dads-prog--compact .dads-prog-head { font-size: 13px; }
.dads-prog--compact .dads-prog-bar { height: 7px; }
.dads-promise { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; margin: 0 0 12px; border-radius: 12px; background: var(--blue-50, #EAF2FE); color: var(--blue-900, #093F94); }
.dads-promise span { font-size: 13px; }
.dads-promise b { font-size: 22px; letter-spacing: -.01em; }
.dads-promise small { font-size: 12px; color: var(--blue-600, #0B62E4); margin: 0 !important; }
.dads-lines-views { display: block; margin: 1px 0 0 !important; font-size: 12px; color: var(--ink-500, #6B7280); }
.dads-promise-note { margin: -6px 0 14px; font-size: 13px; }
.dads-info-views { color: var(--ink-500, #6B7280); font-weight: 400; }

/* ---------- free places (1.3.0) ---------- */
.dads-zone-free { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin: 2px 0 0; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.dads-zone-free::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dads-zone-free.is-free { background: var(--green-bg, #E7F7F0); color: var(--green-ink, #0A6B4A); }
.dads-zone-free.is-busy { background: var(--amber-bg, #FEF4E6); color: var(--amber-ink, #8A5B10); }
.dads-info-zone .dads-zone-free { margin: 0 0 8px; font-size: 12px !important; }
.dads-alt { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: var(--green-bg, #E7F7F0); color: var(--green-ink, #0A6B4A); font-size: 14px; }
.dads-alt-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 0 0; margin-top: 8px; border-top: 1px solid rgba(10, 107, 74, .15); color: var(--ink-900, #0F1115); }
.dads-alt-row span { display: flex; flex-direction: column; font-weight: 600; }
.dads-alt-row small { font-weight: 400; margin: 0 !important; color: var(--ink-600, #4C5361); }
.dads-alt-row form { margin: 0; }
.dads-btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13px; }

/* ---------- «Обычно / Чаще» (1.4.0) ---------- */
.dads-boost { border: 0; padding: 0; margin: 0 0 14px; }
.dads-boost legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.dads-boost { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.dads-boost legend { grid-column: 1 / -1; }
.dads-boost-opt { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line, #E7E9ED); border-radius: 12px; cursor: pointer; }
.dads-boost-opt input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--blue-600, #0B62E4); flex: 0 0 auto; }
.dads-boost-opt span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.dads-boost-opt small { margin: 0 !important; font-size: 13px; }
.dads-boost-opt:has(input:checked) { border-color: var(--blue-600, #0B62E4); background: var(--blue-50, #EAF2FE); }
