/* Раздел «Учёт» — свой цвет (янтарный, как разделы 1С), чтобы было видно: это бухгалтерия ИП, отдельный режим.
   Подключается последним (после kontur.css), действует только на страницах с .acc-band и на кнопке .btn-acc. */
:root { --acc-1: #f5b400; --acc-2: #fff4cf; --acc-3: #fffaea; --acc-ink: #5b4300; --acc-line: #efd98a; }

/* кнопка входа в раздел (карточка ИП) */
.btn.btn-acc { background: var(--acc-1); border-color: #e0a500; color: #2b2000; font-weight: 700; }
.btn.btn-acc:hover { background: #ffc21a; color: #000; text-decoration: none; }

/* шапка раздела */
.acc-band { background: linear-gradient(180deg, var(--acc-2), var(--acc-3)); border: 1px solid var(--acc-line); border-radius: 14px; margin: -4px 0 18px; box-shadow: 0 1px 0 rgba(120, 90, 0, .05); }
.acc-band-top { display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px 8px; flex-wrap: wrap; }
.acc-mark { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--acc-1); color: #2b2000; display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: -.02em; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.acc-band-titles { flex: 1; min-width: 240px; }
.acc-band .crumbs { font-size: 12.5px; color: #8a7340; margin-bottom: 3px; }
.acc-band .crumbs a { color: #8a7340; } .acc-band .crumbs a:hover { color: var(--acc-ink); }
.acc-band h1 { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.acc-kicker { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--acc-ink); color: #ffe7a0; padding: 3px 8px; border-radius: 6px; }
.acc-band .subtitle { color: #7a6630; font-size: 13px; margin-top: 3px; }
.acc-exit { margin-left: auto; align-self: center; font-size: 13px; color: var(--acc-ink); border: 1px solid var(--acc-line); background: #fff; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.acc-exit:hover { text-decoration: none; background: #fffdf5; border-color: var(--acc-1); }
.acc-band .acc-tabs { margin: 0; padding: 0 12px; border-bottom: 0; border-top: 1px solid var(--acc-line); gap: 2px; }
.acc-band .acc-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 14px 12px; font-size: 14px; color: #6d5a26; border-bottom: 3px solid transparent; margin-bottom: 0; border-radius: 0; }
.acc-band .acc-tabs a i { font-style: normal; font-size: 12px; opacity: .7; width: 16px; text-align: center; }
.acc-band .acc-tabs a:hover { color: #2b2000; background: rgba(245, 180, 0, .12); }
.acc-band .acc-tabs a.on { color: #2b2000; border-bottom-color: var(--acc-1); background: rgba(255, 255, 255, .65); }
/* лёгкий тон всей страницы раздела — отличить от остальных разделов с первого взгляда */
body:has(.acc-band) .main, body:has(.acc-band) main { background-image: linear-gradient(180deg, rgba(255, 244, 207, .35), rgba(255, 244, 207, 0) 360px); }

/* ===== Документ (счёт, акт, накладная) — форма в духе 1С ===== */
.dv-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.dv-back { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); font-size: 16px; }
.dv-back:hover { text-decoration: none; border-color: var(--acc-1); }
.dv-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; background: #eaf0fc; color: #17357a; }
.dv-ico.ti-invoice { background: var(--acc-2); color: var(--acc-ink); }
.dv-title-text .crumbs { font-size: 12px; color: var(--muted); }
.dv-title-text h2 { margin: 0; font-size: 20px; }
.dv-title-text h2 .muted { font-weight: 500; }
.badge.big { font-size: 12.5px; padding: 4px 11px; }
.dv-steps { margin-left: auto; display: flex; align-items: center; gap: 0; font-size: 12.5px; color: var(--muted); }
.dv-step { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dv-step i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #e9edf5; color: #6a7ba0; font-size: 11px; font-weight: 700; }
.dv-step.done i { background: #2e9e6b; color: #fff; } .dv-step.now { color: var(--ink); font-weight: 700; } .dv-step.now i { background: var(--primary); color: #fff; }
.dv-step small { font-weight: 400; color: var(--muted); }
.dv-step-line { width: 26px; height: 2px; background: #dfe4ee; margin: 0 8px; } .dv-step-line.done { background: #2e9e6b; }

/* командная панель */
.cmdbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; background: #f6f7fa; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 16px; position: relative; z-index: 5; }
.cmdbar .grow { flex: 1; }
.cmdbar .btn { height: 36px; }
.btn.ok { background: #2e9e6b; border-color: #2e9e6b; color: #fff; } .btn.ok:hover { background: #268a5c; }
.btn.ghost-danger { background: transparent; border-color: transparent; color: #b3261e; } .btn.ghost-danger:hover { background: #fdeceb; border-color: #f3c3c0; }
.dd { position: relative; }
.dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.dd > summary::-webkit-details-marker { display: none; }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 290px; background: #fff; border: 1px solid var(--line-strong, #d6dbe6); border-radius: 12px; box-shadow: 0 14px 34px rgba(20, 30, 60, .16); padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.dd-menu a, .dd-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; width: 100%; border: 0; background: none; padding: 9px 12px; border-radius: 8px; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; }
.dd-menu a:hover, .dd-menu button:hover { background: var(--acc-2); text-decoration: none; }
.dd-menu small { color: var(--muted); font-size: 12px; font-weight: 400; }
.dd-menu form { margin: 0; }

.dv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.dv-main .card, .dv-side .card { margin-bottom: 14px; }
.dv-side { position: sticky; top: 12px; }

/* шапка документа: подпись слева, значение справа (как поля формы 1С) */
.dv-form { padding: 6px 18px; }
.f-row { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px dashed #e7ebf2; align-items: baseline; }
.f-row:last-child { border-bottom: 0; }
.f-l { color: var(--muted); font-size: 13px; }
.f-v { font-size: 14px; min-width: 0; overflow-wrap: anywhere; }
.f-v small { color: var(--muted); font-size: 12px; margin-left: 4px; } .f-v small.blk { display: block; margin: 2px 0 0; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* табличная часть + итоги справа внизу */
.dv-sec-head { padding: 12px 16px 8px; font-weight: 700; font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.dv-sec-head .muted { font-weight: 500; font-size: 13px; }
.tbl-scroll { overflow-x: auto; }
.doc-lines-view { min-width: 560px; }
.doc-lines-view th { background: #f6f7fa; }
.doc-lines-view th.num-r, .doc-lines-view td.num-r { text-align: right; }
.doc-lines-view .n-col { width: 36px; color: var(--muted); text-align: center; }
.doc-lines-view td.nm { font-weight: 500; }
.dv-totals { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 12px 16px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.dv-totals .words { color: var(--muted); font-style: italic; font-size: 13px; flex: 1; min-width: 220px; }
.dv-totals dl { margin: 0; min-width: 260px; }
.dv-totals dl > div { display: flex; justify-content: space-between; gap: 24px; padding: 3px 0; font-size: 14px; }
.dv-totals dt { color: var(--muted); } .dv-totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.dv-totals .grand { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 8px; font-size: 18px; font-weight: 800; } .dv-totals .grand dt { color: var(--ink); }

.dv-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.dv-two > .card { margin-bottom: 14px; }
.pay-manual { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.pay-manual label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }

/* QR для оплаты */
.qr-card { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-color: var(--acc-line); background: linear-gradient(180deg, #fffdf4, #fff); }
.qr-img { width: 150px; height: 150px; flex: none; border-radius: 10px; border: 1px solid #eee4bf; background: #fff; padding: 6px; image-rendering: pixelated; }
.qr-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.qr-title { font-weight: 700; font-size: 15px; }
.qr-sum { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.qr-purpose { background: #f6f7fa; border-radius: 8px; padding: 6px 8px; color: var(--ink-2, #333); }
.qr-text .btn { align-self: flex-start; }

/* предпросмотр печатной формы — светлый фон вместо тёмного встроенного просмотрщика */
.dv-side .doc-preview { position: static; background: #fff; }
.dv-side .preview-frame { height: 62vh; min-height: 460px; background: #eef0f4; display: block; }

/* журнал документов: строки по состоянию, как в 1С (оплачен — зелёный, просрочен — красный, черновик — бледный) */
.docs-table tbody tr.is-paid td { background: #eef9f1; }
.docs-table tbody tr.is-overdue td { background: #fff1f0; }
.docs-table tbody tr.is-draft td { color: #7d8597; }
.docs-table tbody tr[data-href] { cursor: pointer; }
.docs-table tbody tr[data-href]:hover td { background-image: linear-gradient(rgba(245, 180, 0, .10), rgba(245, 180, 0, .10)); }

/* ===== Договоры: галерея шаблонов «как в 1С», форма, лист договора ===== */
.tpl-gallery { margin-bottom: 16px; }
.tpl-gallery-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.tpl-gallery-head h2 { margin: 0; font-size: 17px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.tpl-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .12s, box-shadow .12s; }
.tpl-card:hover { border-color: var(--acc-1); box-shadow: 0 4px 14px rgba(160, 120, 0, .12); text-decoration: none; }
.tpl-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--acc-2); color: var(--acc-ink); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.tpl-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tpl-body b { font-size: 14.5px; }
.tpl-body small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.tpl-body em { font-style: normal; color: #8a7340; font-size: 11.5px; }
.ct-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ct-inline label { display: inline-flex; align-items: center; gap: 5px; margin-right: 10px; }
.ct-form .f-v input, .ct-form .f-v select, .ct-form .f-v textarea { font: inherit; }
.ct-paper { padding: 28px 34px; font-family: 'Times New Roman', Times, serif; font-size: 15px; line-height: 1.45; color: #111; }
.ct-title { text-align: center; font-weight: 700; font-size: 17px; }
.ct-citydate { display: flex; justify-content: space-between; margin: 10px 0 14px; }
.ct-h { text-align: center; font-weight: 700; margin: 14px 0 6px; }
.ct-p { text-align: justify; text-indent: 1.5em; margin: 0 0 4px; }
.ct-req { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; font-size: 13.5px; }
.ct-req .b { font-weight: 700; }
.ct-sign { margin-top: 22px; }

/* ===== Подпись и печать ===== */
.sg-intro { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 14px; border-color: var(--acc-line); background: #fffdf5; }
.sg-intro > div { flex: 1; min-width: 280px; font-size: 13.5px; line-height: 1.5; }
.sg-auto { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; white-space: nowrap; }
.sg-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.sg-card { padding: 16px; }
.sg-tabs { display: inline-flex; background: #eef0f5; border-radius: 9px; padding: 3px; gap: 2px; margin-bottom: 10px; }
.sg-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 7px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink-2, #444); cursor: pointer; }
.sg-tabs button.on { background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); color: var(--ink); }
.sg-canvas { width: 100%; height: auto; aspect-ratio: 3 / 1; border: 2px dashed var(--acc-line); border-radius: 12px; background: #fff linear-gradient(transparent calc(100% - 42px), #e9edf5 calc(100% - 42px), #e9edf5 calc(100% - 41px), transparent calc(100% - 41px)); touch-action: none; cursor: crosshair; display: block; }
.sg-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.sg-drop { display: block; border: 2px dashed var(--acc-line); border-radius: 12px; padding: 18px; text-align: center; background: #fffdf7; cursor: pointer; color: var(--muted); font-size: 13px; }
.sg-drop input { display: block; margin: 0 auto 8px; }
.sg-preview { margin-top: 12px; }
.sg-paper { margin-top: 6px; padding: 26px 18px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-family: 'Times New Roman', Times, serif; font-size: 15px; }
.sg-slot { display: inline-block; width: 170px; height: 20px; border-bottom: 1px solid #000; position: relative; vertical-align: bottom; margin: 0 6px; }
.sg-slot img { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); max-width: 170px; max-height: 58px; }
.sg-slot img:not([src]) { display: none; }
.sg-stamp-prev { margin-top: 12px; height: 170px; display: grid; place-items: center; background: #fff repeating-conic-gradient(#f3f4f7 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 1px solid var(--line); border-radius: 10px; }
.sg-stamp-prev img { max-height: 150px; max-width: 90%; }
.sg-stamp-prev img:not([src]) { display: none; }

/* ===== Расчётные счета ИП и пометки «для себя» ===== */
.acct-card { margin-bottom: 16px; }
.acct-card .card-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.acct-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.acct-row { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; margin: 0; }
.acct-num { display: flex; flex-direction: column; gap: 1px; }
.acct-num .mono { font-size: 13px; }
.acct-note { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.acct-note input { flex: 1; min-width: 200px; }
.acct-chips { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.acct-chips .mini.on { background: var(--acc-2); border-color: var(--acc-1); color: var(--acc-ink); font-weight: 600; }
.acct-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--acc-2); color: var(--acc-ink); border: 1px solid var(--acc-line); white-space: nowrap; text-decoration: none; }
a.acct-tag:hover { text-decoration: none; border-color: var(--acc-1); }
@media (max-width: 900px) { .acct-row { grid-template-columns: 1fr; } }

@media (max-width: 1250px) { .dv-grid { grid-template-columns: 1fr; } .dv-side { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; } .dv-steps { margin-left: 0; width: 100%; } }
@media (max-width: 900px) { .sg-grid, .ct-req { grid-template-columns: 1fr; } .ct-paper { padding: 18px; } }
@media (max-width: 800px) { .dv-two, .dv-side { grid-template-columns: 1fr; } .f-row { grid-template-columns: 1fr; gap: 2px; } .qr-card { flex-direction: column; align-items: center; text-align: center; } .qr-text .btn { align-self: center; } }
@media print { .acc-band, .cmdbar, .dv-side { display: none !important; } }

/* Расчётные счета ИП: добавление и правка реквизитов на обзоре «Учёта» */
.acct-add-btn { margin-left: auto; }
.acct-empty { margin: 6px 0 0; }
.acct-item { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.acct-item .acct-row { border: 0; border-radius: 10px 10px 0 0; padding-bottom: 6px; }
.acct-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 0 12px 10px; }
.acct-tools .mini { padding: 4px 10px; }
.acct-tools .mini.danger { border-color: #e3a8a3; color: #b3261e; }
.acct-lack { color: #8a5a10; }
.acct-form { margin-top: 14px; padding: 14px 16px 12px; border: 1px dashed var(--acc-line, var(--line-strong)); border-radius: 12px; background: var(--acc-3, var(--surface-2)); }
.acct-form[hidden] { display: none; }
.acct-form h3 { margin: 0 0 10px; font-size: 15px; }
.acct-form textarea { width: 100%; resize: vertical; min-height: 64px; }
.acct-fields { display: grid; grid-template-columns: minmax(230px, 1.3fr) minmax(120px, .6fr) minmax(220px, 1.6fr) minmax(230px, 1.3fr); gap: 0 14px; }
.acct-fields .field { margin-bottom: 10px; min-width: 0; }
.acct-form .hint { min-height: 16px; }
.acct-form .hint.ok, .ok-text { color: #0d7346; }
.acct-form .hint.bad, .bad-text { color: #b3261e; }
.acct-warn { margin: 2px 0 12px; padding: 10px 14px; border: 1px solid #f2dda6; border-radius: 10px; background: var(--warn-bg, #fff7e0); color: #8a5a10; font-size: 13px; }
.acct-warn ul { margin: 6px 0 0; padding-left: 18px; }
.acct-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
@media (max-width: 1100px) { .acct-fields { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .acct-fields { grid-template-columns: 1fr; } }

/* Налоговый путь ИП: шкала режимов и следствия */
.tp-card { margin-bottom: 16px; }
.tp-card .card-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tp-edit { margin-left: auto; }
.tp-line { position: relative; display: flex; gap: 3px; margin: 10px 0 26px; }
.tp-seg { flex: 1 1 0; min-width: 0; padding: 10px 12px; border-radius: 10px; display: flex; flex-direction: column; gap: 2px; border: 1px solid transparent; overflow: hidden; }
.tp-seg b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-seg span { font-size: 11.5px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-seg.now { box-shadow: 0 0 0 2px rgba(23, 53, 122, .28); }
.tp-seg.tp-vat { background: #fdebe7; border-color: #f3c2b8; color: #8f2a17; }
.tp-seg.tp-psn { background: #e6f6ec; border-color: #b9e2c8; color: #0d6b41; }
.tp-seg.tp-usn { background: #e8f0fd; border-color: #c3d6f8; color: #1e4fa8; }
.tp-seg.tp-osno { background: #f1f2f5; border-color: #d9dce4; color: #3c4560; }
.tp-today { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #17357a; border-radius: 2px; }
.tp-today em { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 2px; font-size: 10.5px; font-weight: 600; font-style: normal; color: #17357a; white-space: nowrap; }
.tp-steps { display: flex; flex-direction: column; gap: 8px; }
.tp-step { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.tp-num { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: #fff; border: 2px solid currentColor; color: #6b7590; }
.tp-step.tp-vat .tp-num { color: #c2452c; } .tp-step.tp-psn .tp-num { color: #17a05d; } .tp-step.tp-usn .tp-num { color: #2f6be0; }
.tp-step-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.tp-tag { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: #f1f2f5; color: #3c4560; }
.tp-step.tp-vat .tp-tag { background: #fdebe7; color: #8f2a17; } .tp-step.tp-psn .tp-tag { background: #e6f6ec; color: #0d6b41; } .tp-step.tp-usn .tp-tag { background: #e8f0fd; color: #1e4fa8; }
.tp-now { font-size: 11px; font-weight: 600; color: #17357a; }
.tp-note { margin-top: 3px; font-size: 13px; color: var(--ink-2, #3c4560); white-space: pre-line; max-width: 980px; }
.tp-h { margin: 18px 0 6px; font-size: 15px; }
.tp-cons td { vertical-align: top; } .tp-cons small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.tp-cons tr.tp-soon td:first-child b { color: #b3261e; } .tp-cons tr.tp-past td { color: var(--muted); }
.tp-grp { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 6px; margin-right: 2px; }
.tp-grp-vat { background: #fdebe7; color: #8f2a17; } .tp-grp-ndfl { background: #e8f0fd; color: #1e4fa8; } .tp-grp-psn { background: #e6f6ec; color: #0d6b41; }
.tp-foot { margin: 10px 0 0; } .tp-hint { margin: 0 0 12px; }
.tp-form td { vertical-align: top; padding: 6px 5px; } .tp-form input, .tp-form select, .tp-form textarea { width: 100%; } .tp-form textarea { resize: vertical; min-height: 40px; }
.tp-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
@media (max-width: 760px) { .tp-line { flex-direction: column; } .tp-seg { flex-basis: auto !important; } .tp-today { display: none; } }
