/* auction-time 2026-11-14: блок «Публикация» в форме аукциона (Mini App и сайт) — компактный: «Сразу | По времени», день — кнопками, час — списком */
.atp { display: grid; gap: 10px; min-width: 0; margin: 4px 0 2px; padding: 12px; border: 1px solid var(--line, #e3e6e3); border-radius: 16px; background: var(--panel, #fff); }
.atp legend { padding: 0 6px; color: var(--ink, #111); font-size: 14px; font-weight: 750; }
.atp label { margin: 0; }
/* переключатель «Сразу | По времени» */
.atp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: var(--soft, var(--panel-soft, #f1f3f1)); }
.atp-seg label, .atp-chip { position: relative; display: block; cursor: pointer; }
.atp-seg input, .atp-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; appearance: none; -webkit-appearance: none; border: 0; background: none; box-shadow: none; }
.atp-seg span { display: grid; place-items: center; min-height: 38px; border-radius: 9px; color: var(--muted, #6e767e); font-size: 14.5px; font-weight: 700; transition: background .15s, color .15s; }
.atp-seg input:checked + span { background: var(--panel, #fff); color: var(--ink, #111); box-shadow: 0 1px 2px rgba(17, 24, 22, .08), 0 2px 8px -4px rgba(17, 24, 22, .2); }
/* день — две кнопки, ниже — время старта */
.atp-pick { display: grid; gap: 8px; }
.atp-pick[hidden] { display: none; }
.atp-days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.atp-chip span { display: grid; gap: 1px; min-height: 50px; padding: 7px 12px; border: 1.5px solid var(--line, #e3e6e3); border-radius: 12px; background: var(--panel, #fff); align-content: center; }
.atp-chip b { color: var(--ink, #111); font-size: 14.5px; font-weight: 750; line-height: 1.2; }
.atp-chip small { color: var(--muted, #6e767e); font-size: 12.5px; line-height: 1.2; }
.atp-chip input:checked + span { border-color: var(--accent, #12a66a); background: color-mix(in srgb, var(--accent, #12a66a) 9%, var(--panel, #fff)); }
.atp-time { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 4px 0 14px; border: 1.5px solid var(--line, #e3e6e3); border-radius: 12px; background: var(--panel, #fff); }
.atp-time > span { color: var(--muted, #6e767e); font-size: 13.5px; font-weight: 650; }
.atp-time select { flex: 0 0 auto; width: auto !important; min-width: 0; min-height: 40px; margin: 0; padding: 0 30px 0 10px; border: 0 !important; border-radius: 10px; box-shadow: none !important; color: var(--ink, #111); font: inherit; font-size: 16px; font-weight: 750; appearance: none; -webkit-appearance: none; background-color: transparent !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e767e' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 8px center !important; background-size: 16px !important; cursor: pointer; }/* итог — две короткие строки: старт и конец */
.atp-sum { display: grid; gap: 2px; margin: 0; color: var(--muted, #6e767e); font-size: 13.5px; line-height: 1.35; }
.atp.is-sched .atp-sum { color: var(--ink, #111); font-weight: 650; }
.atp-sum small { display: inline-block; min-width: 50px; color: var(--muted, #6e767e); font-size: 12.5px; font-weight: 600; }
.atp-sum em { margin-top: 2px; color: #b45309; font-size: 12.5px; font-style: normal; font-weight: 650; }
[data-theme="dark"] .atp-sum em, html[data-theme="dark"] .atp-sum em { color: #f2b935; }

/* форма объявления и лота на сайте: «Город» не растягивается на высоту колонки «Доставка» (Alan: «тут чуть уже, а то кнопка огромная») */
form.sellf .r2 > label { align-content: start; }
/* галочки «Разрешить автоставки» / «Продлевать на 5 минут…» не сжимаются длинным текстом на телефоне */
form.sellf .checks > label > input[type="checkbox"] { flex: 0 0 auto; }
