:root {
  color-scheme: light;
  font-family: Inter, system-ui, sans-serif;
  background: #fff8f3;
  color: #1b3345;
}

.plan-card { border-top: 4px solid #145f72; }
.plan-card .download-link { display: inline-block; box-sizing: border-box; max-width: 100%; white-space: normal; }
.plan-card p { overflow-wrap: anywhere; }
[data-premium-feature].hidden { display: none !important; }

body {
  margin: 0;
  background: radial-gradient(circle at top right, #ffd4b8 0%, #fff8f3 45%, #f7f8ff 100%);
}

header {
  background: linear-gradient(135deg, #145f72, #103f50);
  border-bottom: 5px solid #ff7c87;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.brand-logo {
  width: min(240px, 65vw);
  display: block;
  margin: 0 auto 0.75rem;
}

.motto {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.45rem 0;
}

.subtitle {
  margin: 0;
  opacity: 0.95;
}

main {
  max-width: 980px;
  margin: 1.5rem auto;
  padding: 0 1rem 2rem;
  display: grid;
  gap: 1rem;
}

.hidden {
  display: none !important;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 3px 12px rgba(20, 95, 114, 0.12);
}

.social-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.social {
  border-radius: 10px;
}

.social.google {
  background: #db4437;
}

.social.facebook {
  background: #1877f2;
}

.social.biometric {
  background: #145f72;
}

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

.auth-form {
  border: 1px solid #ffd6bf;
  border-radius: 10px;
  padding: 1rem;
}

.session-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.session-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 0.75rem;
}

.summary-grid div {
  background: #fff1ea;
  border: 1px solid #ffd6bf;
  border-radius: 10px;
  padding: 0.75rem;
}

.summary-grid p {
  margin: 0;
  font-size: 0.85rem;
}

.summary-grid strong {
  font-size: 1.5rem;
}

.report-filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.6rem;
  margin: 0.8rem 0;
}

#timerDisplay {
  font-size: 2rem;
  margin: 0.5rem 0;
  font-weight: 700;
  color: #145f72;
}

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

button,
.download-link {
  border: 0;
  border-radius: 8px;
  background: #145f72;
  color: white;
  padding: 0.6rem 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.download-link,
button[type='submit'] {
  background: #145f72;
}

.text-button {
  background: transparent;
  color: #145f72;
  text-decoration: underline;
  padding: 0.2rem 0;
  border-radius: 0;
  text-align: left;
}

.text-button:hover {
  color: #0f4c5a;
}

.secondary {
  background: #145f72;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

form {
  display: grid;
  gap: 0.75rem;
}

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

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.95rem;
}

input,
textarea,
select {
  border: 1px solid #617887;
  border-radius: 8px;
  padding: 0.55rem;
  font: inherit;
  background: white;
  color: #1b3345;
}

.checkin-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  background: #fff6f0;
  border: 1px solid #ffd6bf;
  border-radius: 10px;
  padding: 0.8rem;
}

.entries {
  display: grid;
  gap: 0.75rem;
}

.entry {
  border: 1px solid #ffd6bf;
  border-radius: 8px;
  padding: 0.75rem;
  background: #fffdfc;
}

.entry img {
  max-width: 110px;
  border-radius: 6px;
  margin-right: 0.4rem;
  margin-top: 0.4rem;
}

.small {
  color: #5f6f7c;
  font-size: 0.85rem;
}

.signature-box {
  background: #fff6f0;
  border: 1px solid #ffd6bf;
  border-radius: 10px;
  padding: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.signature-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

#signaturePad {
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px dashed #e1bfa8;
  border-radius: 8px;
  touch-action: none;
}

.signature-preview img {
  max-width: 320px;
  width: 100%;
  border: 1px solid #e1bfa8;
  border-radius: 6px;
  background: #fff;
}


.section-eyebrow {
  margin: 0 0 0.2rem;
  color: #a13d51;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.badge-heading h2 {
  margin: 0;
}

.badge-heading .small {
  margin-bottom: 0;
}

.badge-total {
  flex: 0 0 auto;
  min-width: 86px;
  padding: 0.65rem;
  border: 1px solid #ffc84a;
  border-radius: 12px;
  background: #fff8df;
  text-align: center;
}

.badge-total strong,
.badge-total span {
  display: block;
}

.badge-total strong {
  color: #145f72;
  font-size: 1.55rem;
  line-height: 1;
}

.badge-total span {
  margin-top: 0.25rem;
  color: #5f6f7c;
  font-size: 0.72rem;
}

.badge-overview {
  margin: 1rem 0;
}

.badge-overview-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f2;
}

.badge-overview-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7c87, #ffc84a);
  transition: width 300ms ease;
}

.badge-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.badge-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  flex: 1 1 420px;
}

.badge-filter-button {
  border: 1px solid #b7c9cf;
  background: white;
  color: #145f72;
  padding: 0.55rem 0.65rem;
}

.badge-filter-button[aria-pressed='true'] {
  border-color: #145f72;
  background: #145f72;
  color: white;
  box-shadow: 0 3px 8px rgba(20, 95, 114, 0.2);
}

.badge-category-label {
  min-width: 170px;
  color: #4b606d;
  font-size: 0.78rem;
  font-weight: 700;
}

.badge-category-label select {
  min-height: 40px;
  border: 1px solid #b7c9cf;
  border-radius: 8px;
  background: white;
  color: #1b3345;
  padding: 0.5rem;
  font: inherit;
}

.badge-collection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 0.7rem;
}

.badge-item {
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid #d9e0e4;
  border-radius: 12px;
  background: #f8fafb;
  padding: 0.75rem;
  box-shadow: 0 2px 8px rgba(27, 51, 69, 0.07);
}

.badge-item.unlocked {
  border-color: #e4b52d;
  background: linear-gradient(155deg, #fff6d6, #fffdf8 58%);
}

.badge-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
}

.badge-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: white;
  font-size: 1.75rem;
  box-shadow: 0 2px 8px rgba(27, 51, 69, 0.1);
}

.badge-item.locked .badge-icon {
  opacity: 0.58;
  filter: grayscale(1);
}

.badge-status-chip {
  border-radius: 999px;
  background: #e7ecef;
  color: #526470;
  padding: 0.25rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-item.unlocked .badge-status-chip {
  background: #145f72;
  color: white;
}

.badge-category {
  margin: 0.2rem 0 0;
  color: #a13d51;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.badge-earned-date {
  margin: 0;
  color: #5f6f7c;
  font-size: 0.75rem;
}

.badge-item details {
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(95, 111, 124, 0.18);
  font-size: 0.8rem;
}

.badge-item summary {
  color: #145f72;
  font-weight: 700;
  cursor: pointer;
}

.badge-item details p {
  margin: 0.5rem 0 0;
  line-height: 1.35;
}

.badge-empty {
  margin: 1rem 0 0;
  border: 1px dashed #b7c9cf;
  border-radius: 10px;
  background: #f8fafb;
  padding: 1rem;
  color: #526470;
  text-align: center;
}

.badge-show-more {
  display: block;
  margin: 1rem auto 0;
}

.badge-celebration {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 30, 0.65);
  display: grid;
  place-items: center;
  z-index: 1000;
}

.celebration-content {
  width: min(560px, 92vw);
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: popIn 420ms ease;
}

.confetti-burst { position: relative; height: 100px; overflow: hidden; }
.confetti-burst span {
  position: absolute;
  left: 50%; top: 45px;
  width: 10px; height: 16px;
  border-radius: 3px;
  background: hsl(calc(25 * var(--x) + 220), 90%, 60%);
  animation: confettiFly 1100ms ease-out forwards;
  animation-delay: var(--delay);
}

@keyframes confettiFly {
  to { transform: translate(calc(var(--x) * 55px), -80px) rotate(520deg); opacity: 0; }
}

@keyframes popIn {
  from { transform: scale(0.86); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.badge-celebration.hidden { display: none !important; }
.entry .actions button { min-height: 42px; min-width: 92px; }
@media (max-width: 640px) {
  .actions button,
  .download-link {
    width: 100%;
    text-align: center;
  }

  .celebration-content {
    padding: 1rem;
  }

  .badge-heading {
    align-items: center;
  }

  .badge-toolbar {
    display: grid;
    align-items: stretch;
  }

  .badge-tabs {
    width: 100%;
  }

  .badge-category-label {
    width: 100%;
  }

  .badge-collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .badge-item {
    min-height: 205px;
    padding: 0.65rem;
  }

  .badge-show-more {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .badge-collection {
    grid-template-columns: 1fr;
  }
}


.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}

.checkbox input {
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.legal-header {
  padding: 1.25rem 1rem;
}

.legal-header h1,
.legal-header p {
  margin: 0.35rem 0;
}

.legal-logo {
  width: min(120px, 38vw);
}

.legal-main {
  display: block;
  max-width: 880px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.legal-nav a,
.legal-link-grid a {
  border: 1px solid #b7c9cf;
  border-radius: 8px;
  background: white;
  color: #145f72;
  padding: 0.55rem 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-document {
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.legal-document h2 {
  margin-top: 1.7rem;
  color: #145f72;
}

.legal-document h3 {
  margin-top: 1.2rem;
}

.legal-document a {
  color: #0f6578;
}

.legal-callout {
  margin: 1rem 0;
  border-left: 5px solid #ffc84a;
  border-radius: 8px;
  background: #fff8df;
  padding: 0.85rem;
  line-height: 1.5;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid #d9e0e4;
  padding: 0.65rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legal-table th {
  background: #edf5f7;
  color: #145f72;
}

.legal-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 0.55rem;
  margin: 0.8rem 0;
}

.account-privacy-card {
  border-top: 4px solid #145f72;
}

.danger-button {
  background: #a42e42;
  color: white;
}

.deletion-card {
  margin-top: 1rem;
}

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

.deletion-heading h2 {
  margin-top: 0;
}

.site-footer {
  background: #fff8f3;
  padding: 1.5rem 1rem 2rem;
  color: #526470;
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.site-footer a {
  color: #145f72;
  font-weight: 700;
}


.form-wide {
  grid-column: 1 / -1;
}

.signup-consent {
  display: grid;
  gap: 0.65rem;
  border: 1px solid #d9e0e4;
  border-radius: 10px;
  background: #f8fafb;
  padding: 0.8rem;
}

.signup-consent a {
  color: #145f72;
  font-weight: 700;
}


.legal-gate {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(10, 18, 30, 0.78);
  padding: 1rem;
}

.legal-gate-content {
  width: min(560px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border-radius: 16px;
  background: white;
  padding: 1.25rem;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.35);
}

.legal-gate-content h2 {
  margin-top: 0;
}

.legal-gate-content a {
  color: #145f72;
  font-weight: 700;
}


fieldset {
  display: grid;
  gap: 0.6rem;
  border: 1px solid #d9e0e4;
  border-radius: 10px;
  padding: 0.8rem;
}

legend {
  color: #145f72;
  font-weight: 700;
  padding: 0 0.35rem;
}

.error-message {
  color: #8f1830;
  font-weight: 700;
}

.compact-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
}

.consent-admin-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.consent-admin-card {
  border-top: 4px solid #ffc84a;
}

.consent-admin-card h2 {
  margin-top: 0;
}

.consent-admin-card textarea {
  min-height: 90px;
}


.printable-consent-form {
  max-width: 760px;
  margin: 0 auto;
}

@media print {
  body {
    background: white;
  }

  .no-print,
  .site-footer {
    display: none !important;
  }

  .legal-main {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .printable-consent-form {
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }
}


.manual-notice-box {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.75rem;
  border: 1px solid #8db8c2;
  border-radius: 10px;
  background: #edf8fa;
  padding: 0.8rem;
}

.manual-notice-box p {
  margin: 0;
  color: #1b3345;
  font-weight: 700;
}

.manual-notice-box input {
  width: 100%;
  box-sizing: border-box;
  background: white;
}


/* Compact app header and journal browser */
.app-header { padding: 1.15rem 1rem 1.1rem; }
.app-header .brand-logo { width: min(145px, 34vw); margin-bottom: 0.35rem; }
.app-header h1 {
  max-width: 760px;
  margin: 0.25rem auto;
  font-size: clamp(1.7rem, 5vw, 2.35rem);
  line-height: 1.08;
}
.app-header .motto { max-width: 720px; margin: 0.35rem auto; }
.app-header .subtitle { font-size: 0.95rem; }

.journal-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.journal-heading h2, .journal-heading p { margin: 0; }
.eyebrow {
  color: #b43852;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.journal-browser {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.9rem 0;
}
.export-panel {
  margin: 0 0 0.85rem;
  border: 1px solid #d8e1e5;
  border-radius: 9px;
  background: #f7fbfc;
}
.export-panel summary {
  padding: 0.7rem 0.8rem;
  color: #145f72;
  font-weight: 700;
  cursor: pointer;
}
.export-panel .report-filter { padding: 0 0.8rem 0.8rem; margin: 0; }
.entry { padding: 0.65rem; }
.entry h3 { margin: 0 0 0.35rem; font-size: 1rem; line-height: 1.25; }
.entry p { margin: 0.3rem 0; }
.entry-notes { color: #425665; }
.entry .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.entry .entry-media { grid-template-columns: 1fr; }
.entry .actions button {
  width: 100%;
  min-height: 38px;
  padding: 0.48rem 0.65rem;
}
.journal-show-more { width: 100%; margin-top: 0.8rem; }

@media (max-width: 640px) {
  .app-header { padding: 0.85rem 0.75rem 0.9rem; }
  .app-header .brand-logo { width: min(112px, 30vw); margin-bottom: 0.2rem; }
  .app-header h1 { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .app-header .motto { font-size: 0.82rem; line-height: 1.25; }
  .app-header .subtitle { font-size: 0.85rem; }
}


/* Journal entries grouped by month */
.journal-total {
  margin: 0;
  border: 1px solid #edc94f;
  border-radius: 10px;
  background: #fff9df;
  color: #145f72;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 800;
}
.journal-help {
  margin: 0.75rem 0 0;
  color: #5f6f7c;
}
.journal-browser {
  grid-template-columns: minmax(180px, 320px);
}
.entry-month-groups {
  gap: 0.7rem;
}
.entry-month {
  border: 1px solid #e9cdbd;
  border-radius: 11px;
  background: #fffdfa;
  overflow: hidden;
}
.entry-month > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  color: #1b3345;
  cursor: pointer;
  list-style-position: inside;
}
.entry-month > summary span:first-of-type {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  margin-right: auto;
}
.entry-month > summary strong {
  font-size: 1rem;
}
.entry-month > summary small {
  color: #5f6f7c;
  font-weight: 600;
}
.entry-month-hours {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #edf7f9;
  color: #145f72;
  padding: 0.3rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 800;
}
.entry-month[open] > summary {
  border-bottom: 1px solid #e9cdbd;
  background: #fff8f0;
}
.entry-month-list {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem;
}
.entry-month-list .entry {
  margin: 0;
}

@media (max-width: 640px) {
  .journal-heading {
    align-items: stretch;
  }
  .journal-total {
    width: 100%;
    box-sizing: border-box;
  }
  .journal-browser {
    grid-template-columns: 1fr;
  }
  .entry-month > summary {
    padding: 0.72rem;
  }
}


/* Accessibility: keyboard focus, readable controls, and reflow at 320 CSS pixels. */
*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.5; }
body { overflow-wrap: anywhere; }
a { color: #145f72; text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid #1b3345; outline-offset: 3px; box-shadow: 0 0 0 3px white; }
[tabindex="-1"]:focus { outline: 3px solid #1b3345; outline-offset: 3px; }
.skip-link { position: absolute; z-index: 2000; left: 1rem; top: 0.5rem; padding: 0.75rem; background: white; border: 2px solid #145f72; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.feedback-message { margin: 0; }
.feedback-message:not(:empty) { padding: 0.85rem; border: 2px solid #145f72; border-radius: 8px; background: white; }
.feedback-message.error-message:not(:empty) { border-color: #8f1830; }
.grid, .auth-grid, .compact-form { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.grid > *, .report-filter > *, .summary-grid > *, .signature-header > * { min-width: 0; }
input:not([type="checkbox"]):not([type="radio"]), textarea, select { width: 100%; min-width: 0; min-height: 44px; font-size: 1rem; }
input::placeholder, textarea::placeholder { color: #586776; opacity: 1; }
button, .download-link { min-height: 44px; font: inherit; font-weight: 600; white-space: normal; overflow-wrap: anywhere; }
input[type="checkbox"], input[type="radio"] { width: 24px; height: 24px; accent-color: #145f72; }
.checkbox { display: block; min-height: 44px; }
.checkbox input { margin-top: 0; margin-right: 0.5rem; vertical-align: middle; }
.signature-header { flex-wrap: wrap; }
#signaturePad { border-color: #617887; }
.badge-category-label select { border-color: #617887; }
.badge-filter-button { border-color: #617887; }
.entry .actions button { min-height: 44px; min-width: 0; }
.badge-item summary { min-height: 32px; }
.site-footer a { display: inline-block; min-height: 32px; padding: 0.2rem; }
.summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.celebration-content, .legal-gate-content { width: min(560px, 100%); max-height: calc(100dvh - 2rem); overflow-y: auto; }
.badge-celebration { padding: 1rem; }
@media (max-width: 480px) {
  .summary-grid { grid-template-columns: 1fr; }
  .badge-heading { flex-wrap: wrap; }
  .badge-category-label { min-width: 0; }
  .legal-gate-content, .celebration-content { padding: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .confetti-burst { display: none; }
}
@media (forced-colors: active) {
  :focus-visible { outline-color: Highlight; }
  button, .download-link { border: 1px solid ButtonText; }
}
.app-shell { display: grid; gap: 1rem; }
.grid > label { align-content: start; }
#loginForm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#loginForm .actions { grid-column: 1 / -1; }
#legalAcceptanceMessage, #entryFeedback { margin: 0; }
main > .feedback-message:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 480px) { #loginForm { grid-template-columns: 1fr; } }
