/* AUTO-IMPEX refinement, October 2026.
   Additive presentation layer; existing routes and business logic are retained. */

/* Round 01 — quieter palette, consistent radii and surface depth. */
:root {
  --ink: #1b2533;
  --ink-2: #435064;
  --muted: #647084;
  --paper: #f3f5f7;
  --rule: #e1e6ec;
  --rule-strong: #c6ced8;
  --ctl-border: #8592a3;
  --red: #c8102e;
  --r-sheet: 20px;
  --r-ctl: 12px;
  --shadow-panel: 0 8px 28px -18px rgb(22 35 53 / 22%);
}
body { background: var(--paper); }
.card, .chatbox, .fin-sec, .person, .offer-row, .ver {
  box-shadow: var(--shadow-panel);
}

/* Round 02 — calmer type and a shared spacing rhythm. */
body { line-height: 1.6; }
h1, h2, h3 { font-stretch: 100%; letter-spacing: -.035em; }
h1 { font-weight: 700; }
h2 { font-size: 1.45rem; margin-bottom: 20px; }
h3 { font-size: 1.125rem; }
.wrap { max-width: 1200px; padding: 36px 28px 72px; }
.lead { line-height: 1.65; }
.hero-body h1 { font-stretch: 104%; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.12; letter-spacing: -.04em; }
.hero-price { font-stretch: 103%; font-size: 2.65rem; letter-spacing: -.045em; }
.offer-row .title, .sc-title, .v-name, .pname { font-stretch: 100%; }
.eyebrow-line { line-height: 1.5; margin-bottom: 10px; }
.hero-chips { margin: 16px 0; }
.hero-chips li { padding: 5px 12px; background: #f6f7f9; border-color: transparent; }
.hero-price-label { margin-top: 24px; }
.hero .per { line-height: 1.5; margin-bottom: 10px; }
.foot { max-width: 1144px; padding: 24px 0 32px; }

/* Round 03 — lighter navigation chrome and clearer section links. */
.top { background: #192330; box-shadow: 0 2px 12px rgb(16 26 41 / 8%); }
.top-inner { max-width: 1200px; min-height: 76px; padding: 0 28px; gap: 24px; }
.brand { gap: 10px; flex-shrink: 0; }
.brand .sub { border-left: 1px solid #4b5665; padding-left: 18px; margin-left: 10px; font-size: 14px; }
.logo { font-size: 17px; }
#nav { gap: 6px; }
#nav a, #nav button { min-height: 44px; padding: 10px 16px; font-size: 14px; }
#nav a[aria-current="page"] { background: #303c4d; }
.banner { padding: 9px 24px; font-size: 12px; line-height: 1.5; }
.banner.live { background: #edf5f0; color: #305b43; border-color: #d8e7de; }
#app > a.small { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
#app > a.small:hover { color: var(--ink); }
.secnav { margin: 28px 0; padding: 8px; border: 1px solid var(--rule); border-radius: 16px; background: rgb(255 255 255 / 96%); box-shadow: var(--shadow-panel); gap: 6px; top: 12px; }
.secnav a { padding: 10px 18px; font-size: 14px; }
.secnav a:hover, .secnav a:focus-visible { background: #eef1f5; }
.sec { scroll-margin-top: 96px; }

/* Round 04 — one composed hero, with a distinct image stage and price. */
.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 40px; margin-top: 8px; padding: 28px;
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: 24px; box-shadow: var(--shadow-panel);
}
.hero-media { background: #f0f3f5; border-radius: 16px; align-self: stretch; display: grid; align-items: center; min-width: 0; }
.hero-media .car.hero-img { height: 100%; min-height: 320px; max-height: 460px; background: linear-gradient(145deg,#f5f7f9,#e9edf1); object-fit: contain; border-radius: 16px; }
.hero-media::after { background: rgb(33 47 67 / 9%); bottom: 19%; }
.hero-body { min-width: 0; padding: 8px 0; }
.hero-body h1 { font-size: clamp(1.85rem, 2.8vw, 2.5rem); }
.hero .status-line { gap: 8px 10px; }
.status { font-size: 12px; line-height: 1.5; padding: 5px 10px; }
.status.pending { background: #f0f2f6; color: #4e5b6e; }
.hero .actions { gap: 10px; margin-top: 22px; }
.hero .quiet-links { margin: 14px 0 0; gap: 6px 16px; font-size: 13px; }
.hero .quiet-links:empty { display: none; }
.hero-delivery { background: #f2f8f4; border-color: #d2e6da; border-left: 3px solid var(--ok); border-radius: 12px; }

/* Round 05 — readable milestones and quiet technical facts. */
.journey { gap: 32px; padding: 26px 28px; margin: 24px 0; border-radius: 20px; box-shadow: var(--shadow-panel); }
.jsteps { gap: 4px; }
.jsteps li { gap: 8px; padding-right: 4px; }
.jsteps li::before { top: 12px; left: 26px; right: -4px; }
.jdot { width: 26px; height: 26px; border-color: #b8c2ce; }
.jsteps li.cur .jdot { border-color: var(--red); box-shadow: 0 0 0 5px #fcf0f2; }
.jl { font-size: 13px; line-height: 1.4; }
.jw { font-size: 11px; }
.jnext { padding-left: 28px; }
.jnext .nx-h { font-size: 1.05rem; line-height: 1.5; font-stretch: 100%; }
.jnext p { font-size: 14px; line-height: 1.65; }
.facts { margin: 24px 0; padding: 8px; border: 1px solid var(--rule); border-radius: 18px; background: #edf1f5; }
.facts > div { padding: 12px 20px; }
.facts > div + div { padding-left: 20px; border-left-color: #d5dde6; }
.facts dt { font-size: 12px; }
.facts dd { margin-top: 5px; font-size: 1.2rem; font-weight: 650; font-stretch: 100%; }
.note blockquote { line-height: 1.75; }

/* Round 06 — aligned detail panels and a less severe price summary. */
.detail-grid { grid-template-columns: minmax(0,1fr) 360px; gap: 24px; }
.main-col > .sec { padding: 26px; background: #fff; border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow-panel); }
.main-col > .sec + .sec { margin-top: 24px; padding-top: 26px; }
.side-col { gap: 20px; position: static; }
.sticker { border: 1px solid var(--rule); border-top: 3px solid var(--ink); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-panel); }
.st-head { font-stretch: 100%; letter-spacing: .025em; font-size: 10px; padding-bottom: 16px; margin-bottom: 20px; }
.lines li { padding: 7px 0; font-size: 14px; gap: 8px; }
.lines li > i { display: none; }
.lines li > span:first-child { flex: 1; min-width: 0; }
.lines li.total { border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 12px; flex-wrap: wrap; }
.lines li.total > span:last-child { font-stretch: 100%; font-size: 1.8rem; letter-spacing: -.035em; }
.lines li.total.pay > span:last-child { font-size: 1.5rem; }
.fin-sec, .person { padding: 24px; }
.fin-big { font-stretch: 100%; letter-spacing: -.035em; font-size: 2rem; }
.kv { gap: 12px 20px; font-size: 14px; }
.kv dd { overflow-wrap: anywhere; font-weight: 550; }
.disclosures { margin-top: 24px; }
.disclosures > details { padding: 5px 0; border-top: 1px solid var(--rule); }
.disclosures summary { font-size: 14px; padding: 12px 0; }
.stock-card { border-radius: 16px; padding: 14px; }
.sc-img { border-radius: 10px; }
.ver { padding: 20px; gap: 10px; }
.ver.is-cur { border-color: #8392a7; background: #f8fafc; }

/* Round 07 — quiet document rows and a more comfortable conversation. */
.doc a { padding: 18px; border-radius: 14px; gap: 16px; background: #f8fafc; }
.doc.is-new a { border-color: #cbd5e1; box-shadow: none; }
.doc a:hover { border-color: #8291a6; background: #f1f5f9; }
.ftype { width: 38px; height: 46px; border-radius: 7px; background: #e3eaf3; color: #3a5272; }
.dtitle { font-stretch: 100%; font-size: 14px; }
.dmeta { font-size: 12px; line-height: 1.6; }
.dopen { font-size: 13px; }
.count.new { background: #e1ebf7; color: #345479; }
.chatbox { border-radius: 16px; box-shadow: none; }
.chat-head { padding: 18px; gap: 10px; }
.ch-name { font-size: 14px; }
.ch-state { font-size: 12px; }
.chat { background: #f4f6f9; padding: 20px; gap: 12px; min-height: 180px; }
.chat-empty { font-size: 14px; line-height: 1.75; }
.msg { padding: 12px 16px; line-height: 1.6; }
.msg.staff { border-color: #e6ebf0; }
.msg.customer { background: #27384f; }
.quickq { gap: 8px; padding: 16px 16px 0; }
.quickq .chip { font-size: 12px; min-height: 40px; padding: 8px 12px; border-color: #c6d0dd; background: #fff; }
.chatbox .chatform { padding: 16px; gap: 10px; }
.chatform textarea { min-height: 60px; font-size: 14px; }
.avatar { background: #e8eef5; color: #3b526f; font-stretch: 100%; }
.person .pname { font-size: 15px; }

/* Round 08 — consistent controls and a welcoming sign-in. */
.btn { min-height: 48px; padding: 12px 20px; font-size: 14px; font-weight: 650; border-radius: 12px; }
.btn.primary { box-shadow: 0 4px 12px rgb(200 16 46 / 12%); }
.btn.ghost { border-color: #acb7c5; background: #fff; }
.btn.ghost:hover { background: #f2f5f8; border-color: #7c8b9f; }
.btn.sm { min-height: 44px; font-size: 13px; }
input, textarea, select { border-color: #8592a3; min-height: 50px; padding: 12px 14px; border-radius: 12px; }
input::placeholder, textarea::placeholder { color: #718096; opacity: 1; }
label { font-size: 14px; margin-bottom: 8px; }
.field + .field { margin-top: 22px; }
.login { max-width: 1000px; margin: 28px auto; border-radius: 24px; box-shadow: 0 16px 48px -24px rgb(23 39 61 / 28%); border: 1px solid var(--rule); }
.login .login-panel { padding: 44px; border: 0; border-radius: 24px 0 0 24px; }
.login-panel h1 { font-size: 2.1rem; font-stretch: 100%; letter-spacing: -.04em; max-width: 15ch; line-height: 1.15; }
.login-panel .lead { margin: 16px 0 30px; font-size: 15px; }
.login-panel .field .small { margin-top: 10px; font-size: 12px; line-height: 1.7; }
.login-actions { margin-top: 28px; }
.staff-link { margin-top: 18px; }
.login-side { padding: 44px 36px; border-radius: 0 24px 24px 0; background: linear-gradient(145deg,#233146,#17212e); gap: 30px; }
.ls-h { font-stretch: 100%; font-size: 1.25rem; letter-spacing: -.02em; }
.ls-list { gap: 24px; }
.ls-list li { grid-template-columns: 40px 1fr; gap: 14px; }
.ls-list svg { width: 40px; height: 40px; padding: 9px; border: 1px solid #4b596c; border-radius: 12px; color: #e3eaf3; }
.ls-list span { font-size: 14px; line-height: 1.65; }
.ls-list b { margin-bottom: 3px; }
.ls-foot { font-size: 12px; line-height: 1.7; color: #b8c4d2; }
.error:empty { display: none; }

/* Round 09 — responsive composition, including long stock descriptions. */
/* Stack the stock action under its description instead of squeezing four
   columns into the narrower vehicle-details panel. */
.stock-card { grid-template-columns: 96px minmax(0,1fr) auto; gap: 12px 16px; }
.sc-img { width: 96px; height: 72px; grid-row: span 2; }
.stock-card > .btn { grid-column: 2 / -1; justify-self: start; }
.sc-price { font-size: 1rem; font-stretch: 100%; }
.sc-vs { white-space: normal; max-width: 17ch; line-height: 1.5; }
.sc-title { font-size: 14px; }
.sc-meta { font-size: 12px; }
.versions { grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); gap: 14px; }
.v-name { font-size: 1.05rem; }
.v-head { flex-wrap: wrap; }
.v-price { font-size: 1.05rem; }
.v-extras { font-size: 13px; line-height: 1.65; }
@media (max-width: 1100px) {
  .top-inner { gap: 12px; }
  .hero { gap: 26px; padding: 24px; }
  .hero-body h1 { font-size: 2rem; }
  .hero .actions .btn { flex: 1 1 100%; }
  .detail-grid { grid-template-columns: minmax(0,1fr) 320px; gap: 20px; }
  .main-col > .sec { padding: 22px; }
  .stock-card { grid-template-columns: 80px minmax(0,1fr); }
  .sc-img { width: 80px; height: 64px; grid-row: auto; }
  .sc-price { grid-column: 2; text-align: left; }
  .sc-vs { max-width: none; }
}
@media (max-width: 960px) {
  .journey { grid-template-columns: 1fr; gap: 22px; }
  .jnext { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .detail-grid { display: flex; gap: 20px; }
  .main-col,.side-col { display: contents; }
  .main-col > .sec + .sec { margin-top: 0; }
  .hero { gap: 22px; }
  .hero-body h1 { font-size: 1.85rem; }
  .hero-chips li { font-size: 12px; }
  .login .login-panel { padding: 32px; }
  .login-side { padding: 32px; }
  .foot { width: calc(100% - 48px); }
}
@media (max-width: 760px) {
  .wrap { padding: 20px 16px 48px; }
  .top-inner { min-height: 64px; padding: 0 16px; }
  .brand .sub { display: none; }
  .logo { font-size: 15px; }
  .banner { padding: 8px 16px; font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding: 16px; gap: 20px; border-radius: 20px; }
  .hero-media { min-height: 0; }
  .hero-media .car.hero-img { height: 220px; min-height: 0; max-height: none; }
  .hero-body { padding: 0 4px 4px; }
  .hero-body h1 { font-size: 1.9rem; }
  .hero-price { font-size: 2.2rem; }
  .hero-price-label { margin-top: 20px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .journey { padding: 22px 18px; margin: 20px 0; }
  .facts { grid-template-columns: 1fr 1fr; padding: 4px; margin: 20px 0; }
  .facts > div,.facts > div + div { padding: 14px; border-left: 0; }
  .facts > div:nth-child(even) { border-left: 1px solid var(--rule); }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .facts dd { font-size: 1.05rem; }
  .facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .secnav { top: 8px; margin: 20px 0; padding: 6px; border-radius: 12px; }
  .secnav a { padding: 10px 14px; font-size: 13px; }
  .sec { scroll-margin-top: 80px; }
  .main-col > .sec,.main-col > .sec + .sec,.sticker,.fin-sec,.person { padding: 20px; border-radius: 18px; }
  .kv { grid-template-columns: minmax(76px,.7fr) minmax(0,1fr); gap: 12px; }
  .stock-card { gap: 10px; padding: 12px; }
  .stock-card > .btn { grid-column: 1 / -1; width: 100%; }
  .doc a { padding: 14px; gap: 10px; grid-template-columns: auto minmax(0,1fr); }
  .dopen { grid-column: 2; }
  .chat-head { padding: 14px; }
  .chat { padding: 14px; }
  .chatform { grid-template-columns: 1fr; }
  .chatbox .chatform { padding: 12px; }
  .chatform .btn { justify-self: end; }
  .msg { max-width: 94%; }
  .quickq { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }
  .quickq .chip { white-space: normal; text-align: left; }
  .login { grid-template-columns: 1fr; margin: 8px auto 16px; }
  .login .login-panel { border-radius: 24px 24px 0 0; padding: 28px 24px; }
  .login-panel h1 { font-size: 1.9rem; }
  .login-side { border-radius: 0 0 24px 24px; padding: 28px 24px; }
  .login-panel .lead { margin-bottom: 24px; }
  .ls-list { gap: 20px; }
  .ls-foot { margin-top: 8px; }
  .offer-row { grid-template-columns: 80px minmax(0,1fr); padding: 14px; }
  .offer-row .car.thumb { width: 80px; height: 70px; border-radius: 10px; }
  .offer-row .price { white-space: normal; }
  .offer-bar { box-shadow: 0 -8px 24px rgb(20 34 53 / 8%); }
  .offer-bar .btn.sm { padding: 10px 12px; }
}
@media (max-width: 380px) {
  .wrap { padding-left: 12px; padding-right: 12px; }
  .hero-body h1 { font-size: 1.65rem; }
  .hero-media .car.hero-img { height: 180px; }
  .main-col > .sec,.main-col > .sec + .sec,.sticker,.fin-sec,.person { padding: 16px; }
  .login .login-panel,.login-side { padding: 24px 20px; }
  .offer-bar .ob-price .num { font-size: 16px; }
}

/* Round 10 — restrained motion, accessible focus and final consistency. */
.btn, .chip, .doc a, .offer-row, .thread-list .item, .secnav a, #nav a, #nav button {
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}
input, textarea, select { transition: border-color 160ms ease, box-shadow 160ms ease; }
:focus-visible { outline: 3px solid #2466c2; outline-offset: 4px; }
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #2466c2; outline-offset: 2px;
  border-color: #2466c2; box-shadow: 0 0 0 5px #2466c214;
}
.btn:disabled { cursor: not-allowed; box-shadow: none; }
.btn.primary:hover:not(:disabled) { box-shadow: 0 6px 18px rgb(200 16 46 / 20%); }
.secnav { background: #fff; }
.offer-row { padding: 18px; gap: 20px; }
.offer-row .car.thumb { border-radius: 12px; object-fit: contain; background: #eff2f5; }
.offer-row .title { font-size: 1.15rem; line-height: 1.4; }
.offer-row .meta { font-size: 13px; line-height: 1.65; }
.offer-row .row-next { margin-top: 10px; font-size: 13px; }
.offer-row .price { font-stretch: 100%; font-size: 1.5rem; letter-spacing: -.025em; }
@media (hover:hover) {
  .offer-row:hover { border-color: #a7b4c5 !important; box-shadow: 0 10px 30px -18px rgb(22 35 53 / 35%); }
}
.interior { height: auto; max-height: 300px; object-fit: contain; background: #f1f4f7; border-radius: 14px; margin-top: 24px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit,minmax(min(300px,100%),1fr)); }
.sec[hidden] { display: none; }
.actform { border-color: #a9bdd8; background: #f6f9fd; padding: 20px; }
@media (max-width:760px) {
  .offer-row { padding: 14px; gap: 14px; }
  .offer-row .title { font-size: 1rem; }
  .offer-row .price { font-size: 1.2rem; }
  .actform .actions .btn { flex: 1 1 100%; }
  .foot { font-size: 12px; line-height: 1.7; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors:active) {
  .btn,.chip,.status,.jdot { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}
@media print {
  body { background: #fff; color: #000; font-size: 10pt; }
  .wrap { max-width: none; padding: 0; }
  .hero,.main-col > .sec,.sticker,.fin-sec,.person,.journey,.facts { box-shadow: none; border-color: #aaa; border-radius: 0; }
  .hero { padding: 12px; gap: 20px; grid-template-columns: 1fr 1fr; }
  .hero-media .car.hero-img { min-height: 0; height: 180px; }
  .hero-body h1 { font-size: 22pt; }
  .detail-grid,.main-col,.side-col { display: block; }
  .main-col > .sec,.main-col > .sec + .sec,.sticker,.fin-sec,.person { margin: 16px 0 0; padding: 14px; }
  .facts { display: grid; grid-template-columns: repeat(5,1fr); padding: 0; }
  .facts > div { padding: 8px; }
  #moznosti { display: none; }
  .sec { break-inside: auto; }
  .sticker,.fin-sec,.person,.hero,.journey { break-inside: avoid; }
}

/* Salesperson daily overview */
.dg-sec { margin: 0 0 16px; }
.dg-sec h2 { margin: 0 0 8px; font-size: 1.05rem; }
table.dg { width: 100%; border-collapse: collapse; }
table.dg th, table.dg td { text-align: left; vertical-align: top; padding: 9px 8px; border-top: 1px solid var(--line, #e3e8ee); }
table.dg tr:first-child th, table.dg tr:first-child td { border-top: 0; }
table.dg th { width: 130px; white-space: nowrap; font-weight: 700; color: var(--navy, #062a49); }
.dg-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dg-sum div { display: flex; flex-direction: column; gap: 2px; }
.dg-sum b { font-size: 1.4rem; }
@media (max-width: 640px) { table.dg th { width: auto; white-space: normal; display: block; padding-bottom: 0; border: 0; } table.dg td { display: block; padding-top: 2px; } .dg-sum { grid-template-columns: 1fr 1fr; } }

/* ---- contact the salesperson: call now, ask for a call, ask for a meeting ---- */
.sec.person h2.person-h { font-size: 15px; font-weight: 700; color: var(--muted); margin: 0 0 12px; letter-spacing: 0; }
.contact-acts { display: grid; gap: 8px; margin: 16px 0 10px; }
.cact { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule-strong); border-radius: var(--r-ctl); padding: 11px 14px; text-decoration: none; cursor: pointer; min-height: 56px; }
.cact:hover { border-color: var(--ink-2); background: var(--paper); }
.cact:focus-visible { outline: 3px solid #0a5bd8; outline-offset: 2px; }
.cact b { display: block; font-size: 15px; }
.cact span span { display: block; font-size: 13px; color: var(--muted); }
.cact .ci { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--ink-2); }
.cact.call { background: var(--red); border-color: var(--red); color: #fff; }
.cact.call:hover { background: #a00c24; border-color: #a00c24; }
.cact.call .ci { background: rgb(255 255 255 / 18%); color: #fff; }
.cact.call span span { color: #fff; opacity: .92; font-variant-numeric: tabular-nums; }
.ob-call svg { display: block; }

/* ---- entry link and password ---- */
.entry { max-width: 520px; margin: 24px auto; }
.entry h1 { margin-bottom: 6px; }
.entry .who { font-weight: 700; }
.entry .pwrow { position: relative; }
.entry .pwrow .linkbtn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.entry .alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); }
.pw-card { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 16px; }
.pw-card p { margin: 0; }
.sendlink { margin-top: 10px; }
.dlg { border: 0; border-radius: var(--r-sheet); padding: 24px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgb(10 12 14 / 40%); }
.dlg::backdrop { background: rgb(14 16 18 / 55%); }
.dlg h2 { margin: 0 0 14px; font-size: 20px; }
.toast { position: fixed; left: 50%; bottom: 88px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 15px; z-index: 50; max-width: calc(100vw - 32px); }
.dg-wrap { overflow-x: auto; }

/* ---- 3D configurator ---- */
.hero-media { position: relative; }
.hero-3d { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 8px; align-items: center; background: rgb(255 255 255 / 94%); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 8px 14px 8px 10px; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 18px -10px rgb(22 35 53 / 45%); }
.hero-3d:hover { background: #fff; border-color: var(--ink-2); }
.hero-3d:focus-visible, .cfg-card:focus-visible { outline: 3px solid #0a5bd8; outline-offset: 2px; }
.cfg-card { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; margin: 18px 0 6px; padding: 16px; border-radius: var(--r-ctl); background: #0f2a44; color: #fff; text-decoration: none; }
.cfg-card:hover { background: #143558; }
.cfg-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / 12%); }
.cfg-ico svg { width: 26px; height: 26px; }
.cfg-txt b { display: block; font-size: 16px; }
.cfg-txt > span { display: block; font-size: 14px; opacity: .88; margin-top: 2px; }
.cfg-txt .cfg-note { opacity: 1; color: #ffd98a; }
.cfg-go { font-weight: 700; font-size: 14px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
@media (max-width: 560px) { .cfg-card { grid-template-columns: auto 1fr; } .cfg-go { display: none; } }
.to-equip { margin: 10px 0 0; font-weight: 600; }

/* ---- equipment and technical data ---- */
.equip-sec h2 { margin-bottom: 4px; }
.hl { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.hl li { border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 10px 12px; background: var(--paper); font-size: 14px; line-height: 1.35; }
.hl .hl-t { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 2px; }
.eq-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--rule); margin: 6px 0 14px; }
.eq-tabs [role="tab"] { font: inherit; font-weight: 700; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.eq-tabs [role="tab"][aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.eq-tabs [role="tab"]:focus-visible { outline: 3px solid #0a5bd8; outline-offset: -3px; }
.eq-search input { width: 100%; }
.eq-g { border-top: 1px solid var(--rule); }
.eq-g > summary { cursor: pointer; padding: 12px 2px; font-weight: 700; list-style-position: inside; }
.eq-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 22px; }
.eq-list li { padding: 6px 0 6px 18px; position: relative; font-size: 15px; line-height: 1.4; }
.eq-list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 8px; height: 4px; border-left: 2px solid #1b7f4c; border-bottom: 2px solid #1b7f4c; transform: rotate(-45deg); }
.eq-a { font-size: 11px; font-weight: 700; color: var(--ink-2); background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; padding: 1px 5px; text-decoration: none; cursor: help; white-space: nowrap; }
.eq-x { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.td-g h3 { font-size: 15px; margin: 18px 0 6px; }
.td { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); column-gap: 26px; }
.td > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.td dt { color: var(--ink-2); }
.td dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
@media print { .eq-tabs, .eq-search { display: none; } #pane-td[hidden], #pane-eq[hidden] { display: block !important; } .eq-g { break-inside: avoid; } }
.hero-3d { z-index: 3; top: 14px; bottom: auto; left: auto; right: 14px; }
.td dd { white-space: normal; max-width: 55%; overflow-wrap: anywhere; }
.td dd.num { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .hl { grid-template-columns: 1fr 1fr; gap: 6px; }
  .hl li { padding: 8px 10px; font-size: 13px; }
  .td { grid-template-columns: 1fr; }
  .eq-list { grid-template-columns: 1fr; }
}
.td > div { align-items: baseline; }
.td dt { flex: 1 1 auto; min-width: 0; }
.td dd { flex: 0 1 auto; max-width: 62%; overflow-wrap: normal; word-break: normal; }

/* ---- salesperson's morning overview ---- */
.dgp { max-width: 860px; }
.dgp-kicker { margin: 0; font-size: 14px; color: var(--muted); }
.dgp h1 { margin: 2px 0 2px; }
.dgp-day { margin: 0 0 18px; font-size: 17px; color: var(--ink-2); }
.dgp-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 22px; }
.dgp-sum > div { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 12px 14px; }
.dgp-sum dt { font-size: 13px; color: var(--muted); }
.dgp-sum dd { margin: 2px 0 0; font-size: 28px; font-weight: 800; line-height: 1.1; }
.dgp-sum dd.dgp-sub { font-size: 13px; font-weight: 600; color: var(--muted); }
.dgp-sec { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sheet); padding: 18px 20px; margin-bottom: 14px; }
.dgp-sec h2 { font-size: 18px; margin: 0 0 10px; }
.dgp-list { list-style: none; margin: 0; padding: 0; }
.dgp-item, .dgp-row { display: grid; grid-template-columns: 118px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule); align-items: start; }
.dgp-list > li:first-child { border-top: 0; padding-top: 4px; }
.dgp-tag { justify-self: start; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--paper); color: var(--ink-2); white-space: nowrap; }
.dgp-tag.t-reply { background: #fde8eb; color: #a00c24; }
.dgp-tag.t-call { background: #fff1d6; color: #7a4a00; }
.dgp-tag.t-hot { background: #e5f4ec; color: #146c3f; }
.dgp-tag.t-exp { background: #e9eefb; color: #23408e; }
.dgp-who { margin: 0; font-weight: 700; }
.dgp-what { margin: 2px 0 0; }
.dgp-offer { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.dgp-count { font-size: 22px; font-weight: 800; color: var(--ink-2); }
.dgp-empty { margin: 0; color: var(--muted); }
.dgp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dgp-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--rule); }
.dgp-table td { padding: 9px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.dgp-mail { background: var(--paper); border-radius: var(--r-ctl); padding: 12px 14px; }
.dgp-mail summary { cursor: pointer; font-weight: 700; }
.dgp-foot { margin-top: 6px; }
@media (max-width: 640px) {
  .dgp-sum { grid-template-columns: 1fr 1fr; }
  .dgp-item, .dgp-row { grid-template-columns: 1fr; gap: 6px; }
  .dgp-sec { padding: 16px; }
}
