:root {
  --bg: #070b13;
  --panel: #0d1624;
  --surface: #111d2e;
  --surface-strong: #17263a;
  --ink: #edf7ff;
  --muted: #93a8bd;
  --line: rgba(129, 161, 193, 0.22);
  --line-strong: rgba(125, 211, 252, 0.34);
  --accent: #16d6ff;
  --accent-dark: #0c88ff;
  --success: #55f0a8;
  --danger: #ff5d70;
  --warning: #ffd166;
  --shadow: 0 22px 58px rgba(0, 0, 0, 0.44);
  --soft-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  --glow: 0 0 26px rgba(22, 214, 255, 0.18);
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(22, 214, 255, 0.18), transparent 31%),
    radial-gradient(circle at 86% 8%, rgba(85, 240, 168, 0.12), transparent 28%),
    linear-gradient(180deg, #0b1220 0%, var(--bg) 58%, #05070d 100%);
}

button,
.button-link,
input,
select {
  font: inherit;
}

.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  background: rgba(9, 15, 26, 0.88);
  border-bottom: 1px solid rgba(125, 211, 252, 0.2);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.topbar div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar-brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.topbar-brand:hover strong {
  color: #ffffff;
  text-shadow:
    0 0 22px rgba(22, 214, 255, 0.38),
    0 0 36px rgba(85, 240, 168, 0.18);
}

.topbar-brand strong,
.brand-mark strong {
  padding-left: 0;
}

.topbar-brand strong::before,
.brand-mark strong::before {
  display: none;
}

.topbar strong {
  position: relative;
  padding-left: 18px;
  font-size: 20px;
  letter-spacing: 0;
  text-shadow: 0 0 22px rgba(22, 214, 255, 0.22);
}

.topbar strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--success));
  box-shadow: 0 0 20px rgba(22, 214, 255, 0.45);
  transform: translateY(-50%);
}

.topbar span {
  color: var(--muted);
  font-size: 13px;
}

.topbar-brand .brand-copy,
.brand-mark .brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar-brand .brand-copy small,
.brand-mark .brand-copy small {
  color: var(--muted);
  font-size: 13px;
}

.topbar-actions {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar-actions button,
.topbar-actions .button-link {
  min-height: 42px;
  border-color: rgba(125, 211, 252, 0.24);
  background: rgba(17, 29, 46, 0.78);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.topbar-actions .primary {
  color: #ffffff;
  background: linear-gradient(135deg, #16d6ff, #6d5dfc 56%, #55f0a8);
  border-color: transparent;
  box-shadow: 0 0 26px rgba(22, 214, 255, 0.22);
}

.topbar-actions .primary:disabled {
  color: #ffffff;
  background: linear-gradient(135deg, #8dbdcc, #6f9dad);
  border-color: transparent;
}

.auth-pill {
  min-height: 42px;
  display: inline-flex !important;
  flex-direction: column !important;
  justify-content: center;
  gap: 2px;
  padding: 7px 12px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 14px;
  background: rgba(12, 29, 48, 0.72);
  color: #dff7ff !important;
  white-space: nowrap;
}

.auth-pill strong {
  padding-left: 0;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  font-size: 13px;
}

.auth-pill strong::before {
  display: none;
}

.auth-pill small {
  color: #9fb4c9;
  font-size: 11px;
  line-height: 1.1;
}

.app-shell {
  height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 390px 1fr;
  min-height: 620px;
}

.svg-editor-shell {
  height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 390px 1fr;
  min-height: 620px;
}

.panel {
  overflow: auto;
  padding: 18px 16px 22px;
  border-right: 1px solid rgba(125, 211, 252, 0.18);
  background:
    linear-gradient(180deg, rgba(17, 29, 46, 0.92), rgba(9, 15, 26, 0.96)),
    var(--panel);
}

.sidebar-session-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(125, 211, 252, 0.2);
  background: rgba(7, 14, 25, 0.52);
}

.sidebar-logout {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #cbd8e6;
  background: rgba(17, 29, 46, 0.72);
}

.sidebar-logout:hover {
  color: #ffffff;
  border-color: rgba(255, 93, 112, 0.45);
  background: rgba(255, 93, 112, 0.12);
}

.section {
  position: relative;
  padding: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 38, 58, 0.92), rgba(12, 21, 34, 0.92));
  box-shadow: var(--soft-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(85, 240, 168, 0.08));
  opacity: 0.78;
}

.section-toggle {
  width: 100%;
  min-height: 48px;
  justify-content: flex-start;
  padding: 0 14px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  text-align: left;
  color: var(--ink);
}

.section-toggle span:first-child {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.section-toggle:hover:not(:disabled) {
  background: rgba(22, 214, 255, 0.08);
  box-shadow: none;
}

.section-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 140ms ease;
}

.section-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.section-content {
  padding: 12px 6px 6px;
}

.section:first-child {
  border-color: rgba(22, 214, 255, 0.36);
  background:
    linear-gradient(135deg, rgba(22, 214, 255, 0.14), rgba(85, 240, 168, 0.07)),
    var(--surface);
  box-shadow: var(--soft-shadow), var(--glow);
}

.section:last-child {
  margin-bottom: 0;
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 14px 0 0;
}

.tab-button {
  min-height: 36px;
  border-radius: 8px 8px 0 0;
  background: rgba(17, 29, 46, 0.86);
  color: var(--muted);
  font-weight: 700;
}

.tab-button.active {
  color: var(--ink);
  background: rgba(22, 214, 255, 0.13);
  border-color: var(--accent);
  border-bottom-color: rgba(22, 214, 255, 0.13);
}

.hidden-section {
  display: none;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  font-size: 25px;
  margin-bottom: 8px;
  line-height: 1.1;
}

h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #b7c9dc;
}

h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(22, 214, 255, 0.1), 0 0 18px rgba(22, 214, 255, 0.38);
}

p {
  color: var(--muted);
  line-height: 1.5;
}

.field {
  display: grid;
  gap: 9px;
  margin-bottom: 15px;
}

.control-subtitle {
  margin: 16px 0 10px;
  padding: 7px 10px;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  background: rgba(22, 214, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-subtitle:first-of-type {
  margin-top: 0;
}

.field span,
.swatches span,
.toggle span {
  font-size: 13px;
  color: #d7e6f4;
}

.has-inline-help {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

h1.has-inline-help,
h2.has-inline-help {
  display: flex;
}

.help-tip {
  width: 19px;
  height: 19px;
  min-width: 19px;
  min-height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.58);
  border-radius: 999px;
  padding: 0;
  margin: 0;
  background: rgba(22, 214, 255, 0.08);
  color: #dff8ff;
  box-shadow: 0 0 0 3px rgba(22, 214, 255, 0.06);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.help-tip:hover,
.help-tip:focus-visible,
.help-tip[data-open="true"] {
  outline: none;
  background: linear-gradient(135deg, rgba(22, 214, 255, 0.95), rgba(12, 136, 255, 0.94));
  border-color: rgba(223, 248, 255, 0.92);
  color: #03111d;
  box-shadow: 0 0 0 4px rgba(22, 214, 255, 0.14), 0 0 22px rgba(22, 214, 255, 0.36);
  transform: translateY(-1px);
}

.help-tip-adjacent {
  align-self: center;
}

.topbar-actions .help-tip-adjacent,
.button-row .help-tip-adjacent,
.viewer-toolbar .help-tip-adjacent,
.svg-canvas-toolbar .help-tip-adjacent {
  margin-left: -4px;
  margin-right: 4px;
}

.help-tooltip-popover {
  position: fixed;
  z-index: 3000;
  width: max-content;
  max-width: min(300px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid rgba(125, 211, 252, 0.54);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(17, 29, 46, 0.98), rgba(5, 10, 18, 0.98));
  color: #edf7ff;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 28px rgba(22, 214, 255, 0.18);
  font-size: 12.5px;
  line-height: 1.42;
  letter-spacing: 0;
  pointer-events: none;
}

.field strong {
  color: var(--accent);
  font-weight: 800;
}

input[type="file"] {
  width: 100%;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  padding: 13px;
  background: rgba(8, 13, 23, 0.68);
  color: var(--ink);
}

input[type="text"],
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  background: rgba(8, 13, 23, 0.72);
  color: var(--ink);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

input[type="text"]:focus,
select:focus {
  border-color: var(--accent);
  background: rgba(4, 9, 17, 0.92);
  box-shadow: 0 0 0 4px rgba(22, 214, 255, 0.13);
}

.button-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.editor-preview {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(22, 214, 255, 0.08), rgba(85, 240, 168, 0.04)),
    rgba(8, 13, 23, 0.7);
  margin-bottom: 14px;
}

.editor-stage {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

#editorTextPreview {
  position: absolute;
  font-weight: 900;
  color: #111827;
  line-height: 1;
  white-space: nowrap;
  transform-origin: center;
}

#editorImagePreview {
  position: absolute;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  opacity: 0.82;
  transform-origin: center;
}

.small-note {
  font-size: 13px;
  margin-bottom: 0;
}

input[type="range"] {
  width: 100%;
  height: 18px;
  accent-color: var(--accent);
}

.range-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: center;
  gap: 10px;
}

.range-control input[type="range"] {
  min-width: 0;
}

.range-number {
  width: 76px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 13, 23, 0.72);
  color: var(--accent);
  font-weight: 800;
  text-align: right;
  padding: 0 9px;
  outline: none;
}

.range-number:focus {
  border-color: var(--accent);
  background: rgba(4, 9, 17, 0.92);
  box-shadow: 0 0 0 4px rgba(22, 214, 255, 0.13);
}

button {
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 40px;
  padding: 0 14px;
  background:
    linear-gradient(180deg, rgba(29, 46, 68, 0.96), rgba(14, 24, 38, 0.96));
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 22px rgba(0, 0, 0, 0.18);
  transition: transform 120ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(29, 46, 68, 0.96), rgba(14, 24, 38, 0.96));
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 10px 22px rgba(0, 0, 0, 0.18);
  transition: transform 120ms ease, border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.wide-link {
  width: 100%;
  margin-top: 12px;
  min-height: 46px;
}

button:hover:not(:disabled),
.button-link:hover {
  border-color: var(--accent);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 0 28px rgba(22, 214, 255, 0.2);
  transform: translateY(-1px);
}

button:active:not(:disabled),
.button-link:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(32, 45, 58, 0.1);
}

button:disabled {
  cursor: not-allowed;
  opacity: 1;
  color: #a7b8c8;
  background: rgba(21, 32, 47, 0.82);
  border-color: rgba(125, 211, 252, 0.14);
  box-shadow: none;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, #16d6ff, #6d5dfc 58%, #55f0a8);
  border-color: transparent;
  font-weight: 700;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 0 28px rgba(22, 214, 255, 0.24);
}

.primary:disabled {
  color: #ffffff;
  background: linear-gradient(135deg, #2c6074, #3c486e);
  border-color: transparent;
  box-shadow: none;
}

.primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #48e2ff, #7a68ff 58%, #70f7b9);
  border-color: transparent;
}

.swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.compact-swatches {
  margin-top: 14px;
}

.swatches label {
  display: grid;
  gap: 8px;
}

input[type="color"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(8, 13, 23, 0.72);
  padding: 4px;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 8px;
  background: rgba(8, 13, 23, 0.5);
}

.toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.viewer-wrap {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(22, 214, 255, 0.18), transparent 30%),
    radial-gradient(circle at 16% 84%, rgba(85, 240, 168, 0.08), transparent 28%),
    linear-gradient(135deg, #0b1220, #08101c 56%, #05070d);
}

.model-quickbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(125, 211, 252, 0.25);
  border-radius: 10px;
  background: rgba(9, 15, 26, 0.74);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32), var(--glow);
  backdrop-filter: blur(18px);
}

.quickbar-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-color {
  display: grid;
  grid-template-columns: auto 46px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 8px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: rgba(17, 29, 46, 0.78);
}

.quick-color span,
.quick-toggle span,
.quick-gap span {
  font-size: 12px;
  color: #d7e6f4;
  white-space: nowrap;
}

.quick-color input[type="color"] {
  width: 46px;
  height: 30px;
  padding: 3px;
  border-radius: 7px;
}

.quick-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 6px 9px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: rgba(17, 29, 46, 0.78);
}

.quick-toggle input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent);
}

.quick-gap {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(130px, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 10px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 8px;
  background: rgba(17, 29, 46, 0.78);
}

.quick-gap .range-control {
  grid-template-columns: minmax(0, 1fr) 64px;
}

.quick-gap .range-number {
  width: 64px;
  min-height: 32px;
}

.svg-canvas-wrap {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 50% 12%, rgba(22, 214, 255, 0.16), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(85, 240, 168, 0.08), transparent 28%),
    linear-gradient(135deg, #0b1220, #08101c 56%, #05070d);
}

.svg-preview-frame {
  width: min(100%, 1050px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow), 0 0 46px rgba(22, 214, 255, 0.12);
}

.svg-preview-frame svg {
  display: block;
  width: 100%;
  height: 100%;
}

.editable-svg-letter {
  cursor: move;
  user-select: none;
}

.editable-svg-object {
  cursor: move;
}

.editable-svg-object.selected {
  paint-order: stroke fill;
  stroke: var(--accent);
  stroke-width: 2px;
}

.imported-svg-object {
  cursor: move;
}

.selection-marquee {
  fill: rgba(22, 214, 255, 0.14) !important;
  stroke: rgba(22, 214, 255, 0.86) !important;
  stroke-width: 1.5px;
  stroke-dasharray: 7 5;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.resize-handle {
  cursor: nwse-resize;
  fill: #ffffff;
  stroke: var(--accent);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
}

.union-preview {
  fill: rgba(6, 182, 212, 0.42);
  stroke: #0891b2;
  stroke-width: 2px;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.letter-cut-source {
  stroke: #ffffff;
  stroke-linejoin: round;
  paint-order: stroke fill;
  vector-effect: non-scaling-stroke;
}

.negative-object {
  fill: #111827 !important;
  stroke: #ffffff !important;
  stroke-width: 2px !important;
  stroke-dasharray: 8 5;
  paint-order: stroke fill;
  vector-effect: non-scaling-stroke;
}

.negative-object * {
  fill: #111827 !important;
  stroke: #ffffff !important;
  stroke-width: 2px !important;
  stroke-dasharray: 8 5 !important;
  paint-order: stroke fill;
  vector-effect: non-scaling-stroke;
}

.editor-dimension-line {
  stroke: #16d6ff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(22, 214, 255, 0.55));
}

.editor-dimension-label {
  fill: #06202a;
  stroke: #ffffff;
  stroke-width: 4;
  paint-order: stroke fill;
  font-size: 15px;
  font-weight: 800;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.dimmed-source {
  opacity: 0.32;
}

.svg-canvas-toolbar button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  border-color: var(--accent);
}

.viewer-toolbar button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(22, 214, 255, 0.22);
}

.button-row button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(22, 214, 255, 0.22);
}

.shape-library {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.shape-btn {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 10px;
  font-size: 28px;
  line-height: 1;
  background: rgba(8, 13, 23, 0.62);
  border-color: rgba(125, 211, 252, 0.24);
  color: #e9f6ff;
}

.shape-btn svg {
  width: 44px;
  height: 44px;
  overflow: visible;
  fill: #edf7ff;
  stroke: none;
  filter: drop-shadow(0 0 10px rgba(22, 214, 255, 0.12));
}

.shape-btn:hover:not(:disabled) {
  background: rgba(22, 214, 255, 0.12);
}

.tool-row button {
  flex: 1 1 calc(33.333% - 8px);
}

.editor-context-menu {
  position: fixed;
  z-index: 80;
  min-width: 168px;
  padding: 6px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 10px;
  background: rgba(9, 15, 26, 0.98);
  box-shadow: var(--shadow);
}

.editor-context-menu button {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  font-size: 14px;
}

.editor-context-menu button:hover:not(:disabled) {
  background: rgba(22, 214, 255, 0.1);
  color: var(--accent);
  transform: none;
}

.editor-context-menu button:disabled {
  color: #94a3b8;
  cursor: not-allowed;
}

.svg-canvas-toolbar {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 10px;
  background: rgba(9, 15, 26, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

#viewer {
  width: 100%;
  height: 100%;
}

.viewer-toolbar {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 10px;
  background: rgba(9, 15, 26, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.status-section p {
  min-height: 44px;
}

@media (max-width: 900px) {
  .app-shell,
  .svg-editor-shell {
    grid-template-columns: 1fr;
    height: auto;
  }

  .panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .viewer-wrap,
  .svg-canvas-wrap {
    height: 68vh;
    min-height: 460px;
  }

  .model-quickbar {
    grid-template-columns: 1fr;
    align-items: stretch;
    max-height: calc(68vh - 36px);
    overflow: auto;
  }

  .quickbar-group {
    flex-wrap: wrap;
  }

  .quick-gap {
    grid-template-columns: 1fr;
  }
}

/* Landing */
.landing-page {
  min-height: 100vh;
  color: #eef7ff;
  background:
    radial-gradient(circle at 18% 12%, rgba(20, 184, 226, 0.28), transparent 32rem),
    radial-gradient(circle at 84% 18%, rgba(142, 214, 255, 0.18), transparent 28rem),
    linear-gradient(135deg, #06111f 0%, #0b1422 46%, #08101c 100%);
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(164, 214, 255, 0.14);
  background: rgba(6, 17, 31, 0.82);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f5fbff;
  text-decoration: none;
}

.brand-icon {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(125, 211, 252, 0.46);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(12, 29, 48, 0.95), rgba(5, 10, 18, 0.98)),
    radial-gradient(circle at 72% 22%, rgba(85, 240, 168, 0.3), transparent 36%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 28px rgba(22, 214, 255, 0.28);
}

.brand-icon::before,
.brand-icon::after {
  content: "";
  position: absolute;
  inset: 10px 8px 8px 10px;
  border-radius: 7px;
  border: 3px solid #64e8ff;
  border-left-color: #55f0a8;
  border-bottom-color: #2c8cff;
  transform: skew(-10deg) rotate(-7deg);
}

.brand-icon::after {
  inset: 15px 12px 12px 15px;
  border-width: 2px;
  opacity: 0.62;
  transform: skew(-10deg) rotate(-7deg) translate(5px, -4px);
}

.brand-accent {
  width: 12px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #18d5ff, #3ee7c4);
  box-shadow: 0 0 24px rgba(24, 213, 255, 0.56);
}

.brand-mark strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.brand-mark small {
  display: block;
  color: #9fb5ca;
  font-size: 0.9rem;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-nav-actions a {
  color: #c9d9e8;
  text-decoration: none;
  font-weight: 700;
}

.landing-nav-actions a:hover {
  color: #ffffff;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #54dfff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(2.65rem, 6.4vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 0 42px rgba(22, 214, 255, 0.24);
}

.hero-copy h2 {
  max-width: 860px;
  margin: 18px 0 0;
  color: #eef9ff;
  font-size: clamp(1.45rem, 3.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-description {
  max-width: 640px;
  margin: 24px 0 0;
  color: #b9c9da;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  padding: 0 12px;
  color: #dff8ff;
  background: rgba(10, 29, 48, 0.68);
  box-shadow: inset 0 0 20px rgba(22, 214, 255, 0.05);
  font-size: 0.86rem;
  font-weight: 850;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid rgba(164, 214, 255, 0.24);
  color: #f8fcff;
  text-decoration: none;
  font-weight: 900;
}

.cta.primary {
  border-color: rgba(19, 196, 255, 0.8);
  background: linear-gradient(135deg, #16d6ff, #3f8cff 58%, #8de6ff);
  box-shadow: 0 18px 46px rgba(14, 190, 232, 0.28);
}

.cta.secondary,
.button-link.ghost {
  background: rgba(12, 29, 48, 0.78);
}

.cta:hover,
.button-link:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.52);
  filter: brightness(1.06);
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.preview-stage {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1.22;
  transform: perspective(900px) rotateX(60deg) rotateZ(-22deg);
}

.preview-letter,
.preview-base,
.preview-lid,
.preview-rim {
  position: absolute;
  inset: 16% 10%;
  border-radius: 8px;
}

.preview-letter-main {
  display: grid;
  place-items: center;
  color: #eaf6ff;
  font-size: clamp(5.5rem, 13vw, 10rem);
  font-weight: 950;
  line-height: 1;
  background: linear-gradient(135deg, rgba(229, 242, 255, 0.95), rgba(183, 222, 255, 0.78));
  border: 4px solid rgba(82, 174, 255, 0.9);
  box-shadow:
    22px 34px 0 rgba(20, 125, 255, 0.78),
    0 0 58px rgba(40, 212, 255, 0.35);
}

.preview-base {
  inset: 22% 17% 8% 6%;
  border: 2px solid rgba(71, 214, 255, 0.26);
  background: rgba(18, 50, 82, 0.46);
  transform: translate3d(20px, 42px, -42px);
}

.preview-lid {
  inset: 11% 7% 28% 19%;
  border: 2px solid rgba(166, 230, 255, 0.5);
  transform: translate3d(-24px, -28px, 54px);
}

.preview-rim {
  inset: 28% 25% 21% 29%;
  border: 7px solid rgba(31, 209, 255, 0.82);
  box-shadow: 0 0 26px rgba(31, 209, 255, 0.28);
}

.landing-image-stack {
  position: relative;
  width: min(100%, 620px);
  min-height: 520px;
}

.landing-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(22, 214, 255, 0.12), transparent 42%),
    rgba(4, 8, 14, 0.86);
  box-shadow: 0 28px 82px rgba(0, 0, 0, 0.38);
}

.landing-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.primary-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.floating-shot {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 48%;
  aspect-ratio: 16 / 10;
  border-color: rgba(85, 240, 168, 0.28);
  transform: rotate(3deg);
}

.landing-section {
  padding: clamp(54px, 8vw, 94px) clamp(20px, 5vw, 72px);
  border-top: 1px solid rgba(164, 214, 255, 0.12);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 26px;
}

.wide-heading {
  max-width: 980px;
}

.section-heading h2 {
  margin: 0;
  color: #f5fbff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: #b9c9da;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(164, 214, 255, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 41, 66, 0.86), rgba(9, 24, 42, 0.92));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.feature-card:hover,
.monthly-section:hover,
.trial-section:hover,
.privacy-section:hover {
  border-color: rgba(125, 211, 252, 0.28);
}

.step-number {
  color: #42dfff;
  font-size: 0.9rem;
  font-weight: 950;
}

.feature-card h3 {
  margin: 22px 0 10px;
  color: #ffffff;
  font-size: 1.4rem;
}

.feature-card p {
  margin: 0;
  color: #adbed0;
  line-height: 1.55;
}

.compact-card {
  min-height: 170px;
}

.compact-card h3 {
  margin-top: 0;
}

.problem-section,
.time-section,
.final-cta-section {
  background:
    radial-gradient(circle at 78% 12%, rgba(22, 214, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(7, 20, 34, 0.86), rgba(5, 11, 20, 0.94));
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-card {
  min-height: 360px;
  padding: 28px;
  border: 1px solid rgba(164, 214, 255, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(18, 41, 66, 0.82), rgba(8, 18, 32, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.comparison-card h3 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 1.55rem;
}

.comparison-card ul,
.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-card li {
  position: relative;
  padding: 11px 0 11px 28px;
  color: #bfd0e2;
  border-bottom: 1px solid rgba(164, 214, 255, 0.1);
}

.comparison-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(255, 93, 112, 0.72);
}

.lux-card {
  border-color: rgba(85, 240, 168, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(85, 240, 168, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(18, 48, 66, 0.88), rgba(8, 22, 32, 0.95));
}

.lux-card li::before {
  background: linear-gradient(135deg, #16d6ff, #55f0a8);
  box-shadow: 0 0 16px rgba(22, 214, 255, 0.22);
}

.no-cad-section {
  align-items: center;
}

.benefit-list {
  display: grid;
  gap: 12px;
}

.benefit-list span {
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(97, 213, 255, 0.22);
  border-radius: 12px;
  padding: 0 18px;
  color: #e8f8ff;
  background: rgba(9, 24, 42, 0.78);
  font-weight: 850;
}

.showcase-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(22, 214, 255, 0.12), transparent 32%),
    rgba(6, 15, 27, 0.58);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  overflow: hidden;
  border: 1px solid rgba(164, 214, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 41, 66, 0.88), rgba(9, 24, 42, 0.94));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #05070d;
}

.showcase-card h3,
.showcase-card p {
  margin-left: 22px;
  margin-right: 22px;
}

.showcase-card h3 {
  margin-top: 20px;
  color: #ffffff;
}

.showcase-card p {
  margin-bottom: 22px;
  color: #adbed0;
  line-height: 1.55;
}

.validation-section {
  border-color: rgba(255, 209, 102, 0.22);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 209, 102, 0.12), transparent 30%),
    linear-gradient(145deg, rgba(26, 22, 12, 0.72), rgba(6, 15, 27, 0.94));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: start;
  gap: 28px;
}

.export-list,
.audience-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.export-list span,
.audience-list span {
  padding: 14px 18px;
  border: 1px solid rgba(97, 213, 255, 0.28);
  border-radius: 8px;
  color: #e9f8ff;
  background: rgba(9, 24, 42, 0.78);
  font-weight: 850;
}

.trial-section {
  border-color: rgba(85, 240, 168, 0.28);
  background:
    radial-gradient(circle at 88% 12%, rgba(85, 240, 168, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(9, 24, 42, 0.86), rgba(6, 15, 27, 0.94));
}

.trial-section .section-heading {
  max-width: 820px;
}

.trial-section h2 {
  max-width: 780px;
}

.monthly-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(22, 214, 255, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(11, 30, 52, 0.9), rgba(6, 15, 27, 0.96));
}

.privacy-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(125, 211, 252, 0.12), transparent 32%),
    linear-gradient(145deg, rgba(7, 22, 38, 0.86), rgba(6, 15, 27, 0.94));
}

@media (max-width: 900px) {
  .landing-nav {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }

  .landing-nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .landing-hero,
  .split-section,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .feature-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .landing-image-stack {
    min-height: 360px;
  }

  .floating-shot {
    right: 4%;
    width: 54%;
  }
}

@media (max-width: 560px) {
  .landing-nav-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cta {
    width: 100%;
  }
}

.privacy-note {
  max-width: 680px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 16px;
  color: #bfeeff;
  background: rgba(7, 20, 34, 0.72);
}

.auth-shell,
.admin-shell {
  min-height: calc(100vh - 78px);
  display: grid;
  place-items: start center;
  padding: 54px 20px;
}

.auth-card,
.admin-card {
  width: min(100%, 980px);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 28px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(17, 29, 46, 0.94), rgba(8, 14, 25, 0.94)),
    radial-gradient(circle at 82% 0%, rgba(22, 214, 255, 0.16), transparent 34%);
  box-shadow: var(--shadow);
}

.auth-card {
  max-width: 560px;
}

.auth-card h1,
.admin-card h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 48px);
  letter-spacing: 0;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(6, 15, 27, 0.86);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.auth-status-card {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 18px;
  background: rgba(12, 29, 48, 0.72);
}

.auth-status-card span,
.auth-message,
.access-modal p {
  color: #b9cce0;
}

.auth-message {
  min-height: 24px;
}

.auth-message.success {
  padding: 12px 14px;
  border: 1px solid rgba(85, 240, 168, 0.34);
  border-radius: 14px;
  color: #d9ffed;
  background: rgba(85, 240, 168, 0.1);
}

.auth-message.error {
  padding: 12px 14px;
  border: 1px solid rgba(255, 93, 112, 0.34);
  border-radius: 14px;
  color: #ffd9df;
  background: rgba(255, 93, 112, 0.1);
}

.access-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 13, 0.68);
  backdrop-filter: blur(10px);
}

.access-modal {
  position: relative;
  width: min(100%, 520px);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 26px;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(22, 214, 255, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(17, 29, 46, 0.98), rgba(8, 14, 25, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.access-modal h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.access-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  color: #ffffff;
  background: rgba(12, 29, 48, 0.9);
}

.access-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.access-modal-note {
  padding: 12px 14px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 14px;
  background: rgba(12, 29, 48, 0.64);
}

.access-steps {
  margin: 16px 0 0;
  padding-left: 22px;
  color: #d7e9f8;
  line-height: 1.55;
}

.disabled-link {
  opacity: 0.55;
  pointer-events: none;
  filter: grayscale(0.3);
}

.admin-note {
  padding: 14px 16px;
  border: 1px solid rgba(255, 209, 102, 0.32);
  border-radius: 16px;
  color: #ffe3a3;
  background: rgba(255, 209, 102, 0.08);
}

.admin-table-wrap {
  overflow: auto;
  margin-top: 20px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 18px;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 12px;
  margin-top: 18px;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(6, 15, 27, 0.82);
}

.admin-table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
  background: rgba(6, 15, 27, 0.72);
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.admin-table th {
  color: #bfeeff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(12, 29, 48, 0.82);
}

.admin-actions {
  position: relative;
}

.admin-actions button {
  min-height: 36px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  text-align: left;
  color: var(--ink);
  background: transparent;
}

.admin-actions button:hover {
  background: rgba(22, 214, 255, 0.12);
}

.admin-action-menu {
  position: relative;
}

.admin-action-menu summary {
  min-width: 128px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  padding: 0 14px;
  color: #e8f8ff;
  background: rgba(17, 29, 46, 0.82);
  cursor: pointer;
  list-style: none;
}

.admin-action-menu summary::-webkit-details-marker {
  display: none;
}

.admin-action-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: 220px;
  padding: 8px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 14px;
  background: rgba(8, 16, 29, 0.98);
  box-shadow: var(--shadow);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pill.active {
  color: #d8fff0;
  background: rgba(85, 240, 168, 0.14);
  border: 1px solid rgba(85, 240, 168, 0.32);
}

.status-pill.blocked {
  color: #ffe0d6;
  background: rgba(255, 93, 112, 0.14);
  border: 1px solid rgba(255, 93, 112, 0.36);
}

.access-expired {
  color: #ffd3d9;
  font-weight: 850;
}

.billing-prompt {
  border-color: rgba(85, 240, 168, 0.28);
  background:
    radial-gradient(circle at 90% 10%, rgba(85, 240, 168, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(18, 41, 66, 0.92), rgba(10, 22, 36, 0.95));
}

.billing-prompt p {
  color: #b9cce0;
  line-height: 1.5;
}

.billing-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

@media (max-width: 760px) {
  .admin-filters {
    grid-template-columns: 1fr;
  }
}
