:root {
  --bg: #f8f9fb;
  --white: #fff;
  --ink: #18212d;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #ae2639;
  --rose: #fff0ef;
  --jade: #e9f2ec;
  --gold: #fbf0d8;
  --blue: #edf3fa;
  --ok: #237254;
  --bad: #b42336;
  --r: 8px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 16px;
  min-height: 40px;
}
button:hover,
a:hover {
  color: var(--brand);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button.primary,
.primary-link {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}
button.primary:hover,
.primary-link:hover {
  background: #8e2030;
  color: #fff;
}
button.text {
  border: 0;
  background: transparent;
  padding: 4px 8px;
}
input,
select,
textarea {
  padding: 10px 12px;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  min-width: 0;
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #64748b;
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #64748b;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.container {
  width: calc(100% - 64px);
  max-width: 1640px;
  margin: auto;
}
.utility {
  background: #f1f3f5;
  font-size: 12px;
}
.utility > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}
.utility nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.utility button {
  border: 0;
  background: none;
  min-height: 32px;
  padding: 0;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.masthead {
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 104px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
}
.brand strong {
  font-size: 26px;
  letter-spacing: 2px;
}
.brand small {
  display: block;
  letter-spacing: 1.4px;
  font-size: 10px;
  color: var(--muted);
}
#site-search {
  display: flex;
  flex: 1;
  max-width: 600px;
  margin: auto;
}
#site-query {
  border-radius: 8px 0 0 8px;
  flex: 1;
  width: 100px;
}
#site-search button {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
  border-radius: 0 8px 8px 0;
}
.account-link span {
  display: block;
  font-weight: 600;
  font-size: 16px;
}
.account-link small {
  font-size: 12px;
  color: var(--muted);
}
.primary-nav {
  display: flex;
  gap: 40px;
  min-height: 52px;
  align-items: stretch;
}
.primary-nav a {
  display: flex;
  align-items: center;
  border-bottom: 3px solid transparent;
}
.primary-nav a[aria-current] {
  font-weight: 700;
  border-color: var(--brand);
  color: var(--brand);
}
.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  padding: 12px 0;
}
.preview-bar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.preview-bar select {
  padding: 4px 8px;
  font-size: 12px;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0 20px;
}
.breadcrumb a {
  text-decoration: underline;
}
.account-layout {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: 24px;
}
.side-nav {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 12px;
  align-self: start;
  position: sticky;
  top: 16px;
}
.side-nav h2 {
  font-size: 18px;
  margin: 4px 16px 24px;
}
.side-group {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 20px 16px 8px;
}
.side-nav a {
  display: flex;
  padding: 10px 16px;
  gap: 10px;
  align-items: center;
  border-radius: 6px;
}
.side-nav a[aria-current] {
  background: var(--rose);
  font-weight: 700;
  color: var(--brand);
}
.side-nav a:hover {
  background: var(--bg);
}
.line-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}
.page-title h1 {
  font-size: 26px;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}
.page-title p {
  margin: 0;
  color: var(--muted);
}
.page-title .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
}
.panel-head {
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 17px;
  margin: 0;
}
.panel-head a {
  font-size: 13px;
  text-decoration: underline;
}
.panel-body {
  padding: 24px;
}
.welcome {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.welcome-copy {
  padding: 32px;
  background: var(--jade);
}
.kicker {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 600;
  color: var(--muted);
}
.welcome h2 {
  font-size: 26px;
  margin: 12px 0;
}
.welcome p {
  color: var(--text);
  margin: 8px 0 24px;
}
.primary-link {
  display: inline-block;
  border-radius: 6px;
  padding: 10px 24px;
}
.welcome-links {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.welcome-links a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--bg);
  border-radius: 6px;
}
.welcome-links a:hover {
  background: var(--rose);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
}
.metric {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.metric:last-child {
  border: 0;
}
.metric strong {
  display: block;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  margin: 8px 0;
}
.metric span,
.muted {
  color: var(--muted);
}
.metric small {
  display: block;
  font-size: 12px;
}
.status-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
  overflow: auto;
}
.status-tabs button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 16px 0;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.status-tabs button[aria-pressed='true'] {
  color: var(--brand);
  border-color: var(--brand);
  font-weight: 700;
}
.filter-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: #fcfcfd;
}
.filter-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--muted);
}
.filter-form input[type='search'] {
  width: 280px;
}
.filter-form input,
.filter-form select {
  font-size: 14px;
}
.order-columns {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) 0.7fr 1.1fr 0.7fr 100px;
  padding: 12px 20px;
  background: var(--bg);
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}
.order-card {
  border: 1px solid var(--line);
  margin: 16px 24px;
  border-radius: 6px;
  overflow: hidden;
}
.order-meta {
  padding: 10px 16px;
  background: var(--bg);
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
}
.order-meta strong {
  color: var(--ink);
}
.order-row {
  display: grid;
  grid-template-columns: minmax(0, 2.6fr) 0.7fr 1.1fr 0.7fr 100px;
  gap: 20px;
  align-items: center;
  padding: 20px 16px;
}
.order-product {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}
.thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 6px;
  background-color: var(--rose);
  background-image: url('./assets/packaging-concepts-r2.png');
  background-size: 200% 200%;
  background-position: 100% 0;
}
.thumb.bag {
  background-image: url('./assets/packaging-concepts.png');
  background-position: 0 0;
}
.thumb.couplet {
  background-position: 0 100%;
}
.thumb.box {
  background-position: 100% 100%;
}
.order-product h3 {
  font-size: 16px;
  margin: 0 0 4px;
}
.order-product p {
  font-size: 13px;
  color: var(--text);
  margin: 2px 0;
}
.order-product small {
  font-size: 12px;
  color: var(--muted);
}
.order-row .stack {
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: start;
}
.order-row .stack a {
  font-size: 13px;
  text-decoration: underline;
}
.pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--text);
  background: var(--bg);
}
.pill.rose {
  color: var(--brand);
  background: var(--rose);
  border-color: #f4c7cc;
}
.pill.green {
  color: var(--ok);
  background: var(--jade);
}
.order-foot {
  padding: 10px 16px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 48px 24px;
  text-align: center;
}
.empty .empty-icon {
  margin: auto auto 16px;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--bg);
}
.empty h3 {
  font-size: 18px;
  margin: 8px 0;
}
.empty p {
  color: var(--muted);
  max-width: 520px;
  margin: 8px auto 20px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th {
  text-align: left;
  background: var(--bg);
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}
td,
th {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
td {
  vertical-align: top;
}
td button {
  white-space: nowrap;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  color: var(--muted);
  font-size: 12px;
}
.pagination div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.note {
  background: var(--gold);
  border: 1px solid #e9d7b2;
  color: #715529;
  padding: 12px 16px;
  border-radius: 6px;
  margin: 0 0 20px;
}
.note small {
  display: block;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-grid .inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.form-grid input[type='checkbox'] {
  width: auto;
}
.form-error {
  color: var(--bad);
  min-height: 24px;
  margin: 12px 0;
}
.form-result {
  color: var(--ok);
}
.form-actions {
  display: flex;
  justify-content: end;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
}
.definition {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}
.definition div {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.definition dt {
  min-width: 88px;
  color: var(--muted);
}
.definition dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.timeline {
  display: flex;
  padding: 24px 0;
  gap: 0;
  list-style: none;
}
.timeline li {
  flex: 1;
  padding: 16px;
  border-top: 3px solid var(--line);
  position: relative;
  color: var(--muted);
}
.timeline li:before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  top: -8px;
  left: 16px;
}
.timeline li.done {
  border-color: var(--ok);
  color: var(--ok);
}
.timeline li.done:before {
  background: var(--ok);
}
.timeline small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.two-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
}
.upload-zone {
  display: block;
  border: 1px dashed #94a3b8;
  background: var(--bg);
  border-radius: 8px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
}
.upload-zone strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}
.upload-zone.dragover {
  background: var(--jade);
  border-color: var(--ok);
}
.upload-zone input {
  display: block;
  width: 100%;
  margin-top: 16px;
}
.file-preview {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
}
.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.address-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.address-card p {
  overflow-wrap: anywhere;
}
.address-card h3 {
  margin: 0;
}
.address-card .actions {
  display: flex;
  gap: 8px;
}
.public-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--jade);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  min-height: 310px;
}
.public-hero.rose {
  background: var(--rose);
}
.public-hero.gold {
  background: var(--gold);
}
.public-hero > div:first-child {
  padding: 40px;
}
.public-hero h1 {
  font-size: 36px;
  line-height: 1.3;
  margin: 16px 0;
}
.public-hero p {
  max-width: 620px;
  line-height: 1.9;
  color: var(--text);
}
.public-art {
  min-height: 280px;
  position: relative;
}
.public-art .thumb {
  width: 100%;
  height: 100%;
  border-radius: 0;
  mix-blend-mode: multiply;
}
.public-art small {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-size: 12px;
  color: var(--muted);
  background: #ffffffdc;
  padding: 2px 8px;
}
.editorial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.editorial article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
.editorial h2 {
  font-size: 22px;
  margin: 8px 0 16px;
}
.editorial p {
  color: var(--text);
  line-height: 1.9;
}
.editorial .kicker {
  color: var(--brand);
}
details {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 20px 24px;
}
summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}
details p {
  line-height: 1.9;
  color: var(--text);
  max-width: 900px;
}
.quote-top {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.quote-top h1 {
  font-size: 24px;
  margin: 0;
  white-space: nowrap;
}
.product-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.product-nav a {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.product-nav a[aria-current] {
  background: var(--rose);
  border-color: #edbfc5;
  font-weight: 700;
}
.quote-frame {
  width: 100%;
  border: 0;
  background: white;
  min-height: 900px;
}
.quote-loading {
  padding: 40px;
  text-align: center;
  background: white;
}
/* Quote routes prioritize parameter entry; public catalog headings stay unchanged. */
#main.container:has(> .quote-workspace) {
  padding-top: 8px;
}
.quote-workspace .quote-top {
  gap: 16px;
  margin-bottom: 4px;
  flex-direction: row;
  flex-wrap: wrap;
}
.quote-workspace .quote-top h1 {
  font-size: 20px;
}
.quote-workspace .product-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
}
.quote-workspace .quote-loading {
  padding: 4px 0 8px;
  text-align: left;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
}
.footer {
  margin-top: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.footer .brand {
  font-size: 22px;
  font-weight: 700;
}
.footer > div {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer button {
  border: 0;
  background: none;
}
.footer small {
  width: 100%;
  color: var(--muted);
  font-size: 12px;
}
.footer .footer-legal {
  width: 100%;
  flex-wrap: wrap;
  gap: 8px 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 20px;
}
.footer-legal a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
dialog {
  width: min(720px, calc(100% - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  max-height: 90vh;
  box-shadow: 0 10px 25px #0001;
}
dialog::backdrop {
  background: #17202d66;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 22px;
  margin: 0;
}
.dialog-head button {
  font-size: 24px;
  border: 0;
  padding: 0 12px;
}
.dialog-head + #dialog-content {
  padding: 24px;
}
.login-intro {
  background: var(--jade);
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.login-intro h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  max-width: 90%;
  z-index: 100;
  box-shadow: 0 4px 12px #0002;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: absolute;
  top: -60px;
  z-index: 200;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 0;
}
.check-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.error-panel {
  padding: 40px;
  text-align: center;
}
.error-panel h3 {
  color: var(--bad);
}
.empty a,
.empty button {
  display: inline-block;
}
.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.compact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.compact-list small {
  display: block;
  color: var(--muted);
}
.tagline {
  font-size: 12px;
  color: var(--muted);
  padding: 12px 24px;
  background: var(--bg);
}
.search-result {
  padding: 24px;
  background: white;
  margin-bottom: 20px;
}
.search-result a {
  display: inline-block;
  padding: 12px 20px;
  background: var(--rose);
  margin: 8px;
}
.search-result h2 {
  margin: 0;
}
.page-content {
  min-width: 0;
}
@media (min-width: 1800px) {
  .container {
    max-width: 1800px;
  }
  .order-row {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 32px);
  }
  .masthead {
    gap: 24px;
  }
  .primary-nav {
    gap: 24px;
  }
  .account-layout {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
  }
  .side-nav {
    padding: 12px 8px;
  }
  .side-nav a {
    padding: 10px 8px;
  }
  .order-columns {
    display: none;
  }
  .order-row {
    grid-template-columns: minmax(0, 1.8fr) 1fr 1fr;
    gap: 16px;
  }
  .order-product {
    grid-column: 1/-1;
  }
  .order-row > .stack:last-child {
    grid-column: 1/-1;
    flex-direction: row;
  }
  .welcome {
    grid-template-columns: 1fr;
  }
  .welcome-links {
    padding: 16px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metric:nth-child(2) {
    border: 0;
  }
  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .public-hero h1 {
    font-size: 30px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .container {
    width: calc(100% - 24px);
  }
  .utility > .container > span {
    display: none;
  }
  .utility nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
  .masthead {
    min-height: unset;
    padding: 20px 0 12px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .account-link {
    margin-left: auto;
  }
  .account-link small {
    display: none;
  }
  #site-search {
    order: 3;
    max-width: none;
    width: 100%;
    flex-basis: 100%;
  }
  .primary-nav {
    gap: 24px;
    overflow: auto;
    white-space: nowrap;
    min-height: 48px;
  }
  .primary-nav a {
    flex-shrink: 0;
  }
  .preview-bar {
    align-items: start;
    font-size: 11px;
    gap: 8px;
  }
  .preview-bar > span {
    max-width: 42%;
  }
  .account-layout {
    display: block;
  }
  .side-nav {
    position: static;
    margin-bottom: 20px;
    display: flex;
    overflow: auto;
    gap: 4px;
    padding: 8px;
  }
  .side-nav h2,
  .side-group {
    display: none;
  }
  .side-nav a {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 12px;
  }
  .side-nav svg {
    display: none;
  }
  .page-title {
    align-items: start;
    flex-wrap: wrap;
  }
  .page-title h1 {
    font-size: 23px;
  }
  .page-title p {
    font-size: 13px;
  }
  .welcome-copy {
    padding: 24px;
  }
  .welcome-links {
    gap: 8px;
    padding: 12px;
  }
  .welcome-links a {
    padding: 12px 8px;
    font-size: 13px;
  }
  .welcome-links svg {
    display: none;
  }
  .metric {
    padding: 16px;
  }
  .metric strong {
    font-size: 24px;
  }
  .panel-head,
  .panel-body {
    padding: 16px;
  }
  .status-tabs {
    gap: 20px;
    padding: 0 16px;
  }
  .filter-form {
    padding: 16px;
    gap: 8px;
  }
  .filter-form label {
    width: 100%;
  }
  .filter-form input[type='search'] {
    width: 100%;
  }
  .filter-form label:has(input[type='date']) {
    width: calc(50% - 4px);
  }
  .order-card {
    margin: 12px;
  }
  .order-meta {
    gap: 8px;
    padding: 12px;
  }
  .order-row {
    padding: 16px 12px;
    gap: 16px 8px;
    grid-template-columns: 1fr 1fr;
  }
  .order-product {
    gap: 12px;
    align-items: start;
  }
  .thumb {
    width: 64px;
    height: 64px;
  }
  .order-product h3 {
    font-size: 15px;
  }
  .order-row > .stack:nth-child(4) {
    grid-column: 1/-1;
  }
  .order-foot {
    padding: 12px;
  }
  .definition {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .address-grid,
  .editorial {
    grid-template-columns: 1fr;
  }
  .public-hero {
    grid-template-columns: 1fr;
  }
  .public-hero > div:first-child {
    padding: 24px;
  }
  .public-hero h1 {
    font-size: 28px;
  }
  .public-art {
    height: 240px;
  }
  .editorial article {
    padding: 24px;
  }
  .quote-top {
    display: block;
  }
  .product-nav {
    margin-top: 16px;
    gap: 8px;
  }
  .product-nav a {
    flex: 1 0 40%;
    text-align: center;
    padding: 10px 8px;
  }
  .timeline {
    display: block;
    padding: 0 0 0 8px;
  }
  .timeline li {
    border-top: 0;
    border-left: 3px solid var(--line);
    padding: 12px 24px;
  }
  .timeline li:before {
    top: 20px;
    left: -7px;
  }
  .timeline li.done {
    border-color: var(--ok);
  }
  .footer {
    gap: 16px;
    margin-top: 32px;
  }
  .footer > div {
    gap: 16px;
    flex-wrap: wrap;
  }
  button,
  input,
  select {
    min-height: 44px;
  }
  .preview-bar select {
    min-height: 36px;
  }
  .compact-list li {
    padding: 16px;
  }
  .pagination {
    padding: 16px;
    gap: 12px;
  }
  .dialog-head,
  #dialog-content {
    padding: 16px !important;
  }
  td,
  th {
    padding: 12px;
  }
  .order-product p {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
