:root {
  color-scheme: light;
  --bg: #f6f7fa;
  --surface: #fff;
  --ink: #17243a;
  --muted: #617088;
  --line: #e1e6ed;
  --primary: #183c70;
  --tint: #eaf0f9;
  --danger: #a42d35;
  --success: #236342;
  --shadow: 0 6px 24px #17243a08;
  font:
    16px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
.button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 8px;
  min-height: 44px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background 0.12s,
    transform 0.12s;
}
button:hover,
.button:hover {
  background: var(--tint);
  text-decoration: none;
}
button:active,
.button:active {
  transform: translateY(1px);
}
.primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.primary:hover {
  background: #234e87;
}
.danger {
  color: var(--danger);
}
.quiet {
  border-color: transparent;
  background: transparent;
}
.icon {
  width: 19px;
  height: 19px;
  stroke-width: 1.75;
  flex-shrink: 0;
}
.layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--line);
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  width: 235px;
  z-index: 20;
}
.brand {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 10px 28px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 720;
  letter-spacing: -0.03em;
}
.brand img {
  width: 38px;
  height: 38px;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0;
  font-weight: 400;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 550;
}
.nav a:hover {
  background: var(--bg);
  text-decoration: none;
}
.nav a.active {
  background: var(--tint);
  color: var(--primary);
}
.sidebar footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 17px 9px 0;
}
.userline {
  font-size: 0.85rem;
  word-break: break-word;
}
.userline small {
  color: var(--muted);
  display: block;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 650;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
}
.topbar span {
  font-size: 0.86rem;
  color: var(--muted);
}
.workspace {
  max-width: 1450px;
  padding: 36px 40px 64px;
  margin: auto;
}
.pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.pagehead h1 {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 680;
  line-height: 1.3;
}
.pagehead p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
h2 {
  font-size: 1.05rem;
  font-weight: 650;
  margin: 0 0 18px;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1rem;
  margin: 0 0 6px;
}
p {
  margin-top: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 24px;
}
.stat {
  display: block;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.stat:hover {
  text-decoration: none;
  border-color: #abbcd3;
}
.stat .value {
  font-size: 2rem;
  font-weight: 660;
  letter-spacing: -0.05em;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.stat .label {
  font-size: 0.84rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}
.quick a {
  justify-content: flex-start;
  padding: 21px 24px;
  font-size: 1rem;
}
.quick .icon {
  width: 24px;
  height: 24px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.panel-header h2 {
  margin: 0;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  gap: 22px;
  align-items: start;
}
.toolbar,
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.toolbar {
  margin-bottom: 20px;
}
.toolbar .search {
  flex: 1;
  min-width: 220px;
}
.search {
  position: relative;
}
.search .icon {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--muted);
}
.search input {
  padding-left: 42px;
  width: 100%;
  height: 48px;
}
input,
select,
textarea {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid #cdd5e0;
  border-radius: 7px;
  padding: 10px 12px;
  min-height: 44px;
  width: 100%;
  font-size: 0.94rem;
}
input[type="checkbox"] {
  width: 19px;
  min-height: 19px;
  accent-color: var(--primary);
}
input[type="file"] {
  font-size: 0.85rem;
}
input[type="color"] {
  padding: 4px;
}
select {
  max-width: 100%;
}
textarea {
  resize: vertical;
  min-height: 86px;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 3px solid #3c72bd25;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #477fd1;
  outline-offset: 3px;
}
label {
  display: block;
  font-size: 0.86rem;
  font-weight: 550;
  margin-bottom: 6px;
}
label small {
  color: var(--muted);
  font-weight: 400;
}
.field {
  margin-bottom: 17px;
  min-width: 0;
}
.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.full {
  grid-column: 1/-1;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.84rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 5px;
  background: var(--tint);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 550;
  white-space: nowrap;
}
.badge.available,
.badge.returned,
.badge.good {
  background: #e8f4ec;
  color: #236342;
}
.badge.unavailable,
.badge.damaged,
.badge.lost {
  background: #fae9e9;
  color: #a42d35;
}
.badge.loaned,
.badge.active,
.badge.partial {
  background: #eaf0fb;
  color: #234e87;
}
.badge.minor,
.badge.service,
.badge.overdue {
  background: #fff2d9;
  color: #835610;
}
.badge.archived,
.badge.cancelled,
.badge.closed {
  background: #edf0f4;
  color: #596579;
}
.table-wrap {
  overflow: auto;
  width: 100%;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}
th {
  font-size: 0.77rem;
  color: var(--muted);
  font-weight: 600;
  background: var(--bg);
  padding: 11px 14px;
  white-space: nowrap;
}
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: var(--bg);
}
td strong {
  font-weight: 600;
}
td small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
code {
  font:
    500 0.9rem ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  font-variant-numeric: tabular-nums;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
}
.empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}
.empty .empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--bg);
  color: var(--muted);
  margin: 0 auto 14px;
}
.empty h3 {
  color: var(--ink);
  margin-bottom: 8px;
}
.empty p {
  font-size: 0.88rem;
  max-width: 340px;
  margin: 0 auto 20px;
}
.list-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.list-row:last-child {
  border-bottom: 0;
}
.list-row:first-child {
  padding-top: 2px;
}
.list-row .sub {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 5px;
}
.activity {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  font-size: 0.87rem;
}
.activity:last-child {
  border: 0;
}
.activity .icon {
  color: var(--muted);
  margin-top: 3px;
}
.activity time {
  display: block;
  color: var(--muted);
  font-size: 0.77rem;
  margin-top: 3px;
}
.notice {
  border: 1px solid #ead4a6;
  background: #fff8e9;
  color: #805918;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.error {
  border-color: #e4b7bc;
  background: #fff0f1;
  color: #9a2732;
}
.success {
  border-color: #b9d8c6;
  background: #edf8f1;
  color: #236342;
}
.auth {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-intro {
  background: #142f57;
  color: #fff;
  padding: 56px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-intro .brand {
  color: #fff;
  padding: 0;
  margin-bottom: 80px;
}
.auth-intro h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.14;
  letter-spacing: -0.055em;
  font-weight: 600;
  max-width: 520px;
  margin: 0 0 24px;
}
.auth-intro p {
  color: #b4c6df;
  max-width: 370px;
  font-size: 1rem;
  line-height: 1.8;
}
.auth-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--surface);
}
.auth-box form {
  width: 100%;
  max-width: 350px;
}
.auth-box h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}
.auth-box .primary {
  width: 100%;
  margin-top: 8px;
}
.auth-box .back {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 0.86rem;
}
.auth-box .helper {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.7;
}
.auth-emblem {
  display: grid;
  grid-template-columns: repeat(3, 56px);
  gap: 10px;
  margin: 30px 0;
}
.auth-emblem div {
  border: 1px solid #ffffff24;
  border-radius: 9px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #c4d6ef;
}
.auth-emblem div:nth-child(2) {
  background: #ffffff0b;
}
.scanbox {
  background: var(--tint);
  border: 1px solid #bccde4;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.scanbox label {
  color: var(--primary);
}
.scanbox input {
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.scanbox .row {
  flex-wrap: nowrap;
}
.scanbox .search {
  flex: 1;
  min-width: 0;
}
.cart-item {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px;
  margin-bottom: 12px;
}
.cart-item .item-top {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cart-item details {
  margin-top: 12px;
}
details {
  margin: 14px 0;
}
summary {
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--muted);
  padding: 6px 0;
  font-weight: 550;
}
details[open] summary {
  margin-bottom: 12px;
}
.sticky {
  position: sticky;
  top: 22px;
}
.actionbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  gap: 14px;
}
.dropzone {
  border: 1px dashed #b5c3d6;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  background: var(--bg);
  font-size: 0.85rem;
}
.dropzone.drag {
  background: var(--tint);
  border-color: var(--primary);
}
.dropzone input {
  border: 0;
  background: transparent;
  padding: 4px 0;
  min-height: 0;
  max-width: 100%;
  margin-top: 8px;
}
.previews {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.preview {
  width: 92px;
  position: relative;
}
.preview img {
  width: 92px;
  height: 74px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.preview button {
  padding: 0;
  min-height: 26px;
  width: 26px;
  position: absolute;
  right: -5px;
  top: -6px;
  background: var(--surface);
  border-radius: 50%;
}
.preview small {
  font-size: 0.7rem;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 7px;
}
.gallery small {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
}
.tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.tabs a {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 7px 11px;
  border-radius: 6px;
}
.tabs a.active {
  color: var(--primary);
  background: var(--tint);
}
.detail-head {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 25px;
}
.detail-head > img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.detail-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.detail-data dt {
  font-size: 0.78rem;
  color: var(--muted);
}
.detail-data dd {
  margin: 4px 0 0;
  font-size: 0.94rem;
}
.timeline {
  border-left: 2px solid var(--line);
  margin: 8px 0 0 7px;
  padding-left: 22px;
}
.timeline article {
  position: relative;
  padding: 0 0 25px;
}
.timeline article:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: #7892b7;
  left: -29px;
  top: 7px;
}
.timeline p {
  font-size: 0.88rem;
  margin: 5px 0;
}
.timeline time {
  color: var(--muted);
  font-size: 0.8rem;
}
#toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  background: var(--ink);
  color: var(--surface);
  padding: 14px 20px;
  border-radius: 9px;
  box-shadow: 0 8px 35px #0002;
  z-index: 100;
  display: none;
  max-width: calc(100vw - 32px);
  font-size: 0.9rem;
}
#toast.show {
  display: block;
}
#toast.error {
  background: #9a2732;
  color: white;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 100px #0004;
  width: min(680px, calc(100vw - 32px));
  padding: 26px;
  max-height: 90dvh;
}
dialog::backdrop {
  background: #10203880;
  backdrop-filter: blur(3px);
}
dialog .dialoghead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
dialog h2 {
  margin: 0;
}
dialog .close {
  min-height: 34px;
  padding: 5px;
}
.mobile-nav {
  display: none;
}
.loading {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 0.86rem;
  color: var(--muted);
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
}
.narrow {
  max-width: 760px;
}
.wide {
  width: 100%;
}
.space {
  margin-top: 20px;
}
.nowrap {
  white-space: nowrap;
}
progress {
  width: 100%;
  height: 7px;
  accent-color: var(--primary);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111a28;
  --surface: #192435;
  --ink: #e7edf7;
  --muted: #a3b2c8;
  --line: #2d3b50;
  --primary: #8db6ef;
  --tint: #233752;
  --shadow: none;
}
[data-theme="dark"] .primary {
  background: #315c96;
  color: white;
  border-color: #315c96;
}
[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
  border-color: #42516a;
}
[data-theme="dark"] .scanbox {
  border-color: #42516a;
}
[data-theme="dark"] .scanbox label {
  color: #b4d2fa;
}
[data-theme="dark"] .badge {
  filter: brightness(0.85);
}
[data-theme="dark"] .notice {
  background: #3a3020;
  color: #f0d7a3;
  border-color: #695634;
}
[data-theme="dark"] .error {
  background: #3b252b;
  color: #ffc2cb;
  border-color: #79424c;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --bg: #111a28;
    --surface: #192435;
    --ink: #e7edf7;
    --muted: #a3b2c8;
    --line: #2d3b50;
    --primary: #8db6ef;
    --tint: #233752;
  }
  html:not([data-theme]) .primary {
    background: #315c96;
    color: white;
    border-color: #315c96;
  }
}
@media (max-width: 1100px) {
  .workspace {
    padding: 28px 25px 50px;
  }
  .topbar {
    padding: 0 25px;
  }
  .layout {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    width: 205px;
    padding: 24px 12px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .sticky {
    position: static;
  }
  .detail-data {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .layout {
    display: block;
  }
  .sidebar {
    display: none;
  }
  .main {
    padding-bottom: 70px;
  }
  .topbar {
    height: 62px;
    padding: 0 20px;
  }
  .topbar span {
    font-size: 0.78rem;
  }
  .workspace {
    padding: 24px 18px 35px;
  }
  .pagehead {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .pagehead h1 {
    font-size: 1.5rem;
  }
  .pagehead p {
    font-size: 0.83rem;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat .value {
    font-size: 1.8rem;
  }
  .stat .label {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
  .quick {
    gap: 10px;
  }
  .quick a {
    padding: 16px 12px;
    font-size: 0.84rem;
    gap: 8px;
  }
  .quick .icon {
    width: 20px;
    height: 20px;
  }
  .panel {
    padding: 18px;
    border-radius: 9px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 7px 4px max(7px, env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 0.65rem;
    color: var(--muted);
    padding: 4px 8px;
    min-width: 52px;
  }
  .mobile-nav a.active {
    color: var(--primary);
  }
  .mobile-nav .icon {
    width: 21px;
    height: 21px;
  }
  .auth {
    display: block;
    background: var(--surface);
  }
  .auth-intro {
    padding: 28px 24px 24px;
  }
  .auth-intro .brand {
    margin-bottom: 22px;
  }
  .auth-intro h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .auth-intro p {
    display: none;
  }
  .auth-emblem {
    display: none;
  }
  .auth-box {
    padding: 30px 24px;
  }
  .formgrid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .toolbar > select {
    flex: 1;
    min-width: 120px;
  }
  .toolbar > .search {
    flex-basis: 100%;
  }
  .scanbox {
    padding: 16px;
  }
  .scanbox .row {
    flex-wrap: wrap;
  }
  .scanbox .search {
    flex-basis: 100%;
  }
  .detail-head {
    gap: 14px;
  }
  .detail-head > img {
    width: 85px;
    height: 85px;
  }
  .detail-data {
    gap: 16px;
  }
  .table-wrap table {
    min-width: 590px;
  }
  .actionbar {
    flex-wrap: wrap;
  }
  .actionbar .primary {
    flex: 1;
  }
  .cart-item {
    padding: 13px;
  }
  .topbar .quiet {
    font-size: 0.78rem;
    padding: 6px 8px;
  }
  .badge {
    font-size: 0.73rem;
  }
  #toast {
    bottom: 88px;
    right: 16px;
  }
  .panel-header {
    gap: 8px;
  }
  .panel-header .button {
    padding: 7px 10px;
    font-size: 0.8rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .mobile-nav,
  button,
  .toolbar,
  .tabs {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .workspace {
    padding: 0;
  }
  .main {
    display: block;
  }
  .panel {
    box-shadow: none;
    break-inside: avoid;
  }
  body {
    background: white;
    color: black;
  }
}
