:root {
  --bg: #f5efe7;
  --panel: rgba(255, 255, 255, 0.9);
  --sidebar: #13151d;
  --sidebar-2: #1b1f2a;
  --sidebar-line: rgba(255, 255, 255, 0.08);
  --ink: #18161a;
  --ink-soft: #4f5361;
  --line: rgba(27, 31, 42, 0.1);
  --brand: #ff6a2a;
  --brand-deep: #dc4f14;
  --brand-soft: rgba(255, 106, 42, 0.12);
  --brand-soft-2: #fff1e8;
  --success: #14854f;
  --success-soft: rgba(20, 133, 79, 0.12);
  --danger: #cb3e34;
  --danger-soft: rgba(203, 62, 52, 0.12);
  --info: #2867d6;
  --info-soft: rgba(40, 103, 214, 0.12);
  --shadow: 0 24px 80px rgba(29, 22, 16, 0.08);
  --shadow-soft: 0 18px 40px rgba(27, 31, 42, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 148, 92, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.65), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-panel {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}

.auth-copy,
.auth-card,
.hero-panel,
.status-card,
.panel,
.modal {
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.auth-copy {
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.auth-copy h1,
.hero-panel h1,
.panel h2,
.modal h2 {
  margin: 0;
}

.auth-copy h1 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.95;
  max-width: 12ch;
}

.auth-description,
.hero-description,
.status-card p,
.panel-head p,
.prompt-meta,
.prompt-preview,
.mini-table-meta,
.menu-copy small {
  color: var(--ink-soft);
}

.auth-description {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 1.04rem;
  line-height: 1.7;
}

.auth-copy::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 106, 42, 0.14), transparent 68%);
  pointer-events: none;
}

.auth-card {
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 241, 0.92)),
    var(--panel);
}

.auth-card-head {
  display: grid;
  gap: 6px;
  margin-bottom: 22px;
}

.auth-card-head strong {
  font-size: 1.2rem;
}

.auth-submit,
.ghost-button {
  width: 100%;
}

.auth-highlights {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  max-width: 560px;
}

.auth-highlight {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.auth-highlight strong {
  font-size: 1rem;
}

.auth-highlight span {
  color: var(--ink-soft);
  line-height: 1.6;
}

.auth-field {
  display: grid;
  gap: 8px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 110px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.auth-footnote {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 300px;
  min-width: 300px;
  padding: 18px 16px;
  background:
    radial-gradient(circle at top, rgba(255, 106, 42, 0.22), transparent 22%),
    linear-gradient(180deg, var(--sidebar-2) 0%, var(--sidebar) 100%);
  color: #fff;
  border-right: 1px solid var(--sidebar-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: width 0.25s ease, min-width 0.25s ease;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sidebar.is-collapsed {
  width: 98px;
  min-width: 98px;
}

.sidebar-top,
.menu-item,
.session-menu {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
}

.sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
}

.sidebar-toggle {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.sidebar-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #ff9c57);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(255, 106, 42, 0.28);
}

.brand-block strong {
  display: block;
  font-size: 1rem;
}

.brand-block span {
  color: rgba(255, 255, 255, 0.78);
}

.sidebar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-nav-head {
  display: grid;
  gap: 4px;
  padding: 2px 4px 0;
}

.sidebar-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.sidebar-subtitle {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.86rem;
}

.session-menu-wrap {
  position: relative;
}

.session-menu-button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  gap: 3px;
}

.session-menu-button span {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  display: block;
}

.session-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  padding: 12px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  z-index: 20;
}

.session-menu-email {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  word-break: break-word;
}

.session-menu-logout {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar-label {
  margin: 0;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sidebar-nav {
  display: grid;
  gap: 10px;
  flex: 1;
  align-content: start;
  overflow: auto;
  padding-right: 2px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  width: 100%;
  padding: 0 14px;
  border-radius: 18px;
  color: #fff;
  text-align: left;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.menu-item.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 106, 42, 0.18));
  border-color: rgba(255, 160, 115, 0.16);
  transform: translateX(2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.menu-item.active::before {
  background: linear-gradient(180deg, #ffb27d, var(--brand));
}

.menu-item:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 700;
  flex-shrink: 0;
}

.menu-copy {
  display: grid;
  gap: 3px;
}

.menu-label {
  font-weight: 700;
  font-size: 0.98rem;
}

.menu-copy small {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.8rem;
}

.menu-item.active .menu-copy small {
  color: rgba(255, 219, 199, 0.72);
}

.sidebar.is-collapsed .brand-block > div,
.sidebar.is-collapsed .sidebar-nav-head,
.sidebar.is-collapsed .menu-copy {
  display: none;
}

.sidebar.is-collapsed .sidebar-top,
.sidebar.is-collapsed .menu-item {
  justify-content: center;
}

.main-content {
  flex: 1;
  padding: 28px;
  display: grid;
  gap: 22px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 20px;
  padding: 28px;
  overflow: hidden;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 106, 42, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-context-chip,
.hero-sync-text,
.panel-summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-context-chip {
  background: rgba(255, 106, 42, 0.12);
  color: var(--brand-deep);
}

.hero-sync-text,
.panel-summary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-panel h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.hero-description {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: 1.03rem;
  line-height: 1.6;
}

.hero-side,
.topbar-actions,
.action-group,
.form-actions,
.filter-group,
.table-actions,
.chart-legend {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.table-actions {
  justify-content: flex-end;
}

.hero-side {
  display: grid;
  align-content: end;
}

.hero-mini-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 106, 42, 0.12), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(255, 106, 42, 0.16);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.hero-mini-card span {
  color: var(--ink-soft);
  display: block;
  margin-bottom: 10px;
}

.hero-mini-card strong {
  font-size: 1.8rem;
  line-height: 1;
  display: block;
}

.hero-mini-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.primary-button,
.secondary-button,
.icon-button,
.danger-button,
.ghost-button,
.mini-button,
.filter-chip {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.primary-button {
  background: linear-gradient(135deg, var(--brand), #ff8f41);
  color: #fff;
  box-shadow: 0 18px 28px rgba(255, 106, 42, 0.22);
}

.secondary-button,
.icon-button,
.mini-button {
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--line);
  color: var(--ink);
}

.ghost-button {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.danger-button {
  background: #fff;
  border-color: rgba(203, 62, 52, 0.2);
  color: var(--danger);
}

.filter-chip {
  min-height: 42px;
  background: #fff;
  border-color: var(--line);
  color: var(--ink-soft);
}

.filter-chip.active {
  background: var(--brand-soft-2);
  border-color: rgba(255, 106, 42, 0.18);
  color: var(--brand-deep);
}

.section-block {
  display: grid;
  gap: 22px;
}

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

.analytics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.status-card {
  padding: 22px;
}

.status-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.status-head span:first-child {
  color: var(--ink-soft);
  font-weight: 600;
}

.status-kicker {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.status-card-total .status-kicker {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.status-card-active .status-kicker {
  background: var(--success-soft);
  color: var(--success);
}

.status-card-inactive .status-kicker {
  background: var(--danger-soft);
  color: var(--danger);
}

.status-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.panel {
  padding: 24px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.panel-head.compact {
  align-items: start;
}

.panel-controls {
  display: grid;
  gap: 14px;
  justify-items: end;
}

.search-box {
  display: grid;
  gap: 8px;
  min-width: 340px;
}

.search-input-wrap {
  position: relative;
}

.search-box span,
.prompt-form label span:first-child {
  font-size: 0.92rem;
  font-weight: 700;
}

.search-box input,
.prompt-form input,
.prompt-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.search-box input {
  padding-right: 88px;
}

.search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff7f1;
  color: var(--brand-deep);
  font-size: 0.8rem;
  font-weight: 700;
}

.search-box input:focus,
.prompt-form input:focus,
.prompt-form textarea:focus,
.password-toggle:focus {
  outline: 2px solid rgba(255, 106, 42, 0.18);
  border-color: rgba(255, 106, 42, 0.2);
}

.prompt-form textarea {
  min-height: 320px;
  resize: vertical;
}

.alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--brand-soft-2);
  border: 1px solid rgba(255, 106, 42, 0.14);
}

.alert.success {
  background: rgba(20, 133, 79, 0.08);
  border-color: rgba(20, 133, 79, 0.14);
}

.alert.error {
  background: rgba(203, 62, 52, 0.08);
  border-color: rgba(203, 62, 52, 0.14);
}

.table-wrap {
  overflow: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

thead th {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

tbody tr:hover {
  background: rgba(255, 241, 232, 0.46);
}

.prompt-cell {
  min-width: 320px;
}

.prompt-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.prompt-meta {
  display: block;
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.prompt-preview {
  max-width: 560px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.status-pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-pill.active {
  background: var(--success-soft);
  color: var(--success);
}

.status-pill.inactive {
  background: var(--danger-soft);
  color: var(--danger);
}

.mini-button {
  min-height: 38px;
  padding: 0 14px;
}

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 34px;
}

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

.timeline-layout {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
}

.chart-panel {
  min-height: 320px;
}

.bar-list {
  display: grid;
  gap: 14px;
}

.bar-item {
  display: grid;
  gap: 8px;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 0.92rem;
}

.bar-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 106, 42, 0.08);
  overflow: hidden;
}

.neutral .bar-track {
  background: rgba(40, 103, 214, 0.08);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), #ffb26c);
}

.neutral .bar-fill {
  background: linear-gradient(90deg, var(--info), #67a5ff);
}

.timeline-chart {
  min-height: 260px;
}

.timeline-svg {
  width: 100%;
  height: 260px;
  display: block;
}

.timeline-grid-line {
  stroke: rgba(27, 31, 42, 0.08);
  stroke-width: 1;
}

.timeline-area {
  fill: rgba(255, 106, 42, 0.14);
}

.timeline-line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.timeline-point {
  fill: #fff;
  stroke: var(--brand);
  stroke-width: 3;
}

.timeline-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.mini-table {
  display: grid;
  gap: 12px;
}

.mini-table-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.mini-table-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.mini-table-title {
  font-weight: 700;
}

.mini-table-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--brand-soft-2);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 15, 22, 0.5);
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal {
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.icon-button {
  width: 48px;
  padding: 0;
  font-size: 1.5rem;
}

.prompt-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 16px;
}

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.toggle-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.toggle-field input {
  width: 22px;
  height: 22px;
  min-height: auto;
}

@media (max-width: 1240px) {
  .analytics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .auth-panel,
  .hero-panel,
  .analytics-panels,
  .timeline-layout {
    grid-template-columns: 1fr;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .panel-head,
  .form-actions {
    display: grid;
  }

  .panel-controls {
    justify-items: stretch;
  }

  .panel-controls,
  .search-box {
    min-width: 0;
  }

  .form-grid,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .app-shell {
    display: block;
  }

  .auth-shell {
    padding: 18px;
  }

  .auth-copy,
  .auth-card {
    padding: 24px;
  }

  .auth-copy h1 {
    max-width: none;
  }

  .sidebar,
  .sidebar.is-collapsed {
    width: 100%;
    min-width: 100%;
    height: auto;
    position: relative;
  }

  .sidebar {
    gap: 14px;
  }

  .sidebar.is-collapsed .brand-block > div,
  .sidebar.is-collapsed .sidebar-nav-head,
  .sidebar.is-collapsed .menu-copy {
    display: initial;
  }

  .sidebar.is-collapsed .sidebar-top,
  .sidebar.is-collapsed .menu-item {
    justify-content: flex-start;
  }

  .menu-item {
    min-height: 58px;
  }

  .menu-copy small {
    font-size: 0.8rem;
  }

  .main-content {
    padding: 18px;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 14px;
  }

  tbody tr {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  tbody tr:hover {
    background: rgba(255, 255, 255, 0.92);
  }

  td {
    display: grid;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  td:last-child {
    border-bottom: 0;
  }

  td::before {
    content: attr(data-label);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }

  td.empty-state {
    text-align: left;
    display: block;
  }

  td.empty-state::before {
    display: none;
  }

  .table-actions {
    justify-content: flex-start;
  }

  .hero-panel,
  .panel,
  .modal,
  .status-card {
    border-radius: 24px;
  }
}
