:root {
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-synthesis:none;
  line-height:1.5;
  color:var(--text);
  background:var(--bg);
  color-scheme:light;
  --accent:#465de0;
  --accent-hover:#354ac8;
  --accent-soft:#edf0ff;
  --bg:#f4f6fb;
  --paper:#fff;
  --surface:#f7f8fc;
  --text:#20283d;
  --muted:#68758b;
  --line:#e2e7f0;
  --table-head:#e5ecfc;
  --table-head-text:#2a417a;
  --table-head-line:#b8c8ee;
  --table-stripe:#f8faff;
  --success:#17826a;
  --success-soft:#e6f5ef;
  --warning:#9b6510;
  --warning-soft:#fff4dc;
  --danger:#c04c55;
  --danger-soft:#fcecee
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select,textarea {
  font:inherit
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer;
  border:0;
  background:none;
  color:inherit
}
button:disabled {
  opacity:.55;
  cursor:wait
}
a {
  color:inherit;
  text-decoration:none
}
button,a,input,textarea,select {
  transition:background .15s,border-color .15s
}
button:focus-visible,a:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:4px
}
input:focus,textarea:focus,select:focus {
  outline:2px solid var(--accent);
  outline-offset:2px
}
button[hidden] {
  display:none!important
}
.sidebar {
  width:248px;
  position:fixed;
  inset:0 auto 0 0;
  background:var(--paper);
  border-right:1px solid var(--line);
  padding:32px 20px 20px;
  display:flex;
  flex-direction:column;
  z-index:3
}
.brand {
  display:flex;
  gap:12px;
  align-items:center;
  padding:0 8px;
  font-size:25px;
  font-weight:750;
  letter-spacing:-1px;
  line-height:1.1
}
.brand-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  border-radius:13px;
  background:var(--accent);
  color:white;
  font-size:29px;
  font-weight:700;
  letter-spacing:-3px;
  flex-shrink:0
}
.brand-mark span {
  font-size:16px;
  margin:14px 0 0 2px;
  color:#ffd17a
}
.brand small {
  font-size:10px;
  display:block;
  letter-spacing:3px;
  color:var(--muted);
  margin-top:7px;
  font-weight:550
}
.workspace {
  margin:36px 0 30px;
  padding:14px 12px;
  display:flex;
  align-items:center;
  gap:11px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:12px;
  min-width:0
}
.workspace>div {
  min-width:0
}
.workspace-icon {
  color:var(--accent);
  font-size:24px
}
.workspace strong {
  display:block;
  font-size:13px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:153px;
  font-weight:600
}
.workspace small {
  display:block;
  font-size:9px;
  letter-spacing:1px;
  color:var(--muted);
  margin-bottom:5px
}
.nav-label {
  font-size:10px;
  letter-spacing:1.5px;
  font-weight:650;
  color:var(--muted);
  padding:0 14px;
  margin:0 0 12px
}
nav {
  display:flex;
  flex-direction:column;
  gap:6px
}
nav button {
  display:flex;
  align-items:center;
  gap:12px;
  text-align:left;
  padding:13px 14px;
  border-radius:9px;
  font-size:13px;
  color:var(--muted);
  font-weight:550;
  min-height:46px
}
nav button>span:first-child {
  font-size:21px;
  width:22px;
  line-height:1;
  text-align:center
}
nav button:hover {
  background:var(--surface);
  color:var(--text)
}
nav button.active {
  background:var(--accent-soft);
  color:var(--accent)
}
nav button.active:after {
  content:'';
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  margin-left:auto
}
.side-bottom {
  margin-top:auto;
  padding-top:30px
}
.user-menu {
  display:flex;
  align-items:center;
  gap:11px;
  width:100%;
  padding:14px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  text-align:left
}
.user-menu:hover,.user-menu.active {
  background:var(--accent-soft);
  border-color:var(--accent)
}
.avatar {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  background:var(--accent-soft);
  color:var(--accent);
  border-radius:10px;
  font-size:12px;
  font-weight:700;
  flex-shrink:0
}
.user-copy {
  min-width:0
}
.user-copy strong {
  display:block;
  font-size:12px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:130px
}
.user-copy small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:3px
}
.user-arrow {
  margin-left:auto;
  color:var(--muted)
}
.app {
  margin-left:248px;
  max-width:1900px
}
header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:36px 36px 28px;
  gap:24px
}
.eyebrow {
  font-size:10px;
  color:var(--muted);
  font-weight:650;
  letter-spacing:1.5px;
  margin:0 0 9px
}
h1 {
  font-size:30px;
  letter-spacing:-1px;
  font-weight:700;
  line-height:1.2;
  margin:0 0 9px
}
.subtitle {
  font-size:13px;
  color:var(--muted);
  margin:0
}
.header-actions {
  display:flex;
  gap:10px;
  align-items:center;
  flex-shrink:0
}
.primary,.secondary,.success-button,.light-button,.theme-toggle {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:9px;
  font-size:12px;
  font-weight:600;
  gap:7px;
  white-space:nowrap
}
.primary {
  background:var(--accent);
  color:white;
  border:1px solid var(--accent);
  box-shadow:0 3px 8px #465de01a
}
.primary:hover {
  background:var(--accent-hover);
  border-color:var(--accent-hover)
}
.secondary,.theme-toggle {
  background:var(--paper);
  border:1px solid var(--line);
  color:var(--text)
}
.secondary:hover,.theme-toggle:hover {
  background:var(--surface);
  border-color:var(--muted)
}
.theme-toggle>span:first-child {
  font-size:18px;
  line-height:1
}
.success-button {
  background:var(--success-soft);
  color:var(--success);
  border:1px solid transparent
}
.light-button {
  background:#f5c86c;
  color:#302615;
  border:1px solid #f5c86c
}
.light-button:hover {
  background:#ffdc96
}
.text-button,.row-action,.text-link {
  font-size:12px;
  color:var(--accent);
  font-weight:600
}
.text-button:hover,.row-action:hover,.text-link:hover {
  text-decoration:underline
}
.text-link {
  display:block;
  margin-top:20px
}
.icon-button {
  font-size:26px;
  color:var(--muted);
  padding:4px 8px
}
main {
  padding:0 36px 40px;
  min-height:calc(100vh - 145px)
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
  margin-bottom:22px
}
.stat {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:13px;
  padding:21px 22px;
  position:relative;
  overflow:hidden
}
.stat:before {
  content:'';
  position:absolute;
  inset:22px auto auto 0;
  width:3px;
  height:24px;
  border-radius:0 3px 3px 0;
  background:var(--accent)
}
.stat:nth-child(2):before {
  background:var(--success)
}
.stat:nth-child(3):before {
  background:#daa744
}
.stat:nth-child(4):before {
  background:#9972dc
}
.stat>span {
  display:flex;
  justify-content:space-between;
  font-size:12px;
  font-weight:550;
  color:var(--muted)
}
.stat strong {
  display:block;
  font-size:34px;
  letter-spacing:-1px;
  font-weight:650;
  line-height:1.2;
  margin:16px 0 8px;
  font-variant-numeric:tabular-nums
}
.stat small {
  font-size:11px;
  color:var(--muted);
  display:block
}
.panel {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:13px;
  overflow:hidden;
  min-width:0
}
.panel-heading {
  padding:22px 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  border-bottom:1px solid var(--line)
}
h2 {
  font-size:15px;
  font-weight:650;
  letter-spacing:-.2px;
  line-height:1.4;
  margin:0
}
.panel-heading p {
  font-size:12px;
  color:var(--muted);
  margin:5px 0 0;
  line-height:1.6
}
.count-label,.tiny-tag {
  font-size:11px;
  background:var(--surface);
  color:var(--muted);
  padding:5px 9px;
  border-radius:6px;
  white-space:nowrap
}
.tiny-tag {
  font-size:9px;
  letter-spacing:.5px;
  border:1px solid var(--line)
}
.operation-panel {
  margin-bottom:22px
}
.operation-summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:64px;
  padding:16px 22px
}
.operation-title,.operation-meta {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:12px;
  flex-wrap:wrap
}
.operation-title>span:last-child {
  color:var(--muted);
  overflow-wrap:anywhere
}
.connection-indicator {
  width:8px;
  height:8px;
  border-radius:50%;
  background:#d9a746;
  flex-shrink:0
}
.connection-indicator.connected {
  background:var(--success);
  box-shadow:0 0 0 4px var(--success-soft)
}
.operation-alert {
  padding:18px 22px;
  border-top:1px solid var(--line);
  background:var(--warning-soft);
  color:var(--warning);
  font-size:12px;
  overflow-wrap:anywhere
}
.operation-alert p {
  margin:0 0 12px
}
.feature-grid {
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:22px;
  margin-bottom:26px
}
.live-card {
  background:linear-gradient(115deg,#202e5c,#182139);
  color:white;
  border:1px solid #394776;
  border-radius:14px;
  padding:26px 28px;
  position:relative;
  overflow:hidden
}
.live-card:after {
  content:'';
  position:absolute;
  width:220px;
  height:220px;
  border:1px solid #ffffff0b;
  border-radius:50%;
  right:-80px;
  top:-90px;
  box-shadow:0 0 0 38px #ffffff03,0 0 0 76px #ffffff02;
  pointer-events:none
}
.live-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size:9px;
  letter-spacing:1px;
  color:#a6b4d4
}
.live-label {
  color:#ffd384;
  font-size:10px;
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:650
}
.live-label i {
  width:6px;
  height:6px;
  background:#ffd384;
  border-radius:50%;
  flex-shrink:0
}
.live-card h2 {
  font-size:26px;
  font-weight:600;
  letter-spacing:-.6px;
  line-height:1.3;
  margin:24px 0 8px;
  overflow-wrap:anywhere
}
.live-card>p {
  font-size:12px;
  color:#bac5df;
  margin:0;
  line-height:1.6
}
.live-values {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin:25px 0
}
.live-values>div+div {
  border-left:1px solid #ffffff24;
  padding-left:24px
}
.live-values small {
  font-size:9px;
  letter-spacing:1px;
  color:#aab8d7
}
.live-values strong {
  display:block;
  font-size:30px;
  letter-spacing:-1px;
  font-weight:550;
  line-height:1.3;
  margin:7px 0;
  font-variant-numeric:tabular-nums
}
.live-values span {
  font-size:11px;
  color:#b2bfd9;
  overflow-wrap:anywhere
}
.live-bottom {
  border-top:1px solid #ffffff20;
  padding-top:19px;
  display:flex;
  gap:10px;
  align-items:center
}
.timeline {
  padding:4px 24px;
  max-height:480px;
  overflow:auto
}
.activity-card .timeline {
  max-height:320px
}
.event {
  display:flex;
  gap:13px;
  border-bottom:1px solid var(--line);
  padding:18px 0
}
.event:last-child {
  border:0
}
.event-dot {
  height:7px;
  width:7px;
  background:var(--accent);
  border-radius:50%;
  margin-top:6px;
  flex-shrink:0
}
.event strong {
  font-size:12px;
  font-weight:500;
  line-height:1.6;
  overflow-wrap:anywhere
}
.event small {
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:10px
}
.activity-card .empty {
  min-height:250px
}
.table-wrap {
  overflow:auto;
  scrollbar-gutter:stable
}
table {
  border-collapse:collapse;
  width:100%;
  text-align:left;
  font-size:12px
}
thead {
  background:var(--table-head);
  color:var(--table-head-text);
  font-size:11px;
  letter-spacing:.5px
}
th {
  font-weight:750;
  padding:16px 20px;
  border-bottom:2px solid var(--table-head-line);
  white-space:nowrap;
  text-align:left;
  text-transform:uppercase;
  background:var(--table-head);
  color:var(--table-head-text)
}
td {
  padding:18px 20px;
  border-bottom:1px solid var(--line);
  vertical-align:middle;
  line-height:1.6
}
tr:last-child td {
  border-bottom:0
}
tbody tr:nth-child(even){background:var(--table-stripe)}
tbody tr:hover {
  background:var(--surface)
}
.numeric{text-align:right;font-variant-numeric:tabular-nums}
.actions-column{text-align:right;white-space:nowrap}
.timestamp{white-space:nowrap;font-variant-numeric:tabular-nums}
.auction-table,.bid-table{min-width:680px}
.auction-table th:first-child{width:34%}
.bid-table td.original{min-width:140px;max-width:330px;overflow-wrap:anywhere;white-space:pre-wrap}
.bid-table td:last-child{min-width:190px}
.timeline[data-scroll-key]{overflow-anchor:none;scrollbar-gutter:stable}
.preset-settings{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin:8px 0 28px;background:var(--surface)}
.preset-settings .panel-heading{padding:18px 20px;border-bottom:1px solid var(--line)}
.preset-settings h3,.preset-settings h4{margin:0;font-size:14px}
.preset-content{padding:20px}
.preset-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:22px 0 12px}
.preset-heading .secondary{font-size:12px;padding:8px 12px}
.preset-block{background:var(--paper);border:1px solid var(--line);padding:16px;border-radius:9px;margin-bottom:12px}
.preset-block label{font-size:12px}
.preset-block .form-grid{column-gap:16px}
.preset-block .text-button{padding:0;font-size:11px}
@media(max-width:600px){.preset-content{padding:16px}.preset-block{padding:14px}.preset-block .form-grid{grid-template-columns:minmax(0,1fr)}th,td{padding:14px 16px}}
td small {
  display:block;
  color:var(--muted);
  font-size:11px;
  margin-top:5px;
  line-height:1.5
}
.lot-cell {
  display:flex;
  align-items:center;
  gap:12px
}
.lot-icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  flex-shrink:0;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:11px;
  font-weight:650;
  border-radius:9px
}
.row-link {
  padding:0;
  text-align:left;
  font-size:12px;
  font-weight:600;
  max-width:240px;
  overflow-wrap:anywhere
}
.row-link:hover {
  text-decoration:underline
}
.row-action {
  white-space:nowrap;
  padding:6px
}
.value {
  font-weight:600;
  white-space:nowrap
}
.badge {
  font-size:11px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:6px;
  background:var(--accent-soft);
  color:var(--accent);
  white-space:nowrap
}
.badge i {
  width:5px;
  height:5px;
  background:currentColor;
  border-radius:50%
}
.badge.live,.badge.accepted,.badge.sold {
  background:var(--success-soft);
  color:var(--success)
}
.badge.deferred,.badge.announced,.badge.paused {
  background:var(--warning-soft);
  color:var(--warning)
}
.badge.rejected,.badge.cancelled {
  background:var(--danger-soft);
  color:var(--danger)
}
.badge.unsold,.badge.ignored {
  background:var(--surface);
  color:var(--muted)
}
.empty {
  min-height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  padding:30px;
  color:var(--muted);
  font-size:13px;
  text-align:center
}
.empty-symbol {
  font-size:28px;
  color:var(--accent);
  margin-bottom:14px
}
.empty strong {
  font-size:14px;
  color:var(--text);
  font-weight:600
}
.empty p {
  font-size:12px;
  line-height:1.7;
  margin:8px 0 20px
}
.note,.notice {
  font-size:12px;
  line-height:1.7;
  background:var(--accent-soft);
  color:var(--accent);
  padding:16px 20px;
  border-radius:9px;
  margin:20px 0
}
.note {
  border:1px solid var(--line)
}
.form-panel {
  max-width:1000px
}
.form-content {
  padding:26px
}
.form-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:22px;
  row-gap:0
}
.form-grid.three {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
label {
  display:block;
  font-size:12px;
  font-weight:600;
  color:var(--text);
  margin-bottom:22px;
  min-width:0
}
input,select,textarea {
  display:block;
  margin-top:9px;
  width:100%;
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px 13px;
  background:var(--surface);
  color:var(--text);
  min-width:0;
  min-height:44px;
  font-size:13px
}
input::placeholder,textarea::placeholder {
  color:var(--muted);
  opacity:.8
}
textarea {
  resize:vertical;
  line-height:1.7
}
.form-help {
  font-size:12px;
  line-height:1.7;
  color:var(--muted);
  margin:-4px 0 24px
}
h3 {
  font-size:14px;
  font-weight:600;
  margin:24px 0 12px
}
.form-error,.danger {
  color:var(--danger)
}
.form-error {
  font-size:12px;
  line-height:1.6
}
.sales-list {
  padding:0 24px
}
.sale {
  padding:24px 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  border-bottom:1px solid var(--line)
}
.sale:last-child {
  border:0
}
.sale h3 {
  margin:0 0 8px
}
.sale p {
  font-size:12px;
  color:var(--muted);
  margin:0
}
.sale button+button {
  margin-left:8px
}
.original {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  max-width:260px
}
.spaced {
  margin-top:24px
}
.details {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.details dt {
  font-size:11px;
  color:var(--muted);
  margin-bottom:7px
}
.details dd {
  margin:0;
  font-size:13px;
  overflow-wrap:anywhere
}
.detail-description {
  font-size:13px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}
.detail-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
dialog {
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  padding:28px;
  width:min(820px,94vw);
  max-height:90vh;
  color:var(--text);
  box-shadow:0 25px 100px #0004
}
dialog::backdrop {
  background:#0b102c80;
  backdrop-filter:blur(4px)
}
.modal-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:22px;
  gap:20px
}
.modal-header h2 {
  font-size:24px
}
.modal-footer {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  border-top:1px solid var(--line);
  padding-top:22px
}
.toast {
  position:fixed;
  bottom:24px;
  left:calc(50% + 124px);
  transform:translate(-50%,20px);
  opacity:0;
  pointer-events:none;
  background:var(--text);
  color:var(--paper);
  font-size:13px;
  padding:15px 22px;
  border-radius:10px;
  box-shadow:0 5px 25px #0002;
  max-width:85vw;
  transition:.2s;
  z-index:10
}
.toast.visible {
  opacity:1;
  transform:translate(-50%,0)
}
.toast.error {
  background:var(--danger);
  color:#fff
}
.sim-grid {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:22px;
  align-items:start
}
.sim-controls {
  display:flex;
  gap:12px;
  padding:0 25px 25px;
  align-items:center
}
.chat-panel {
  max-height:680px;
  display:flex;
  flex-direction:column
}
.bot-avatar {
  background:var(--accent-soft);
  color:var(--accent);
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:50%;
  font-size:13px
}
.chat-messages {
  padding:22px;
  background:var(--surface);
  overflow:auto;
  min-height:350px;
  display:flex;
  flex-direction:column;
  gap:14px
}
.chat-bubble {
  background:var(--paper);
  border-radius:0 10px 10px 10px;
  padding:16px;
  border:1px solid var(--line);
  max-width:95%
}
.chat-bubble strong {
  display:flex;
  justify-content:space-between;
  gap:15px;
  color:var(--accent);
  font-size:12px
}
.chat-bubble small {
  color:var(--muted);
  font-weight:400;
  font-size:10px
}
.chat-bubble p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:12px;
  line-height:1.8;
  margin:10px 0
}
.quoted {
  display:block;
  background:var(--surface);
  border-left:2px solid var(--accent);
  color:var(--muted);
  font-size:11px;
  padding:8px;
  margin-top:10px
}
@media(min-width:1600px) {
  header {
    padding:42px 48px 32px
  }
  main {
    padding:0 48px 48px
  }
  .stats {
    gap:22px
  }
  .stat {
    padding:24px
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:222px;
    padding:28px 16px 18px
  }
  .app {
    margin-left:222px
  }
  header {
    padding:30px 26px 26px
  }
  main {
    padding:0 26px 30px
  }
  .header-actions {
    gap:8px
  }
  .theme-label {
    display:none
  }
  .stats {
    gap:12px
  }
  .stat {
    padding:18px 16px
  }
  .stat>span {
    font-size:11px
  }
  .feature-grid {
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
    gap:18px
  }
  .live-card {
    padding:24px
  }
  .live-top>span:last-child {
    display:none
  }
  .user-copy strong {
    max-width:112px
  }
  .toast {
    left:calc(50% + 111px)
  }
}
@media(max-width:960px) {
  .sidebar {
    width:82px;
    padding:26px 12px 16px
  }
  .brand {
    padding:0;
    justify-content:center
  }
  .brand>span:last-child,.workspace,.nav-label,.nav-text,.user-copy,.user-arrow {
    display:none
  }
  nav {
    margin-top:40px
  }
  nav button {
    justify-content:center;
    padding:13px 8px
  }
  nav button.active:after {
    display:none
  }
  .side-bottom {
    padding-top:20px
  }
  .user-menu {
    justify-content:center;
    padding:10px 0;
    border:0
  }
  .app {
    margin-left:82px
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .feature-grid {
    grid-template-columns:1fr 1fr
  }
  .live-values {
    gap:12px
  }
  .live-values>div+div {
    padding-left:16px
  }
  .live-values strong {
    font-size:26px
  }
  .live-card h2 {
    font-size:23px
  }
  .toast {
    left:calc(50% + 41px)
  }
  .form-grid.three {
    grid-template-columns:1fr
  }
  .sim-grid {
    grid-template-columns:1fr
  }
  .panel-heading {
    padding:20px
  }
  .live-values span {
    font-size:10px
  }
  .header-actions .secondary {
    min-width:42px;
    padding:10px
  }
  .header-actions .secondary>span {
    display:none
  }
}
@media(max-width:720px) {
  header {
    flex-wrap:wrap;
    align-items:flex-start;
    padding:26px 20px 22px;
    gap:20px
  }
  main {
    padding:0 20px 28px
  }
  h1 {
    font-size:27px
  }
  .header-actions {
    width:100%;
    justify-content:flex-start
  }
  .header-actions .primary {
    margin-left:auto
  }
  .feature-grid {
    grid-template-columns:1fr
  }
  .activity-card .empty {
    min-height:160px
  }
  .operation-summary {
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
    padding:18px 20px
  }
  .operation-meta:empty {
    display:none
  }
  .stat {
    padding:18px
  }
  .stat small {
    font-size:10px
  }
  .form-grid,.details {
    grid-template-columns:1fr
  }
  .sale {
    flex-direction:column;
    align-items:flex-start
  }
  .sale>div:last-child {
    display:flex;
    gap:8px;
    flex-wrap:wrap
  }
  .sale button+button {
    margin:0
  }
  .form-content {
    padding:22px
  }
  .live-top>span:last-child {
    display:block
  }
  .live-card {
    padding:24px
  }
  .live-values strong {
    font-size:30px
  }
  .live-values span {
    font-size:11px
  }
  .stats {
    gap:12px
  }
  .panel-heading {
    flex-wrap:wrap
  }
}
@media(max-width:430px) {
  .sidebar {
    width:64px;
    padding:22px 8px 14px
  }
  .app {
    margin-left:64px
  }
  .brand-mark {
    width:39px;
    height:39px;
    border-radius:11px
  }
  .avatar {
    width:34px;
    height:34px
  }
  .toast {
    left:calc(50% + 32px);
    max-width:calc(100vw - 85px);
    width:100%;
    text-align:center
  }
  header {
    padding:22px 16px 20px
  }
  main {
    padding:0 14px 24px
  }
  .eyebrow {
    font-size:9px
  }
  .stat {
    padding:17px 12px
  }
  .stat>span {
    font-size:11px
  }
  .stat strong {
    font-size:29px
  }
  .stat small {
    line-height:1.5
  }
  .live-card {
    padding:22px 18px
  }
  .live-top>span:last-child {
    display:none
  }
  .live-values {
    gap:12px
  }
  .live-values>div+div {
    padding-left:12px
  }
  .live-values strong {
    font-size:25px
  }
  .live-values small {
    font-size:8px
  }
  .live-values span {
    font-size:10px
  }
  .primary,.secondary,.theme-toggle {
    padding:10px 12px;
    font-size:11px
  }
  .operation-title {
    gap:9px
  }
  .panel-heading,.connection-content,.form-content {
    padding:18px
  }
  .header-actions {
    gap:7px
  }
  .subtitle {
    font-size:12px
  }
  .modal-header h2 {
    font-size:21px
  }
  dialog {
    padding:22px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    transition:none!important;
    scroll-behavior:auto!important
  }
}
.nav-icon {
  width:20px;
  height:20px;
  flex-shrink:0
}
.auction-photo-editor {
  margin:18px 0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--surface)
}
.auction-photo-editor input[type="file"] {
  width:100%;
  padding:10px;
  border:1px dashed var(--line);
  border-radius:10px;
  background:var(--paper)
}
#auction-photo-preview img,.auction-photo-detail {
  display:block;
  width:100%;
  max-width:460px;
  max-height:300px;
  object-fit:contain;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--paper);
  margin:12px 0
}
nav button>.nav-text {
  font-size:13px;
  width:auto;
  line-height:1.5;
  text-align:left
}
