@font-face {
  font-family: Vazirmatn;
  src: url('/Vazirmatn.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #122c2a;
  --muted: #496563;
  --line: #dce9e7;
  --brand: #087c72;
  --brand-dark: #075d56;
  --canvas: #f1f7f6;
  --green: #107d64;
  --red: #b24941;
  --orange: #985713;
  font-family: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #21aa98; outline-offset: 3px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(1.65rem, 3vw, 2.25rem); letter-spacing: -.05em; }
h2 { font-size: 1.05rem; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.pricing-controls { min-inline-size: 0; margin: 0; padding: 10px 18px 15px; border: 1px solid var(--line); border-radius: 14px; background: white; display: grid; gap: 11px; }
.pricing-controls legend { padding-inline: 5px; font-weight: 750; }
.price-range { display: grid; gap: 3px; }
.price-range > span { display: flex; justify-content: space-between; gap: 10px; }
.price-range output { font-weight: 760; color: var(--brand-dark); }
.price-range .range-ends { color: var(--muted); font-size: .78rem; }
.price-range input[type="range"] { inline-size: 100%; min-inline-size: 0; height: 28px; margin: 0; padding: 0; accent-color: var(--brand); cursor: pointer; }
.billing-periods { display: flex; flex-wrap: wrap; gap: 7px; }
.billing-periods label { display: flex; align-items: center; gap: 5px; background: var(--canvas); border: 1px solid var(--line); padding: 5px 9px; border-radius: 8px; cursor: pointer; }
.billing-periods input[type="radio"] { margin: 0; inline-size: auto; min-height: auto; accent-color: var(--brand); }
.billing-periods small { color: var(--brand-dark); }
.subscription-builder { display: grid; gap: 10px; max-inline-size: 720px; margin-block-start: 10px; }
.theme-select { display: flex; align-items: center; gap: 8px; }
body[data-theme="blue"] { --brand: #205da1; --brand-dark: #184a83; --canvas: #eff5fc; --line: #d7e4f2; --side-start: #234b75; --side-end: #142e50; }
body[data-theme="violet"] { --brand: #704eb2; --brand-dark: #5b3b97; --canvas: #f5f0fa; --line: #e6dcef; --side-start: #503679; --side-end: #33234d; }
body[data-theme="rose"] { --brand: #a44f59; --brand-dark: #863842; --canvas: #f9f0ee; --line: #efdcd8; --side-start: #733744; --side-end: #50222b; }
body[data-theme] { background: var(--canvas); }
body[data-theme] .sidebar { background: linear-gradient(165deg, var(--side-start, #123f3d), var(--side-end, #0d302f)); }
body[data-theme] .nav button[aria-current] { background: color-mix(in srgb, var(--brand) 64%, white 12%); }
body[data-theme] .button.primary { background: var(--brand); border-color: var(--brand); }
body[data-theme] .button.primary:hover { background: var(--brand-dark); }
.loading { display: grid; min-height: 100vh; place-items: center; }
.layout { display: grid; grid-template-columns: 234px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; gap: 31px; background: linear-gradient(165deg, #123f3d, #0d302f 70%, #103836); color: #f1fffc; border-inline-end: 1px solid #1d5651; padding: 28px 17px 18px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 1.23rem; font-weight: 800; padding-inline: 8px; }
.brand-mark { display: grid; gap: 3px; align-content: center; justify-items: center; width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; color: white; background: var(--brand); box-shadow: 0 6px 12px #08554d35; }
.brand-mark i { width: 17px; height: 5px; background: currentColor; border-radius: 2px; }
.brand-mark i:nth-child(2) { width: 13px; opacity: .85; }
.brand-mark i:nth-child(3) { width: 9px; opacity: .7; }
.nav-label { color: #b4d7d1; font-size: .79rem; padding: 0 12px 10px; }
.nav { display: grid; gap: 5px; }
.nav button { width: 100%; text-align: start; border: 0; border-radius: 9px; background: transparent; padding: 10px 12px; color: #c9e6e1; display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.nav button:hover { background: #1c524d; color: white; }
.nav button[aria-current="page"] { color: #effffa; background: #205e57; font-weight: 700; }
.nav button:hover .ui-icon, .nav button[aria-current="page"] .ui-icon { color: #8aebd9; }
.nav .icon { width: 1.2rem; text-align: center; font-size: 1.12rem; line-height: 1; }
.nav .badge { margin-inline-start: auto; }
.sidebar-foot { margin-top: auto; display: grid; gap: 9px; }
.identity { display: flex; align-items: center; gap: 9px; padding: 12px 8px 0; border-top: 1px solid #28605a; min-width: 0; }
.sidebar-foot .muted, .sidebar-foot .link-button { color: #b9dfd9; }
.sidebar-foot .link-button:hover { color: white; }
.identity > div { min-width: 0; }
.identity strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .87rem; }
.avatar { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--brand-dark); background: #dff3ef; font-weight: 700; }
.main { min-width: 0; }
.topbar { height: 67px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; border-bottom: 1px solid var(--line); padding: 0 clamp(16px, 3.2vw, 48px); font-size: .87rem; }
.topbar strong { color: var(--ink); }
.content { max-width: 1510px; margin: auto; padding: 28px clamp(16px, 3.2vw, 48px) 36px; }
.heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.heading p { font-size: .91rem; margin-top: 3px; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.button { border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); padding: 8px 14px; font-size: .87rem; font-weight: 700; min-height: 41px; white-space: nowrap; }
.button:hover { background: #edfaf6; }
.primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.primary:hover { background: var(--brand-dark); }
.link-button { border: 0; background: transparent; padding: 4px 5px; color: var(--brand-dark); font-size: .86rem; font-weight: 700; }
.link-button:hover { text-decoration: underline; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 3px 8px #13443f12; min-width: 0; }
.stat { padding: 15px 15px 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; }
.stat-name { color: var(--muted); font-size: .86rem; align-self: center; }
.stat-icon { width: 35px; height: 35px; border-radius: 9px; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; }
.teal { color: var(--brand-dark); background: #dff3ef; }
.mint { color: var(--green); background: #e1f7f0; }
.sky { color: #12616e; background: #e2f2f6; }
.amber { color: var(--orange); background: #fff3e1; }
.stat strong { font-family: "Segoe UI", Tahoma, sans-serif; font-size: 1.95rem; line-height: 1.18; letter-spacing: -.035em; grid-column: 1 / -1; }
.stat p { grid-column: 1 / -1; color: var(--muted); font-size: .79rem; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 16px 17px 12px; }
.card-header p { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .78rem; }
.legend span { white-space: nowrap; }
.legend span::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-inline-end: 5px; border-radius: 3px; background: var(--brand); }
.legend span:last-child::before { background: #60b8a5; }
.chart { display: grid; grid-template-columns: minmax(0, 1fr) 25px; padding: 0 18px 13px; gap: 7px; direction: ltr; }
.ticks { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: space-between; text-align: center; height: 130px; color: var(--muted); font-size: .72rem; }
.bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; background: repeating-linear-gradient(to top, var(--line) 0px, var(--line) 1px, transparent 1px, transparent 25%); background-size: 100% 124px; background-repeat: no-repeat; background-position: top; }
.bar-day { display: grid; grid-template-rows: 124px 24px; text-align: center; font-size: .71rem; color: var(--muted); }
.bar-pair { display: flex; justify-content: center; align-items: end; height: 124px; gap: 4px; }
.bar-fill { display: block; width: min(27%, 22px); height: calc(var(--bar) * 1%); background: var(--brand); border-radius: 5px 5px 0 0; }
.bar-fill.out { background: #60b8a5; }
.watch { list-style: none; margin: 0; padding: 0 16px 10px; }
.watch li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); }
.watch li:first-child { border-top: 0; }
.item { display: flex; align-items: center; gap: 9px; min-width: 0; }
.item > div { min-width: 0; overflow-wrap: anywhere; }
.item strong { font-size: .86rem; display: block; }
.box-icon { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; background: #e9f4f2; border-radius: 8px; color: #365f5b; font-size: 1rem; }
.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 2px 8px; white-space: nowrap; font-size: .75rem; font-weight: 700; }
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.count::before { display: none; }
.rose { background: #fdeceb; color: var(--red); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: start; font-size: .86rem; }
th { font-weight: 700; background: #f3f8f7; color: var(--muted); white-space: nowrap; text-align: start; }
th, td { padding: 9px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: none; }
td { overflow-wrap: anywhere; }
td.nowrap { white-space: nowrap; }
.empty { padding: 22px 16px; color: var(--muted); text-align: center; font-size: .9rem; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 16px 14px; }
.filters input { width: min(100%, 300px); }
input, select, textarea { min-width: 0; width: 100%; border: 1px solid #cddfdb; background: #fff; color: var(--ink); border-radius: 8px; padding: 8px 10px; }
select { appearance: none; padding-inline-end: 31px; background-image: linear-gradient(45deg, transparent 50%, #52726c 50%), linear-gradient(135deg, #52726c 50%, transparent 50%); background-size: 5px 5px; background-position: 14px center, 9px center; background-repeat: no-repeat; }
.filters select { width: auto; }
label { display: grid; gap: 4px; font-weight: 700; font-size: .85rem; }
.notice { border-radius: 9px; background: #fff3e1; color: #74420d; margin-bottom: 15px; padding: 10px 14px; font-size: .9rem; }
.error { color: #9c2c26; padding: 7px 0; font-size: .87rem; }
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-message { padding: clamp(32px, 8vw, 112px); display: flex; flex-direction: column; justify-content: center; gap: 20px; background: #10413e; color: white; }
.auth-message .brand { padding: 0; }
.auth-message p { color: #dff5f0; max-width: 27rem; }
.auth-main { display: grid; place-items: center; padding: 26px; }
.auth-card { width: min(100%, 430px); padding: 24px; }
.auth-card form, .form-layout { display: grid; gap: 13px; margin-top: 15px; }
.auth-card > .actions { margin-top: 14px; }
dialog { width: min(620px, calc(100% - 24px)); max-height: 90vh; overflow: auto; border: 1px solid var(--line); border-radius: 15px; padding: 20px; color: var(--ink); }
dialog::backdrop { background: #0f302e90; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dialog-head h2 { font-size: 1.2rem; }
.dialog-close { font-size: 1.25rem; padding: 1px 9px; min-height: 32px; }
.line-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; gap: 7px; }
.lines { display: grid; gap: 10px; }
#toast:empty { display: none; }
#toast { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 5; background: #103a36; color: white; padding: 10px 16px; border-radius: 9px; font-size: .9rem; max-width: calc(100% - 40px); }
.account-card { padding: 20px; display: grid; gap: 10px; }
.ui-icon { width: 1.18em; height: 1.18em; flex: 0 0 auto; vertical-align: middle; }
.stat strong { font-family: inherit; letter-spacing: -.02em; }
.nav .ui-icon { width: 19px; height: 19px; }
.brand-mark { display: grid; place-items: center; padding: 0; background: linear-gradient(145deg, #109789, #086c62); }
.brand-mark .ui-icon { width: 24px; height: 24px; }
.stat-icon .ui-icon, .report-tile .ui-icon { width: 21px; height: 21px; }
.nav button { min-height: 43px; }
.nav button[aria-current="page"] { box-shadow: inset -3px 0 #53c6b6; }
.button, .link-button, .top-date, .report-period, .detail-chips > span { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.icon-button { min-width: 41px; padding-inline: 8px; }
.sidebar { gap: 31px; }
.heading h1 { font-weight: 850; letter-spacing: -.032em; }
.filters { align-items: flex-end; }
.search-field { position: relative; width: min(100%, 310px); }
.search-field > .ui-icon { position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; padding-inline-start: 35px; }
.cell-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cell-actions button { white-space: nowrap; }
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; margin-bottom: 16px; }
.report-tile { text-align: start; color: var(--ink); padding: 14px; display: flex; align-items: center; gap: 10px; }
.report-tile:hover, .report-tile[aria-pressed="true"] { border-color: #8bd1c5; background: #eff9f7; }
.report-tile[aria-pressed="true"] { box-shadow: 0 0 0 1px #8bd1c5; }
.report-tile .stat-icon { flex: 0 0 35px; }
.report-tile strong, .report-tile small { display: block; }
.report-tile small { color: var(--muted); margin-top: 2px; font-size: .79rem; }
.report-dates { display: flex; gap: 8px; flex-wrap: wrap; }
.report-dates .date-field { width: 151px; }
.report-period { justify-self: start; }
.detail-chips { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.detail-chips > span:not(.badge) { border-radius: 8px; background: #edf5f3; padding: 5px 9px; font-size: .87rem; }
dialog.wide-dialog { width: min(870px, calc(100% - 24px)); }
.form-layout h3 { margin: 0; font-size: 1rem; }
.priced-line { grid-template-columns: minmax(0, 2fr) minmax(0, .8fr) minmax(0, 1.1fr) auto; }
.line-total { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; color: var(--muted); font-size: .83rem; }
.line-total output { color: var(--ink); font-weight: 750; }
.date-field { position: relative; display: grid; gap: 4px; min-width: 0; }
.field-label { font-weight: 700; font-size: .85rem; }
.date-trigger { width: 100%; justify-content: flex-start; }
.date-trigger svg { color: var(--brand); }
.calendar-panel { position: absolute; inset-inline-start: 0; top: calc(100% + 6px); background: white; z-index: 4; width: 268px; max-width: calc(100vw - 42px); border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 12px 32px #133f3b26; padding: 10px; }
dialog .calendar-panel { position: static; width: 100%; min-width: min(240px, 100%); box-shadow: 0 4px 16px #133f3b18; }
.calendar-head, .calendar-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.calendar-head .button { min-height: 30px; min-width: 30px; padding: 0; }
.calendar-head select { padding: 4px 7px 4px 18px; font-size: .79rem; background-position: 8px center, 3px center; }
.calendar-head select[data-calendar-select="year"] { width: 66px; flex: 0 0 66px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; margin: 8px 0; text-align: center; }
.calendar-grid abbr { color: var(--muted); font-size: .8rem; text-decoration: none; }
.calendar-grid button { height: 32px; border: 1px solid transparent; border-radius: 6px; background: #f3f8f7; color: var(--ink); font-size: .88rem; padding: 0; }
.calendar-grid button:hover { background: #dff3ef; }
.calendar-grid button[aria-current="date"] { border-color: var(--brand); }
.calendar-grid button[aria-pressed="true"] { background: var(--brand); color: white; }
.calendar-grid button:disabled { cursor: normal; opacity: .4; }
.paired-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stack-card { margin-bottom: 15px; }
.account-card + .stack-card { margin-top: 15px; }
.subscription-plans { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-option { display: grid; gap: 6px; justify-items: start; border: 1px solid var(--line); padding: 14px; border-radius: 12px; }
.preferred-plan { background: #eaf6f3; border-color: #9dcac2; }
.warehouse-switch { display: flex; align-items: center; gap: 7px; color: var(--brand-dark); min-width: 0; }
.warehouse-switch select { width: auto; max-width: 220px; padding-block: 4px; }
.sidebar { overflow-y: auto; }
.permissions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.permissions label, .inline-toggle { display: flex; align-items: center; gap: 8px; }
.permissions input, .inline-toggle input { width: auto; accent-color: var(--brand); }
.verification-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.action-link { text-decoration: none; }
.ticket-thread { display: grid; gap: 9px; }
.ticket-message { padding: 11px 13px; border: 1px solid var(--line); background: white; border-radius: 10px; }
.ticket-message.staff-message { background: #e7f5f1; }
.ticket-message header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.ticket-message p { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .warehouse-switch > span, .topbar:has(.warehouse-switch) .top-date { display: none; }
  .warehouse-switch select { max-width: 155px; }
  .subscription-plans { grid-template-columns: 1fr; }
}
.product-thumb { width: 32px; height: 32px; object-fit: cover; border-radius: 8px; flex: 0 0 32px; background: #e9f4f2; }
.product-thumb.card-thumb, .detail-chips .box-icon.card-thumb { width: 54px; height: 54px; padding: 0; flex: 0 0 54px; }
.image-picker { display: grid; grid-template-columns: 67px minmax(0, 1fr); align-items: center; gap: 12px; }
.image-preview { width: 67px; height: 67px; display: grid; place-items: center; border: 1px dashed #9bc8c2; border-radius: 10px; background: #e9f4f2; color: var(--brand-dark); }
.image-preview .ui-icon { width: 26px; height: 26px; }
.image-preview .preview-thumb { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
input[type="file"] { padding: 5px 7px; }
input[type="file"]::file-selector-button { font: inherit; margin-inline-end: 8px; border: 0; border-radius: 6px; background: #dff3ef; color: var(--brand-dark); padding: 5px 10px; cursor: pointer; }
.button, .link-button, .nav button, .report-tile, .calendar-grid button {
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .14s ease;
}
.ui-icon { transition: color .16s ease, transform .16s ease; }
button:hover .ui-icon { transform: translateY(-1px) scale(1.09); }
.button:not(.primary):hover .ui-icon, .link-button:hover .ui-icon { color: var(--brand); }
.primary:hover .ui-icon { color: #c6fff0; }
.report-tile:hover { transform: translateY(-2px); }
button:not(:disabled):active { transform: scale(.965); }
dialog[open] { animation: dialog-enter .18s ease-out; }
@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(8px) scale(.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .button, .link-button, .nav button, .report-tile, .calendar-grid button, .ui-icon { transition: none; }
  button:hover .ui-icon, .report-tile:hover, button:not(:disabled):active { transform: none; }
  dialog[open] { animation: none; }
}
@media (max-width: 1080px) {
  .layout { grid-template-columns: 190px minmax(0, 1fr); }
  .overview-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .report-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .layout { display: block; }
  .sidebar { height: auto; position: static; padding: 10px 16px; gap: 8px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .sidebar .brand { padding: 0; }
  .sidebar .brand-mark { width: 32px; height: 32px; flex-basis: 32px; }
  .nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .nav button { width: auto; padding: 6px 8px; gap: 4px; }
  .nav-label, .sidebar-foot { display: none; }
  .topbar { height: 45px; }
}
@media (max-width: 600px) {
  .heading { align-items: start; flex-direction: column; margin-bottom: 15px; }
  .content { padding-top: 18px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .overview-grid { grid-template-columns: 1fr; gap: 10px; }
  th, td { padding-inline: 10px; }
  .stat { padding: 11px; }
  .auth { grid-template-columns: 1fr; }
  .auth-message { padding: 25px; }
  .paired-fields { grid-template-columns: minmax(0, 1fr); }
  .report-grid { gap: 8px; }
  .report-tile { padding: 9px; gap: 7px; }
  .report-tile .stat-icon { flex-basis: 27px; width: 27px; height: 27px; }
  .priced-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .priced-line > label:first-child { grid-column: 1 / -1; }
  .report-dates .date-field { width: 130px; }
  .report-dates .date-field:nth-child(2) .calendar-panel { inset-inline-start: auto; inset-inline-end: 0; }
  .content { padding-inline: 10px; }
  .nav { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; padding-block-end: 5px; }
  .nav button { flex: 0 0 auto; min-height: 41px; white-space: nowrap; }
  .button, .action-link { min-height: 42px; }
  .card-header { align-items: flex-start; flex-wrap: wrap; gap: 8px; }
  .filters { flex-wrap: wrap; gap: 8px; }
  .filters .search-field { flex-basis: 100%; }
  .topbar { padding-inline: 10px; min-height: 48px; gap: 8px; }
  .topbar strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .top-date { display: none; }
}
