/* NEXUS Kanal – Fachcockpit-Optik auf allen bestehenden Seiten */

html body .page-stack--list {
  max-width: none;
  width: 100%;
}

.page-header h2,
.page-header--compact h2 {
  font-size: 32px;
  line-height: 1.2;
}

.page-header p,
.page-header--compact p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.page-header .page-header__next {
  color: var(--ink);
}

.page-header .dossier-toolbar__status--success {
  color: var(--green);
  font-weight: 650;
}

.page-header .dossier-toolbar__status--dirty {
  color: var(--amber);
  font-weight: 700;
}

.page-header .dossier-toolbar__status--error {
  color: var(--danger);
  font-weight: 700;
}

.overview-kpi {
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.overview-kpi__label {
  font-size: 14px;
}

.overview-kpi__value {
  font-size: 28px;
}

.list-portfolio__title {
  font-size: 18px;
}

.page-stack--dossier .list-portfolio,
.page-stack--dossier .panel--table {
  margin: 0;
}

.page-stack--dossier .list-portfolio__head {
  align-items: center;
}

.list-hint,
.list-portfolio .hint {
  font-size: 14px;
  line-height: 1.45;
}

.data-table--dossier-list th {
  font-size: 13px;
  white-space: normal;
}

.data-table--dossier-list td {
  font-size: 14px;
  line-height: 1.4;
}

.filter-field__label,
.filter-field__control,
.filter-field input,
.filter-field select {
  font-size: 14px;
}

/* Dossierseiten: dieselbe Shell wie «Alle Dossiers» */
.page-stack--dossier {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

html body .btn-export,
html body .page-header__actions .btn-export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 7.5rem;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
  background: #ffdc00;
  color: #212529;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
}

html body .btn-export:hover,
html body .page-header__actions .btn-export:hover {
  background: #f0d000;
  color: #212529;
}

.page-header__next {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 650;
}

.overview-kpi__value--text {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  font-variant-numeric: normal;
  word-break: break-word;
}

.dossier-toolbar__status {
  font-size: 15px;
}

.dossier-toolbar__status--success {
  color: var(--green);
  font-weight: 650;
}

.dossier-toolbar__status--dirty {
  color: var(--amber);
  font-weight: 700;
}

.dossier-toolbar__status--error {
  color: var(--danger);
  font-weight: 700;
}

.dossier-badge {
  font-size: 13px;
  min-width: 1.7rem;
  height: 1.7rem;
}

.dossier-card,
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
}

.dossier-card h3,
.card h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #203143;
}

.dossier-card--accent {
  border-left: 4px solid var(--blue);
}

.dossier-card p,
.dossier-card li,
.card p,
.card li,
.hint,
.muted,
.small {
  font-size: 15px;
  line-height: 1.5;
}

.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}

.metric-card .small,
.metric-card .muted {
  font-size: 14px;
  color: var(--muted);
}

.metric-card h3 {
  font-size: 18px;
  margin: 6px 0 0;
  color: #1d2e3f;
}

.workbench-list li,
.readiness-list li {
  font-size: 15px;
  line-height: 1.45;
  gap: 10px;
}

.pruef-steps {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.pruef-steps__btn {
  font-size: 15px;
  font-weight: 650;
  min-height: 42px;
  height: auto;
  padding: 10px 16px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: #3d4d5c;
}

.pruef-steps__btn:hover {
  background: #eaf3fb;
  border-color: #c5d6e4;
  color: var(--navy);
}

.pruef-steps__btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.pruef-steps__btn.is-done:not(.is-active) {
  background: #e7f5ef;
  border-color: #cfe6db;
  color: var(--green);
}

.pruef-step-meta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-card);
}

.pruef-step-meta .lbl {
  font-size: 13px;
  color: var(--muted);
}

.pruef-step-meta strong {
  font-size: 15px;
  line-height: 1.35;
  color: #203143;
}

.process-strip {
  font-size: 15px;
  line-height: 1.5;
}

.status-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.status-summary summary,
.status-summary li {
  font-size: 15px;
  line-height: 1.45;
}

.status-summary summary {
  padding: 12px 16px;
  font-weight: 650;
}

.link-muted {
  font-size: 14px;
}

/* Einheitliche Steuerelemente: Liste, Login und alle neun Dossierseiten */
html body label,
html body .form-grid label,
html body .grid label,
html body .dossier-stack label,
html body .dossier-card label,
html body .card label,
html body .bg-field,
html body .bg-field__label {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
  color: #3d4d5c;
  gap: 6px;
}

html body label.row {
  flex-direction: row;
  align-items: center;
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
}

html body .hint,
html body .muted,
html body .small,
html body .danger-text {
  font-size: 14px;
  line-height: 1.5;
}

html body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html body select,
html body textarea,
html body .filter-field__control,
html body .filter-field input,
html body .filter-field select,
html body .dossier-list-sort__select {
  width: 100%;
  min-height: 44px;
  height: auto;
  padding: 10px 14px;
  border: 1px solid #d7e0e6;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: none;
}

html body textarea,
html body select[multiple] {
  min-height: 120px;
  padding: 12px 14px;
}

html body input[type="file"] {
  min-height: 44px;
  padding: 8px 10px;
  background: var(--canvas);
}

html body input:focus,
html body select:focus,
html body textarea:focus,
html body .filter-field__control:focus,
html body .filter-field input:focus,
html body .filter-field select:focus {
  outline: 2px solid rgba(23, 105, 170, 0.28);
  outline-offset: 1px;
  border-color: var(--blue);
}

html body input:disabled,
html body select:disabled,
html body textarea:disabled {
  background: var(--canvas);
  color: var(--muted);
}

html body input[type="checkbox"],
html body input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  accent-color: var(--blue);
  box-shadow: none;
}

html body .input-with-prefix {
  min-height: 44px;
  border: 1px solid #d7e0e6;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

html body .input-with-prefix span {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-2);
  padding: 0 14px;
  background: var(--canvas);
}

html body .input-with-prefix input {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: none;
}

html body .input-with-prefix:focus-within {
  border-color: var(--blue);
  outline: 2px solid rgba(23, 105, 170, 0.28);
  outline-offset: 1px;
}

html body .btn-primary,
html body .btn-secondary,
html body .btn-danger,
html body button.primary,
html body .actions > button,
html body .actions-inline > button,
html body .lek-import-row > button,
html body .street-row > button,
html body .btn-compact,
html body .dossier-list-actions button,
html body .dossier-toolbar__actions .btn-primary,
html body .dossier-toolbar__actions .btn-secondary,
html body .dossier-toolbar__actions .btn-danger,
html body .export-menu > summary.btn-secondary,
html body button[data-download],
html body button[data-inbox-act],
html body .workbench-list .btn-secondary,
html body .readiness-list .btn-secondary,
html body .open-points .btn-secondary,
html body .login-form .btn-primary,
html body .login-submit,
html body .login-card .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  height: auto;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: none;
  white-space: normal;
  text-align: center;
}

html body .btn-compact {
  min-height: 44px !important;
  padding: 10px 16px !important;
  font-size: 15px !important;
}

html body .btn-primary,
html body button.primary,
html body .lek-import-row > .btn-primary,
html body #newDossier.btn-primary,
html body #saveDossier.btn-primary,
html body .login-card .btn-primary {
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(23, 105, 170, 0.18);
}

html body .btn-primary:hover,
html body button.primary:hover,
html body #newDossier.btn-primary:hover,
html body #saveDossier.btn-primary:hover {
  background: var(--blue-hover);
  color: #fff;
}

html body .btn-secondary,
html body .actions > button:not(.btn-primary):not(.btn-danger),
html body .actions-inline > button:not(.btn-primary):not(.btn-danger),
html body .street-row > button:not(.btn-primary),
html body .export-menu > summary.btn-secondary,
html body button[data-download],
html body button[data-inbox-act] {
  border: 1px solid #d7e0e6;
  background: #fff;
  color: #203143;
}

html body .btn-secondary:hover,
html body .actions > button:not(.btn-primary):not(.btn-danger):hover,
html body .actions-inline > button:not(.btn-primary):not(.btn-danger):hover,
html body button[data-download]:hover,
html body button[data-inbox-act]:hover,
html body .export-menu > summary.btn-secondary:hover {
  background: #eaf3fb;
  border-color: #c5d6e4;
  color: var(--navy);
}

html body .btn-danger,
html body .link-danger.btn-secondary {
  border: 1px solid #e8b4b7;
  background: #fbe9ea;
  color: var(--danger);
}

html body .btn-danger:hover,
html body .link-danger.btn-secondary:hover {
  background: #f6d6d8;
  border-color: var(--danger);
  color: var(--danger);
  text-decoration: none;
}

html body button:disabled,
html body .btn-primary:disabled,
html body .btn-secondary:disabled,
html body .btn-danger:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

html body .actions,
html body .actions-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

html body .actions-inline > button,
html body .btn-compact {
  white-space: nowrap;
}

html body .actions {
  margin-top: 16px;
}

html body .filter-field__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

html body .filter-field__control,
html body .filter-field input,
html body .filter-field select {
  min-height: 44px;
  font-size: 15px;
}

html body .data-table,
html body .dossier-stack table,
html body .dossier-card table,
html body .card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

html body .data-table th,
html body .data-table td,
html body .dossier-stack th,
html body .dossier-stack td,
html body .dossier-card th,
html body .dossier-card td,
html body .card th,
html body .card td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

html body .data-table th,
html body .dossier-stack th,
html body .dossier-card th,
html body .card th {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  background: var(--canvas);
}

html body .data-table td,
html body .dossier-stack td,
html body .dossier-card td,
html body .card td {
  font-size: 14px;
  line-height: 1.45;
  color: #203143;
}

html body .data-table--dossier-list th {
  font-size: 14px;
  white-space: normal;
}

html body .data-table--dossier-list td {
  font-size: 14px;
}

html body .notice {
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 12px;
}

html body .badge,
html body .status-pill {
  font-size: 13px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
}

html body .dossier-toolbar__eyebrow {
  font-size: 13px;
  color: var(--muted);
}

html body .dossier-toolbar__title {
  font-size: 28px;
  line-height: 1.2;
}

html body .dossier-toolbar__status {
  font-size: 14px;
}

html body .dossier-subsection__title,
html body .dossier-meta-inline {
  font-size: 13px;
}

html body .lek-import-row {
  border: 1px dashed #c5d6e4;
  border-radius: 12px;
  background: #eaf3fb;
  padding: 16px;
  gap: 10px;
}

html body .lek-pick-panel {
  display: grid;
  gap: 12px;
}

html body .lek-pick-panel[hidden] {
  display: none;
}

html body .lek-pick-table-wrap {
  max-height: 22rem;
  overflow: auto;
}

html body #lekPickTable tbody tr {
  cursor: pointer;
}

html body details.card,
html body details.process-stage {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px 18px 18px;
  box-shadow: var(--shadow-card);
}

html body details.card > summary,
html body details.process-stage > summary {
  font-size: 16px;
  font-weight: 700;
  color: #203143;
  padding: 12px 4px;
  cursor: pointer;
}

html body pre.preview {
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 12px;
  min-height: 180px;
}

html body .login-card label,
html body .login-card input,
html body .login-card button,
html body .login-form label,
html body .login-form input,
html body .login-form button {
  font-size: 15px;
}

html body .process-stage,
html body .card.process-stage {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
  background: #fff;
}

html body p.preview,
html body .preview:not(pre) {
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--canvas);
  border: 1px solid var(--line);
}

html body .form-grid,
html body .grid {
  gap: 14px;
}

html body .dossier-card__head {
  margin-bottom: 12px;
}

html body .app-sidebar .app-nav-link {
  min-height: 0;
  height: auto;
  padding: 8px 10px;
  border: 0;
  background: transparent;
  color: var(--nav-text);
  box-shadow: none;
  justify-content: flex-start;
  white-space: normal;
  text-align: left;
}

html body #sidebarDossierBlock .app-nav-link {
  justify-content: space-between;
}

html body .app-sidebar .app-nav-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

html body .app-sidebar .app-nav-link--active {
  background: var(--navy-2);
  color: #fff;
  box-shadow: inset 3px 0 #6db9eb;
}

html body .app-sidebar #navAlleDossiers.app-nav-link--active {
  box-shadow: inset 3px 0 #6db9eb;
}

/* Raster: Filter, Aktionen und Tabellenbuttons untereinander, nichts abschneiden */
html body .filter-field--search {
  max-width: none;
}

html body .dossier-list-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

html body .dossier-list-actions.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
}

html body .dossier-list-actions #filterReset {
  margin-right: 0;
}

html body .list-export-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 10px;
  background: #fff;
}

html body .list-export-group__label {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 6px 0 2px;
}

html body .dossier-list-actions .btn-secondary,
html body .list-export-group .btn-secondary {
  min-width: 7.5rem;
  white-space: nowrap;
}

html body .btn-logout,
html body .app-sidebar .sidebar-logout,
html body .js-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  min-height: 40px;
  padding: 8px 14px;
  background: #ffdc00;
  color: #212529;
  border: 0;
  font-weight: 750;
  cursor: pointer;
  border-radius: 10px;
  white-space: nowrap;
}
html body .app-sidebar .btn-logout,
html body .app-sidebar .js-logout {
  min-width: 0;
  width: 100%;
}
html body .js-logout[hidden] {
  display: none !important;
}

html body .table-frame {
  overflow-x: auto;
}

html body .data-table--dossier-list {
  table-layout: fixed;
  width: 100%;
}

html body .data-table--dossier-list .col-bg { width: 7.2rem; }
html body .data-table--dossier-list .col-addr { width: 16%; }
html body .data-table--dossier-list .col-owner { width: 13%; }
html body .data-table--dossier-list .col-ktv { width: 9%; }
html body .data-table--dossier-list .col-dh { width: 11%; }
html body .data-table--dossier-list .col-san { width: 12%; }
html body .data-table--dossier-list .col-next { width: 24%; }
html body .data-table--dossier-list .col-actions { width: 11.25rem; }

html body .data-table--dossier-list th.col-next,
html body .data-table--dossier-list td.col-next {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.4;
  vertical-align: top;
}

html body .data-table .col-actions,
html body .data-table--dossier-list th.col-actions,
html body .data-table--dossier-list td.col-actions,
html body .data-table--dossier-list th:last-child,
html body .data-table--dossier-list td:last-child {
  width: 11.25rem;
  min-width: 11.25rem;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  text-align: right;
  vertical-align: top;
}

html body .dossier-list-row-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 10.25rem;
  margin-left: auto;
}

html body .data-table--dossier-list td.col-actions .btn-compact,
html body .data-table--dossier-list td.col-actions .btn-secondary,
html body .data-table--dossier-list td.col-actions .btn-danger,
html body .col-actions .btn-compact,
html body .col-actions .btn-secondary,
html body .col-actions .btn-danger {
  min-width: 0;
  width: 100%;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-content: center;
  box-sizing: border-box;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 14px;
}

html body .workbench-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

html body .workbench-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  align-items: center;
  gap: 12px;
  margin: 0;
}

html body .workbench-list li .btn-compact {
  width: 15rem;
  min-width: 15rem;
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .overview-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body .dossier-list-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .page-header h2,
  .page-header--compact h2 {
    font-size: 28px;
  }
  .overview-kpi-row {
    grid-template-columns: 1fr;
  }
  html body .dossier-list-filters {
    grid-template-columns: 1fr 1fr;
  }
  html body .dossier-list-actions.actions {
    justify-content: stretch;
  }
  html body .dossier-list-actions #filterReset {
    margin-right: 0;
    width: 100%;
  }
  html body .list-export-group {
    margin-left: 0;
    width: 100%;
  }
  html body .data-table--dossier-list .col-actions,
  html body .data-table--dossier-list th:last-child,
  html body .data-table--dossier-list td:last-child {
    width: 10.5rem;
    min-width: 10.5rem;
  }
  html body .btn-primary,
  html body .btn-secondary,
  html body .btn-danger,
  html body .actions > button {
    white-space: normal;
  }
  html body .col-actions .btn-compact {
    white-space: nowrap;
  }
}

/* LEK-Architektur: Anmeldemaske Split-Layout */
html body .login-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(165deg, #dce5ef 0%, #eef2f6 45%, #e4ebf3 100%);
}

html body .login-gate[hidden] {
  display: none !important;
}

html body .login-frame {
  width: min(920px, 100%);
}

html body .login-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  min-height: min(600px, calc(100vh - 3rem));
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 40, 70, 0.14), 0 0 0 1px rgba(15, 40, 70, 0.07);
}

html body .login-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 1.75rem;
  background: linear-gradient(155deg, #152b47 0%, #1e3a5f 42%, #0f4c81 100%);
  color: #f8fafc;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--aarburg);
}

html body .login-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(0, 120, 212, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(14, 116, 144, 0.2), transparent 50%);
  pointer-events: none;
}

html body .login-info > * {
  position: relative;
  z-index: 1;
}

html body .login-info-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

html body .login-info-brand {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}

html body .login-info-logo {
  flex: 0 0 auto;
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 12px;
  object-fit: cover;
  background: #0b0b0b;
}

html body .login-info-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(248, 250, 252, 0.72);
}

html body .login-info-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

html body .login-info-title .brand-module {
  font-weight: 500;
  color: rgba(248, 250, 252, 0.78);
}

html body .login-info-lead {
  margin: 0.5rem 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.82);
}

html body .login-info-section-label {
  margin: 0 0 0.625rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(248, 250, 252, 0.55);
}

html body .login-info-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

html body .login-info-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.92);
}

html body .login-info-feature--plain {
  padding-left: 1.125rem;
  color: rgba(248, 250, 252, 0.68);
}

html body .login-info-feature-dot {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  margin-top: 0.35rem;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

html body .login-info-feature-title {
  color: #fff;
  font-weight: 650;
}

html body .login-info-feature-desc {
  color: rgba(248, 250, 252, 0.68);
  font-weight: 400;
}

html body .login-info-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

html body .login-info-legal-block {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

html body .login-info-legal-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(248, 250, 252, 0.55);
}

html body .login-info-owner {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.88);
}

html body .login-info-owner strong {
  font-size: 15px;
  font-weight: 650;
  color: #fff;
}

html body .login-info-owner-role {
  font-size: 13px;
  color: rgba(248, 250, 252, 0.62);
}

html body .login-info-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

html body .login-info-contact-link {
  color: rgba(248, 250, 252, 0.9);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
}

html body .login-info-contact-link:hover {
  color: #fff;
  text-decoration: underline;
}

html body .login-info-copy {
  margin: 0.25rem 0 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.75);
}

html body .login-info-vendor {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(248, 250, 252, 0.55);
}

html body .login-info-license {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.62);
}

html body .login-info-legal-details {
  margin-top: 0.375rem;
  font-size: 13px;
  color: rgba(248, 250, 252, 0.55);
}

html body .login-info-legal-details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}

html body .login-info-legal-details summary::-webkit-details-marker {
  display: none;
}

html body .login-info-legal-details summary:hover {
  color: #fff;
}

html body .login-info-legal-expanded {
  margin-top: 0.625rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.55);
}

html body .login-info-legal-expanded p {
  margin: 0;
}

html body .login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: #fff;
}

html body .login-form-wrap {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

html body .login-form-header {
  text-align: center;
}

html body .login-form-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 1rem;
  border-radius: 12px;
  background: rgba(23, 105, 170, 0.12);
  color: var(--navy);
}

html body .login-form-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

html body .login-form-desc {
  margin: 0.375rem 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

html body .login-form {
  display: grid;
  gap: 14px;
}

html body .login-field {
  display: grid;
  gap: 6px;
  font-size: 15px;
}

html body .login-field__label {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
}

html body .login-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #c5d0d8;
  border-radius: 9px;
  background: #fff;
  font-size: 15px;
  box-sizing: border-box;
}

html body .login-field input:focus {
  outline: 2px solid rgba(23, 105, 170, 0.28);
  outline-offset: 1px;
  border-color: var(--blue);
}

html body .login-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fde7e9;
  color: var(--danger);
  font-size: 14px;
}

html body .login-submit {
  width: 100%;
  min-height: 44px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

html body .login-submit:hover {
  background: #152b47;
  color: #fff;
}

html body .login-forgot-wrap {
  margin: 0;
  text-align: center;
}

html body .login-link {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  min-height: 0;
  padding: 0;
}

html body .login-link:hover {
  color: var(--navy);
}

html body .login-error.login-success {
  background: #e6f4ea;
  color: #1e6b3a;
}

html body .notice.warn {
  background: #fffdf6;
  color: var(--navy);
  border: 1px solid #eadfa8;
  border-left: 4px solid var(--aarburg);
}

html body .notice.warn strong {
  color: var(--navy);
  font-weight: 700;
}

html body .notice.warn p {
  color: var(--muted);
  margin: 0.35rem 0 0;
}

html body .actions + .notice.process-gate {
  margin-top: 2.25rem;
}

html body .process-gate {
  padding: 16px 18px 18px;
}

@media (max-width: 839px) {
  html body .login-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  html body .login-info {
    order: 2;
  }
  html body .login-panel {
    order: 1;
    padding: 2rem 1.5rem;
  }
}
