/* Telefon ve bilgisayarın ortak temeli. Görünüşe özel şeyler mobile.css ve web.css'te. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--cocoa); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; min-height: 100dvh; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 2px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 12px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.hidden { display: none !important; }
.boot { display: grid; place-items: center; min-height: 100dvh; }
.boot-text { color: var(--muted); padding: 24px; text-align: center; }
.num { font-variant-numeric: tabular-nums; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid var(--berry); background: var(--berry); color: #fff;
  font-weight: 700; text-decoration: none; -webkit-tap-highlight-color: transparent; user-select: none; transition: background .15s, transform .08s, box-shadow .15s;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.secondary { background: #fff; color: var(--berry); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--cocoa); }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.danger.secondary { background: #fff; color: var(--danger); }
.btn.block { width: 100%; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-btn { display: inline-grid; place-items: center; border: 0; background: transparent; color: inherit; border-radius: 12px; -webkit-tap-highlight-color: transparent; }

/* Form */
label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.hint { font-weight: 400; font-size: 13px; color: var(--muted); }
input, select, textarea { width: 100%; background: #fff; border: 2px solid var(--line-strong); font-size: 16px; font-weight: 400; }
input:focus, select:focus, textarea:focus { border-color: var(--berry); outline: none; }
.err { color: var(--danger); font-weight: 600; font-size: 14px; min-height: 20px; }
.pw { position: relative; }
.pw input { padding-right: 52px; }
.pw .icon-btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; color: var(--muted); }

/* Rozetler */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--blush-100); color: var(--berry-dark); white-space: nowrap; }
.chip.off { background: #EEE6E2; color: var(--muted); }
.chip.ok { background: var(--ok-bg); color: var(--ok); }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.cocoa { background: var(--cocoa); color: #fff; }
.avatar { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-size: 15px; font-weight: 800; color: var(--cocoa); }
.avatar.lg { width: 68px; height: 68px; font-size: 24px; }
.av-0 { background: #F9CCDF; } .av-1 { background: #FBEBC8; } .av-2 { background: #D9ECDF; } .av-3 { background: #DCE6F7; } .av-4 { background: #EAD9F2; } .av-5 { background: #FAD9C7; }

/* Pencere (web: ortada, mobil: alttan açılan sayfa) */
dialog.sheet { border: 0; padding: 0; background: var(--surface); color: var(--cocoa); overflow: hidden; }
dialog.sheet::backdrop { background: rgba(62, 42, 29, .45); }
dialog.sheet[open] { display: flex; flex-direction: column; }
.sheet-head { display: flex; align-items: center; gap: 8px; }
.sheet-head h2 { flex: 1; }
.sheet-body { overflow-y: auto; display: flex; flex-direction: column; gap: 14px; }
.sheet-actions { display: flex; gap: 10px; }
.sheet-actions .btn { flex: 1; }

/* Bildirim */
#toasts { position: fixed; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 100; pointer-events: none; padding: 0 12px; }
.toast { pointer-events: auto; max-width: 460px; padding: 12px 18px; border-radius: 14px; background: var(--cocoa); color: #fff; font-weight: 600; box-shadow: 0 8px 24px rgba(62, 42, 29, .25); animation: rise .2s ease-out; }
.toast.ok { background: var(--ok); } .toast.error { background: var(--danger); }
@keyframes rise { from { transform: translateY(10px); opacity: 0; } }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--berry); animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty h2 { color: var(--cocoa); margin-bottom: 6px; }
.banner { padding: 12px 16px; border-radius: 14px; background: var(--danger-bg); color: var(--danger); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Yönetim sekmeleri */
.tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 10px 13px; font-weight: 700; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--berry-dark); border-bottom-color: var(--berry); }

/* Masa ızgarası */
.table-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; }
.table-tile {
  min-height: 84px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px;
  background: var(--surface); border: 2px solid var(--line); border-radius: 18px; color: var(--cocoa); -webkit-tap-highlight-color: transparent;
}
.table-tile b { font-size: 24px; line-height: 1.1; word-break: break-word; text-align: center; }
.table-tile .small-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table-tile:hover { border-color: var(--blush-300); background: var(--blush-50); }
.table-grid.manage .table-tile { min-height: 64px; }
.table-grid.manage .table-tile b { font-size: 20px; }

/* Menü görüntüleyici */
.chip-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.chip-tabs button { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; color: var(--muted); }
.chip-tabs button[aria-selected="true"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.menu-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.menu-list li + li { border-top: 1px solid var(--line); }
.menu-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; background: none; border: 0; }
.menu-item .pname { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.menu-item .pprice { flex: none; font-weight: 800; color: var(--berry-dark); }
.lead { margin-bottom: 12px; }

/* Uygulama gibi davranır: sayfa metni seçilemez, metin imleci (I) çıkmaz. Yazı kutularında normal çalışır. */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: default; caret-color: transparent; }
a, button, [role="button"], select, label.field, .table-tile, .user-row, .screen-card, .menu-item { cursor: pointer; }
input, textarea { -webkit-user-select: text; user-select: text; cursor: text; caret-color: auto; }
input[type="password"], input[type="checkbox"], input[type="radio"] { cursor: text; }
input[type="checkbox"], input[type="radio"] { cursor: pointer; }
.btn:disabled, button:disabled { cursor: not-allowed; }
img { -webkit-user-drag: none; user-drag: none; }

/* Masa durumu ve sipariş penceresi */
.table-tile.busy { border-color: var(--blush-300); background: var(--blush-50); }
.table-tile.busy.confirmed { border-color: var(--ok); background: var(--ok-bg); }
.table-tile .tile-total { font-weight: 800; font-size: 13px; color: var(--berry-dark); }
.table-tile.confirmed .tile-total { color: var(--ok); }
.table-tile .tile-state { font-size: 11px; color: var(--muted); }
.order-box { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.order-head { gap: 10px; }
.small-text { font-size: 13px; }
.order-lines { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.order-lines li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.order-lines li + li { border-top: 1px solid var(--line); }
.order-lines .oname { flex: 1; font-weight: 600; }
.order-lines .oprice { color: var(--muted); font-size: 14px; }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper button { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 22px; line-height: 1; font-weight: 700; color: var(--berry-dark); }
.stepper b { min-width: 24px; text-align: center; }
.qty-fixed { font-weight: 800; }
.order-total { display: flex; justify-content: space-between; font-size: 18px; padding: 4px 4px 0; }
.note { background: var(--warn-bg); color: var(--warn); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 0; }
.is-locked .menu-item { opacity: .55; }

/* Mutfak fişleri */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; align-items: start; }
.ticket { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ticket.warn { border-color: #E6B800; background: #FFFBEA; }
.ticket.late { border-color: var(--danger); background: var(--danger-bg); }
.ticket header { display: flex; justify-content: space-between; align-items: center; font-size: 20px; }
.ticket ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ticket li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.ticket li .tq { font-weight: 800; min-width: 34px; }
.ticket li .tn { flex: 1; font-weight: 600; }
.ticket li.done .tn, .ticket li.done .tq { text-decoration: line-through; color: var(--muted); }
.ready-btn { width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--line-strong); background: var(--surface); color: transparent; display: grid; place-items: center; }
.ready-btn.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.ready-btn .icon { width: 22px; height: 22px; }
.table-tile.busy.confirmed.ready { border-color: var(--ok); background: var(--ok-bg); }
.table-tile.busy.confirmed:not(.ready) { border-color: #E6B800; background: #FFFBEA; }
.order-lines .oname .chip { margin-left: 8px; }

/* Ödeme */
.order-total.sub { font-size: 15px; color: var(--muted); }
.order-total.big { font-size: 22px; }
.pay-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.pay-list li { display: flex; justify-content: space-between; }
.pay-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.method-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.method-btn { min-height: 64px; font-size: 20px; }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }

/* Menü alanı: kategori değişince boyutu zıplamasın diye sabit yükseklik, içeride kaydırma */
.menu-content { height: clamp(260px, 46dvh, 460px); overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
.menu-content .empty { padding-top: 40px; }
.chip-tabs { scrollbar-width: none; }
.chip-tabs::-webkit-scrollbar { display: none; }

/* Kaydedilmemiş değişiklik çubuğu: pencerenin altında sabit */
.save-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px calc(12px + var(--safe-b)); background: var(--warn-bg); border-top: 1px solid var(--line-strong); }
.save-bar[hidden] { display: none; }
.save-bar .save-text { flex: 1; font-weight: 700; color: var(--warn); font-size: 14px; }
.save-bar .btn { min-height: 48px; }
.order-lines li.removing .oname, .order-lines li.removing .oprice { text-decoration: line-through; opacity: .55; }
.order-lines li.changed { background: #FFFBEA; }
.chip.add { background: var(--ok-bg); color: var(--ok); }
.chip.rem { background: var(--danger-bg); color: var(--danger); }

/* Raporlar */
.report-controls { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.report-controls input[type="date"] { min-height: 44px; width: auto; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.stat span { font-size: 13px; color: var(--muted); }
.stat b { font-size: 22px; }
.stat.big { grid-column: 1 / -1; background: var(--blush-100); border-color: var(--blush-200); }
.stat.big b { font-size: 32px; color: var(--berry-dark); }
.split { margin-bottom: 16px; }
.split-bar { width: 100%; height: 12px; border-radius: 6px; display: block; }
.split-bar .bg { fill: var(--line); } .split-bar .seg-cash { fill: var(--ok); } .split-bar .seg-card { fill: var(--berry); }
.split-legend { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.split-legend .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.split-legend .dot:first-child { margin-left: 0; }
.dot-cash { background: var(--ok); } .dot-card { background: var(--berry); }
.card.rep { margin-bottom: 14px; padding: 16px; }
.card.rep h2 { font-size: 18px; margin-bottom: 8px; }
.rep-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rep-list > li, .rep-detail { padding: 10px 0; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rep-list > li:first-child, .rep-detail:first-child { border-top: 0; }
.rep-list > li.col { flex-direction: column; align-items: stretch; gap: 4px; }
.row-between { display: flex; justify-content: space-between; gap: 12px; }
.rd-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.rep-detail { display: block; }
.rep-detail summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; }
.rep-detail summary::-webkit-details-marker { display: none; }
.rep-detail .rd-pay { display: none; }
.rep-items { list-style: none; margin: 8px 0 0; padding: 8px 12px; background: var(--blush-50); border-radius: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.rep-items li { display: flex; justify-content: space-between; }
.prod-bar { width: 100%; height: 5px; border-radius: 3px; background: var(--line); }
.prod-bar rect { fill: var(--berry); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .report-controls { flex-direction: row; align-items: center; justify-content: space-between; }
  .rep-detail .rd-pay { display: inline; }
}

.side-user .view-switch { width: 100%; justify-content: center; }

/* Menü düzenleme */
.menu-tools { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.menu-sec { padding: 14px; margin-bottom: 16px; }
.mhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mhead h2 { font-size: 20px; margin: 0; }
.mhead h3 { font-size: 16px; margin: 0; }
.mhead.sub { padding: 12px 0 4px; }
.mact { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mini { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--berry-dark); font-size: 14px; display: grid; place-items: center; }
.mini.danger { color: var(--danger); }
.mini:hover { background: var(--blush-50); }
.mcat { border-top: 1px solid var(--line); margin-top: 8px; }
.mprods { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mprods li { display: flex; align-items: center; gap: 6px; padding-right: 8px; }
.mprods li + li { border-top: 1px solid var(--line); }
.mprods li.is-hidden .pname { opacity: .55; }
.mrow { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px; text-align: left; background: none; border: 0; min-width: 0; }
.mrow .pname { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; }
.mrow .pprice { font-weight: 800; color: var(--berry-dark); flex: none; }
.pad { padding: 8px 4px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check input { width: 22px; height: 22px; min-height: 0; accent-color: var(--berry); }
.save-bar.page-bar { position: sticky; bottom: 0; z-index: 12; margin: 12px -4px 0; border-radius: 16px; border: 1px solid var(--line-strong); box-shadow: 0 -8px 24px rgba(62, 42, 29, .12); }
.versions { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.versions li { border-top: 1px solid var(--line); padding: 8px 0; }
.versions li:first-child { border-top: 0; }
.versions summary { display: flex; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.versions summary::-webkit-details-marker { display: none; }
.versions .btn { margin-top: 8px; }

/* Kayıtlar */
.log-list { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.log-row { border-top: 1px solid var(--line); }
.log-row:first-child { border-top: 0; }
.log-row summary { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; list-style: none; cursor: pointer; }
.log-row summary::-webkit-details-marker { display: none; }
.log-ico { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--blush-100); display: grid; place-items: center; font-size: 15px; }
.log-title { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; }
.log-row.undone .log-title { text-decoration: line-through; color: var(--muted); }
.log-row.undone .log-title .chip { text-decoration: none; }
.log-more { padding: 0 14px 14px 60px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.center { display: flex; justify-content: center; margin-top: 14px; }

/* Grafikler */
.chart { display: block; max-width: 100%; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 11px var(--sans); }
.chart .hit { fill: transparent; }
.chart g:hover .c-a, .chart g:hover .c-b { opacity: .8; }
.c-a { fill: var(--ok); } .c-b { fill: var(--berry); }
.d1 { fill: var(--berry); stroke: var(--berry); } .d2 { fill: #E08FB5; stroke: #E08FB5; } .d3 { fill: var(--cocoa); stroke: var(--cocoa); }
.d4 { fill: #D9A441; stroke: #D9A441; } .d5 { fill: var(--ok); stroke: var(--ok); } .d6 { fill: #7A9CC6; stroke: #7A9CC6; }
.ring { stroke-linecap: butt; fill: none; } .ring.c-a { stroke: var(--ok); } .ring.c-b { stroke: var(--berry); }
.ring-bg { stroke: var(--line); }
.donut-value { fill: var(--cocoa); font: 800 18px var(--sans); }
.heat-cell { fill: var(--berry); }
.donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.legend { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 14px; font-size: 14px; }
.legend.v { flex-direction: column; margin: 0; } .legend.inline { justify-content: center; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .lg { flex: 1; }
.dot { width: 11px; height: 11px; border-radius: 50%; flex: none; display: inline-block; }
.dot.c-a { background: var(--ok); } .dot.c-b { background: var(--berry); }
.dot.d1 { background: var(--berry); } .dot.d2 { background: #E08FB5; } .dot.d3 { background: var(--cocoa); } .dot.d4 { background: #D9A441; } .dot.d5 { background: var(--ok); } .dot.d6 { background: #7A9CC6; }
.donut-wrap .legend:not(.v):not(.inline) { flex-direction: column; flex: 1; min-width: 200px; }
.donut-wrap .legend:not(.v):not(.inline) li { gap: 10px; }
.hbars { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hbar { width: 100%; height: 6px; display: block; margin-top: 3px; border-radius: 3px; }
.hbar .bg { fill: var(--line); } .hbar .c-a { fill: var(--ok); } .hbar .c-b { fill: var(--berry); }
.hl { min-width: 0; }
.chart-card { margin-bottom: 14px; }
.chart-card .more { margin-top: 10px; }
.chart-card .more summary { cursor: pointer; color: var(--berry-dark); font-weight: 700; }
.two { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 1100px) { .two { grid-template-columns: 1fr 1fr; gap: 14px; } }
.delta { font-size: 13px; font-weight: 700; } .delta.up { color: var(--ok); } .delta.down { color: var(--danger); }
.stat.big { gap: 4px; }

/* Pencere içindeki mesajlar: pencere en üst katmanda olduğu için mesaj onun içinde gösterilir */
.dialog-toasts { position: fixed; left: 0; right: 0; top: calc(var(--safe-t) + 12px); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 5; pointer-events: none; padding: 0 12px; }
.save-bar .save-text.err { color: var(--danger); }
.menu-item.no-price { opacity: .55; }
.save-bar { flex-wrap: wrap; }
.save-bar .save-text.err { flex: 1 1 100%; }

.backup-card { margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.backup-card h2 { margin: 0; }
.small-text.err { color: var(--danger); }

/* Geç giriş */
.le-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .le-grid { grid-template-columns: repeat(3, 1fr); } }
.le-price { display: inline-flex; align-items: center; gap: 4px; }
.price-in { width: 84px; min-height: 40px; padding: 6px 10px; text-align: right; }
.seg { display: flex; gap: 8px; margin-bottom: 12px; }
.seg button { flex: 1; min-height: 48px; border-radius: 14px; border: 2px solid var(--line-strong); background: var(--surface); font-weight: 700; color: var(--muted); }
.seg button[aria-checked="true"] { background: var(--berry); border-color: var(--berry); color: #fff; }
.card.rep > .btn { margin-top: 12px; }
.le-line { flex-wrap: wrap; }
.le-line .oname { flex: 1 1 100%; }
.le-line .le-price { flex: 1; }
.card.rep > .btn { width: 100%; }
