:root {
  color-scheme: light;
  --ink: #17262d;
  --ink-deep: #112e38;
  --ink-mid: #214550;
  --accent: #127386;
  --accent-hover: #0f5d6d;
  --accent-soft: #e4f2f4;
  --violet: #4e2a78;
  --violet-soft: #f1edf6;
  --page: #f3f7f8;
  --white: #fff;
  --text: #17262d;
  --muted: #4d636c;
  --line: #d7e2e6;
  --light: #e9f0f2;
  --danger: #a1293d;
  --heading-font: "Inter Tight", system-ui, sans-serif;
  --body-font: "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--text); font: 1rem/1.5 var(--body-font); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading-font); letter-spacing: -.035em; line-height: 1.18; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.65rem); font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 800; }
h3 { font-size: 1.02rem; font-weight: 800; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
svg { flex: 0 0 auto; }
.icon { width: 1.18em; height: 1.18em; }
.skip { position: fixed; z-index: 5; top: 1rem; left: 1rem; padding: .7rem 1rem; transform: translateY(-200%); background: var(--accent); color: var(--white); }
.skip:focus { transform: none; }
.loading-page { min-height: 100dvh; display: grid; place-content: center; justify-items: center; gap: 1rem; color: var(--muted); }
.spinner { width: 23px; height: 23px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand img { display: block; }
.brand-lockup { object-fit: contain; object-position: left center; }
.brand-symbol { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 5px; background: var(--white); }
.brand-symbol img { object-fit: contain; }
.brand-text { display: grid; gap: .19rem; font: 800 1.35rem/.82 var(--heading-font); letter-spacing: -.045em; }
.brand-text span { color: currentColor; font-size: .62em; letter-spacing: .095em; }
.btn { min-height: 45px; display: inline-flex; justify-content: center; align-items: center; gap: .5rem; border: 1px solid transparent; border-radius: 5px; padding: .65rem 1rem; color: var(--white); background: var(--accent); text-decoration: none; white-space: nowrap; font-weight: 700; font-size: .91rem; }
.btn:hover { background: var(--accent-hover); }
.btn.secondary { color: var(--ink); background: var(--white); border-color: var(--line); }
.btn.secondary:hover { background: var(--light); }
.btn.ghost { color: var(--ink); background: transparent; }
.btn.ghost:hover { background: var(--light); }
.btn.dark { color: var(--white); background: var(--ink); }
.btn.dark:hover { background: var(--ink-mid); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #882336; }
.btn.small { min-height: 37px; padding: .4rem .65rem; border-radius: 4px; font-size: .875rem; }
.btn.icon-btn { width: 44px; padding: .55rem; }
.muted { color: var(--muted); }
.meta { font-size: .875rem; color: var(--muted); }
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(370px, .86fr) minmax(300px, 1.14fr); }
.entry { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; justify-items: start; gap: 1.8rem; padding: clamp(1.5rem, 4.7vw, 4.3rem); }
.entry-content { width: min(100%, 440px); align-self: center; }
.entry-content h1 { font-size: clamp(2.55rem, 5.4vw, 4rem); letter-spacing: -.06em; margin-top: .45rem; }
.eyebrow { color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }
.entry-content form { display: grid; gap: 1.1rem; margin-top: 2rem; }
.entry-content form button[type=submit] { margin-top: .28rem; min-height: 48px; background: var(--accent); }
.entry-content form button[type=submit]:hover { background: var(--accent-hover); }
.back-link { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .91rem; display: inline-flex; min-height: 42px; align-items: center; gap: .5rem; }
.back-link:hover { color: var(--ink); text-decoration: underline; }
.login-side { min-width: 0; margin: .85rem .85rem .85rem 0; border-radius: 5px; background: #112e38 url('/images/baran-hero.webp') 63% center / cover no-repeat; }
.password-input { display: flex; position: relative; }
.password-input input { padding-right: 3.2rem; }
.password-input .btn { position: absolute; top: 3px; right: 4px; min-height: 37px; }
.shell { min-height: 100dvh; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; color: var(--white); background: var(--ink-deep); padding: 1.8rem 1rem 1rem; z-index: 4; }
.sidebar > .brand { margin: 0 .75rem 2rem; padding-block-end: 1.65rem; border-bottom: 1px solid #31515d; }
.side-label { padding: 0 .75rem .7rem; color: #b0c5ce; font-size: .8rem; font-weight: 700; letter-spacing: .04em; }
.side-nav { display: grid; gap: .15rem; }
.nav-link { display: flex; align-items: center; gap: .75rem; min-height: 45px; padding: .7rem .75rem; font-size: .92rem; color: #e9f3f7; font-weight: 600; border-left: 2px solid transparent; border-radius: 4px; text-decoration: none; }
.nav-link:hover { background: var(--ink-mid); }
.nav-link[aria-current=page] { color: var(--white); background: var(--ink-mid); border-left-color: #66c6d3; font-weight: 700; }
.side-footer { margin-top: auto; padding-top: 1rem; }
.side-user { padding: .8rem .45rem .15rem; display: flex; align-items: center; gap: .65rem; border-top: 1px solid #31515d; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 5px; color: #f4edfc; background: #4e2a78; font: 800 .86rem/1 var(--heading-font); }
.side-user-info { min-width: 0; display: grid; }
.side-user-info strong { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: .875rem; }
.side-user-info span { color: #b7cad2; font-size: .82rem; }
.backdrop { display: none; }
.topbar { background: var(--white); border-bottom: 1px solid var(--line); min-height: 70px; padding: .55rem clamp(1.15rem, 3vw, 2.65rem); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar-left { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.topbar-left h2 { font-size: 1rem; letter-spacing: -.02em; }
.top-actions { display: flex; gap: .35rem; align-items: center; }
.menu-toggle { display: none; }
.drawer-close { display: none; }
.content { padding: clamp(1.15rem, 3.4vw, 2.7rem); display: grid; align-content: start; gap: 1.35rem; max-width: 1450px; margin-inline: auto; }
.page-head, .card-head, .dialog-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.page-head p { margin-top: .45rem; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.hero { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .2rem 0 1.45rem; border-bottom: 1px solid var(--line); }
.hero h1 { margin: .25rem 0 0; font-size: clamp(2.05rem, 4vw, 3.4rem); letter-spacing: -.055em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 5px; background: var(--white); }
.card { border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.stat { min-width: 0; display: flex; align-items: flex-start; gap: .85rem; padding: 1.15rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-icon { width: 39px; height: 39px; flex: 0 0 auto; display: grid; place-items: center; color: var(--ink); border-radius: 5px; background: var(--light); }
.stat .stat-icon { color: var(--accent); background: var(--accent-soft); }
.stat strong { display: block; font: 700 2.25rem/1.04 var(--heading-font); letter-spacing: -.035em; font-variant-numeric: tabular-nums; margin: .25rem 0 .1rem; }
.stat-label { font-size: .87rem; color: var(--muted); font-weight: 600; }
.dashboard-grid { display: grid; gap: 1.1rem; align-items: start; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.card { padding: clamp(1rem, 2vw, 1.35rem); min-width: 0; }
.card-head + * { margin-top: 1rem; }
.list { list-style: none; padding: 0; margin-bottom: 0; }
.list li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.list li:last-child { padding-bottom: .12rem; }
.list-main { display: flex; min-width: 0; align-items: center; gap: .65rem; overflow-wrap: anywhere; }
.list-main strong, .table strong { display: block; }
.list-right { flex: 0 0 auto; }
.agenda-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); align-items: start; gap: 1rem; }
.agenda-list { margin-top: .7rem; }
.agenda-item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .4rem; flex: 0 0 auto; }
.agenda-item-actions time { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.agenda-group .agenda-item-actions { flex-direction: column; align-items: flex-end; }
.agenda-tag-overdue { color: var(--danger); background: #fcedf0; }
.agenda-tag-today { color: var(--violet); background: var(--violet-soft); }
.agenda-tag-upcoming { color: var(--accent-hover); background: var(--accent-soft); }
.chips .tag strong { margin-inline-start: .35rem; }
.agenda-empty { margin-top: .8rem; color: var(--muted); font-size: .92rem; }
.visit-follow-up { padding-top: 1rem; border-top: 1px solid var(--line); }
.table-wrap { width: 100%; overflow: auto; }
.table { width: 100%; border-collapse: collapse; text-align: left; font-size: .92rem; }
.table th { font-size: .85rem; text-transform: none; font-weight: 700; color: var(--muted); background: var(--page); }
.table td, .table th { padding: .75rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; overflow-wrap: anywhere; }
.table th:first-child { border-radius: 4px 0 0 0; }
.table th:last-child { border-radius: 0 4px 0 0; }
.table tr:last-child td { border-bottom: 0; }
.table .row-actions { text-align: right; white-space: nowrap; }
.table .table-price { white-space: nowrap; }
.tag { display: inline-flex; width: fit-content; align-items: center; border-radius: 4px; padding: .24rem .55rem; color: var(--ink); background: var(--light); font-size: .83rem; font-weight: 700; }
.tag-new { color: #126376; background: #e0f2f4; }
.tag-called { color: #2e5267; background: #e8f0f4; }
.tag-priced { color: var(--violet); background: var(--violet-soft); }
.tag-ordered { color: #2d5843; background: #e5f1e7; }
.chips { display: flex; gap: .3rem; flex-wrap: wrap; }
.status-tabs { display: flex; flex-wrap: wrap; gap: .45rem; }
.status-tabs .btn[aria-pressed=true] { background: var(--ink); color: var(--white); }
.quote-toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .9rem; }
.quote-search { width: min(100%, 19rem); }
.quote-filters { display: grid; grid-template-columns: 1.35fr repeat(2, minmax(0, 1fr)); gap: .75rem; }
.quote-filters .quote-search { width: 100%; }
.quote-export { align-items: center; }
.quote-list-followup { display: flex; flex-wrap: wrap; gap: .25rem .45rem; align-items: center; }
.sales-queue { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.quote-reference { color: var(--violet); white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
.quote-reference-banner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; padding: .75rem .85rem; border: 1px solid #ded2ec; border-radius: 5px; background: var(--violet-soft); }
.quote-reference-banner span { font-size: .88rem; font-weight: 600; }
.quote-reference-banner strong { font-size: 1.05rem; }
.quote-lines { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .5rem; }
.quote-lines li { display: grid; gap: .65rem; padding: .75rem; border: 1px solid var(--line); border-radius: 5px; background: var(--page); }
.quote-line-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem; }
.quote-line-head strong { overflow-wrap: anywhere; }
.quote-lines .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quote-workspace-tabs { padding-bottom: .75rem; border-bottom: 1px solid var(--line); }
.quote-workspace-pane { display: grid; gap: 1rem; min-width: 0; }
.sales-history { border-top: 1px solid var(--line); padding-top: .9rem; }
.sales-history > p { margin-top: .4rem; }
.sales-history ol { padding: 0; margin: .55rem 0 0; list-style: none; }
.sales-history li { padding: .55rem 0 .55rem .7rem; border-left: 2px solid var(--line); }
.sales-history li p { white-space: pre-wrap; overflow-wrap: anywhere; }
.offer-line { min-inline-size: 0; padding: .7rem .8rem .8rem; border: 1px solid var(--line); border-radius: 5px; background: var(--page); }
.offer-line legend { font-weight: 700; padding-inline: .3rem; }
.offer-line > .meta { margin-bottom: .5rem; }
.offer-total { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .75rem .9rem; background: var(--accent-soft); border-radius: 5px; }
.offer-total strong { color: var(--accent-hover); font-variant-numeric: tabular-nums; }
.offer-version { display: grid; gap: .65rem; border: 1px solid var(--line); border-radius: 6px; padding: .95rem; }
.offer-version .card-head + * { margin-top: 0; }
.offer-version-status { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.offer-version-lines { list-style: none; padding: 0; margin: 0; }
.offer-version-lines li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; padding: .42rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.offer-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); gap: .65rem; margin: .2rem 0; }
.offer-facts dt { color: var(--muted); font-size: .83rem; }
.offer-facts dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.table-actions { justify-content: flex-end; }
.reference-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; }
.tag-enabled { color: var(--accent-hover); background: var(--accent-soft); }
.assistant-answer-cell { max-width: 42rem; }
.assistant-answer-preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: .18rem; white-space: pre-line; }
.assistant-answer-text textarea { min-height: 130px; }
.assistant-enabled { align-self: end; min-height: 45px; }
.field-hint { display: block; margin-top: .3rem; color: var(--muted); font-size: .86rem; }
.empty { text-align: center; display: grid; align-content: center; justify-items: center; min-height: 145px; padding: 1.2rem .25rem; gap: .3rem; color: var(--muted); }
.empty .stat-icon { margin-bottom: .2rem; }
.empty strong { color: var(--text); }
.section-form { display: grid; gap: 1rem; }
.form-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid > .wide { grid-column: 1 / -1; }
label:not(.check) { display: grid; align-content: start; gap: .32rem; min-width: 0; color: var(--text); font-size: .9rem; font-weight: 700; }
input:not([type=checkbox]), textarea, select { min-height: 45px; width: 100%; border: 1px solid #c4d4da; border-radius: 5px; padding: .62rem .72rem; color: var(--text); background: var(--white); font-weight: 400; }
select { appearance: none; padding-right: 2rem; background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%234d636c' stroke-width='1.8' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right .55rem center; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #627680; }
textarea { resize: vertical; min-height: 82px; }
input[type=file] { padding: .45rem; }
input[type=file]::file-selector-button { border: 0; padding: .3rem .55rem; margin-right: .45rem; border-radius: 6px; background: var(--light); color: var(--ink); font-weight: 700; cursor: pointer; }
.check-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.check-set legend { font-weight: 700; font-size: .9rem; padding: 0; margin-bottom: .35rem; }
.checks { display: flex; flex-wrap: wrap; gap: .45rem; }
.check { min-height: 42px; display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .65rem; border: 1px solid var(--line); border-radius: 5px; font-size: .9rem; font-weight: 700; cursor: pointer; }
.check:has(input:checked) { background: var(--accent-soft); border-color: #74a9b5; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; margin: 0; }
.form-error { color: var(--danger); background: #fcedf0; border-radius: 5px; padding: .65rem .75rem; font-size: .9rem; }
.form-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; align-items: end; }
.form-filters .actions { grid-column: 1 / -1; }
.form-info { display: flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .9rem; }
details.filters { padding-bottom: 1rem; }
.filters > summary { cursor: pointer; font-weight: 800; }
.filters > form { margin-top: .85rem; }
.editor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: .6rem; }
.category { display: flex; align-items: center; gap: .55rem; background: var(--page); padding: .65rem; border: 1px solid var(--line); border-radius: 5px; min-width: 0; text-align: left; font-size: .9rem; font-weight: 700; }
.category:hover { background: var(--light); }
.category span { flex: 1; overflow-wrap: anywhere; }
.thumb { display: block; width: 43px; height: 43px; aspect-ratio: 1; border-radius: 4px; object-fit: cover; background: var(--light); }
.product-main { display: flex; align-items: center; gap: .65rem; min-width: 120px; }
.detail-grid { display: grid; margin: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.detail-grid div { min-width: 0; overflow-wrap: anywhere; }
.detail-grid .wide { grid-column: 1 / -1; }
.detail-grid dt { font-size: .82rem; color: var(--muted); }
.detail-grid dd { margin: .2rem 0 0; white-space: pre-wrap; }
dialog { width: min(calc(100% - 1.5rem), 640px); max-height: min(90dvh, 870px); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.5rem); border-radius: 7px; color: var(--text); background: var(--white); box-shadow: 0 16px 66px #112e3830; overflow-y: auto; }
dialog::backdrop { background: #112e3880; }
dialog:has(.quote-workspace-tabs) { width: min(calc(100% - 1.5rem), 790px); }
.dialog-head { margin-bottom: 1rem; flex-wrap: nowrap; }
.dialog-head .btn { flex: 0 0 auto; }
.dialog-body { display: grid; gap: 1rem; }
.toast { z-index: 8; position: fixed; right: 1rem; bottom: 1rem; width: max-content; max-width: calc(100vw - 2rem); padding: .7rem 1rem; border-radius: 5px; background: var(--ink); color: var(--white); box-shadow: 0 8px 30px #112e3830; }
.mobile-only { display: none; }
@media (max-width: 1100px) {
  .form-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; width: min(82vw, 300px); height: 100dvh; padding-bottom: max(1rem, env(safe-area-inset-bottom)); transform: translateX(-100%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
  .shell.menu-open .sidebar { transform: translateX(0); visibility: visible; }
  .shell.menu-open .backdrop { display: block; position: fixed; padding: 0; border: 0; inset: 0; z-index: 3; background: #112e3870; }
  .menu-toggle { display: inline-flex; margin-left: -.33rem; }
  .drawer-close { position: absolute; top: 1.45rem; right: .65rem; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 4px; background: var(--ink-mid); color: var(--white); }
  .sidebar > .brand { padding-right: 2.9rem; }
  .btn.small { min-height: 44px; }
  .topbar { min-height: 60px; }
  .top-actions .full-label { display: none; }
  .top-actions .btn { width: 42px; padding: .45rem; }
}
@media (max-width: 720px) {
  .login { grid-template-columns: 1fr; }
  .login-side { display: none; }
  .entry { min-height: 100dvh; gap: 1.5rem; padding: 1.4rem 1.3rem max(1rem, env(safe-area-inset-bottom)); }
  .entry-content { align-self: start; margin-top: clamp(2.15rem, 8dvh, 4rem); }
  .entry-content form { margin-top: 1.45rem; }
}
@media (max-width: 610px) {
  .stat { display: grid; padding: .68rem .53rem; gap: .35rem; }
  .stat-icon { width: 34px; height: 34px; }
  .stat-label { font-size: .8rem; }
  .stat strong { font-size: 1.55rem; }
  .hero { align-items: start; padding-bottom: 1.1rem; }
  .form-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: 1fr; }
  input:not([type=checkbox]), textarea, select { font-size: 1rem; }
  .table.responsive thead { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .table.responsive, .table.responsive tbody { display: block; }
  .table.responsive tr { display: grid; gap: .45rem; border: 1px solid var(--line); padding: .7rem; border-radius: 5px; }
  .table.responsive tr + tr { margin-top: .55rem; }
  .table.responsive td { display: flex; gap: .55rem; justify-content: space-between; align-items: baseline; border: 0; padding: 0; }
  .table.responsive td:has(.chips) { align-items: start; }
  .table.responsive td:has(.chips) .chips { justify-content: flex-end; }
  .table.responsive td::before { content: attr(data-label); color: var(--muted); font-size: .82rem; }
  .table.responsive td:first-child, .table.responsive td:last-child { justify-content: flex-start; }
  .table.responsive td:first-child::before, .table.responsive td:last-child::before { content: none; }
  .table.responsive td:first-child { padding-bottom: .25rem; border-bottom: 1px solid var(--line); }
  .table.responsive .table-price { white-space: initial; }
  .table-actions { justify-content: flex-start; }
  .quote-search { width: 100%; }
  .quote-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-filters .quote-search { grid-column: 1 / -1; }
  .quote-lines .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .agenda-item-actions { flex-direction: column; align-items: flex-end; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.nav-button { width: 100%; border: 0; background: transparent; text-align: left; }
.form-filters > .wide { grid-column: 1 / -1; }
.form-filters > .wide:has([hidden]) { display: none; }
