/* Собственные стили главной страницы LotSonar поверх набора (kit/). Подключаются последними. */
/* the client's own logo: a document with a check in the brand teal */
.lr-mark { width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center; background: linear-gradient(135deg, #14b8a6, #0d7480); color: #fff; flex: none; }
.lr-mark svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* hero: the radar of the reels across the whole first screen, the words on its calm left side */
.hero--radar { position: relative; overflow: hidden; background: radial-gradient(55% 70% at 70% 54%, rgb(20 184 166 / .14), transparent 70%), #0b1b22; }
.hero__radar { position: absolute; inset: 0; z-index: 0; }
.hero__radar::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, #0b1b22 0%, rgb(11 27 34 / 0) 16%), linear-gradient(90deg, #0b1b22 0%, rgb(11 27 34 / .85) 32%, rgb(11 27 34 / 0) 55%); }
.hero--radar .wrap { position: relative; z-index: 1; }
.hero--radar h1 { font-size: clamp(40px, min(6vw + 14px, 10.6svh), 104px); line-height: .96; letter-spacing: -0.05em; max-width: 11ch; }
@media (max-width: 639px) { .hero--radar h1 { font-size: min(12vw, 52px); } }
/* низкий экран ноутбука: заголовок в две строки, чтобы первый экран помещался целиком */
@media (min-width: 900px) and (max-width: 1279px) { .hero--radar h1 { font-size: min(5.2vw + 10px, 10.6svh); } }
@media (min-width: 900px) and (max-height: 879px) {
  .hero--radar h1 { font-size: min(5vw, 10.5svh); max-width: none; }
  .hero--radar h1 em { display: block; }
}
@media (min-width: 900px) and (max-height: 699px) { .hero--radar .hero__proof { display: none; } }
@media (min-width: 900px) and (max-height: 699px) { .hero--radar .tuner__out { display: none; } }
/* выбор товара: кнопки настраивают радар на пример лотов */
.tuner { display: grid; gap: 10px; max-width: 34em; }
.tuner__l { margin: 0; font: 500 13px/1.3 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: #99f6e4; }
.tuner__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgb(94 234 212 / .6); background: #0d2229; color: #ccfbf1; font: 500 15px/1 var(--font-text); cursor: pointer; transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .12s ease; }
.chip:hover { background: #15343c; border-color: #5eead4; }
.chip:focus-visible { outline: 2px solid #5eead4; outline-offset: 3px; }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: #5eead4; border-color: #5eead4; color: #06282c; }
.chip[aria-pressed="true"]:hover { background: #99f6e4; }
.tuner__out { margin: 0; min-height: 2.9em; font-size: var(--t-small); line-height: 1.45; color: #b9c4c8; }
@media (max-width: 639px) {
  main > .hero--radar { padding-bottom: calc(var(--hpadb) + var(--bar) + clamp(170px, 47vw, 220px)); }
  .hero--radar .btn-row .btn--secondary, .hero--radar .hero__proof, .hero--radar .tuner__out { display: none; }
  .tuner__chips { gap: 6px; }
  .chip { padding: 0 10px; font-size: 14px; }
}
.hero--radar .hero__lead { max-width: 30em; }
@media (max-width: 899px) { .hero__radar::after { background: linear-gradient(0deg, #0b1b22 0%, rgb(11 27 34 / 0) 90px), linear-gradient(180deg, #0b1b22 0%, rgb(11 27 34 / .94) calc(var(--zone-top, 60%) - 30px), rgb(11 27 34 / 0) calc(var(--zone-top, 60%) + 80px)); } }
/* (variant 3 rules below stay for the pause button) */
.hero--radar .hero__art { background: radial-gradient(60% 60% at 50% 50%, rgb(20 184 166 / .16), transparent 70%), #0b1b22 !important; overflow: hidden; }
.hero--radar .hero__art::after { display: none; }
.hero--radar canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero--radar h1 { color: var(--ink); }
.hero--radar h1 em { font-style: normal; color: #5eead4; }
.radar__pause { position: absolute; z-index: 2; right: max(24px, (100% - 1280px) / 2); bottom: 32px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(94 234 212 / .4); background: rgb(8 24 30 / .8); color: #ccfbf1; display: grid; place-items: center; cursor: pointer; }
.radar__pause svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.radar__pause[aria-pressed="true"] svg path { d: path("M5 3.5 12.5 8 5 12.5Z"); }
/* hero: the lit sage ground of the art, with the radar's rings drawn faint behind the window */
.hero__art { background:
    radial-gradient(70% 60% at 18% 12%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    radial-gradient(60% 50% at 90% 100%, color-mix(in oklab, var(--ground-bg) 80%, var(--ground-accent)), transparent 70%),
    repeating-radial-gradient(circle at 92% 8%, transparent 0 58px, rgb(13 116 128 / .10) 58px 59px),
    var(--ground-bg); }
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e2f3f1; color: #0d6670; font-style: normal; font-size: 13px; font-weight: 700; }
.d-note__line i.warn { background: #fbe6e3; color: #a3271b; }
.d-note__line b { font-weight: 500; color: #16181a; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }
.ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) 74px 90px; }
.ly-piece--main .d-main { padding-right: var(--ly-cut-room); }
.d-thumb--pl { display: grid; place-items: center; font: 500 12px/1 var(--font-mono); color: #0d6670; background: #e2f3f1; }
.d-chip--syn { background: #e2f3f1; color: #0d6670; }
.d-chip--tz { background: #eef0f2; color: #3d4247; }
@media (max-width: 639px) { .ly-piece--main .d-row { grid-template-columns: 36px minmax(0, 1fr) 92px; } .ly-piece--main .d-row .num { display: none; } }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }

/* app-frame: the lot list beside the open lot's ТЗ (sections-library.md, app-frame) */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel, .app > .app__pane > .ui { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}

#product .app.ui { border-color: rgb(94 234 212 / .3); box-shadow: 0 0 0 1px rgb(94 234 212 / .12), 0 40px 140px -30px rgb(20 184 166 / .55); }
/* the close: the invitation set large */
.closing__cta h2 { font-size: clamp(40px, 4.6vw + 14px, 88px); line-height: 1; letter-spacing: -0.045em; max-width: 14ch; }

/* three open cards, each panel on the hero's lit sage ground */
#features .panel { --p-h: 300px; background:
    radial-gradient(80% 70% at 20% 0%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%),
    var(--ground-bg); }
#features > .wrap > .grid > .card { grid-column: 1 / -1; }
@media (min-width: 1024px) { #features > .wrap > .grid > .card { grid-column: auto / span 4; } }
@media (min-width: 640px) and (max-width: 1023px) { #features .panel { --p-h: 220px; } }
@media (max-width: 639px) { #features .panel { --p-h: 168px; } }

/* text inside the fragments wraps instead of being cut */
.ui-search__t { white-space: normal; overflow: visible; text-overflow: clip; }
.lr-plan { --p-h: 210px; background: radial-gradient(80% 70% at 20% 0%, color-mix(in oklab, var(--ground-surface) 80%, white), transparent 70%), var(--ground-bg); }
@media (max-width: 639px) {
  .ly-piece--main .d-tabs { display: none; }
  .ly-piece--main .d-row:nth-of-type(n+3) { display: none; }
  #proof .lr-stats .t-stat { font-size: 30px; }
  #proof .lr-sources { display: none; }
  .lr-plan { --p-h: 170px; }
}
.lr-plan .ui-check.is-done .ui-check__label { color: var(--u-ink); }
.lr-plan .ui-check.is-done .ui-check__label::after { transform: scaleX(0); }
@media (min-width: 1024px) { .app .ui-doc__page { padding-right: 250px; } }
/* the tonal hover of the kit lightens the teal below 4.5:1 for white text: hold it darker */
html[data-buttons="tonal"] .btn--primary:is(:hover, :focus-visible) { background: #0a5f69; }
/* on the dark hero and the dark nav the primary button is light: its hover stays light */
:is(.hero--radar, .nav--tone) .btn--primary:is(:hover, :focus-visible) { background: #dce5e8 !important; color: #1f3038; }
/* the proof band: four figures across the wrap, the platforms under them */
.lr-stats { padding: 0; margin-bottom: var(--s-7); }
.lr-stats .stat { display: grid; gap: var(--s-2); }
.lr-stats .t-stat { font-size: clamp(40px, 4.2vw + 16px, 80px); letter-spacing: -0.045em; }
@media (max-width: 1023px) { .lr-stats .stat { grid-column: auto / span 6; } }
.lr-sources { list-style: none; margin: 0; padding: 0; }
.lr-sources li { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.lr-sources b { font-weight: 500; }
.lr-sources span { color: var(--muted); font-size: var(--t-small); }
/* сообщение после удаления аккаунта: над заголовком первого экрана */
.lr-notice { margin: 0 0 var(--s-5); padding: 12px 16px; max-width: 34em; border: 1px solid rgb(94 234 212 / .6); border-radius: 12px; background: #0d2229; color: #ccfbf1; font-size: var(--t-small); line-height: 1.45; }
.lr-notice b { font-weight: 600; color: #f7f9fa; }
/* заголовок первого экрана без автоматических переносов («госза-купок»): набор включает их для всех заголовков */
.hero--radar h1 { hyphens: manual; -webkit-hyphens: manual; }
/* подзаголовок с названиями площадок на строку длиннее: на ноутбуке высотой до 800 px
   пример под кнопками товара уходит, иначе первый экран не помещается (1024×768) */
@media (min-width: 900px) and (max-height: 799px) { .hero--radar .tuner__out { display: none; } }
