:root {
  color-scheme: light;
  --surface: #fff;
  --background: #f6f5f1;
  --ink: #231e19;
  --text-soft: #625a52;
  --line: #e5e0d8;
  --copper: #914326;
  --copper-pale: #f6e6db;
  font-family: Avenir Next, system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--background);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
:focus-visible { outline: 2px solid #ae5629; outline-offset: 3px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 5; padding: 10px; background: white; }
.layout { min-height: 100vh; display: grid; grid-template-columns: 233px minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; background: #231d19; color: #fdf6ee; padding: 27px 17px 20px; }
.brand { display: block; margin: 0 11px; }
.brand img { display: block; width: min(100%, 173px); height: auto; }
.workspace { border-top: 1px solid #51453c; padding: 22px 11px 0; display: flex; align-items: center; justify-content: space-between; font-weight: 680; }
.workspace span { padding: 3px 7px; border-radius: 6px; background: #513529; color: #ffd2b9; font-size: 11px; }
.sidebar nav { display: grid; gap: 4px; }
.sidebar nav a { position: relative; display: flex; align-items: center; gap: 11px; padding: 10px; color: #e2d7ce; text-decoration: none; border-radius: 7px; font-weight: 594; }
.sidebar nav a span { color: #dca689; flex: 0 0 17px; font-size: 16px; }
.sidebar nav a:hover { background: #40342c; }
.sidebar nav a[aria-current] { background: #4c352a; color: white; }
.sidebar nav b { margin-left: auto; color: #ffd9c5; }
.site-meta { display: grid; margin-top: auto; border-top: 1px solid #51453c; padding: 15px 10px 0; gap: 4px; }
.site-meta span, .site-meta small { color: #d4c2b4; font-size: 11px; }
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); padding: 14px clamp(18px, 4vw, 58px); min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.trail { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--text-soft); }
.trail strong { color: var(--ink); }
.content { padding: 24px clamp(18px, 4vw, 58px) 72px; width: min(100%, 1480px); margin-inline: auto; }
.notice { display: flex; align-items: center; gap: 8px; min-height: 43px; background: #f7ece1; border: 1px solid #ebd6c4; padding: 8px 12px; border-radius: 8px; }
.notice p { margin: 0; }
.notice-dot { flex: 0 0 7px; height: 7px; border-radius: 50%; background: #a24e2d; }
.page-heading { margin: 36px 0 25px; display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.eyebrow { font-size: 11px; text-transform: uppercase; font-weight: 740; letter-spacing: .12em; color: var(--copper); }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(31px, 5vw, 53px); letter-spacing: -.06em; line-height: 1.07; margin: 5px 0 8px; }
h2 { font-size: 18px; letter-spacing: -.025em; }
.page-heading p:last-child, .stock-note, .location p, address { color: var(--text-soft); line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 8px 13px; border-radius: 7px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 680; white-space: nowrap; }
.button:hover { border-color: #bdab9d; }
.button.primary { background: var(--copper); border-color: var(--copper); color: #fff; }
.button.primary:hover { background: #73331b; }
.overview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.locations { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.panel, .stat { border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.stat { display: grid; gap: 13px; padding: 19px; }
.stat p { color: var(--text-soft); }
.stat strong { font-size: 35px; line-height: 1; letter-spacing: -.045em; }
.stat a, .panel-heading a, .stock-note a { width: fit-content; color: var(--copper); font-weight: 645; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dashboard-panel { margin-top: 19px; }
.panel-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding: 16px 19px; }
.pill { display: inline-block; border-radius: 99px; padding: 4px 9px; font-weight: 650; font-size: 12px; color: var(--copper); background: var(--copper-pale); }
.filters { display: grid; grid-template-columns: 1fr minmax(155px, .35fr); gap: 14px; padding: 17px 19px 12px; }
.filters label { display: grid; gap: 5px; font-size: 12px; font-weight: 660; }
input, select { color: var(--ink); background: #fff; border: 1px solid #d3cac1; border-radius: 7px; min-height: 38px; padding: 8px 10px; max-width: 100%; }
.table-status { color: var(--text-soft); min-height: 19px; padding: 0 19px 12px; font-size: 12px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
thead { background: #f8f6f2; color: var(--text-soft); }
th, td { padding: 11px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 12px; white-space: nowrap; }
td small { display: block; margin-top: 4px; color: var(--text-soft); font-size: 11px; }
td:last-child { text-align: right; }
td:nth-last-child(2) { white-space: nowrap; }
td input { width: 70px; }
td .button { min-height: 31px; padding: 5px 8px; font-size: 12px; }
.pagination, .quote-summary { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: flex-end; padding: 14px 17px; }
.quote-summary p { display: grid; gap: 3px; margin-right: 6px; }
.quote-summary strong { font-size: 20px; }
.empty { color: var(--text-soft); padding: 23px 19px; }
.saved-list { margin: 0; padding: 0; list-style: none; }
.saved-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 19px; }
.saved-list li + li { border-top: 1px solid var(--line); }
.saved-list small { display: block; color: var(--text-soft); margin-top: 3px; }
.location { padding: 20px; }
.location h2 { margin: 12px 0 6px; }
address { font-style: normal; }
.stock-note { margin-top: 18px; }
.toast { position: fixed; z-index: 2; right: 18px; bottom: 18px; max-width: calc(100% - 36px); background: #302219; color: #fff; border-radius: 8px; padding: 12px 15px; box-shadow: 0 8px 25px #26170736; }
@media (max-width: 850px) {
  .layout { display: block; }
  .sidebar { position: static; height: auto; padding: 15px 12px 9px; gap: 8px; }
  .brand { margin-left: 4px; }
  .workspace, .site-meta { display: none; }
  .sidebar nav { display: flex; flex-wrap: wrap; }
  .sidebar nav a { padding: 7px 8px; font-size: 12px; gap: 5px; }
}
@media (max-width: 560px) {
  .overview { grid-template-columns: 1fr; }
  .page-heading { align-items: start; flex-direction: column; }
  .locations { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  th, td { padding-inline: 9px; }
  td:nth-last-child(2) { white-space: normal; }
  td .button { white-space: normal; }
}
