/* Uğurlu WhatsApp müşteri takip paneli
   Logo dili: saf kırmızı + siyah, sağa yatık kalın harf, eğik kesim */
:root {
  --red: #E30A0F;
  --red-dark: #B80008;
  --red-soft: #FFE3E3;
  --black: #111111;
  --gray: #4A4A4A;
  --muted: #6E747A;
  --paper: #EDEFF1;
  --surface: #FFFFFF;
  --line: #D9DDE1;
  --pine: #0E6A55;
  --pine-soft: #DDF0EA;
  --amber: #A86C00;
  --amber-soft: #FFF1D1;
  --slant: -12deg;
  --display: "Archivo", "Arial Narrow", "Segoe UI", sans-serif;
  --text: "Barlow Semi Condensed", "Segoe UI", system-ui, sans-serif;
  --r: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: var(--text); font-size: 15px; line-height: 1.4; color: var(--black); background: var(--paper); -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.sub { color: var(--muted); font-size: 14px; }
code { background: #E3E6E9; padding: 1px 6px; border-radius: 4px; font-size: 13px; }

/* Sayılar ve başlıklar: logodaki gibi yatık, dar, kalın */
.num, h1, .t-clock, .stat b, .kpi b, .count {
  font-family: var(--display); font-style: italic; font-stretch: 75%; font-weight: 800; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

/* Düğmeler ve alanlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px solid var(--black); background: var(--surface);
  padding: 8px 14px; border-radius: 8px; font-weight: 700; cursor: pointer; text-decoration: none; color: var(--black); white-space: nowrap; }
.btn:hover { background: #F4F5F6; }
.btn.primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.dark { background: var(--black); color: #fff; }
.btn.dark:hover { background: #333; }
.btn.good { background: var(--pine); border-color: var(--pine); color: #fff; }
.btn.quiet { border-color: var(--line); }
.btn.sm { padding: 5px 10px; font-size: 14px; }
.btn.wide { width: 100%; padding: 12px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: default; }
.link { background: none; border: 0; color: var(--muted); cursor: pointer; text-align: left; padding: 2px 0; font-weight: 600; }
.link:hover { color: var(--black); text-decoration: underline; }
input, select, textarea { font: inherit; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--surface); color: var(--black); min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--black); outline: none; }
.err { color: var(--red); margin-top: 10px; min-height: 20px; font-weight: 600; }

/* ---------------- Giriş ---------------- */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding: 40px; }
.login-art::before { content: ""; position: absolute; inset: -10% 8% -10% -30%; background: var(--red); transform: skewX(var(--slant)); }
.login-art > * { position: relative; }
.login-quote { color: #fff; font-family: var(--display); font-style: italic; font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1.15; max-width: 360px; }
.login-card { align-self: center; justify-self: center; width: min(380px, 90vw); padding: 24px 0; }
.logo { display: block; width: 260px; max-width: 100%; height: auto; }
.login-title { color: var(--gray); font-weight: 600; margin: 6px 0 28px; font-size: 17px; }
.login-card label { display: block; font-weight: 700; margin-bottom: 14px; }
.login-card label input, .login-card label select { width: 100%; margin-top: 6px; padding: 11px 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--black); border-radius: 9px; overflow: hidden; margin-bottom: 20px; }
.seg-btn { border: 0; background: var(--surface); padding: 10px; font-weight: 700; cursor: pointer; }
.seg-btn.active { background: var(--black); color: #fff; }

/* ---------------- İskelet ---------------- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.logo.small { width: 168px; }
.side-title { color: var(--gray); font-size: 14px; font-weight: 600; margin: 2px 0 22px; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-btn { position: relative; display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 10px 12px; border-radius: 8px; font-weight: 700; font-size: 16px; cursor: pointer; color: var(--gray); text-align: left; }
.nav-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav-btn:hover { background: var(--paper); color: var(--black); }
.nav-btn.active { color: var(--black); }
.nav-btn.active::before { content: ""; position: absolute; left: -18px; top: 6px; bottom: 6px; width: 9px; background: var(--red); transform: skewX(var(--slant)); }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.wa-state { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.wa-state::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.wa-state.on::before { background: #1FA855; }
.wa-state.off::before { background: var(--red); }
.wa-state.test::before { background: #E3A500; }
.me { color: var(--muted); }

.main { min-width: 0; display: flex; flex-direction: column; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 28px 14px; flex-wrap: wrap; }
h1 { font-size: 38px; line-height: 1; }
.head .sub { margin-top: 6px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters input { width: 230px; }
.view { padding: 0 28px 40px; display: flex; flex-direction: column; gap: 22px; }

/* ---------------- Arama kuyruğu: fişler ---------------- */
.rail-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.rail-head h2 { font-size: 20px; }
.count { display: inline-block; min-width: 30px; padding: 0 8px; margin-left: 6px; background: var(--black); color: #fff; border-radius: 6px; text-align: center; font-size: 18px; line-height: 26px; }
.rail { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; }
.rail-empty { background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r); padding: 22px; color: var(--muted); width: 100%; }
.ticket { --tone: var(--black); --tone-bg: var(--surface); flex: 0 0 232px; scroll-snap-align: start; background: var(--surface); border-radius: var(--r);
  box-shadow: 0 1px 0 var(--line), 0 6px 18px -10px rgba(17,17,17,.35); display: flex; flex-direction: column; cursor: pointer; }
.ticket.warn { --tone: var(--amber); }
.ticket.late { --tone: #fff; --tone-bg: var(--red); }
.t-top { background: var(--tone-bg); color: var(--tone); border-radius: var(--r) var(--r) 0 0; padding: 14px 16px 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.t-clock { font-size: 34px; line-height: 1; white-space: nowrap; }
.t-cap { font-size: 13px; font-weight: 700; text-align: right; opacity: .9; }
.t-cut { height: 14px; position: relative; background:
  radial-gradient(circle at 0 50%, var(--paper) 7px, transparent 7.5px),
  radial-gradient(circle at 100% 50%, var(--paper) 7px, transparent 7.5px),
  linear-gradient(var(--tone-bg) 50%, var(--surface) 50%); }
.t-cut::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; border-top: 2px dashed var(--line); }
.ticket.late .t-cut::after { border-color: #ffb3b3; }
.t-body { padding: 8px 16px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--gray); }
.t-body b { font-size: 17px; color: var(--black); }
.t-actions { display: flex; gap: 6px; padding: 0 16px 14px; }
.t-actions .btn { flex: 1; }
.login-art .demo-ticket { flex: none; width: 250px; transform: rotate(-4deg); box-shadow: 0 24px 50px -18px rgba(0,0,0,.55); }
.login-art .demo-ticket .t-cut { background: radial-gradient(circle at 0 50%, var(--red) 7px, transparent 7.5px), radial-gradient(circle at 100% 50%, var(--red) 7px, transparent 7.5px), linear-gradient(var(--tone-bg) 50%, var(--surface) 50%); }

/* Dönem özeti */
.today { display: flex; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); flex-wrap: wrap; }
.stat { flex: 1 1 140px; padding: 14px 18px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat span { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.stat b { font-size: 30px; line-height: 1.1; }
.stat.money b { color: var(--pine); }

/* Aşama panosu */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.col { background: #E3E6E9; border-radius: var(--r); padding: 10px; min-height: 120px; }
.col-head { display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 2px 4px 10px; }
.col-head i { width: 10px; height: 10px; border-radius: 2px; transform: skewX(var(--slant)); background: var(--muted); }
.col-head .n { margin-left: auto; color: var(--muted); }
.col[data-s="new"] .col-head i { background: var(--red); }
.col[data-s="contacted"] .col-head i { background: var(--black); }
.col[data-s="unreachable"] .col-head i { background: var(--amber); }
.col[data-s="visited"] .col-head i { background: #3B5BDB; }
.col[data-s="sale"] .col-head i { background: var(--pine); }
.cards { display: flex; flex-direction: column; gap: 8px; }
.card { background: var(--surface); border-radius: 8px; padding: 10px 12px; cursor: pointer; border: 1.5px solid transparent; }
.card:hover { border-color: var(--black); }
.card.late { border-color: var(--red); }
.card.sel { border-color: var(--black); box-shadow: 0 0 0 2px var(--black); }
.c-top { display: flex; justify-content: space-between; gap: 6px; }
.c-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.c-line { color: var(--gray); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-tags { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.tag { font-size: 12.5px; font-weight: 600; background: var(--paper); color: var(--gray); padding: 1px 7px; border-radius: 5px; }
.tag.red { background: var(--red-soft); color: var(--red-dark); }
.tag.good { background: var(--pine-soft); color: var(--pine); }
.ch { font-size: 12.5px; font-weight: 700; padding: 1px 7px; border-radius: 5px; display: inline-flex; align-items: center; gap: 5px; }
.ch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ch-whatsapp { background: #E3F6EA; color: #137A3E; }
.ch-instagram { background: #FCE4F1; color: #B0257A; }
.unread { background: var(--red); color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 0 7px; margin-left: 6px; }
.col-more { text-align: center; padding: 6px; }

/* ---------------- Müşteri çekmecesi ---------------- */
.scrim { position: fixed; inset: 0; background: rgba(17,17,17,.35); z-index: 20; }
.drawer { position: fixed; top: 0; right: 0; height: 100vh; width: min(960px, 100vw); background: var(--paper); z-index: 21; transform: translateX(102%);
  transition: transform .22s ease-out; display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0,0,0,.4); }
.drawer.open { transform: none; }
.d-head { background: var(--surface); padding: 18px 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.d-head h2 { font-family: var(--display); font-style: italic; font-stretch: 75%; font-weight: 800; font-size: 28px; line-height: 1; }
.d-meta { color: var(--muted); font-size: 14px; margin-top: 4px; }
.d-meta b { color: var(--black); }
.d-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.d-close { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; color: var(--muted); }
.status-pill { display: inline-block; font-family: var(--text); font-style: normal; font-stretch: 100%; font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 5px; vertical-align: middle; margin-left: 8px; background: var(--paper); color: var(--gray); }
.status-pill.s-new { background: var(--red-soft); color: var(--red-dark); }
.status-pill.s-sale { background: var(--pine-soft); color: var(--pine); }
.status-pill.s-unreachable { background: var(--amber-soft); color: var(--amber); }
.d-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 330px; gap: 16px; padding: 16px 22px; overflow: auto; }
.chat { background: #E9E4DC; border-radius: var(--r); display: flex; flex-direction: column; min-height: 420px; }
.msgs { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 0; max-height: calc(100vh - 190px); }
.msg { max-width: 80%; padding: 7px 10px 4px; border-radius: 9px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.msg.out { background: #D9FDD3; align-self: flex-end; border-top-right-radius: 2px; }
.msg.out.bot { background: #F4F6F8; }
.msg .meta { font-size: 11.5px; color: #667781; text-align: right; margin-top: 3px; }
.msg .err { font-size: 12px; margin: 2px 0 0; min-height: 0; }
.composer { display: flex; gap: 8px; padding: 10px; background: #DCD6CC; border-radius: 0 0 var(--r) var(--r); }
.composer textarea { flex: 1; resize: none; height: 44px; }
.window-note { font-size: 13px; text-align: center; color: var(--amber); background: var(--amber-soft); padding: 8px; border-radius: 0 0 var(--r) var(--r); font-weight: 600; }
.d-side { display: flex; flex-direction: column; gap: 12px; }
.box { background: var(--surface); border-radius: var(--r); padding: 14px 16px; }
.box h3 { font-size: 16px; margin-bottom: 10px; }
.kv { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; font-size: 14.5px; }
.kv dt { color: var(--muted); }
.kv dd { font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.row { display: flex; gap: 6px; margin-top: 8px; }
.row input, .row select { flex: 1; }
.timeline { list-style: none; font-size: 14px; max-height: 220px; overflow: auto; }
.timeline li { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.timeline small { display: block; color: var(--muted); }

/* ---------------- Raporlar ---------------- */
.headline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); }
.kpi { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpi:nth-child(4n) { border-right: 0; }
.kpi span { display: block; color: var(--muted); font-size: 14px; font-weight: 600; }
.kpi b { font-size: 34px; line-height: 1.1; }
.kpi.red b { color: var(--red); }
.kpi.good b { color: var(--pine); }
.r-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.r-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { background: var(--surface); border-radius: var(--r); padding: 18px 20px; min-width: 0; }
.panel h2 { font-size: 18px; }
.panel .sub { margin-bottom: 12px; }
.funnel { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.f-row { display: grid; grid-template-columns: 210px 1fr 90px; gap: 10px; align-items: center; font-size: 14.5px; }
.f-bar { height: 26px; background: var(--paper); }
.f-bar i { display: block; height: 100%; background: var(--black); clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); min-width: 4px; }
.f-row:last-child .f-bar i { background: var(--red); }
.f-n { text-align: right; font-weight: 700; }
.f-n small { color: var(--muted); font-weight: 600; margin-left: 4px; }
.bars .f-row { grid-template-columns: 1fr 1.2fr 64px; }
.bars .f-bar i { background: var(--gray); }
.daily { display: flex; align-items: flex-end; gap: 3px; height: 190px; margin-top: 10px; overflow-x: auto; }
.day { flex: 1; min-width: 12px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.day .b { width: 100%; background: #C9CED3; position: relative; border-radius: 3px 3px 0 0; }
.day .b s { position: absolute; left: 0; right: 0; bottom: 0; background: var(--red); border-radius: 3px 3px 0 0; }
.day small { font-size: 10px; color: var(--muted); margin-top: 3px; }
.legend { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-top: 8px; }
.legend span { width: 12px; height: 12px; display: inline-block; margin-left: 8px; }
.lg-a { background: #C9CED3; } .lg-b { background: var(--red); }
.table-wrap { overflow-x: auto; margin-top: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-weight: 700; font-size: 13.5px; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
tr.top td { background: #FAFAFA; }
.late-n { color: var(--red); font-weight: 800; }
.r-foot { text-align: right; }

/* Mağazalar */
.store-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.store { background: var(--surface); border-radius: var(--r); padding: 16px 18px; position: relative; overflow: hidden; line-height: 1.6; font-size: 14.5px; }
.store::before { content: ""; position: absolute; top: 0; right: 18px; width: 16px; height: 34px; background: var(--red); transform: skewX(var(--slant)); }
.store h3 { font-family: var(--display); font-style: italic; font-stretch: 75%; font-weight: 800; font-size: 22px; margin-bottom: 6px; }
.store dl { display: grid; grid-template-columns: 82px 1fr; gap: 2px 8px; }
.store dt { color: var(--muted); }
.store .missing { color: var(--amber); font-weight: 600; }

/* ---------------- Yorumlar ---------------- */
.nav-badge { margin-left: auto; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 0 7px; line-height: 20px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px; font-weight: 700; cursor: pointer; color: var(--gray); }
.chip.active { background: var(--black); border-color: var(--black); color: #fff; }
.chip b { margin-left: 6px; font-weight: 800; }
.rv-list { display: flex; flex-direction: column; gap: 10px; }
.rv { position: relative; background: var(--surface); border-radius: var(--r); padding: 14px 18px 14px 26px; overflow: hidden; }
.rv::before { content: ""; position: absolute; left: 9px; top: 14px; height: 26px; width: 7px; transform: skewX(var(--slant)); background: var(--line); }
.rv.s-negative::before { background: var(--red); }
.rv.s-question::before { background: #E3A500; }
.rv.s-positive::before { background: var(--pine); }
.rv.late { box-shadow: 0 0 0 2px var(--red); }
.rv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.rv-head b { color: var(--black); font-size: 15px; }
.rv-head .when { margin-left: auto; }
.sent { font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 5px; }
.sent.s-negative { background: var(--red-soft); color: var(--red-dark); }
.sent.s-question { background: var(--amber-soft); color: var(--amber); }
.sent.s-positive { background: var(--pine-soft); color: var(--pine); }
.sent.s-neutral { background: var(--paper); color: var(--gray); }
.ch-google { background: #E8F0FE; color: #1A56C4; }
.rv-text { font-size: 16px; margin: 8px 0 4px; max-width: 75ch; overflow-wrap: anywhere; }
.rv-replies { margin: 8px 0 0; padding-left: 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--gray); display: flex; flex-direction: column; gap: 4px; }
.rv-replies small { color: var(--muted); }
.rv-more { margin-top: 10px; display: grid; grid-template-columns: 1fr 260px; gap: 14px; }
.rv-more textarea { width: 100%; height: 64px; resize: vertical; }
.rv-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.rv-hist { list-style: none; font-size: 13px; color: var(--muted); max-height: 150px; overflow: auto; }
.rv-hist li { padding: 3px 0; border-bottom: 1px dashed var(--line); }
.rv-empty { background: var(--surface); border: 1.5px dashed var(--line); border-radius: var(--r); padding: 22px; color: var(--muted); }
@media (max-width: 860px) { .rv-more { grid-template-columns: 1fr; } .rv-head .when { margin-left: 0; } }

/* Bildirim */
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: var(--black); color: #fff; padding: 11px 18px; border-radius: 9px; z-index: 40; font-weight: 600; max-width: 90vw; }
.toast.alarm { background: var(--red); }

/* Duyarlı */
@media (max-width: 1100px) {
  .d-body, .r-grid, .r-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login-art { min-height: 260px; }
  .shell { grid-template-columns: minmax(0, 1fr); }
  .headline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi:nth-child(2n) { border-right: 0; }
  .kpi b { font-size: 28px; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; }
  .side-title { display: none; }
  .logo.small { width: 110px; }
  .nav { flex-direction: row; order: 3; width: 100%; overflow-x: auto; }
  .nav-btn { font-size: 15px; padding: 8px 10px; white-space: nowrap; }
  .nav-btn.active::before { left: 4px; top: auto; bottom: 0; height: 4px; width: auto; right: 4px; }
  .side-foot { margin: 0 0 0 auto; flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
  .side-foot .wa-state { display: none; }
  .me { display: none; }
  .head, .view { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 30px; }
  .filters, .filters input { width: 100%; }
  .filters select { flex: 1; }
  .stat b { font-size: 26px; }
  .ticket { flex-basis: 78vw; }
  .f-row { grid-template-columns: 120px 1fr 70px; }
}
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }
