/*!
Slabacus / Laurel Vega
Copyright (c) 2026 Matthew Gilham. All rights reserved.
SPDX-License-Identifier: LicenseRef-LaurelVega-Proprietary
See SLABACUS-LICENSE.txt. Authorised owner maintenance is permitted.
Desktop visual reconciliation, with browser account and sharing semantics.
*/
body:not(.account-only) { font-family: Manrope, 'Segoe UI', sans-serif; }
.signed-in:not([data-palette=light]) {
  background: radial-gradient(ellipse at 5% 25%,#17142d55,transparent 55%),linear-gradient(145deg,#101724,#142733);
}
.signed-in .masthead {
  background: radial-gradient(ellipse at 48% 0%,#24205240,transparent 65%),linear-gradient(110deg,#071222,#10102c 55%,#07131f);
  border-bottom: 1px solid #34405c;
  box-shadow: 0 2px 0 #0c1d32;
}
.signed-in .masthead-content {
  display: grid; grid-template-columns: minmax(max-content,.9fr) minmax(0,2.8fr);
  width: 100%; min-height: 82px; padding: 17px clamp(16px,2vw,32px);
  gap: clamp(18px,2.5vw,42px); justify-content: stretch;
}
.signed-in .brand { gap: 10px; color: #fbfbff; }
.signed-in .brand svg { width: 38px; height: 41px; }
.signed-in .brand strong {
  display: inline; font: italic 900 clamp(25px,2.2vw,34px)/1 'Arial Black','Segoe UI Black',sans-serif;
  letter-spacing: .3px; text-shadow: 0 2px 2px #0007;
}
.workspace-tools { display: grid; grid-template-columns: minmax(100px,1fr) max-content; min-width: 0; gap: clamp(12px,2vw,30px); }
.workspace-search {
  max-width: none; min-width: 0; min-height: 44px; gap: 8px; padding: 0 9px 0 13px;
  border: 1px solid transparent; border-radius: 999px;
  background: linear-gradient(110deg,#111a32,#211a3b) padding-box,linear-gradient(100deg,#8c80dd,#78bcd9 42%,#7f5ab6) border-box;
  color: #e3e6f2; box-shadow: 0 0 15px #7d6fe24d,inset 0 0 10px #7b73d015;
}
.workspace-search:focus-within { outline: 2px solid #a1cef4; outline-offset: 3px; box-shadow: 0 0 20px #8577ef69; }
.workspace-search input { min-height: 42px; padding: 0; border-radius: 0; color: #e3e6f2; font-size: 16px; outline: none; }
.workspace-search input::placeholder { color: #bcc2d7; opacity: 1; }
.workspace-search svg { width: 19px; height: 19px; color: #f0effb; }
.workspace-search kbd {
  display: block; padding: 4px 9px; border: 1px solid #a7a1c449; border-radius: 7px;
  background: linear-gradient(130deg,#77718c80,#48405f90); color: #e5dff8; font: 500 12px/1.2 Manrope,sans-serif;
  box-shadow: inset 0 1px 1px #ffffff12;
}
.workspace-controls { gap: 8px; }
.workspace-controls button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 9px 13px; border: 1px solid #ffffff29; border-radius: 14px;
  font: 500 14px/1.3 Manrope,'Segoe UI',sans-serif; transition: filter .18s,box-shadow .18s;
}
.workspace-controls button:hover:not(:disabled) { filter: brightness(1.12); }
.workspace-controls button:focus-visible { outline: 2px solid #e4e3ff; outline-offset: 4px; }
.workspace-controls .add-asset { width: 40px; padding: 0; border-color: #3df3bd66; background: linear-gradient(135deg,#5bffe0,#0bb992); color: #07574e; font-size: 27px; box-shadow: 0 0 16px #23dfad4d,inset 0 1px 2px #c1ffeb7a; }
.workspace-controls #value-all { display: inline-flex; min-width: 84px; border-color: #ffe9a07a; background: linear-gradient(125deg,#ffe59b,#d4a738); color: #32230b; box-shadow: 0 0 15px #e7bc4233,inset 0 1px 2px #fff6ca80; }
.workspace-controls #workspace-account { min-width: 86px; border-color: #ff8cb54a; background: linear-gradient(115deg,#ff83ba,#ff5c71); color: #3c1121; box-shadow: 0 0 18px #ff448c48,inset 0 1px 2px #ffb2d26b; }
.workspace-controls #scale-link { min-width: 80px; gap: 5px; border-color: #7d849857; background: linear-gradient(135deg,#293145,#212737); color: #f0f1f7; box-shadow: inset 0 1px 2px #ffffff0d; font-variant-numeric: tabular-nums; }
.scale-icon { color: #a9b0c5; }
.workspace-controls #workspace-help { width: 40px; height: 40px; padding: 0; border-radius: 50%; color: #baf6ff; border-color: #8b9fda70; background: linear-gradient(135deg,#343260,#173c51); box-shadow: 0 0 12px #5ecdeb24,inset 0 1px 1px #ffffff16; }
#workspace-help svg { width: 24px; height: 24px; }
.signed-in main { width: 100%; padding: 16px clamp(14px,1.7vw,28px) calc(24px + env(safe-area-inset-bottom)); }
#collection { grid-template-columns: 248px minmax(0,1fr); gap: 16px; font-size: 1rem; zoom: var(--workspace-zoom,.8); }
.signed-in .collection-header { gap: 16px; margin-bottom: 12px; }
.signed-in .collection-header h1 { font-size: clamp(30px,2.65vw,44px); }
.collection-dashboard { grid-template-columns: 2.4fr minmax(300px,1fr); gap: 10px; margin-bottom: 10px; }
.collection-summary { gap: 10px; }
.collection-summary button { min-height: 150px; padding: 18px; gap: 8px; border-radius: 15px; }
.collection-summary span { font-size: 14px; }
.collection-summary strong { font-size: clamp(24px,2.2vw,34px); }
.collection-summary small { font-size: 12px; }
.collection-abacus { display: grid; align-content: center; border-radius: 15px; padding: 12px; }
.collection-table th { font-size: 13px; padding-block: 6px; }
.collection-table td { font-size: 14px; padding-block: 9px; }
.collection-table .identity-name { font-size: 15px; }
.collection-table .asset-thumbnail { width: 52px; height: 72px; }
.identity { gap: 12px; }
.collection-foot { gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.collection-foot button { min-height: 40px; padding: 8px 12px; font-size: 14px; }
.row-actions button { width: 30px; height: 32px; }
#workspace-menu { display: none; }
.sales-table-scroll { overflow-x: auto; }
.sales-table-scroll table { min-width: 760px; }
.sales-table-scroll small { display: block; color: var(--muted); }
.sale-voided { opacity: .6; }
#workspace-dialog { width: min(calc(100% - 32px),580px); padding: 24px; border-radius: 24px; box-shadow: 0 22px 70px #03061166; }
#workspace-dialog h2 { font-weight: 800; }
#workspace-dialog-content > .profile-identity { margin: 0; }
#workspace-dialog .profile-email { margin: 0; }
#workspace-dialog .profile-storage h3 { margin: 0; }
#workspace-dialog-content select { display: block; width: 100%; min-height: 42px; padding: 8px 12px; margin-top: 6px; color: inherit; background: var(--field); border: 1px solid var(--border); border-radius: 10px; font: inherit; }
#workspace-dialog-content input[readonly] { width: 100%; min-height: 44px; padding: 8px; background: var(--field); border: 1px solid var(--border); border-radius: 8px; }
.help-dialog { width: min(calc(100% - 24px),540px); max-height: calc(100dvh - 24px); padding: 24px; border-radius: 24px; background: var(--surface); box-shadow: 0 22px 70px #03061166; font-family: Manrope,'Segoe UI',sans-serif; }
.help-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid var(--border); }
.help-dialog h2 { margin: 0; font-size: 24px; font-weight: 800; }
.help-close { width: 34px; min-height: 34px; padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 26px; }
.help-intro { margin-bottom: 24px; color: var(--muted); font-size: 15px; }
.help-dialog form { display: grid; gap: 18px; }
.help-dialog label { font-size: 14px; margin: 0; }
.help-dialog :is(input,textarea,select) { display: block; width: 100%; margin: 6px 0 0; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; color: inherit; background: var(--field); font: 500 16px/1.45 Manrope,'Segoe UI',sans-serif; }
.help-dialog select { min-height: 44px; }
.help-dialog :is(input,textarea,select):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.help-privacy { font-size: 12px; line-height: 1.6; color: var(--muted); }
.help-dialog .status { margin: 0; }
.help-dialog footer { display: flex; justify-content: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.help-dialog footer button { min-width: 90px; }
.help-success h3 { margin: 14px 0 8px; color: #85e6ce; font-size: 22px; }
.help-success p { margin-bottom: 24px; }
.welcome-step:nth-child(2) .welcome-step-icon { background: #b16afa; }
.welcome-step:nth-child(3) .welcome-step-icon { background: #58b7fb; }
.welcome-step:nth-child(5) .welcome-step-icon { background: #ee73cb; }
.welcome-map { grid-template-columns: 1fr; }
.welcome-step { display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 14px; padding: 14px; border-radius: 16px; }
.welcome-step-icon { grid-row: 1 / 3; align-self: center; margin: 0; }
.welcome-step p { font-size: 14px; }
@media (max-width: 1100px) {
  .signed-in .masthead-content { grid-template-columns: auto 1fr; gap: 20px; padding: 14px 18px; }
  .workspace-tools { display: contents; }
  .workspace-controls { grid-column: 2; grid-row: 1; justify-content: end; }
  .workspace-search { grid-column: 1 / -1; grid-row: 2; }
  .collection-dashboard { grid-template-columns: minmax(0,1fr); }
  .collection-abacus { justify-items: center; }
}
@media (max-width: 700px) {
  #collection { zoom: var(--workspace-scale,1); grid-template-columns: minmax(0,1fr); gap: 14px; }
  .signed-in .masthead-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 12px; }
  .signed-in .brand strong { display: inline; font-size: 23px; }
  .signed-in .brand svg { width: 30px; height: 33px; }
  .workspace-search { order: 3; flex: 1 0 100%; }
  .workspace-search kbd { display: none; }
  .workspace-controls { flex: 1 0 100%; order: 2; justify-content: flex-start; gap: 8px; }
  .workspace-controls button { min-height: 44px; padding-inline: 10px; font-size: 14px; }
  .workspace-controls .add-asset { width: 44px; }
  .workspace-controls #value-all { min-width: 80px; }
  .workspace-controls #workspace-account { min-width: 78px; }
  .workspace-controls #scale-link { min-width: 72px; }
  .workspace-controls #workspace-help { width: 44px; height: 44px; }
  .signed-in main { padding: 14px 12px calc(24px + env(safe-area-inset-bottom)); }
  .signed-in .collection-header h1 { font-size: 27px; }
  .signed-in .collection-header { gap: 10px; }
  .collection-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .collection-summary button { min-height: 112px; padding: 12px; }
  .collection-summary strong { font-size: 24px; }
  .collection-summary small { font-size: 12px; }
  .collection-table-scroll { border: 0; background: transparent; overflow: visible; }
  .collection-table { display: block; min-width: 0; }
  .collection-table colgroup { display: none; }
  .collection-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .collection-table tbody { display: grid; gap: 12px; }
  .collection-table tr { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; border: 1px solid var(--border); border-radius: 16px; padding: 14px; background: var(--table); }
  .collection-table td { min-width: 0; padding: 0; border: 0; font-size: 15px; text-align: left; }
  .collection-table td:first-child { grid-column: 1 / -1; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
  .collection-table td.numeric::before { display: block; content: attr(data-label); color: var(--muted); font-size: 12px; margin-bottom: 4px; }
  .collection-table td:nth-child(5) { display: flex; align-items: center; justify-content: flex-end; }
  .collection-table td.trend-cell { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .collection-table td.market { display: none; }
  .collection-table .identity-name { font-size: 16px; }
  .collection-table .numeric small:empty { display: none; }
  .collection-table .row-actions { gap: 8px; }
  .collection-table .row-actions button { width: 40px; height: 40px; }
  .collection-foot button { min-height: 44px; }
  #workspace-menu { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 10px 14px; color: inherit; background: transparent; border: 0; }
  .workspace-rail:not(.is-expanded) > nav { display: none; }
  .workspace-rail.is-expanded #workspace-menu span { transform: rotate(180deg); }
  #workspace-dialog { padding: 20px; }
}
@media (max-width: 380px) {
  .workspace-controls { gap: 5px; }
  .workspace-controls button { font-size: 13px; padding-inline: 7px; }
  .workspace-controls #workspace-account { min-width: 68px; }
  .workspace-controls #value-all { min-width: 75px; }
  .workspace-controls #scale-link { min-width: 60px; }
  .signed-in .collection-header h1 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-controls *, .workspace-search { transition: none; }
}

.slabacus-share-btn {
  --btn-scale: 1;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: none;
  gap: 20px;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 14px 28px 14px 20px;
  appearance: none;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(30, 41, 70, .72), rgba(15, 23, 42, .85));
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  box-shadow: 0 0 24px rgba(124, 58, 237, .35), 0 0 32px rgba(34, 211, 238, .25);
  font: 500 12px/1.35 Manrope, 'Segoe UI', sans-serif;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  text-shadow: none;
  white-space: normal;
  cursor: pointer;
  zoom: var(--btn-scale);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.slabacus-share-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #818cf8 45%, #22d3ee);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.slabacus-share-btn::after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: inherit;
  box-shadow: inset 0 1px 0 #ffffff0a;
  pointer-events: none;
}
.slabacus-share-btn .slabacus-share-indicators { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.slabacus-share-indicators i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 8px #2dd4bf; }
.slabacus-share-indicators i:nth-child(1) { left: 12px; top: calc(50% - 2px); }
.slabacus-share-indicators i:nth-child(2) { right: 12px; top: calc(50% - 2px); }
.slabacus-share-indicators i:nth-child(3) { right: 37px; top: 8px; }
.slabacus-share-btn .slabacus-share-orbit {
  position: relative;
  z-index: 1;
  display: block;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, .65)) drop-shadow(0 0 14px rgba(236, 72, 153, .45));
  transition: transform .2s ease, filter .2s ease;
  pointer-events: none;
}
.slabacus-share-copy { position: relative; z-index: 1; display: flex; flex: none; width: auto; min-width: 0; text-align: left; pointer-events: none; }
.slabacus-share-title { color: #fff; font: italic 900 24px/1.1 'Arial Black', 'Segoe UI Black', sans-serif; letter-spacing: .03em; white-space: nowrap; }
.slabacus-share-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(43, 55, 88, .86), rgba(23, 32, 56, .94));
  box-shadow: 0 0 29px rgba(124, 58, 237, .47), 0 0 38px rgba(34, 211, 238, .37), 0 0 19px rgba(236, 72, 153, .18);
}
.slabacus-share-btn:hover:not(:disabled) .slabacus-share-orbit { transform: scale(1.06); filter: brightness(1.12) drop-shadow(0 0 12px rgba(34, 211, 238, .8)) drop-shadow(0 0 16px rgba(236, 72, 153, .6)); }
.slabacus-share-btn:active:not(:disabled) { transform: translateY(0) scale(.98); }
.slabacus-share-btn:focus-visible { outline: 2px solid #22d3ee; outline-offset: 4px; }
.slabacus-share-btn:disabled { opacity: .55; cursor: default; }
.signed-in .collection-header { flex-wrap: wrap; gap: 16px; }
.signed-in .collection-header .slabacus-share-btn { --btn-scale: .5; margin-inline-start: auto; }
@media (prefers-reduced-motion: reduce) {
  .slabacus-share-btn, .slabacus-share-btn .slabacus-share-orbit { transition: none; }
  .slabacus-share-btn:hover:not(:disabled), .slabacus-share-btn:active:not(:disabled), .slabacus-share-btn:hover:not(:disabled) .slabacus-share-orbit { transform: none; }
}


/* Collection sidebar: navy glass, luminous navigation and category identities. */
.signed-in #collection > .workspace-rail {
  box-sizing: border-box;
  border: 1px solid #34415c;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 0% 27%, #6434ad2b, transparent 45%),
    radial-gradient(ellipse at 100% 60%, #126d7933, transparent 44%),
    linear-gradient(155deg, #0d192d, #101a30 55%, #11172a);
  color: #e8ebfa;
  box-shadow: inset 0 1px 0 #ffffff05, 0 8px 25px #03061322;
}
.signed-in #collection .workspace-rail > .workspace-nav {
  padding: 18px 11px 25px;
  border: 0;
  border-radius: 11px 11px 0 0;
  background: transparent;
}
.signed-in #collection .workspace-rail > .workspace-categories {
  position: relative;
  padding: 19px 11px 20px;
  border: 0;
  border-radius: 0 0 11px 11px;
  background: transparent;
}
.signed-in #collection .workspace-rail > .workspace-categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #68c6df85 47%, #9aa4d038, transparent);
  box-shadow: 0 0 12px #77c8dc3b;
  pointer-events: none;
}
.signed-in #collection .workspace-rail #workspace-nav {
  position: static;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.signed-in #collection .workspace-rail .category-sidebar-sticky { position: static; }
.signed-in #collection .workspace-rail .workspace-nav h2 {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 9px;
  color: #7cdcf0;
  font: 700 10px/1.4 Manrope, 'Segoe UI', sans-serif;
  letter-spacing: 1.6px;
}
.signed-in #collection .workspace-rail .workspace-nav h2::after { content: ''; width: 3px; height: 3px; border-radius: 50%; background: #7ee6f6; box-shadow: 0 0 5px #7ee6f6; }
.signed-in #collection .workspace-rail #workspace-nav button {
  --sidebar-icon: #78c9ed;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 9px 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #e3e6f4;
  font: 500 14px/1.35 Manrope, 'Segoe UI', sans-serif !important;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.signed-in #collection .workspace-rail #workspace-nav button[data-sidebar-item=collection] { --sidebar-icon: #70f5ff; }
.signed-in #collection .workspace-rail #workspace-nav button[data-sidebar-item=history] { --sidebar-icon: #84dfd5; }
.signed-in #collection .workspace-rail #workspace-nav button[data-sidebar-item=acquisitions] { --sidebar-icon: #8ae5f4; }
.signed-in #collection .workspace-rail #workspace-nav button[data-sidebar-item=atlas] { --sidebar-icon: #a4f4e6; }
.signed-in #collection .workspace-rail #workspace-nav button[data-sidebar-item=settings] { --sidebar-icon: #d0e9f0; }
.signed-in #collection .workspace-rail #workspace-nav button[data-sidebar-item=sales] { --sidebar-icon: #f8d4bd; }
.signed-in #collection .workspace-rail #workspace-nav button > svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--sidebar-icon);
  stroke-width: 1.6;
  filter: drop-shadow(0 0 7px var(--sidebar-icon));
}
.signed-in #collection .workspace-rail #workspace-nav button .sidebar-link-label { min-width: 0; font-weight: 500; }
.signed-in #collection .workspace-rail #workspace-nav button:hover {
  border-color: #71829d52;
  background: linear-gradient(110deg, #586b7d69, #3842579c);
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff06;
}
.signed-in #collection .workspace-rail #workspace-nav button[aria-current=page] {
  border: 1px solid #56d8f5;
  background: linear-gradient(110deg, #09647a8c, #122b4fa8);
  color: #e5ffff;
  box-shadow: 0 0 14px #18ccf440, inset 0 0 12px #29c5ed30;
}
.signed-in #collection .workspace-rail #workspace-nav button:focus-visible { outline: 2px solid #92eafa; outline-offset: 2px; }
.signed-in #collection .workspace-rail .sidebar-nav-count { margin-left: auto; padding: 1px 5px; border: 1px solid #81cfd352; border-radius: 8px; background: #123749; color: #bce7f3; font-size: 10px; }
.signed-in #collection .workspace-rail .workspace-categories h2 {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 0 13px;
  color: #e5cda3;
  font: 700 10px/1.4 Manrope, 'Segoe UI', sans-serif;
  letter-spacing: 1.2px;
}
.signed-in #collection .workspace-rail .workspace-categories h2::after { content: '✦'; color: #d6b98a; font-size: 8px; }
.signed-in #collection .workspace-rail #workspace-categories { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 0; }
.signed-in #collection .workspace-rail #workspace-categories button {
  --category-edge: #5b688b;
  --category-ink: #ced9fb;
  --category-fill: #26355365;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-width: 0;
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid var(--category-edge);
  border-radius: 999px;
  background: linear-gradient(105deg, var(--category-fill), #171e33bd);
  color: var(--category-ink);
  font: 500 13px/1.35 Manrope, 'Segoe UI', sans-serif;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: inset 0 1px 0 #ffffff04;
  transition: border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}
.signed-in #collection .workspace-rail #workspace-categories button[data-category-style=all] { --category-edge: #c09b50; --category-ink: #ffda90; --category-fill: #79552199; }
.signed-in #collection .workspace-rail #workspace-categories button[data-category-style=figures] { --category-edge: #926b85; --category-ink: #f0cede; --category-fill: #61344873; }
.signed-in #collection .workspace-rail #workspace-categories button[data-category-style=comics] { --category-edge: #53617f; --category-ink: #c0caff; --category-fill: #303e646f; }
.signed-in #collection .workspace-rail #workspace-categories button[data-category-style=pokemon] { --category-edge: #92745b; --category-ink: #ffc99a; --category-fill: #6c3d267d; }
.signed-in #collection .workspace-rail #workspace-categories button[data-category-style=cards] { --category-edge: #5895a0; --category-ink: #9aeef0; --category-fill: #1e6b747d; }
.signed-in #collection .workspace-rail #workspace-categories button[data-category-style=uncategorised] { --category-edge: #77798c; --category-ink: #c4c1d5; --category-fill: #56566e85; }
.signed-in #collection .workspace-rail #workspace-categories button[aria-pressed=true] {
  border-color: var(--category-edge);
  background: linear-gradient(105deg, var(--category-fill), #293047b8);
  color: var(--category-ink);
  box-shadow: 0 0 12px color-mix(in srgb, var(--category-edge) 36%, transparent), inset 0 0 10px color-mix(in srgb, var(--category-edge) 18%, transparent);
}
.signed-in #collection .workspace-rail #workspace-categories button:hover { filter: brightness(1.15); box-shadow: 0 0 10px color-mix(in srgb, var(--category-edge) 32%, transparent); }
.signed-in #collection .workspace-rail #workspace-categories button:focus-visible { outline: 2px solid var(--category-ink); outline-offset: 2px; }
.signed-in #collection .workspace-rail .category-name { min-width: 0; }
.signed-in #collection .workspace-rail .category-record-count { flex: none; color: inherit; font: 500 10px/1.3 Manrope, 'Segoe UI', sans-serif; font-variant-numeric: tabular-nums; white-space: nowrap; }
.signed-in #collection .workspace-rail #workspace-categories button > svg { display: block; flex: 0 0 18px; width: 18px; height: 18px; color: var(--category-ink); stroke-width: 1.3; }
@media (max-width: 700px) {
  .signed-in #collection .workspace-rail #workspace-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signed-in #collection .workspace-rail .workspace-nav h2 { grid-column: 1 / -1; }
  .signed-in #collection .workspace-rail #workspace-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .signed-in #collection .workspace-rail #workspace-nav button,
  .signed-in #collection .workspace-rail #workspace-categories button { transition: none; }
}


/* Responsive and palette adaptations follow the shared desktop components. */
#workspace-nav { gap: 8px; }
#workspace-categories { gap: 8px; }
body:not(.account-only) .auth { border-radius: 24px; border-color: #53628b55; background: linear-gradient(135deg,#1b2c3c,#171e32); }
body:not(.account-only) .auth h1 { font-weight: 800; }
body:not(.account-only) .auth .primary { border-radius: 12px; background: linear-gradient(125deg,#ffe59b,#e9b948); }
#asset-editor.desktop-asset-editor { border-radius: 24px; border-color: var(--border); background: var(--field); box-shadow: 0 22px 70px #03061166; }
.asset-edit-details,.asset-edit-pictures,.asset-edit-photo-display { border-radius: 16px; }
.signed-in[data-palette=light] #collection > .workspace-rail { color: #192f48; background: linear-gradient(145deg,#eef3fc,#e1eff3); border-color: #c3cce0; }
.signed-in[data-palette=light] #collection .workspace-rail #workspace-nav button { color: #263449; }
.signed-in[data-palette=light] #collection .workspace-rail #workspace-nav button[aria-current=page] { background: #b7edf2; border-color: #2589a0; }
.signed-in[data-palette=light] #collection .workspace-rail #workspace-nav button:hover { background: #d0dce9; }
.signed-in[data-palette=light] #collection .workspace-rail :is(.workspace-nav,.workspace-categories) h2 { color: #3a576c; }
.signed-in[data-palette=light] #collection .workspace-rail #workspace-categories button { color: #243348; background: linear-gradient(105deg,#f5f7fb,#e1e9f2); }
.signed-in[data-palette=light] #collection .workspace-rail #workspace-categories button[aria-pressed=true] { color: #1a2b41; background: #d5e8ef; }
@media (max-width: 700px) {
  .signed-in .collection-header .slabacus-share-btn { --btn-scale: .5; min-height: 88px; }
  .signed-in #collection .workspace-rail #workspace-nav { gap: 8px; }
  .signed-in #collection .workspace-rail #workspace-nav button { min-height: 44px; font-size: 14px !important; }
  .signed-in #collection .workspace-rail #workspace-categories button { min-height: 40px; font-size: 13px; }
}
@media (max-width: 380px) {
  .workspace-controls { flex-wrap: wrap; }
  .signed-in .collection-header .slabacus-share-btn { margin-inline-start: 0; }
}