:root {
  color-scheme: dark;
  --bg: #07111d;
  --bg-elevated: #0b1725;
  --surface: #0f1d2d;
  --surface-2: #132338;
  --surface-3: #172a42;
  --surface-soft: rgba(255, 255, 255, .045);
  --surface-hover: rgba(70, 191, 255, .09);
  --border: rgba(171, 201, 232, .14);
  --border-strong: rgba(171, 201, 232, .24);
  --text: #f5f9ff;
  --text-2: #c2d2e4;
  --muted: #8398b0;
  --muted-2: #65798f;
  --brand: #35bdf5;
  --brand-strong: #1487f2;
  --brand-soft: rgba(53, 189, 245, .12);
  --green: #29c77d;
  --green-soft: rgba(41, 199, 125, .13);
  --amber: #f4b740;
  --amber-soft: rgba(244, 183, 64, .13);
  --red: #f46464;
  --red-soft: rgba(244, 100, 100, .13);
  --purple: #a98af8;
  --purple-soft: rgba(169, 138, 248, .13);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, .16);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, .28);
  --shadow-lg: 0 36px 100px rgba(0, 0, 0, .42);
  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --sidebar-width: 252px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #edf3f8;
  --bg-elevated: #f6f9fc;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --surface-3: #eef4f9;
  --surface-soft: rgba(12, 36, 62, .045);
  --surface-hover: rgba(20, 135, 242, .08);
  --border: rgba(36, 67, 98, .12);
  --border-strong: rgba(36, 67, 98, .22);
  --text: #0a1929;
  --text-2: #314a62;
  --muted: #667b90;
  --muted-2: #8596a8;
  --brand-soft: rgba(20, 135, 242, .10);
  --green-soft: rgba(18, 160, 96, .10);
  --amber-soft: rgba(207, 139, 17, .10);
  --red-soft: rgba(214, 63, 63, .10);
  --purple-soft: rgba(121, 88, 210, .10);
  --shadow-sm: 0 8px 24px rgba(20, 54, 86, .08);
  --shadow-md: 0 24px 60px rgba(20, 54, 86, .13);
  --shadow-lg: 0 36px 100px rgba(20, 54, 86, .18);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% -15%, rgba(53, 189, 245, .13), transparent 35rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, [role="button"] { -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(53, 189, 245, .22); outline-offset: 2px; }
img { max-width: 100%; }
.is-hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.3rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1rem; letter-spacing: -.015em; }
a { color: inherit; }

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  box-shadow: 0 14px 32px rgba(20, 135, 242, .25), inset 0 1px 0 rgba(255,255,255,.28);
  color: #fff;
  font-size: .95rem;
  font-weight: 950;
  letter-spacing: -.05em;
}
.brand-mark-xl { width: 72px; height: 72px; flex-basis: 72px; border-radius: 22px; font-size: 1.35rem; }
.brand-mark-mobile { display: none; }
.section-kicker { margin: 0 0 6px; color: var(--brand); font-size: .7rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

/* Login */
.login-shell { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(420px, .75fr); min-height: 100vh; }
.login-brand-panel {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(34px, 6vw, 78px);
  background:
    linear-gradient(120deg, rgba(4, 14, 25, .92), rgba(5, 21, 38, .72)),
    radial-gradient(circle at 75% 25%, rgba(53, 189, 245, .22), transparent 28rem),
    linear-gradient(160deg, #06101b, #0c2238 55%, #07111d);
}
.login-brand-panel::before, .login-brand-panel::after { content: ""; position: absolute; pointer-events: none; border: 1px solid rgba(120, 206, 255, .11); border-radius: 999px; }
.login-brand-panel::before { width: 560px; height: 560px; right: -260px; top: -150px; box-shadow: 0 0 0 72px rgba(120, 206, 255, .025), 0 0 0 144px rgba(120, 206, 255, .018); }
.login-brand-panel::after { width: 280px; height: 280px; left: -145px; bottom: -105px; box-shadow: 0 0 0 54px rgba(120, 206, 255, .025); }
.login-brand-lockup, .login-copy, .login-benefits, .login-copyright { position: relative; z-index: 1; }
.login-brand-lockup { display: flex; align-items: center; gap: 18px; }
.login-brand-lockup h1 { margin: -4px 0 0; font-size: 2.15rem; letter-spacing: -.07em; }
.brand-company { color: #8eacc9; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.login-copy { max-width: 760px; margin: auto 0; padding: clamp(55px, 10vh, 120px) 0; }
.login-copy h2 { max-width: 760px; margin-bottom: 22px; font-size: clamp(2.8rem, 5.5vw, 5.5rem); }
.login-copy p { max-width: 650px; margin: 0; color: #a9bfd4; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.7; }
.login-benefits { display: grid; max-width: 920px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid rgba(159, 211, 245, .12); border-radius: var(--radius-lg); background: rgba(255,255,255,.07); }
.login-benefits article { display: flex; min-height: 135px; gap: 16px; padding: 24px; background: rgba(7, 20, 34, .82); }
.login-benefits article + article { border-left: 1px solid rgba(159, 211, 245, .12); }
.login-benefits strong { display: block; margin-bottom: 7px; color: #f6fbff; }
.login-benefits p { margin: 0; color: #7f9bb4; font-size: .83rem; }
.benefit-index { color: var(--brand); font-size: .72rem; font-weight: 900; }
.login-copyright { margin: 24px 0 0; color: #5d7890; font-size: .74rem; }
.login-form-panel { display: grid; place-items: center; min-height: 100vh; padding: 32px; background: var(--bg-elevated); }
.login-card { width: min(420px, 100%); }
.login-card-header { margin-bottom: 30px; }
.login-card-header h2 { margin: 0 0 10px; font-size: 2.25rem; }
.login-card-header p:last-child { margin: 0; color: var(--muted); }
.form-stack { display: grid; gap: 18px; }
.demo-access { display: flex; justify-content: space-between; gap: 16px; padding: 13px 15px; border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: .78rem; }
.demo-access strong { color: var(--text-2); }

/* Forms */
.field, label.field { display: grid; gap: 7px; min-width: 0; color: var(--text-2); font-size: .78rem; font-weight: 800; }
.field > span:first-child { min-height: 18px; }
input, select, textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
input:hover, select:hover, textarea:hover { border-color: var(--border-strong); }
input:focus, select:focus, textarea:focus { border-color: rgba(53, 189, 245, .66); background: var(--surface); box-shadow: 0 0 0 4px rgba(53, 189, 245, .09); }
input::placeholder, textarea::placeholder { color: var(--muted-2); }
select { cursor: pointer; }
select option { background: var(--surface); color: var(--text); }
textarea { min-height: 92px; resize: vertical; }
.password-field { position: relative; }
.password-field input { padding-right: 52px; }
.password-field .icon-button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field-full, .form-grid .field-full { grid-column: 1 / -1; }
.form-section { display: grid; gap: 16px; }
.form-section + .form-section { padding-top: 22px; border-top: 1px solid var(--border); }
.form-section-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.form-section-title h4 { margin: 0; }
.form-section-title p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; }
.field-hint { margin: 1px 0 0; color: var(--muted); font-size: .7rem; font-weight: 500; }
.switch-field { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-soft); }
.switch-field span { color: var(--text-2); font-size: .78rem; font-weight: 800; }
.switch { position: relative; width: 43px; height: 24px; flex: 0 0 43px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-3); transition: .2s ease; }
.switch-track::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.22); transition: .2s ease; }
.switch input:checked + .switch-track { background: var(--brand-strong); }
.switch input:checked + .switch-track::after { transform: translateX(19px); }

/* Buttons & icons */
.button, .icon-button, .nav-item, .user-card, .floating-action, .table-action, .filter-tab, .quick-action, .catalog-pick, .step-chip {
  border: 0;
  cursor: pointer;
  font: inherit;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border-radius: 13px; padding: 10px 16px; font-size: .78rem; font-weight: 900; white-space: nowrap; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-primary { background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; box-shadow: 0 10px 28px rgba(20, 135, 242, .22); }
.button-primary:hover { box-shadow: 0 14px 34px rgba(20, 135, 242, .32); }
.button-secondary { border: 1px solid var(--border); background: var(--surface-soft); color: var(--text-2); }
.button-secondary:hover { border-color: var(--border-strong); background: var(--surface-hover); color: var(--text); }
.button-danger { border: 1px solid rgba(244, 100, 100, .22); background: var(--red-soft); color: var(--red); }
.button-success { border: 1px solid rgba(41, 199, 125, .22); background: var(--green-soft); color: var(--green); }
.button-ghost { background: transparent; color: var(--muted); }
.button-lg { min-height: 50px; border-radius: 15px; }
.button-sm { min-height: 34px; padding: 7px 11px; border-radius: 10px; font-size: .72rem; }
.button-icon, .nav-icon, [data-icon] { display: inline-grid; place-items: center; line-height: 0; }
.button-icon svg, .nav-icon svg, [data-icon] svg { width: 18px; height: 18px; stroke-width: 1.8; }
.icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; flex: 0 0 38px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); }
.icon-button:hover { border-color: var(--border); background: var(--surface-hover); color: var(--text); }
.icon-button-lg { width: 42px; height: 42px; flex-basis: 42px; }
.icon-button svg { width: 19px; height: 19px; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.button-row-end { justify-content: flex-end; }

/* App shell */
.app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; gap: 26px; padding: 22px 16px 16px; border-right: 1px solid var(--border); background: rgba(7, 17, 29, .92); backdrop-filter: blur(22px); z-index: 30; }
html[data-theme="light"] .sidebar { background: rgba(255,255,255,.93); }
.sidebar-header { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
.sidebar-brand-copy { display: grid; }
.sidebar-brand-copy strong { font-size: 1.03rem; letter-spacing: -.035em; }
.sidebar-brand-copy span { color: var(--muted); font-size: .7rem; }
.nav-list { display: grid; gap: 5px; }
.nav-item { display: flex; width: 100%; min-height: 45px; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: var(--muted); text-align: left; font-size: .79rem; font-weight: 820; }
.nav-item .nav-icon { width: 22px; }
.nav-item:hover { background: var(--surface-hover); color: var(--text-2); }
.nav-item.is-active { border-color: rgba(53, 189, 245, .15); background: var(--brand-soft); color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.sidebar-storage { margin-top: auto; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-soft); }
.sidebar-storage-header { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .68rem; }
.sidebar-storage-header strong { color: var(--green); }
.progress-track { height: 5px; margin: 10px 0 8px; overflow: hidden; border-radius: 99px; background: var(--surface-3); }
.progress-track span { display: block; width: 12%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--green)); }
.sidebar-storage p { margin: 0; color: var(--muted-2); font-size: .65rem; }
.sidebar-footer { display: grid; gap: 12px; }
.user-card { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-soft); text-align: left; }
.user-card:hover { border-color: var(--border-strong); background: var(--surface-hover); }
.user-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: .72rem; font-weight: 950; }
.user-copy { display: grid; min-width: 0; }
.user-copy strong, .user-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-copy strong { font-size: .74rem; }
.user-copy small { color: var(--muted); font-size: .64rem; }
.sidebar-footer > p { margin: 0; color: var(--muted-2); text-align: center; font-size: .61rem; }
.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 26px; padding: 18px clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--border); background: rgba(7, 17, 29, .82); backdrop-filter: blur(22px); }
html[data-theme="light"] .topbar { background: rgba(246, 249, 252, .88); }
.topbar-title h2 { margin: 0 0 4px; font-size: 1.8rem; }
.topbar-title > p:last-child { margin: 0; color: var(--muted); font-size: .75rem; }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.status-pill { display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-soft); color: var(--muted); font-size: .68rem; font-weight: 800; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.status-pill.is-offline .status-dot { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-soft); }
.content-area { padding: clamp(20px, 3vw, 38px); }
.view { display: none; }
.view.is-active { display: block; animation: view-in .22s ease both; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.floating-action { display: none; }

/* Shared content */
.page-stack { display: grid; gap: 22px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.panel-body { padding: 20px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.panel-header h3, .panel-header h4 { margin: 0; }
.panel-header p { margin: 4px 0 0; color: var(--muted); font-size: .75rem; }
.panel-title-row { display: flex; align-items: center; gap: 11px; }
.panel-title-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.panel-title-icon svg { width: 18px; height: 18px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.toolbar-group { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.search-field { position: relative; min-width: min(330px, 100%); }
.search-field input { padding-left: 40px; background: var(--surface); }
.search-field [data-icon] { position: absolute; left: 12px; top: 50%; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.filter-select { width: auto; min-width: 145px; }
.empty-state { display: grid; place-items: center; min-height: 240px; padding: 34px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--muted); text-align: center; }
.empty-state-icon { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 14px; border-radius: 18px; background: var(--brand-soft); color: var(--brand); }
.empty-state h3 { margin: 0 0 8px; }
.empty-state p { max-width: 470px; margin: 0 0 18px; font-size: .82rem; }

/* Dashboard */
.dashboard-welcome { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 16px; }
.welcome-card { position: relative; display: flex; min-height: 210px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 26px; border: 1px solid rgba(53, 189, 245, .18); border-radius: var(--radius-xl); background: linear-gradient(135deg, #0b2a46, #0d1d30 60%, #0b1726); box-shadow: var(--shadow-md); }
.welcome-card::after { content: ""; position: absolute; width: 300px; height: 300px; right: -95px; top: -120px; border: 1px solid rgba(122, 217, 255, .18); border-radius: 50%; box-shadow: 0 0 0 45px rgba(53,189,245,.025), 0 0 0 90px rgba(53,189,245,.018); }
.welcome-card > * { position: relative; z-index: 1; }
.welcome-card h3 { max-width: 650px; margin: 0 0 9px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.welcome-card p { max-width: 650px; margin: 0; color: #9eb7cc; }
.welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.quick-actions-panel { display: grid; grid-template-rows: auto 1fr; }
.quick-actions-list { display: grid; gap: 8px; padding: 12px; }
.quick-action { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; text-align: left; }
.quick-action:hover { border-color: var(--border); background: var(--surface-hover); }
.quick-action-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.quick-action strong { display: block; font-size: .76rem; }
.quick-action small { color: var(--muted); font-size: .65rem; }
.quick-action > svg { width: 16px; color: var(--muted); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.metric-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.metric-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.metric-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.metric-icon.green { background: var(--green-soft); color: var(--green); }
.metric-icon.amber { background: var(--amber-soft); color: var(--amber); }
.metric-icon.purple { background: var(--purple-soft); color: var(--purple); }
.metric-trend { color: var(--muted); font-size: .67rem; font-weight: 800; }
.metric-card strong { display: block; margin: 18px 0 2px; font-size: 1.75rem; letter-spacing: -.05em; }
.metric-card > span { color: var(--muted); font-size: .7rem; }
.pipeline { display: grid; gap: 11px; }
.pipeline-row { display: grid; grid-template-columns: 95px minmax(100px, 1fr) 38px; align-items: center; gap: 12px; }
.pipeline-row > span { color: var(--text-2); font-size: .72rem; font-weight: 750; }
.pipeline-row > strong { color: var(--muted); text-align: right; font-size: .72rem; }
.pipeline-track { height: 9px; overflow: hidden; border-radius: 999px; background: var(--surface-3); }
.pipeline-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-strong)); }
.pipeline-row[data-status="Aprobada"] i { background: linear-gradient(90deg, #38d391, #1ca96d); }
.pipeline-row[data-status="Rechazada"] i { background: linear-gradient(90deg, #f47a7a, #d84d4d); }
.pipeline-row[data-status="Vencida"] i { background: linear-gradient(90deg, #f7c361, #de9f24); }
.currency-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.currency-total:last-child { border-bottom: 0; }
.currency-total span { color: var(--muted); font-size: .73rem; }
.currency-total strong { font-size: 1.25rem; letter-spacing: -.03em; }
.expiry-list { display: grid; gap: 9px; }
.expiry-item { display: grid; width: 100%; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--border); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.expiry-item:last-child { border-bottom: 0; }
.expiry-date { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 13px; background: var(--amber-soft); color: var(--amber); font-size: .69rem; font-weight: 900; text-align: center; line-height: 1.05; }
.expiry-copy { min-width: 0; }
.expiry-copy strong, .expiry-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.expiry-copy strong { font-size: .74rem; }
.expiry-copy small { color: var(--muted); font-size: .66rem; }
.expiry-item > strong { font-size: .74rem; }

/* Tables and records */
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; min-width: 840px; border-collapse: separate; border-spacing: 0; }
.data-table th { padding: 11px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); color: var(--muted); text-align: left; font-size: .65rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-2); font-size: .75rem; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--surface-hover); }
.primary-cell { min-width: 190px; }
.primary-cell strong, .primary-cell small { display: block; }
.primary-cell strong { color: var(--text); font-size: .78rem; }
.primary-cell small { margin-top: 3px; color: var(--muted); font-size: .65rem; }
.amount-cell { color: var(--text) !important; font-weight: 850; white-space: nowrap; }
.table-actions { display: flex; justify-content: flex-end; gap: 5px; }
.table-action { display: inline-grid; width: 33px; height: 33px; place-items: center; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--muted); }
.table-action:hover { border-color: var(--border); background: var(--surface-hover); color: var(--text); }
.table-action.is-danger:hover { border-color: rgba(244,100,100,.2); background: var(--red-soft); color: var(--red); }
.table-action svg { width: 16px; height: 16px; }
.record-list { display: none; gap: 10px; }
.record-card { display: grid; gap: 12px; padding: 15px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-sm); }
.record-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.record-card-header strong { font-size: .82rem; }
.record-card-header small { display: block; margin-top: 3px; color: var(--muted); font-size: .68rem; }
.record-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.record-card-grid div { display: grid; gap: 2px; }
.record-card-grid span { color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.record-card-grid strong { font-size: .74rem; }
.record-card-actions { display: flex; gap: 7px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--border); }
.status-badge, .type-badge { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 5px 9px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface-soft); color: var(--text-2); font-size: .63rem; font-weight: 900; white-space: nowrap; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.status-badge.approved { border-color: rgba(41,199,125,.18); background: var(--green-soft); color: var(--green); }
.status-badge.approved::before { background: var(--green); }
.status-badge.pending { border-color: rgba(53,189,245,.18); background: var(--brand-soft); color: var(--brand); }
.status-badge.pending::before { background: var(--brand); }
.status-badge.warning { border-color: rgba(244,183,64,.18); background: var(--amber-soft); color: var(--amber); }
.status-badge.warning::before { background: var(--amber); }
.status-badge.danger { border-color: rgba(244,100,100,.18); background: var(--red-soft); color: var(--red); }
.status-badge.danger::before { background: var(--red); }
.type-badge { border: 0; background: var(--purple-soft); color: var(--purple); }
.filter-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab { min-height: 34px; padding: 7px 11px; border: 1px solid var(--border); border-radius: 999px; background: transparent; color: var(--muted); font-size: .68rem; font-weight: 850; white-space: nowrap; }
.filter-tab:hover, .filter-tab.is-active { border-color: rgba(53,189,245,.2); background: var(--brand-soft); color: var(--brand); }
.pagination-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: .68rem; }

/* Quote composer */
.modal-root, .confirm-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 7, 16, .72); backdrop-filter: blur(7px); }
.modal-card { position: relative; z-index: 1; width: min(940px, 100%); max-height: min(92vh, 1000px); overflow: auto; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-lg); }
.modal-card.modal-wide { width: min(1240px, 100%); }
.modal-card.modal-compact { width: min(540px, 100%); }
.modal-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 15px 20px; border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(18px); }
.modal-header h3 { margin: 0; }
.modal-body { padding: 20px; }
.quote-composer { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; align-items: start; }
.quote-main { display: grid; gap: 16px; min-width: 0; }
.quote-side { position: sticky; top: 92px; display: grid; gap: 14px; }
.composer-section { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-2); }
.composer-section-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 17px; border-bottom: 1px solid var(--border); }
.composer-section-header h4 { margin: 0; }
.composer-section-header p { margin: 3px 0 0; color: var(--muted); font-size: .7rem; }
.composer-section-body { padding: 16px; }
.quote-meta-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.quote-meta-strip .field { gap: 5px; }
.quote-meta-strip input, .quote-meta-strip select { padding: 10px 11px; }
.catalog-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin-bottom: 12px; }
.catalog-picker { display: none; max-height: 285px; overflow: auto; margin-bottom: 14px; padding: 7px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-md); }
.catalog-picker.is-open { display: grid; gap: 4px; }
.catalog-pick { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid transparent; border-radius: 12px; background: transparent; text-align: left; }
.catalog-pick:hover { border-color: var(--border); background: var(--surface-hover); }
.catalog-pick-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 11px; background: var(--brand-soft); color: var(--brand); }
.catalog-pick strong, .catalog-pick small { display: block; }
.catalog-pick strong { font-size: .73rem; }
.catalog-pick small { color: var(--muted); font-size: .63rem; }
.catalog-pick-price { color: var(--text); font-size: .72rem; font-weight: 900; }
.quote-items { display: grid; gap: 9px; }
.quote-item { display: grid; gap: 10px; padding: 13px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.quote-item-top { display: grid; grid-template-columns: minmax(0, 1.5fr) 90px 95px 115px 110px 38px; gap: 8px; align-items: end; }
.quote-item .field { gap: 4px; }
.quote-item input, .quote-item select { padding: 9px 10px; border-radius: 11px; }
.quote-item-description { display: grid; grid-template-columns: minmax(0, 1fr) 105px; gap: 8px; align-items: end; }
.quote-item-description textarea { min-height: 62px; padding: 9px 10px; border-radius: 11px; }
.quote-item-total { display: grid; min-height: 62px; align-content: center; padding: 8px 10px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-soft); }
.quote-item-total span { color: var(--muted); font-size: .59rem; text-transform: uppercase; }
.quote-item-total strong { color: var(--text); font-size: .78rem; }
.drag-handle { color: var(--muted-2); cursor: grab; }
.tax-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tax-card { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.tax-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tax-card-title strong { font-size: .74rem; }
.quote-summary { padding: 17px; border: 1px solid rgba(53,189,245,.17); border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--surface-2), var(--surface)); }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0; color: var(--muted); font-size: .72rem; }
.summary-row strong { color: var(--text-2); }
.summary-row.is-total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border-strong); color: var(--text); font-size: .92rem; font-weight: 900; }
.summary-row.is-total strong { color: var(--text); font-size: 1.35rem; letter-spacing: -.04em; }
.summary-row.is-adjustment strong { color: var(--amber); }
.summary-row.is-net { color: var(--green); }
.summary-row.is-net strong { color: var(--green); }
.summary-warning { margin: 10px 0 0; padding: 9px 10px; border: 1px solid rgba(244,183,64,.17); border-radius: 11px; background: var(--amber-soft); color: var(--amber); font-size: .66rem; }
.quote-actions { display: grid; gap: 8px; }
.quote-actions .button { width: 100%; }
.autosave-note { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: .63rem; }
.autosave-note svg { width: 14px; height: 14px; color: var(--green); }

/* Quote detail */
.quote-detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.quote-detail-hero h3 { margin: 4px 0 7px; font-size: 1.65rem; }
.quote-detail-hero p { margin: 0; color: var(--muted); }
.quote-detail-total { min-width: 220px; text-align: right; }
.quote-detail-total span { display: block; color: var(--muted); font-size: .68rem; }
.quote-detail-total strong { display: block; margin: 4px 0 10px; font-size: 1.85rem; letter-spacing: -.05em; }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 14px; }
.detail-item { padding: 13px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); }
.detail-item span, .detail-item strong { display: block; }
.detail-item span { color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; }
.detail-item strong { margin-top: 4px; color: var(--text-2); font-size: .76rem; }
.history-list { display: grid; gap: 0; }
.history-item { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.history-item:last-child { border-bottom: 0; }
.history-dot { width: 9px; height: 9px; margin-top: 5px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.history-item strong, .history-item small { display: block; }
.history-item strong { font-size: .72rem; }
.history-item small { color: var(--muted); font-size: .64rem; }
.history-item time { color: var(--muted); font-size: .62rem; }

/* Settings and users */
.settings-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.settings-nav { position: sticky; top: 118px; display: grid; gap: 5px; padding: 8px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.settings-tab { display: flex; align-items: center; gap: 9px; min-height: 40px; padding: 9px 10px; border: 0; border-radius: 11px; background: transparent; color: var(--muted); text-align: left; font-size: .73rem; font-weight: 800; cursor: pointer; }
.settings-tab:hover, .settings-tab.is-active { background: var(--brand-soft); color: var(--brand); }
.settings-tab svg { width: 17px; height: 17px; }
.settings-pane { display: none; }
.settings-pane.is-active { display: grid; gap: 16px; animation: view-in .2s ease both; }
.upload-box { display: grid; min-height: 150px; place-items: center; padding: 22px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface-soft); text-align: center; }
.upload-preview { display: grid; width: 80px; height: 80px; place-items: center; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.upload-box strong { font-size: .76rem; }
.upload-box p { margin: 4px 0 12px; color: var(--muted); font-size: .67rem; }
.danger-zone { border-color: rgba(244,100,100,.25); }
.danger-zone .panel-header { border-color: rgba(244,100,100,.16); }
.user-role-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-2); }
.user-role-card .user-avatar { width: 42px; height: 42px; }

/* Modal confirm & toast */
.confirm-card { position: relative; z-index: 1; width: min(420px, 100%); padding: 26px; border: 1px solid var(--border-strong); border-radius: var(--radius-xl); background: var(--surface); box-shadow: var(--shadow-lg); text-align: center; }
.confirm-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 17px; border-radius: 18px; background: var(--amber-soft); color: var(--amber); }
.confirm-icon svg { width: 26px; height: 26px; }
.confirm-card h3 { margin: 0 0 8px; }
.confirm-card p { margin: 0 0 22px; color: var(--muted); }
.confirm-card .button-row { justify-content: center; }
.toast-root { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: grid; width: min(360px, calc(100vw - 36px)); gap: 9px; }
.toast { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: color-mix(in srgb, var(--surface) 94%, transparent); box-shadow: var(--shadow-md); backdrop-filter: blur(18px); animation: toast-in .25s ease both; }
.toast.is-leaving { animation: toast-out .2s ease both; }
.toast-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--green-soft); color: var(--green); }
.toast.danger .toast-icon { background: var(--red-soft); color: var(--red); }
.toast.warning .toast-icon { background: var(--amber-soft); color: var(--amber); }
.toast strong, .toast small { display: block; }
.toast strong { font-size: .73rem; }
.toast small { color: var(--muted); font-size: .65rem; }
.toast button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }

/* Print */
.print-area { display: none; }
@media print {
  :root { color-scheme: light; }
  body { background: #fff !important; color: #17212b !important; }
  .app-shell, .login-shell, .modal-root, .confirm-root, .toast-root { display: none !important; }
  .print-area { display: block !important; }
  .print-document { color: #17212b; font-family: Arial, Helvetica, sans-serif; font-size: 11px; }
  .print-header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: start; padding-bottom: 16px; border-bottom: 3px solid #116fba; }
  .print-company { display: flex; align-items: center; gap: 14px; }
  .print-logo { display: grid; width: 70px; height: 70px; place-items: center; overflow: hidden; border-radius: 15px; background: #081321; color: #fff; font-size: 20px; font-weight: 900; }
  .print-logo img { width: 100%; height: 100%; object-fit: contain; }
  .print-company h2 { margin: 0 0 4px; color: #0e2235; font-size: 20px; }
  .print-company p { margin: 2px 0; color: #4e5e6c; }
  .print-title { text-align: right; }
  .print-title h1 { margin: 0 0 5px; color: #116fba; font-size: 27px; letter-spacing: -.04em; }
  .print-title strong { font-size: 13px; }
  .print-title span { color: #4e5e6c; }
  .print-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 16px 0; }
  .print-box { padding: 11px 12px; border: 1px solid #cbd5df; border-radius: 9px; }
  .print-box h3 { margin: 0 0 7px; color: #116fba; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; }
  .print-table { width: 100%; border-collapse: collapse; }
  .print-table th { padding: 8px; background: #0e2235; color: #fff; font-size: 9px; text-align: left; }
  .print-table td { padding: 8px; border: 1px solid #d7e0e8; color: #263746; font-size: 10px; vertical-align: top; }
  .print-table td:last-child, .print-table th:last-child, .print-table td:nth-last-child(2), .print-table th:nth-last-child(2) { text-align: right; }
  .print-summary { width: 310px; margin: 13px 0 0 auto; }
  .print-summary-row { display: flex; justify-content: space-between; gap: 15px; padding: 5px 0; border-bottom: 1px solid #d7e0e8; }
  .print-summary-row.total { padding: 8px 0; border-top: 2px solid #0e2235; border-bottom: 0; color: #0e2235; font-size: 14px; font-weight: 900; }
  .print-terms { margin-top: 16px; }
  .print-signature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 38px; }
  .print-signature { padding-top: 34px; border-top: 1px solid #758493; text-align: center; }
  .print-signature img { display: block; max-width: 140px; max-height: 58px; margin: -58px auto 3px; object-fit: contain; }
  .print-footer { margin-top: 22px; padding-top: 10px; border-top: 1px solid #cbd5df; color: #5d6c79; text-align: center; font-size: 9px; }
  @page { size: A4; margin: 12mm; }
}

/* Responsive */
@media (max-width: 1180px) {
  .metrics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .dashboard-welcome { grid-template-columns: 1fr; }
  .quick-actions-list { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .quote-composer { grid-template-columns: 1fr; }
  .quote-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(260px, .7fr); }
  .quote-actions { align-content: end; }
}

@media (max-width: 960px) {
  :root { --sidebar-width: 100%; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand-panel { display: none; }
  .login-form-panel { padding: 22px; }
  .brand-mark-mobile { display: grid; margin-bottom: 18px; }
  .app-shell { display: block; padding-bottom: 74px; }
  .sidebar { position: fixed; inset: auto 0 0; display: block; width: 100%; height: auto; padding: 7px 8px max(7px, env(safe-area-inset-bottom)); border-top: 1px solid var(--border); border-right: 0; background: rgba(7,17,29,.96); }
  html[data-theme="light"] .sidebar { background: rgba(255,255,255,.96); }
  .sidebar-header, .sidebar-storage, .sidebar-footer { display: none; }
  .nav-list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .nav-list::-webkit-scrollbar { display: none; }
  .nav-item { min-width: 74px; min-height: 57px; flex: 1 0 74px; flex-direction: column; justify-content: center; gap: 3px; padding: 6px 4px; border-radius: 12px; font-size: .58rem; text-align: center; }
  .nav-item .nav-icon { width: auto; }
  .nav-item .nav-icon svg { width: 19px; height: 19px; }
  .nav-item.is-active { box-shadow: none; }
  .topbar { min-height: 80px; padding: 13px 16px; }
  .topbar-title h2 { font-size: 1.48rem; }
  .topbar-title > p:last-child, .status-pill, #installPwaBtn, #newQuoteTopBtn { display: none; }
  .content-area { padding: 16px 13px 22px; }
  .floating-action { position: fixed; right: 18px; bottom: 86px; z-index: 40; display: grid; width: 54px; height: 54px; place-items: center; border-radius: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-strong)); color: #fff; box-shadow: 0 18px 38px rgba(20,135,242,.34); }
  .floating-action svg { width: 23px; height: 23px; }
  .data-table-wrap { display: none; }
  .record-list { display: grid; }
  .settings-layout { grid-template-columns: 1fr; }
  .settings-nav { position: static; display: flex; overflow-x: auto; }
  .settings-tab { flex: 0 0 auto; }
  .modal-root { padding: 0; align-items: end; }
  .modal-card, .modal-card.modal-wide, .modal-card.modal-compact { width: 100%; max-height: 96vh; border-radius: 26px 26px 0 0; border-bottom: 0; }
  .modal-header { min-height: 68px; padding: 13px 16px; }
  .modal-body { padding: 15px; }
  .quote-meta-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quote-side { grid-template-columns: 1fr; }
  .quote-item-top { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quote-item-top .field:first-child { grid-column: 1 / -1; }
  .quote-item-top .table-action { position: absolute; right: 10px; top: 10px; }
  .quote-item { position: relative; padding-top: 45px; }
  .quote-item-description { grid-template-columns: 1fr; }
  .tax-options { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .form-grid, .form-grid-3, .metrics-grid { grid-template-columns: 1fr; }
  .welcome-card { min-height: 230px; padding: 21px; }
  .quick-actions-list { grid-template-columns: 1fr; }
  .panel-body, .panel-header { padding-left: 15px; padding-right: 15px; }
  .toolbar { align-items: stretch; }
  .toolbar > *, .toolbar-group, .search-field { width: 100%; }
  .toolbar-group > .filter-select { flex: 1; width: auto; min-width: 0; }
  .button-row > .button { flex: 1; }
  .quote-meta-strip { grid-template-columns: 1fr; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .quote-item-top { grid-template-columns: 1fr 1fr; }
  .quote-item-top .field:first-child, .quote-item-top .field:nth-child(4), .quote-item-top .field:nth-child(5) { grid-column: 1 / -1; }
  .quote-detail-hero { grid-template-columns: 1fr; }
  .quote-detail-total { min-width: 0; text-align: left; }
  .detail-grid { grid-template-columns: 1fr; }
  .record-card-grid { grid-template-columns: 1fr; }
  .demo-access { display: grid; }
  .toast-root { right: 10px; bottom: 86px; width: calc(100vw - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Utility widths used instead of inline styles to comply with the CSP. */
.w-0{width:0}.w-10{width:10%}.w-20{width:20%}.w-30{width:30%}.w-40{width:40%}.w-50{width:50%}.w-60{width:60%}.w-70{width:70%}.w-80{width:80%}.w-90{width:90%}.w-100{width:100%}
