/* trAider / Current — shared design system */
:root {
  --bg: #0b1114;
  --card: #121c21;
  --field: #19262c;
  --line: #26363e;
  --text: #edf5f5;
  --muted: #90a6ae;
  --accent: #63e3ca;
  --accent-ink: #06251f;
  --positive: #50d6aa;
  --negative: #f58691;
  --warning: #eabd75;
  --trade-ink: #06251f;
  --shadow: 0 16px 48px #0000001f;
  --radius: 16px;
  --sidebar-width: 236px;
  --accent-soft: #63e3ca10;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f3f7f7;
  --card: #ffffff;
  --field: #edf3f4;
  --line: #dce6e8;
  --text: #112a32;
  --muted: #607a83;
  --accent: #0c806f;
  --accent-ink: #ffffff;
  --positive: #087d61;
  --negative: #c83f57;
  --warning: #a26610;
  --trade-ink: #ffffff;
  --shadow: 0 16px 48px #173e4810;
  --accent-soft: #0c806f0c;
  /* "only": a phone browser in dark mode otherwise darkens this light theme on its
     own - the page turns dark but canvas charts keep their light colours, leaving
     white cards and bright grid lines on a dark page. */
  color-scheme: only light;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
body,
button,
input,
select,
textarea {
  font-family:
    Manrope,
    system-ui,
    -apple-system,
    sans-serif;
}
* {
  box-sizing: border-box;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
a,
button {
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a:hover {
  color: var(--accent);
}
[hidden] {
  display: none !important;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ui-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lime {
  color: var(--accent);
}
.muted {
  color: var(--muted);
}
.mono {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.small,
small {
  font-size: 13px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--muted);
}
h1,
h2,
h3 {
  color: var(--text);
}
h1 {
  font-size: clamp(32px, 3.3vw, 48px);
  letter-spacing: -0.045em;
  font-weight: 650;
  line-height: 1.12;
}
h2 {
  font-size: 25px;
  letter-spacing: -0.035em;
  font-weight: 650;
}
h3 {
  letter-spacing: -0.025em;
}
.lead {
  font-size: 17px;
  line-height: 1.75;
}
.button {
  gap: 12px;
  border-radius: 9px;
  min-height: 46px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 650;
  border: 1px solid transparent;
  box-shadow: none;
}
.button:hover {
  filter: none;
  transform: translateY(-1px);
}
.primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.primary:hover {
  background: color-mix(in srgb, var(--accent) 87%, white);
  color: var(--accent-ink);
}
.secondary {
  background: var(--card);
  border-color: var(--line);
  color: var(--text);
}
.secondary:hover {
  border-color: var(--muted);
  color: var(--text);
  background: var(--field);
}
.danger {
  color: var(--negative);
  border-color: color-mix(in srgb, var(--negative) 40%, transparent);
  background: transparent;
}
.icon-button {
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  width: 40px;
  height: 40px;
}
.icon-button:hover {
  background: var(--field);
  color: var(--text);
}
.text-button {
  color: var(--muted);
  font-size: 14px;
}
.text-button:hover {
  color: var(--accent);
}
.theme-moon {
  display: none;
}
:root[data-theme="light"] .theme-moon {
  display: block;
}
:root[data-theme="light"] .theme-sun {
  display: none;
}
.wordmark {
  font-size: 27px;
  letter-spacing: -1.5px;
  font-weight: 800;
  display: inline-flex;
  gap: 0;
  align-items: center;
  line-height: 1;
}
.release-stage-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  margin-left: 10px;
  padding: 4px 6px 3px;
  border: 1px solid color-mix(in srgb, var(--positive) 58%, var(--line));
  border-radius: 5px;
  background: color-mix(in srgb, var(--positive) 12%, transparent);
  color: var(--positive);
  font: 700 9px/1 Consolas, monospace;
  letter-spacing: .9px;
}
.wordmark:hover {
  color: var(--text);
}
.wordmark-period {
  color: var(--accent);
}
.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 35px;
  height: 35px;
  margin-right: 11px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 9px;
  font-size: 31px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  padding-bottom: 4px;
  padding-right: 10px;
}
.brand-emblem > span {
  font-size: 22px;
  font-style: normal;
  position: absolute;
  right: 1px;
  top: 6px;
}
.header {
  height: 84px;
  min-height: 84px;
  max-width: 1440px;
  padding: 18px 44px;
  gap: 36px;
  border-bottom: 1px solid var(--line);
  flex-wrap: nowrap;
  position: relative;
  z-index: 45;
  background: var(--bg);
  margin: auto;
}
.header .public-nav {
  display: flex;
  gap: 26px;
  white-space: nowrap;
  margin-left: 20px;
  font-size: 14px;
}
.header .public-nav a {
  padding: 10px 0;
}
.header-actions {
  gap: 16px;
  flex-wrap: nowrap;
}
.header-actions .button {
  min-height: 42px;
  font-size: 13px;
  padding: 10px 14px;
  white-space: nowrap;
}
.language-switch {
  gap: 0;
}
.language-switch select {
  background: none !important;
  border: 0 !important;
  font-size: 12px;
  min-height: 36px;
  max-width: 92px;
  padding: 5px;
  width: 92px;
}
.language-switch .text-button {
  font-size: 12px;
  min-width: 20px;
}
.header-login {
  font-size: 14px;
}
.header-actions form {
  margin: 0;
}
.mobile-nav-toggle {
  display: none;
}
.workspace-breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.workspace-breadcrumb strong {
  font-weight: 500;
  color: var(--text);
}
.user-avatar {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 13px;
}
.account-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.logout-button {
  border-color: transparent;
}
.logout-button .ui-icon {
  width: 17px;
}
.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 60;
}
.app-sidebar > .wordmark {
  margin: 0 12px 42px;
}
.sidebar-caption {
  padding: 0 14px;
  margin-bottom: 13px;
  font:
    10px/1.5 Consolas,
    monospace;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
}
.sidebar-nav a,
.sidebar-nav button {
  position: relative;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 13px;
  border: 1px solid transparent;
  background: none;
  font-weight: 500;
  min-height: 45px;
  box-shadow: none;
  line-height: 1.4;
}
.sidebar-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
  box-shadow: none;
}
.sidebar-nav a:hover,
.sidebar-nav button:hover {
  background: var(--field);
  color: var(--text);
}
.sidebar-nav .ui-icon {
  width: 18px;
  height: 18px;
}
.nav-badge {
  margin-left: auto;
  font:
    10px Consolas,
    monospace;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 4px;
  color: var(--accent);
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 10px;
  margin-bottom: 18px;
}
.sidebar-plan span {
  font-size: 11px;
  font-weight: 600;
}
.sidebar-plan small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-top: 5px;
}
.sidebar-plan > .ui-icon:first-child {
  color: var(--accent);
}
.sidebar-plan > .ui-icon:last-child {
  width: 14px;
  margin-left: auto;
}
.sidebar-signature {
  border-top: 1px solid var(--line);
  padding: 17px 10px 0;
  margin-top: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.sidebar-signature span {
  font:
    9px Consolas,
    monospace;
  letter-spacing: 0.8px;
}
.app-shell > .header {
  margin-left: var(--sidebar-width);
  max-width: none;
  padding: 16px 36px;
  height: 74px;
  min-height: 74px;
}
.app-shell > main {
  margin-left: var(--sidebar-width);
  max-width: none;
  padding: 28px 36px 64px;
  min-width: 0;
}
.public-shell > main {
  max-width: 1360px;
  padding: 28px 44px 80px;
}
.app-shell .page-title {
  margin: 14px 0 32px;
}
.preview-label {
  font-size: 11px;
  margin: 0 0 22px;
  display: flex;
  gap: 9px;
  align-items: center;
  opacity: 0.8;
}
.preview-tag {
  font:
    9px/1.4 Consolas,
    monospace;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 5px;
  letter-spacing: 1px;
}
.card,
.form-card,
.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 26px;
}
.quiet {
  background: transparent;
}
.table-card {
  padding: 0;
}
.panel-heading {
  margin-bottom: 22px;
  gap: 14px;
}
.panel-heading > span:first-child {
  font-size: 12px;
  letter-spacing: 0.06em;
}
.panel-heading h2 {
  font-size: 20px;
}
.stats {
  gap: 18px;
}
.two-columns,
.pricing-grid {
  gap: 22px;
}
.pill {
  background: var(--field);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 11px;
}
.notice {
  border-radius: 10px;
  background: var(--field);
  border-color: var(--line);
  font-size: 13px;
}
.notice.success {
  border-left: 3px solid var(--positive);
}
label {
  font-size: 13px;
  color: var(--muted);
}
input:not([type="hidden"]):not([type="checkbox"]),
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  min-height: 46px;
  color: var(--text);
  padding: 11px 13px;
  font-size: 14px;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--muted);
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 0.75;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.helptext {
  font-size: 12px;
  line-height: 1.6;
}
.errorlist {
  font-size: 13px;
}
.form-card {
  max-width: 480px;
  margin: 44px auto;
  padding: 36px;
}
.form-card h1 {
  font-size: 34px;
  letter-spacing: -1.3px;
  margin-bottom: 28px;
}
.form-card form > p {
  margin-bottom: 20px;
}
.form-card .eyebrow {
  color: var(--accent);
}
.form-links {
  font-size: 13px;
  gap: 15px;
}
.form-links a {
  border-bottom: 1px solid var(--line);
}
.form-card > p.muted {
  font-size: 13px;
  margin: 24px 0 0;
}
.form-card input[type="password"] {
  padding-right: 48px;
}
.password-field {
  position: relative;
}
.password-reveal {
  position: absolute;
  right: 7px;
  top: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  color: var(--muted);
  background: none;
  border-radius: 5px;
  font-size: 11px;
}
.password-reveal:hover {
  background: var(--card);
}
th,
td {
  padding: 17px 18px;
  border-color: var(--line);
  font-size: 13px;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--field);
}
tbody tr:hover {
  background: color-mix(in srgb, var(--field) 65%, transparent);
}
.empty {
  padding: 50px 20px;
}
.empty p {
  font-size: 14px;
}
.journal-form {
  gap: 12px 20px;
}
.market-filters {
  gap: 14px;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 1272px;
  padding: 40px 0 26px;
  margin: auto;
  gap: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.footer-brand .wordmark {
  font-size: 25px;
}
.footer-brand p {
  font-size: 12px;
  margin: 13px 0 0;
  color: var(--muted);
}
.site-footer > nav {
  margin-left: auto;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 12px;
}
.site-footer > nav .text-button {
  font-size: 12px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid var(--line);
  padding: 24px 0 0;
  margin-top: 18px;
  gap: 20px;
  font-size: 11px;
}
.footer-caption {
  letter-spacing: 0.1em;
  font-family: Consolas, monospace;
}
.app-shell > .site-footer {
  margin-left: calc(var(--sidebar-width) + 36px);
  margin-right: 36px;
  max-width: none;
}
.app-shell .site-footer .footer-brand,
.app-shell .footer-caption {
  display: none;
}
.app-shell .site-footer > nav {
  margin-left: 0;
}
.app-shell .footer-bottom {
  margin-top: 0;
  padding-top: 16px;
}
.mobile-dock {
  display: none;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: #030b10aa;
  backdrop-filter: blur(5px);
  z-index: 55;
  border: 0;
}
.skip:focus {
  position: fixed;
  z-index: 1000;
  left: 15px;
  top: 10px;
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: 8px;
}
.auth-intro {
  max-width: 420px;
}
.auth-intro h2 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.14;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.auth-intro > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 580px;
  max-width: 1040px;
  margin: auto;
  padding: 25px 0;
}
.auth-layout .form-card {
  width: 100%;
  margin: 0;
  max-width: 480px;
}
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}
.auth-features > div {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--muted);
  font-size: 14px;
}
.auth-features .ui-icon {
  color: var(--accent);
  width: 18px;
}
@media (min-width: 1700px) {
  .app-shell > main {
    max-width: 1700px;
    margin-right: auto;
    padding-right: 48px;
    padding-left: 48px;
  }
}
@media (max-width: 1250px) {
  :root {
    --sidebar-width: 218px;
  }
  .header {
    gap: 22px;
    padding: 16px 28px;
  }
  .header .public-nav {
    gap: 20px;
    margin-left: 0;
  }
  .header-actions {
    gap: 10px;
  }
  .header .language-switch select {
    max-width: 76px;
    width: 76px;
  }
  .public-shell > main {
    padding-left: 28px;
    padding-right: 28px;
  }
  .app-shell > .header {
    padding: 16px 25px;
  }
  .app-shell > main {
    padding: 24px;
  }
  .site-footer {
    margin-left: 28px;
    margin-right: 28px;
  }
  .sidebar-plan {
    gap: 7px;
  }
  .sidebar-plan span {
    font-size: 10px;
  }
  .sidebar-plan > .ui-icon:last-child {
    display: none;
  }
  .sidebar-nav a,
  .sidebar-nav button {
    font-size: 12px;
  }
  .auth-layout {
    gap: 40px;
  }
}
@media (max-width: 1050px) {
  .header .public-nav {
    gap: 15px;
    font-size: 12px;
  }
  .header .header-register {
    font-size: 12px;
    padding: 9px 11px;
  }
  .header .language-switch {
    display: none;
  }
  .workspace-breadcrumb {
    font-size: 12px;
  }
  .app-shell .workspace-breadcrumb strong {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .app-shell > .header {
    padding: 15px 24px;
  }
  .sidebar-caption {
    font-size: 9px;
  }
  .app-shell .page-title h1 {
    font-size: 34px;
  }
}
@media (max-width: 800px) {
  .header {
    height: 74px;
    min-height: 74px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .header .public-nav {
    display: none;
  }
  .header-actions {
    gap: 10px;
    margin-left: auto;
  }
  .mobile-nav-toggle {
    display: grid;
  }
  .header .public-nav.navigation-open {
    display: flex !important;
    position: absolute;
    top: 73px;
    left: 12px;
    right: 12px;
    width: auto;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 0 0 14px 14px;
    z-index: 70;
    font-size: 15px;
  }
  .header .public-nav.navigation-open a {
    padding: 12px;
  }
  .header .header-register {
    display: none;
  }
  .header .language-switch {
    display: flex;
  }
  .app-sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    width: 252px;
  }
  .app-sidebar.navigation-open {
    transform: translateX(0);
  }
  .sidebar-nav a,
  .sidebar-nav button {
    font-size: 14px;
  }
  .sidebar-plan span {
    font-size: 12px;
  }
  .app-shell > .header {
    margin-left: 0;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    backdrop-filter: blur(16px);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
  }
  .app-shell > main {
    margin-left: 0;
    padding: 22px 20px 45px;
  }
  .public-shell > main {
    padding: 24px 20px 50px;
  }
  .workspace-breadcrumb {
    display: none;
  }
  .app-shell .header-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .app-shell .header-actions .language-switch {
    margin-right: auto;
  }
  .app-shell .user-name {
    display: none;
  }
  .app-shell .account-link {
    max-width: none;
  }
  .app-shell .header-actions .mobile-nav-toggle {
    order: -1;
    margin-right: auto;
  }
  .app-shell .header-actions .language-switch {
    margin-right: 0;
  }
  .app-shell > .site-footer {
    margin: 0 20px 92px;
    padding-top: 24px;
  }
  .app-shell .site-footer > nav {
    gap: 16px;
  }
  .app-shell .footer-bottom {
    font-size: 11px;
  }
  .mobile-dock {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 7px 12px max(7px, env(safe-area-inset-bottom));
    gap: 3px;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--card) 96%, transparent);
    backdrop-filter: blur(16px);
  }
  .mobile-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    min-height: 53px;
    font-size: 10px;
    padding: 6px 2px;
    border-radius: 9px;
    line-height: 1.4;
    color: var(--muted);
    box-shadow: none;
  }
  .mobile-dock a[aria-current="page"] {
    color: var(--accent);
    background: var(--accent-soft);
    box-shadow: none;
  }
  .mobile-dock .ui-icon {
    width: 20px;
    height: 20px;
  }
  .site-footer {
    margin: 0 20px;
    padding: 30px 0 24px;
  }
  .site-footer > nav {
    margin-left: 0;
    width: 100%;
    gap: 14px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-caption {
    display: none;
  }
  .auth-layout {
    gap: 32px;
    min-height: 0;
    padding: 15px 0 25px;
  }
  .auth-intro h2 {
    font-size: 37px;
  }
  .auth-intro > p:not(.eyebrow) {
    font-size: 14px;
  }
  .auth-layout .form-card {
    padding: 26px;
  }
  .auth-layout .form-card h1 {
    font-size: 29px;
  }
  .auth-features {
    gap: 14px;
  }
  .auth-features > div {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
  .header .wordmark {
    font-size: 24px;
  }
  .release-stage-badge {
    margin-left: 7px;
    padding: 3px 5px 2px;
    font-size: 8px;
  }
  .brand-emblem {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    font-size: 26px;
  }
  .brand-emblem > span {
    font-size: 20px;
    top: 4px;
  }
  .header-actions {
    gap: 8px;
  }
  .header .language-switch select {
    max-width: 70px;
    width: 70px;
    font-size: 11px;
  }
  .header .language-switch .text-button {
    min-width: 14px;
  }
  .header-login {
    font-size: 13px;
  }
  .header .icon-button {
    width: 34px;
    height: 36px;
  }
  .header .ui-icon {
    width: 18px;
  }
  .header {
    gap: 12px;
  }
  .app-shell > main {
    padding: 20px 16px 40px;
  }
  .public-shell > main {
    padding: 20px 18px 48px;
  }
  .page-title {
    gap: 20px;
    margin: 16px 0 26px;
  }
  .page-title h1,
  .app-shell .page-title h1 {
    font-size: 32px;
  }
  .page-title .eyebrow {
    font-size: 11px;
  }
  .page-title .actions {
    margin: 0;
  }
  .card,
  .form-card {
    padding: 22px;
    border-radius: 13px;
  }
  .table-card {
    padding: 0;
  }
  .form-card {
    margin: 20px auto;
  }
  .auth-layout {
    display: block;
    max-width: 480px;
  }
  .auth-intro {
    display: none;
  }
  .auth-layout .form-card {
    padding: 28px 22px;
  }
  .auth-layout .form-card h1 {
    font-size: 30px;
  }
  .form-links {
    font-size: 12px;
  }
  .preview-label {
    font-size: 10px;
    margin-bottom: 16px;
  }
  .panel-heading {
    flex-wrap: wrap;
  }
  .panel-heading h2 {
    font-size: 19px;
  }
  .button {
    font-size: 13px;
    gap: 10px;
  }
  .site-footer {
    margin: 0 18px;
  }
  .footer-bottom {
    font-size: 10px;
  }
  .app-shell .footer-bottom {
    justify-content: flex-start;
  }
  .journal-form {
    grid-template-columns: 1fr;
  }
  .table-scroll {
    max-width: 100%;
  }
}
@media (max-width: 370px) {
  .public-shell .header .language-switch {
    display: none;
  }
  .header .wordmark {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
