:root {
  color-scheme: dark;
  --body: #0c0c0e;
  --panel: #101012;
  --elevated: #1c1c20;
  --line: #29292e;
  --subline: #222226;
  --muted: #a1a1aa;
  --dim: #82828d;
  --text: #ececef;
  --accent: #898cf3;
  --active: #25252a;
  font:
    14px/1.5 Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Apple SD Gothic Neo",
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--body);
  color: var(--text);
  word-break: keep-all;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
input,
textarea,
select {
  min-width: 0;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
a,
button {
  touch-action: manipulation;
  transition:
    background 0.12s,
    color 0.12s,
    border-color 0.12s;
}
button:hover,
a:hover {
  color: #fff;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #9698ef;
  outline-offset: 2px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.25;
}
h1,
h2 {
  letter-spacing: -0.043em;
}
p {
  overflow-wrap: anywhere;
}
svg.icon {
  height: 16px;
  width: 16px;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  color: inherit;
}
h3 {
  letter-spacing: -0.025em;
}
small {
  font-size: 12px;
}
kbd,
code,
.itemref,
.itemname small {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
kbd {
  font-size: 10px;
  color: #b4b4bd;
  border: 1px solid #38383f;
  border-radius: 3px;
  padding: 0 4px;
}
.skip {
  position: fixed;
  left: 10px;
  top: -120px;
  z-index: 20;
  color: #111;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
.application {
  display: grid;
  grid-template-columns: 222px minmax(0, 1fr);
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 12px 10px 13px;
  background: var(--body);
}
.workspace-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 5px 0 7px;
  height: 40px;
  margin-bottom: 21px;
}
.brand {
  font-size: 16px;
  letter-spacing: -0.055em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 620;
}
.iconbtn {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: var(--muted);
}
.iconbtn:hover,
.sidefoot a:hover,
.sidefoot button:hover,
.sidenavs a:hover,
.toolbtn:hover,
.cmdtrigger:hover {
  background: var(--active);
}
.sidesearch,
.closemenu {
  margin-left: auto;
}
.sidegroup {
  font-size: 11px;
  font-weight: 550;
  color: var(--dim);
  letter-spacing: 0.01em;
  padding: 0 10px;
  margin: 22px 0 7px;
}
.workspace-head + .sidegroup {
  margin-top: 0;
}
.sidenavs,
.sidefoot {
  display: grid;
  gap: 2px;
}
.sidenavs a,
.sidefoot a,
.sidefoot button {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  padding: 6px 10px;
  color: #c2c2c9;
  font-size: 13px;
  letter-spacing: -0.023em;
}
.sidenavs .icon,
.sidefoot .icon {
  color: #9b9ba6;
}
.sidenavs a[aria-current],
.sidefoot a[aria-current] {
  background: #25252b;
  color: #f0f0f3;
}
.sidefoot {
  margin-top: auto;
  border-top: 1px solid var(--subline);
  padding-top: 10px;
}
.sidefoot button {
  width: 100%;
}
.appframe {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px 0 0 9px;
  margin: 7px 0;
  min-height: calc(100dvh - 14px);
  border-right: 0;
}
.appbar,
.viewtabs,
.toolbar,
.inspectbar {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.appbar {
  height: 45px;
  justify-content: space-between;
  padding: 0 21px;
  font-size: 12px;
  color: var(--muted);
}
.appbar > div,
.cmdtrigger,
.viewhead > div,
.viewtabs button,
.toolbar button,
.inspectbar,
.grouphead,
.productrow,
.btn,
.statuslabel,
.properties dt,
.sidefoot a,
.back,
.itemname,
.palette-top,
.commanditems a {
  display: flex;
  align-items: center;
}
.appbar > div {
  gap: 9px;
}
.appbar > div > .icon {
  width: 11px;
  color: #787883;
}
.appbar strong {
  font-weight: 550;
  color: #dddde3;
}
.crumbicon .icon {
  width: 15px;
}
.cmdtrigger {
  gap: 7px;
  color: var(--muted);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 12px;
}
.cmdtrigger .icon {
  width: 14px;
}
.cmdtrigger kbd {
  margin-left: 4px;
}
.closemenu,
.mobilemenu,
.scrim {
  display: none;
}
.viewhead {
  padding: 33px 32px 23px;
}
.viewhead > div {
  gap: 11px;
}
.viewhead h1 {
  font-size: 28px;
  font-weight: 640;
}
.viewicon {
  height: 31px;
  width: 31px;
  border: 1px solid #3e4056;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #252639;
  color: #b2b3ff;
}
.viewicon .icon {
  width: 20px;
  height: 20px;
}
.viewhead p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}
.viewtabs {
  gap: 6px;
  height: 45px;
  padding: 0 28px;
}
.viewtabs button {
  gap: 7px;
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  height: 28px;
}
.viewtabs button[aria-pressed="true"],
.layoutchoices button[aria-pressed="true"] {
  background: #29292f;
  border-color: #36363e;
  color: #ededf3;
}
.viewtabs button:hover,
.layoutchoices button:hover {
  background: #222227;
}
.viewtabs .icon {
  width: 14px;
}
.viewtabs small,
.grouphead small {
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
}
.workarea {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(254px, 22vw, 325px);
  min-height: calc(100dvh - 218px);
}
.cataloglist {
  min-width: 0;
}
.toolbar {
  height: 40px;
  justify-content: space-between;
  padding: 0 17px;
}
.toolbtn {
  gap: 6px;
  color: #c1c1c8;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.toolbtn .icon {
  width: 14px;
  height: 14px;
}
.popwrap {
  position: relative;
}
.popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 4;
  background: #202024;
  border: 1px solid #3b3b43;
  border-radius: 8px;
  box-shadow: 0 10px 28px #0005;
  padding: 13px;
  width: 220px;
  display: grid;
  gap: 11px;
}
.popover.rightpop {
  left: auto;
  right: 0;
}
.popover label,
.poplabel {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: #c8c8d0;
}
.popover select,
.popover input,
.form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.form textarea,
.form select {
  display: block;
  background: #161619;
  border: 1px solid #3b3b42;
  border-radius: 5px;
  color: #e3e3e8;
  padding: 8px 10px;
  width: 100%;
}
.layoutchoices {
  display: flex;
  gap: 5px;
}
.layoutchoices button {
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 1px solid #35353a;
  border-radius: 5px;
  padding: 10px;
  font-size: 12px;
}
.grouphead {
  border-bottom: 1px solid #242428;
  background: #19191d;
  width: 100%;
  height: 35px;
  padding: 0 20px;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
  text-align: left;
}
.grouphead > .icon {
  width: 11px;
  color: var(--dim);
}
.grouphead[aria-expanded="false"] > .icon {
  transform: rotate(-90deg);
}
.dot,
.statuslabel i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.c1 {
  background: #8f93db;
}
.c2 {
  background: #bf9a70;
}
.c3 {
  background: #6aada9;
}
.grouphead small {
  margin-left: 3px;
}
.productrow {
  min-height: 47px;
  border-bottom: 1px solid var(--subline);
  padding: 0 19px 0 26px;
  gap: 11px;
  position: relative;
}
.productrow[aria-current] {
  background: #202026;
}
.productrow:hover {
  background: #25252a;
}
.productrow[aria-current]:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #9295ce;
  border-radius: 2px;
}
.product-icon {
  display: inline-grid;
  place-items: center;
  height: 25px;
  width: 25px;
  border: 1px solid #ffffff12;
  border-radius: 6px;
  flex: none;
}
.product-icon .icon {
  width: 16px;
  height: 16px;
}
.lunar {
  background: #272a3f;
  color: #b2b8f6;
}
.ember {
  background: #352c24;
  color: #d4ad87;
}
.orbit {
  background: #1b322e;
  color: #8bc5b3;
}
.itemname {
  gap: 9px;
  min-width: 0;
  flex: 1;
}
.itemname small,
.itemref {
  font-size: 10px;
  color: var(--dim);
  white-space: nowrap;
}
.itemname b {
  font-size: 13px;
  letter-spacing: -0.02em;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.statuslabel {
  display: inline-flex;
  border: 1px solid #37373f;
  color: #b8b8c2;
  border-radius: 12px;
  gap: 5px;
  padding: 1px 7px;
  font-size: 10px;
  white-space: nowrap;
}
.statuslabel i {
  height: 6px;
  width: 6px;
  border: 1px dashed #a0a0ab;
}
.instock i {
  background: #69af89;
  border: none;
}
.out i {
  background: #ae805c;
  border: none;
}
.rowprice {
  font-size: 12px;
  min-width: 48px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.productrow > .icon {
  width: 12px;
  color: #7c7c86;
}
.listfoot {
  padding: 12px 24px;
  color: var(--dim);
  font-size: 11px;
}
.inspector {
  border-left: 1px solid var(--line);
  background: #131316;
}
.inspectbar {
  height: 40px;
  gap: 7px;
  padding: 0 18px;
  color: #c9c9cf;
  font-size: 12px;
  font-weight: 520;
}
.inspectbar .icon {
  width: 14px;
}
.inspectcontent {
  padding: 23px 20px;
}
.inspectcontent > .product-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  margin-bottom: 16px;
}
.inspectcontent > .product-icon .icon {
  width: 23px;
  height: 23px;
}
.itemref {
  display: block;
  margin-bottom: 6px;
}
.inspectcontent h2 {
  font-size: 21px;
  letter-spacing: -0.045em;
}
.inspectcontent p {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 18px;
  line-height: 1.65;
}
.btn {
  display: inline-flex;
  justify-content: center;
  gap: 7px;
  min-height: 34px;
  padding: 5px 12px;
  border: 1px solid #3a3a42;
  border-radius: 5px;
  background: #242429;
  color: #ededf3;
  font-weight: 560;
  font-size: 12px;
}
.btn:hover {
  background: #303036;
}
.btn.primary {
  background: #696cce;
  border-color: #8083dd;
  color: #fff;
}
.btn.primary:hover {
  background: #777bdc;
}
.btn .icon {
  width: 14px;
  height: 14px;
}
.properties {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 17px;
}
.properties h3 {
  font-size: 12px;
  color: #cbcad2;
}
.properties dl,
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  margin: 15px 0;
  font-size: 12px;
}
.properties dt {
  gap: 8px;
  color: var(--muted);
}
.properties .icon {
  width: 14px;
  color: var(--dim);
}
.properties dd,
.facts dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.listempty {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 55px 12px;
  color: var(--muted);
}
.listempty > .icon {
  width: 25px;
  height: 25px;
}
.listempty strong {
  font-weight: 500;
  font-size: 13px;
}
.link,
.textbtn,
.back {
  font-size: 12px;
  color: #b1b2f2;
}
.listempty button:hover,
.link:hover,
.textbtn:hover,
.back:hover {
  text-decoration: underline;
}
.inspector #inspectbody > .muted {
  padding: 20px;
}
.grouprows[hidden],
[hidden] {
  display: none !important;
}
#groups[data-layout="board"] {
  padding: 12px;
  display: grid;
  gap: 12px;
}
#groups[data-layout="board"] .collection {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
#groups[data-layout="board"] .grouprows {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 6px;
  padding: 6px;
}
#groups[data-layout="board"] .productrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px;
  align-content: start;
  min-height: 88px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px;
  background: #1b1b20;
}
#groups[data-layout="board"] .itemname {
  grid-column: 1/-1;
  grid-row: 2;
}
#groups[data-layout="board"] .productrow > .icon {
  display: none;
}
#groups[data-layout="board"] .rowstatus {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
#groups[data-layout="board"] .rowprice {
  grid-row: 3;
  text-align: left;
}
.palette {
  position: fixed;
  top: min(19vh, 170px);
  margin: 0 auto;
  width: min(510px, calc(100vw - 24px));
  border: 1px solid #45454f;
  border-radius: 10px;
  background: #202025;
  color: var(--text);
  padding: 0;
  box-shadow: 0 18px 80px #0008;
}
.palette::backdrop {
  background: #0006;
}
.palette-top {
  padding: 12px;
  gap: 9px;
  border-bottom: 1px solid #37373f;
}
.palette-top input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0 !important;
  font-size: 14px;
}
.keybtn {
  font-size: 10px;
  color: var(--muted);
  border: 1px solid #45454e;
  border-radius: 4px;
  padding: 1px 4px;
}
.commanditems {
  padding: 5px;
  max-height: 50vh;
  overflow: auto;
}
.commanditems a {
  gap: 9px;
  padding: 8px;
  border-radius: 4px;
  font-size: 13px;
}
.commanditems a:hover,
.commanditems a:focus {
  background: #33333b;
}
.commandempty {
  padding: 12px;
  color: var(--muted);
}
.page {
  width: min(850px, calc(100% - 64px));
  margin: 0 auto;
  padding: 45px 0 65px;
}
.page h1 {
  font-size: 32px;
  font-weight: 630;
  margin: 12px 0;
}
.page h2 {
  font-size: 20px;
}
.page p,
.muted {
  color: var(--muted);
  font-size: 13px;
}
.back {
  display: inline-flex;
  margin: 0 0 32px;
  color: var(--muted);
}
.formpage {
  max-width: 490px;
}
.formpage > .form {
  margin-top: 22px;
}
.form {
  display: grid;
  gap: 16px;
}
.form label:not(.check) {
  display: grid;
  gap: 6px;
}
.form label,
.form legend {
  font-size: 12px;
  color: #c8c8d1;
}
.form .btn {
  justify-self: start;
}
.form textarea {
  resize: vertical;
}
.page .notice,
.notice {
  margin: 17px 0;
  background: #202128;
  border: 1px solid #353641;
  border-radius: 6px;
  padding: 12px 14px;
  color: #cdced9;
  font-size: 13px;
}
.guideitems {
  margin: 22px 0;
}
.guideitems article {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  gap: 17px;
}
.guideitems article > .icon {
  margin-top: 4px;
  color: #a6a8ce;
}
.guideitems h2,
.panel h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 9px;
}
.guideitems p {
  line-height: 1.7;
}
.facts {
  border-block: 1px solid var(--line);
  padding: 17px 0;
  margin: 21px 0;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  text-align: right;
}
.detailcopy > .product-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
}
.detailcopy > .product-icon .icon {
  width: 24px;
  height: 24px;
}
.detailcopy > p {
  white-space: pre-line;
}
.detailcopy h2 {
  margin: 21px 0;
}
.detailcopy small {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
}
.detailcopy {
  max-width: 590px;
}
.detailcopy .form {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.adminpad {
  max-width: 1390px;
  margin: auto;
  padding: 30px;
}
.adminhead,
.panelhead,
.settingrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.adminhead h1 {
  font-size: 28px;
}
.adminhead {
  margin-bottom: 24px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #151517;
}
.metrics > div {
  min-width: 0;
  padding: 16px 19px;
  border-right: 1px solid var(--line);
}
.metrics > div:last-child {
  border: 0;
}
.metrics span {
  font-size: 12px;
  color: var(--muted);
}
.metrics strong {
  display: block;
  letter-spacing: -0.055em;
  font-size: 27px;
  margin-top: 8px;
  font-weight: 600;
}
.panel {
  margin-top: 20px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #121214;
}
.panelhead h2 {
  margin: 0;
}
.panelhead {
  margin-bottom: 10px;
}
.panel small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 450;
}
.chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin: 25px 0 0;
}
.chart > div {
  display: grid;
  justify-items: center;
  gap: 5px;
}
.chart svg {
  width: 100%;
  height: 65px;
  border-bottom: 1px solid #42424b;
  fill: #8587d8;
}
.chart strong,
.chart small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 450;
}
.tablewrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  font-size: 12px;
  width: 100%;
  text-align: left;
}
th,
td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--subline);
  overflow-wrap: anywhere;
}
th {
  font-weight: 500;
  color: var(--muted);
  background: #18181b;
}
th:first-child {
  border-radius: 4px 0 0 4px;
}
th:last-child {
  border-radius: 0 4px 4px 0;
}
tbody tr:last-child td {
  border: 0;
}
td small,
.settingrow small {
  display: block;
}
.empty {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 28px 10px;
  border-top: 1px solid var(--subline);
}
.check {
  display: flex;
  align-items: center;
  gap: 7px;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: #8588dc;
}
.cols,
.dbmetrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.dbmetrics {
  gap: 0;
}
.artchoices {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.artchoices label {
  cursor: pointer;
}
.artchoices .product-icon {
  width: 36px;
  height: 36px;
}
.artchoices span {
  font-size: 12px;
}
fieldset {
  padding: 0;
  border: 0;
  margin: 0;
}
legend {
  margin-bottom: 8px;
}
.settingrow {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.pill {
  font-size: 11px;
  color: #c7c7d0;
  border: 1px solid #38383f;
  border-radius: 4px;
  padding: 2px 6px;
}
.pager {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}
.panel strong {
  font-weight: 550;
}
button.textbtn {
  padding: 5px 0;
}
code {
  font-size: 11px;
}
.inspectcontent > .btn {
  width: 100%;
}
@media (min-width: 1550px) {
  .application {
    grid-template-columns: 244px minmax(0, 1fr);
  }
  .workarea {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
  .viewhead {
    padding-top: 39px;
    padding-bottom: 29px;
  }
}
@media (max-width: 1190px) {
  .application {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .productrow {
    padding: 0 12px;
    gap: 7px;
  }
  .itemname {
    gap: 6px;
  }
  .itemname small {
    font-size: 9px;
  }
  .rowprice {
    min-width: 40px;
  }
  .inspectcontent {
    padding-inline: 15px;
  }
  .adminpad {
    padding: 24px;
  }
}
@media (max-width: 1049px) {
  .workarea {
    display: block;
  }
  .inspector {
    display: none;
  }
  .productrow {
    min-height: 50px;
    padding-inline: 20px;
  }
  .productrow[aria-current] {
    background: transparent;
  }
  .productrow[aria-current]:before {
    display: none;
  }
  .application {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 730px) {
  .application {
    display: block;
  }
  .appframe {
    margin: 0;
    border-radius: 0;
    border: 0;
    min-height: 100dvh;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
    width: 236px;
    display: none;
    background: #111113;
    border-right: 1px solid #37373d;
  }
  .menu-open .sidebar,
  .menu-open .scrim {
    display: flex;
  }
  .scrim {
    position: fixed;
    inset: 0;
    background: #0008;
    z-index: 8;
    width: 100%;
  }
  .menu-open {
    overflow: hidden;
  }
  .closemenu,
  .mobilemenu {
    display: grid;
  }
  .sidesearch {
    display: none;
  }
  .appbar {
    padding: 0 12px;
    height: 46px;
  }
  .appbar > div {
    gap: 7px;
  }
  .appbar .crumbicon {
    display: none;
  }
  .cmdtrigger {
    min-height: 34px;
  }
  .cmdtrigger kbd {
    display: none;
  }
  .viewhead {
    padding: 25px 18px 16px;
  }
  .viewhead h1 {
    font-size: 25px;
  }
  .viewtabs {
    padding: 0 12px;
    gap: 2px;
  }
  .viewtabs button {
    font-size: 12px;
    min-height: 32px;
    padding: 3px 7px;
  }
  .viewtabs small {
    font-size: 10px;
  }
  .toolbar {
    padding: 0 11px;
  }
  .toolbtn {
    min-height: 32px;
  }
  .grouphead {
    padding: 0 15px;
    min-height: 37px;
  }
  .productrow {
    min-height: 56px;
    padding: 0 16px;
    gap: 9px;
  }
  .itemname {
    display: grid;
    gap: 1px;
  }
  .itemname small {
    font-size: 9px;
  }
  .itemname b {
    font-size: 13px;
  }
  .rowstatus {
    display: none;
  }
  .rowprice {
    min-width: auto;
  }
  .page {
    width: calc(100% - 36px);
    padding: 27px 0;
  }
  .page h1 {
    font-size: 27px;
  }
  .back {
    margin-bottom: 20px;
  }
  .adminpad {
    padding: 22px 14px;
  }
  .adminhead h1 {
    font-size: 25px;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics > div {
    padding: 12px;
  }
  .metrics > div:nth-child(even) {
    border-right: 0;
  }
  .metrics:not(.dbmetrics) > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .panel {
    padding: 13px;
  }
  .tablewrap table {
    min-width: 440px;
  }
  .settingrow {
    font-size: 12px;
  }
  .chart {
    gap: 5px;
  }
  .cols {
    grid-template-columns: 1fr;
  }
  .sidenavs a,
  .sidefoot a,
  .sidefoot button {
    min-height: 40px;
  }
  .properties dl,
  .facts {
    gap: 10px;
  }
  .viewtabs button .icon {
    width: 13px;
  }
  .workarea {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.product-cell, .category-entry summary { display: flex; align-items: center; gap: 12px; }
.product-cell img { width: 38px; height: 38px; object-fit: contain; border: 1px solid var(--line); border-radius: 7px; background: var(--body); }
.category-shortcut { display: inline-block; margin-top: 5px; font-size: 12px; }
.category-entry { border-top: 1px solid var(--line); }
.category-entry summary { cursor: pointer; list-style: none; padding: 13px 0; }
.category-entry summary::-webkit-details-marker { display: none; }
.category-entry summary strong { overflow-wrap: anywhere; }
.category-entry summary small, .category-edit { color: var(--muted); white-space: nowrap; }
.category-mark { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 6px; background: var(--elevated); }
.category-edit { margin-left: auto; font-size: 12px; }
.category-entry[open] .category-edit svg { transform: rotate(180deg); }
.category-fields { grid-template-columns: minmax(0, 2fr) minmax(90px, 1fr) auto; align-items: end; }
.category-remove { margin: 12px 0; font-size: 12px; }
.icon-editor { min-width: 0; }
.icon-editor .artchoices { margin-bottom: 14px; }
.preset-cover, .upload-preview { width: 78px; height: 54px; border: 1px solid var(--line); border-radius: 7px; }
.preset-cover { object-fit: cover; }
.upload-preview { display: grid; place-items: center; border-style: dashed; background: var(--body); }
.upload-preview img { width: 100%; height: 50px; object-fit: contain; }
.icon-editor label:has(:checked) > :first-child { border-color: var(--accent); }
.icon-editor input[type="file"] { margin: 5px 0; max-width: 100%; }
@media (max-width: 640px) {
  .category-fields { grid-template-columns: 1fr; }
  .category-entry summary { gap: 7px; }
}
