:root {
  --navy: #163A70;
  --accent: #1FB6AA;
  --accent-soft: #eaf8f6;
  --bg: #f5f8fc;
  --line: #e2e8f0;
  --muted: #63738a;
  --ink: #20364f;
  --font-family-primary: 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  font-family: var(--font-family-primary);
  color: var(--ink);
  background: var(--bg);
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-family-primary); font-size: 0.875rem; line-height: 1.5; }
.panel-app { background: var(--bg); color: var(--ink); }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.app-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.app-sidebar {
  background: var(--navy); color: #fff; padding: 30px 20px 22px;
  display: flex; flex-direction: column; min-height: 100vh; min-width: 0;
}
.app-brand {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: #fff; border-radius: 9px; padding: 20px 12px 16px; color: var(--navy);
}
.app-brand:hover { text-decoration: none; }
.app-brand .company-logo { display: block; width: 100%; height: auto; max-width: 164px; object-fit: contain; }
.brand-wordmark { display: flex; align-items: center; gap: 8px; font-size: 1.75rem; font-weight: 750; letter-spacing: -1.4px; }
.brand-mark { color: var(--accent); display: flex; align-items: center; }
.brand-mark .icon { width: 30px; height: 30px; stroke-width: 2; }
.app-brand small { font-size: 0.625rem; font-weight: 600; letter-spacing: .6px; }
.nav-caption { font-size: 0.5625rem; letter-spacing: 1.8px; color: #a8c0df; margin: 30px 12px 12px; font-weight: 650; }
.app-nav a {
  display: flex; align-items: center; gap: 12px; color: #ccdaee; padding: 11px 12px;
  border-radius: 7px; margin: 3px 0; font-size: 0.75rem; font-weight: 550; min-height: 42px;
}
.app-nav a .icon { width: 18px; height: 18px; opacity: .85; }
.app-nav a[aria-current] { background: #ffffff15; color: #fff; box-shadow: inset 3px 0 var(--accent); }
.app-nav a[aria-current] .icon { color: var(--accent); opacity: 1; }
.app-nav a:hover { background: #ffffff0e; text-decoration: none; color: #fff; }
.app-account { border-top: 1px solid #ffffff25; margin-top: 30px; padding: 20px 12px; }
.app-account strong { display: block; color: #fff; font-size: 0.75rem; margin-bottom: 9px; overflow-wrap: anywhere; }
.app-account a, .app-sidebar .text-button { font-size: 0.6875rem; color: #bdcfe8; }
.app-sidebar .text-button { padding: 0; background: none; border: 0; cursor: pointer; margin-top: 9px; }
.app-account form { margin: 0; padding: 0; }
.sidebar-footer { margin-top: auto; padding: 20px 12px 0; color: #a8bdd8; font-size: 0.625rem; }
.sidebar-footer p { margin: 16px 0 0; font-size: 0.625rem; line-height: 1.7; }
.sidebar-status { display: flex; align-items: center; gap: 6px; font-size: 0.5625rem; white-space: nowrap; }
.sidebar-status > span { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.sidebar-copy { font-size: 1.125rem; line-height: 1.8; margin: 64px 8px 0; color: #c0d1e8; }
.app-main { padding: 24px 36px 0; max-width: 1800px; width: 100%; min-width: 0; }
.app-topline {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 0.5625rem; font-weight: 550; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 38px;
}
.app-topline, .topline-tools { flex-wrap: wrap; }
.topline-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.reading-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; letter-spacing: 0; font-size: .6875rem; }
.reading-controls button { padding: 5px 8px; min-height: 32px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--navy); cursor: pointer; font: inherit; }
.reading-controls button:disabled { opacity: .45; cursor: default; }
.reading-controls output { min-width: 3.5em; text-align: center; }
.app-nav a, .page-header, .stat-heading, .table-toolbar, .app-footer, .app-account { overflow-wrap: anywhere; }
h1, h2, .lead { overflow-wrap: anywhere; }
.app-footer, .table-toolbar, .stat-heading, .app-account { flex-wrap: wrap; }
.filter-grid > *, .report-filter-grid > *, .schedule-grid > *, .stat-heading > * { min-width: 0; }
html[data-reading-zoom="175"] .app-nav .icon, html[data-reading-zoom="200"] .app-nav .icon { display: none; }
.topline-separator { color: #a7b3c1; padding: 0 8px; }
.private-badge {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 0.625rem; font-weight: 500; letter-spacing: .1px; color: #176a62;
  background: #e7f5f1; padding: 6px 11px; border-radius: 30px;
}
.private-badge > span { width: 5px; height: 5px; background: #1a8b76; border-radius: 50%; }
.page-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.eyebrow { font-size: 0.5625rem; letter-spacing: 1.8px; font-weight: 750; color: #14766e; margin: 0 0 9px; }
.panel-app h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -1px; font-weight: 650; margin: 0 0 10px; }
.panel-app h2 { font-size: 1rem; line-height: 1.4; margin: 0 0 14px; font-weight: 650; letter-spacing: -.25px; }
.lead, .muted { color: var(--muted); }
.lead { margin: 0; font-size: 0.8125rem; line-height: 1.7; }
.small { font-size: 0.75rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 41px;
  padding: 10px 15px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--navy); font-weight: 650; cursor: pointer; white-space: normal; max-width: 100%; overflow-wrap: anywhere; text-align: center; font-size: 0.75rem;
}
.button:hover { background: #eef2f8; text-decoration: none; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #102f51; }
.button.primary:hover { background: #26c6b9; border-color: #26c6b9; }
.button.primary > span { font-size: 1.25rem; font-weight: 400; line-height: 1; }
.full { width: 100%; }
.notice {
  display: flex; align-items: flex-start; gap: 10px; padding: 13px 16px; border-radius: 7px;
  background: #fff8e8; border: 1px solid #eee0bf; color: #786025; margin: 0 0 24px; font-size: 0.6875rem; line-height: 1.7;
}
.notice-info { background: #edf4fb; border-color: #dce7f4; color: #496480; }
.notice-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy); flex-shrink: 0; margin-top: 6px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 20px; min-width: 0; }
.stat-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 0.6875rem; }
.stat-heading .icon { width: 18px; height: 18px; color: #859bb5; }
.stat > strong { display: block; font-size: 1.9375rem; line-height: 1.3; font-weight: 650; letter-spacing: -.8px; margin: 12px 0 7px; }
.stat > small { font-size: 0.625rem; color: var(--muted); }
.stat-accent { background: var(--accent-soft); border-color: #c9e9e4; }
.stat-accent .stat-heading, .stat-accent .icon { color: #14766e; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 24px; margin-bottom: 24px; min-width: 0; }
.filters { padding: 20px; }
.filters h2 { font-size: 0.75rem; margin-bottom: 15px; }
.filter-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr auto auto; gap: 12px; align-items: end; }
.panel-app label { display: block; font-weight: 600; font-size: 0.6875rem; margin-bottom: 6px; }
.panel-app input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .panel-app select {
  border: 1px solid #d8e0e9; background: #fff; padding: 10px 11px; border-radius: 6px;
  width: 100%; min-height: 41px; color: var(--ink); min-width: 0; font-size: 0.75rem;
}
.panel-app input::placeholder { color: #8b97a6; }
.panel-app input[type=date] { cursor: pointer; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: start; gap: 22px; }
.table-card { padding: 0; overflow: hidden; }
.table-toolbar { padding: 20px 22px; display: flex; justify-content: space-between; gap: 15px; align-items: center; }
.table-toolbar h2 { font-size: 0.875rem; margin: 0 0 4px; }
.table-toolbar .muted { font-size: 0.625rem; }
.table-link { font-size: 0.6875rem; font-weight: 600; white-space: nowrap; }
.table-scroll { overflow-x: auto; scrollbar-color: #8ca0b7 #edf2f7; }
.panel-app table { border-collapse: collapse; width: 100%; font-size: 0.6875rem; }
.panel-app th {
  padding: 12px 18px; background: #f8fafc; color: var(--muted); font-weight: 600; white-space: nowrap;
  text-align: left; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.625rem;
}
.panel-app td { padding: 15px 18px; border-bottom: 1px solid #edf1f6; vertical-align: middle; }
.panel-app tbody tr:last-child td { border-bottom: 0; }
.panel-app tbody tr:hover { background: #fcfdff; }
.panel-app td small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.625rem; }
.person-name { display: block; font-weight: 650; color: var(--navy); min-width: 125px; }
.date-cell { white-space: nowrap; }
.badge { display: inline-block; font-size: 0.625rem; padding: 5px 8px; background: #edf2f8; color: #456381; border-radius: 5px; white-space: nowrap; font-weight: 550; }
.punch-entrada { color: #167064; background: #e7f6f1; }
.punch-almoco_inicio { color: #8a6524; background: #fdf4e1; }
.punch-almoco_fim { color: #426c94; background: #edf4fc; }
.punch-saida { color: #6e5890; background: #f1edf7; }
.table-bottom { border-top: 1px solid var(--line); padding: 15px 22px; color: var(--muted); font-size: 0.625rem; }
.dashboard-aside .card { padding: 22px; }
.breakdown h2, .team-card h2 { font-size: 0.9375rem; margin-bottom: 7px; }
.breakdown > .muted { font-size: 0.6875rem; line-height: 1.7; margin: 0 0 23px; }
.breakdown-item { margin-top: 18px; }
.breakdown-item > div:first-child { display: flex; justify-content: space-between; gap: 12px; font-size: 0.6875rem; color: var(--muted); margin-bottom: 8px; }
.breakdown-item strong { color: var(--ink); font-weight: 650; }
.breakdown-track { height: 5px; border-radius: 4px; overflow: hidden; background: #f0f3f7; }
.breakdown-track > span { display: block; height: 100%; background: var(--accent); border-radius: 4px; }
.breakdown-track .fill-almoco_inicio { background: #dcb973; }
.breakdown-track .fill-almoco_fim { background: #7399c0; }
.breakdown-track .fill-saida { background: #9981b7; }
.team-card dl { margin: 20px 0; font-size: 0.6875rem; }
.team-card dl > div { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.team-card dt { color: var(--muted); }
.team-card dd { margin: 0; display: flex; align-items: center; gap: 7px; font-weight: 650; }
.status-dot { display: inline-block; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.empty { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty .icon { width: 36px; height: 36px; color: #a5b9cc; margin-bottom: 12px; }
.empty h2 { color: var(--navy); margin: 10px 0; }
.empty p { margin: 0; font-size: 0.75rem; }
.auth-wrap { max-width: 620px; margin: 65px auto; }
.auth-wrap h1 { font-size: 2.375rem; }
.auth-wrap > .lead { margin: 20px 0 28px; max-width: 470px; }
.auth-card { max-width: 450px; padding: 28px; }
.auth-card h2 { font-size: 1.0625rem; margin-bottom: 23px; }
.auth-card .field { margin-bottom: 18px; }
.auth-card .button { margin-top: 6px; }
.auth-help { color: var(--muted); font-size: 0.625rem; margin: 18px 0 0; }
.auth-page .app-shell { display: block; }
.auth-page .app-main { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; max-width: none; }
.auth-page .auth-wrap { width: 100%; max-width: 420px; margin: 18px auto 36px; }
.auth-page .auth-card { width: 100%; max-width: none; padding: 30px 34px; margin: 0; box-shadow: 0 12px 36px #163a7008; }
.auth-brand { display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.auth-brand img { display: block; width: 248px; max-width: 100%; height: auto; }
.auth-heading { margin-bottom: 26px; text-align: center; }
.auth-heading h1 { font-size: 1.625rem; letter-spacing: -.6px; margin-bottom: 8px; }
.auth-heading .lead { font-size: 0.75rem; }
.auth-page .auth-help { text-align: center; }
.auth-page .app-footer { margin-top: auto; }
.form-errors, .field-errors { color: #a72842; font-size: 0.75rem; }
.form-errors { background: #fff0f2; padding: 10px 14px; border-radius: 5px; margin-bottom: 18px; }
.form-errors ul, .field-errors ul { margin: 0; padding-left: 16px; }
.app-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; font-size: 0.625rem; color: #8d9bab; padding: 24px 0; margin-top: 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 12px; background: #fff; color: var(--navy); }
.skip-link:focus { left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1000px; }
.schedule-grid .card { margin: 0; }
.schedule-grid .field { margin-top: 22px; }
.checkbox-field label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.checkbox-field input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.schedule-form > .button { margin-top: 24px; }
.schedule-form input:disabled { color: var(--muted); background: #f8fafc; }
.report-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.report-filter-grid .field { min-width: 0; }
.report-filter-grid .field > .small { margin-bottom: 0; }
.report-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.report-export-actions { padding: 20px 22px; margin: 0; border-top: 1px solid var(--line); }
.report-selection { border: 0; margin: 0; padding: 0 22px 18px; }
.report-selection #id_selecao { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.report-selection label { display: flex; align-items: center; gap: 7px; }
.report-selection input[type=radio], #report-form input[type=checkbox] { accent-color: var(--accent); width: 17px; height: 17px; }
.report-employee-scroll { max-height: 360px; }
.report-employee-scroll thead { position: sticky; top: 0; z-index: 1; }
.report-person-label { cursor: pointer; color: var(--navy); font-size: 0.75rem; }
.report-pagination { display: flex; align-items: center; gap: 16px; padding: 16px 22px; font-size: 0.6875rem; color: var(--muted); }
.report-preview { min-width: 1050px; }
.report-notes { min-width: 200px; max-width: 320px; overflow-wrap: anywhere; }
@media (min-width: 1800px) { .app-main { margin: 0 auto; } }
@media (max-width: 1250px) {
  .app-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .app-sidebar { padding: 28px 14px 20px; }
  .app-main { padding: 22px 25px 0; }
  .metric-grid { gap: 12px; }
  .stat { padding: 17px; }
  .stat-heading { font-size: 0.625rem; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 235px; gap: 18px; }
  .filter-grid { grid-template-columns: 1fr 1fr 1.4fr; }
  .filter-grid > .button { width: fit-content; }
}
@media (max-width: 1000px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dashboard-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .report-filter-grid { grid-template-columns: minmax(0, 1fr); }
  .report-pagination { flex-wrap: wrap; padding: 16px; }
  .report-export-actions { padding: 18px; }
  .schedule-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .app-brand .company-logo { max-width: 130px; height: auto; }
  .auth-page .auth-wrap { margin: 4px auto 26px; }
  .auth-page .auth-card { padding: 24px; }
  .auth-brand img { width: 220px; }
  .auth-heading h1 { font-size: 1.5625rem; }
  .app-shell { display: block; }
  .app-sidebar { min-height: 0; padding: 17px 20px; }
  .app-brand { flex-direction: row; justify-content: space-between; gap: 15px; padding: 10px 14px; }
  .brand-wordmark { font-size: 1.5625rem; }
  .brand-mark .icon { width: 24px; height: 24px; }
  .app-brand small { font-size: 0.625rem; }
  .app-nav { margin-top: 16px; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .nav-caption, .sidebar-footer, .sidebar-copy, .app-nav .icon { display: none; }
  .app-nav a { font-size: 0.6875rem; padding: 9px 11px; min-height: 36px; white-space: nowrap; flex-shrink: 0; margin: 0; }
  .app-nav a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
  .app-account { display: flex; align-items: center; gap: 18px; margin: 12px 0 0; padding: 12px 0 0; }
  .app-account strong { margin: 0; font-size: 0.6875rem; }
  .app-account a, .app-sidebar .text-button { font-size: 0.625rem; }
  .app-account .text-button { margin: 0; }
  .app-account form { margin-left: auto; }
  .app-main { padding: 18px 16px 0; }
  .app-topline { margin-bottom: 28px; font-size: 0.5rem; letter-spacing: 1px; }
  .topline-separator { padding: 0 3px; }
  .private-badge { font-size: 0.5625rem; padding: 5px 9px; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 18px; }
  .panel-app h1 { font-size: 1.75rem; }
  .notice { font-size: 0.625rem; }
  .stat { padding: 16px; }
  .stat > strong { font-size: 1.75rem; }
  .stat > small { font-size: 0.5625rem; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .filter-grid .field:nth-child(3) { grid-column: 1 / -1; }
  .filter-grid > .button { width: 100%; }
  .card, .filters { padding: 18px; }
  .table-card { padding: 0; }
  .table-toolbar { padding: 17px; }
  .panel-app th, .panel-app td { padding-left: 14px; padding-right: 14px; }
  .dashboard-aside { grid-template-columns: 1fr; gap: 0; }
  .auth-wrap { margin: 28px auto; }
  .auth-wrap h1 { font-size: 1.9375rem; }
  .auth-card { max-width: none; }
  .app-footer { font-size: 0.5625rem; }
}
.choice-picker { border: 1px solid var(--line); background: #fff; border-radius: 6px; font-size: .75rem; }
.choice-picker > summary { padding: 10px 11px; cursor: pointer; }

.panel-app .choice-options label { display: flex; align-items: start; gap: 7px; padding: 5px 0; font-weight: 400; }
.choice-options input { flex-shrink: 0; margin-top: 3px; }
.planning-form .field, #location-form > div, .schedule-grid form > div { margin-bottom: 18px; }
.planning-form .team-picker { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: 6px; margin-top: 12px; padding: 12px; }
.team-picker label { display: flex; align-items: start; gap: 8px; padding: 6px 0; }
.calendar-help { padding: 0 22px 15px; }
.calendar-scroll { overflow-x: auto; }
.panel-app .month-calendar { table-layout: fixed; min-width: 44rem; }
.panel-app .month-calendar th { width: 14.2857%; }
.panel-app .month-calendar td { vertical-align: top; padding: 12px; border-right: 1px solid var(--line); height: 150px; overflow-wrap: anywhere; }
.panel-app .month-calendar .calendar-closed { background: #edf3f8; }
.calendar-day-number { display: flex; flex-wrap: wrap; gap: 7px; align-items: start; justify-content: space-between; margin-bottom: 9px; }
.panel-app .calendar-day-number label { display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.calendar-status, .calendar-time, .calendar-event, .calendar-exception { display: block; margin: 5px 0; font-size: .75rem; }
.calendar-event { padding: 5px 7px; background: var(--accent-soft); border-radius: 4px; }
.month-calendar p { margin: 8px 0; font-size: .6875rem; }

.button:disabled { opacity: .5; cursor: default; }

.panel-app .report-filter-grid fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }

/* Shared floating lists for report controls and table headers. */
.filter-options {
  display: none; position: fixed; inset: auto; z-index: 1100; margin: 0; box-sizing: border-box;
  flex-direction: column; gap: 8px; width: 18rem; max-width: calc(100vw - 16px);
  padding: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 7px; box-shadow: 0 8px 24px #163a7026; white-space: normal;
  font-size: .75rem; font-weight: 400; text-transform: none; overflow: auto;
}
[data-filter-menu][open] > .filter-options { display: flex; }
.filter-options-list, .grid-options-list { min-height: 0; max-height: 16rem; overflow: auto; overscroll-behavior: contain; }
.filter-options label { display: flex; align-items: start; gap: 7px; margin: 9px 0; font-size: .75rem; overflow-wrap: anywhere; }
.filter-options input { margin-top: 3px; }
.filter-options > strong, .filter-options > button, .filter-options > p, .filter-options > .grid-option-actions { flex-shrink: 0; }

.excuse-form textarea { width: 100%; max-width: 40rem; box-sizing: border-box; font: inherit; padding: 12px; border: 1px solid var(--line); border-radius: 6px; }

.pauses-editor [data-pause-row][hidden] { display: none !important; }
.pauses-editor fieldset { min-width: 0; padding: 16px; margin: 12px 0; }
.pauses-editor input { max-width: 100%; box-sizing: border-box; }
.pauses-editor input[type="checkbox"] { width: auto; }

.portal-page .app-shell { display: block; }
.portal-page .app-main { max-width: 1500px; margin: 0 auto; min-height: 100vh; }
.portal-page .card { margin-bottom: 20px; }
.portal-page .field { margin: 16px 0; }
.portal-page .field > label { display: block; margin-bottom: 6px; }
.portal-page .field input, .portal-page .field select, .portal-page .field textarea { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding: 10px; }
.auth-card code { overflow-wrap: anywhere; }

.portal-page code { overflow-wrap: anywhere; word-break: break-word; }
.auth-card .mfa-qr { display: block; max-width: 100%; height: auto; margin: 24px auto; }
.mfa-steps { padding-left: 22px; line-height: 1.6; }
.mfa-steps li { margin-bottom: 10px; }
.trusted-browser { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); }
.operator-nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px; margin-bottom: 24px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.operator-nav strong { color: var(--navy); margin-right: auto; }
.support-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
