:root {
  --ink: #111111;
  --paper: #fffdf5;
  --canvas: #f2ecdf;
  --canvas-alt: #efe7d7;
  --blue: #0b63ff;
  --red: #ff4f32;
  --yellow: #ffd63b;
  --green: #16c172;
  --rose-soft: #ffd8d4;
  --amber-soft: #ffecc2;
  --green-soft: #d8ffea;
  --panel: #ffffff;
  --panel-muted: #f4efe3;
  --field-bg: #ffffff;
  --field-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
  --header-bg: rgba(255, 253, 245, 0.95);
  --overlay-strong: rgba(17, 17, 17, 0.56);
  --overlay-soft: rgba(17, 17, 17, 0.48);
  --overlay-lightbox: rgba(7, 7, 7, 0.88);
  --frame-bg: #080808;
  --muted-ink: #343434;
  --placeholder-ink: rgba(17, 17, 17, 0.52);
  --warn-bg: var(--red);
  --warn-ink: #111111;
  --shadow: 6px 6px 0 var(--ink);
  --border: 3px solid var(--ink);
  --image-loader-overlay: rgba(255, 253, 245, 0.72);
  --image-loader-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2050%2050%27%3E%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%2719%27%20fill%3D%27none%27%20stroke%3D%27%23111111%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-dasharray%3D%2730%2090%27%3E%3CanimateTransform%20attributeName%3D%27transform%27%20type%3D%27rotate%27%20dur%3D%270.8s%27%20repeatCount%3D%27indefinite%27%20from%3D%270%2025%2025%27%20to%3D%27360%2025%2025%27/%3E%3C/circle%3E%3C/svg%3E");
}

html {
  scrollbar-gutter: stable;
}

html.theme-dark {
  color-scheme: dark;
  --ink: #edf3ff;
  --paper: #1a2130;
  --canvas: #0a1019;
  --canvas-alt: #0f1724;
  --blue: #71a9ff;
  --red: #ff7863;
  --yellow: #ffe173;
  --green: #3cd694;
  --rose-soft: #4f2828;
  --amber-soft: #4e3b14;
  --green-soft: #1c4a37;
  --panel: #20293a;
  --panel-muted: #172131;
  --field-bg: #121b2a;
  --field-shadow: inset 0 0 0 1px rgba(237, 243, 255, 0.2);
  --header-bg: rgba(8, 13, 20, 0.9);
  --overlay-strong: rgba(3, 8, 13, 0.74);
  --overlay-soft: rgba(3, 8, 13, 0.66);
  --overlay-lightbox: rgba(2, 6, 11, 0.92);
  --frame-bg: #070d17;
  --muted-ink: #c7d2e4;
  --placeholder-ink: rgba(227, 235, 250, 0.68);
  --warn-bg: #9b3c2f;
  --warn-ink: #fff1e8;
  --shadow: 5px 5px 0 rgba(0, 0, 0, 0.55);
  --border: 3px solid #d4deef;
  --image-loader-overlay: rgba(8, 13, 20, 0.7);
  --image-loader-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2050%2050%27%3E%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%2719%27%20fill%3D%27none%27%20stroke%3D%27%23edf3ff%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-dasharray%3D%2730%2090%27%3E%3CanimateTransform%20attributeName%3D%27transform%27%20type%3D%27rotate%27%20dur%3D%270.8s%27%20repeatCount%3D%27indefinite%27%20from%3D%270%2025%2025%27%20to%3D%27360%2025%2025%27/%3E%3C/circle%3E%3C/svg%3E");
}

html.theme-sven {
  color-scheme: light;
  --ink: #0b1220;
  --paper: #f8fafc;
  --canvas: #dbe7f3;
  --canvas-alt: #cfdff0;
  --blue: #1d4ed8;
  --red: #dc2626;
  --yellow: #f59e0b;
  --green: #059669;
  --rose-soft: #fee2e2;
  --amber-soft: #ffedd5;
  --green-soft: #d1fae5;
  --panel: #ffffff;
  --panel-muted: #e2e8f0;
  --field-bg: #ffffff;
  --field-shadow: inset 0 0 0 1px rgba(11, 18, 32, 0.2);
  --header-bg: rgba(248, 250, 252, 0.98);
  --overlay-strong: rgba(11, 18, 32, 0.6);
  --overlay-soft: rgba(11, 18, 32, 0.52);
  --overlay-lightbox: rgba(15, 23, 42, 0.88);
  --frame-bg: #dbe7f3;
  --muted-ink: #1e293b;
  --placeholder-ink: rgba(30, 41, 59, 0.8);
  --warn-bg: #d97706;
  --warn-ink: #ffffff;
  --shadow: 0 14px 26px rgba(29, 78, 216, 0.2);
  --border: 1px solid #94a3b8;
  --image-loader-overlay: rgba(219, 231, 243, 0.75);
  --image-loader-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http://www.w3.org/2000/svg%27%20viewBox%3D%270%200%2050%2050%27%3E%3Ccircle%20cx%3D%2725%27%20cy%3D%2725%27%20r%3D%2719%27%20fill%3D%27none%27%20stroke%3D%27%231d4ed8%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27%20stroke-dasharray%3D%2730%2090%27%3E%3CanimateTransform%20attributeName%3D%27transform%27%20type%3D%27rotate%27%20dur%3D%270.8s%27%20repeatCount%3D%27indefinite%27%20from%3D%270%2025%2025%27%20to%3D%27360%2025%2025%27/%3E%3C/circle%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

.hidden {
  display: none !important;
}

.flex {
  display: flex !important;
}

.grid {
  display: grid !important;
}

.fixed {
  position: fixed !important;
}

.inset-0 {
  inset: 0 !important;
}

html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
}

body.theme-brutalist,
body.theme-brutalist-login {
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", "Avenir Next", "Helvetica Neue", sans-serif;
  letter-spacing: 0.01em;
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 214, 59, 0.45) 0 16%, transparent 16.5%),
    radial-gradient(circle at 86% 10%, rgba(11, 99, 255, 0.26) 0 12%, transparent 12.5%),
    repeating-linear-gradient(
      -35deg,
      var(--canvas) 0,
      var(--canvas) 14px,
      var(--canvas-alt) 14px,
      var(--canvas-alt) 28px
    );
}

html.theme-sven body.theme-brutalist,
html.theme-sven body.theme-brutalist-login {
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.14) 0 18%, transparent 18.5%),
    linear-gradient(155deg, var(--canvas) 0%, var(--canvas-alt) 100%);
}

body.theme-brutalist {
  display: flex;
  flex-direction: column;
}

body.theme-brutalist main {
  flex: 1 0 auto;
}

body.theme-brutalist h1,
body.theme-brutalist h2,
body.theme-brutalist h3,
body.theme-brutalist h4,
body.theme-brutalist-login h1 {
  font-family: "Archivo Black", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.theme-brutalist header {
  border-bottom: var(--border);
  background: var(--header-bg);
  backdrop-filter: blur(4px);
}

body.theme-brutalist main,
body.theme-brutalist header > div {
  width: 100%;
  max-width: 72rem;
}

@media (min-width: 1024px) {
  body.theme-brutalist main.app-main--sales-wide {
    max-width: none;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

body.theme-brutalist footer {
  width: 100%;
  max-width: 72rem;
}

body.theme-brutalist .header-top-row {
  min-width: 0;
  gap: 0.45rem;
}

body.theme-brutalist .app-title {
  min-width: 0;
  line-height: 1.05;
}

body.theme-brutalist .header-actions {
  margin-left: auto;
  min-width: 0;
  gap: 0.4rem;
}

body.theme-brutalist .env-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--red);
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.theme-brutalist .actor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  max-width: 10rem;
  overflow: hidden;
  white-space: nowrap;
}

body.theme-brutalist .rounded,
body.theme-brutalist .rounded-lg,
body.theme-brutalist .rounded-xl,
body.theme-brutalist .rounded-2xl,
body.theme-brutalist-login .rounded,
body.theme-brutalist-login .rounded-lg,
body.theme-brutalist-login .rounded-xl,
body.theme-brutalist-login .rounded-2xl {
  border-radius: 0 !important;
}

html.theme-sven body.theme-brutalist .rounded,
html.theme-sven body.theme-brutalist .rounded-lg,
html.theme-sven body.theme-brutalist .rounded-xl,
html.theme-sven body.theme-brutalist .rounded-2xl,
html.theme-sven body.theme-brutalist-login .rounded,
html.theme-sven body.theme-brutalist-login .rounded-lg,
html.theme-sven body.theme-brutalist-login .rounded-xl,
html.theme-sven body.theme-brutalist-login .rounded-2xl {
  border-radius: 0.9rem !important;
}

body.theme-brutalist button,
body.theme-brutalist a[class],
body.theme-brutalist-login button,
body.theme-brutalist-login a[class] {
  border: var(--border) !important;
  box-shadow: 4px 4px 0 var(--ink);
  border-radius: 0 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

html.theme-sven body.theme-brutalist button,
html.theme-sven body.theme-brutalist a[class],
html.theme-sven body.theme-brutalist-login button,
html.theme-sven body.theme-brutalist-login a[class] {
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.22);
  border-color: #1e293b !important;
  text-transform: none;
  letter-spacing: 0.015em;
}

html.theme-sven body.theme-brutalist .tab-trigger-active {
  background: var(--blue) !important;
  color: #ffffff !important;
}

html.theme-sven body.theme-brutalist .overview-chip-active {
  background: var(--blue) !important;
  color: #ffffff !important;
}

html.theme-sven body.theme-brutalist .status-banner--ok {
  color: #ffffff;
}

html.theme-sven body.theme-brutalist .status-chip,
html.theme-sven body.theme-brutalist .item-status-pill {
  background: var(--blue);
  color: #ffffff;
}

body.theme-brutalist button:hover,
body.theme-brutalist a[class]:hover,
body.theme-brutalist-login button:hover,
body.theme-brutalist-login a[class]:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

body.theme-brutalist button:active,
body.theme-brutalist a[class]:active,
body.theme-brutalist-login button:active,
body.theme-brutalist-login a[class]:active {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0 var(--ink);
}

body.theme-brutalist button[disabled],
body.theme-brutalist-login button[disabled] {
  pointer-events: none;
}

body.theme-brutalist button[disabled]:hover,
body.theme-brutalist button[disabled]:active,
body.theme-brutalist-login button[disabled]:hover,
body.theme-brutalist-login button[disabled]:active {
  transform: none;
  box-shadow: 4px 4px 0 var(--ink);
}

body.theme-brutalist button.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

body.theme-brutalist button.is-loading::after {
  content: "";
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-left: 0.45rem;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 999px;
  vertical-align: -0.1rem;
  animation: btn-spin 700ms linear infinite;
}

body.theme-brutalist button.is-loading:hover,
body.theme-brutalist button.is-loading:active {
  transform: none;
  box-shadow: 4px 4px 0 var(--ink);
}

@keyframes btn-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.theme-brutalist img.image-loading-managed {
  transition: opacity 160ms ease, filter 160ms ease;
}

body.theme-brutalist img.image-loading-pending {
  opacity: 0.46;
  filter: saturate(0.55);
  background-color: var(--image-loader-overlay);
  background-image: var(--image-loader-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.85rem 1.85rem;
}

body.theme-brutalist .item-card__image.image-loading-pending,
body.theme-brutalist .image-lightbox-img.image-loading-pending {
  background-size: 2.15rem 2.15rem;
}

body.theme-brutalist img.image-loading-loaded {
  opacity: 1;
  filter: none;
}

body.theme-brutalist img.image-loading-error {
  opacity: 0.58;
  filter: grayscale(0.35);
  background-color: var(--image-loader-overlay);
}

body.theme-brutalist input,
body.theme-brutalist textarea,
body.theme-brutalist select,
body.theme-brutalist-login input,
body.theme-brutalist-login textarea,
body.theme-brutalist-login select {
  border: var(--border) !important;
  border-radius: 0 !important;
  background: var(--field-bg);
  color: var(--ink);
  box-shadow: var(--field-shadow);
  font-family: "Space Grotesk", sans-serif;
}

body.theme-brutalist input::placeholder,
body.theme-brutalist textarea::placeholder,
body.theme-brutalist-login input::placeholder,
body.theme-brutalist-login textarea::placeholder {
  color: var(--placeholder-ink);
}

body.theme-brutalist input:focus,
body.theme-brutalist textarea:focus,
body.theme-brutalist select:focus,
body.theme-brutalist-login input:focus,
body.theme-brutalist-login textarea:focus,
body.theme-brutalist-login select:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 1px;
}

body.theme-brutalist .field-label,
body.theme-brutalist-login .field-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.theme-brutalist .field-required-dot,
body.theme-brutalist-login .field-required-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--red);
  flex: 0 0 auto;
}

body.theme-brutalist .field-label-required .field-required-dot,
body.theme-brutalist-login .field-label-required .field-required-dot {
  margin-left: 0.1rem;
}

body.theme-brutalist .form-error-box,
body.theme-brutalist-login .form-error-box {
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--rose-soft);
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
}

body.theme-brutalist [data-field-wrap].field-has-error .field-label,
body.theme-brutalist-login [data-field-wrap].field-has-error .field-label {
  color: var(--red);
}

body.theme-brutalist [data-field-wrap].field-has-error[data-images-field],
body.theme-brutalist-login [data-field-wrap].field-has-error[data-images-field] {
  border-color: var(--red) !important;
  box-shadow: inset 0 0 0 2px var(--red);
}

body.theme-brutalist input.is-invalid,
body.theme-brutalist textarea.is-invalid,
body.theme-brutalist select.is-invalid,
body.theme-brutalist-login input.is-invalid,
body.theme-brutalist-login textarea.is-invalid,
body.theme-brutalist-login select.is-invalid {
  outline: 3px solid var(--red);
  outline-offset: 1px;
  background: #fff3f1;
}

body.theme-brutalist section[class*="bg-white"],
body.theme-brutalist [data-item-id],
body.theme-brutalist .adjust-sheet-shell,
body.theme-brutalist #actor-modal > div,
body.theme-brutalist #admin-unlock-modal > div,
body.theme-brutalist #status-feedback-modal > div,
body.theme-brutalist-login .login-shell {
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--paper);
}

html.theme-sven body.theme-brutalist section[class*="bg-white"],
html.theme-sven body.theme-brutalist [data-item-id],
html.theme-sven body.theme-brutalist .adjust-sheet-shell,
html.theme-sven body.theme-brutalist #actor-modal > div,
html.theme-sven body.theme-brutalist #admin-unlock-modal > div,
html.theme-sven body.theme-brutalist #status-feedback-modal > div,
html.theme-sven body.theme-brutalist-login .login-shell {
  box-shadow: var(--shadow);
}

body.theme-brutalist .tab-trigger {
  width: 100%;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--panel);
  color: var(--ink);
}

body.theme-brutalist .sales-subtab-trigger {
  min-width: 0;
  min-height: 3rem;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-align: center;
  line-height: 1.1;
}

body.theme-brutalist .theme-toggle {
  width: 2.6rem;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0.4rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.theme-brutalist .theme-toggle svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.theme-brutalist .tab-trigger-active {
  background: var(--red) !important;
  color: #111 !important;
}

body.theme-brutalist .tab-trigger-inactive {
  background: var(--panel) !important;
  color: var(--ink) !important;
}

body.theme-brutalist .status-banner {
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body.theme-brutalist .status-banner.hidden {
  display: none !important;
}

body.theme-brutalist .status-banner--ok {
  background: var(--green);
  color: #0f1b16;
}

body.theme-brutalist .status-banner--warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

body.theme-brutalist .status-banner__reset {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit;
  text-decoration: underline;
  font-size: 0.75rem;
  padding: 0;
}

body.theme-brutalist .status-chip {
  border: 2px solid var(--ink);
  background: var(--yellow);
  padding: 0.1rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.theme-brutalist .bg-slate-900,
body.theme-brutalist .bg-slate-800 {
  background: var(--blue) !important;
  color: #ffffff !important;
}

body.theme-brutalist .bg-emerald-600,
body.theme-brutalist-login .bg-emerald-600 {
  background: var(--green) !important;
  color: #0f1b16 !important;
}

body.theme-brutalist .bg-rose-600 {
  background: var(--red) !important;
  color: #ffffff !important;
}

body.theme-brutalist .bg-slate-200,
body.theme-brutalist .bg-slate-100 {
  background: var(--panel) !important;
  color: var(--ink) !important;
}

body.theme-brutalist .bg-slate-50,
body.theme-brutalist-login .bg-slate-50 {
  background: var(--panel-muted) !important;
  color: var(--ink) !important;
}

body.theme-brutalist .bg-rose-50 {
  background: var(--rose-soft) !important;
}

body.theme-brutalist .bg-amber-50 {
  background: var(--amber-soft) !important;
}

body.theme-brutalist .bg-emerald-50 {
  background: var(--green-soft) !important;
}

body.theme-brutalist .text-slate-600,
body.theme-brutalist .text-slate-500 {
  color: var(--muted-ink) !important;
}

body.theme-brutalist .text-slate-900,
body.theme-brutalist .text-slate-800,
body.theme-brutalist .text-slate-700,
body.theme-brutalist-login .text-slate-900,
body.theme-brutalist-login .text-slate-800,
body.theme-brutalist-login .text-slate-700 {
  color: var(--ink) !important;
}

body.theme-brutalist .bg-emerald-100,
body.theme-brutalist-login .bg-emerald-100 {
  background: var(--green-soft) !important;
}

body.theme-brutalist .text-emerald-800,
body.theme-brutalist-login .text-emerald-800 {
  color: #0f4a31 !important;
}

body.theme-brutalist .bg-rose-100,
body.theme-brutalist-login .bg-rose-100 {
  background: var(--rose-soft) !important;
}

body.theme-brutalist .text-rose-800,
body.theme-brutalist-login .text-rose-800 {
  color: #6d1c12 !important;
}

body.theme-brutalist .text-rose-700,
body.theme-brutalist-login .text-rose-700 {
  color: #92291d !important;
}

body.theme-brutalist .text-amber-900,
body.theme-brutalist-login .text-amber-900 {
  color: #694307 !important;
}

body.theme-brutalist .text-amber-700,
body.theme-brutalist-login .text-amber-700 {
  color: #8b5c10 !important;
}

body.theme-brutalist #actor-label {
  display: inline-block;
  max-width: 6.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
}

body.theme-brutalist .logout-btn {
  padding-left: 0.65rem !important;
  padding-right: 0.65rem !important;
}

body.theme-brutalist #capture-section {
  display: none;
}

body.theme-brutalist #capture-locked-hint {
  display: block;
}

html.has-location body.theme-brutalist #capture-section {
  display: block;
}

html.has-location body.theme-brutalist #capture-locked-hint {
  display: none;
}

body.theme-brutalist .capture-lock-note {
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--red);
  color: #ffffff;
}

body.theme-brutalist .capture-lock-note p {
  margin: 0;
  letter-spacing: 0.02em;
}

body.theme-brutalist #actor-modal,
body.theme-brutalist #admin-unlock-modal,
body.theme-brutalist #status-feedback-modal {
  position: fixed;
  inset: 0;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--overlay-strong);
}

body.theme-brutalist #actor-modal.hidden,
body.theme-brutalist #admin-unlock-modal.hidden,
body.theme-brutalist #status-feedback-modal.hidden {
  display: none !important;
}

body.theme-brutalist #actor-modal > div,
body.theme-brutalist #admin-unlock-modal > div,
body.theme-brutalist #status-feedback-modal > div {
  width: min(100%, 28rem);
  margin-top: clamp(3.5rem, 10vh, 6rem);
  padding: 1rem;
}

body.theme-brutalist #actor-modal h2,
body.theme-brutalist #admin-unlock-title,
body.theme-brutalist #status-feedback-title {
  margin: 0;
  font-family: "Archivo Black", "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.theme-brutalist #actor-modal p,
body.theme-brutalist #admin-unlock-modal p,
body.theme-brutalist #status-feedback-modal p {
  margin: 0;
}

body.theme-brutalist #actor-input,
body.theme-brutalist #admin-unlock-password {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font-size: 1rem;
}

body.theme-brutalist #admin-unlock-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.theme-brutalist #admin-unlock-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

body.theme-brutalist #admin-unlock-form > div:last-child,
body.theme-brutalist #status-feedback-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

body.theme-brutalist #actor-modal button,
body.theme-brutalist #admin-unlock-form button,
body.theme-brutalist #status-feedback-actions button {
  min-height: 2.75rem;
  padding: 0.65rem 0.75rem;
}

body.theme-brutalist #actor-modal button {
  width: 100%;
}

body.theme-brutalist #status-feedback-modal > div {
  text-align: center;
}

body.theme-brutalist #status-feedback-spinner,
body.theme-brutalist #status-feedback-success,
body.theme-brutalist #status-feedback-error {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
}

body.theme-brutalist #status-feedback-spinner {
  border: 4px solid var(--panel-muted);
  border-top-color: var(--blue);
  border-radius: 999px;
  animation: brutalist-spin 0.85s linear infinite;
}

body.theme-brutalist #status-feedback-success,
body.theme-brutalist #status-feedback-error {
  align-items: center;
  justify-content: center;
  border: var(--border);
  font-family: "Archivo Black", "Space Grotesk", sans-serif;
  font-size: 1.45rem;
}

body.theme-brutalist #status-feedback-success {
  background: var(--green-soft);
  color: #0f4a31;
}

body.theme-brutalist #status-feedback-error {
  background: var(--rose-soft);
  color: #92291d;
}

body.theme-brutalist.modal-open {
  overflow: hidden;
}

body.theme-brutalist.adjust-open {
  overflow: hidden;
}

body.theme-brutalist.image-preview-open {
  overflow: hidden;
}

body.theme-brutalist.overlay-open {
  overflow: hidden;
}

body.theme-brutalist #manage-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  padding: 0.75rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: var(--overlay-strong);
}

body.theme-brutalist #manage-sheet.hidden {
  display: none;
}

body.theme-brutalist .manage-sheet-shell {
  width: min(100%, 58rem);
  height: 100%;
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.theme-brutalist .manage-sheet-header {
  border-bottom: var(--border);
  padding: 0.55rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@keyframes brutalist-spin {
  to {
    transform: rotate(360deg);
  }
}

body.theme-brutalist .manage-sheet-content {
  flex: 1;
  overflow: auto;
  padding: 0.6rem;
}

body.theme-brutalist .manage-sheet-content > [data-item-id] {
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

body.theme-brutalist .manage-card__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

body.theme-brutalist .manage-main-grid,
body.theme-brutalist .manage-dim-grid,
body.theme-brutalist .manage-image-grid {
  min-width: 0;
}

body.theme-brutalist .manage-existing-image {
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--panel);
}

body.theme-brutalist .manage-image-preview {
  width: 100%;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 500 !important;
  text-align: left;
}

body.theme-brutalist .manage-image-preview:hover,
body.theme-brutalist .manage-image-preview:active {
  transform: none !important;
  box-shadow: none !important;
}

body.theme-brutalist .manage-image-preview img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

body.theme-brutalist .manage-image-hint {
  display: block;
  text-align: center;
  font-size: 0.72rem;
}

body.theme-brutalist #image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: var(--overlay-lightbox);
}

body.theme-brutalist #image-lightbox.hidden {
  display: none;
}

body.theme-brutalist .image-lightbox-shell {
  width: min(100%, 58rem);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.theme-brutalist .image-lightbox-toolbar {
  display: flex;
  justify-content: flex-end;
}

body.theme-brutalist .image-lightbox-frame {
  border: var(--border);
  box-shadow: var(--shadow);
  background: var(--frame-bg);
  padding: 0.45rem;
  min-height: 14rem;
  display: grid;
  place-items: center;
}

body.theme-brutalist .image-lightbox-img {
  max-width: 100%;
  max-height: min(78vh, 46rem);
  object-fit: contain;
}

body.theme-brutalist #adjust-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.75rem;
  background: var(--overlay-soft);
}

body.theme-brutalist #adjust-sheet.hidden {
  display: none;
}

body.theme-brutalist .adjust-sheet-shell {
  width: min(100%, 42rem);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.theme-brutalist .adjust-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: var(--border);
  padding: 0.65rem 0.75rem;
}

body.theme-brutalist .adjust-sheet-body {
  padding: 0.75rem;
  overflow: auto;
}

body.theme-brutalist .adjust-sheet-body #adjust-image {
  margin: 0 auto;
}

body.theme-brutalist .adjust-stepper button,
body.theme-brutalist .adjust-presets button {
  width: 100%;
}

body.theme-brutalist #image-preview-list > div {
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--panel);
}

body.theme-brutalist .config-list-row {
  display: flex;
  gap: 0.5rem;
}

body.theme-brutalist .config-list-row > input {
  flex: 1;
}

body.theme-brutalist .config-list-row > button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

body.theme-brutalist .category-multi-helper {
  border-left: 3px solid var(--ink);
  padding-left: 0.6rem;
}

body.theme-brutalist .category-multi-helper button {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem !important;
}

body.theme-brutalist .category-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

body.theme-brutalist .category-chip {
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 0.1rem 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
}

body.theme-brutalist .overview-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  position: relative;
  z-index: 2;
}

body.theme-brutalist .overview-stat-tile {
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--panel);
  padding: 0.45rem 0.5rem;
}

body.theme-brutalist .overview-stat-label {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted-ink);
}

body.theme-brutalist .overview-stat-value {
  margin: 0.08rem 0 0;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1;
}

body.theme-brutalist .overview-gamification-panel {
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--panel-muted);
}

body.theme-brutalist .overview-gamification-panel[open] {
  background: var(--panel);
}

body.theme-brutalist .overview-gamification-toggle {
  list-style: none;
  margin: 0;
}

body.theme-brutalist .overview-gamification-toggle::-webkit-details-marker {
  display: none;
}

body.theme-brutalist .overview-gamification-toggle::marker {
  content: "";
}

body.theme-brutalist .overview-gamification-toggle-row {
  position: relative;
  min-height: 1.4rem;
  padding-left: 1.2rem;
}

body.theme-brutalist .overview-gamification-toggle-row::before {
  content: ">";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  line-height: 1;
}

body.theme-brutalist details[open] > .overview-gamification-toggle .overview-gamification-toggle-row::before {
  content: "v";
}

body.theme-brutalist .overview-gamification-title {
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body.theme-brutalist .overview-gamification-live {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

body.theme-brutalist .overview-gamification-content {
  border-top: 2px solid var(--ink);
  padding-top: 0.7rem;
}

body.theme-brutalist .overview-gamification-tile {
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

body.theme-brutalist .overview-gamification-tile-value {
  line-height: 1;
}

body.theme-brutalist .overview-gamification-tile-label {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body.theme-brutalist .overview-gamification-row {
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--panel);
}

body.theme-brutalist .overview-gamification-rank {
  margin: 0;
}

body.theme-brutalist .overview-gamification-rank-badge {
  border: 2px solid var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
}

body.theme-brutalist .overview-gamification-meta,
body.theme-brutalist .overview-gamification-split,
body.theme-brutalist .overview-gamification-updated {
  margin-bottom: 0;
}

body.theme-brutalist .overview-gamification-bar-track {
  border: 2px solid var(--ink);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

body.theme-brutalist .overview-gamification-bar-fill {
  box-shadow: none !important;
}

body.theme-brutalist .overview-gamification-empty {
  border: 2px dashed var(--ink);
  box-shadow: none;
  background: var(--panel-muted);
}

body.theme-brutalist .overview-filters {
  border-left: 3px solid var(--ink);
  padding-left: 0.5rem;
  position: relative;
  z-index: 1;
}

body.theme-brutalist .overview-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body.theme-brutalist .overview-filter-row-actions {
  justify-content: flex-end;
}

body.theme-brutalist .overview-filter-clear {
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

body.theme-brutalist .overview-chip {
  padding: 0.3rem 0.6rem !important;
  font-size: 0.65rem;
  letter-spacing: 0.02em;
  touch-action: manipulation;
}

body.theme-brutalist .overview-chip-active {
  background: var(--yellow) !important;
  color: #111 !important;
}

body.theme-brutalist .overview-chip:hover,
body.theme-brutalist .overview-chip:active,
body.theme-brutalist .overview-chip:focus-visible {
  transform: none !important;
  box-shadow: 4px 4px 0 var(--ink) !important;
}

body.theme-brutalist .overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem;
  align-items: stretch;
}

body.theme-brutalist .overview-empty-state {
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--panel);
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
}

body.theme-brutalist .overview-card-hidden {
  display: none !important;
}

body.theme-brutalist .item-card--overview {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.45rem !important;
  color: var(--ink);
}

body.theme-brutalist .item-card--overview .item-card__content,
body.theme-brutalist .item-card--overview .item-card__title,
body.theme-brutalist .item-card--overview .item-card__quantity {
  color: var(--ink);
}

body.theme-brutalist .item-card--overview .item-card__meta {
  color: var(--muted-ink);
}

body.theme-brutalist .item-card--overview .item-card__version,
body.theme-brutalist .item-card--overview .item-card__chip {
  color: var(--ink);
  background: var(--panel);
}

body.theme-brutalist .item-card-overview-media {
  position: relative;
}

body.theme-brutalist .item-card__image-button {
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

body.theme-brutalist .item-card__image-button:hover,
body.theme-brutalist .item-card__image-button:active {
  transform: none !important;
  box-shadow: none !important;
}

body.theme-brutalist .item-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--panel);
}

body.theme-brutalist .item-card__image--empty {
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-ink);
}

body.theme-brutalist .item-status-pill {
  position: absolute;
  left: 0.35rem;
  top: 0.35rem;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--yellow);
  color: #111;
  padding: 0.1rem 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.theme-brutalist .item-card__content {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

body.theme-brutalist .item-card__title {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.15;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.theme-brutalist .item-card__version {
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 0.05rem 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1;
}

body.theme-brutalist .item-card__quantity {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  font-weight: 700;
}

body.theme-brutalist .item-card__meta {
  margin: 0.05rem 0 0;
  font-size: 0.7rem;
  color: var(--muted-ink);
}

body.theme-brutalist .item-card__chips {
  margin-top: 0.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

body.theme-brutalist .item-card__chip {
  border: 2px solid var(--ink);
  background: var(--panel);
  padding: 0.05rem 0.3rem;
  font-size: 0.62rem;
  font-weight: 700;
}

body.theme-brutalist [data-tab-content] > section,
body.theme-brutalist #recent-items > [data-item-id],
body.theme-brutalist #search-results [data-item-id] {
  animation: panel-enter 280ms ease-out both;
}

body.theme-brutalist .item-success-flash {
  animation: item-success-pulse 760ms ease-out;
}

@keyframes item-success-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 193, 114, 0.85), var(--shadow);
  }
  100% {
    box-shadow: 0 0 0 18px rgba(22, 193, 114, 0), var(--shadow);
  }
}

@keyframes panel-enter {
  from {
    opacity: 0;
    transform: translateY(12px) rotate(-0.4deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}

body.theme-brutalist-login .login-wrapper {
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  align-content: center;
  padding: max(2rem, env(safe-area-inset-top)) 1rem max(2rem, env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.theme-brutalist-login .login-shell {
  width: 100%;
  max-width: 26rem;
  padding: 1.4rem;
}

body.theme-brutalist-login input,
body.theme-brutalist-login button {
  -webkit-appearance: none;
  appearance: none;
}

body.theme-brutalist-login input {
  font-size: 16px;
}

body.theme-brutalist-login .error-box {
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  background: var(--rose-soft);
  color: var(--ink);
}

html.theme-dark body.theme-brutalist,
html.theme-dark body.theme-brutalist-login {
  background:
    radial-gradient(circle at 14% 14%, rgba(255, 225, 115, 0.13) 0 14%, transparent 14.5%),
    radial-gradient(circle at 86% 10%, rgba(113, 169, 255, 0.2) 0 12%, transparent 12.5%),
    repeating-linear-gradient(
      -35deg,
      var(--canvas) 0,
      var(--canvas) 14px,
      var(--canvas-alt) 14px,
      var(--canvas-alt) 28px
    );
}

@supports (-webkit-touch-callout: none) {
  body.theme-brutalist,
  body.theme-brutalist-login,
  body.theme-brutalist-login .login-wrapper {
    min-height: -webkit-fill-available;
  }
}

@media (min-width: 640px) {
  body.theme-brutalist-login .login-wrapper {
    place-items: center;
  }
}

html.theme-dark body.theme-brutalist .theme-toggle,
html.theme-dark body.theme-brutalist .bg-slate-200,
html.theme-dark body.theme-brutalist .bg-slate-100 {
  background: var(--panel) !important;
  color: var(--ink) !important;
}

html.theme-dark body.theme-brutalist .tab-trigger-inactive {
  background: var(--panel) !important;
  color: var(--ink) !important;
}

html.theme-dark body.theme-brutalist .tab-trigger-active {
  color: #101521 !important;
}

html.theme-dark body.theme-brutalist .text-slate-600,
html.theme-dark body.theme-brutalist .text-slate-500,
html.theme-dark body.theme-brutalist-login .text-slate-600,
html.theme-dark body.theme-brutalist-login .text-slate-500 {
  color: var(--muted-ink) !important;
}

html.theme-dark body.theme-brutalist .item-card__image--empty {
  color: var(--muted-ink);
}

html.theme-dark body.theme-brutalist .form-error-box,
html.theme-dark body.theme-brutalist-login .form-error-box {
  background: var(--rose-soft);
  color: var(--ink);
}

html.theme-dark body.theme-brutalist input.is-invalid,
html.theme-dark body.theme-brutalist textarea.is-invalid,
html.theme-dark body.theme-brutalist select.is-invalid,
html.theme-dark body.theme-brutalist-login input.is-invalid,
html.theme-dark body.theme-brutalist-login textarea.is-invalid,
html.theme-dark body.theme-brutalist-login select.is-invalid {
  background: #3f2121;
}

html.theme-dark body.theme-brutalist .status-chip {
  color: #121824;
}

html.theme-dark body.theme-brutalist .status-banner--warn {
  background: var(--warn-bg);
  color: var(--warn-ink);
}

html.theme-dark body.theme-brutalist .text-emerald-800,
html.theme-dark body.theme-brutalist-login .text-emerald-800 {
  color: #8ef7c6 !important;
}

html.theme-dark body.theme-brutalist .text-rose-800,
html.theme-dark body.theme-brutalist-login .text-rose-800,
html.theme-dark body.theme-brutalist .text-rose-700,
html.theme-dark body.theme-brutalist-login .text-rose-700 {
  color: #ffc5bd !important;
}

html.theme-dark body.theme-brutalist .text-amber-900,
html.theme-dark body.theme-brutalist-login .text-amber-900,
html.theme-dark body.theme-brutalist .text-amber-700,
html.theme-dark body.theme-brutalist-login .text-amber-700 {
  color: #ffd58d !important;
}

html.theme-dark body.theme-brutalist .bg-amber-50 {
  background: var(--amber-soft) !important;
}

html.theme-dark body.theme-brutalist .border-amber-300 {
  border-color: #7a5c1e !important;
}

html.theme-dark body.theme-brutalist div.bg-white {
  background: var(--panel) !important;
}

html.theme-dark body.theme-brutalist .text-slate-400 {
  color: var(--muted-ink) !important;
}

@media (min-width: 440px) {
  body.theme-brutalist .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 940px) {
  body.theme-brutalist .overview-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.theme-brutalist .overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  body.theme-brutalist nav[aria-label="Hauptnavigation"] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.theme-brutalist button,
  body.theme-brutalist a[class] {
    font-size: 0.76rem;
  }
}

@media (max-width: 640px) {
  body.theme-brutalist main {
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
  }

  body.theme-brutalist header > div {
    padding-left: 0.35rem !important;
    padding-right: 0.35rem !important;
  }

  body.theme-brutalist #tab-configuration > section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  body.theme-brutalist .header-actions {
    gap: 0.3rem;
  }

  body.theme-brutalist .app-title {
    font-size: 0.92rem;
    letter-spacing: 0.01em;
  }

  body.theme-brutalist .actor-chip {
    max-width: 5.8rem;
    padding: 0.35rem 0.4rem !important;
    font-size: 0.72rem;
  }

  body.theme-brutalist #actor-label {
    max-width: 3.2rem;
  }

  body.theme-brutalist .logout-btn {
    min-width: 2.5rem;
    padding: 0.45rem 0.5rem !important;
    font-size: 0.72rem;
  }

  body.theme-brutalist .overview-filter-row-actions {
    justify-content: stretch;
  }

  body.theme-brutalist .overview-filter-clear {
    width: 100%;
  }

  body.theme-brutalist #tab-configuration .config-create-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  body.theme-brutalist #tab-configuration .config-create-row > button {
    width: 100%;
  }

  body.theme-brutalist #tab-configuration .config-list-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
  }

  body.theme-brutalist #tab-configuration .config-list-row > input {
    grid-column: 1 / -1;
    width: 100%;
  }

  body.theme-brutalist #tab-configuration .config-list-row > button {
    width: 100%;
    min-width: 0;
    padding: 0.45rem 0.35rem !important;
    font-size: 0.64rem;
    letter-spacing: 0.01em;
  }

  body.theme-brutalist #manage-sheet {
    padding: 0;
  }

  body.theme-brutalist .manage-sheet-shell {
    width: 100%;
    max-width: none;
    height: 100%;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: none;
  }

  body.theme-brutalist .manage-sheet-header {
    padding: 0.5rem;
  }

  body.theme-brutalist .manage-sheet-content {
    padding: 0.45rem;
  }

  body.theme-brutalist .manage-card__top {
    display: block;
  }

  body.theme-brutalist .manage-card__actions {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  body.theme-brutalist .manage-card__actions > button {
    width: 100%;
  }

  body.theme-brutalist .manage-main-grid {
    grid-template-columns: 1fr !important;
  }

  body.theme-brutalist .manage-location-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  body.theme-brutalist .manage-dim-grid {
    grid-template-columns: 1fr !important;
  }

  body.theme-brutalist .manage-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.theme-brutalist .manage-image-preview img {
    height: 8.5rem;
  }

  body.theme-brutalist .tab-trigger {
    padding: 0.45rem 0.3rem;
  }

  body.theme-brutalist .sales-subtab-trigger {
    padding: 0.65rem 0.55rem !important;
    font-size: 0.78rem;
  }

  body.theme-brutalist #adjust-sheet {
    padding: 0;
  }

  body.theme-brutalist #image-lightbox {
    padding: 0.35rem;
  }

  body.theme-brutalist .image-lightbox-frame {
    padding: 0.3rem;
  }

  body.theme-brutalist .image-lightbox-img {
    max-height: 80vh;
  }

  body.theme-brutalist .adjust-sheet-shell {
    width: 100%;
    max-width: none;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    box-shadow: none;
  }

  body.theme-brutalist .adjust-sheet-header {
    padding: 0.5rem;
  }

  body.theme-brutalist .adjust-sheet-body {
    padding: 0.5rem;
  }
}
