/* Matice. – Zákaznický portál (.pt-…) a tablet mechanika (.mt-… moje práce, .mp-… prohlídka).
 * Vzhled jako přehled dne (návrh B „Ráno v dílně“): grafitové sklo, jantar, výstražné pruhy u toho, co stojí.
 */

/* ================================================================ portál: Moje auta (jedna obrazovka) */
.pt-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) clamp(380px, 30vw, 480px); grid-template-areas: 'hero hero car' 'rest side chat'; gap: 20px 22px; margin-top: -4px; max-width: 1760px; }
.pt-home > .pt-car, .pt-home > .pt-van { grid-area: car; }
.pt-home > .pt-side { grid-area: side; }
.pt-home > .pt-chat { grid-area: chat; }
.pt-rest { grid-area: rest; display: grid; gap: 20px; min-width: 0; }
.pt-rest:empty { display: none; }

.pt-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mu); }
.pt-eyebrow::before { content: ''; width: 26px; height: 7px; border-radius: 1.5px; background: var(--hazard); opacity: 0.9; flex: none; }
.pt-hero { grid-area: hero; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 4px 0 0 6px; }
.pt-hero h1 { margin: 14px 0 16px; font-family: var(--display); font-size: clamp(46px, 4.6vw, 80px); line-height: 0.97; font-weight: 400; letter-spacing: -0.045em; text-shadow: 0 2px 30px rgba(20, 10, 0, 0.45); }
.pt-hero h1 em, .mt-head h1 em { font-style: normal; font-weight: 600; color: var(--amber); }
.pt-hero > p { margin: 0; max-width: 36em; font-size: 17px; line-height: 1.5; color: var(--mu); text-shadow: 0 1px 12px rgba(20, 10, 0, 0.6); }
.pt-hero > p b { color: var(--ink); font-weight: 600; background: linear-gradient(transparent 64%, rgba(255, 138, 31, 0.45) 64%, rgba(255, 138, 31, 0.45) 92%, transparent 92%); }
.pt-quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 24px; }
.pt-quick .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }
.pt-stats { margin-top: auto; display: flex; padding: 13px 6px; border-radius: 20px; max-width: 100%; }
.pt-stats .stat { padding: 0 22px; min-width: 0; }
.pt-stats .stat + .stat { border-left: 1px solid var(--line); }
.pt-stats small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mu2); white-space: nowrap; }
.pt-stats b { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* velká karta auta v servisu */
.pt-car { padding: 12px 12px 16px; display: flex; flex-direction: column; min-width: 0; }
.pt-car-photo { position: relative; height: 150px; border-radius: 18px; overflow: hidden; background: #2a2622 center 45% / cover no-repeat; flex: none; }
.pt-car-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 20, 10, 0) 40%, rgba(30, 20, 10, 0.55)); }
.pt-car-photo.none { height: 76px; background: linear-gradient(160deg, rgba(255, 220, 170, 0.16), rgba(255, 220, 170, 0.04)); }
.pt-car-photo.none::after { display: none; }
.pt-pill { position: absolute; left: 10px; top: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 20px); padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff8ee; background: rgba(28, 22, 17, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.22); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-pill svg.i { width: 14px; height: 14px; }
.pt-car-photo .plate { position: absolute; left: 10px; bottom: 10px; z-index: 1; }
.pt-car-b { padding: 14px 8px 0; display: flex; flex-direction: column; min-width: 0; }
.pt-car-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pt-car-h > div:first-child { min-width: 0; }
.pt-car-h h2 { margin: 0; font-family: var(--display); font-size: 24px; font-weight: 550; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-car-h .sub { margin: 3px 0 0; font-size: 13px; color: var(--mu2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-pct { flex: none; max-width: 42%; text-align: right; }
.pt-pct b { display: block; font-family: var(--display); font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.pt-pct small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--amber-hi); }

/* průběh opravy: Přijato → … → Předáno */
.pt-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.pt-steps li { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pt-steps i { height: 9px; border-radius: 2px; background: rgba(255, 240, 220, 0.13); }
.pt-steps .done i { background: linear-gradient(180deg, var(--amber-hi), var(--amber)); box-shadow: 0 0 10px -3px rgba(255, 170, 60, 0.8); }
.pt-steps .cur i { background: rgba(255, 179, 64, 0.5); animation: segwork 1.6s ease-in-out infinite alternate; }
.pt-steps .cur.stop i { background: var(--hazard); animation: none; }
.pt-steps .cur.ok i { background: var(--ok); animation: none; }
.pt-steps span { font-size: 11.5px; color: var(--mu2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-steps .done span { color: var(--mu); }
.pt-steps .cur span { color: var(--ink); font-weight: 600; }

.pt-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13.5px; color: var(--mu); }
.pt-meta span { display: inline-flex; align-items: center; gap: 7px; }
.pt-meta svg.i { width: 16px; height: 16px; color: var(--amber); }
.pt-meta i { font-style: normal; color: var(--mu2); }

/* velké tlačítko výzvy (souhlas, platba, objednat) */
.pt-cta { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; margin-top: 16px; padding: 9px 16px 9px 9px; border-radius: 18px; text-align: left; text-decoration: none; color: var(--amber-ink); background: linear-gradient(160deg, var(--amber-hi), var(--amber) 55%, var(--amber-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 30px -14px rgba(255, 140, 30, 0.9); transition: transform 0.15s, filter 0.15s; }
.pt-cta:hover { filter: brightness(1.05); }
.pt-cta:active { transform: scale(0.99); }
.pt-cta .ic { width: 42px; height: 42px; border-radius: 13px; color: var(--amber-ink); background: rgba(255, 250, 240, 0.45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.pt-cta .ic svg { width: 20px; height: 20px; stroke-width: 2.2; }
.pt-cta .t { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.pt-cta b { font-size: 16.5px; font-weight: 700; }
.pt-cta small { font-size: 14px; font-weight: 600; opacity: 0.8; }
.pt-cta > svg.i { width: 20px; height: 20px; stroke-width: 2.2; }
.pt-cta.soft { color: var(--ink); background: rgba(255, 240, 220, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.14); }
.pt-cta.soft .ic { color: var(--ok); background: var(--ok-bg); box-shadow: none; }
.pt-cta.soft small { opacity: 1; color: var(--mu); }
.pt-cta:disabled { cursor: default; filter: saturate(0.3); opacity: 0.6; transform: none; }
.pt-cta.busy { opacity: 0.6; pointer-events: none; }
.pt-post { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; font-size: 12.5px; color: var(--mu2); }
.pt-post svg.i { width: 15px; height: 15px; margin-top: 1px; }

/* auto mimo servis (STK, servis) */
.pt-van { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pt-van-h { display: flex; align-items: center; gap: 12px; }
.pt-van-h .t { flex: 1; min-width: 0; }
.pt-van-h b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-van-h small { display: block; font-size: 12.5px; color: var(--mu2); }
.pt-stk { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(8, 6, 4, 0.28); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); }
.pt-stk small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mu2); }
.pt-stk b { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.pt-stk.soon { background: rgba(255, 179, 64, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 179, 64, 0.45); }
.pt-note { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mu); }
.pt-van .wbtn { flex: none; height: 50px; margin-top: auto; }
.pt-booked { display: flex; gap: 10px; align-items: flex-start; margin-top: auto; padding: 12px 14px; border-radius: 14px; background: var(--ok-bg); }
.pt-booked svg.i { color: var(--ok); margin-top: 1px; }
.pt-booked b { display: block; font-size: 14px; }
.pt-booked small { display: block; font-size: 12.5px; color: var(--mu); }

/* pneu + faktury, zprávy */
.pt-side, .pt-chat { padding: 18px 20px; min-width: 0; display: flex; flex-direction: column; }
.pt-sh { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pt-sh > div { min-width: 0; }
.pt-sh h2 { margin: 0; font-family: var(--display); font-size: 19px; font-weight: 550; letter-spacing: -0.02em; }
.pt-sh .sub { margin: 3px 0 0; font-size: 13px; color: var(--mu2); }
.pt-sh .link { flex: none; margin-top: 3px; }
.pt-side .pt-mini { margin-top: 6px; }
.pt-side .pt-mini + .pt-sh, .pt-side .empty + .pt-sh { margin-top: 14px; }
.pt-mini > li { padding: 8px 4px; gap: 11px; }
.pt-mini .ic { width: 34px; height: 34px; border-radius: 11px; }
.pt-mini b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-mini small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-mini .dot { margin-right: 4px; }
.pt-chat .chat { margin: 12px 0 10px; max-height: 250px; }
.pt-thread .msg.out .bub { border-bottom-right-radius: 4px; }
.pt-thread .msg.them .bub { border-bottom-left-radius: 4px; }
.pt-qr { margin-bottom: 10px; }
.pt-qr button.busy { opacity: 0.5; pointer-events: none; }
.pt-chat .wbtn { flex: none; margin-top: 10px; }

/* nižší okna na počítači: ať se Moje auta vejdou na jednu obrazovku */
@media (max-height: 960px) and (min-width: 1101px) {
  .pt-car-photo { height: 120px; }
  .pt-steps { margin-top: 14px; }
  .pt-cta { min-height: 56px; }
  .pt-invmini li:nth-child(3) { display: none; }
  .pt-mini > li { padding: 6px 4px; }
  .pt-chat .chat { max-height: 140px; margin-top: 10px; }
  .pt-quick { margin: 20px 0; }
}
@media (max-height: 800px) and (min-width: 1101px) {
  .pt-hero h1 { font-size: clamp(42px, 4.2vw, 60px); margin: 10px 0 12px; }
  .pt-hero > p { font-size: 15.5px; }
  .pt-car-photo { height: 96px; }
  .pt-chat .chat { max-height: 120px; }
  .pt-side, .pt-chat, .pt-van { padding: 14px 16px; }
}
@media (min-height: 1000px) and (min-width: 1101px) {
  .pt-hero { padding-top: 14px; }
  .pt-hero h1 { margin: 18px 0 20px; }
  .pt-hero > p { font-size: 18px; }
  .pt-car-photo { height: 190px; }
  .pt-stats b { font-size: 27px; }
}
@media (max-width: 1360px) and (min-width: 1101px) {
  .pt-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 380px; gap: 18px; }
  .pt-stats .stat { padding: 0 16px; }
}
@media (max-width: 1100px) {
  .pt-home { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'hero hero' 'car car' 'chat chat' 'rest side'; gap: 14px; }
  .pt-hero { padding: 12px 4px 6px; }
  .pt-quick { margin-bottom: 0; }
  .pt-stats { margin-top: 24px; }
  .pt-car-photo { height: 170px; }
}
@media (max-width: 640px) {
  .pt-home { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'hero' 'car' 'chat' 'rest' 'side'; }
  .pt-hero h1 { font-size: 44px; }
  .pt-hero > p { font-size: 15.5px; }
  .pt-quick .btn { flex: 1 1 auto; }
  .pt-stats { width: 100%; padding: 12px 4px; }
  .pt-stats .stat { flex: 1 1 0; padding: 0 10px; }
  .pt-stats small { letter-spacing: 0.08em; font-size: 10px; }
  .pt-stats b { font-size: 19px; }
  .pt-car-photo { height: 130px; }
  .pt-car-h h2 { font-size: 21px; }
  .pt-pct b { font-size: 26px; }
  .pt-steps span { font-size: 10px; letter-spacing: -0.01em; }
  .pt-cta b { font-size: 15.5px; }
  .pt-cta small { font-size: 13px; }
  .pt-van, .pt-side, .pt-chat { padding: 16px; }
}

/* ================================================================ portál: Schválení opravy */
.pt-appr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 18px; align-items: start; }
.pt-finds { display: grid; gap: 14px; min-width: 0; border-radius: var(--r); }
.pt-find { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); border-radius: var(--r); overflow: hidden; }
.pt-find.glass { background: var(--glass-strong); }
.pt-find .pic { position: relative; min-height: 250px; background: #3a2c20 center / cover no-repeat; }
.pt-find .pic.none { display: grid; place-items: center; color: var(--mu3); background: linear-gradient(160deg, rgba(255, 220, 170, 0.13), rgba(255, 220, 170, 0.03)); }
.pt-find .pic.none > svg.i { width: 56px; height: 56px; stroke-width: 1.2; }
/* nález bez fotky: úzký pruh s ikonou místo prázdné plochy */
.pt-find.nophoto { grid-template-columns: 150px minmax(0, 1fr); }
.pt-find.nophoto .pic { min-height: 0; }
.pt-find.nophoto .pic.none > svg.i { width: 40px; height: 40px; }
.pt-find.nophoto .pt-sev { left: 50%; transform: translateX(-50%); white-space: nowrap; }
.pt-sev { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #fff8ee; background: rgba(20, 16, 12, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.2); }
.pt-find .b { padding: 18px 20px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.pt-find .area { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mu2); }
.pt-find h3 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 550; line-height: 1.2; letter-spacing: -0.02em; }
.pt-find .meas { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 5px 10px; border-radius: 9px; font: 600 12.5px/1.35 var(--mono); color: var(--amber-hi); background: rgba(8, 6, 4, 0.38); }
.pt-find .meas svg.i { width: 15px; height: 15px; }
.pt-find .note { margin: 2px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.pt-find .who { margin-top: -4px; font-size: 12px; color: var(--mu2); }
.pt-find .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; padding-top: 4px; }
.pt-find .price b { font-family: var(--display); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.pt-find .price small { font-size: 12.5px; color: var(--mu2); }
.pt-dec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; margin-top: 6px; }
.pt-dec button { min-height: 56px; padding: 0 12px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15.5px; font-weight: 650; line-height: 1.2; text-align: center; transition: transform 0.15s, filter 0.15s, background 0.15s; }
.pt-dec button:active { transform: scale(0.98); }
.pt-dec button.busy { opacity: 0.55; pointer-events: none; }
.pt-yes { color: var(--amber-ink); background: linear-gradient(160deg, var(--amber-hi), var(--amber) 55%, var(--amber-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 24px -12px rgba(255, 140, 30, 0.9); }
.pt-yes:hover { filter: brightness(1.05); }
.pt-yes svg.i { width: 20px; height: 20px; stroke-width: 2.4; }
.pt-no { color: var(--ink); background: rgba(255, 240, 220, 0.12); box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.14), inset 0 0 0 1px rgba(255, 240, 220, 0.14); }
.pt-no:hover { background: rgba(255, 240, 220, 0.2); }
.pt-res { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; color: var(--mu); }
.pt-res svg.i { width: 20px; height: 20px; flex: none; }
.pt-res b { color: var(--ink); font-weight: 600; }
.pt-res.ok { background: var(--ok-bg); }
.pt-res.ok svg.i { color: var(--ok); }
.pt-res.later { background: rgba(255, 240, 220, 0.08); }
.pt-find.dec.odlozeno .pic { filter: grayscale(0.6) brightness(0.7); }
.pt-okbox { padding: 0 18px; border-radius: var(--r); }
.pt-okbox.glass { background: var(--glass-strong); }
.pt-okbox summary { display: flex; align-items: center; gap: 10px; min-height: 56px; cursor: pointer; list-style: none; font-size: 14px; color: var(--mu); }
.pt-okbox summary::-webkit-details-marker { display: none; }
.pt-okbox summary > span:not(.sem) { flex: 1; min-width: 0; }
.pt-okbox summary b { color: var(--ink); font-weight: 600; }
.pt-okbox summary > svg.i { color: var(--mu2); transform: rotate(90deg); transition: transform 0.2s; }
.pt-okbox[open] summary > svg.i { transform: rotate(-90deg); }
.pt-okbox .list { padding-bottom: 6px; border-top: 1px solid var(--line); }
.pt-okbox .ic { width: 32px; height: 32px; border-radius: 10px; }
.pt-thanks { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); }
.pt-thanks.glass { background: linear-gradient(120deg, rgba(150, 220, 120, 0.18), rgba(22, 19, 16, 0.72) 60%); }
.pt-thanks > .ic { width: 48px; height: 48px; border-radius: 15px; }
.pt-thanks > .ic svg { width: 22px; height: 22px; stroke-width: 2.4; }
.pt-thanks > div { flex: 1; min-width: 0; }
.pt-thanks h2 { margin: 0; font-family: var(--display); font-size: 22px; font-weight: 550; letter-spacing: -0.02em; }
.pt-thanks p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--mu); }
.pt-thanks .btn { flex: none; }

.pt-sum h2, .pt-bsum h2 { margin: 0; }
.pt-sum h3 { margin: 0 0 10px; }
.pt-rows { display: grid; gap: 9px; margin: 14px 0 0; }
.pt-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.pt-rows dt { min-width: 0; color: var(--mu); }
.pt-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.pt-rows .ok dd { color: var(--ok); }
.pt-rows .w dd { color: var(--warn); }
.pt-rows .m dd { color: var(--mu2); }
.pt-rows .tot { margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--line); }
.pt-rows .tot dt { color: var(--ink); font-weight: 600; }
.pt-rows .tot dd { font-family: var(--display); font-size: 22px; font-weight: 550; letter-spacing: -0.02em; }
.pt-est { margin: 10px 0 0; font-size: 13px; color: var(--mu2); }
.pt-est b { color: var(--ink); }
.pt-law { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; color: var(--mu); background: rgba(8, 6, 4, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); }
.pt-law svg.i { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--ok); }
.pt-when { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 14px; font-weight: 600; }
.pt-when svg.i { color: var(--amber); }
.pt-sum .chat { max-height: 230px; margin-bottom: 10px; }

@media (max-width: 1100px) {
  .pt-appr { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pt-find, .pt-find.nophoto { grid-template-columns: minmax(0, 1fr); }
  .pt-find .pic { min-height: 190px; }
  .pt-find.nophoto .pic { min-height: 56px; }
  .pt-find.nophoto .pic.none { place-items: center end; padding-right: 16px; }
  .pt-find.nophoto .pic.none > svg.i { width: 28px; height: 28px; }
  .pt-find.nophoto .pt-sev { left: 14px; top: 14px; transform: none; }
}
@media (max-width: 640px) {
  .pt-find .b { padding: 16px; }
  .pt-find h3 { font-size: 20px; }
  .pt-dec button { font-size: 15px; }
  .pt-thanks { flex-wrap: wrap; padding: 16px; }
  .pt-thanks .btn { width: 100%; }
}

/* ================================================================ portál: Objednat termín */
.pt-book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 18px; align-items: start; }
/* sloupec .stack má jinak sloupec „auto“ a vodorovně posouvaný řádek dnů by ho roztáhl přes okno */
.pt-book > .stack, .pt-page .grid > .stack, .mp-side { grid-template-columns: minmax(0, 1fr); }
.pt-vehs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pt-opt { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 64px; padding: 10px 14px; border-radius: 16px; text-align: left; background: rgba(255, 240, 220, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.1); transition: background 0.15s, box-shadow 0.15s; }
.pt-opt:hover { background: rgba(255, 240, 220, 0.12); }
.pt-opt.on { background: rgba(255, 179, 64, 0.13); box-shadow: inset 0 0 0 2px var(--amber); }
.pt-opt .t { flex: 1; min-width: 0; }
.pt-opt b { display: block; font-size: 14.5px; font-weight: 600; }
.pt-opt small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mu2); }
.pt-opt.on .ic { color: var(--amber-ink); background: linear-gradient(160deg, var(--amber-hi), var(--amber)); }
.pt-opt .ck { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--amber-ink); background: var(--amber); opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.25s; }
.pt-opt.on .ck { opacity: 1; transform: none; }
.pt-opt .ck svg.i { width: 14px; height: 14px; stroke-width: 2.8; }
.pt-svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pt-svc { align-items: flex-start; min-height: 74px; }
.pt-svc .ic { width: 34px; height: 34px; border-radius: 11px; }
.pt-svc b { font-size: 13.5px; line-height: 1.3; }
.pt-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pt-day { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; min-height: 72px; padding: 6px 4px; border-radius: 15px; background: rgba(255, 240, 220, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.1); transition: background 0.15s; }
.pt-day:hover:not(:disabled) { background: rgba(255, 240, 220, 0.14); }
.pt-day small { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mu2); }
.pt-day b { font-size: 16px; font-weight: 650; white-space: nowrap; }
.pt-day i { max-width: 100%; font-style: normal; font-size: 11px; color: var(--mu2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-day.on { color: var(--amber-ink); background: linear-gradient(160deg, var(--amber-hi), var(--amber)); box-shadow: 0 8px 18px -10px rgba(255, 140, 30, 0.9); }
.pt-day.on small, .pt-day.on i { color: rgba(39, 20, 1, 0.72); }
.pt-day:disabled { opacity: 0.45; cursor: default; }
.pt-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 14px; }
.pt-times button { height: 46px; border-radius: 13px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; background: rgba(255, 240, 220, 0.11); box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.12); transition: background 0.15s; }
.pt-times button:hover { background: rgba(255, 240, 220, 0.2); }
.pt-times button.on { color: var(--amber-ink); background: linear-gradient(160deg, var(--amber-hi), var(--amber)); }
.pt-slot .empty { padding: 20px 10px; }
.pt-notefld { margin-top: 16px; }
.pt-notefld textarea { min-height: 66px; }
.pt-bsum .pt-rows dd { white-space: normal; }
.pt-bsum .pt-rows dt { flex: none; }
.pt-tyrehint { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; color: var(--mu); background: rgba(8, 6, 4, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); }
.pt-tyrehint svg.i { width: 18px; height: 18px; flex: none; color: var(--amber); }
.pt-tyrehint.ok { color: var(--ink); background: rgba(150, 220, 120, 0.12); box-shadow: inset 0 0 0 1px rgba(169, 224, 143, 0.35); }
.pt-tyrehint.ok svg.i { color: var(--ok); }
.pt-smsnote { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--mu); }
.pt-smsnote svg.i { width: 18px; height: 18px; flex: none; color: var(--amber); }
.pt-smsnote b { color: var(--ink); }
.pt-fine { margin: 10px 0 0; font-size: 12px; line-height: 1.5; }
.pt-done { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pt-bigok { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #10230a; background: linear-gradient(160deg, #c8f0b4, var(--ok)); box-shadow: 0 14px 30px -14px rgba(120, 200, 90, 0.8); }
.pt-bigok svg.i { width: 30px; height: 30px; stroke-width: 2.4; }
.pt-donewhen { font-family: var(--display); font-size: clamp(30px, 3vw, 42px); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.pt-donewhat { margin: 0; font-size: 15px; line-height: 1.5; color: var(--mu); }
.pt-donewhat b { color: var(--ink); }
.pt-done .pt-tyrehint { margin: 0; }
.pt-sms { width: 100%; max-width: 540px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255, 240, 220, 0.1); }
.pt-sms small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--mu2); }
.pt-sms small svg.i { width: 14px; height: 14px; }
.pt-sms p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; }
.pt-inplan { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pt-inplan p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--mu); }
.pt-inplan p b { color: var(--ink); }
.pt-inplan small { font-size: 12px; }

@media (max-width: 900px) {
  .pt-book { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pt-vehs { grid-template-columns: minmax(0, 1fr); }
  .pt-svcs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-svc { padding: 10px 12px; }
  .pt-svc .ic { display: none; }
  .pt-days { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 76px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .pt-days::-webkit-scrollbar { display: none; }
  .pt-times { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ================================================================ portál: Moje pneumatiky */
.pt-sets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 18px; align-items: start; }
.pt-set-h { display: flex; align-items: center; gap: 12px; }
.pt-set-h .t { flex: 1; min-width: 0; }
.pt-set-h b { display: block; font-size: 15.5px; font-weight: 600; }
.pt-set-h small { display: block; font-size: 12.5px; color: var(--mu2); }
.pt-pos { flex: none; padding: 6px 12px 7px; border-radius: 12px; text-align: center; color: #141210; background: var(--cream); box-shadow: inset 0 -2px 0 rgba(60, 30, 5, 0.15), 0 8px 18px -10px rgba(0, 0, 0, 0.8); }
.pt-pos small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #6b5a48; }
.pt-pos b { display: block; font: 700 20px/1.1 var(--mono); letter-spacing: 0.02em; }
.pt-treadbox { margin: 16px 0 0; padding: 14px 14px 10px; border-radius: 16px; background: rgba(8, 6, 4, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); }
.pt-tread { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pt-tw { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.pt-tw b { font-family: var(--display); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pt-tw .bx { position: relative; width: 100%; max-width: 54px; height: 96px; border-radius: 11px; overflow: hidden; background: repeating-linear-gradient(0deg, rgba(255, 240, 220, 0.05) 0 6px, rgba(255, 240, 220, 0.1) 6px 12px); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.1); }
.pt-tw .fill { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); background: linear-gradient(180deg, #c8f0b4, #7fc464); }
.pt-tw.warn .fill { background: linear-gradient(180deg, var(--amber-hi), var(--amber)); }
.pt-tw.bad .fill { background: linear-gradient(180deg, #ffc2b3, #ff8a6c); }
.pt-tw .lim { position: absolute; left: 0; right: 0; bottom: var(--l); height: 2px; background: #fffaf2; box-shadow: 0 0 6px rgba(255, 255, 255, 0.8); }
.pt-tw small { font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--mu2); }
.pt-treadlegend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; margin-top: 8px; font-size: 11.5px; color: var(--mu2); }
.pt-treadlegend .ln { display: inline-block; width: 14px; height: 2px; margin-right: 6px; vertical-align: middle; background: #fffaf2; }
.pt-verdict { display: flex; gap: 9px; align-items: flex-start; margin: 12px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--mu); }
.pt-verdict svg.i { width: 17px; height: 17px; flex: none; margin-top: 1px; }
.pt-verdict.ok svg.i { color: var(--ok); }
.pt-verdict.warn svg.i { color: var(--amber); }
.pt-verdict.bad svg.i { color: var(--bad); }
dl.pt-kv { margin-top: 14px; }
.pt-setacts { margin-top: 16px; }
.pt-hotelpic { height: 110px; margin: -6px -8px 14px; border-radius: 16px; background: #2a2622 url('../foto/pneusklad.webp') center / cover no-repeat; }
.pt-bul { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; color: var(--mu); }
.pt-bul li + li { margin-top: 6px; }

/* ================================================================ portál: Faktury a platby */
.pt-pay { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; }
.pt-pay.ready { grid-template-columns: minmax(0, 1fr); }
.pt-payb { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pt-payh { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; }
.pt-payh small { display: block; font-size: 12.5px; color: var(--mu2); }
.pt-payh b { display: block; font-size: 34px; font-weight: 500; line-height: 1.1; }
.mono { font-family: var(--mono); }
.pt-lines { list-style: none; display: grid; gap: 6px; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--line); font-size: 13px; }
.pt-lines li { display: flex; justify-content: space-between; gap: 12px; color: var(--mu); }
.pt-lines b { flex: none; color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-paytxt { margin: 0; font-size: 13.5px; line-height: 1.5; }
.pt-qrbox { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pt-qrbox figcaption { font-size: 12px; font-weight: 600; line-height: 1.4; }
.pt-qrbox figcaption span { font-weight: 400; }
.pt-invs > li { gap: 11px; }
.pt-invs .t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-invs .r small { font-weight: 400; }
@media (max-width: 640px) {
  .pt-pay { grid-template-columns: minmax(0, 1fr); }
  .pt-payh b { font-size: 30px; }
  .pt-invs .ic, .pt-m-hide { display: none; }
}

/* ================================================================ mechanik: Moje práce (tablet) */
.mt-home { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); grid-template-areas: 'head head' 'cur list'; gap: 18px 22px; align-items: start; max-width: 1640px; margin-top: -4px; }
.mt-head { grid-area: head; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; min-width: 0; padding: 4px 0 0 6px; }
.mt-head h1 { margin: 12px 0 8px; font-family: var(--display); font-size: clamp(36px, 3.6vw, 58px); line-height: 1; font-weight: 400; letter-spacing: -0.04em; text-shadow: 0 2px 30px rgba(20, 10, 0, 0.45); }
.mt-head p { margin: 0; font-size: 16px; color: var(--mu); text-shadow: 0 1px 12px rgba(20, 10, 0, 0.6); }
.mt-head > .btn { height: 48px; padding: 0 20px; }
.mt-cur { grid-area: cur; min-width: 0; padding: 22px 24px; border-radius: var(--r-lg); }
.mt-cur.glass, .mt-list.glass { background: var(--glass-strong); }
.mt-cur-h { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; }
.mt-cur-h .t { flex: 1; min-width: 160px; }
.mt-cur-h b { display: block; font-size: 18px; font-weight: 600; }
.mt-cur-h small { display: block; font-size: 13px; color: var(--mu2); }
.mt-title { margin: 18px 0 0; font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
.mt-complaint { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 15px; line-height: 1.45; background: rgba(8, 6, 4, 0.25); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); }
.mt-complaint svg.i { width: 18px; height: 18px; margin-top: 2px; color: var(--amber); }
.mt-wait { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: var(--mu); background: rgba(255, 179, 64, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 179, 64, 0.45); }
.mt-wait .hz { flex: none; }
.mt-wait b { color: var(--amber-hi); }
.mt-row { display: flex; align-items: stretch; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.mt-timer { flex: 1; min-width: 200px; padding: 12px 16px; border-radius: 18px; background: rgba(8, 6, 4, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); }
.mt-timer small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mu2); }
.mt-timer b { display: block; margin-top: 4px; font-family: var(--display); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mt-timer span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mu2); }
.mt-timer.run { box-shadow: inset 0 0 0 1.5px rgba(255, 179, 64, 0.55); }
.mt-timer.run small { color: var(--amber); }
.mt-timer.run b { color: var(--amber-hi); }
.mt-big { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; padding: 0 26px; border-radius: 18px; font-size: 17px; font-weight: 650; text-decoration: none; color: var(--ink); background: rgba(255, 240, 220, 0.13); box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.16), inset 0 0 0 1px rgba(255, 240, 220, 0.12); transition: transform 0.15s, background 0.15s, filter 0.15s; }
.mt-big:hover { background: rgba(255, 240, 220, 0.2); }
.mt-big:active { transform: scale(0.98); }
.mt-big svg.i { width: 22px; height: 22px; stroke-width: 2; }
.mt-big.go { color: var(--amber-ink); background: linear-gradient(160deg, var(--amber-hi), var(--amber) 55%, var(--amber-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 12px 26px -12px rgba(255, 140, 30, 0.9); }
.mt-big.go:hover { filter: brightness(1.05); }
.mt-big.cream { color: #24170a; background: var(--cream); box-shadow: inset 0 -1px 0 rgba(60, 30, 5, 0.14), 0 10px 26px -14px rgba(10, 5, 0, 0.9); }
.mt-big.cream:hover { background: #fffaf2; }
.mt-big:disabled { opacity: 0.45; cursor: default; transform: none; filter: none; }
.mt-big.busy { opacity: 0.6; pointer-events: none; }
.mt-big i { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; display: inline-grid; place-items: center; font-style: normal; font-size: 12.5px; background: rgba(255, 240, 220, 0.16); }
.mt-row .mt-big { min-width: 190px; }
.mt-prog { margin-top: 18px; }
.mt-progh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: 13px; color: var(--mu); }
.mt-progh b { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); }
.mt-prog .bar { height: 12px; }
.mt-pbtns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.mt-pb { min-height: 54px; border-radius: 15px; font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; background: rgba(255, 240, 220, 0.11); box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.14), inset 0 0 0 1px rgba(255, 240, 220, 0.1); transition: background 0.15s, transform 0.15s; }
.mt-pb:hover { background: rgba(255, 240, 220, 0.2); }
.mt-pb:active { transform: scale(0.98); }
.mt-pb:disabled { opacity: 0.45; cursor: default; }
.mt-pb.busy { opacity: 0.6; pointer-events: none; }
.mt-items { margin-top: 18px; }
.mt-items h3 { margin: 0 0 4px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mu2); }
.mt-items ul { list-style: none; margin: 0; padding: 0; }
.mt-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14.5px; }
.mt-items li + li { border-top: 1px solid var(--line); }
.mt-items .ck { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1.5px rgba(255, 240, 220, 0.3); }
.mt-items li.done .ck { color: #10230a; background: var(--ok); box-shadow: none; }
.mt-items .ck svg.i { width: 15px; height: 15px; stroke-width: 2.6; }
.mt-items .t { flex: 1; min-width: 0; }
.mt-items .tag { margin-left: 6px; vertical-align: 1px; }
.mt-items small { flex: none; font-size: 13px; color: var(--mu2); white-space: nowrap; }
.mt-acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.mt-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.mt-empty h2 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 500; }
.mt-empty p { margin: 0; }
.mt-list { grid-area: list; min-width: 0; padding: 18px 16px; border-radius: var(--r-lg); }
.mt-listh { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 6px 10px; }
.mt-listh.sub { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.mt-listh h2 { margin: 0; font-family: var(--display); font-size: 20px; font-weight: 550; letter-spacing: -0.02em; }
.mt-listh small { font-size: 12.5px; color: var(--mu2); }
.mt-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.mt-job { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 10px 12px; border-radius: 16px; text-align: left; background: rgba(255, 240, 220, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); transition: background 0.15s, box-shadow 0.15s; }
.mt-job:hover { background: rgba(255, 240, 220, 0.11); }
.mt-job.on { background: rgba(255, 179, 64, 0.13); box-shadow: inset 0 0 0 2px var(--amber); }
.mt-job.stop:not(.on) { background: repeating-linear-gradient(-45deg, rgba(255, 179, 64, 0.1) 0 7px, rgba(255, 179, 64, 0.03) 7px 14px); }
.mt-job.done { opacity: 0.6; }
.mt-job .tm { width: 48px; flex: none; font-family: var(--display); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mt-job .t { flex: 1; min-width: 0; }
.mt-job b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-job small { display: block; font-size: 12.5px; color: var(--mu2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-job .st, .mt-job .live { flex: none; }
@media (max-height: 960px) and (min-width: 1101px) {
  .mt-home { gap: 14px 22px; }
  .mt-head h1 { font-size: clamp(34px, 3.2vw, 46px); margin: 8px 0 6px; }
  .mt-head p { font-size: 15px; }
  .mt-cur { padding: 16px 22px 18px; }
  .mt-cur-h .plate.lg { height: 46px; font-size: 27px; line-height: 46px; }
  .mt-title { margin-top: 10px; font-size: clamp(24px, 2.1vw, 30px); }
  .mt-items h3 { margin-bottom: 0; }
  .mt-complaint { margin-top: 10px; padding: 9px 12px; font-size: 14px; }
  .mt-wait { margin-top: 10px; padding: 9px 12px; }
  .mt-row { margin-top: 12px; }
  .mt-timer { padding: 9px 14px; }
  .mt-timer b { font-size: 36px; }
  .mt-big { min-height: 54px; }
  .mt-prog { margin-top: 12px; }
  .mt-progh { margin-bottom: 6px; }
  .mt-pbtns { margin-top: 10px; }
  .mt-pb { min-height: 48px; }
  .mt-items { margin-top: 12px; }
  .mt-items li { padding: 6px 0; }
  .mt-acts { margin-top: 12px; }
  .mt-job { min-height: 60px; padding: 8px 12px; }
}
@media (max-height: 800px) and (min-width: 1101px) {
  .mt-head h1 { font-size: 34px; }
  .mt-items li { padding: 4px 0; font-size: 13.5px; }
  .mt-items .ck { width: 22px; height: 22px; }
  .mt-pb { min-height: 44px; }
  .mt-big { min-height: 50px; }
}
@media (max-width: 1100px) {
  .mt-home { grid-template-columns: minmax(0, 1.3fr) minmax(300px, 1fr); gap: 14px; }
  .mt-head { padding: 8px 4px 4px; }
}
@media (max-width: 900px) {
  .mt-home { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'cur' 'list'; }
}
@media (max-width: 640px) {
  .mt-head h1 { font-size: 36px; }
  .mt-head > .btn { width: 100%; }
  .mt-cur { padding: 16px; }
  .mt-timer { min-width: 0; flex-basis: 100%; }
  .mt-timer b { font-size: 36px; }
  .mt-row .mt-big { flex: 1; min-width: 0; }
  .mt-big { min-height: 58px; padding: 0 14px; font-size: 16px; }
  .mt-job .st { display: none; }
  .mt-list { padding: 14px 12px; }
}

/* ================================================================ mechanik: Prohlídka auta */
.mp-cars { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 18px; }
.mp-car { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 15px; font-size: 14px; white-space: nowrap; text-decoration: none; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 246, 232, 0.16), inset 0 0 0 1px rgba(255, 240, 220, 0.1); transition: background 0.15s; }
.mp-car:hover { background: rgba(60, 52, 44, 0.6); }
.mp-car b { font-weight: 600; }
.mp-car.on { background: rgba(255, 179, 64, 0.2); box-shadow: inset 0 0 0 2px var(--amber); }
.mp-car.other:not(.on) { color: var(--mu); }
.mp-car .hz { width: 18px; }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); gap: 18px; align-items: start; }
.mp-carh { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.mp-carh .t { flex: 1; min-width: 150px; }
.mp-carh b { display: block; font-size: 16px; font-weight: 600; }
.mp-carh small { display: block; font-size: 13px; color: var(--mu2); }
.mp-prog { display: grid; gap: 8px; margin: 16px 0 6px; font-size: 13px; color: var(--mu); }
.mp-prog b { color: var(--ink); }
.mp-row { padding: 12px 0; border-top: 1px solid var(--line); }
.mp-rowh { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.mp-rowh .t { flex: 1; min-width: 140px; }
.mp-rowh b { display: block; font-size: 15px; font-weight: 600; }
.mp-rowh small { display: block; font-size: 12.5px; color: var(--mu2); }
.mp-rowh .semset { flex: none; }
.mp-row .semset button { height: 42px; padding: 0 14px; font-size: 13.5px; }
.mp-saved { list-style: none; display: grid; gap: 6px; margin: 10px 0 0 50px; padding: 0; }
.mp-saved li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(255, 240, 220, 0.06); }
.mp-saved .ph { width: 48px; height: 36px; border-radius: 8px; flex: none; display: grid; place-items: center; color: var(--mu2); background: #3a2c20 center / cover no-repeat; }
.mp-saved .ph.none { background: rgba(255, 240, 220, 0.06); }
.mp-saved .ph svg.i { width: 16px; height: 16px; }
.mp-saved .t { flex: 1; min-width: 0; }
.mp-saved b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-saved b .sem { margin-right: 4px; }
.mp-saved small { display: block; font-size: 12px; color: var(--mu2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-saved .r { display: flex; align-items: center; gap: 8px; flex: none; font-size: 13px; }
.mp-ed { display: grid; gap: 12px; margin: 12px 0 2px 50px; padding: 14px; border-radius: 16px; background: rgba(8, 6, 4, 0.24); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.08); }
.mp-row.sev-nutne .mp-ed { box-shadow: inset 0 0 0 1px rgba(255, 107, 74, 0.5); }
.mp-row.sev-doporuceno .mp-ed { box-shadow: inset 0 0 0 1px rgba(255, 179, 64, 0.5); }
.mp-row.sev-ok .mp-ed { box-shadow: inset 0 0 0 1px rgba(169, 224, 143, 0.45); }
.mp-f3 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: 10px; }
.mp-row.sev-ok .mp-f3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.mp-ed .in { min-height: 46px; }
.mp-photos span { width: 72px; height: 52px; }
.mp-edf { display: flex; justify-content: flex-end; gap: 10px; }
.mp-edf .btn { height: 46px; padding: 0 20px; }
.mp-send h2 { margin: 0; }
.mp-pend { margin-top: 8px; }
.mp-pend > li { gap: 10px; padding: 8px 0; }
.mp-pend .t b { font-size: 13.5px; }
.mp-none { margin: 12px 0 0; font-size: 13.5px; }
.mp-go { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px; margin-top: 14px; padding: 10px 16px; border-radius: 18px; font-size: 15.5px; font-weight: 650; line-height: 1.25; text-align: center; color: var(--amber-ink); background: linear-gradient(160deg, var(--amber-hi), var(--amber) 55%, var(--amber-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 14px 30px -14px rgba(255, 140, 30, 0.9); transition: transform 0.15s, filter 0.15s; }
.mp-go:hover:not(:disabled) { filter: brightness(1.05); }
.mp-go:active:not(:disabled) { transform: scale(0.99); }
.mp-go svg.i { width: 20px; height: 20px; stroke-width: 2; }
.mp-go:disabled { color: var(--mu2); background: rgba(255, 240, 220, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 240, 220, 0.1); cursor: default; }
.mp-go.busy { opacity: 0.6; pointer-events: none; }
.mp-senth { display: flex; align-items: center; gap: 12px; }
.mp-senth b { display: block; font-size: 15px; }
.mp-senth small { display: block; font-size: 12.5px; color: var(--mu2); }
.mp-sent p { margin: 12px 0 14px; font-size: 14px; line-height: 1.5; color: var(--mu); }
.mp-sent p b { color: var(--ink); }
.mp-legend h3 { margin: 0 0 8px; }
.mp-legend ul { list-style: none; display: grid; gap: 8px; margin: 0; padding: 0; font-size: 13px; color: var(--mu); }
.mp-legend li { display: flex; align-items: baseline; gap: 10px; }
.mp-legend b { color: var(--ink); }
@media (max-width: 1100px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); }
}
@media (max-width: 900px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .mp-cars { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .mp-cars::-webkit-scrollbar { display: none; }
  .mp-car { flex: none; }
  .mp-rowh .semset { display: flex; width: 100%; }
  .mp-rowh .semset button { flex: 1; justify-content: center; padding: 0 4px; font-size: 12.5px; }
  .mp-rowh .semset button .sem { display: none; }
  .mp-rowh .semset button.ok:not(.on) { color: var(--ok); }
  .mp-rowh .semset button.doporuceno:not(.on) { color: var(--amber); }
  .mp-rowh .semset button.nutne:not(.on) { color: #ff8a6c; }
  .mp-ed, .mp-saved { margin-left: 0; }
  .mp-f3, .mp-row.sev-ok .mp-f3 { grid-template-columns: minmax(0, 1fr); }
  .mp-photos span { width: 62px; height: 46px; }
  .mp-saved .ph { display: none; }
}
