:root {
  --color-scheme: dark;
  color-scheme: var(--color-scheme, dark);
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  --bg-gradient: radial-gradient(circle at 15% 20%, rgba(255, 123, 196, 0.12), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(91, 230, 255, 0.18), transparent 45%),
    linear-gradient(135deg, #05060f 0%, #0c1024 55%, #141937 100%);

  --panel: rgba(9, 13, 28, 0.84);
  --panel-border: rgba(255, 255, 255, 0.12);
  --panel-glow: linear-gradient(135deg, rgba(255, 122, 196, 0.12), transparent 60%);

  --text: #f6f8ff;
  --muted: #9ca7d7;

  --accent: #ff7ac4;
  --accent-dark: #ff4f9f;
  --accent-secondary: #5be6ff;
  --accent-glow: rgba(255, 122, 196, 0.35);

  --success: #4ade80;
  --error: #fb7185;

  --body-overlay: rgba(255, 255, 255, 0.08);

  --pill-bg: rgba(255, 255, 255, 0.07);
  --pill-hover-bg: rgba(255, 255, 255, 0.15);
  --pill-color: var(--accent-secondary);
  --pill-hover-color: var(--accent);

  --ghost-border: rgba(255, 255, 255, 0.25);
  --ghost-bg: rgba(255, 255, 255, 0.05);
  --ghost-color: var(--text);
  --ghost-hover-border: var(--accent);
  --ghost-hover-color: var(--accent);

  --metric-border: rgba(255, 255, 255, 0.12);
  --metric-bg: rgba(255, 255, 255, 0.03);
  --metric-shadow: rgba(255, 255, 255, 0.02);

  --modal-overlay: rgba(3, 5, 12, 0.85);
  --modal-panel: rgba(8, 12, 26, 0.95);
  --modal-panel-border: rgba(255, 255, 255, 0.12);

  --input-border: rgba(255, 255, 255, 0.18);
  --input-bg: rgba(255, 255, 255, 0.05);
  --select-bg-color: rgba(9, 13, 28, 0.95);
  --select-option-bg: #050813;
  --focus-bg: rgba(255, 255, 255, 0.12);
  --focus-shadow: var(--accent-glow);

  --status-border: rgba(255, 255, 255, 0.25);
  --status-bg: rgba(255, 122, 196, 0.1);

  --table-text: #e5e9ff;
  --table-head-bg: #ffffff;
  --table-header-color: #05060f;
  --table-border: rgba(255, 255, 255, 0.08);
  --table-row-alt: rgba(255, 255, 255, 0.02);
  --table-row-hover: rgba(91, 230, 255, 0.08);
  --table-head-shadow: rgba(5, 10, 35, 0.8);
  --table-empty-border: rgba(255, 255, 255, 0.15);

  --table-btn-border: rgba(255, 255, 255, 0.2);
  --table-btn-color: var(--text);
  --danger-border: rgba(255, 100, 100, 0.6);
  --danger-color: #ff8c8c;
  --danger-border-hover: #ff5c5c;
  --danger-color-hover: #ff5c5c;

  --login-panel-bg: rgba(9, 13, 28, 0.9);
  --login-panel-border: rgba(255, 255, 255, 0.12);
}

:root[data-theme="light"] {
  --color-scheme: light;

  --bg-gradient: radial-gradient(circle at 20% 15%, rgba(124, 58, 237, 0.12), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(14, 165, 233, 0.2), transparent 45%),
    linear-gradient(135deg, #f8fafc 0%, #e2e8f0 45%, #e0f2fe 100%);

  --panel: rgba(255, 255, 255, 0.95);
  --panel-border: rgba(15, 23, 42, 0.08);
  --panel-glow: linear-gradient(135deg, rgba(124, 58, 237, 0.08), transparent 60%);

  --text: #0f172a;
  --muted: #475569;

  --accent: #7c3aed;
  --accent-dark: #6d28d9;
  --accent-secondary: #0ea5e9;
  --accent-glow: rgba(124, 58, 237, 0.25);

  --success: #15803d;
  --error: #b91c1c;

  --body-overlay: rgba(15, 23, 42, 0.08);

  --pill-bg: rgba(15, 23, 42, 0.06);
  --pill-hover-bg: rgba(15, 23, 42, 0.12);
  --pill-color: var(--accent-dark);
  --pill-hover-color: var(--accent);

  --ghost-border: rgba(15, 23, 42, 0.2);
  --ghost-bg: rgba(15, 23, 42, 0.04);
  --ghost-color: #0f172a;
  --ghost-hover-border: var(--accent);
  --ghost-hover-color: var(--accent);

  --metric-border: rgba(15, 23, 42, 0.08);
  --metric-bg: rgba(124, 58, 237, 0.05);
  --metric-shadow: rgba(15, 23, 42, 0.05);

  --modal-overlay: rgba(15, 23, 42, 0.55);
  --modal-panel: rgba(255, 255, 255, 0.98);
  --modal-panel-border: rgba(15, 23, 42, 0.08);

  --input-border: rgba(15, 23, 42, 0.2);
  --input-bg: rgba(255, 255, 255, 0.9);
  --select-bg-color: #ffffff;
  --select-option-bg: #ffffff;
  --focus-bg: rgba(124, 58, 237, 0.05);
  --focus-shadow: rgba(124, 58, 237, 0.25);

  --status-border: rgba(124, 58, 237, 0.35);
  --status-bg: rgba(124, 58, 237, 0.08);

  --table-text: #0f172a;
  --table-head-bg: #0f172a;
  --table-header-color: #f8fafc;
  --table-border: rgba(15, 23, 42, 0.12);
  --table-row-alt: rgba(15, 23, 42, 0.04);
  --table-row-hover: rgba(14, 165, 233, 0.16);
  --table-head-shadow: rgba(15, 23, 42, 0.12);
  --table-empty-border: rgba(15, 23, 42, 0.2);

  --table-btn-border: rgba(15, 23, 42, 0.2);
  --table-btn-color: #0f172a;
  --danger-border: rgba(239, 68, 68, 0.7);
  --danger-color: #b91c1c;
  --danger-border-hover: #ef4444;
  --danger-color-hover: #ef4444;

  --login-panel-bg: rgba(255, 255, 255, 0.9);
  --login-panel-border: rgba(15, 23, 42, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg-gradient);
  color: var(--text);
  position: relative;
  overflow-x: hidden;
  font-family: inherit;
}

body::after {
  content: "";
  position: fixed;
  inset: -20% -10%;
  background: radial-gradient(circle, var(--body-overlay), transparent 65%);
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}

main,
.app {
  position: relative;
  z-index: 1;
}

.app {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.app--wide {
  max-width: 1400px;
}

.page-entries .panel {
  padding: 2.6rem;
}

.page-entries .panel__header {
  align-items: center;
}

.app__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}

.app__header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  letter-spacing: 0.04em;
}

.app__title--compact {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  letter-spacing: 0.03em;
}

.app__intro {
  margin: 0 auto;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--muted);
}

.app__intro--stack {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.app__intro-links {
  display: inline-flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.app__actions-floating {
  position: absolute;
  top: 0.2rem;
  right: 0;
  display: inline-flex;
  gap: 0.4rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 600;
  background: var(--pill-bg);
  color: var(--pill-color);
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pill-link:hover {
  transform: translateY(-2px);
  background: var(--pill-hover-bg);
  color: var(--pill-hover-color);
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 1.6rem;
  padding: 2.4rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px rgba(5, 6, 15, 0.55);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--panel-glow);
  pointer-events: none;
  z-index: 0;
}

/* panel--hero uses base panel styling */

.panel h2 {
  margin-top: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.panel__actions {
  display: flex;
  gap: 0.75rem;
}

.panel__subhead {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.panel__subhead--muted {
  color: var(--muted);
  opacity: 0.8;
}

.market-status-sections {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.market-status-section {
  border: 1px solid var(--panel-border);
  border-radius: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  break-inside: avoid;
}

:root[data-theme="light"] .market-status-section {
  background: rgba(15, 23, 42, 0.03);
}

.market-status-section__title {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1220;
  background: linear-gradient(120deg, #a5b4fc, #67e8f9);
  box-shadow: 0 12px 30px rgba(103, 232, 249, 0.25);
}

.market-status-grid {
  margin-top: 0.8rem;
}

.market-status-section[data-market="Indonesia"] .market-status-grid,
.market-status-section[data-market="Thailand"] .market-status-grid,
.market-status-section[data-market="Vietnam"] .market-status-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .market-status-section[data-market="Indonesia"] .market-status-grid,
  .market-status-section[data-market="Thailand"] .market-status-grid,
  .market-status-section[data-market="Vietnam"] .market-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.metric-card--link {
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.metric-card--link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.metric-card--link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.ghost-button {
  border: 1px solid var(--ghost-border);
  background: var(--ghost-bg);
  color: var(--ghost-color);
  padding: 0.65rem 1.15rem;
  border-radius: 0.8rem;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.ghost-button:hover {
  transform: translateY(-2px);
  border-color: var(--ghost-hover-border);
  color: var(--ghost-hover-color);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.ghost-button--pill {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.05rem;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.03)
  );
}

.ghost-button--accent {
  border-color: var(--accent);
  color: var(--accent);
}

.ghost-button--danger {
  border-color: var(--danger-border);
  color: var(--danger-color);
}

.ghost-button--danger:hover {
  border-color: var(--danger-border-hover);
  color: var(--danger-color-hover);
}

.ghost-button--reset {
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.ghost-button--reset:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  box-shadow: 0 10px 24px rgba(91, 230, 255, 0.25);
}

.ghost-button__icon {
  margin-right: 0.5rem;
}

.toolbar-buttons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.toolbar-buttons .bi {
  font-size: 1rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.form__actions--stack {
  justify-content: space-between;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
}

.form__field > span {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.35rem;
}

.form__field > span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
  opacity: 0.8;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form__field--split {
  gap: 0.4rem;
}

.form__field-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

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

.form__field-split-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form__field-split-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.form__field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.form__field--checkbox input {
  width: auto;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.form__hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}

.filters {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filters__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.filter-field--wide {
  grid-column: 1 / -1;
}

.filters__actions {
  display: flex;
  justify-content: flex-end;
}

.ghost-button--small {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.metrics-grid--dense {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.metrics-grid--status {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1200px) {
  .metrics-grid--status {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

.metric-card {
  border: 1px solid var(--metric-border);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  background: var(--metric-bg);
  box-shadow: inset 0 0 20px var(--metric-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 140px;
  gap: 0.4rem;
}

.metric-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-value {
  margin: 0;
  font-size: 2rem;
  font-weight: 600;
}

.status-distribution__layout {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.status-summary {
  flex: 1 1 280px;
  border: 1px solid var(--panel-border);
  border-radius: 1rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  min-width: 260px;
}

:root[data-theme="light"] .status-summary {
  background: rgba(15, 23, 42, 0.03);
}

.status-summary__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.status-summary__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.status-summary__header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-summary__progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.status-summary__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(120deg, var(--accent), var(--accent-secondary));
}

.status-market-filter {
  max-width: 220px;
  margin-left: auto;
  gap: 0;
  margin-bottom: 0.6rem;
}

.status-market-filter select {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.modal[hidden] {
  display: none !important;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--modal-overlay);
  backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  width: min(900px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--modal-panel);
  border: 1px solid var(--modal-panel-border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.modal__header h3 {
  margin: 0;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 1rem;
}

body.modal-open {
  overflow: hidden;
}

.form__field input,
.form__field select,
.form__field textarea {
  border: 1px solid var(--input-border);
  border-radius: 1rem;
  padding: 1rem 1.15rem;
  font: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.16);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.form__field input[type="file"] {
  cursor: pointer;
  border-style: dashed;
  padding: 0.95rem 1.1rem;
  color: var(--muted);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.form__field input[type="file"]::file-selector-button,
.form__field input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.9rem;
  padding: 0.65rem 1.05rem;
  border: 1px solid var(--accent);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
  color: #0b1220;
  border-radius: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.form__field input[type="file"]::file-selector-button:hover,
.form__field input[type="file"]::-webkit-file-upload-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255, 122, 196, 0.18);
  filter: brightness(1.02);
}

.form__field input[type="file"]::file-selector-button:active,
.form__field input[type="file"]::-webkit-file-upload-button:active {
  transform: translateY(0);
}


.form__field select {
  appearance: none;
  background-color: var(--select-bg-color);
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%, 0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 3rem;
  font-weight: 600;
}

.form__field select::-ms-expand {
  display: none;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-shadow);
  background: var(--focus-bg);
  outline: none;
  transform: translateY(-1px);
}

.form__field select option {
  background: var(--select-option-bg);
  color: var(--text);
}

.note-datetime-placeholder::placeholder {
  color: var(--muted);
  opacity: 0.7;
  font-weight: 500;
}

.primary-btn {
  border: none;
  border-radius: 999px;
  padding: 1.05rem 3.4rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: #05060f;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: flex-start;
  letter-spacing: 0.05em;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 45px rgba(255, 122, 196, 0.35);
}

.status {
  min-height: 2rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.8rem;
  border: 1px dashed var(--status-border);
  background: var(--status-bg);
  word-break: break-word;
  margin-top: 1rem;
}

.status--success {
  border-color: var(--success);
  color: var(--success);
  background: rgba(74, 222, 128, 0.08);
}

.status--error {
  border-color: var(--error);
  color: var(--error);
  background: rgba(251, 113, 133, 0.08);
}

.status--inline {
  min-height: auto;
  padding: 0.55rem 0.9rem;
  margin-top: 0.8rem;
}

.table-wrapper {
  overflow: auto;
  margin-top: 1rem;
  max-height: 70vh;
  border-radius: 1rem;
}

.table-wrapper--compact {
  max-height: none;
}

.sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  color: var(--table-text);
}

.sheet-table thead {
  background: var(--table-head-bg);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 6px 18px var(--table-head-shadow);
}

.sheet-table th,
.sheet-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--table-border);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.sheet-table th {
  position: sticky;
  top: 0;
  z-index: 21;
  background: var(--table-head-bg);
  background-clip: padding-box;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--table-header-color);
  white-space: nowrap;
}

.sheet-table tbody tr:nth-child(odd) {
  background: var(--table-row-alt);
}

.sheet-table tbody {
  position: relative;
  z-index: 1;
}

.sheet-table tbody tr {
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.sheet-table tbody tr:hover {
  background: var(--table-row-hover);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.metric-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.tat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  color: var(--table-text);
}

.tat-table th,
.tat-table td {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--table-border);
  text-align: left;
}

.tat-table thead {
  background: var(--table-head-bg);
  position: sticky;
  top: 0;
  z-index: 5;
}

.tat-table th {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--table-header-color);
}

.tat-table tbody tr:nth-child(odd) {
  background: var(--table-row-alt);
}

.tat-cell--on-time {
  color: var(--success);
  font-weight: 600;
}

.tat-cell--delay {
  color: var(--danger-color);
  font-weight: 600;
}

.tat-modal__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tat-modal__project {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.tat-modal__hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.tat-modal__hint a {
  color: var(--accent);
  text-decoration: underline;
}

.tat-report__form .form-grid {
  max-width: 420px;
}

.tat-report__details {
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.tat-report__details-item {
  border: 1px solid var(--panel-border);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--panel-bg);
}

.tat-report__details-item span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.table-cell--truncate {
  max-width: 240px;
}

.table-cell--campaign {
  max-width: 220px;
}

.table-cell--comments {
  max-width: 360px;
}

.cell-truncate {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: top;
}

.table-chip-cell {
  white-space: nowrap;
}

.table-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}

.table-chip--status {
  background: rgba(255, 122, 196, 0.1);
  border-color: rgba(255, 122, 196, 0.35);
  color: var(--accent);
}

.table-chip--market {
  background: rgba(91, 230, 255, 0.12);
  border-color: rgba(91, 230, 255, 0.35);
  color: var(--accent-secondary);
}

.entries__empty {
  text-align: center;
  font-style: italic;
  color: var(--muted);
}

.entries__empty td {
  padding: 1.5rem 0.8rem;
  background: transparent;
  border: 1px dashed var(--table-empty-border);
}

.table-favorite {
  width: 3rem;
  text-align: center;
}

.favorite-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-size: 1.2rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.favorite-toggle:hover {
  color: var(--accent-secondary);
  background: rgba(255, 255, 255, 0.06);
}

.favorite-toggle.is-active {
  color: var(--accent);
}

.favorite-toggle:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 2px;
}

.favorite-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.favorite-icon {
  line-height: 1;
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.table-actions {
  display: flex;
  gap: 0.4rem;
}

.table-btn {
  border: 1px solid var(--table-btn-border);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  background: transparent;
  color: var(--table-btn-color);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.table-btn--ghost:hover {
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.table-btn--danger {
  border-color: var(--danger-border);
  color: var(--danger-color);
}

.table-btn--danger:hover {
  border-color: var(--danger-border-hover);
  color: var(--danger-color-hover);
}
.chart-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.chart-wrapper--small {
  max-width: 800px;
}
.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg-gradient);
  color: var(--text);
}

.login-panel {
  width: min(420px, 90vw);
  padding: 2.5rem;
  background: var(--login-panel-bg);
  border: 1px solid var(--login-panel-border);
  border-radius: 1.5rem;
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.5);
}

.login-panel__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}
.login-body .app,
.login-body .app--wide {
  max-width: none;
  padding: 0;
}

.notes__filters {
  gap: 1rem;
  align-items: flex-end;
}

.notes__search {
  min-width: 220px;
}

.notes__filters {
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: flex-end;
}

.notes__pin-filter {
  align-self: flex-end;
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.notes-list__empty {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin: 2rem 0;
}

.note-card {
  border: 1px solid var(--panel-border);
  border-radius: 1.2rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.note-card--pinned {
  border-color: rgba(255, 122, 196, 0.7);
  box-shadow: 0 20px 40px rgba(255, 122, 196, 0.15);
}

.note-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 60%);
  pointer-events: none;
}

.note-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  position: relative;
  z-index: 1;
}

.note-card__title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.note-card__pin {
  font-size: 1.1rem;
}

.note-card__title {
  margin: 0;
  font-size: 1.2rem;
}

.note-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
  position: relative;
  z-index: 1;
  align-items: center;
}

.note-card__due-label {
  font-weight: 600;
  color: var(--text);
}

.note-card__content {
  margin: 1rem 0 0;
  position: relative;
  z-index: 1;
  white-space: pre-wrap;
}

.note-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.asset-controls {
  flex-wrap: wrap;
  gap: 0.6rem;
}

.asset-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 0.25rem;
}

.asset-view-toggle .ghost-button {
  border-radius: 999px;
}

.asset-view-toggle .ghost-button.is-active {
  background: var(--accent);
  color: var(--background);
}

.asset-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
  align-items: end;
}

.asset-filter__favorites {
  align-self: flex-end;
}

.asset-visual-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: flex-end;
  margin-top: 1.5rem;
}

.asset-visual-search__input {
  flex: 1;
  min-width: 220px;
}

.asset-visual-search__input input[type="file"] {
  margin-top: 0.4rem;
}

.asset-list {
  margin-top: 1.5rem;
}

.asset-list[data-view="grid"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.asset-list[data-view="thumbs"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}

.asset-list[data-view="list"] {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.asset-list__empty {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin: 2rem 0;
}

.asset-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.1rem;
  border: 1px solid var(--panel-border);
  border-radius: 1.2rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.asset-list[data-view="grid"] .asset-card,
.asset-list[data-view="thumbs"] .asset-card {
  display: flex;
  flex-direction: column;
  grid-template-columns: 1fr;
  height: 100%;
}

.asset-list[data-view="grid"] .asset-card__thumb {
  width: 100%;
  height: 200px;
}

.asset-list[data-view="thumbs"] .asset-card__thumb {
  width: 100%;
  height: 120px;
}

.asset-list[data-view="thumbs"] .asset-card {
  padding: 0.5rem;
  gap: 0.4rem;
}

.asset-list[data-view="grid"] .asset-card__body,
.asset-list[data-view="thumbs"] .asset-card__body {
  flex: 1;
}

.asset-list[data-view="thumbs"] .asset-card__body {
  gap: 0.3rem;
}

.asset-list[data-view="thumbs"] .asset-card__meta,
.asset-list[data-view="thumbs"] .asset-card__collection,
.asset-list[data-view="thumbs"] .asset-card__details,
.asset-list[data-view="thumbs"] .asset-card__notes,
.asset-list[data-view="thumbs"] .asset-card__tags,
.asset-list[data-view="thumbs"] .asset-card__actions {
  display: none;
}

.asset-list[data-view="grid"] .asset-card__actions {
  margin-top: auto;
}

.asset-list[data-view="thumbs"] .asset-card__audio {
  justify-content: center;
  text-align: center;
}

.asset-list[data-view="thumbs"] .asset-card__video {
  justify-content: center;
  text-align: center;
}

.asset-list[data-view="thumbs"] .asset-card__title {
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 720px) {
  .asset-card {
    grid-template-columns: 1fr;
  }

  .asset-card__thumb {
    width: 100%;
    height: 220px;
  }
}

.asset-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 60%);
  pointer-events: none;
}

.asset-card--favorite {
  border-color: rgba(255, 205, 96, 0.8);
  box-shadow: 0 20px 45px rgba(255, 205, 96, 0.2);
}

.asset-card__thumb {
  width: 160px;
  height: 160px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.asset-card__thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asset-card__thumb-fallback {
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

.asset-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.asset-card__title-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.asset-card__title-wrap {
  flex: 1;
  min-width: 0;
}

.asset-card__title {
  margin: 0;
  font-size: 1.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.asset-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

.asset-card__favorite {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.favorite-toggle__indicator {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.favorite-toggle__indicator::before {
  content: "★";
}

.favorite-toggle__label {
  white-space: nowrap;
}

.asset-card__favorite[aria-pressed="true"] {
  background: rgba(255, 205, 96, 0.2);
  border-color: rgba(255, 205, 96, 0.8);
  color: rgba(36, 14, 1, 0.9);
}

.asset-card__favorite[aria-pressed="true"] .favorite-toggle__indicator {
  border-color: rgba(255, 205, 96, 0.9);
  background: rgba(255, 205, 96, 0.85);
}

.asset-card__audio {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.asset-card__audio button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.9rem 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.audio-toggle__indicator {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.audio-toggle__indicator::before {
  content: "▶";
}

.audio-toggle__label {
  white-space: nowrap;
}

.asset-card__audio button[aria-pressed="true"] {
  background: rgba(17, 185, 129, 0.15);
  border-color: rgba(17, 185, 129, 0.6);
  color: #11b981;
}

.asset-card__audio button[aria-pressed="true"] .audio-toggle__indicator {
  border-color: #11b981;
  background: rgba(17, 185, 129, 0.2);
}

.asset-card__audio button[aria-pressed="true"] .audio-toggle__indicator::before {
  content: "⏸";
}

.asset-card__video {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.asset-card__video button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.video-toggle__indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
}

.asset-card__video button:hover {
  background: rgba(255, 255, 255, 0.15);
}

.asset-card__collection {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-secondary);
}

.asset-card__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.4rem 0.8rem;
}

.asset-card__detail {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.asset-card__detail-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.asset-card__detail-value {
  font-weight: 600;
  font-size: 0.95rem;
}

.asset-card__notes {
  margin: 0;
  line-height: 1.5;
  color: var(--text);
}

.asset-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.asset-tag {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(137, 180, 255, 0.15);
  color: var(--accent-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.asset-tag--auto {
  background: rgba(161, 255, 203, 0.15);
  color: #34d399;
}

.asset-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.asset-edit {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.asset-edit[hidden] {
  display: none;
}

.asset-edit__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 15, 0.75);
  backdrop-filter: blur(6px);
}

.asset-edit__dialog {
  position: relative;
  max-width: 720px;
  width: min(90vw, 720px);
  max-height: 90vh;
  overflow: auto;
  background: var(--panel);
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-border);
}

.asset-edit__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.asset-edit__form .form-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.asset-edit__form .form__actions {
  justify-content: flex-end;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.badge--simple {
  color: #0f172a;
  background: linear-gradient(120deg, rgba(22, 163, 74, 0.25), rgba(34, 197, 94, 0.25));
  border-color: rgba(34, 197, 94, 0.4);
}

.badge--medium {
  color: #0f172a;
  background: linear-gradient(120deg, rgba(234, 179, 8, 0.25), rgba(251, 191, 36, 0.3));
  border-color: rgba(251, 191, 36, 0.4);
}

.badge--rush {
  color: #fff;
  background: linear-gradient(120deg, rgba(239, 68, 68, 0.35), rgba(244, 63, 94, 0.45));
  border-color: rgba(244, 63, 94, 0.5);
}

.badge--due {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.badge--due-past {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  color: #fecdd3;
}

.badge--due-today {
  background: rgba(251, 191, 36, 0.25);
  border-color: rgba(251, 191, 36, 0.4);
  color: #fbbf24;
}

.badge--due-soon {
  background: rgba(14, 165, 233, 0.2);
  border-color: rgba(14, 165, 233, 0.35);
  color: #bae6fd;
}

.badge--due-later {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.3);
  color: #86efac;
}

:root[data-theme="light"] .note-card {
  background: rgba(15, 23, 42, 0.02);
}
.video-preview-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1400;
}

.video-preview-overlay[hidden] {
  display: none;
}

.video-preview-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 15, 0.8);
  backdrop-filter: blur(8px);
}

.video-preview-overlay__content {
  position: relative;
  z-index: 1;
  width: min(80vw, 760px);
  max-height: 85vh;
  margin: 0;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(20, 22, 35, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: previewFade 0.25s ease;
}

.video-preview-overlay__content video {
  width: 100%;
  max-height: 65vh;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
}

.video-preview-overlay__content figcaption {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media print {
  :root {
    --color-scheme: light;
    --bg-gradient: #ffffff;
    --panel: #ffffff;
    --panel-border: #dde3f0;
    --panel-glow: none;
    --text: #0f172a;
    --muted: #475569;
    --ghost-border: #94a3b8;
    --ghost-bg: #ffffff;
    --ghost-color: #0f172a;
    --ghost-hover-border: #0f172a;
    --ghost-hover-color: #0f172a;
    --metric-border: #e2e8f0;
    --metric-bg: #f8fafc;
    --metric-shadow: rgba(15, 23, 42, 0.05);
    --body-overlay: transparent;
  }

  body {
    background: #ffffff !important;
    color: #0f172a !important;
    overflow: visible;
  }

  body::after {
    display: none;
  }

  .app__intro button,
  .app__intro .pill-link {
    display: none !important;
  }

  .panel {
    box-shadow: none;
    border: 1px solid #dfe4f2;
  }

  .metric-card {
    background: #f8fafc;
    border-color: #dfe4f2;
    box-shadow: none;
  }

  .market-status-section {
    border-color: #dfe4f2;
    background: #ffffff;
  }

  .metric-card--link {
    border-color: #dfe4f2;
    box-shadow: none;
  }

  .metrics-grid {
    gap: 0.75rem;
  }

  header,
  section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
.import-template-link {
  text-decoration: none;
}
.datetime-native {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid var(--input-border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  padding: 1rem 1.15rem;
  color: inherit;
}

.datetime-native:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus-shadow);
  background: var(--focus-bg);
  outline: none;
}
.panel--hero {
  position: relative;
  overflow: hidden;
}

.panel__header--hero {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.panel__header--center {
  justify-content: center;
}

.panel__title-accent {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel__title-accent--center {
  position: relative;
  padding-bottom: 0.9rem;
}

.panel__title-accent--center::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.15rem;
  width: 200px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
  box-shadow: 0 0 14px rgba(255, 122, 196, 0.35);
  opacity: 0.9;
}

.panel__title--spark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding-bottom: 0.55rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.panel__title--spark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.05rem;
  width: 160px;
  max-width: 55%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-secondary) 100%);
  box-shadow: 0 8px 26px rgba(255, 122, 196, 0.25);
}
