/* [project]/src/app/globals.css [app-client] (css) */
*, :before, :after, ::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #3b82f680;
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

*, :before, :after {
  box-sizing: border-box;
  border: 0 solid #e5e7eb;
}

:before, :after {
  --tw-content: "";
}

html, :host {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
  font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  line-height: 1.5;
}

body {
  line-height: inherit;
  margin: 0;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  -webkit-text-decoration: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  vertical-align: baseline;
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button, input, optgroup, select, textarea {
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: #0000;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button {
  height: auto;
}

::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol, ul, menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}

input::placeholder, textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button, [role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img, svg, video, canvas, audio, iframe, embed, object {
  vertical-align: middle;
  display: block;
}

img, video {
  max-width: 100%;
  height: auto;
}

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

.\!container {
  width: 100% !important;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}

.collapse {
  visibility: collapse;
}

.block {
  display: block;
}

.inline {
  display: inline;
}

.table {
  display: table;
}

.hidden {
  display: none;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize {
  resize: both;
}

.truncate {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --background: #f4f7f6;
  --foreground: #171717;
  --muted: #5f6670;
  --panel: #fff;
  --border: #d7dedc;
  --accent: #0e6f5c;
  --accent-strong: #08483d;
  --accent-soft: #dceee9;
  --background-asset-stock: #8ad6ff;
  --background-asset-etf: #84bddb;
  --background-asset-commodity: #ffd978;
  --background-asset-currency: #94d1ad;
  --background-asset-crypto: #bb9ae6;
  --background-asset-other: #adadad;
  --background-report: #fff;
  --app-sidebar-width: 300px;
}

* {
  box-sizing: border-box;
}

html, body {
  min-width: 300px;
  min-height: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

a {
  color: var(--accent);
}

.page-shell {
  flex-direction: column;
  min-height: 100vh;
  display: flex;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: #ffffffc2;
}

.site-header__inner, .hero {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.site-header__inner {
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  height: 72px;
  display: flex;
}

.brand {
  font-size: 1rem;
  font-weight: 700;
}

.site-menu-toggle, .app-menu-toggle {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.mobile-menu-button {
  border: 1px solid var(--border);
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  display: none;
}

.mobile-menu-button span {
  background: currentColor;
  border-radius: 999px;
  width: 20px;
  height: 2px;
}

.app-mobile-brand {
  text-decoration: none;
  display: none;
}

.nav-note {
  color: var(--muted);
  font-size: .95rem;
}

.hero {
  flex: 1;
  align-items: center;
  padding: 72px 0;
  display: grid;
}

.hero__content {
  max-width: 780px;
}

.eyebrow {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 16px;
  font-size: .9rem;
  font-weight: 700;
}

h1 {
  letter-spacing: 0;
  max-width: 760px;
  margin: 0;
  font-size: 5rem;
  line-height: .95;
}

.hero__copy {
  max-width: 620px;
  color: var(--muted);
  margin: 28px 0 0;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero__disclaimer {
  max-width: 620px;
  color: var(--muted);
  margin: 28px 0 0;
  font-size: .92rem;
  line-height: 1.6;
}

.status-row {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  display: flex;
}

.status-pill {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .92rem;
}

.status-pill--accent {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: #0000;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}

.site-footer nav {
  flex-wrap: wrap;
  gap: 18px;
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
  display: flex;
}

.site-footer a {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: auto;
    padding: 20px 0;
  }

  .hero {
    padding: 52px 0;
  }

  .hero__copy {
    font-size: 1rem;
  }

  h1 {
    font-size: 3rem;
  }
}

.legal-page {
  background: var(--background);
  min-height: 100vh;
  padding: 72px 0;
}

.legal-page__inner {
  width: min(880px, 100% - 32px);
  margin: 0 auto;
}

.legal-page__back {
  color: var(--muted);
  margin-bottom: 28px;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.legal-page h1 {
  font-size: 3.4rem;
  line-height: 1;
}

.legal-page__summary {
  max-width: 680px;
  color: var(--muted);
  margin: 22px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
  display: grid;
}

.legal-link-grid a, .legal-pdf-link {
  border: 1px solid var(--border);
  color: var(--foreground);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  font-weight: 800;
  text-decoration: none;
}

.legal-pdf-link {
  gap: 8px;
  margin-top: 28px;
  display: grid;
}

.legal-pdf-link span {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: .82rem;
  font-weight: 600;
}

.legal-copy {
  gap: 18px;
  margin-top: 28px;
  display: grid;
}

.legal-copy section {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 20px;
}

.legal-copy h2 {
  color: var(--foreground);
  margin: 0;
  font-size: 1.05rem;
}

.legal-copy p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.7;
}

.dashboard-shell {
  grid-template-columns: var(--app-sidebar-width) minmax(0, 1fr);
  background: #f7faf9;
  min-height: 100vh;
  display: grid;
}

.dashboard-sidebar {
  border-right: 1px solid var(--border);
  background: #fff;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 24px;
  height: 100vh;
  padding: 28px 24px;
  display: grid;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.dashboard-brand {
  color: var(--foreground);
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  display: flex;
}

.dashboard-brand img {
  -o-object-fit: contain;
  object-fit: contain;
  flex: none;
  width: auto;
  height: 4em;
}

.dashboard-brand span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.dashboard-user {
  color: var(--muted);
  gap: 6px;
  margin-top: 18px;
  font-size: .92rem;
  line-height: 1.35;
  display: grid;
}

.dashboard-nav {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding-right: 4px;
  display: grid;
  overflow-y: auto;
}

.dashboard-nav a, .dashboard-logout {
  min-height: 44px;
  color: var(--foreground);
  font: inherit;
  border: 1px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: .95rem;
  text-decoration: none;
  display: flex;
}

.sidebar-nav-icon {
  flex: none;
  width: 1em;
  height: 1em;
  display: block;
}

.dashboard-nav a:hover, .dashboard-logout:hover {
  border-color: var(--border);
  background: #f4f7f6;
}

.dashboard-logout {
  cursor: pointer;
  background: none;
  width: 100%;
}

.dashboard-sidebar__actions {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.dashboard-main {
  grid-template-rows: auto 1fr;
  min-width: 0;
  display: grid;
}

.dashboard-topbar {
  border-bottom: 1px solid var(--border);
  background: #ffffffd1;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 36px;
  display: flex;
}

.dashboard-kicker {
  color: var(--accent-strong);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 6px;
  font-size: .8rem;
  font-weight: 800;
}

.auth-app-name {
  color: var(--text);
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
}

.dashboard-topbar h1, .dashboard-section h2 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.2;
}

.usage-summary {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 8px;
  gap: 4px;
  max-width: 340px;
  padding: 14px 16px;
  display: grid;
}

.usage-summary span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
}

.usage-summary strong {
  color: var(--foreground);
  font-size: .92rem;
  line-height: 1.4;
}

.dashboard-content {
  min-width: 0;
  padding: 36px;
}

.dashboard-section {
  width: 100%;
  min-width: 0;
  max-width: 920px;
}

.dashboard-section h2 {
  overflow-wrap: anywhere;
}

.dashboard-section__body {
  color: var(--muted);
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.report-workspace {
  gap: 24px;
  display: grid;
}

.report-form, .report-progress {
  color: var(--foreground);
  gap: 18px;
  display: grid;
}

.dashboard-settings-form {
  max-width: 520px;
  color: var(--foreground);
  gap: 14px;
  display: grid;
}

.dashboard-settings-form label {
  gap: 8px;
  font-size: .9rem;
  font-weight: 800;
  display: grid;
}

.dashboard-settings-form input, .dashboard-settings-form select {
  border: 1px solid var(--border);
  width: 100%;
  min-height: 44px;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
}

.dashboard-settings-form input:disabled {
  color: var(--muted);
  background: #f3f5f1;
}

.dashboard-settings-form button {
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  width: fit-content;
  min-height: 42px;
  font: inherit;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 800;
}

.dashboard-settings-form__note, .dashboard-settings-form__error {
  margin: 0;
  font-size: .9rem;
}

.dashboard-settings-form__note {
  color: var(--accent-strong);
}

.dashboard-settings-form__error {
  color: #8a1f1f;
}

.user-assets-manager {
  gap: 18px;
  display: grid;
}

.user-assets-form {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  align-items: end;
  gap: 14px;
  display: grid;
}

.user-assets-form label {
  color: var(--muted);
  gap: 6px;
  font-size: .88rem;
  font-weight: 800;
  display: grid;
}

.user-assets-form input, .user-assets-form select {
  border: 1px solid var(--border);
  width: 100%;
  min-height: 42px;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
}

.user-assets-form button, .user-assets-list button {
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  font: inherit;
  border-radius: 8px;
  padding: 0 14px;
  font-size: .92rem;
  font-weight: 800;
}

.user-assets-list {
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

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

.user-assets-column {
  border: 1px solid var(--border);
  background: #f9fbfa;
  border-radius: 8px;
  align-content: start;
  gap: 12px;
  min-width: 0;
  min-height: 180px;
  padding: 14px;
  display: grid;
}

.user-assets-column h3 {
  color: var(--foreground);
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.user-assets-list li {
  border: 1px solid var(--border);
  background: var(--user-asset-background, var(--background-asset-other));
  border-radius: 8px;
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  transition: box-shadow .18s, transform .18s;
  display: grid;
  transform: translateY(0);
  box-shadow: 0 4px 10px #1717171f;
}

.user-assets-list__item--stock {
  --user-asset-background: var(--background-asset-stock);
}

.user-assets-list__item--etf {
  --user-asset-background: var(--background-asset-etf);
}

.user-assets-list__item--commodity {
  --user-asset-background: var(--background-asset-commodity);
}

.user-assets-list__item--currency {
  --user-asset-background: var(--background-asset-currency);
}

.user-assets-list__item--crypto {
  --user-asset-background: var(--background-asset-crypto);
}

.user-assets-list__item--other {
  --user-asset-background: var(--background-asset-other);
}

.user-assets-list li:hover, .user-assets-list li:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 18px #17171752;
}

.user-assets-list li[draggable="true"] {
  cursor: grab;
}

.user-assets-list__item--dragging {
  opacity: .55;
  transform: translateY(0);
}

.user-assets-list__details {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.user-assets-list__actions {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.user-assets-list span {
  min-width: 0;
  color: var(--muted);
  text-transform: uppercase;
  overflow-wrap: anywhere;
  font-size: .78rem;
  font-weight: 800;
}

.user-assets-list strong {
  overflow-wrap: anywhere;
  min-width: 0;
}

.user-assets-list button {
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  color: var(--accent-strong);
  opacity: .8;
  background: #fff;
  flex: none;
  justify-content: center;
  align-items: center;
  padding: 0;
  display: inline-flex;
}

.user-assets-list__action-icon {
  width: 1em;
  height: 1em;
  display: block;
}

.user-assets-form button:disabled, .user-assets-list button:disabled {
  cursor: wait;
}

.user-assets-form button:disabled {
  opacity: .7;
}

.user-assets-list button:disabled {
  opacity: .5;
}

.report-form label {
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  display: grid;
}

.report-form textarea, .report-form input, .report-form select {
  border: 1px solid var(--border);
  width: 100%;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.report-form textarea {
  resize: vertical;
}

.report-custom-scenario-field__textarea {
  display: block;
  position: relative;
}

.report-custom-scenario-field__textarea textarea::placeholder {
  color: #0000;
}

.report-custom-scenario-field__placeholder {
  color: #6b7280;
  pointer-events: none;
  white-space: pre-wrap;
  font-weight: 400;
  line-height: 1.5;
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
}

.report-custom-scenario-field__cursor {
  vertical-align: -.2em;
  background: currentColor;
  width: 1px;
  height: 1.2em;
  margin-left: 2px;
  animation: 1s steps(2, start) infinite report-placeholder-cursor-blink;
  display: inline-block;
}

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

.report-step {
  align-content: start;
  gap: 18px;
  min-height: 300px;
  display: grid;
}

.report-step--summary {
  min-height: 220px;
}

.report-summary {
  border: 1px solid var(--border);
  color: var(--foreground);
  background: #f9fbfa;
  border-radius: 8px;
  gap: 12px;
  padding: 16px;
  display: grid;
}

.report-summary p {
  overflow-wrap: anywhere;
  margin: 0;
}

.report-summary--prompt section {
  gap: 8px;
  display: grid;
}

.report-summary--prompt h3 {
  margin: 0;
  font-size: .95rem;
}

.report-summary--prompt pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  max-width: 100%;
  margin: 0;
  padding: 12px;
  font: .9rem / 1.5 ui-monospace, SFMono-Regular, Consolas, Liberation Mono, monospace;
  overflow-x: auto;
}

.report-step__empty {
  color: var(--muted);
  margin: 0;
  font-size: .92rem;
}

.report-choice-group {
  border: 0;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: grid;
}

.report-choice-group legend {
  color: var(--foreground);
  padding: 0;
  font-size: .9rem;
  font-weight: 700;
}

.report-choice-group__note {
  color: var(--muted);
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}

.report-choice-group__note a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: underline;
}

.report-scenario-options, .report-asset-mode {
  gap: 10px;
  display: grid;
}

.report-choice {
  border: 1px solid var(--border);
  background: #f9fbfa;
  border-radius: 8px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  display: grid;
}

.report-choice--scenario, .report-choice--scenario input, .report-choice--scenario span, .report-choice--scenario img {
  cursor: pointer;
}

.report-choice--scenario-image {
  grid-template-columns: auto auto minmax(0, 1fr);
}

.report-choice__thumbnail {
  border: 1px solid var(--border);
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
  width: 96px;
  height: 54px;
  display: block;
}

.report-choice input {
  width: 18px;
  margin: 0;
}

.report-choice span {
  min-width: 0;
  color: var(--foreground);
  overflow-wrap: anywhere;
  font-weight: 600;
}

.report-choice:has(input:checked) {
  background: var(--accent-soft);
  border-color: #0e6f5c85;
}

.report-form__actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

.report-submit {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  width: fit-content;
  min-height: 44px;
  font: inherit;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.report-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.report-result {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}

.report-result--error {
  color: #8a1f1f;
  background: #fff5f5;
  border-color: #d48b8b;
}

.report-analysis-body {
  min-width: 0;
  max-width: 100%;
  color: var(--foreground);
  margin: 14px 0 0;
  font-size: .95rem;
  line-height: 1.65;
}

.report-result .report-analysis-body {
  margin: 0;
}

.report-analysis-body p {
  color: var(--foreground);
  overflow-wrap: anywhere;
  white-space: pre-line;
  word-break: break-word;
  margin: 0 0 1em;
}

.report-analysis-body p:last-child {
  margin-bottom: 0;
}

.report-analysis-body strong {
  font-weight: 900;
}

.report-progress {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 22px;
}

.report-progress__stages {
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.report-progress__stage {
  min-width: 0;
  color: var(--muted);
  align-items: center;
  gap: 12px;
  display: flex;
}

.report-progress__stage span {
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  color: var(--muted);
  background: #f8faf7;
  border-radius: 50%;
  flex: 0 0 32px;
  place-items: center;
  font-size: .86rem;
  font-weight: 800;
  display: grid;
}

.report-progress__stage strong {
  overflow-wrap: anywhere;
  min-width: 0;
}

.report-progress__stage--active {
  color: var(--foreground);
}

.report-progress__stage--active span, .report-progress__stage--done span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.report-progress__stage--done {
  color: var(--accent-strong);
}

.report-progress__status {
  color: var(--foreground);
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.report-disclaimer {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: .86rem;
  line-height: 1.55;
}

.legal-gate {
  border: 1px solid var(--border);
  color: var(--foreground);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}

.legal-gate p {
  color: var(--muted);
  margin: 0;
}

.legal-gate ul {
  gap: 10px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.legal-gate li {
  border: 1px solid var(--border);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px;
  display: flex;
}

.legal-gate a {
  color: var(--accent-strong);
  font-weight: 800;
}

.legal-gate span {
  color: var(--muted);
  font-size: .86rem;
}

.billing-plans {
  gap: 16px;
  display: grid;
}

.billing-management, .billing-plan {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px;
  display: flex;
}

.billing-management h3, .billing-plan h3 {
  color: var(--foreground);
  margin: 0;
  font-size: 1rem;
}

.billing-management p, .billing-plan p {
  color: var(--muted);
  margin: 6px 0 0;
}

.billing-management__notice {
  font-weight: 800;
}

.billing-plan__price {
  font-weight: 800;
  color: var(--foreground) !important;
}

.billing-plan__actions {
  flex: none;
  gap: 10px;
  display: flex;
}

.billing-plan button {
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 40px;
  font: inherit;
  text-transform: capitalize;
  border-radius: 8px;
  padding: 0 14px;
  font-size: .92rem;
  font-weight: 800;
}

.billing-management button {
  border: 1px solid var(--border);
  min-height: 40px;
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0 14px;
  font-size: .92rem;
  font-weight: 800;
}

.billing-management button:disabled, .billing-plan button:disabled {
  cursor: wait;
  opacity: .7;
}

.report-history {
  gap: 16px;
  display: grid;
}

.report-search-form {
  grid-template-columns: minmax(0, 360px) auto;
  justify-content: start;
  gap: 10px;
  display: grid;
}

.report-search-form input {
  border: 1px solid var(--border);
  width: 100%;
  min-height: 42px;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
}

.report-search-form button {
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  font: inherit;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 800;
}

.report-history__item {
  border: 1px solid var(--border);
  background: var(--background-report);
  border-radius: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  transition: box-shadow .18s, transform .18s;
  overflow: hidden;
  transform: translateY(0);
  box-shadow: 0 4px 10px #1717171f;
}

.report-history__item:hover, .report-history__item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 18px #17171752;
}

.report-history__item--static, .report-history__item--static:hover, .report-history__item--static:focus-within {
  box-shadow: none;
  transform: translateY(0);
}

.report-list__item {
  border: 1px solid var(--border);
  background: var(--background-report);
  border-radius: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  transition: box-shadow .18s, transform .18s;
  display: grid;
  position: relative;
  transform: translateY(0);
  box-shadow: 0 4px 10px #1717171f;
}

.report-list__item:hover, .report-list__item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 12px 18px #17171752;
}

.report-list__card-link {
  z-index: 1;
  border-radius: 8px;
  position: absolute;
  inset: 0;
}

.report-list__card-link:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #18746457;
}

@media (prefers-reduced-motion: reduce) {
  .user-assets-list li, .report-history__item, .report-list__item {
    transition: box-shadow .18s;
  }

  .user-assets-list li:hover, .user-assets-list li:focus-within, .report-history__item:hover, .report-history__item:focus-within, .report-list__item:hover, .report-list__item:focus-within {
    transform: translateY(0);
  }
}

.report-list__main {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.report-list__title {
  min-width: 0;
  color: inherit;
}

.report-list__title h3 {
  color: var(--foreground);
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.report-list__item:hover .report-list__title h3, .report-list__card-link:focus-visible ~ .report-list__main .report-list__title h3 {
  color: var(--accent-strong);
}

.report-list__actions {
  z-index: 2;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
  position: relative;
}

.report-list__open, .report-list__delete button {
  border: 1px solid var(--border);
  min-height: 38px;
  color: var(--accent-strong);
  cursor: pointer;
  font: inherit;
  opacity: .8;
  background: #fff;
  border-radius: 8px;
  align-items: center;
  padding: 0 12px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.report-list__delete {
  gap: 4px;
  display: grid;
}

.report-list__delete button {
  color: #b91c1c;
  border-color: #b91c1c;
}

.report-list__delete button:disabled {
  cursor: wait;
  opacity: .7;
}

.report-list__delete span {
  color: #b91c1c;
  font-size: .78rem;
}

.report-history__header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  font-weight: 900;
  display: flex;
}

.report-history__header > div {
  min-width: 0;
}

.report-history__meta {
  color: var(--muted);
  margin: 0 0 6px;
  font-size: .82rem;
  font-weight: 700;
}

.report-history h3 {
  color: var(--foreground);
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.report-history__status {
  background: var(--accent-soft);
  color: var(--accent-strong);
  text-transform: uppercase;
  border-radius: 999px;
  flex: none;
  padding: 7px 10px;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1;
}

.report-history__status.is-failed {
  color: #8a1f1f;
  background: #fff5f5;
}

.report-history__status.is-pending {
  color: #725c1d;
  background: #f3f0e8;
}

.report-history__context, .report-history__pending {
  color: var(--muted);
  overflow-wrap: anywhere;
  margin: 12px 0 0;
}

.admin-shell {
  grid-template-columns: var(--app-sidebar-width) minmax(0, 1fr);
  background: #f7faf9;
  min-height: 100vh;
  display: grid;
}

.admin-sidebar {
  border-right: 1px solid var(--border);
  background: #fff;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 24px;
  height: 100vh;
  padding: 28px 24px;
  display: grid;
  position: sticky;
  top: 0;
  overflow: hidden;
}

.admin-brand {
  color: var(--foreground);
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  display: flex;
}

.admin-brand img {
  -o-object-fit: contain;
  object-fit: contain;
  flex: none;
  width: auto;
  height: 4em;
}

.admin-brand span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.admin-user {
  color: var(--muted);
  gap: 6px;
  margin-top: 18px;
  font-size: .92rem;
  line-height: 1.35;
  display: grid;
}

.admin-nav {
  overscroll-behavior: contain;
  scrollbar-width: thin;
  align-content: start;
  gap: 8px;
  min-height: 0;
  padding-right: 4px;
  display: grid;
  overflow-y: auto;
}

.admin-nav a, .admin-sidebar__actions a, .admin-sidebar__actions button {
  min-height: 44px;
  color: var(--foreground);
  font: inherit;
  border: 1px solid #0000;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  font-size: .95rem;
  text-decoration: none;
  display: flex;
}

.admin-nav a:hover, .admin-sidebar__actions a:hover, .admin-sidebar__actions button:hover {
  border-color: var(--border);
  background: #f4f7f6;
}

.admin-sidebar__actions {
  border-top: 1px solid var(--border);
  gap: 8px;
  padding-top: 16px;
  display: grid;
}

.admin-sidebar__actions button {
  cursor: pointer;
  background: none;
  width: 100%;
}

.admin-main {
  grid-template-rows: auto 1fr;
  min-width: 0;
  display: grid;
}

.admin-topbar {
  border-bottom: 1px solid var(--border);
  background: #ffffffd1;
  padding: 28px 36px;
}

.admin-topbar h1 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.2;
}

.admin-content {
  padding: 36px;
}

.admin-section {
  width: 100%;
  min-width: 0;
  max-width: 980px;
}

.admin-section h2 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.2;
}

.admin-section__body {
  color: var(--muted);
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.7;
}

.admin-section__body--separated {
  margin-top: 24px;
}

.admin-section__list {
  padding-left: 20px;
}

.admin-notifications {
  margin-bottom: 32px;
}

.admin-notifications__list {
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
  display: grid;
}

.admin-notifications__item {
  color: #b91c1c;
  font-weight: 800;
  line-height: 1.5;
}

.admin-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  display: grid;
}

.admin-overview-item {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}

.admin-overview-item h3 {
  color: var(--foreground);
  margin: 0;
  font-size: 1rem;
}

.admin-overview-item p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.6;
}

.admin-settings-list {
  gap: 12px;
  margin-top: 24px;
  display: grid;
}

.admin-settings-list a {
  border: 1px solid var(--border);
  color: inherit;
  background: #fff;
  border-radius: 8px;
  gap: 6px;
  padding: 18px;
  text-decoration: none;
  display: grid;
}

.admin-settings-list a:hover {
  border-color: #0f172a38;
}

.admin-settings-list span {
  color: var(--foreground);
  font-weight: 900;
}

.admin-settings-list small {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.admin-scenario-form-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  gap: 18px;
  margin-top: 24px;
  padding: 18px;
  display: grid;
}

.scheduled-email-admin {
  gap: 20px;
  display: grid;
}

.scheduled-email-admin__list {
  gap: 16px;
  display: grid;
}

.scheduled-email-admin__language {
  align-items: center;
  gap: 12px;
  font-weight: 800;
  display: flex;
}

.scheduled-email-admin__language select {
  border: 1px solid var(--border);
  color: var(--foreground);
  font: inherit;
  border-radius: 8px;
  padding: 10px 12px;
}

.scheduled-email-admin__summary {
  justify-content: space-between;
  gap: 20px;
  display: flex;
}

.scheduled-email-admin__summary h3, .scheduled-email-admin__summary p {
  margin: 0;
}

.scheduled-email-admin__summary dl {
  gap: 16px;
  margin: 0;
  display: flex;
}

.scheduled-email-admin__summary dt {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

.scheduled-email-admin__summary dd {
  color: var(--foreground);
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
}

.scheduled-email-admin details {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.scheduled-email-admin summary {
  cursor: pointer;
  font-weight: 800;
}

.scheduled-email-admin__selected-translation {
  border-top: 1px solid var(--border);
  gap: 10px;
  padding-top: 14px;
  display: grid;
}

.scheduled-email-admin__selected-translation p {
  gap: 4px;
  margin: 0;
  display: grid;
}

.scheduled-email-admin__selected-translation span {
  color: var(--muted);
  white-space: pre-wrap;
}

.scheduled-email-admin__translations {
  gap: 14px;
  padding-top: 14px;
  display: grid;
}

.scheduled-email-admin__translations section {
  border: 1px solid var(--border);
  border-radius: 8px;
  gap: 8px;
  padding: 14px;
  display: grid;
}

.scheduled-email-admin__translations h4, .scheduled-email-admin__translations p {
  margin: 0;
}

.admin-scenario-record-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  gap: 14px;
  margin-top: 12px;
  padding: 18px;
  display: grid;
}

.admin-scenario-record-card__header {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  display: grid;
}

.admin-scenario-record-card__fields {
  gap: 12px;
  display: grid;
}

.admin-scenario-record-card__media-actions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.admin-scenario-record-card__flags {
  flex-direction: column;
  align-items: flex-start;
}

.admin-scenario-record-card__flags .admin-checkbox-cell {
  width: auto;
}

.admin-scenario-form .admin-settings-checkbox, .admin-scenario-record-card .admin-checkbox-cell {
  align-items: center;
}

.admin-scenario-form .admin-settings-checkbox input[type="checkbox"] {
  margin-top: 0;
}

.admin-scenario-record-card .admin-checkbox-cell {
  grid-template-columns: auto 1fr;
  gap: 8px;
  display: inline-grid;
}

.admin-scenario-record-card label {
  color: var(--foreground);
  gap: 8px;
  font-size: .9rem;
  font-weight: 800;
  display: grid;
}

.admin-scenario-record-card select {
  border: 1px solid var(--border);
  width: 100%;
  min-height: 44px;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
}

.admin-scenario-record-card__thumbnail {
  border: 1px solid var(--border);
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
  width: 78px;
  height: 44px;
  display: block;
}

.admin-scenario-record-card__thumbnail-button {
  color: var(--foreground);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

.admin-scenario-record-card__thumbnail-button--empty {
  border: 1px solid var(--border);
  width: min(148px, 42vw);
  min-height: 44px;
  font: inherit;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.15;
}

.admin-scenario-record-card__thumbnail-button:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #0e6f5c47;
}

.admin-scenario-image-update {
  gap: 6px;
  display: grid;
}

.admin-scenario-record-action {
  justify-items: start;
  gap: 8px;
  display: grid;
}

@media (max-width: 640px) {
  .admin-scenario-record-card__header {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}

.admin-scenario-form {
  max-width: 520px;
}

.admin-scenario-image-field {
  color: var(--foreground);
  gap: 8px;
  font-size: .9rem;
  font-weight: 800;
  display: grid;
}

.admin-scenario-image-preview {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  gap: 8px;
  width: min(180px, 100%);
  padding: 8px;
  display: grid;
  overflow: hidden;
}

.admin-scenario-image-preview span {
  color: var(--muted);
  font-size: .78rem;
}

.admin-scenario-image-preview img {
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 6px;
  width: 100%;
  display: block;
}

.admin-image-picker {
  z-index: 80;
  background: #0f172a85;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.admin-image-picker__panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  gap: 18px;
  width: min(860px, 94vw);
  max-height: 92vh;
  padding: 18px;
  display: grid;
  overflow: auto;
}

.admin-image-picker__header {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  display: flex;
}

.admin-image-picker__header h3 {
  color: var(--foreground);
  margin: 0;
  font-size: 1rem;
}

.admin-scenario-form .admin-image-picker__close {
  border: 1px solid var(--border);
  width: 38px;
  min-height: 38px;
  color: var(--foreground);
  cursor: pointer;
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0;
  font-weight: 900;
}

.admin-image-picker__grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  display: grid;
}

.admin-scenario-form .admin-image-picker__tile {
  cursor: pointer;
  background: none;
  border: 2px solid #0000;
  border-radius: 8px;
  width: 100%;
  min-height: auto;
  padding: 0;
  overflow: hidden;
}

.admin-scenario-form .admin-image-picker__tile--selected {
  border-color: var(--accent);
}

.admin-image-picker__tile img {
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  display: block;
}

.admin-image-picker__pagination {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.admin-scenario-form .admin-image-picker__pagination button, .admin-image-picker__pagination span {
  border: 1px solid var(--border);
  min-height: 38px;
  color: var(--foreground);
  background: #fff;
  border-radius: 8px;
  align-items: center;
  padding: 0 12px;
  font-size: .9rem;
  font-weight: 800;
  display: inline-flex;
}

.admin-scenario-form .admin-image-picker__pagination button {
  color: var(--accent-strong);
  cursor: pointer;
}

.admin-scenario-form .admin-image-picker__pagination button:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 1;
}

.admin-settings-form {
  gap: 18px;
  margin-top: 24px;
  display: grid;
}

.admin-settings-section {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  display: grid;
}

.admin-settings-section h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 1rem;
}

.admin-settings-subheading {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: .95rem;
}

.admin-database-management__info + .admin-database-management, .admin-database-management + .admin-database-management__orphaned {
  margin-top: 24px;
}

.admin-settings-full-width {
  grid-column: 1 / -1;
}

.admin-settings-section label {
  color: var(--muted);
  gap: 6px;
  font-size: .88rem;
  font-weight: 800;
  display: grid;
}

.admin-settings-checkbox {
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 12px !important;
  display: flex !important;
}

.admin-settings-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.admin-settings-checkbox--compact {
  align-items: center;
}

.admin-settings-checkbox--compact input[type="checkbox"] {
  margin-top: 0;
}

.admin-settings-checkbox span {
  gap: 4px;
  display: grid;
}

.admin-settings-checkbox small, .admin-settings-section label > small {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.45;
}

.admin-settings-section input, .admin-settings-section select, .admin-settings-section textarea {
  border: 1px solid var(--border);
  width: 100%;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
}

.admin-settings-section input, .admin-settings-section select {
  min-height: 42px;
  padding: 0 12px;
}

.admin-settings-section textarea {
  resize: vertical;
  min-height: 180px;
  padding: 12px;
}

.admin-settings-section input[type="color"] {
  max-width: 96px;
  padding: 4px;
}

.admin-logo-setting {
  grid-column: 1 / -1;
  gap: 10px;
  display: grid;
}

.admin-logo-setting > div {
  gap: 4px;
  display: grid;
}

.admin-logo-setting span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 800;
}

.admin-logo-setting small {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.45;
}

.admin-logo-setting__preview {
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: left center;
  object-position: left center;
  width: 128px;
  max-height: 64px;
}

.admin-logo-setting__action {
  cursor: pointer;
  width: fit-content;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  color: var(--accent) !important;
}

.admin-logo-setting__action:disabled {
  cursor: not-allowed;
  opacity: .7;
}

.admin-logo-setting__action input {
  display: none;
}

.admin-settings-test-email {
  align-self: end;
  gap: 8px;
  display: grid;
}

.admin-settings-test-email p {
  margin: 0;
}

.admin-settings-test-email button {
  width: fit-content;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
}

.admin-settings-test-email button:disabled {
  cursor: default;
  opacity: .72;
}

.admin-settings-transfer__actions, .admin-database-management__actions {
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px;
  display: flex;
}

.admin-settings-transfer__actions button, .admin-database-management__actions a, .admin-database-management__actions button {
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  font: inherit;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.admin-settings-transfer__actions button:disabled, .admin-database-management__actions button:disabled {
  cursor: default;
  opacity: .72;
}

.admin-settings-transfer .admin-settings-status, .admin-database-management .admin-settings-status, .admin-gallery-transfer .admin-settings-status {
  grid-column: 1 / -1;
}

.admin-database-management__table {
  grid-column: 1 / -1;
  margin-top: 0;
}

.admin-database-management__row-actions {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.admin-database-management__row-actions a, .admin-database-management__row-actions button {
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 800;
  text-decoration: underline;
}

.admin-database-management__row-actions button:disabled {
  cursor: default;
  opacity: .72;
}

.admin-settings-actions {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.admin-settings-actions--spaced {
  margin-top: 24px;
}

.admin-settings-actions a, .admin-settings-actions button {
  border: 1px solid var(--border);
  cursor: pointer;
  min-height: 42px;
  font: inherit;
  border-radius: 8px;
  justify-self: start;
  padding: 0 16px;
  font-weight: 800;
}

.admin-settings-actions a, .admin-action-link {
  appearance: none;
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  font: inherit;
  background: #fff;
  border-radius: 8px;
  justify-self: start;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.admin-settings-actions button {
  background: var(--accent);
  color: #fff;
}

.admin-settings-actions button:disabled, .admin-action-link:disabled {
  cursor: default;
  opacity: .72;
}

.report-export-actions__button {
  min-height: 42px;
}

.admin-settings-status {
  color: var(--accent-strong);
  margin: 0;
  font-weight: 800;
}

.admin-settings-status--error {
  color: #9a3412;
}

.admin-gallery-upload {
  gap: 16px;
  margin-top: 24px;
  display: grid;
}

.admin-gallery-upload h3 {
  color: var(--foreground);
  margin: 0;
  font-size: 1.05rem;
}

.admin-gallery-upload p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.6;
}

.admin-gallery-upload__dropzone {
  text-align: center;
  background: #fff;
  border: 1px dashed #0f172a52;
  border-radius: 8px;
  place-items: center;
  gap: 12px;
  min-height: 220px;
  padding: 28px;
  display: grid;
}

.admin-gallery-upload__dropzone--active {
  border-color: var(--accent);
  background: #0f766e14;
}

.admin-gallery-upload__dropzone p {
  max-width: 520px;
  color: var(--foreground);
  margin: 0;
  font-weight: 800;
}

.admin-gallery-upload__dropzone button {
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 44px;
  font: inherit;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
}

.admin-gallery-upload__dropzone button:disabled {
  cursor: default;
  opacity: .72;
}

.admin-gallery-upload__dropzone input {
  display: none;
}

.admin-gallery-upload__dropzone small {
  color: var(--muted);
  line-height: 1.5;
}

.gallery-images {
  gap: 18px;
  margin-top: 32px;
  display: grid;
}

.gallery-images h3 {
  color: var(--foreground);
  margin: 0;
  font-size: 1.05rem;
}

.gallery-images p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.6;
}

.gallery-images__grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  display: grid;
}

.gallery-images__tile {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.gallery-images__preview-button {
  cursor: pointer;
  background: none;
  border: 0;
  width: 100%;
  padding: 0;
  display: block;
}

.gallery-images__tile img {
  aspect-ratio: 16 / 9;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
  display: block;
}

.gallery-images__tile div {
  gap: 4px;
  padding: 10px;
  display: grid;
}

.gallery-images__tile span {
  color: var(--foreground);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 800;
  overflow: hidden;
}

.gallery-images__tile small {
  color: var(--muted);
  font-size: .78rem;
}

.gallery-images__meta-row {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.gallery-images__delete {
  color: #9a3412;
  cursor: pointer;
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  font-size: .78rem;
  font-weight: 800;
  text-decoration: underline;
}

.gallery-images__delete:disabled {
  cursor: default;
  opacity: .6;
}

.gallery-preview {
  z-index: 80;
  background: #000000b8;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
}

.gallery-preview__panel {
  background: #fff;
  border: 4px solid #000;
  width: min(1180px, 94vw);
  max-height: 92vh;
  padding: 32px;
  position: relative;
  overflow: auto;
}

.gallery-preview__image {
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 72px);
}

.gallery-preview__close {
  color: #000;
  cursor: pointer;
  width: 36px;
  height: 36px;
  font: inherit;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  top: 8px;
  right: 8px;
}

.admin-filter-form {
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)) auto auto;
  gap: 10px;
  margin-top: 24px;
  display: grid;
}

.admin-filter-form--review .admin-filter-checkbox {
  grid-area: 2 / 1 / auto / -1;
}

.admin-filter-form--compact {
  grid-template-columns: minmax(0, 360px) auto;
  justify-content: start;
}

.admin-filter-form--stacked {
  grid-template-columns: minmax(0, 360px);
}

.admin-filter-form > *, .admin-user-form > *, .admin-user-form__fields > *, .admin-settings-form > *, .admin-settings-section > *, .admin-detail-panel > * {
  min-width: 0;
}

.admin-filter-form input, .admin-filter-form select, .admin-user-form input, .admin-user-form select, .admin-user-form textarea, .admin-user-form__fields textarea {
  border: 1px solid var(--border);
  width: 100%;
  min-height: 42px;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0 12px;
}

.admin-filter-checkbox {
  min-height: 42px;
  color: var(--foreground);
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  display: inline-flex;
}

.admin-filter-checkbox input {
  width: 18px;
  min-height: 18px;
  padding: 0;
}

.admin-user-form textarea, .admin-user-form__fields textarea {
  resize: vertical;
  min-height: 160px;
  padding: 12px;
}

.admin-filter-form button, .admin-user-form button, .admin-ip-blacklist-toolbar button, .scheduled-email-admin__language button {
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 42px;
  font: inherit;
  border-radius: 8px;
  padding: 0 14px;
  font-weight: 800;
}

.admin-user-form button.admin-action-link, .admin-user-form__actions button.admin-action-link {
  color: var(--foreground);
  background: #fff;
  width: fit-content;
  padding: 0 16px;
}

.admin-table-wrap {
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin-top: 20px;
  overflow-x: auto;
}

.admin-table {
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  width: 100%;
  min-width: 720px;
  overflow: hidden;
}

.admin-table th, .admin-table td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
  padding: 13px 14px;
}

.admin-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
}

.admin-table td {
  color: var(--foreground);
  font-size: .92rem;
}

.admin-table td span {
  color: var(--muted);
  margin-top: 4px;
  font-size: .84rem;
  display: block;
}

.admin-code {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.admin-code--block {
  max-width: 100%;
  display: block;
}

.admin-audit-logs-table {
  table-layout: fixed;
}

.admin-audit-logs-table th:first-child, .admin-audit-logs-table td:first-child, .admin-audit-logs-table th:nth-child(2), .admin-audit-logs-table td:nth-child(2), .admin-audit-logs-table th:nth-child(3), .admin-audit-logs-table td:nth-child(3) {
  width: 18%;
}

.admin-audit-logs-table th:nth-child(4), .admin-audit-logs-table td:nth-child(4) {
  width: 20%;
}

.admin-checkbox-cell {
  color: var(--foreground);
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 700;
  display: inline-grid;
}

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

.admin-checkbox-cell__error {
  color: #b91c1c;
  grid-column: 1 / -1;
  margin: 0;
  font-size: .78rem;
}

.admin-table a {
  color: var(--accent-strong);
  font-weight: 800;
}

.pagination-controls {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  display: flex;
}

.pagination-controls a, .pagination-controls span, .pagination-controls strong {
  border: 1px solid var(--border);
  min-height: 38px;
  color: var(--foreground);
  background: #fff;
  border-radius: 8px;
  align-items: center;
  padding: 0 12px;
  font-size: .9rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.pagination-controls a {
  color: var(--accent-strong);
}

.pagination-controls span {
  color: var(--muted);
}

.admin-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
  margin-top: 24px;
  display: grid;
}

.admin-detail-panel {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}

.admin-detail-panel h3 {
  color: var(--foreground);
  margin: 0 0 14px;
  font-size: 1rem;
}

.admin-detail-panel--wide {
  grid-column: 1 / -1;
}

.admin-detail-panel p {
  color: var(--muted);
  margin: 0 0 12px;
  line-height: 1.6;
}

.admin-detail-panel p:last-child {
  margin-bottom: 0;
}

.admin-detail-panel pre {
  color: var(--foreground);
  white-space: pre-wrap;
  margin: 18px 0 0;
  font-family: inherit;
  font-size: .92rem;
  line-height: 1.65;
}

.admin-user-form {
  gap: 14px;
  min-width: 0;
  display: grid;
}

.admin-user-form__fields {
  gap: 14px;
  display: grid;
}

.admin-user-form label, .admin-user-form__fields label {
  color: var(--foreground);
  gap: 8px;
  font-size: .9rem;
  font-weight: 800;
  display: grid;
}

.admin-user-form__actions {
  flex-wrap: wrap;
  gap: 10px;
  display: flex;
}

.admin-user-form button, .admin-user-form__actions button, .admin-ip-blacklist-toolbar button {
  width: fit-content;
}

.admin-danger-button, .admin-user-form .admin-danger-button {
  color: #fff;
  background: #b91c1c;
  border-color: #b91c1c;
}

.app-delete-button, .admin-user-form button.app-delete-button, .admin-logo-setting__action.app-delete-button, .admin-database-management__row-actions button.app-delete-button {
  border: 1px solid var(--border);
  cursor: pointer;
  width: 42px;
  min-width: 42px;
  max-width: 42px;
  min-height: 42px;
  font: inherit;
  opacity: .8;
  background: #fff;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  padding: 0;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  color: var(--accent-strong) !important;
}

.app-delete-button:disabled, .admin-user-form button.app-delete-button:disabled, .admin-logo-setting__action.app-delete-button:disabled, .admin-database-management__row-actions button.app-delete-button:disabled {
  cursor: wait;
  opacity: .5;
}

.app-delete-button__icon {
  width: 1em;
  height: 1em;
  display: block;
}

.admin-user-form .admin-link-button {
  width: fit-content;
  min-height: auto;
  color: var(--accent-strong);
  background: none;
  border: 0;
  padding: 0;
  font-weight: 800;
  text-decoration: underline;
}

.admin-ip-blacklist-form {
  margin-top: 24px;
}

.admin-ip-blacklist-toolbar {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 14px;
  display: flex;
}

.admin-ip-blacklist-action {
  gap: 6px;
  display: grid;
}

.admin-form-note, .admin-form-error {
  margin: 0;
  font-size: .9rem;
}

.admin-form-note {
  color: var(--accent-strong);
}

.admin-form-error {
  color: #8a1f1f;
}

.admin-report-delete {
  gap: 6px;
  display: grid;
}

.admin-description-list {
  gap: 12px;
  margin: 0;
  display: grid;
}

.admin-description-list div {
  gap: 4px;
  display: grid;
}

.admin-description-list dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 800;
}

.admin-description-list dd {
  color: var(--foreground);
  overflow-wrap: anywhere;
  margin: 0;
}

.admin-description-list--compact {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 12px;
}

.admin-description-list--compact dd {
  gap: 8px;
  display: grid;
}

.admin-description-list--inline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-timestamps-action {
  justify-items: start;
  gap: 8px;
  margin-top: 16px;
  display: grid;
}

.server-stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  display: grid;
}

.server-stat-card {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 18px;
}

.server-stat-card h3 {
  color: var(--foreground);
  margin: 0 0 10px;
  font-size: .98rem;
}

.server-stat-card p {
  color: var(--accent-strong);
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
}

.server-stat-card dl {
  gap: 10px;
  margin: 0;
  display: grid;
}

.server-stat-card div {
  gap: 3px;
  display: grid;
}

.server-stat-card dt {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .74rem;
  font-weight: 800;
}

.server-stat-card dd {
  color: var(--foreground);
  overflow-wrap: anywhere;
  margin: 0;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .dashboard-shell, .admin-shell {
    grid-template-columns: 1fr;
  }

  .app-menu-button {
    z-index: 50;
    color: #eaf2f0;
    width: 44px;
    height: 44px;
    box-shadow: none;
    background: none;
    border-color: #ffffff1f;
    display: flex;
    position: fixed;
    top: 3px;
    right: 14px;
  }

  .app-mobile-brand {
    z-index: 45;
    color: #fff;
    background: #101716;
    border-bottom: 1px solid #ffffff1f;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding: 0 72px 0 16px;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .app-mobile-brand img {
    -o-object-fit: contain;
    object-fit: contain;
    flex: none;
    width: auto;
    max-width: 34px;
    height: 34px;
  }

  .app-mobile-brand span {
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    font-weight: 800;
    overflow: hidden;
  }

  .dashboard-brand, .admin-brand {
    display: none;
  }

  .dashboard-sidebar, .admin-sidebar {
    z-index: 40;
    width: min(var(--app-sidebar-width), calc(100vw - 72px));
    max-width: 100%;
    height: calc(100vh - 50px);
    padding: 20px;
    transition: transform .18s;
    position: fixed;
    top: 50px;
    left: 0;
    transform: translateX(-100%);
    box-shadow: 24px 0 48px #0a100f33;
  }

  .app-menu-toggle:checked ~ .dashboard-sidebar, .app-menu-toggle:checked ~ .admin-sidebar {
    transform: translateX(0);
  }

  .dashboard-topbar, .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 74px 20px 24px;
  }

  .usage-summary {
    width: 100%;
    max-width: none;
  }

  .dashboard-content, .admin-content {
    padding: 24px 20px;
  }

  .report-form__grid {
    grid-template-columns: 1fr;
  }

  .report-list__item, .report-list__main {
    display: grid;
  }

  .report-list__actions {
    justify-content: flex-start;
  }

  .report-history__header {
    display: grid;
  }

  .legal-gate li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .billing-management, .billing-plan {
    flex-direction: column;
    align-items: flex-start;
  }

  .billing-plan__actions {
    width: 100%;
  }

  .billing-plan button {
    flex: 1 1 0;
  }

  .admin-overview-grid, .admin-filter-form, .admin-detail-grid, .admin-settings-section, .admin-description-list--inline, .server-stats-grid, .admin-filter-form--compact {
    grid-template-columns: 1fr;
  }

  .admin-filter-form button, .admin-user-form button, .admin-ip-blacklist-toolbar button {
    width: 100%;
  }

  .admin-table {
    background: none;
    border: 0;
    min-width: 0;
  }

  .admin-table-wrap {
    overflow-x: visible;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
    width: 100%;
    display: block;
  }

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

  .admin-table tr {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
  }

  .admin-table td {
    border-bottom: 1px solid var(--border);
    grid-template-columns: minmax(112px, .42fr) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px;
    display: grid;
  }

  .admin-table td:last-child {
    border-bottom: 0;
  }

  .admin-table td:before {
    content: attr(data-label);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.35;
  }

  .admin-table td > * {
    min-width: 0;
  }

  .legal-page {
    padding: 52px 0;
  }

  .legal-page h1 {
    font-size: 2.6rem;
  }

  .legal-link-grid {
    grid-template-columns: 1fr;
  }
}

:root {
  --background: #eef3f1;
  --foreground: #111817;
  --muted: #5d6866;
  --panel: #fff;
  --border: #cfdad6;
  --accent: #0f766e;
  --accent-strong: #0a4f49;
  --accent-soft: #d9eeea;
  --ink: #0b1117;
  --amber: #d8a528;
  --coral: #d96a54;
  --site-header-background: #101716;
  --site-header-foreground: #eaf2f0;
  --public-card-background: #ffffffeb;
  --public-background-highlight: #f8fbfa;
  --app-gradient-background: linear-gradient(145deg, var(--accent-soft) 0%, transparent 72%),
    linear-gradient(215deg, #d8a5285c 0%, transparent 58%),
    linear-gradient(205deg, #ffffff94 0%, transparent 44%),
    linear-gradient(180deg,
      var(--background) 0%,
      var(--public-background-highlight) 48%,
      var(--background) 100%),
    var(--background);
  --shadow-soft: 0 24px 80px #09171f24;
}

body {
  background: linear-gradient(180deg, #ffffff9e, #eef3f100),
    var(--background);
}

.public-site, .dashboard-content, .admin-content {
  background: var(--app-gradient-background);
}

.site-header {
  z-index: 20;
  background: var(--site-header-background);
  color: var(--site-header-foreground);
  border-bottom: 1px solid #ffffff1f;
  position: sticky;
  top: 0;
}

.brand {
  color: #eaf2f0;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  display: flex;
}

.brand img {
  -o-object-fit: contain;
  object-fit: contain;
  flex: none;
  width: auto;
  height: 4em;
}

.brand span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.site-nav {
  align-items: center;
  gap: 16px;
  display: flex;
}

.site-nav a, .site-nav__auth {
  color: #dce7e4;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav form {
  margin: 0;
}

.site-nav__auth {
  appearance: none;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
}

.site-nav a:hover, .site-nav__auth:hover {
  color: #fff;
}

.site-menu-button {
  background: var(--site-header-background);
  color: #eaf2f0;
  border-color: #ffffff1f;
}

.public-language-selector {
  align-items: center;
  display: flex;
}

.public-language-selector span {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

.public-language-selector select {
  background: var(--site-header-background);
  color: #dce7e4;
  cursor: pointer;
  min-height: 38px;
  font: inherit;
  border: 1px solid #ffffff1f;
  border-radius: 8px;
  padding: 0 34px 0 12px;
  font-size: .92rem;
  font-weight: 800;
}

.hero {
  aspect-ratio: 16 / 9;
  background: var(--site-header-background);
  border-bottom: 1rem solid var(--site-header-background);
  width: 100%;
  color: var(--site-header-foreground);
  align-items: end;
  padding: 0;
  display: grid;
  position: relative;
  overflow: hidden;
}

.hero > p {
  z-index: 1;
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
  padding: 24px 0;
  font-weight: 800;
  position: relative;
}

.hero-slideshow, .hero-slideshow__picture {
  position: absolute;
  inset: 0;
}

.hero-slideshow {
  overflow: hidden;
}

.hero-slideshow__picture {
  opacity: 0;
  transition: opacity 1s;
  display: block;
}

.hero-slideshow__picture--active {
  opacity: 1;
}

.hero-slideshow__image {
  filter: brightness(.5);
  width: 100%;
  height: auto;
  transition: filter 8s, transform 8s;
  display: block;
  transform: scale(1);
}

.hero-slideshow__picture--active .hero-slideshow__image {
  filter: brightness(.9);
  transform: scale(1.06);
}

.hero-slideshow__overlay {
  z-index: 1;
  width: 70%;
  color: var(--site-header-foreground);
  box-sizing: border-box;
  opacity: 0;
  text-shadow: 0 6px 22px #000, 0 3px 10px #000000fa, 0 1px 3px #000;
  margin: 0;
  padding: 0;
  font-weight: 800;
  line-height: 1.2;
  transition: opacity .6s, transform .6s;
  position: absolute;
  transform: translateY(8px);
}

.hero-slideshow__scenario {
  font-size: clamp(2rem, 4.8vw, 5.25rem);
  top: clamp(16px, 3vw, 40px);
  left: clamp(16px, 3vw, 40px);
}

.hero-slideshow__consequence {
  text-align: right;
  font-size: clamp(2rem, 4.8vw, 5.25rem);
  bottom: clamp(16px, 3vw, 40px);
  right: clamp(16px, 3vw, 40px);
}

.hero-slideshow__picture--active .hero-slideshow__overlay {
  opacity: 1;
  transform: translateY(0);
}

.hero-slideshow__picture--active .hero-slideshow__scenario {
  transition-delay: 1s;
}

.hero-slideshow__picture--active .hero-slideshow__consequence {
  transition-delay: 2s;
}

@media (max-width: 499px) {
  .hero-slideshow__scenario, .hero-slideshow__consequence {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .hero {
    aspect-ratio: 3;
  }
}

.public-punchline-section {
  color: var(--site-header-background);
  text-align: left;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: clamp(32px, 6vw, 72px) 24px;
  display: flex;
}

.public-punchline-section__logo {
  flex: none;
  width: clamp(40px, 5vw, 56px);
  height: clamp(40px, 5vw, 56px);
}

.public-punchline-section__copy {
  gap: 12px;
  max-width: min(960px, 100%);
  display: grid;
}

.public-punchline-section p {
  margin: 0;
}

.public-punchline-section__title {
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.public-punchline-section__body {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.55;
}

.public-home-metrics {
  border-top: 2px solid color-mix(in srgb, var(--border) 72%, transparent);
  gap: 18px;
  margin-top: 16px;
  padding-top: 24px;
  display: grid;
}

.public-home-metrics__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.public-home-metrics__item {
  gap: 8px;
  min-width: 0;
  display: grid;
}

.public-home-metrics__item dt {
  color: var(--muted);
  margin: 0;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.3;
}

.public-home-metrics__item dd {
  color: var(--site-header-background);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 2.625rem;
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 900px) {
  .public-home-metrics {
    margin-top: 24px;
    padding-top: 28px;
  }

  .public-home-metrics__item dd {
    font-size: 3.5rem;
  }
}

@media (max-width: 720px) {
  .public-home-metrics__list {
    grid-template-columns: 1fr;
  }
}

.public-explaination-section {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  width: min(1120px, 100% - 48px);
  margin: 0 auto;
  padding: 0 0 clamp(48px, 7vw, 88px);
  display: grid;
}

.public-explaination-card {
  border: 3px solid var(--border);
  background: var(--public-card-background);
  border-radius: 8px;
  align-content: start;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  scroll-margin-top: 112px;
  display: grid;
}

.public-explaination-card h2 {
  color: var(--site-header-background);
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.15;
}

.public-explaination-card p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

.public-explaination-steps {
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.public-explaination-steps li {
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.public-explaination-steps span {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  flex: 0 0 32px;
  place-items: center;
  width: 32px;
  height: 32px;
  font-size: .86rem;
  font-weight: 800;
  display: grid;
}

.public-explaination-steps p {
  padding-top: 2px;
}

.public-explaination-steps strong {
  color: var(--foreground);
  font-weight: 800;
}

.public-historic-section {
  width: 100%;
  padding: 0 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}

.public-historic-carousel {
  width: 100%;
  overflow: hidden;
}

.public-historic-carousel__track {
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding: 0 16px;
  animation: 46s linear infinite public-historic-carousel-slide;
  display: flex;
}

.public-historic-carousel:hover .public-historic-carousel__track {
  animation-play-state: paused;
}

.public-historic-card {
  background: var(--accent-strong);
  color: #fff;
  border-radius: 8px;
  flex: none;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: clamp(248px, 100vw - 32px, 500px);
  height: clamp(156px, 15vw, 190px);
  padding: 16px;
  display: grid;
}

.public-historic-card__thumbnail {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
  width: 72px;
  height: 72px;
  display: block;
}

.public-historic-card__copy {
  gap: 8px;
  min-width: 0;
  display: grid;
}

.public-historic-card__scenario, .public-historic-card__consequence {
  -webkit-box-orient: vertical;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
}

.public-historic-card__scenario {
  -webkit-line-clamp: 2;
  font-size: clamp(.98rem, 1.3vw, 1.18rem);
  font-weight: 900;
  line-height: 1.25;
}

.public-historic-card__consequence {
  color: #ffffffd6;
  -webkit-line-clamp: 3;
  font-size: clamp(.9rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.35;
}

@keyframes public-historic-carousel-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@keyframes report-placeholder-cursor-blink {
  0%, 45% {
    opacity: 1;
  }

  46%, 100% {
    opacity: 0;
  }
}

.public-halfpager-section {
  padding-top: 0;
}

.hero__media, .hero__overlay {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  background: linear-gradient(90deg, #070d12ed, #070d12ad 48%, #070d1238), linear-gradient(#070d1205, #070d12b8);
}

.hero__content {
  z-index: 1;
  gap: 46px;
  width: min(1120px, 100% - 32px);
  max-width: none;
  margin: 0 auto;
  padding: 96px 0 54px;
  display: grid;
  position: relative;
}

.hero .eyebrow, .public-section .eyebrow {
  color: #56d6c5;
  letter-spacing: .08em;
  margin: 0 0 14px;
}

.hero h1 {
  color: #f7fbf8;
  max-width: 780px;
  font-size: clamp(3.4rem, 9vw, 7.8rem);
  line-height: .9;
}

.hero__copy {
  color: #d6e2df;
  max-width: 680px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.6;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  display: flex;
}

.button-link, .public-login button, .report-submit {
  min-height: 46px;
  font: inherit;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  font-size: .94rem;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
}

.button-link {
  padding: 0 18px;
}

.button-link--primary, .public-login button, .report-submit {
  background: var(--accent);
  color: #fff;
  border: 1px solid #0000;
}

.button-link--secondary {
  color: #fff;
  background: #ffffff14;
  border: 1px solid #ffffff5c;
}

.public-section {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
  padding: 76px 0;
}

.public-section h1, .public-section h2 {
  max-width: 760px;
  color: var(--foreground);
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.public-section--standalone {
  flex: 1;
  padding-top: 96px;
}

.section-heading {
  margin-bottom: 28px;
}

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

.pricing-card, .public-login, .auth-panel {
  background: var(--public-card-background);
  border: 3px solid #cfdad6f0;
  border-radius: 8px;
  box-shadow: 0 14px 40px #0e242b12;
}

.pricing-card {
  min-height: 240px;
  padding: 24px;
  transition: box-shadow .18s, transform .18s;
  transform: translateY(0);
}

.pricing-card:hover, .pricing-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px #0e242b2e;
}

.pricing-card h3 {
  color: var(--foreground);
  margin: 18px 0 0;
  font-size: 1.2rem;
}

.pricing-card p, .public-section--login p, .public-section--signup p {
  color: var(--muted);
  line-height: 1.65;
}

.pricing-card {
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  display: grid;
}

.pricing-card h3, .pricing-card p {
  margin: 0;
}

.pricing-card__top, .pricing-card__middle, .pricing-card__bottom {
  display: grid;
}

.pricing-card__top {
  gap: 12px;
}

.pricing-card__middle {
  align-content: start;
}

.pricing-card__bottom {
  align-content: end;
}

.pricing-card__price {
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
  color: var(--foreground) !important;
}

.pricing-card strong {
  color: var(--accent-strong);
  line-height: 1.4;
}

.pricing-card__limits {
  color: var(--accent-strong);
  gap: 8px;
  margin: 0;
  padding: 0;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
  display: grid;
}

.pricing-card__limits li:before {
  color: var(--amber);
  content: "- ";
}

.pricing-card__select {
  border: 1px solid var(--accent-strong);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 44px;
  font: inherit;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
}

.pricing-card__select:hover {
  background: var(--accent-strong);
}

.pricing-card__select:disabled {
  border-color: var(--border);
  color: var(--muted);
  cursor: default;
  background: #e8efed;
}

.pricing-card__select:disabled:hover {
  background: #e8efed;
}

.pricing-card.is-featured {
  background: #f8fffd;
  border-color: #0f766e85;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-card {
    transition: box-shadow .18s;
  }

  .pricing-card:hover, .pricing-card:focus-within {
    transform: translateY(0);
  }
}

.public-section--login, .public-section--signup {
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  align-items: center;
  gap: 28px;
  display: grid;
}

.public-section--signup {
  border: 5px solid var(--accent);
  border-radius: 32px;
  margin: clamp(72px, 9vw, 128px) auto;
  padding: clamp(32px, 5vw, 64px) clamp(18px, 4vw, 40px);
  scroll-margin-top: 112px;
}

.public-section--login > *, .public-section--signup > * {
  min-width: 0;
}

.public-section--signin-page {
  flex: 1;
}

.public-section--login h1, .public-section--login h2, .public-section--signup h1, .public-section--signup h2 {
  max-width: 560px;
}

.public-login {
  gap: 10px;
  min-width: 0;
  padding: 24px;
  display: grid;
}

.public-login label {
  color: var(--foreground);
  font-size: .9rem;
  font-weight: 900;
}

.public-login__row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  display: grid;
}

.public-login--stacked {
  gap: 12px;
}

.public-login input {
  border: 1px solid var(--border);
  width: 100%;
  min-height: 46px;
  color: var(--foreground);
  font: inherit;
  background: #fff;
  border-radius: 8px;
  padding: 0 13px;
}

.public-login__turnstile {
  max-width: 100%;
  min-height: 65px;
  overflow: hidden;
}

.public-login button {
  cursor: pointer;
  padding: 0 16px;
}

.public-login--stacked button {
  justify-self: start;
  min-height: 46px;
}

.public-login__message {
  color: var(--accent-strong);
  margin: 2px 0 0;
  font-size: .9rem;
  line-height: 1.45;
}

.public-login__message--error {
  color: #9d2d21;
}

.site-footer {
  color: #d7e1df;
  background: #101716;
}

.site-footer, .site-footer a {
  border-color: #ffffff1f;
}

.site-footer {
  gap: 12px;
  padding: 22px 0;
  display: grid;
}

.site-footer__brand, .site-footer nav {
  width: min(1120px, 100% - 32px);
  margin: 0 auto;
}

.site-footer__brand {
  color: #fff;
  justify-content: space-between;
  gap: 18px;
  display: flex;
}

.site-footer__copy {
  text-align: right;
  gap: 4px;
  display: grid;
}

.site-footer__owner {
  display: block;
}

.site-footer__owner a {
  font: inherit;
}

.site-footer__brand span, .site-footer a {
  color: #b8c7c4;
}

.auth-page {
  background: linear-gradient(135deg, #0f766e29, #d8a5281f),
    var(--background);
  place-items: center;
  min-height: 100vh;
  padding: 32px;
  display: grid;
}

.auth-panel {
  width: min(560px, 100%);
  padding: 34px;
}

.auth-panel h1 {
  color: var(--foreground);
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
}

.auth-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.auth-panel form {
  margin-top: 20px;
}

.auth-panel button {
  border: 1px solid var(--border);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  min-height: 44px;
  font: inherit;
  border-radius: 8px;
  padding: 0 16px;
  font-weight: 900;
}

.dashboard-shell, .admin-shell {
  background: linear-gradient(135deg, #0f766e14, #d8a5280f), #f4f7f6;
}

.dashboard-sidebar, .admin-sidebar {
  color: #eaf2f0;
  background: #101716;
}

.dashboard-brand, .admin-brand {
  color: #fff;
}

.dashboard-user, .admin-user {
  color: #aebfbc;
}

.dashboard-sidebar__actions, .admin-sidebar__actions {
  border-color: #ffffff1f;
}

.dashboard-nav a, .dashboard-logout, .admin-nav a, .admin-sidebar__actions a, .admin-sidebar__actions button {
  color: #dce7e4;
}

.dashboard-nav a:hover, .dashboard-logout:hover, .admin-nav a:hover, .admin-sidebar__actions a:hover, .admin-sidebar__actions button:hover {
  background: #ffffff14;
  border-color: #ffffff1f;
}

.dashboard-nav a[href="/dashboard/new-report"] {
  border-color: #ffffff1f;
}

.dashboard-topbar, .admin-topbar {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffffe0;
}

.dashboard-topbar h1, .dashboard-section h2, .admin-topbar h1, .admin-section h2 {
  color: var(--foreground);
}

.dashboard-section, .admin-section {
  max-width: 1040px;
}

.dashboard-section__body {
  gap: 22px;
  display: grid;
}

.dashboard-section__body > p:first-child {
  max-width: 720px;
  margin: 0;
}

.report-form, .report-progress, .legal-gate, .report-result, .billing-management, .billing-plan, .report-history__item {
  border-color: #cfdad6eb;
  box-shadow: 0 12px 36px #0e242b0f;
}

.report-form {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 22px;
}

.report-form__footer {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
}

.report-form__footer p {
  max-width: 560px;
  color: var(--muted);
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    height: 64px;
    padding: 0;
    position: relative;
  }

  .site-menu-button {
    margin-left: auto;
    display: flex;
  }

  .site-nav {
    background: var(--site-header-background);
    border: 1px solid #ffffff1f;
    border-radius: 8px;
    width: min(260px, 100vw - 32px);
    padding: 8px;
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    box-shadow: 0 18px 44px #0a100f29;
  }

  .site-menu-toggle:checked ~ .site-nav {
    display: grid;
  }

  .site-nav a, .site-nav__auth {
    border-radius: 8px;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    display: flex;
  }

  .site-nav a:hover, .site-nav__auth:hover {
    background: #ffffff14;
  }

  .public-language-selector {
    width: 100%;
  }

  .public-language-selector select {
    width: 100%;
    min-height: 44px;
  }

  .hero__overlay {
    background: linear-gradient(#070d12e0, #070d12b8);
  }

  .pricing-grid, .public-section--login, .public-section--signup {
    grid-template-columns: 1fr;
  }

  .public-login__row, .report-form__footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .report-form__actions {
    justify-content: flex-start;
  }

  .site-footer__brand {
    flex-direction: column;
  }

  .site-footer__copy {
    text-align: left;
  }

  .user-assets-form {
    grid-template-columns: 1fr;
  }

  .user-assets-form button, .user-assets-list button {
    width: fit-content;
  }

  .user-assets-list button.app-delete-button {
    width: 42px;
  }

  .user-assets-list li {
    flex-direction: column;
    align-items: stretch;
  }
}

/*# sourceMappingURL=src_app_globals_0p2ml0n.css.map*/