/* =====================================================================
   IntrasEstate - kinnisvara haldus ja korteriühistud. Laeb pärast v3.css-i ja sub.css-i.
   Soe krohvivalge, tumepruun tekst ja tellisepunane. Fasaadi aknaruudustik avavaate taustal,
   korterinumbrid nagu uksesildid, kumerad nurgad. Hoiatused merevaigukollased (tellis ei ole viga).
   ===================================================================== */
html.theme-estate {
  --teal-rgb: 168, 67, 44;
  --hi-rgb: 242, 168, 143;
  --bg-rgb: 246, 241, 234;
  --acc-rgb: 178, 116, 18;
  --bg: #f6f1ea;
  --white: #fffdfa;
  --ink: #241b18;
  --ink-2: #574b45;
  --ink-3: #6e625c;                /* väike tekst vähemalt 4,5:1 valgel, --bg ja --mint taustal */
  --ink-4: #b3a79f;
  --line: #e7ddd2;
  --line-2: #f0e9e0;
  --teal: #a8432c;
  --teal-d: #8a3420;
  --teal-hi: #f2a88f;
  --mint: #f7e6dd;
  --mint-2: #efcfc0;
  --navy: #241b18;
  --navy-d: #18110f;
  --acc: #b27412;
  --acc-d: #8a570b;                /* tekstina --acc-t taustal vähemalt 4,5:1 */
  --acc-t: #fbf0d9;
  --brand: #a8432c;
  --av2: #7d8a6a;
  --ok: #2c7a4b;                   /* roheline tekst valgel ja #e6f3ea taustal vähemalt 4,5:1 */
  --r: 16px;
  --r-lg: 24px;
  --sh-2: 0 1px 2px rgba(36, 27, 24, .05), 0 12px 28px -14px rgba(36, 27, 24, .22);
  --sh-3: 0 1px 2px rgba(36, 27, 24, .05), 0 26px 50px -24px rgba(36, 27, 24, .34), 0 60px 110px -60px rgba(36, 27, 24, .3);
}
html.theme-estate .h1, html.theme-estate .h2, html.theme-estate .final__title { font-weight: 830; letter-spacing: -.034em; }
html.theme-estate .btn { border-radius: 12px; }
html.theme-estate .label::before, html.theme-estate .eyebrow::before { border-radius: 2px; }
html.theme-estate .chip { border-radius: 14px; }

/* ---------------- avavaade: fasaadi aknad, foto ja maja kaart ---------------- */
/* taust: korterelamu aknaruudustik (aknad 22x26, vahe 14), hääbub alla */
.exh::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='44'%3E%3Crect x='14' y='12' width='22' height='26' rx='2' fill='%23a8432c' fill-opacity='.045'/%3E%3C/svg%3E") 0 0 / 50px 44px; -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 75%), linear-gradient(180deg, #000 0%, transparent 70%); -webkit-mask-composite: source-in; mask-image: linear-gradient(105deg, transparent 30%, #000 75%), linear-gradient(180deg, #000 0%, transparent 70%); mask-composite: intersect; }
.estage { width: min(100%, 470px); margin: 3% auto 10%; aspect-ratio: 4 / 4.7; }
/* foto: katusekujuline ülaosa (viil) ja ümar alus */
.estage__photo { position: absolute; z-index: 1; inset: 0; border-radius: var(--r-lg); box-shadow: var(--sh-3); clip-path: polygon(0 12%, 50% 0, 100% 12%, 100% 100%, 0 100%); }
.estage__photo img { object-position: 47% 50%; }
.estage::before { content: ''; position: absolute; z-index: 0; inset: -14px -14px auto; height: 30%; background: rgba(var(--teal-rgb), .14); clip-path: polygon(0 40%, 50% 0, 100% 40%, 100% 46%, 50% 6%, 0 46%); }
.ecard { position: absolute; z-index: 3; left: -14%; bottom: -9%; width: min(330px, 74%); padding: 14px 16px 6px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px rgba(36, 27, 24, .06), var(--sh-3); }
.ecard__h { display: flex; align-items: center; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--line-2); }
.ecard__h b { display: block; font-size: 15px; font-weight: 850; letter-spacing: -.01em; }
.ecard__h small { display: block; font: 500 10.5px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
/* majanumber nagu sinine-valge majasilt, siin tellisevärvis */
.ecard__no, .flatno { display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 7px; border: 2px solid var(--teal); border-radius: 7px; background: var(--white); color: var(--teal); font: 800 15px/1 var(--font); font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 2px var(--white), inset 0 0 0 3px rgba(var(--teal-rgb), .25); }
.ecard li { display: flex; align-items: center; gap: 10px; padding: 9px 0; }
.ecard li + li { border-top: 1px solid var(--line-2); }
.ecard li b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.ecard li small { display: block; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.ecard li em, .enext em { flex: none; margin-left: auto; padding: 4px 9px; border-radius: 99px; background: var(--line-2); color: var(--ink-2); font-style: normal; font-size: 11.5px; font-weight: 850; white-space: nowrap; }
.ecard li em.is-soon { background: var(--mint); color: var(--teal-d); }
.ecard li em.is-late { background: var(--acc-t); color: var(--acc-d); }
.echip { right: -8%; top: 16%; }
.js .sxh__stage.is-in .ecard { animation: cardIn 1s var(--ease) .6s both; }
.js .sxh__stage.is-in::before { animation: fadeIn 1s var(--ease) .3s both; }

/* ---------------- enne ja nüüd ---------------- */
html.theme-estate .scope__col--off { border-color: #d9cbbd; }
html.theme-estate .scope__col--off li { border-color: #ebe1d6; }

/* ---------------- 01 hooldusgraafik ---------------- */
.eplan { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.eplan__houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.eplan__houses button { display: flex; align-items: center; gap: 12px; min-height: 62px; padding: 10px 14px 10px 10px; border: 1px solid transparent; border-radius: 16px; background: none; text-align: left; cursor: pointer; transition: background-color .2s, border-color .2s, box-shadow .2s; }
.eplan__houses button:hover { background: rgba(255, 255, 255, .6); }
.eplan__houses button b { display: block; font-size: 15px; font-weight: 850; letter-spacing: -.01em; color: var(--ink); }
.eplan__houses button small { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.eplan__mk { width: 36px; height: 36px; flex: none; filter: grayscale(1) opacity(.45); transition: filter .3s; }
.eplan__houses button[aria-checked="true"] { border-color: var(--teal); background: var(--white); box-shadow: var(--sh-1); }
.eplan__houses button[aria-checked="true"] .eplan__mk { filter: none; }
.eplan__body { margin-top: 10px; }
.eplan__house { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 10px; }
.eplan__house[hidden] { display: none; }
.eplan__house.is-in > * { animation: chipIn .45s var(--ease) both; }
.eplan__house.is-in > * + * { animation-delay: .08s; }
.ystrip { min-width: 0; padding: 8px 4px 4px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.ystrip__scroll { overflow-x: auto; padding: 0 10px 8px; scrollbar-width: thin; }
.ystrip__row { display: grid; grid-template-columns: minmax(150px, 1fr) repeat(12, minmax(30px, 40px)); align-items: center; min-width: 560px; }
.ystrip__row + .ystrip__row { border-top: 1px solid var(--line-2); }
.ystrip__row > span { padding: 9px 10px 9px 0; }
.ystrip__row > span b { display: block; font-size: 13.5px; font-weight: 800; line-height: 1.25; }
.ystrip__row > span small { display: block; font-size: 11.5px; font-weight: 650; color: var(--ink-3); }
.ystrip__row > i { position: relative; height: 100%; min-height: 44px; display: grid; place-items: center; font-style: normal; }
.ystrip__row > i.is-now { background: rgba(var(--teal-rgb), .07); }
.ystrip__row--head > span, .ystrip__row--head > i { min-height: 34px; padding: 6px 0; font: 600 10.5px/1.15 var(--mono); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.ystrip__row--head > span { text-align: left; }
.ystrip__row--head > i.is-now { border-radius: 10px 10px 0 0; color: var(--teal-d); font-weight: 700; }
.ystrip__row--head small { display: block; font-size: 9px; color: var(--ink-4); }
.ystrip__row:last-child > i.is-now { border-radius: 0 0 10px 10px; }
.ystrip .dot { width: 12px; height: 12px; border-radius: 4px; background: var(--teal); box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .14); }
.ystrip .dot--now { animation: beat 2.4s ease-in-out infinite; }
.enext { padding: 14px 16px 8px; border-radius: 18px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.enext__h { display: flex; justify-content: space-between; align-items: center; font: 500 11px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.enext__h span { min-width: 24px; height: 24px; display: grid; place-items: center; border-radius: 99px; background: var(--mint); color: var(--teal-d); font: 800 12px/1 var(--font); letter-spacing: 0; }
.enext ul { margin-top: 8px; }
.enext li { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.enext li + li { border-top: 1px solid var(--line-2); }
.enext time { width: 44px; flex: none; padding: 4px 0 5px; border-radius: 10px; background: var(--bg); text-align: center; font: 600 10px/1.1 var(--mono); text-transform: uppercase; color: var(--ink-3); }
.enext time b { display: block; font: 850 17px/1.1 var(--font); color: var(--ink); }
.enext li.is-late time { background: var(--acc-t); color: var(--acc-d); }
.enext li.is-late time b { color: var(--acc-d); }
.enext li > span { min-width: 0; }
.enext li > span b { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
.enext li > span small { display: block; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.enext li.is-late > span small { color: var(--acc-d); }
.enext__btn { flex: none; margin-left: auto; height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 12.5px; font-weight: 800; color: var(--ink); white-space: nowrap; cursor: pointer; transition: border-color .2s, background-color .2s; }
.enext__btn:hover { border-color: var(--teal); }
.enext__btn.is-set { border-color: transparent; background: #e6f3ea; color: var(--ok); cursor: default; }

/* ---------------- 02 näidud ja arved ---------------- */
.read__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.read__try { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px 10px 12px; border-radius: 12px; background: var(--mint); color: var(--ink); font-size: 14.5px; font-weight: 750; }
.read__try svg { width: 18px; height: 18px; flex: none; color: var(--teal); }
.read { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-3); }
.read__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-bottom: 12px; }
.read__head b { display: block; font-size: 16px; font-weight: 850; }
.read__head small { display: block; font-size: 12.5px; font-weight: 650; color: var(--ink-3); }
.read__head em { padding: 5px 11px; border-radius: 99px; background: var(--acc-t); color: var(--acc-d); font-style: normal; font-size: 12.5px; font-weight: 850; white-space: nowrap; transition: background-color .3s, color .3s; }
.read__head em.is-ok { background: #e6f3ea; color: var(--ok); }
.read__tr { display: grid; grid-template-columns: 1.15fr .9fr 1.05fr .95fr 1fr; align-items: center; gap: 8px; padding: 8px 6px; border-top: 1px solid var(--line-2); transition: background-color .3s; }
.read__tr--h { padding-top: 0; border-top: 0; font: 600 10.5px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.read__tr--h span:nth-child(n+2) { text-align: right; }
.read__tr > span { min-width: 0; }
.read__tr > span:first-child { display: flex; align-items: center; gap: 8px; }
.read__tr > span:first-child small { font-size: 11.5px; font-weight: 650; color: var(--ink-3); white-space: nowrap; }
.read__tr .flatno { min-width: 34px; height: 26px; border-width: 1.5px; font-size: 13.5px; box-shadow: none; }
.read__tr .num, .read__tr > span:nth-child(3) { text-align: right; }
.num { font: 600 13.5px/1.2 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
.read__sum { font-weight: 700; }
.read__tr.is-missing { background: linear-gradient(90deg, var(--acc-t), transparent 85%); border-radius: 10px; }
.read__tr.is-missing [data-use], .read__tr.is-missing [data-sum] { color: var(--ink-4); }
.read__in { width: 100%; max-width: 92px; height: 34px; padding: 0 9px; border: 1.5px solid var(--acc); border-radius: 9px; background: var(--white); font: 600 13.5px/1 var(--mono); text-align: right; color: var(--ink); }
.read__in::placeholder { color: var(--ink-4); }
.read__in:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--teal-rgb), .2); }
.read__tr:not(.is-missing) .read__in { border-color: var(--ok); }
.read__tr.is-bad .read__in { border-color: #c2412d; }
.read__warn { margin-top: 8px; padding: 9px 12px; border-radius: 10px; background: #fdecea; color: #a12d1f; font-size: 13px; font-weight: 750; }
.read__split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.read__split p { padding: 9px 11px; border-radius: 12px; background: var(--bg); }
.read__split small { display: block; font-size: 11.5px; font-weight: 700; line-height: 1.3; color: var(--ink-3); }
.read__split b { display: block; margin-top: 3px; font: 700 14px/1.2 var(--mono); }
.read__go { width: 100%; margin-top: 12px; }
.read__go[disabled] { opacity: .5; cursor: default; box-shadow: none; }
.read__out { margin-top: 12px; padding: 14px; border-radius: 16px; background: var(--ink); color: #fff; animation: chipIn .45s var(--ease) both; }
.read__outh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.read__outh b { font-size: 15px; font-weight: 850; }
.read__outh span { font-size: 12.5px; font-weight: 650; color: rgba(255, 255, 255, .62); }
.read__out ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-top: 8px; }
.read__out li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, .1); animation: chipIn .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
.read__out .doc { width: 34px; height: 30px; border-radius: 6px; background: rgba(var(--hi-rgb), .2); color: var(--teal-hi); font-size: 8.5px; }
.read__out li b { display: block; font-size: 13.5px; font-weight: 800; }
.read__out li small { display: block; font-size: 11.5px; font-weight: 650; color: rgba(255, 255, 255, .55); }
.read__out li em { margin-left: auto; font: 700 13px/1 var(--mono); font-style: normal; white-space: nowrap; }
.read__total { margin-top: 8px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .18); text-align: right; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .75); }
.read__total b { margin-left: 6px; font: 700 17px/1 var(--mono); color: #fff; }
.read__out .again { color: rgba(255, 255, 255, .7); }
.read__out .again:hover { color: #fff; }

/* ---------------- 03 elanikud: pöördumise teekond ja protokoll ---------------- */
.ticket { padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.ticket__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ticket__steps li { position: relative; }
.ticket__steps button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 12px 6px 8px; border: 1px solid transparent; border-radius: 14px; background: none; text-align: left; font-size: 14px; font-weight: 800; color: var(--ink-2); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ticket__steps button:hover { background: rgba(255, 255, 255, .6); }
.ticket__steps i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: var(--white); font: 800 13px/1 var(--font); font-style: normal; color: var(--ink-3); transition: background-color .25s, border-color .25s, color .25s; }
.ticket__steps li.is-done i { border-color: var(--ok); background: var(--ok); color: #fff; }
.ticket__steps button[aria-selected="true"] { border-color: var(--teal); background: var(--white); color: var(--ink); box-shadow: var(--sh-1); }
.ticket__steps button[aria-selected="true"] i { border-color: var(--teal); background: var(--teal); color: #fff; }
.ticket__grid { display: grid; grid-template-columns: 262px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin-top: 12px; padding: clamp(14px, 3vw, 32px); border-radius: 20px; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.ticket__phone { justify-self: center; }
.tp { position: absolute; z-index: 2; inset: .55em; display: flex; flex-direction: column; padding: 3.4em 1em 1em; border-radius: 2.3em; }
.tp__h small { display: block; font: 600 .62em/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tp__h b { display: block; margin-top: .2em; font-size: 1.04em; font-weight: 900; letter-spacing: -.01em; line-height: 1.2; }
.tp__h span { display: block; margin-top: .2em; font-size: .74em; font-weight: 650; color: var(--ink-3); }
/* foto pöördumise juures: trepikoja lagi ja kustunud valgusti (joonistatud) */
.tp__photo { position: relative; height: 6.4em; margin-top: .8em; overflow: hidden; border-radius: .8em; background: linear-gradient(180deg, #d9d2c8 0 30%, #ece6dd 30% 100%); }
.tp__photo i:nth-child(1) { position: absolute; left: 50%; top: 30%; width: 3.6em; height: 1.1em; margin-left: -1.8em; border-radius: 0 0 1.8em 1.8em; background: #8d847a; transition: background-color .5s, box-shadow .5s; }
.tp__photo i:nth-child(2) { position: absolute; left: 50%; top: 0; width: 2px; height: 30%; background: #8d847a; }
.tp__photo i:nth-child(3) { position: absolute; left: 12%; right: 12%; bottom: 0; height: 2.2em; background: repeating-linear-gradient(180deg, #c9bfb3 0 .55em, #ddd5ca .55em 1.1em); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.tp[data-step="2"] .tp__photo i:nth-child(1), .tp[data-step="3"] .tp__photo i:nth-child(1) { background: #ffd66b; box-shadow: 0 .4em 2.6em 1.2em rgba(255, 214, 107, .65); }
.tp__st { margin-top: .8em; }
.tp__st em { display: inline-block; padding: .35em .8em; border-radius: 99px; background: var(--mint); color: var(--teal-d); font-style: normal; font-size: .76em; font-weight: 850; }
.tp[data-step="2"] .tp__st em, .tp[data-step="3"] .tp__st em { background: #e6f3ea; color: var(--ok); }
.tp__log { margin-top: .7em; }
.tp__log li { position: relative; padding: .45em 0 .45em 1.2em; font-size: .72em; font-weight: 650; line-height: 1.35; color: var(--ink-2); opacity: .25; transition: opacity .4s; }
.tp__log li::before { content: ''; position: absolute; left: .15em; top: .85em; width: .55em; height: .55em; border-radius: 50%; background: var(--teal); }
.tp__log li + li { border-top: 1px dashed var(--line); }
.tp__log b { font-weight: 850; color: var(--ink); }
.tp[data-step="0"] [data-at="0"], .tp[data-step="1"] [data-at="0"], .tp[data-step="1"] [data-at="1"],
.tp[data-step="2"] [data-at="0"], .tp[data-step="2"] [data-at="1"], .tp[data-step="2"] [data-at="2"], .tp[data-step="3"] li { opacity: 1; }
.ticket__side { display: grid; gap: 14px; }
.ticket__panel.is-in > * { animation: chipIn .4s var(--ease) both; }
.ticket__k { font: 500 11.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal-d); }
.ticket__t { margin-top: 8px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 850; letter-spacing: -.028em; line-height: 1.12; }
.ticket__d { margin-top: 10px; max-width: 34em; font-size: 16px; font-weight: 550; line-height: 1.55; color: var(--ink-2); }
.ticket__next { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--white); font-size: 14.5px; font-weight: 850; color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s; }
.ticket__next:hover { background: var(--ink); color: #fff; }
.ticket__next svg { width: 16px; height: 16px; }
.proto { padding: 14px 16px; border-radius: 16px; background: var(--bg); }
.proto__h { display: flex; align-items: center; gap: 11px; }
.proto__h .doc { width: 32px; height: 38px; border-radius: 6px; font-size: 9.5px; }
.proto__h b { display: block; font-size: 14.5px; font-weight: 850; }
.proto__h small { display: block; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.proto__bar { height: 8px; margin-top: 12px; overflow: hidden; border-radius: 99px; background: var(--line); }
.proto__bar i { display: block; width: var(--v); height: 100%; border-radius: inherit; background: var(--ok); transition: width .2s; }
.proto__n { margin-top: 7px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.proto__n b { font-variant-numeric: tabular-nums; color: var(--ink); }
.proto__btn { margin-top: 10px; height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font-size: 13px; font-weight: 800; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.proto__btn:hover { border-color: var(--teal); }
.proto__btn.is-set { border-color: transparent; background: #e6f3ea; color: var(--ok); cursor: default; }

/* ---------------- kohandumine ---------------- */
@media (max-width: 1180px) {
  .eplan__house { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1060px) {
  .read__grid { grid-template-columns: minmax(0, 1fr); }
  .estage { width: min(100%, 430px); }
}
@media (max-width: 860px) {
  .eplan__houses { grid-template-columns: minmax(0, 1fr); }
  .ticket__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ticket__grid { grid-template-columns: minmax(0, 1fr); }
  .ticket__phone { width: min(100%, 240px); }
}
@media (max-width: 640px) {
  .estage { width: 84%; margin: 4% auto 46%; }
  .ecard { left: 2%; bottom: -40%; width: 96%; }
  .echip { display: none; }
  .read, .eplan, .ticket { padding: 10px; }
  .read { padding: 14px 12px; }
  .read__tr { grid-template-columns: 1fr .9fr 1fr; gap: 6px 8px; }
  .read__tr > span:nth-child(2), .read__tr--h > span:nth-child(2) { display: none; }
  .read__tr > span:nth-child(4), .read__tr--h > span:nth-child(4) { display: none; }
  .read__tr > span:first-child small { display: none; }
  .read__split { grid-template-columns: minmax(0, 1fr); }
  .read__out ul { grid-template-columns: minmax(0, 1fr); }
  .enext__btn { padding: 0 9px; font-size: 12px; }
  .ticket__steps button { font-size: 13px; padding: 6px 8px 6px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ystrip .dot--now { animation: none; }
}
