:root {
    --page-bg: #f3f4f6;
    --surface: #ffffff;
    --surface-soft: #fbfcff;
    --ink: #0d1b2a;
    --muted: #7a8499;
    --line: #e5e9f2;
    --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.08);
    --blue: #2563eb;
    --green: #22c55e;
    --teal: #14b8a6;
    --navy: #0d1b2a;
    --gold: #14b8a6;
    --violet: #2563eb;
    --pending-bg: #fff5e3;
    --pending-ink: #d68c1a;
    --success-bg: #ecfdf5;
    --success-ink: #15803d;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    font-family: "Poppins", "Segoe UI Variable", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--page-bg);
    color: var(--ink);
    font-size: 14px;
}
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

a,
a:hover,
a:focus,
a:visited {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, p {
    margin: 0;
}

h1:focus,
h1:focus-visible,
.dashboard-title:focus,
.dashboard-title:focus-visible {
    outline: none;
}

button,
input,
select {
    font: inherit;
}

.dashboard-header {
    margin-bottom: 19px;
}

.school-alert {
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 16px;
    padding: 12px 14px;
    font-weight: 700;
}

.school-alert-warning {
    background: #fff7e8;
    border-color: #f4d7a5;
    color: #8a5a12;
}

.dashboard-title {
    font-size: 2.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.dashboard-subtitle {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.94rem;
}

.dashboard-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.dashboard-stat-card {
    min-height: 152px;
    padding: 16px 18px 14px;
    border: 1px solid #e4ebf5;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.theme-blue { background: linear-gradient(180deg, #eff6ff 0%, #f9fbff 100%); }
.theme-green { background: linear-gradient(180deg, #ecfdf5 0%, #fbfefb 100%); }
.theme-gold { background: linear-gradient(180deg, #ecfeff 0%, #f8fffe 100%); }
.theme-violet { background: linear-gradient(180deg, #f3f4f6 0%, #fbfcff 100%); }

.dashboard-stat-icon-wrap {
    margin-bottom: 13px;
}

.dashboard-stat-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: currentColor;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.14);
}

.theme-blue .dashboard-stat-icon { color: #2563eb; }
.theme-green .dashboard-stat-icon { color: #22c55e; }
.theme-gold .dashboard-stat-icon { color: #14b8a6; }
.theme-violet .dashboard-stat-icon { color: #0d1b2a; }

.dashboard-svg-icon {
    width: 22px;
    height: 22px;
}

.dashboard-stat-meta {
    color: #4a5570;
    font-size: 0.88rem;
    font-weight: 700;
}

.dashboard-stat-value {
    margin-top: 6px;
    font-size: 2.56rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.dashboard-stat-subvalue {
    margin-top: 3px;
    color: #677387;
    font-size: 0.82rem;
}

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

.dashboard-panel,
.panel-card,
.panel-subcard,
.kpi-card {
    border: 1px solid #e4ebf5;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.dashboard-panel {
    padding: 16px 18px 14px;
}

.dashboard-panel-head,
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
}

.dashboard-panel-head h2,
.section-head h2 {
    font-size: 0.95rem;
    font-weight: 800;
}

.dashboard-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 11px;
    border: 1px solid #dde5f0;
    background: #fff;
    color: #2563eb;
    font-size: 0.84rem;
    font-weight: 700;
}

.dashboard-panel-footer-link {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: #2563eb;
    font-size: 0.88rem;
    font-weight: 800;
}

.dashboard-empty-state {
    margin: 0;
    min-height: 160px;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-weight: 700;
    text-align: center;
}

.attendance-widget {
    display: grid;
    grid-template-columns: 228px 1fr;
    gap: 10px;
    align-items: center;
}

.attendance-donut {
    display: grid;
    place-items: center;
    width: 186px;
    height: 186px;
    margin: 2px auto 0;
    border-radius: 50%;
}

.attendance-donut-center {
    display: grid;
    place-items: center;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: white;
    box-shadow: inset 0 0 0 1px var(--line);
}

.attendance-donut-center strong {
    font-size: 2.22rem;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.attendance-donut-center span {
    margin-top: -4px;
    color: var(--muted);
    font-size: 0.78rem;
}

.attendance-legend {
    display: grid;
    gap: 11px;
}

.attendance-legend-row {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    gap: 8px;
    align-items: center;
    color: #374151;
    font-size: 0.86rem;
}

.attendance-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.attendance-legend-dot.present { background: #22c55e; }
.attendance-legend-dot.absent { background: #ef635d; }
.attendance-legend-dot.late { background: #ffb224; }
.attendance-legend-dot.vacation { background: #3b82f6; }
.attendance-legend-dot.missing { background: #c7d2e4; }

.dashboard-list,
.dashboard-table-list {
    display: grid;
    gap: 5px;
}

.dashboard-list-item,
.dashboard-table-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #edf1f6;
}

.dashboard-table-row {
    grid-template-columns: 56px 56px 1fr auto;
}

.dashboard-list-item:last-of-type,
.dashboard-table-row:last-of-type {
    border-bottom: none;
}

.dashboard-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dbeafe 0%, #c7d2fe 100%);
    color: #1d4ed8;
    font-size: 0.64rem;
    font-weight: 800;
}

.dashboard-avatar.accent {
    background: linear-gradient(135deg, #fce7f3 0%, #f5d0fe 100%);
    color: #9d174d;
}

.dashboard-list-copy {
    min-width: 0;
}

.dashboard-list-title,
.dashboard-table-strong {
    font-size: 0.91rem;
    font-weight: 800;
}

.dashboard-list-subtitle,
.dashboard-table-subtitle {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.81rem;
}

.dashboard-list-time,
.dashboard-table-time {
    color: #556071;
    font-size: 0.8rem;
    font-weight: 700;
}

.dashboard-list-status,
.pill,
.pill-success,
.pill-warning,
.pill-muted {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.dashboard-list-status.pending,
.pill-warning {
    background: var(--pending-bg);
    color: var(--pending-ink);
}

.dashboard-list-status.success,
.pill-success {
    background: var(--success-bg);
    color: var(--success-ink);
}

.pill-muted {
    background: #eef2f7;
    color: #6b7280;
}

.work-greeting-card,
.work-panel,
.work-alert-card {
    border: 1px solid #e2e8f2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.work-greeting-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding: 18px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eefdf9 100%);
}

.work-greeting-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.work-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #14b8a6 0%, #22c55e 100%);
    color: white;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(20, 184, 166, 0.18);
}

.work-greeting-card h2 {
    font-size: 1rem;
    font-weight: 800;
}

.work-greeting-card p {
    margin-top: 3px;
    color: #63708a;
    font-size: 0.88rem;
}

.work-greeting-card p strong {
    color: #2563eb;
}

.work-greeting-card p span {
    color: #dc2626;
}

.work-greeting-content {
    min-width: 0;
}

.work-greeting-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.work-greeting-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid #dce5f1;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: #52607a;
    font-size: 0.74rem;
    font-weight: 800;
}

.work-greeting-pill strong {
    color: #0d1b2a;
    font-size: 0.88rem;
}

.work-greeting-pill.success { border-color: #bbf7d0; background: #f0fdf4; color: #15803d; }
.work-greeting-pill.warning { border-color: #fed7aa; background: #fff7ed; color: #c2410c; }
.work-greeting-pill.danger { border-color: #fecaca; background: #fff1f2; color: #b91c1c; }
.work-greeting-pill.muted { background: #f8fafc; color: #64748b; }

.work-filter-button,
.work-alert-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #dce5f1;
    border-radius: 11px;
    background: #fff;
    color: #213455;
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
}

.work-alert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 4px 0 18px;
}

.work-alert-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    gap: 12px 16px;
    min-height: 216px;
    padding: 18px 20px;
    overflow: hidden;
}

.work-alert-card.danger { border-color: #fecaca; background: linear-gradient(180deg, #fffafa 0%, #fff 100%); }
.work-alert-card.warning { border-color: #fed7aa; background: linear-gradient(180deg, #fffaf2 0%, #fff 100%); }
.work-alert-card.gold { border-color: #fde68a; background: linear-gradient(180deg, #fffbeb 0%, #fff 100%); }
.work-alert-card.blue { border-color: #bfdbfe; background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.work-alert-card.success { border-color: #bbf7d0; background: linear-gradient(180deg, #f7fff9 0%, #fff 100%); }

.work-alert-icon,
.work-quick-icon {
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
}

.work-alert-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}

.work-quick-icon {
    width: 44px;
    height: 44px;
}

.work-alert-card.danger .work-alert-icon { background: #fee2e2; color: #ef4444; }
.work-alert-card.warning .work-alert-icon { background: #ffedd5; color: #f97316; }
.work-alert-card.gold .work-alert-icon { background: #fef3c7; color: #d97706; }
.work-alert-card.blue .work-alert-icon { background: #dbeafe; color: #2563eb; }
.work-alert-card.success .work-alert-icon { background: #dcfce7; color: #16a34a; }

.work-alert-body {
    min-width: 0;
}

.work-alert-body h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 900;
}

.work-alert-body > strong {
    display: block;
    margin-top: 4px;
    color: #dc2626;
    font-size: 0.86rem;
    line-height: 1.25;
}

.work-alert-card.warning .work-alert-body > strong,
.work-alert-card.gold .work-alert-body > strong { color: #ea580c; }
.work-alert-card.blue .work-alert-body > strong { color: #2563eb; }
.work-alert-card.success .work-alert-body > strong { color: #15803d; }

.work-alert-count {
    color: currentColor;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
}

.work-alert-card.danger .work-alert-count { color: #dc2626; }
.work-alert-card.warning .work-alert-count,
.work-alert-card.gold .work-alert-count { color: #ea580c; }
.work-alert-card.blue .work-alert-count { color: #2563eb; }
.work-alert-card.success .work-alert-count { color: #16a34a; }

.work-alert-list {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    color: #52607a;
    font-size: 0.84rem;
    line-height: 1.4;
}

.work-alert-list li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.work-alert-bullet {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #64748b;
}

.work-alert-card.danger .work-alert-bullet { background: #ef4444; }
.work-alert-card.warning .work-alert-bullet,
.work-alert-card.gold .work-alert-bullet { background: #f59e0b; }
.work-alert-card.blue .work-alert-bullet { background: #3b82f6; }
.work-alert-card.success .work-alert-bullet { background: #22c55e; }

.work-alert-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-alert-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 900;
}

.work-alert-card.danger .work-alert-chip { background: #fee2e2; color: #dc2626; }
.work-alert-card.warning .work-alert-chip,
.work-alert-card.gold .work-alert-chip { background: #fff7ed; color: #ea580c; }
.work-alert-card.blue .work-alert-chip { background: #eff6ff; color: #2563eb; }
.work-alert-card.success .work-alert-chip { background: #ecfdf5; color: #15803d; }

.work-filter-button {
    border-color: #dbe7f4;
    background: #fff;
    color: #213455;
    box-shadow: none;
}

.work-alert-action {
    grid-column: 1 / -1;
    align-self: end;
    width: 100%;
    min-height: 44px;
    border-color: #dce5f1;
    background: #fff;
    color: #2563eb;
}

.work-alert-card.danger .work-alert-action { border-color: #fecaca; background: #fff5f5; color: #dc2626; }
.work-alert-card.warning .work-alert-action,
.work-alert-card.gold .work-alert-action { border-color: #fed7aa; background: #fff8ed; color: #ea580c; }
.work-alert-card.blue .work-alert-action { border-color: #bfdbfe; background: #f5f9ff; color: #2563eb; }
.work-alert-card.success .work-alert-action { border-color: #bbf7d0; background: #f6fff8; color: #15803d; }
.work-main-grid,
.work-bottom-grid {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.work-main-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.work-bottom-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.work-panel {
    padding: 16px 18px;
}

.work-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.work-panel-head h2 {
    font-size: 0.98rem;
    font-weight: 800;
}

.work-panel-head p {
    margin-top: 4px;
    color: #71809a;
    font-size: 0.82rem;
}

.work-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.work-tabs button {
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #e4ebf5;
    border-radius: 10px;
    background: #f7f9fc;
    color: #5d6a82;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
}

.work-tabs button.active {
    border-color: #cfe2ff;
    background: #eaf3ff;
    color: #2563eb;
}

.work-task-table {
    display: grid;
}

.work-task-row {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 100px 90px 148px;
    gap: 12px;
    align-items: center;
    min-height: 48px;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f6;
}

.work-task-head {
    min-height: 32px;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 800;
}

.work-task-title {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.work-task-title strong,
.work-timeline-item strong {
    display: block;
    color: #0d1b2a;
    font-size: 0.84rem;
    font-weight: 800;
}

.work-task-title small,
.work-timeline-item p {
    display: block;
    margin-top: 2px;
    color: #71809a;
    font-size: 0.78rem;
    line-height: 1.35;
}

.work-check-dot {
    width: 18px;
    height: 18px;
    border: 1.8px solid #c5d1e2;
    border-radius: 50%;
    flex: none;
}

.work-priority {
    justify-self: start;
    min-width: 66px;
    padding: 5px 9px;
    border-radius: 9px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.work-priority.high { background: #fee2e2; color: #dc2626; }
.work-priority.medium { background: #ffedd5; color: #ea580c; }
.work-priority.low { background: #dcfce7; color: #15803d; }

.work-task-action {
    justify-self: stretch;
    padding: 8px 12px;
    border: 1px solid #d7e1ef;
    border-radius: 10px;
    color: #1d4ed8;
    font-size: 0.76rem;
    font-weight: 800;
    text-align: center;
}

.work-task-row:not(.work-task-head):hover .work-task-action {
    border-color: #9fc3ff;
    background: #eef5ff;
}

.work-empty-state {
    padding: 22px 0;
    color: #72809a;
    font-weight: 700;
    text-align: center;
}

.work-timeline {
    display: grid;
    gap: 2px;
}

.work-timeline-item {
    display: grid;
    grid-template-columns: 48px 14px 1fr;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
}

.work-timeline-time {
    color: #52607a;
    font-size: 0.78rem;
    font-weight: 700;
}

.work-timeline-dot {
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: #94a3b8;
    box-shadow: 0 0 0 4px #f1f5f9;
}

.work-timeline-item.success .work-timeline-dot { background: #22c55e; }
.work-timeline-item.warning .work-timeline-dot { background: #f59e0b; }
.work-timeline-item.danger .work-timeline-dot { background: #ef4444; }

.work-quick-actions,
.work-today-grid {
    display: grid;
    gap: 10px;
}

.work-quick-actions {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.work-quick-action,
.work-today-card {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    min-height: 96px;
    border: 1px solid #e1e8f2;
    border-radius: 12px;
    background: #fbfcff;
    color: #233654;
    text-align: center;
}

.work-quick-action strong {
    max-width: 98px;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.work-quick-icon.green { background: #dcfce7; color: #16a34a; }
.work-quick-icon.gold { background: #ffedd5; color: #ea580c; }
.work-quick-icon.purple { background: #f3e8ff; color: #7c3aed; }
.work-quick-icon.teal { background: #ccfbf1; color: #0f766e; }

.work-today-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-today-card {
    min-height: 84px;
    gap: 5px;
}

.work-today-card svg {
    width: 18px;
    height: 18px;
}

.work-today-card strong {
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 800;
}

.work-today-card span {
    color: #52607a;
    font-size: 0.76rem;
    font-weight: 800;
}

.work-today-card.success { background: #f0fdf4; color: #16a34a; }
.work-today-card.warning { background: #fff7ed; color: #ea580c; }
.work-today-card.danger { background: #fff1f2; color: #dc2626; }
.work-today-card.blue { background: #eff6ff; color: #2563eb; }
.work-today-card:hover,
.work-today-card:focus-visible,
.work-quick-action:hover,
.work-quick-action:focus-visible,
.work-alert-action:hover,
.work-alert-action:focus-visible {
    transform: translateY(-1px);
    border-color: #c9d7ea;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}
.portal-shell .nav-link.active,
.portal-shell .portal-nav-primary.active-ready {
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
}

.panel-card {
    padding: 18px;
}

.panel-subcard {
    padding: 16px;
    background: var(--surface-soft);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #edf1f6;
    text-align: left;
}

.data-table th {
    color: #64748b;
    font-size: 0.84rem;
}

.group-grid,
.queue-stack,
.kpi-grid,
.two-column {
    display: grid;
    gap: 14px;
}

.group-grid,
.kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
    margin-bottom: 4px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.7rem;
    font-weight: 800;
}

.pill-row,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-banner {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #eef4ff;
    color: #28417c;
    font-size: 0.92rem;
}

.action-button,
.ghost-button {
    min-height: 38px;
    padding: 0 14px;
    border: none;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.action-button {
    background: #2563eb;
    color: white;
}

.ghost-button {
    background: #eef2f7;
    color: #334155;
}

.code-input {
    min-width: 124px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
}

.danger-copy {
    color: #cf432c;
    font-weight: 700;
}

.placeholder-shell {
    max-width: 720px;
    padding: 22px;
    border: 1px solid #e4ebf5;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow-soft);
}

.placeholder-kicker {
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 800;
}

#blazor-error-ui {
    display: none;
}

.theme-danger {
    background: linear-gradient(180deg, #fff3f3 0%, #fffafa 100%);
}

.theme-danger .school-metric-icon {
    color: #ef4444;
}

.theme-danger .school-metric-label {
    color: #c83535;
}

.school-screen {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.school-page-header h1 {
    font-size: 2.3rem;
    line-height: 0.98;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.school-page-header p {
    margin-top: 8px;
    color: #72809a;
    font-size: 1.01rem;
}

.school-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    min-width: 0;
}

.school-metric-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-width: 0;
    min-height: 126px;
    padding: 20px 18px 16px;
    border: 1px solid #e4ebf5;
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.school-metric-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.15);
}

.school-stat-svg {
    width: 22px;
    height: 22px;
}

.school-metric-copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.school-metric-label {
    font-size: 0.95rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.school-metric-value {
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #142447;
}

.company-evidence-hash-value {
    max-width: 100%;
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.school-metric-subvalue {
    color: #67758b;
    font-size: 0.84rem;
    overflow-wrap: anywhere;
}

.theme-blue .school-metric-icon { color: #2563eb; }
.theme-green .school-metric-icon { color: #22c55e; }
.theme-gold .school-metric-icon { color: #14b8a6; }
.theme-violet .school-metric-icon { color: #0d1b2a; }

.theme-blue .school-metric-label { color: #1d4ed8; }
.theme-green .school-metric-label { color: #15803d; }
.theme-gold .school-metric-label { color: #0f766e; }
.theme-violet .school-metric-label { color: #0d1b2a; }

.school-panel {
    min-width: 0;
    padding: 18px 20px;
}

.school-panel-header,
.school-subpanel-header,
.school-ops-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.school-panel-header {
    margin-bottom: 16px;
}

.school-panel-header h2,
.school-section-title,
.school-subpanel h3,
.school-ops-panel h3 {
    margin: 0;
    font-size: 1.06rem;
    font-weight: 800;
}

.school-section-title {
    margin: 4px 0 14px;
}

.table-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 14px;
}

.school-subpanel-header.table-view-header {
    margin-bottom: 14px;
}

.table-view-header h3,
.table-view-header .school-section-title {
    margin: 0;
}

.column-picker {
    position: relative;
    flex: none;
    margin-left: auto;
}

.column-picker-toggle {
    width: 40px;
    height: 40px;
    margin-left: 0;
}

.column-picker-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 35;
    display: grid;
    gap: 4px;
    min-width: 220px;
    max-height: min(68vh, 520px);
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #dbe4f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.column-picker-option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #172033;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.column-picker-option:hover {
    background: #f5f5f7;
}

.column-picker-option input {
    width: 17px;
    height: 17px;
    accent-color: #2f7df4;
}

.school-panel-actions,
.school-toolbar-actions,
.school-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.school-toolbar-actions {
    justify-content: flex-end;
}

.school-toolbar-actions-row {
    width: 100%;
    margin-bottom: 14px;
}

.school-toolbar-actions-vertical {
    align-items: flex-end;
}

.school-primary-button,
.school-secondary-button,
.school-filter-button,
.school-inline-success,
.school-secondary-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.school-primary-button:hover,
.school-secondary-button:hover,
.school-filter-button:hover,
.school-inline-success:hover,
.school-secondary-link-button:hover {
    transform: translateY(-1px);
}

.school-primary-button {
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.18);
}

.school-secondary-button,
.school-filter-button,
.school-secondary-link-button {
    border-color: #d9e3f0;
    background: #fff;
    color: #213455;
}

.school-file-button {
    position: relative;
    overflow: hidden;
}

.school-file-button input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.school-file-button input[type="file"]:disabled {
    cursor: not-allowed;
}

.employee-file-menu {
    position: relative;
    display: inline-flex;
}

.employee-file-menu-panel {
    right: auto;
    left: 0;
}

.employee-file-menu-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #172033;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.employee-file-menu-option:hover {
    background: #f5f5f7;
}

.employee-file-menu-option svg {
    width: 16px;
    height: 16px;
}

.employee-management-toolbar {
    align-items: flex-start;
}

.employee-action-menu-panel {
    min-width: 260px;
    padding: 8px;
    z-index: 40;
}

.employee-file-menu-option:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.employee-file-menu-option:disabled:hover {
    background: transparent;
}

.employee-file-input-option {
    position: relative;
    overflow: hidden;
}

.employee-file-input-option input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.employee-file-input-option input[type="file"]:disabled {
    cursor: not-allowed;
}
.employee-import-progress {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #cddcf7;
    border-radius: 16px;
    background: #f6f9ff;
}

.employee-import-progress-copy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.employee-import-progress-copy > div {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.employee-import-progress-copy strong {
    color: #13213b;
}

.employee-import-progress-copy > div span,
.employee-import-progress small {
    color: #667391;
}

.employee-import-progress-count {
    margin-left: auto;
    color: #244fc7;
    font-weight: 800;
    white-space: nowrap;
}

.employee-import-spinner {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
    border: 3px solid #cbd9f4;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: employee-import-spin 0.8s linear infinite;
}

.employee-import-progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfe8f7;
}

.employee-import-progress-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb 0%, #16b8a6 100%);
    transition: width 0.2s ease;
}

.employee-import-progress-track.indeterminate > span {
    width: 35%;
    animation: employee-import-indeterminate 1.1s ease-in-out infinite;
}

@keyframes employee-import-spin {
    to { transform: rotate(360deg); }
}

@keyframes employee-import-indeterminate {
    from { transform: translateX(-110%); }
    to { transform: translateX(300%); }
}

@media (prefers-reduced-motion: reduce) {
    .employee-import-spinner,
    .employee-import-progress-track.indeterminate > span {
        animation: none;
    }
}

.employee-menu-field {
    display: grid;
    gap: 6px;
    padding: 10px;
    border-top: 1px solid #e7edf5;
}

.employee-menu-field span {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.employee-menu-field .school-code-input {
    min-height: 38px;
    width: 100%;
}

.school-inline-success {
    min-height: 34px;
    padding: 0 12px;
    border-color: #9ddab6;
    background: #ecf9f0;
    color: #1f9a52;
}

.school-primary-button svg,
.school-secondary-button svg,
.school-filter-button svg,
.school-icon-button svg,
.school-phone-cell svg {
    width: 16px;
    height: 16px;
    flex: none;
}

.school-filters-row,
.school-toolbar-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}

.school-import-errors {
    margin: 8px 0 0;
    padding-left: 18px;
}

.school-import-errors li + li {
    margin-top: 4px;
}

.school-filters-row-students {
    grid-template-columns: minmax(300px, 1.8fr) repeat(3, minmax(140px, 0.75fr)) auto;
}

.school-filters-row-groups,
.school-filters-row-teachers {
    grid-template-columns: minmax(300px, 1.8fr) repeat(3, minmax(140px, 0.75fr)) auto;
}

.school-toolbar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: end;
}

.school-toolbar-grid-wide {
    grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
}

.daily-shifts-toolbar {
    grid-template-columns: minmax(300px, 1.35fr) repeat(2, minmax(180px, 1fr));
}

.company-mini-kpis.daily-shifts-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.school-toolbar-grid-employees {
    grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(150px, 1fr));
    min-width: 0;
}

.school-toolbar-grid-catalogs {
    grid-template-columns: minmax(280px, 1.2fr) minmax(180px, 0.8fr);
    max-width: 760px;
    min-width: 0;
}

.school-toolbar-grid-attendance {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    min-width: 0;
}

.school-toolbar-grid-incidents {
    grid-template-columns: repeat(2, minmax(150px, 0.7fr)) minmax(180px, 1fr) repeat(2, minmax(180px, 0.9fr));
    min-width: 0;
}

.school-toolbar-grid-reports {
    grid-template-columns: repeat(2, minmax(150px, 0.75fr)) repeat(2, minmax(220px, 1fr));
    min-width: 0;
}

.school-labeled-field {
    display: grid;
    gap: 8px;
    color: #5f6e87;
    font-size: 0.82rem;
    font-weight: 700;
}

.school-search-field,
.school-date-field input,
.school-select-field,
.school-input-field,
.school-code-input {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dce5f3;
    border-radius: 12px;
    background: #fff;
    color: #213455;
    box-sizing: border-box;
}

.school-search-field {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

.school-search-field svg {
    color: #72809a;
    width: 18px;
    height: 18px;
    flex: none;
}

.school-search-field input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #213455;
}

.school-date-field input,
.school-select-field,
.school-code-input {
    padding: 0 14px;
}

.company-attendance-date-navigation {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 8px;
}

.company-attendance-date-navigation .school-page-button {
    min-width: 38px;
    min-height: 44px;
}

.school-select-field {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #72809a 50%),
        linear-gradient(135deg, #72809a 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.school-tab-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 4px 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #edf2f8;
}

.school-tab {
    padding: 0 0 10px;
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
}

.school-tab.active {
    color: #2563eb;
    border-color: #14b8a6;
}

.school-tab-strip-tight .school-tab {
    font-size: 0.9rem;
}

.school-table-shell {
    overflow: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid #ecf1f8;
    border-radius: 16px;
    background: #fff;
}

.school-data-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.employees-table {
    min-width: 0;
    table-layout: fixed;
}

.employees-table-shell:not(.has-expanded-columns) {
    overflow-x: hidden;
}

.employees-table.employees-table-expanded {
    min-width: 1650px;
    table-layout: auto;
}

.employees-table th,
.employees-table td {
    padding-left: 10px;
    padding-right: 10px;
    overflow-wrap: anywhere;
}

.employees-table .school-checkbox-cell { width: 3%; }
.employees-table .employees-col-person { width: 20%; }
.employees-table .employees-col-code { width: 7%; }
.employees-table .employees-col-role { width: 11%; }
.employees-table .employees-col-department { width: 11%; }
.employees-table .employees-col-schedule { width: 10%; }
.employees-table .employees-col-status { width: 8%; }
.employees-table .employees-col-phone { width: 10%; }
.employees-table .employees-col-last-access { width: 11%; }
.employees-table .employees-col-hire-date { min-width: 130px; }
.employees-table .employees-col-portal { min-width: 160px; }
.employees-table .employees-col-employer-registration { min-width: 240px; }
.employees-table .employees-col-curp { min-width: 180px; }
.employees-table .employees-col-rfc { min-width: 150px; }
.employees-table .employees-col-nss { min-width: 140px; }
.employees-table .employees-col-supervisor { min-width: 180px; }
.employees-table .employees-col-workday-type { min-width: 150px; }
.employees-table .school-actions-cell {
    width: 104px;
    min-width: 104px;
    padding-left: 6px;
    padding-right: 10px;
    text-align: center;
}

.employees-table .school-actions-cell .school-icon-button:first-child {
    margin-left: 0;
}

.daily-shifts-table th:nth-child(1) { width: 12%; }
.daily-shifts-table th:nth-child(2) { width: 22%; }

.attendance-table {
    min-width: 980px;
    table-layout: fixed;
}

.attendance-table-shell {
    overflow-x: auto;
    overflow-y: visible;
}

.attendance-table th,
.attendance-table td {
    padding-left: 10px;
    padding-right: 10px;
    overflow-wrap: anywhere;
}

.attendance-table .attendance-col-person { width: 20%; }
.attendance-table .attendance-col-department { width: 12%; }
.attendance-table .attendance-col-shift { width: 11%; }
.attendance-table .attendance-col-punch { width: 8%; }
.attendance-table .attendance-col-status { width: 9%; }
.attendance-table .attendance-col-location { width: 9%; }
.attendance-table .attendance-col-notes { width: 17%; }
.attendance-table .school-actions-cell {
    width: 58px;
    max-width: 58px;
    padding-left: 6px;
    padding-right: 6px;
    text-align: center;
}

.attendance-table .checkpoint-action-menu {
    width: 100%;
    justify-content: center;
}

.attendance-table .checkpoint-action-toggle {
    width: 34px;
    height: 34px;
    margin-left: 0;
}

.incidents-table {
    min-width: 0;
    table-layout: fixed;
}

.incidents-table-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 12px;
    padding: 0 4px;
    color: #72809a;
    font-size: 0.9rem;
}

.incidents-table-shell {
    overflow: visible;
}

.incidents-table th,
.incidents-table td {
    padding-left: 8px;
    padding-right: 8px;
    overflow-wrap: anywhere;
}

.incidents-table th,
.incidents-table td:nth-child(4),
.incidents-table td:nth-child(6),
.incidents-table td:nth-child(7) {
    overflow-wrap: normal;
    word-break: normal;
}

.incidents-table th:nth-child(1) { width: 17%; }
.incidents-table th:nth-child(2) { width: 10%; }
.incidents-table th:nth-child(3) { width: 14%; }
.incidents-table th:nth-child(4) { width: 10%; }
.incidents-table th:nth-child(5) { width: 17%; }
.incidents-table th:nth-child(6) { width: 9%; }
.incidents-table th:nth-child(7) { width: 9%; }
.incidents-table th:nth-child(8),
.incidents-table td:nth-child(8) { width: 132px; }

.incident-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
}

.incident-row-actions .school-icon-button {
    width: 32px;
    height: 32px;
    margin-left: 0;
}

.incidents-table .school-person-cell {
    gap: 8px;
}

.incidents-table .school-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.74rem;
}

.incidents-table .company-role-pill {
    max-width: 100%;
    min-height: 28px;
    height: auto;
    padding: 6px 10px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.incident-quick-approve {
    border-color: #bce8ca;
    background: #ecf9f0;
    color: #21824a;
}

.incident-quick-reject {
    border-color: #ffd6d6;
    background: #fff7f7;
    color: #c83535;
}

.company-catalog-table {
    min-width: 0;
    table-layout: fixed;
}

.company-catalog-table th {
    white-space: normal;
    line-height: 1.25;
}

.company-catalog-table .school-actions-cell {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.company-department-grid {
    grid-template-columns: 1fr;
}

.company-department-panel-wide {
    grid-column: 1 / -1;
}

.company-department-table {
    min-width: 560px;
}

.company-department-table th:first-child,
.company-department-table td:first-child {
    width: 46%;
}

.company-department-table th:nth-child(2),
.company-department-table td:nth-child(2) {
    width: 86px;
}

.company-department-table th:nth-child(3),
.company-department-table td:nth-child(3) {
    width: 122px;
}

.company-department-table th:last-child,
.company-department-table td:last-child {
    width: 142px;
}

.company-position-table {
    min-width: 920px;
}

.company-position-table th:first-child,
.company-position-table td:first-child {
    width: 34%;
}

.company-position-table th:nth-child(2),
.company-position-table td:nth-child(2) {
    width: 16%;
}

.company-position-table th:nth-child(3),
.company-position-table td:nth-child(3) {
    width: 18%;
}

.company-position-table th:nth-child(4),
.company-position-table td:nth-child(4) {
    width: 132px;
}

.company-position-table th:nth-child(5),
.company-position-table td:nth-child(5) {
    width: 122px;
}

.company-position-table th:last-child,
.company-position-table td:last-child {
    width: 148px;
}

.company-catalog-table-shell {
    overflow-x: auto;
}

.company-org-panel {
    align-self: start;
}

.company-department-table-shell,
.company-org-table-shell {
    max-height: 420px;
    overflow: auto;
    scrollbar-gutter: stable;
}

.company-org-table {
    min-width: 0;
}

.school-data-table.company-org-table th,
.school-data-table.company-org-table td {
    padding: 10px 12px;
}

.company-org-table th:first-child,
.company-org-table td:first-child {
    width: 36%;
}

.company-org-table th:nth-child(2),
.company-org-table td:nth-child(2) {
    width: 64%;
}

.company-org-department {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-org-position {
    display: flex;
    align-items: center;
    min-height: 22px;
    color: #172033;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.company-org-position-level-1 {
    padding-left: 16px;
}

.company-org-position-level-2 {
    padding-left: 32px;
}

.company-org-position-level-1::before,
.company-org-position-level-2::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 999px;
    background: #d7e0ec;
    flex: 0 0 auto;
}

.company-org-empty-row td {
    background: #fbfdff;
}

.company-org-empty-position {
    color: #72809a;
    font-size: 0.86rem;
    font-weight: 700;
}

.school-data-table th {
    padding: 14px 16px;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
    text-align: left;
}

.school-data-table td {
    padding: 15px 16px;
    border-top: 1px solid #eef2f8;
    vertical-align: middle;
}

.school-row-selected td {
    background: #f8fbff;
}

.school-checkbox-cell {
    width: 42px;
    text-align: center;
}

.school-person-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.school-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    flex: none;
}

.school-avatar-neutral {
    background: linear-gradient(135deg, #dce8ff 0%, #ebe6ff 100%);
    color: #3750c5;
}

.school-person-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: #1b2a44;
}

.school-person-subtitle,
.school-stack-copy span,
.school-inline-link,
.school-mono-copy,
.school-email-copy {
    color: #72809a;
    font-size: 0.82rem;
}

.school-stack-copy {
    display: grid;
    gap: 4px;
}

.school-stack-copy strong,
.school-number-cell strong {
    color: #1b2a44;
}

.school-phone-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #52627d;
    font-weight: 600;
}

.school-phone-cell svg {
    color: #22c55e;
}

.school-group-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 28px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 0.84rem;
    font-weight: 800;
}

.school-group-badge-circle {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    padding: 0;
}

.school-badge-blue { background: #e9f1ff; color: #2f6ae4; }
.school-badge-green { background: #e9f8ef; color: #1f8d49; }
.school-badge-mint { background: #edf9f5; color: #2c9b7d; }
.school-badge-slate { background: #edf2f8; color: #53647c; }
.school-badge-violet { background: #eef6ff; color: #2563eb; }
.school-badge-coral { background: #fff0eb; color: #dc5c2d; }

.school-status-pill,
.school-type-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.school-status-active,
.school-status-success-soft {
    background: #eaf9ef;
    color: #2f9d58;
}

.school-data-table tr.school-selected-row td {
    background: #eef7ff;
}

.school-status-inactive,
.school-status-danger-soft {
    background: #fff0f0;
    color: #ea4d4d;
}

.school-status-blue-soft {
    background: #eaf1ff;
    color: #2f6ae4;
}

.school-status-violet-soft {
    background: #eef6ff;
    color: #2563eb;
}

.school-status-warning-soft {
    background: #fff5e5;
    color: #df8f18;
}

.school-status-muted-soft {
    background: #eef2f7;
    color: #64748b;
}

.school-type-normal {
    background: #eaf9ef;
    color: #249450;
}

.school-type-exceptional {
    background: #eef6ff;
    color: #2563eb;
}

.school-actions-cell {
    white-space: nowrap;
    text-align: right;
}

.school-icon-button {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-left: 6px;
    border: 1px solid #dfe7f2;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    cursor: pointer;
}

.school-icon-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.school-table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 6px 0;
    color: #72809a;
    font-size: 0.9rem;
}

.school-table-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
.employee-selection-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 6px 14px;
}

.employee-selection-summary {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
    color: #72809a;
    font-size: 0.9rem;
}

.employee-selection-summary strong {
    color: #172033;
}

.employee-selection-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.school-compact-button {
    min-height: 38px;
    padding: 8px 14px;
}

.school-link-button {
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    background: transparent;
    color: #315bea;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.school-link-button:hover {
    text-decoration: underline;
}
.school-table-top-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 6px 14px;
}

.school-page-size-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5f6e87;
    font-weight: 700;
}

.school-page-size-select {
    min-height: 36px;
    padding: 0 34px 0 12px;
    border: 1px solid #d9e3f0;
    border-radius: 10px;
    background: #fff;
    color: #213455;
    font-weight: 700;
}

.school-pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.school-page-ellipsis {
    display: inline-flex;
    width: 24px;
    height: 36px;
    align-items: center;
    justify-content: center;
    color: #71809a;
    font-weight: 800;
}

.school-page-button {
    width: 36px;
    height: 36px;
    border: 1px solid #d9e3f0;
    border-radius: 10px;
    background: #fff;
    color: #4d5d76;
    font-size: 0.92rem;
    font-weight: 700;
}

.school-page-button.active {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 18px rgba(41, 102, 246, 0.18);
}

.school-shift-cell,
.school-number-cell,
.school-progress-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.school-shift-icon {
    color: #f5ad15;
}

.school-number-positive { color: #2f9d58; font-weight: 700; }
.school-number-negative { color: #ef4444; font-weight: 700; }
.school-number-warning { color: #f59e0b; font-weight: 700; }

.school-progress-cell {
    min-width: 150px;
}

.school-progress-track {
    width: 84px;
    height: 8px;
    border-radius: 999px;
    background: #eaf1f8;
    overflow: hidden;
}

.school-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #38b86a 0%, #7bd28d 100%);
}

.school-two-column-grid,
.school-three-column-grid,
.school-reports-grid {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.school-two-column-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.school-two-column-grid-tight {
    gap: 14px;
}

.school-three-column-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.school-reports-grid {
    grid-template-columns: 1.55fr 1.1fr;
}

.school-subpanel,
.school-ops-panel,
.school-info-box {
    border: 1px solid #e4ebf5;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.school-subpanel,
.school-ops-panel {
    padding: 18px 20px;
}

.school-subpanel-large {
    min-height: 296px;
}

.school-subpanel-header {
    margin-bottom: 14px;
}

.school-subpanel-header p,
.school-ops-header p,
.school-info-copy p {
    margin: 6px 0 0;
    color: #72809a;
    font-size: 0.84rem;
}

.school-mini-link,
.school-secondary-link,
.school-inline-link,
.school-centered-link,
.school-align-end {
    color: #2563eb;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

.school-mini-link {
    border: 1px solid #dde5f0;
    border-radius: 12px;
    background: #fff;
    padding: 8px 12px;
}

.school-centered-link {
    display: block;
    margin: 14px auto 0;
    text-align: center;
}

.school-align-end {
    display: block;
    margin-left: auto;
    margin-top: 10px;
}

.school-history-list,
.school-bars-list,
.school-ranking-list {
    display: grid;
    gap: 10px;
}

.school-history-row,
.school-ranking-row {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid #eef2f8;
}

.school-history-row {
    grid-template-columns: 1.4fr auto repeat(3, auto) auto;
}

.school-ranking-row {
    grid-template-columns: 22px 1fr auto;
}

.school-bar-row {
    display: grid;
    grid-template-columns: 1.3fr minmax(120px, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.school-bar-track {
    height: 10px;
    border-radius: 999px;
    background: #eef3f9;
    overflow: hidden;
}

.school-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.school-line-chart {
    position: relative;
    height: 240px;
    border-radius: 16px;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(79, 136, 255, 0.04)),
        repeating-linear-gradient(to top, #eef3f8 0 1px, transparent 1px 48px);
    overflow: hidden;
}

.school-line-point {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2563eb;
    transform: translate(-50%, 50%);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.13);
}

.school-line-point span {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    color: #3e4d67;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.school-line-axis {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 0 8px 8px;
    color: #72809a;
    font-size: 0.8rem;
}

.school-banner,
.school-info-bar {
    margin-bottom: 16px;
    padding: 13px 16px;
    border-radius: 14px;
}

.school-banner {
    background: #eef4ff;
    color: #28417c;
    font-weight: 600;
}

.school-banner-warning {
    background: #fff8e7;
    color: #8a5a00;
}

.school-info-bar,
.school-info-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border: 1px solid #deebf8;
    background: #f7fbff;
}

.school-info-box {
    margin-top: 16px;
    padding: 16px 18px;
}

.school-info-copy {
    display: grid;
    gap: 4px;
    color: #52627d;
    font-size: 0.9rem;
}

.school-ops-panel {
    margin-top: 16px;
    background: #fcfdff;
}

.school-code-input {
    min-width: 160px;
}

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

.company-role-pill,
.company-inline-pill,
.settings-value-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.company-role-violet { background:#eef6ff; color:#2563eb; }
.company-role-blue { background:#e7f0ff; color:#3472f3; }
.company-role-blue-soft { background:#eef5ff; color:#5992ff; }
.company-role-green { background:#eaf9ef; color:#2b9958; }
.company-role-gold { background:#ecfeff; color:#0f766e; }
.company-role-orange { background:#fff1e7; color:#f07b2b; }
.company-role-red { background:#ffe9e9; color:#ec4e4e; }
.company-role-violet-soft { background:#f3f4f6; color:#0d1b2a; }
.company-role-slate { background:#edf1f7; color:#6d7a90; }

.company-badge-violet { background:linear-gradient(135deg,#eaf2ff 0%,#f7fbff 100%); color:#2563eb; }
.company-badge-blue { background:linear-gradient(135deg,#e6efff 0%,#f1f6ff 100%); color:#3472f3; }
.company-badge-gold { background:linear-gradient(135deg,#dcfbf7 0%,#f1fffd 100%); color:#0f766e; }
.company-badge-green { background:linear-gradient(135deg,#e6f8ee 0%,#f2fcf6 100%); color:#2b9958; }
.company-badge-red { background:linear-gradient(135deg,#ffe5e5 0%,#fff4f4 100%); color:#ec4e4e; }
.company-badge-violet-soft { background:linear-gradient(135deg,#f3f4f6 0%,#fbfcff 100%); color:#0d1b2a; }
.company-badge-slate { background:linear-gradient(135deg,#eef2f7 0%,#f7f9fc 100%); color:#72809a; }

.company-inline-pill-green { background:#eaf9ef; color:#2b9958; }

.company-avatar-chip {
    display:grid;
    place-items:center;
    width:38px;
    height:38px;
    border-radius:50%;
    font-size:0.78rem;
    font-weight:800;
    flex:none;
}

.company-preline-copy {
    white-space: pre-line;
    color: #52627d;
}

.company-bars-visual {
    display:grid;
    grid-template-columns: repeat(7, minmax(0,1fr));
    gap: 16px;
    align-items:end;
    min-height: 190px;
    padding: 14px 8px 0;
}

.company-bars-visual-large {
    min-height: 210px;
}

.company-daily-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(74px, 1fr));
    gap: 12px;
    align-items: end;
    min-height: 242px;
    padding: 12px 4px 0;
}

.company-daily-column {
    display: grid;
    justify-items: center;
    align-content: end;
    gap: 8px;
    min-width: 0;
    color: #5d6b83;
    text-align: center;
}

.company-daily-column strong {
    color: #14213d;
    font-size: 0.86rem;
}

.company-daily-column > span {
    color: #14213d;
    font-size: 0.82rem;
    font-weight: 800;
}

.company-daily-column small {
    color: #72809a;
    font-size: 0.78rem;
    white-space: nowrap;
}

.company-daily-stack {
    display: flex;
    flex-direction: column-reverse;
    justify-content: flex-start;
    width: 42px;
    height: 140px;
    border-radius: 12px;
    background: #eef3f9;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(211, 222, 238, 0.8);
}

.company-daily-stack span {
    display: block;
    width: 100%;
}

.company-daily-stack .is-present { background: #58c576; }
.company-daily-stack .is-late { background: #ffb224; }
.company-daily-stack .is-vacation { background: #2563eb; }
.company-daily-stack .is-absent { background: #ef4444; }
.company-daily-stack .is-missing { background: #c7d2e4; }

.company-bar-item {
    display:grid;
    justify-items:center;
    gap:10px;
    color:#4e5d76;
    font-size:0.8rem;
    text-align:center;
}

.company-bar-item span {
    font-weight:700;
    color:#1b2a44;
}

.company-bar-item strong {
    font-size:0.8rem;
}

.company-bar-item small {
    color:#72809a;
    font-size:0.76rem;
}

.company-bar {
    width: 60px;
    border-radius: 12px 12px 4px 4px;
    box-shadow: inset 0 -4px 10px rgba(255,255,255,0.18);
}

/* Entria public landing based on the provided product mockup. */
.entria-page {
    --entria-navy: #071632;
    --entria-text: #0b1733;
    --entria-muted: #53627d;
    --entria-blue: #2259f2;
    --entria-cyan: #16b8c8;
    --entria-green: #11bd7e;
    --entria-purple: #7c4dff;
    --entria-line: #dfe7f2;
    --entria-soft: #f7faff;
    min-height: 100vh;
    overflow-x: clip;
    background: #ffffff;
    color: var(--entria-text);
}

.entria-header {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    width: min(100%, 1440px);
    min-height: 96px;
    margin: 0 auto;
    padding: 18px 64px;
}

.entria-logo {
    display: inline-flex;
    width: 170px;
}

.entria-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.entria-nav,
.entria-header-actions,
.entria-hero-actions,
.entria-benefits,
.entria-cta-band > div:last-child,
.entria-payments {
    display: flex;
    align-items: center;
}

.entria-nav {
    justify-content: center;
    gap: 48px;
    min-width: 0;
    color: #071632;
    font-size: 0.92rem;
    font-weight: 800;
}

.entria-nav a {
    position: relative;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
}

.entria-nav a.active {
    color: var(--entria-blue);
}

.entria-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--entria-green);
}

.entria-header-actions {
    justify-content: flex-end;
    gap: 12px;
}

.entria-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    min-width: 136px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--entria-text);
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.entria-button:hover,
.entria-plan-button:hover {
    transform: translateY(-1px);
}

.entria-button-primary {
    background: linear-gradient(135deg, #2457ff 0%, #1f65f4 58%, #10b9bf 100%);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(34, 89, 242, 0.24);
}

.entria-button-light {
    border-color: #d8e1ee;
    background: #ffffff;
    color: #101b33;
}

.entria-button-demo,
.entria-button-outline-blue {
    border-color: #d8e1ee;
    background: #ffffff;
    color: #111c35;
}

.entria-button-outline-blue {
    border-color: #2259f2;
    color: #2259f2;
}

.entria-button-large {
    min-width: 170px;
    min-height: 52px;
}

.entria-button-demo span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 2px solid #2457ff;
    border-radius: 999px;
    color: transparent;
    font-size: 0;
}

.entria-button-demo span::before {
    content: "";
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #2457ff;
}

.entria-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.78fr) minmax(600px, 1.22fr);
    gap: 42px;
    align-items: center;
    width: min(100%, 1440px);
    min-height: 648px;
    margin: 0 auto;
    padding: 36px 64px 64px;
}

.entria-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 620px;
    height: 120px;
    border-radius: 320px 0 0 0;
    background: radial-gradient(circle at 86% 100%, rgba(17, 189, 126, 0.24), transparent 42%), linear-gradient(135deg, rgba(34, 89, 242, 0.12), rgba(17, 189, 126, 0.16));
    z-index: 0;
}

.entria-hero-copy,
.entria-hero-stage {
    position: relative;
    z-index: 1;
}

.entria-hero-copy {
    max-width: 470px;
}

.entria-hero-copy h1 {
    margin: 0;
    color: var(--entria-text);
    font-size: 3.15rem;
    line-height: 1.08;
    font-weight: 950;
    letter-spacing: 0;
}

.entria-green {
    color: var(--entria-green);
}

.entria-blue {
    color: var(--entria-blue);
}

.entria-hero-copy p {
    max-width: 440px;
    margin-top: 28px;
    color: var(--entria-muted);
    font-size: 1.04rem;
    line-height: 1.7;
}

.entria-benefits {
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 30px;
}

.entria-benefits span {
    position: relative;
    flex: 0 0 calc(50% - 14px);
    min-height: 22px;
    padding-left: 28px;
    color: #1d2a44;
    font-size: 0.95rem;
    font-weight: 750;
}

.entria-benefits span::before,
.entria-plan-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--entria-green);
    border-radius: 999px;
}

.entria-benefits span::after,
.entria-plan-card li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 8px;
    width: 6px;
    height: 3px;
    border-left: 2px solid var(--entria-green);
    border-bottom: 2px solid var(--entria-green);
    transform: rotate(-45deg);
}

.entria-hero-actions {
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 36px;
}

.entria-safe-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    color: #4b5b76;
    font-size: 0.92rem;
    font-weight: 750;
}

.entria-safe-note span {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border: 1.8px solid var(--entria-blue);
    border-radius: 50% 50% 45% 45%;
    color: transparent;
    font-size: 0;
}

.entria-hero-stage {
    min-height: 560px;
}

.entria-laptop {
    position: absolute;
    right: 0;
    top: 28px;
    width: min(760px, 100%);
}

.entria-laptop-screen {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    overflow: hidden;
    min-height: 488px;
    padding: 18px;
    border: 12px solid #0d111a;
    border-bottom-width: 18px;
    border-radius: 24px 24px 16px 16px;
    background: #ffffff;
    box-shadow: 0 26px 70px rgba(12, 26, 57, 0.22);
}

.entria-laptop-base {
    width: 78%;
    height: 18px;
    margin: 0 auto;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(180deg, #2f3644, #111827);
    box-shadow: 0 18px 28px rgba(12, 26, 57, 0.18);
}

.entria-app-sidebar {
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 12px 10px;
    border-right: 1px solid #e7edf7;
    background: #fbfdff;
}

.entria-app-brand {
    height: 42px;
    margin-bottom: 8px;
}

.entria-app-brand img {
    max-width: 108px;
    height: 32px;
    object-fit: contain;
}

.entria-app-sidebar span {
    min-height: 31px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #53627d;
    font-size: 0.76rem;
    font-weight: 800;
}

.entria-app-sidebar span.active {
    background: #eef4ff;
    color: var(--entria-blue);
}

.entria-dashboard-preview {
    min-width: 0;
    padding: 10px 14px 14px 20px;
}

.entria-dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.entria-dashboard-top h2 {
    margin: 0;
    color: var(--entria-text);
    font-size: 1.08rem;
    font-weight: 950;
}

.entria-admin-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.entria-admin-chip > span {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7c59f, #e67e91);
}

.entria-admin-chip strong,
.entria-admin-chip small {
    display: block;
    line-height: 1.05;
}

.entria-admin-chip strong {
    font-size: 0.72rem;
}

.entria-admin-chip small {
    margin-top: 3px;
    color: #7a8699;
    font-size: 0.58rem;
}

.entria-mini-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.entria-mini-kpis article,
.entria-chart-card,
.entria-activity-card,
.entria-feature-card,
.entria-plan-card {
    border: 1px solid var(--entria-line);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(40, 67, 121, 0.05);
}

.entria-mini-kpis article {
    min-height: 92px;
    padding: 16px;
}

.entria-mini-kpis span,
.entria-mini-kpis small {
    display: block;
    color: #697792;
    font-size: 0.68rem;
    font-weight: 800;
}

.entria-mini-kpis strong {
    display: block;
    margin-top: 8px;
    color: var(--entria-blue);
    font-size: 1.5rem;
    font-weight: 950;
}

.entria-mini-kpis small {
    margin-top: 5px;
    color: var(--entria-green);
}

.entria-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.8fr);
    gap: 12px;
    margin-top: 14px;
}

.entria-chart-card,
.entria-activity-card {
    min-height: 232px;
    padding: 16px;
}

.entria-chart-card h3,
.entria-activity-card h3 {
    margin: 0 0 18px;
    color: #1d2a44;
    font-size: 0.78rem;
    font-weight: 950;
}

.entria-chart-lines {
    position: relative;
    height: 150px;
    border-bottom: 1px solid #e7edf7;
    background: linear-gradient(#edf2fa 1px, transparent 1px) 0 20% / 100% 34px;
}

.entria-chart-lines::before {
    content: "";
    position: absolute;
    inset: 28px 10px 28px;
    background: linear-gradient(140deg, transparent 7%, #2a8dff 7% 9%, transparent 9% 25%, #2a8dff 25% 27%, transparent 27% 42%, #2a8dff 42% 44%, transparent 44% 58%, #2a8dff 58% 60%, transparent 60% 76%, #2a8dff 76% 78%, transparent 78%);
}

.entria-chart-lines span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #2a8dff;
}

.entria-chart-lines span:nth-child(1) { left: 8%; top: 68%; }
.entria-chart-lines span:nth-child(2) { left: 25%; top: 52%; }
.entria-chart-lines span:nth-child(3) { left: 42%; top: 64%; }
.entria-chart-lines span:nth-child(4) { left: 58%; top: 34%; }
.entria-chart-lines span:nth-child(5) { left: 74%; top: 44%; }
.entria-chart-lines span:nth-child(6) { left: 90%; top: 26%; }

.entria-chart-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    color: #8390a5;
    font-size: 0.62rem;
}

.entria-activity-card {
    display: grid;
    align-content: start;
    gap: 11px;
}

.entria-activity-card div {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
}

.entria-activity-card span {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 999px;
}

.entria-activity-card span.green {
    background: #dff9ed;
    border: 5px solid var(--entria-green);
}

.entria-activity-card span.blue {
    background: #e8f0ff;
    border: 5px solid var(--entria-blue);
}

.entria-activity-card p,
.entria-activity-card strong {
    margin: 0;
    color: #33425d;
    font-size: 0.66rem;
    line-height: 1.35;
}

.entria-activity-card small {
    color: #6d7b92;
}

.entria-phone {
    position: absolute;
    left: 20px;
    bottom: 60px;
    width: 176px;
    min-height: 438px;
    padding: 12px;
    border: 7px solid #0c111c;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(12, 26, 57, 0.28);
}

.entria-phone-top {
    width: 54px;
    height: 5px;
    margin: 0 auto 8px;
    border-radius: 999px;
    background: #0c111c;
}

.entria-phone-header {
    display: grid;
    gap: 2px;
    margin: 0 -6px 8px;
    padding: 10px 12px;
    border-radius: 20px 20px 10px 10px;
    background: #007f68;
    color: #ffffff;
}

.entria-phone-header strong {
    font-size: 0.84rem;
}

.entria-phone-header span {
    font-size: 0.62rem;
}

.entria-phone-chat {
    display: grid;
    gap: 6px;
}

.entria-phone-chat p,
.entria-phone-chat button,
.entria-chat-reply {
    margin: 0;
    border: 1px solid #e5edf7;
    border-radius: 8px;
    background: #ffffff;
    color: #22304a;
    font-size: 0.58rem;
    line-height: 1.35;
}

.entria-phone-chat p {
    padding: 8px;
}

.entria-phone-chat button {
    min-height: 24px;
    padding: 0 8px;
    color: #2259f2;
    font-weight: 800;
    text-align: left;
}

.entria-chat-reply {
    margin-top: 6px;
    padding: 8px;
    background: #eafaf1;
    border-color: #bfead4;
}

.entria-chat-reply strong {
    display: block;
    color: #137a4f;
    font-size: 0.62rem;
}

.entria-whatsapp-float {
    position: absolute;
    right: 54px;
    bottom: 40px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 188px;
    padding: 14px 18px;
    border: 1px solid #dfe7f2;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 42px rgba(12, 26, 57, 0.14);
}

.entria-whatsapp-float > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #e9fff5;
    color: #10b978;
    font-size: 0;
}

.entria-whatsapp-float > span svg {
    width: 25px;
    height: 25px;
}

.entria-whatsapp-float small,
.entria-whatsapp-float strong {
    display: block;
}

.entria-whatsapp-float small {
    color: #65728a;
    font-size: 0.84rem;
}

.entria-whatsapp-float strong {
    color: #10213d;
    font-size: 1rem;
}

.entria-section {
    padding: 56px 64px;
}

.entria-features {
    padding-top: 20px;
    padding-bottom: 28px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.entria-section-heading,
.entria-pricing-head {
    width: min(100%, 1160px);
    margin: 0 auto 24px;
}

.entria-section-heading {
    display: grid;
    justify-items: center;
    text-align: center;
}

.entria-section-heading > span,
.entria-pricing-head > div:first-child > span {
    color: var(--entria-blue);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.entria-section-heading h2,
.entria-pricing-head h2 {
    max-width: 520px;
    margin: 8px 0 0;
    color: var(--entria-text);
    font-size: 1.45rem;
    line-height: 1.12;
    font-weight: 950;
    letter-spacing: 0;
}

.entria-section-heading h2 strong {
    color: var(--entria-blue);
}

.entria-feature-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 1300px);
    margin: 0 auto;
}

.entria-feature-card {
    min-height: 140px;
    padding: 16px 10px;
    text-align: center;
}

.entria-feature-icon,
.entria-plan-title > div:first-child {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin: 0 auto 12px;
    border-radius: 13px;
}

.entria-feature-icon svg,
.entria-plan-title svg {
    width: 20px;
    height: 20px;
}

.entria-feature-card.green .entria-feature-icon,
.entria-plan-title .green {
    background: #def9ef;
    color: var(--entria-green);
}

.entria-feature-card.blue .entria-feature-icon,
.entria-plan-title .blue {
    background: #e8f0ff;
    color: var(--entria-blue);
}

.entria-feature-card.purple .entria-feature-icon,
.entria-plan-title .purple {
    background: #efe8ff;
    color: var(--entria-purple);
}

.entria-feature-card h3 {
    margin: 0;
    color: var(--entria-text);
    font-size: 0.66rem;
    font-weight: 950;
}

.entria-feature-card p {
    margin: 8px 0 0;
    color: #5f6d84;
    font-size: 0.53rem;
    line-height: 1.45;
}

.entria-pricing {
    padding-top: 20px;
    padding-bottom: 36px;
    background: #ffffff;
}

.entria-pricing-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
}

.entria-billing-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border: 1px solid #dfe7f2;
    border-radius: 10px;
    background: #f2f5fa;
}

.entria-billing-toggle button,
.entria-billing-toggle strong {
    min-height: 30px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #4b5a73;
    font-weight: 850;
}

.entria-billing-toggle button.active {
    background: #ffffff;
    color: var(--entria-text);
    box-shadow: 0 6px 16px rgba(15, 35, 66, 0.06);
}

.entria-billing-toggle strong {
    display: inline-flex;
    align-items: center;
    background: #dcf8ed;
    color: var(--entria-green);
    font-size: 0.76rem;
}

.entria-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 780px);
    margin: 0 auto;
}

.entria-plan-card {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 286px;
    padding: 18px 16px 16px;
}

.entria-plan-card.featured {
    border-color: rgba(34, 89, 242, 0.48);
    box-shadow: 0 22px 50px rgba(34, 89, 242, 0.13);
}

.entria-plan-title {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 42px;
}

.entria-plan-title > div:first-child {
    width: 34px;
    height: 34px;
    margin: 0;
    border-radius: 12px;
}

.entria-plan-title svg {
    width: 18px;
    height: 18px;
}

.entria-plan-title h3 {
    margin: 0;
    color: var(--entria-text);
    font-size: 0.84rem;
    font-weight: 950;
}

.entria-plan-title p {
    margin: 4px 0 0;
    color: #64718a;
    font-size: 0.58rem;
    line-height: 1.2;
}

.entria-plan-title > span {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #235dff;
    color: #ffffff;
    font-size: 0.56rem;
    font-weight: 950;
}

.entria-plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-height: 38px;
    margin-top: 16px;
}

.entria-plan-price strong {
    color: var(--entria-text);
    font-size: 1.55rem;
    font-weight: 950;
}

.entria-plan-price span {
    color: #101b33;
    font-size: 0.58rem;
    font-weight: 900;
}

.entria-plan-card ul {
    display: grid;
    gap: 7px;
    margin: 6px 0 16px;
    padding: 0;
    list-style: none;
}

.entria-plan-card li {
    position: relative;
    padding-left: 20px;
    color: #4c5c75;
    font-size: 0.62rem;
    line-height: 1.25;
}

.entria-plan-card li::before {
    top: 0;
    width: 11px;
    height: 11px;
}

.entria-plan-card li::after {
    left: 3px;
    top: 4px;
    width: 4px;
    height: 2px;
}

.entria-plan-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-top: auto;
    border: 1px solid var(--entria-green);
    border-radius: 8px;
    background: #ffffff;
    color: #08a96f;
    font-size: 0.66rem;
    font-weight: 950;
    text-decoration: none;
}

.entria-plan-button.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #2457ff, #2259f2);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(34, 89, 242, 0.2);
}

.entria-payments {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    color: #5b6880;
    font-size: 0.68rem;
}

.entria-payments span {
    position: relative;
    padding-left: 24px;
}

.entria-payments span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 14px;
    height: 18px;
    border: 2px solid var(--entria-green);
    border-radius: 4px;
}

.entria-payments strong {
    color: #2259f2;
    font-size: 0.95rem;
    font-weight: 950;
}

.entria-cta-band {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    box-sizing: border-box;
    width: min(calc(100% - 128px), 980px);
    margin: 0 auto;
    padding: 18px 32px;
    border-radius: 12px;
    background: linear-gradient(135deg, #edf5ff 0%, #eef3ff 100%);
}

.entria-cta-band h2,
.entria-cta-band p {
    margin: 0;
}

.entria-cta-band h2 {
    color: var(--entria-text);
    font-size: 0.95rem;
    font-weight: 950;
}

.entria-cta-band p {
    margin-top: 6px;
    color: #4e5e77;
    font-size: 0.82rem;
}

.entria-cta-band > div:last-child {
    gap: 18px;
}

.entria-cta-band .entria-button {
    min-height: 42px;
}

.entria-footer {
    background: radial-gradient(circle at 8% 20%, #063866 0%, transparent 26%), #05162d;
    color: #ffffff;
}

.entria-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 0.9fr) 1.5fr;
    gap: 36px;
    width: min(100%, 1240px);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 22px 64px 8px;
}

.entria-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 950;
    letter-spacing: 0;
}

.entria-footer-logo span {
    color: #2f7dff;
    font-size: 1.7rem;
    line-height: 1;
}

.entria-footer-logo strong {
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
}

.entria-footer p {
    margin: 10px 0 0;
    color: #c6d2e4;
    font-size: 0.78rem;
    line-height: 1.5;
}

.entria-socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.entria-socials span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 950;
}

.entria-footer h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 950;
}

.entria-footer a {
    display: block;
    margin-top: 8px;
    color: #d7e3f6;
    font-size: 0.76rem;
}

.entria-newsletter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
}

.entria-newsletter input {
    min-width: 0;
    min-height: 34px;
    border: 0;
    padding: 0 16px;
    color: #14213d;
    outline: none;
}

.entria-newsletter button {
    border: 0;
    background: #2457ff;
    color: #ffffff;
    font-size: 0;
}

.entria-newsletter button::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    margin: auto;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg);
}

.entria-footer-bottom {
    width: min(100%, 1240px);
    box-sizing: border-box;
    margin: 0 auto;
    padding: 10px 64px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #a8b8cf;
    text-align: center;
    font-size: 0.74rem;
}

@media (max-width: 1180px) {
    .entria-header {
        grid-template-columns: 150px minmax(0, 1fr) auto;
        gap: 18px;
        padding-inline: 32px;
    }

    .entria-nav {
        justify-content: center;
        gap: 22px;
        overflow: visible;
        padding-bottom: 0;
        font-size: 0.82rem;
    }

    .entria-hero {
        grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
        gap: 18px;
        min-height: 460px;
        padding: 8px 32px 22px;
    }

    .entria-hero-copy {
        max-width: 430px;
        margin-top: 30px;
    }

    .entria-hero-copy h1 {
        font-size: 2.15rem;
    }

    .entria-hero-copy p {
        margin-top: 22px;
        font-size: 0.96rem;
    }

    .entria-benefits {
        gap: 12px 18px;
        margin-top: 24px;
    }

    .entria-benefits span {
        font-size: 0.84rem;
    }

    .entria-hero-actions {
        gap: 12px;
        margin-top: 28px;
    }

    .entria-safe-note {
        margin-top: 24px;
    }

    .entria-hero-stage {
        min-height: 410px;
    }

    .entria-laptop {
        right: -8px;
        left: auto;
        top: -10px;
        width: 760px;
        transform: scale(0.72);
        transform-origin: top right;
    }

    .entria-phone {
        left: 0;
        bottom: -10px;
        transform: scale(0.75);
        transform-origin: bottom left;
    }

    .entria-whatsapp-float {
        right: 4px;
        bottom: 20px;
        transform: scale(0.86);
        transform-origin: bottom right;
    }

}

@media (max-width: 960px) {
    .entria-header {
        grid-template-columns: 1fr auto;
    }

    .entria-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .entria-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .entria-hero-copy {
        max-width: 720px;
    }

    .entria-hero-copy h1 {
        font-size: 3rem;
    }

    .entria-hero-stage {
        min-height: 560px;
    }

    .entria-laptop {
        left: 130px;
        right: auto;
        width: 720px;
        transform: scale(0.82);
        transform-origin: top left;
    }

    .entria-phone {
        transform: scale(0.84);
    }

    .entria-whatsapp-float {
        right: 26px;
        transform: scale(0.92);
    }

    .entria-feature-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .entria-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .entria-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .entria-header {
        grid-template-columns: 1fr;
        padding: 18px 20px 10px;
    }

    .entria-logo {
        width: 150px;
    }

    .entria-header-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .entria-button {
        min-width: 0;
        width: 100%;
        padding-inline: 12px;
        font-size: 0.86rem;
    }

    .entria-nav {
        gap: 22px;
        font-size: 0.82rem;
    }

    .entria-hero {
        min-height: auto;
        padding: 36px 20px 54px;
    }

    .entria-hero-copy h1 {
        font-size: 2.45rem;
    }

    .entria-hero-copy p {
        font-size: 0.98rem;
    }

    .entria-benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .entria-benefits span {
        flex-basis: auto;
    }

    .entria-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .entria-hero-stage {
        min-height: 490px;
        overflow: hidden;
    }

    .entria-laptop {
        left: 54px;
        right: auto;
        top: 42px;
        width: 620px;
        transform: scale(0.72);
        transform-origin: top left;
    }

    .entria-phone {
        left: 0;
        bottom: 18px;
        transform: scale(0.78);
        transform-origin: bottom left;
    }

    .entria-whatsapp-float {
        right: 8px;
        bottom: 36px;
        min-width: 160px;
        padding: 10px 12px;
    }

    .entria-section {
        padding: 58px 20px;
    }

    .entria-section-heading h2,
    .entria-pricing-head h2 {
        font-size: 1.7rem;
    }

    .entria-feature-card {
        min-height: 190px;
        padding: 26px 20px;
    }

    .entria-feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .entria-feature-icon svg {
        width: 25px;
        height: 25px;
    }

    .entria-feature-card h3 {
        font-size: 0.95rem;
    }

    .entria-feature-card p {
        font-size: 0.8rem;
    }

    .entria-feature-grid,
    .entria-plan-grid {
        grid-template-columns: 1fr;
    }

    .entria-pricing-head {
        display: grid;
        align-items: start;
    }

    .entria-billing-toggle {
        width: 100%;
        overflow-x: auto;
    }

    .entria-billing-toggle button,
    .entria-billing-toggle strong {
        padding-inline: 14px;
        white-space: nowrap;
    }

    .entria-cta-band {
        display: grid;
        width: calc(100% - 40px);
        padding: 26px 22px;
    }

    .entria-cta-band > div:last-child {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .entria-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 20px 28px;
    }

    .entria-footer-bottom {
        padding-inline: 20px;
    }
}

.company-executive-screen {
    gap: 16px;
    min-width: 0;
    overflow-x: hidden;
}

.company-executive-screen .school-panel,
.company-executive-screen .school-subpanel,
.company-executive-kpi,
.company-shift-card {
    border-radius: 8px;
}

.company-executive-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 18px;
    align-items: stretch;
}

.company-executive-header h1 {
    margin: 0;
    color: #0d1b2a;
    font-size: 2.15rem;
    line-height: 1.04;
    font-weight: 850;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.company-executive-header p {
    margin: 8px 0 0;
    color: #60708a;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.company-period-summary {
    display: grid;
    gap: 5px;
    align-content: center;
    padding: 16px 18px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.company-period-summary span,
.company-period-summary small {
    color: #687892;
    font-size: 0.82rem;
    font-weight: 750;
}

.company-period-summary strong {
    color: #0d1b2a;
    font-size: 1.05rem;
}

.company-report-commandbar {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.company-report-commandbar .school-toolbar-actions {
    flex-wrap: wrap;
}

.company-executive-kpis,
.company-mini-kpis {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.company-mini-kpis {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.company-executive-kpi {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-rows: auto 34px;
    gap: 10px 12px;
    min-width: 0;
    min-height: 150px;
    padding: 16px;
    border: 1px solid #e0e8f3;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.company-kpi-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #eef5ff;
    color: #2563eb;
}

.theme-green .company-kpi-icon { background: #eefbf2; color: #22a35a; }
.theme-danger .company-kpi-icon { background: #fff0f0; color: #ef4444; }
.theme-gold .company-kpi-icon { background: #fff7e6; color: #ca8a04; }
.theme-blue .company-kpi-icon { background: #eef5ff; color: #2563eb; }
.theme-violet .company-kpi-icon { background: #f3efff; color: #7c5cff; }

.company-kpi-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.company-kpi-copy span {
    color: #52627d;
    font-size: 0.82rem;
    font-weight: 800;
}

.company-kpi-copy strong {
    color: #0d1b2a;
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 850;
}

.company-kpi-copy small {
    color: #6f7f98;
    font-size: 0.78rem;
    line-height: 1.28;
    font-weight: 650;
}

.company-kpi-sparkline {
    grid-column: 1 / -1;
    display: flex;
    gap: 5px;
    align-items: end;
    min-height: 34px;
}

.company-kpi-sparkline i {
    flex: 1 1 8px;
    min-width: 5px;
    max-width: 18px;
    border-radius: 999px 999px 0 0;
    background: currentColor;
    opacity: 0.62;
}

.theme-green .company-kpi-sparkline { color: #58c576; }
.theme-danger .company-kpi-sparkline { color: #ef635d; }
.theme-gold .company-kpi-sparkline { color: #ffb224; }
.theme-blue .company-kpi-sparkline { color: #2563eb; }
.theme-violet .company-kpi-sparkline { color: #7c5cff; }

.company-report-tabs {
    gap: 6px;
    align-items: center;
    margin-bottom: 18px;
    padding: 6px;
    border: 1px solid #e2eaf5;
    border-radius: 8px;
    border-bottom-color: #e2eaf5;
    background: #f8fbff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 6px 16px rgba(15, 23, 42, 0.04);
    overflow-x: auto;
    scrollbar-width: thin;
}

.company-report-tabs .school-tab {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: #52627d;
    line-height: 1;
    white-space: nowrap;
}

.company-report-tabs .school-tab:hover,
.company-report-tabs .school-tab:focus-visible {
    background: #ffffff;
    border-color: #dbe7f6;
    color: #213455;
}

.company-report-tabs .school-tab.active {
    background: #eaf2ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);
}

.school-donut-layout {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.company-dashboard-grid {
    display: grid;
    gap: 14px;
}

.company-dashboard-grid-summary {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr) minmax(360px, 1fr);
}

.company-dashboard-grid-two {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.8fr);
}

.company-dashboard-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.company-panel-wide {
    min-width: 0;
}
.company-closure-grid {
    grid-template-columns: minmax(0, 1fr);
}

.company-closure-panel {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.company-closure-state {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #dfe7f2;
    border-radius: 8px;
    background: #f8fbff;
}

.company-closure-state div:first-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.company-closure-state span,
.company-closure-state small,
.company-closure-action-note {
    color: #5f6f89;
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.35;
}

.company-closure-state strong {
    color: #0f1a2a;
    font-size: 1.05rem;
    line-height: 1.2;
}

.company-closure-state-meta {
    display: grid;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 230px;
    text-align: right;
}

.company-closure-state.is-ready {
    border-color: #fde68a;
    background: #fffbeb;
}

.company-closure-state.is-closed,
.company-closure-state.is-blocked {
    border-color: #fecaca;
    background: #fff7f7;
}

.company-closure-state.is-open {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.company-closure-field-hint {
    display: block;
    margin-top: 7px;
    color: #8a3b12;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.company-closure-field-hint.is-ready {
    color: #166534;
}
.company-closure-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.company-closure-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e4ebf5;
    border-radius: 8px;
    background: #ffffff;
}

.company-closure-step > span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #edf2f8;
    color: #52627d;
    font-weight: 900;
}

.company-closure-step div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.company-closure-step strong {
    color: #0f1a2a;
    font-size: 0.88rem;
}

.company-closure-step small {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.25;
}

.company-closure-step.is-active {
    border-color: #bfdbfe;
    background: #f8fbff;
}

.company-closure-step.is-active > span {
    background: #dbeafe;
    color: #1d4ed8;
}

.company-closure-step.is-complete {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.company-closure-step.is-complete > span {
    background: #dcfce7;
    color: #15803d;
}

.company-closure-step.is-blocked {
    border-color: #fecaca;
    background: #fff7f7;
}

.company-closure-step.is-blocked > span {
    background: #fee2e2;
    color: #b91c1c;
}

.company-closure-action-note {
    margin: -4px 0 12px;
}

.company-closure-feedback {
    display: grid;
    gap: 4px;
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 750;
    line-height: 1.35;
}

.company-closure-feedback strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.company-closure-feedback span {
    overflow-wrap: anywhere;
}

.company-closure-feedback.info {
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
}

.company-closure-feedback.success {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.company-closure-feedback.warning {
    color: #8a3b12;
    border: 1px solid #fed7aa;
    background: #fff7ed;
}

.company-closure-feedback.danger {
    color: #991b1b;
    border: 1px solid #fecaca;
    background: #fff7f7;
}
.company-closure-fields {
    grid-template-columns: minmax(210px, 1fr) minmax(180px, 0.75fr) minmax(260px, 1.1fr) minmax(280px, 1.15fr);
    gap: 18px;
    align-items: end;
}

.company-period-selector > span {
    display: grid;
    gap: 3px;
}

.company-period-selector > span small {
    color: #72809a;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.25;
}

.company-closure-actions {
    justify-content: flex-start;
    gap: 14px;
    margin: 18px 0 14px;
}

.company-closure-actions .school-secondary-button,
.company-closure-actions .school-primary-button {
    min-width: 180px;
}

.company-closure-actions .school-primary-button {
    min-width: 220px;
}

.company-closure-review-grid {
    grid-template-columns: minmax(0, 1fr);
}

.company-closure-review-panel {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.company-preclose-bottom-grid {
    grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.8fr);
    width: 100%;
}

.company-preclose-bottom-grid > .school-subpanel {
    min-width: 0;
    box-sizing: border-box;
}

.company-review-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.company-review-summary-card {
    min-width: 0;
    border: 1px solid #e4ebf5;
    border-radius: 8px;
    background: #f8fbff;
    padding: 14px 16px;
    display: grid;
    gap: 5px;
}

.company-review-summary-card span,
.company-review-summary-card small {
    color: #687892;
    font-size: 0.82rem;
    font-weight: 750;
}

.company-review-summary-card strong {
    color: #0d1b2a;
    font-size: 1.65rem;
    line-height: 1;
}

.company-closure-review-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.company-closure-review-table th,
.company-closure-review-table td {
    padding: 13px 12px;
    vertical-align: top;
}

.company-closure-review-table th:nth-child(1) {
    width: 92px;
}

.company-closure-review-table th:nth-child(2) {
    width: 190px;
}

.company-closure-review-table th:nth-child(3) {
    width: 112px;
}

.company-closure-review-table th:nth-child(6) {
    width: 176px;
}

.company-closure-review-table td:first-child {
    white-space: nowrap;
}

.company-review-person {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.company-review-person strong {
    color: #07162f;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.company-review-person span {
    color: #66758d;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.company-review-detail,
.company-review-action {
    display: block;
    max-width: none;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.company-review-action {
    color: #51627d;
    font-weight: 800;
}

.company-review-actions-cell {
    min-width: 0;
}

.company-review-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.company-review-change-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    max-width: 100%;
    padding: 0 10px;
    border: 1px solid #cfe0f7;
    border-radius: 8px;
    background: #f8fbff;
    color: #2557a7;
    font-size: 0.78rem;
    font-weight: 850;
    cursor: pointer;
    white-space: nowrap;
}

.company-review-change-button svg {
    width: 15px;
    height: 15px;
    flex: none;
}

.company-review-change-button:hover {
    border-color: #8fb8f2;
    background: #eef6ff;
}

.company-review-approve-button {
    border-color: #b9efd0;
    background: #f1fbf5;
    color: #047857;
}

.company-review-approve-button:hover {
    border-color: #6dd69d;
    background: #e6f8ee;
}

.company-review-reject-button {
    border-color: #ffd4d7;
    background: #fff7f7;
    color: #d22c36;
}

.company-review-reject-button:hover {
    border-color: #ff9da5;
    background: #fff0f1;
}

@media (max-width: 1180px) {
    .company-closure-review-table th:nth-child(2) {
        width: 160px;
    }

    .company-closure-review-table th:nth-child(3) {
        width: 104px;
    }

    .company-closure-review-table th:nth-child(6) {
        width: 92px;
    }

    .company-review-change-button {
        width: 34px;
        padding: 0;
    }

    .company-review-change-button span {
        display: none;
    }
}
.attendance-query-filter {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
}

.attendance-query-filter .school-secondary-button {
    min-height: 38px;
    min-width: 0;
    padding-inline: 14px;
}
.company-review-empty {
    margin: 0;
}

.company-closure-actions .school-danger-button {
    min-width: 270px;
}

.company-closure-panel .school-info-bar {
    margin-top: 12px;
}

.company-coverage-table td:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.company-report-compact-table-shell {
    overflow-x: hidden;
    overflow-y: visible;
}

.company-report-compact-table-shell .company-coverage-table,
.company-report-compact-table-shell .company-absence-classification-table {
    min-width: 0;
    table-layout: auto;
}

.company-report-compact-table-shell :is(th, td) {
    white-space: normal;
}

.company-coverage-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.company-coverage-dot.is-green,
.company-shift-card.is-green .school-bar-track span,
.company-risk-pill.is-green {
    background: #58c576;
}

.company-coverage-dot.is-yellow,
.company-shift-card.is-yellow .school-bar-track span,
.company-risk-pill.is-yellow {
    background: #ffb224;
}

.company-coverage-dot.is-red,
.company-shift-card.is-red .school-bar-track span,
.company-risk-pill.is-red {
    background: #ef635d;
}

.company-shift-semaphore {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}

.company-shift-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid #e0e8f3;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.company-shift-card span {
    color: #52627d;
    font-size: 0.84rem;
    font-weight: 800;
}

.company-shift-card strong {
    color: #0d1b2a;
    font-size: 1.9rem;
    line-height: 1;
}

.company-shift-card small {
    color: #6f7f98;
    font-weight: 700;
}

.company-split-metric {
    display: grid;
    gap: 18px;
}

.company-split-metric > div {
    display: grid;
    gap: 8px;
}

.company-split-metric span,
.company-cost-row span,
.company-cost-breakdown span,
.company-cost-hero > div > span {
    color: #52627d;
    font-size: 0.82rem;
    font-weight: 800;
}

.company-split-metric strong {
    color: #0d1b2a;
    font-size: 1.7rem;
    line-height: 1;
}

.company-critical-list,
.company-cost-list {
    display: grid;
    gap: 12px;
}

.company-critical-list hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #e5edf8;
}

.company-critical-row,
.company-cost-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(80px, auto) minmax(70px, auto);
    gap: 10px;
    align-items: center;
    color: #52627d;
    font-size: 0.86rem;
    font-weight: 700;
}

.company-critical-row > span,
.company-cost-row > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-critical-row strong,
.company-cost-row strong {
    color: #0d1b2a;
    font-weight: 850;
}

.company-critical-row small,
.company-cost-row small {
    color: #72809a;
    font-weight: 650;
    text-align: right;
}

.company-critical-row em {
    justify-self: end;
    min-width: 72px;
    padding: 5px 8px;
    border-radius: 999px;
    font-style: normal;
    text-align: center;
    font-weight: 850;
}

.company-critical-row em.is-green { background: #eefbf2; color: #15803d; }
.company-critical-row em.is-yellow { background: #fff7e6; color: #a16207; }
.company-critical-row em.is-red { background: #fff0f0; color: #c83535; }

.company-risk-pill {
    display: inline-flex;
    justify-content: center;
    min-width: 66px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 850;
}

.company-cost-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1fr);
    gap: 20px;
    align-items: center;
}

.company-cost-hero strong {
    display: block;
    margin-top: 7px;
    color: #0d1b2a;
    font-size: 2.35rem;
    line-height: 1;
    font-weight: 850;
}

.company-cost-hero small {
    display: block;
    margin-top: 8px;
    color: #6f7f98;
    font-weight: 700;
}

.company-cost-breakdown {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.company-cost-breakdown div {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid #e5edf8;
    border-radius: 8px;
    background: #f8fbff;
}

.company-cost-breakdown strong {
    margin: 0;
    font-size: 1.08rem;
}

.company-line-chart-percent .school-line-point {
    background: #2563eb;
}

.company-matrix-table {
    min-width: 760px;
}

.company-matrix-cell {
    text-align:center;
    font-size:1rem;
    font-weight:800;
}

.company-matrix-cell.is-allowed {
    color:#22a35a;
}

.company-matrix-cell.is-denied {
    color:#ef4444;
}

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

.settings-side-stack,
.settings-toggle-list,
.settings-action-list,
.settings-form-grid,
.settings-meta-list {
    display:grid;
    gap:12px;
}

.settings-form-actions {
    margin-top: 6px;
}

.settings-general-grid {
    grid-template-columns: minmax(0, 780px);
}

.role-permission-matrix-grid {
    grid-template-columns: 1fr;
}

.settings-grid:not(.settings-general-grid):not(.settings-advanced-grid) > .school-subpanel:nth-of-type(3),
.settings-grid:not(.settings-general-grid):not(.settings-advanced-grid) > .school-subpanel:nth-of-type(6) {
    grid-column: 1 / -1;
}

.settings-grid:not(.settings-general-grid):not(.settings-advanced-grid) .settings-form-grid,
.settings-general-grid .settings-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-grid:not(.settings-general-grid):not(.settings-advanced-grid) .school-subpanel-header {
    align-items: flex-start;
}
.settings-toggle-row {
    display:grid;
    grid-template-columns: 42px 1fr auto auto;
    gap:12px;
    align-items:center;
    padding: 10px 0;
    border-top:1px solid #eef2f8;
}

.settings-toggle-row:first-child {
    border-top:none;
}

.settings-toggle-icon {
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#f7faff;
    color:#3167ef;
    box-shadow: inset 0 0 0 1px #e3ebf6;
}

.settings-toggle-copy {
    display:grid;
    gap:4px;
}

.settings-toggle-copy strong {
    color:#1b2a44;
    font-size:0.92rem;
}

.settings-toggle-copy span {
    color:#72809a;
    font-size:0.82rem;
}

.settings-value-chip {
    border:1px solid #dce5f3;
    background:#fff;
    color:#53647c;
}

.settings-switch {
    position:relative;
    display:inline-block;
    width:34px;
    height:20px;
}

.settings-switch input {
    opacity:0;
    width:0;
    height:0;
}

.settings-switch span {
    position:absolute;
    inset:0;
    border-radius:999px;
    background:#d9e3f0;
    transition:background .2s ease;
}

.settings-switch span::before {
    content:"";
    position:absolute;
    left:2px;
    top:2px;
    width:16px;
    height:16px;
    border-radius:50%;
    background:#fff;
    box-shadow:0 2px 6px rgba(15,23,42,.18);
    transition:transform .2s ease;
}

.settings-switch input:checked + span {
    background:#4cb66b;
}

.settings-switch input:checked + span::before {
    transform:translateX(14px);
}

.settings-meta-list > div {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:8px 0;
    border-top:1px solid #eef2f8;
}

.settings-meta-list > div:first-child {
    border-top:none;
}

.settings-meta-list span {
    color:#72809a;
}

.settings-action-button {
    justify-content:flex-start;
}

.settings-summary-grid {
    display:grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap:14px;
}

.settings-advanced-grid {
    grid-template-columns: 1fr;
}

.settings-demo-panel .settings-summary-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.settings-demo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.settings-summary-card {
    display:grid;
    gap:4px;
    min-width: 0;
    padding:18px 16px;
    border:1px solid #e4ebf5;
    border-radius:16px;
    background:#fff;
}

.settings-summary-card strong {
    font-size:0.92rem;
}

.settings-summary-card span {
    font-size:2rem;
    line-height:1;
    font-weight:800;
    letter-spacing:0;
}

.settings-summary-card small,
.settings-summary-card em {
    color:#72809a;
    font-size:0.8rem;
    font-style:normal;
    overflow-wrap: anywhere;
}

.efirma-card {
    display: grid;
    grid-template-columns: minmax(230px, 0.8fr) minmax(0, 1.55fr);
    min-height: 360px;
    overflow: hidden;
    border: 1px solid #e2e9f4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31, 47, 78, 0.1);
}

.efirma-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 42px;
    overflow: hidden;
    border-right: 1px solid #e1e9f5;
    background: radial-gradient(circle at 50% 44%, #fff 0 34%, #f3f8ff 35% 58%, transparent 59%),
        linear-gradient(145deg, #fbfdff, #f4f8ff);
}

.efirma-visual::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    opacity: 0.45;
    background-image: radial-gradient(#a9c8ff 1px, transparent 1px);
    background-size: 11px 11px;
}

.efirma-document {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    width: 142px;
    min-height: 184px;
    padding: 22px 20px;
    border: 2px solid #8cb7ff;
    border-radius: 12px 22px 12px 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(48, 103, 239, 0.14);
}

.efirma-document::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    width: 34px;
    height: 34px;
    border-bottom: 2px solid #8cb7ff;
    border-left: 2px solid #8cb7ff;
    border-radius: 0 20px 0 9px;
    background: #d9e8ff;
}

.efirma-document i {
    display: block;
    width: 82%;
    height: 7px;
    border-radius: 999px;
    background: #deebff;
}

.efirma-document i:nth-of-type(2) {
    width: 100%;
}

.efirma-document strong {
    align-self: end;
    color: #2667ec;
    font-family: cursive;
    font-size: 1.15rem;
    font-style: italic;
}

.efirma-seal {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #2563eb;
    border-radius: 50%;
    background: #e7f0ff;
}

.efirma-lock {
    position: absolute;
    z-index: 2;
    right: calc(50% - 92px);
    bottom: 54px;
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    color: #fff;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #2165e9;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.efirma-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 42px 48px;
}

.efirma-content > p {
    max-width: 620px;
    margin: 0;
    color: #62718a;
    font-size: 0.96rem;
    line-height: 1.65;
}

.efirma-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.efirma-heading h3 {
    margin: 0;
    color: #101a33;
    font-size: 1.55rem;
}

.efirma-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 6px 13px;
    color: #a55c12;
    border-radius: 999px;
    background: #fff4e7;
    font-size: 0.82rem;
    font-weight: 750;
}

.efirma-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f6a13a;
}

.efirma-status.is-active {
    color: #167248;
    background: #e9f8f0;
}

.efirma-status.is-active i {
    background: #26a269;
}

.efirma-status.is-pending {
    color: #285eb8;
    background: #eaf2ff;
}

.efirma-status.is-pending i {
    background: #3b82f6;
}

.efirma-status.is-attention {
    color: #a83d3d;
    background: #fff0f0;
}

.efirma-status.is-attention i {
    background: #ef5b5b;
}

.efirma-validity {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 620px;
    padding: 15px 16px;
    border: 1px solid #dce5f2;
    border-radius: 13px;
    background: #fff;
}

.efirma-calendar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #0aa5a5;
    border-radius: 10px;
    background: #e8f9f8;
}

.efirma-calendar svg {
    width: 22px;
    height: 22px;
}

.efirma-validity div {
    display: grid;
    gap: 3px;
}

.efirma-validity small {
    color: #718097;
    font-size: 0.8rem;
}

.efirma-validity strong {
    color: #1f2d47;
    font-size: 0.9rem;
}

.efirma-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px;
}

.efirma-requirements {
    max-width: 380px;
    color: #2563eb;
}

.efirma-requirements summary {
    padding: 10px 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 750;
}

.efirma-requirements ul {
    display: grid;
    gap: 6px;
    margin: 8px 0 0;
    padding-left: 20px;
    color: #62718a;
    font-size: 0.83rem;
    line-height: 1.45;
}

.efirma-content .efirma-setup-note {
    color: #a55c12;
    font-size: 0.84rem;
}

.efirma-feedback {
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.efirma-feedback.is-success {
    color: #166b45;
    background: #eaf8f1;
}

.efirma-feedback.is-error {
    color: #9f3737;
    background: #fff0f0;
}

.app-form-grid.efirma-upload-form {
    grid-template-columns: 1fr;
}

.efirma-upload-form input[type="file"] {
    width: 100%;
    max-width: 100%;
}

.efirma-privacy-note {
    margin: 16px 0 0;
    color: #718097;
    font-size: 0.82rem;
}

.app-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(4px);
}

.app-modal {
    width: min(100%, 760px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border: 1px solid #dfe7f2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.app-modal.app-modal-small {
    width: min(100%, 520px);
}

.app-modal.app-modal-wide {
    width: min(100%, 1180px);
}

body .app-modal-backdrop > .app-modal.work-schedule-modal {
    width: min(100%, 1640px);
}

.app-modal.app-modal-checkpoint {
    width: min(100%, 720px);
}

.app-modal-header,
.app-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
}

.app-modal-header {
    border-bottom: 1px solid #edf2f8;
}

.app-modal-footer {
    justify-content: flex-end;
    border-top: 1px solid #edf2f8;
}

.app-modal-title {
    display: grid;
    gap: 4px;
}

.app-modal-title h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
}

.app-modal-title p {
    color: #72809a;
    font-size: 0.86rem;
}

.app-modal-close {
    width: 38px;
    height: 38px;
    border: 1px solid #dfe7f2;
    border-radius: 12px;
    background: #fff;
    color: #506079;
    font-size: 1.15rem;
    cursor: pointer;
}

.app-modal-body {
    padding: 20px 22px;
}

.app-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-form-grid > .full-width {
    grid-column: 1 / -1;
}

.company-review-completion-note {
    display: block;
    margin-bottom: 0;
    line-height: 1.55;
}

.school-check-field {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #dce5f3;
    border-radius: 12px;
    background: #fff;
    color: #213455;
    font-size: 0.9rem;
    font-weight: 750;
    box-sizing: border-box;
}

.school-check-field input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.work-schedule-bulk-panel {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
    padding: 16px;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: #f8fbff;
}

.work-schedule-entry-rules {
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: #fff;
}

.work-schedule-entry-rules summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 12px 16px;
    color: #17213d;
    cursor: pointer;
    list-style: none;
}

.work-schedule-entry-rules summary::-webkit-details-marker {
    display: none;
}

.work-schedule-entry-rules summary > span {
    display: grid;
    gap: 3px;
}

.work-schedule-entry-rules summary strong {
    font-size: 1rem;
    font-weight: 850;
}

.work-schedule-entry-rules summary small {
    color: #687892;
    font-size: 0.8rem;
    font-weight: 700;
}

.work-schedule-entry-rules summary::after {
    content: "+";
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid #dbe5f3;
    border-radius: 10px;
    color: #52627d;
    font-size: 1.1rem;
    font-weight: 900;
}

.work-schedule-entry-rules[open] summary {
    border-bottom: 1px solid #e7edf6;
    background: #f8fbff;
}

.work-schedule-entry-rules[open] summary::after {
    content: "−";
}

.work-schedule-entry-rules-body {
    padding: 16px;
}

.work-schedule-hours-cell {
    display: grid;
    justify-items: start;
    gap: 6px;
    min-width: 160px;
}

.work-schedule-hours-cell strong {
    color: #071b40;
    font-size: 1rem;
}

.work-schedule-hours-cell small {
    color: #60708d;
    font-size: 0.78rem;
    font-weight: 700;
}

.work-schedule-weekly-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: #f8fbff;
}

.work-schedule-weekly-summary div {
    display: grid;
    gap: 4px;
}

.work-schedule-weekly-summary span:not(.school-status-pill) {
    color: #60708d;
    font-size: 0.82rem;
    font-weight: 700;
}

.work-schedule-weekly-summary strong {
    color: #071b40;
    font-size: 1.12rem;
}

.work-schedule-bulk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.work-schedule-bulk-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.work-schedule-rule-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.work-schedule-days-table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
}

.work-schedule-days-table th,
.work-schedule-days-table td {
    vertical-align: middle;
}

.work-schedule-days-table th {
    line-height: 1.2;
    white-space: normal;
}

.work-schedule-days-table .work-day-col {
    width: 90px;
    min-width: 90px;
}

.work-schedule-days-table .work-check-col {
    width: 98px;
    min-width: 98px;
    text-align: center;
}

.work-schedule-days-table .work-paid-rest-col {
    width: 118px;
    min-width: 118px;
    text-align: center;
}

.work-schedule-days-table .work-time-col {
    width: 186px;
    min-width: 186px;
}

.work-schedule-days-table .work-tolerance-col {
    width: 148px;
    min-width: 148px;
}

.work-schedule-days-table .work-late-limit-col {
    width: 116px;
    min-width: 116px;
}

.work-schedule-days-table .work-meal-mode-col {
    width: 168px;
    min-width: 168px;
}

.work-schedule-days-table .school-code-input,
.work-schedule-rule-grid .school-code-input {
    min-width: 0;
}

.work-schedule-days-table .school-code-input {
    width: 100%;
}

.work-schedule-days-table input[type="number"].school-code-input {
    padding-inline: 10px;
    text-align: center;
}

.work-schedule-pair,
.work-schedule-meal-cell {
    display: grid;
    gap: 8px;
}

.work-schedule-pair {
    grid-template-columns: repeat(2, minmax(58px, 1fr));
}

.work-schedule-meal-cell {
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
}

@media (max-width: 760px) {
    .work-schedule-weekly-summary {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

.kiosk-layout-shell {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 10%, rgba(252, 211, 77, 0.12), transparent 18%),
        radial-gradient(circle at 78% 4%, rgba(96, 165, 250, 0.10), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f9 100%);
}

.kiosk-screen {
    height: 100vh;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(16px, 3vh, 34px);
    box-sizing: border-box;
    overflow: hidden;
    padding: clamp(24px, 4vh, 54px) clamp(28px, 5vw, 88px) clamp(70px, 8vh, 96px);
}

.kiosk-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #111827;
}

.kiosk-brand-row strong {
    display: block;
    font-size: clamp(1.5rem, 2vw, 2.4rem);
    font-weight: 850;
}

.kiosk-brand-row span {
    display: block;
    color: #64748b;
    font-weight: 750;
}

.kiosk-brand-mark {
    position: relative;
    width: 56px;
    height: 56px;
}

.kiosk-panel {
    align-self: stretch;
    justify-self: center;
    width: min(100%, 1560px);
    height: 100%;
    min-height: 0;
    max-height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: clamp(24px, 5vw, 80px);
    align-items: center;
    overflow: hidden;
    padding: clamp(28px, 5vh, 72px) clamp(34px, 5vw, 88px);
    border: 1px solid #dfe7f2;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.12);
}

.kiosk-panel-message {
    grid-template-columns: 1fr;
    min-height: auto;
}

.kiosk-panel > .kiosk-secure-card {
    grid-column: 1 / -1;
    justify-self: center;
}

.kiosk-copy {
    display: grid;
    gap: clamp(10px, 2vh, 22px);
    align-content: center;
    min-height: 0;
}

.kiosk-copy span,
.kiosk-footer span {
    color: #65748f;
    font-weight: 750;
}

.kiosk-copy h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(2.4rem, 6vh, 5.2rem);
    line-height: 1;
    letter-spacing: 0;
}

.kiosk-copy p {
    margin: 0;
    max-width: 760px;
    color: #53637c;
    font-size: clamp(1rem, 2.2vh, 1.7rem);
    line-height: 1.35;
}

.kiosk-qr-shell {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    width: min(100%, 56vh);
    max-width: 620px;
    max-height: 100%;
    justify-self: center;
    padding: clamp(18px, 3vh, 48px);
    border: 1px solid #e4ebf5;
    border-radius: 26px;
    background: #fff;
}

.kiosk-qr-shell svg {
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.kiosk-footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 0;
    padding-top: clamp(12px, 2vh, 24px);
    border-top: 1px solid #edf2f8;
    color: #0d1b2a;
    font-size: clamp(0.95rem, 2vh, 1.35rem);
    font-weight: 850;
}

.kiosk-action-menu {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 25;
}

.kiosk-action-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    gap: 5px;
    flex-direction: column;
    border: 1px solid #dbe5f3;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    list-style: none;
}

.kiosk-action-menu summary::-webkit-details-marker {
    display: none;
}

.kiosk-action-menu summary span {
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: #17213d;
}

.kiosk-action-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    gap: 14px;
    min-width: 260px;
    padding: 16px;
    border: 1px solid #dbe5f3;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.kiosk-session-line {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.kiosk-session-copy {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}

.kiosk-session-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #17213d;
    font-size: 0.95rem;
}

.kiosk-session-copy span {
    color: #64748b;
    font-size: 0.82rem;
}

.kiosk-action-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fff7f7;
    color: #a93232;
    font-weight: 850;
    text-decoration: none;
}

.kiosk-logout-modal form {
    margin: 0;
}

.checkin-mobile-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    background: #f5f8fc;
}

.checkin-card {
    width: min(100%, 440px);
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid #dfe7f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
}

.checkin-card h1,
.checkin-card p {
    margin: 0;
}

.checkin-attendance-button,
.checkin-authorize-button {
    width: 100%;
    min-height: 58px;
    border-radius: 16px;
    font-size: 1.02rem;
    letter-spacing: 0;
}

.checkin-attendance-button {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 0 16px 28px rgba(22, 163, 74, 0.24);
}

.checkin-authorize-button {
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 16px 28px rgba(217, 119, 6, 0.22);
}

.checkin-mismatch-zone {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px dashed #dce5f2;
}

.checkin-mismatch-button {
    width: 100%;
    color: #9f2f2f;
    border-color: #ffd6d6;
    background: #fffafa;
}

.checkin-mismatch-confirm {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #ffd6d6;
    border-radius: 16px;
    background: #fff7f7;
    color: #213455;
}

.checkin-mismatch-confirm strong {
    color: #9f2f2f;
}

.checkin-mismatch-confirm p {
    color: #6b7890;
    line-height: 1.45;
}

.checkin-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.worker-portal-card {
    width: min(100%, 720px);
}

.worker-portal-card h2 {
    margin: 10px 0 0;
    color: #10213b;
    font-size: 1.08rem;
    letter-spacing: 0;
}

.worker-portal-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.worker-portal-metrics .school-metric-card {
    min-height: 118px;
}

@media (max-width: 560px) {
    .worker-portal-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .kiosk-layout-shell {
        height: auto;
        overflow: auto;
    }

    .kiosk-screen {
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 30px 18px 92px;
    }

    .kiosk-panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        height: auto;
        min-height: auto;
        overflow: visible;
        padding: 28px;
    }

    .kiosk-action-menu {
        top: 14px;
        right: 10px;
    }

    .kiosk-action-panel {
        min-width: 230px;
    }
}

.app-form-textarea {
    min-height: 110px;
    padding: 12px 14px;
    border: 1px solid #dce5f3;
    border-radius: 12px;
    background: #fff;
    color: #213455;
    resize: vertical;
    box-sizing: border-box;
    font: inherit;
}

.enrollment-link-copy-field {
    min-height: 96px;
    word-break: break-all;
}

.app-detail-list {
    display: grid;
    gap: 12px;
}

.app-detail-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef2f8;
}

.app-detail-row:first-child {
    padding-top: 0;
    border-top: none;
}

.app-detail-row span {
    color: #72809a;
    font-size: 0.84rem;
}

.app-detail-row strong {
    color: #1b2a44;
    font-size: 0.92rem;
}

@media (max-width: 1320px) {
    .school-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-metrics-grid,
    .company-executive-kpis,
    .company-mini-kpis,
    .settings-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .company-mini-kpis.daily-shifts-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .school-three-column-grid,
    .school-reports-grid,
    .company-dashboard-grid-summary,
    .company-preclose-bottom-grid,
    .company-dashboard-grid-two,
    .company-dashboard-grid-three {
        grid-template-columns: 1fr;
    }

    .school-toolbar-grid-wide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .settings-general-grid,
    .role-permission-matrix-grid,
    .settings-grid:not(.settings-general-grid):not(.settings-advanced-grid) .settings-form-grid,
    .settings-general-grid .settings-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1280px) {
    .dashboard-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .dashboard-grid,
    .two-column,
    .attendance-widget,
    .school-donut-layout {
        grid-template-columns: 1fr;
    }

    .school-filters-row-students,
    .school-filters-row-groups,
    .school-filters-row-teachers,
    .school-toolbar-grid,
    .school-toolbar-grid-wide,
    .school-two-column-grid {
        grid-template-columns: 1fr;
    }

    .company-metrics-grid,
    .company-executive-header,
    .company-executive-kpis,
    .company-mini-kpis,
    .company-cost-hero,
    .company-cost-breakdown,
    .settings-summary-grid,
    .school-three-column-grid {
        grid-template-columns: 1fr;
    }

    .company-mini-kpis.daily-shifts-kpis {
        grid-template-columns: 1fr;
    }

    .school-table-footer,
    .school-info-bar,
    .school-info-box,
    .school-ops-header {
        flex-direction: column;
        align-items: stretch;
    }

    .employee-selection-toolbar,
    .employee-selection-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .employee-selection-actions {
        justify-content: flex-start;
    }

    .school-table-footer-actions {
        width: 100%;
        justify-content: space-between;
    }

    .school-history-row {
        grid-template-columns: 1fr;
    }

    .settings-toggle-row {
        grid-template-columns: 36px 1fr;
    }

    .company-bars-visual {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

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

    .app-detail-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

@media (max-width: 700px) {
    .dashboard-kpis {
        grid-template-columns: 1fr;
    }

    .company-executive-screen {
        width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }

    .company-executive-screen .school-panel,
    .company-executive-screen .school-subpanel,
    .company-executive-kpis,
    .company-mini-kpis,
    .company-report-tabs,
    .company-dashboard-grid,
    .company-shift-semaphore {
        width: 100%;
        max-width: 100%;
    }

    .company-executive-header h1 {
        font-size: 1.48rem;
        line-height: 1.08;
    }

    .company-executive-kpi {
        min-height: 132px;
    }

    .company-report-commandbar .school-toolbar-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .company-report-commandbar .school-secondary-button {
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .company-executive-screen .school-info-copy {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .company-executive-screen .school-info-bar {
        max-width: calc(100vw - 80px);
    }

    .company-executive-screen .school-info-copy strong {
        white-space: normal;
    }

    .company-report-compact-table-shell {
        overflow-x: auto;
    }

    .company-report-compact-table-shell .company-coverage-table,
    .company-report-compact-table-shell .company-absence-classification-table {
        min-width: 680px;
    }

    .company-executive-screen .company-daily-chart {
        width: calc(100vw - 82px);
        max-width: calc(100vw - 82px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-executive-screen .school-donut-layout {
        width: calc(100vw - 82px);
        max-width: calc(100vw - 82px);
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .company-executive-screen .attendance-donut {
        width: 152px;
        height: 152px;
    }

    .company-executive-screen .school-bar-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .company-executive-screen .school-bar-row strong {
        justify-self: start;
    }

    .company-kpi-sparkline {
        justify-content: flex-start;
    }

    .company-critical-row,
    .company-cost-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .company-critical-row small,
    .company-cost-row small {
        text-align: left;
    }

    .dashboard-list-item,
    .dashboard-table-row {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .school-metrics-grid {
        grid-template-columns: 1fr;
    }

    .school-page-header h1 {
        font-size: 2rem;
    }

    .school-panel-actions,
    .school-toolbar-actions,
    .school-inline-actions {
        width: 100%;
    }

    .school-primary-button,
    .school-secondary-button,
    .school-filter-button,
    .school-inline-success,
    .school-secondary-link-button {
        width: 100%;
    }
}

.login-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 18px;
    background: #f3f4f6;
    box-sizing: border-box;
}

.login-card {
    display: grid;
    grid-template-columns: 36% 64%;
    grid-template-rows: minmax(720px, auto) auto;
    width: min(100%, 1540px);
    min-height: calc(100vh - 36px);
    overflow: hidden;
    border: 1px solid #dfe8f3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 35, 66, 0.14);
}

.login-panel {
    display: flex;
    justify-content: center;
    background: #fff;
}

.login-panel-inner {
    display: flex;
    flex-direction: column;
    width: min(100%, 444px);
    min-height: 720px;
    padding: 72px 46px 34px;
    box-sizing: border-box;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 44px;
}

.login-brand-logo {
    width: min(100%, 250px);
    height: auto;
    display: block;
}

.login-heading {
    margin-bottom: 34px;
}

.login-heading h1 {
    margin: 0 0 10px;
    color: #0d1b2a;
    font-size: 1.95rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.login-heading p {
    margin: 0;
    color: #607196;
    font-size: 1rem;
    line-height: 1.5;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-field {
    display: grid;
    gap: 10px;
    color: #132342;
    font-size: 0.86rem;
    font-weight: 700;
}

.login-input-shell {
    display: grid;
    grid-template-columns: 22px 1fr 22px;
    align-items: center;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid #d6dfeb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 9px 22px rgba(14, 32, 63, 0.04);
    box-sizing: border-box;
}

.login-input-shell svg {
    width: 22px;
    height: 22px;
    fill: #98a7bd;
}

.login-input-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 14px;
    color: #14223f;
    font: inherit;
    font-weight: 600;
}

.login-input-shell input::placeholder {
    color: #8a9ab5;
}

.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 6px;
}

.login-check {
    display: flex !important;
    align-items: center;
    gap: 9px;
    color: #243755;
    font-size: 0.91rem;
    font-weight: 700;
}

.login-check input {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

.login-row a,
.login-demo-link a,
.login-legal a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.login-submit,
.login-provider {
    min-height: 54px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
}

.login-submit {
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 12px 25px rgba(35, 105, 255, 0.22);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #74839c;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 8px 0;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dce4ef;
}

.login-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #d5deea;
    background: #fff;
    color: #142341;
}

.google-dot {
    color: #1a73e8;
    font-size: 1.28rem;
    font-weight: 900;
}

.microsoft-grid {
    display: grid;
    grid-template-columns: repeat(2, 10px);
    gap: 2px;
}

.microsoft-grid i {
    width: 10px;
    height: 10px;
}

.microsoft-grid i:nth-child(1) { background: #f25022; }
.microsoft-grid i:nth-child(2) { background: #7fba00; }
.microsoft-grid i:nth-child(3) { background: #00a4ef; }
.microsoft-grid i:nth-child(4) { background: #ffb900; }

.login-demo-link {
    margin: 26px 0 0;
    color: #607196;
    text-align: center;
    font-size: 0.9rem;
}

.login-legal {
    margin: auto 0 0;
    color: #8291ab;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.7;
}

.login-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff0f0;
    color: #c83535;
    font-weight: 700;
}

.login-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1b2a 0%, #12345a 52%, #0f766e 100%);
    color: #fff;
}

.login-hero::before {
    content: "";
    position: absolute;
    top: 42px;
    right: 84px;
    width: 160px;
    height: 160px;
    opacity: 0.32;
    background-image: radial-gradient(#2d84ff 1.4px, transparent 1.4px);
    background-size: 17px 17px;
}

.login-hero-content {
    position: relative;
    min-height: 720px;
    padding: 86px 78px 70px;
    box-sizing: border-box;
}

.login-hero h2 {
    margin: 0;
    font-size: 2.08rem;
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: 0;
}

.login-hero h2 span {
    color: #22c55e;
}

.login-hero > .login-hero-content > p {
    max-width: 490px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.08rem;
    line-height: 1.55;
}

.login-feature-list {
    position: absolute;
    left: 78px;
    top: 300px;
    display: grid;
    gap: 24px;
    z-index: 2;
}

.login-feature-list > div {
    display: grid;
    grid-template-columns: 66px 1fr;
    align-items: center;
    gap: 14px;
}

.login-feature-list p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
}

.feature-icon {
    width: 66px;
    height: 66px;
    border: 1px solid rgba(20, 184, 166, 0.45);
    border-radius: 14px;
    background: rgba(13, 55, 101, 0.75);
    box-shadow: inset 0 0 24px rgba(28, 188, 221, 0.08);
}

.whatsapp-icon::before,
.shield-icon::before,
.chart-icon::before,
.people-icon::before {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #18d99b;
    font-size: 1.65rem;
    font-weight: 900;
}

.whatsapp-icon::before { content: "W"; }
.shield-icon::before { content: "S"; color: #2563eb; }
.chart-icon::before { content: "|||"; color: #14b8a6; }
.people-icon::before { content: "++"; color: #22d394; }

.login-product-stage {
    position: absolute;
    right: -58px;
    bottom: 138px;
    width: 690px;
    height: 430px;
}

.login-laptop {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 72px 1fr;
    width: 560px;
    height: 360px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.32);
    border-radius: 22px 0 0 22px;
    background: #071638;
    box-shadow: 0 32px 55px rgba(0, 0, 0, 0.34);
}

.laptop-sidebar {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 24px;
    padding-top: 28px;
    background: #061a43;
}

.laptop-sidebar strong {
    color: #20d1f2;
    font-size: 1.5rem;
}

.laptop-sidebar span {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid #91a4d3;
}

.laptop-screen {
    margin: 62px 28px 32px 0;
    padding: 28px 26px;
    border-radius: 6px;
    background: #fff;
    color: #10203e;
    box-shadow: 0 18px 34px rgba(5, 14, 34, 0.22);
}

.laptop-screen h3 {
    margin: 0 0 24px;
    font-size: 1rem;
}

.laptop-screen small {
    display: block;
    color: #33415f;
    font-weight: 800;
    margin-bottom: 12px;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.metric-row div {
    padding: 16px 14px;
    border-radius: 9px;
    background: #f5f7fb;
}

.metric-row span {
    display: block;
    color: #6d7891;
    font-size: 0.68rem;
    font-weight: 700;
}

.metric-row b {
    display: block;
    margin-top: 8px;
    color: #098bd5;
    font-size: 1.35rem;
}

.metric-row div:nth-child(2) b { color: #15b765; }
.metric-row div:nth-child(3) b { color: #14b8a6; }

.laptop-screen ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.72rem;
}

.laptop-screen li {
    display: grid;
    grid-template-columns: 12px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    border: 1px solid #eef2f7;
    border-radius: 7px;
    color: #4c5b76;
}

.laptop-screen li span {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: #13c77a;
}

.laptop-screen li em {
    color: #6f7c93;
    font-style: normal;
}

.login-phone {
    position: absolute;
    left: 40px;
    bottom: 8px;
    z-index: 3;
    width: 205px;
    min-height: 390px;
    padding: 38px 14px 16px;
    border: 5px solid #283247;
    border-radius: 34px;
    background: #f8fbff;
    color: #13213f;
    box-shadow: 0 26px 44px rgba(0, 0, 0, 0.38);
}

.phone-top {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 86px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 0 0 14px 14px;
    background: #111827;
}

.login-phone strong {
    display: block;
    padding: 10px 12px;
    margin: -8px -8px 12px;
    border-radius: 20px 20px 0 0;
    background: #043a35;
    color: #fff;
}

.login-phone strong span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16cf72;
}

.phone-chat,
.phone-bubble {
    display: grid;
    gap: 8px;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(21, 31, 55, 0.08);
}

.phone-chat p {
    margin: 0 0 4px;
    font-size: 0.72rem;
    font-weight: 800;
}

.phone-chat a {
    padding: 7px 0;
    border-top: 1px solid #edf1f6;
    color: #0d71d9;
    font-size: 0.72rem;
    font-weight: 800;
}

.phone-bubble {
    margin-top: 16px;
    background: #d8f5c7;
    font-size: 0.72rem;
}

.phone-bubble span {
    display: block;
}

.login-security-note {
    position: absolute;
    left: 150px;
    right: 140px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 58px;
    padding: 0 28px;
    border: 1px solid rgba(65, 124, 214, 0.46);
    border-radius: 18px;
    background: rgba(5, 39, 88, 0.56);
    color: #fff;
    font-size: 1rem;
}

.login-security-note svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    flex: 0 0 auto;
}

.login-trust-strip {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
    gap: 22px;
    padding: 28px 24px 34px;
    border-top: 1px solid #edf2f8;
    background: #fff;
    color: #3f526f;
}

.login-trust-strip p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.login-trust-strip div {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 6vw, 92px);
    flex-wrap: wrap;
}

.login-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #344967;
    font-weight: 700;
}

.login-trust-strip span::before {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #425977;
    font-size: 1.25rem;
    font-weight: 900;
}

.trust-school::before { content: "H"; }
.trust-business::before { content: "B"; }
.trust-academy::before { content: "A"; }
.trust-institution::before { content: "I"; }
.trust-organization::before { content: "O"; }

.checkpoint-table-shell {
    overflow: visible;
}

.biometric-device-table-shell {
    overflow: visible;
}

.biometric-device-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.biometric-device-table th,
.biometric-device-table td {
    padding-left: 10px;
    padding-right: 10px;
    overflow: hidden;
    vertical-align: middle;
}

.biometric-device-table th:nth-child(1) { width: 15%; }
.biometric-device-table th:nth-child(2) { width: 27%; }
.biometric-device-table th:nth-child(3) { width: 15%; }
.biometric-device-table th:nth-child(4) { width: 14%; }
.biometric-device-table th:nth-child(5) { width: 9%; }
.biometric-device-table th:nth-child(6) { width: 112px; }

.biometric-device-table .school-mono-copy,
.biometric-device-table .school-person-title,
.biometric-device-table .school-person-subtitle,
.biometric-device-table td > div {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.biometric-device-table .school-status-pill {
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
}

.biometric-device-table .school-actions-cell {
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    overflow: visible;
    padding-left: 6px;
    padding-right: 6px;
    text-align: center;
    white-space: nowrap;
}

.biometric-device-table td > .biometric-device-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
}

.biometric-device-table .school-icon-button {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    margin: 0;
}

body .app-modal-backdrop > .app-modal.biometric-device-view-modal {
    width: min(100%, 760px);
}

.biometric-device-view-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe5f4;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.biometric-device-view-status > div {
    display: grid;
    min-width: 0;
    gap: 0.2rem;
}

.biometric-device-view-status strong {
    color: #12213b;
    font-size: 1.15rem;
}

.biometric-device-view-status small {
    color: #6f7c96;
    font-weight: 700;
}

.biometric-device-view-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.biometric-device-view-grid article {
    display: grid;
    min-width: 0;
    gap: 0.35rem;
    padding: 0.9rem;
    border: 1px solid #e1e9f6;
    border-radius: 14px;
    background: #fff;
}

.biometric-device-view-grid article > span {
    color: #667391;
    font-size: 0.78rem;
    font-weight: 900;
}

.biometric-device-view-grid article > strong {
    color: #17213d;
    overflow-wrap: anywhere;
}

.biometric-device-view-grid article > small {
    color: #73809a;
    font-weight: 700;
}

.biometric-device-view-grid .school-mono-copy {
    white-space: normal;
    overflow-wrap: anywhere;
}

.biometric-device-view-wide {
    grid-column: 1 / -1;
}

.biometric-device-admin-card,
.biometric-sync-warning,
.biometric-device-details {
    grid-column: 1 / -1;
}

.biometric-device-admin-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe5f4;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.biometric-admin-heading {
    display: grid;
    gap: 0.35rem;
}

.biometric-eyebrow {
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.biometric-admin-heading h4 {
    margin: 0;
    color: #12213b;
    font-size: 1.08rem;
    font-weight: 900;
}

.biometric-admin-heading p {
    max-width: 46rem;
    margin: 0;
    color: #6f7c96;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.45;
}

.biometric-admin-address {
    display: grid;
    gap: 0.45rem;
    align-self: start;
    padding: 0.9rem;
    border: 1px solid #e1e9f6;
    border-radius: 14px;
    background: #fff;
}

.biometric-admin-address span {
    color: #667391;
    font-size: 0.8rem;
    font-weight: 900;
}

.biometric-admin-address .school-mono-copy {
    white-space: normal;
    overflow-wrap: anywhere;
}

.biometric-admin-actions {
    display: flex;
    flex-wrap: wrap;
    grid-column: 1 / -1;
    gap: 12px;
    align-items: center;
}

.biometric-admin-actions .school-primary-button,
.biometric-admin-actions .school-secondary-button {
    min-height: 48px;
}

.biometric-send-button {
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.16);
}

.biometric-sync-warning {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    border-color: #f4c76e;
    background: #fff8eb;
}

.biometric-sync-warning .school-toolbar-actions {
    margin-left: auto;
}

.biometric-device-details {
    overflow: hidden;
    border: 1px solid #dbe5f4;
    border-radius: 18px;
    background: #fff;
}

.biometric-device-details summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    align-items: center;
    gap: 1rem;
    min-height: 68px;
    padding: 1rem 1.15rem;
    color: #12213b;
    cursor: pointer;
    list-style: none;
}

.biometric-device-details summary::-webkit-details-marker {
    display: none;
}

.biometric-device-details summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #dbe5f4;
    border-radius: 12px;
    color: #5b6d88;
    font-size: 1.1rem;
    font-weight: 900;
}

.biometric-device-details[open] summary::after {
    content: "-";
}

.biometric-details-copy {
    display: grid;
    gap: 0.25rem;
}

.biometric-details-copy span {
    font-weight: 900;
}

.biometric-details-copy small {
    color: #73809a;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
}

.biometric-details-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 0.75rem;
    border-radius: 999px;
    background: #eef4ff;
    color: #3652b3;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
}

.biometric-device-details-body {
    padding: 0 1.15rem 1.15rem;
}

.biometric-detail-copy {
    align-self: center;
}

.biometric-last-test {
    grid-column: 1 / -1;
}

.biometric-command-history .school-subpanel-header {
    padding: 1rem 1.15rem 0;
}

.biometric-command-table-shell {
    margin: 0 1.15rem 1.15rem;
    overflow-x: auto;
}

.biometric-command-table {
    min-width: 900px;
}

@media (max-width: 900px) {
    .biometric-device-view-status {
        align-items: flex-start;
        flex-direction: column;
    }

    .biometric-device-view-grid {
        grid-template-columns: 1fr;
    }

    .biometric-device-view-wide {
        grid-column: auto;
    }

    .biometric-device-admin-card {
        grid-template-columns: 1fr;
    }

    .biometric-sync-warning .school-toolbar-actions,
    .biometric-admin-actions .school-primary-button,
    .biometric-admin-actions .school-secondary-button {
        width: 100%;
    }

    .biometric-device-details summary {
        grid-template-columns: minmax(0, 1fr) 34px;
    }

    .biometric-details-badge {
        display: none;
    }
}
.biometric-events-table-shell {
    overflow-x: auto;
    overflow-y: visible;
}

.biometric-events-table {
    min-width: 980px;
    table-layout: fixed;
}

.biometric-events-table th,
.biometric-events-table td {
    padding-left: 10px;
    padding-right: 10px;
}

.biometric-events-table th:nth-child(1) { width: 10%; }
.biometric-events-table th:nth-child(2) { width: 10%; }
.biometric-events-table th:nth-child(3) { width: 13%; }
.biometric-events-table th:nth-child(4) { width: 6%; }
.biometric-events-table th:nth-child(5) { width: 12%; }
.biometric-events-table th:nth-child(6) { width: 18%; }
.biometric-events-table th:nth-child(7) { width: 15%; }
.biometric-events-table th:nth-child(8) { width: 84px; }

.biometric-events-table .school-actions-cell {
    width: 84px;
    max-width: 84px;
    padding-left: 6px;
    padding-right: 6px;
    text-align: center;
}

.biometric-events-table .school-secondary-button {
    min-width: 0;
    padding: 0 10px;
    white-space: normal;
    line-height: 1.2;
}

@media (max-width: 1480px) {
    .biometric-device-table {
        min-width: 1010px;
    }

    .biometric-device-table th,
    .biometric-device-table td {
        padding-left: 8px;
        padding-right: 8px;
    }

    .biometric-device-table .school-status-pill {
        min-height: 26px;
        padding: 0 9px;
        font-size: 0.76rem;
    }
}

.checkpoint-action-menu {
    position: relative;
    display: inline-flex;
    justify-content: flex-end;
}

.checkpoint-action-toggle {
    position: relative;
    z-index: 62;
    cursor: pointer;
}

.checkpoint-action-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    background: transparent;
    cursor: default;
}

.checkpoint-action-list {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    display: grid;
    min-width: 190px;
    padding: 8px;
    border: 1px solid #dbe5f3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(25, 36, 69, 0.18);
}

.checkpoint-action-popover:not(:popover-open) {
    display: none;
}

.checkpoint-action-popover:popover-open {
    display: grid;
}

.checkpoint-action-menu-up .checkpoint-action-list {
    top: auto;
    bottom: calc(100% + 8px);
}

.checkpoint-action-list a,
.checkpoint-action-list button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #17213d;
    font: inherit;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.checkpoint-action-list a:hover,
.checkpoint-action-list button:hover {
    background: #f3f6fd;
}

.checkpoint-action-list .danger {
    color: #b43232;
}

.checkpoint-action-list .danger:hover {
    background: #fff1f1;
}

.school-danger-button {
    border-color: #ffd6d6 !important;
    color: #c83535 !important;
    background: #fff7f7 !important;
}

.checkpoint-active-check {
    align-self: end;
    min-height: 44px;
}

.checkpoint-fixed-qr-panel {
    display: grid;
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dbe5f3;
    border-radius: 12px;
    background: #ffffff;
}

.checkpoint-fixed-qr-preview {
    display: grid;
    place-items: center;
    min-height: 160px;
    border: 1px solid #edf2f7;
    border-radius: 10px;
    background: #f8fbff;
}

.checkpoint-fixed-qr-preview svg {
    width: 150px;
    height: 150px;
}

.checkpoint-fixed-qr-copy {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.checkpoint-fixed-qr-copy .school-mono-copy {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.checkpoint-fixed-qr-copy .school-secondary-button {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
}

.checkpoint-fixed-qr-copy span {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .checkpoint-fixed-qr-panel {
        grid-template-columns: 1fr;
    }

    .checkpoint-fixed-qr-preview {
        min-height: 0;
        padding: 14px;
    }

    .checkpoint-fixed-qr-preview svg {
        width: min(100%, 180px);
        height: auto;
    }
}

.checkpoint-device-panel {
    display: grid;
    gap: 14px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #e4ebf5;
    border-radius: 12px;
    background: #f8fbff;
}

.checkpoint-device-panel p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 0.88rem;
}

.checkpoint-device-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checkpoint-device-panel li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
}

.checkpoint-device-panel small {
    color: #64748b;
}

@media (max-width: 780px) {
    .checkpoint-fixed-qr-panel {
        grid-template-columns: 1fr;
    }

    .incidents-table-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .incidents-table-shell {
        overflow-x: auto;
    }

    .incidents-table {
        min-width: 960px;
    }

    .checkpoint-table-shell {
        overflow-x: auto;
    }

    .checkpoint-action-list {
        position: static;
        margin-top: 8px;
    }
}

.kiosk-secure-card {
    display: grid;
    gap: 14px;
    width: min(100%, 460px);
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #d8e5f5;
    border-radius: 18px;
    background: #fff;
    color: #102342;
    box-shadow: 0 18px 40px rgba(15, 35, 66, 0.12);
}

.kiosk-secure-card strong {
    font-size: 1.2rem;
}

.kiosk-secure-card p {
    margin: 0;
    color: #5f708e;
    line-height: 1.5;
}

.kiosk-secure-card label {
    display: grid;
    gap: 8px;
    color: #415273;
    font-weight: 800;
}

.kiosk-secure-card input {
    min-height: 46px;
    border: 1px solid #d8e2ef;
    border-radius: 10px;
    padding: 0 12px;
}

.kiosk-secure-card button {
    min-height: 46px;
    border: 0;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    font-weight: 800;
}

.kiosk-secure-card-blocked {
    border-color: #ffd6d6;
    background: #fff8f8;
}

.tenant-admin-layout {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.tenant-success-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #b8e3c7;
    border-radius: 14px;
    background: #f0fdf4;
    color: #14532d;
}

.tenant-success-banner div {
    display: grid;
    gap: 4px;
}

.tenant-success-banner strong {
    font-size: 0.98rem;
}

.tenant-success-banner span {
    color: #276749;
    font-size: 0.9rem;
    line-height: 1.35;
}

.tenant-success-actions {
    flex: 0 0 auto;
}

.tenant-admin-layout .school-subpanel {
    min-width: 0;
}

.tenant-whatsapp-box,
.tenant-fiscal-box,
.tenant-logo-box {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #dce6f4;
    border-radius: 14px;
    background: #f8fbff;
}

.tenant-logo-box {
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
}

.tenant-logo-preview,
.tenant-list-name-cell > span {
    display: grid;
    place-items: center;
    border: 1px solid #dce6f4;
    border-radius: 14px;
    background: #fff;
    color: #2d61d8;
    font-weight: 900;
}

.tenant-logo-preview {
    width: 72px;
    height: 72px;
}

.tenant-logo-preview img,
.tenant-list-name-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tenant-logo-actions {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.tenant-logo-actions strong {
    color: #14213d;
    font-size: 0.94rem;
}

.tenant-logo-actions span {
    color: #667792;
    font-size: 0.82rem;
    line-height: 1.35;
}

.tenant-logo-actions input[type="file"] {
    width: 100%;
    color: #334155;
    font-size: 0.82rem;
}

.tenant-logo-feedback {
    display: block;
    color: #5e6e89;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.tenant-logo-feedback.success {
    color: #0f766e;
}

.tenant-logo-feedback.warning {
    color: #b42318;
}

.tenant-fiscal-address {
    min-height: 86px;
    resize: vertical;
}

.tenant-list-name-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.tenant-list-name-cell img,
.tenant-list-name-cell > span {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.tenant-list-name-cell small {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
}

.tenant-whatsapp-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.tenant-whatsapp-heading strong {
    color: #14213d;
    font-size: 0.94rem;
}

.tenant-whatsapp-heading span {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf3ff;
    color: #2761d8;
    font-size: 0.78rem;
    font-weight: 800;
}

.tenant-secret-hint {
    margin: 0;
    color: #667792;
    font-size: 0.82rem;
    line-height: 1.35;
}

.portal-generated-password-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.portal-generated-password-row .school-code-input {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    letter-spacing: 0.04em;
}

.portal-email-credentials-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: #f8fbff;
}

.portal-email-credentials-option input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.portal-email-credentials-option span {
    display: grid;
    gap: 3px;
}

.portal-email-credentials-option small {
    color: #667792;
}

@media (max-width: 720px) {
    .portal-generated-password-row {
        grid-template-columns: 1fr;
    }
}

.portal-user-access-panel {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid #dfe7f2;
    border-radius: 14px;
    background: #f8fbff;
}

.portal-user-access-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 10px;
}

.portal-user-access-heading strong {
    color: #0f1d34;
    font-size: 0.95rem;
}

.portal-user-access-heading span {
    color: #667792;
    font-size: 0.8rem;
}

.portal-user-access-list {
    display: grid;
    gap: 8px;
    max-height: 220px;
    overflow: auto;
}

.portal-user-access-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e3ebf7;
    border-radius: 12px;
    background: #fff;
}

.portal-user-access-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.portal-user-access-row input {
    width: 18px;
    height: 18px;
}

.portal-user-access-row strong {
    display: block;
    color: #10213d;
    font-size: 0.9rem;
}

.portal-user-access-row small {
    display: block;
    color: #6b7890;
    font-size: 0.78rem;
}

.portal-user-default-radio {
    color: #506079;
    font-size: 0.82rem;
    font-weight: 800;
}

.tenant-whatsapp-paths {
    display: grid;
    gap: 8px;
}

.tenant-whatsapp-paths div {
    display: grid;
    gap: 4px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e5edf8;
    border-radius: 10px;
    background: #fff;
}

.tenant-whatsapp-paths span {
    color: #667792;
    font-size: 0.76rem;
    font-weight: 800;
}

.tenant-whatsapp-paths strong {
    color: #15223d;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.tenant-whatsapp-toggle {
    align-items: flex-start;
    padding: 2px 0 4px;
}

.tenant-whatsapp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.tenant-whatsapp-inline-feedback {
    display: grid;
    gap: 3px;
    flex: 1 1 100%;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.83rem;
    line-height: 1.35;
}

.tenant-whatsapp-inline-feedback strong {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0;
}

.tenant-whatsapp-inline-feedback span {
    overflow-wrap: anywhere;
}

.tenant-whatsapp-inline-feedback.success {
    color: #166534;
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.tenant-whatsapp-inline-feedback.warning {
    color: #8a3b12;
    border: 1px solid #fed7aa;
    background: #fff7ed;
}

.tenant-whatsapp-filter-chip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #dce8f8;
    border-radius: 10px;
    background: #fff;
    color: #425572;
    font-size: 0.78rem;
    font-weight: 800;
}

.tenant-whatsapp-filter-chip strong {
    color: #15223d;
    overflow-wrap: anywhere;
}

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

.tenant-template-purpose {
    color: #5b6b86;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.35;
}

.role-permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.role-permission-group {
    border: 1px solid #d8e4f5;
    border-radius: 8px;
    padding: 14px;
    background: #fbfdff;
}

.role-permission-group h4 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #10213f;
}

.role-permission-list {
    display: grid;
    gap: 10px;
}

.role-permission-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #10213f;
}

.role-permission-check input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.role-permission-check span {
    display: grid;
    gap: 2px;
}

.role-permission-check strong {
    font-size: 0.92rem;
}

.role-permission-check small {
    color: #617193;
    line-height: 1.35;
}

.role-permission-summary {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2250a8;
    font-weight: 800;
    font-size: 0.82rem;
}

.role-permission-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.role-permission-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f0f5fb;
    color: #14213d;
    font-size: 0.82rem;
    font-weight: 800;
}

.tenant-whatsapp-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.tenant-whatsapp-status-grid div {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #e5edf8;
    border-radius: 10px;
    background: #fff;
}

.tenant-whatsapp-status-grid span {
    color: #667792;
    font-size: 0.76rem;
    font-weight: 800;
}

.tenant-whatsapp-status-grid strong {
    color: #15223d;
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}

.tenant-whatsapp-delivery-panel {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid #dce8f8;
    border-radius: 10px;
    background: #f8fbff;
}

.tenant-whatsapp-delivery-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tenant-whatsapp-delivery-header div {
    display: grid;
    gap: 2px;
}

.tenant-whatsapp-delivery-header strong {
    color: #15223d;
    font-size: 0.9rem;
}

.tenant-whatsapp-delivery-header span {
    color: #667792;
    font-size: 0.76rem;
    font-weight: 800;
}

.tenant-whatsapp-delivery-list {
    display: grid;
    gap: 8px;
}

.tenant-whatsapp-delivery-row {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid #e5edf8;
    border-left-width: 4px;
    border-radius: 8px;
    background: #fff;
}

.tenant-whatsapp-delivery-row span {
    width: fit-content;
    padding: 3px 7px;
    border-radius: 999px;
    color: #15223d;
    background: #eaf1fb;
    font-size: 0.72rem;
    font-weight: 900;
}

.tenant-whatsapp-delivery-row strong {
    color: #15223d;
    font-size: 0.86rem;
    overflow-wrap: anywhere;
}

.tenant-whatsapp-delivery-row small,
.tenant-whatsapp-delivery-row p {
    margin: 0;
    color: #5b6d87;
    font-size: 0.76rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.tenant-whatsapp-delivery-row.failed {
    border-left-color: #ef4444;
}

.tenant-whatsapp-delivery-row.delivered,
.tenant-whatsapp-delivery-row.read {
    border-left-color: #16a34a;
}

.tenant-whatsapp-delivery-row.pending {
    border-left-color: #4f88ff;
}

.notification-list {
    display: grid;
    gap: 12px;
}

.notification-card {
    display: grid;
    gap: 5px;
    padding: 16px 18px;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #ffffff;
    color: #0f2447;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.notification-card strong {
    font-size: 0.98rem;
}

.notification-card span {
    color: #5d6b82;
    line-height: 1.45;
}

.notification-warning {
    border-color: #f7d9a5;
    background: #fffaf0;
}

.notification-info {
    border-color: #cddcff;
    background: #f7faff;
}

.notification-critical {
    border-color: #ffc8c8;
    background: #fff7f7;
}

@media (max-width: 1100px) {
    .tenant-success-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .tenant-success-actions,
    .tenant-success-actions .school-primary-button {
        width: 100%;
    }

    .tenant-admin-layout {
        grid-template-columns: 1fr;
    }

    .tenant-whatsapp-status-grid {
        grid-template-columns: 1fr;
    }

    .tenant-template-grid {
        grid-template-columns: 1fr;
    }

    .role-permission-grid {
        grid-template-columns: 1fr;
    }

    .tenant-logo-box {
        grid-template-columns: 1fr;
    }

    .login-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .login-hero {
        display: none;
    }

    .login-panel-inner {
        min-height: auto;
        padding: 48px 28px 28px;
    }
}

@media (max-width: 640px) {
    .login-shell {
        padding: 0;
        align-items: stretch;
    }

    .login-card {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .login-brand-logo {
        width: min(100%, 218px);
    }

    .login-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .login-trust-strip div {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 16px;
    }
}

.whatsapp-simulator-actions {
    margin-top: 14px;
}

.whatsapp-simulator-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 360px;
    max-height: 560px;
    overflow-y: auto;
    padding: 8px 2px;
}

.whatsapp-simulator-empty,
.school-muted-copy {
    color: #64748b;
    font-size: 0.95rem;
}

.whatsapp-message-row {
    display: flex;
}

.whatsapp-message-row.inbound {
    justify-content: flex-end;
}

.whatsapp-message-row.outbound {
    justify-content: flex-start;
}

.whatsapp-message-bubble {
    max-width: min(680px, 82%);
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    padding: 10px 12px;
    background: #ffffff;
    color: #0f172a;
    line-height: 1.45;
    white-space: pre-wrap;
}

.whatsapp-message-row.inbound .whatsapp-message-bubble {
    background: #e8f5ef;
    border-color: #bfe4d0;
}

.whatsapp-message-meta {
    margin-bottom: 5px;
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.whatsapp-simulator-details {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 10px 14px;
    margin: 0;
}

.whatsapp-simulator-details dt {
    color: #64748b;
    font-weight: 700;
}

.whatsapp-simulator-details dd {
    margin: 0;
    color: #0f172a;
    overflow-wrap: anywhere;
}

.landing-shell {
    --landing-navy: #0d1b2a;
    --landing-blue: #2563eb;
    --landing-teal: #14b8a6;
    --landing-green: #22c55e;
    --landing-ink: #10213d;
    --landing-muted: #5f6f89;
    --landing-line: #dfe7f2;
    --landing-soft: #f5f8fc;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 48%, #ffffff 100%);
    color: var(--landing-ink);
}

.landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    min-height: 78px;
    padding: 14px min(5vw, 72px);
    border-bottom: 1px solid rgba(223, 231, 242, 0.86);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.landing-brand {
    display: inline-flex;
    align-items: center;
    width: 164px;
}

.landing-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.landing-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    min-width: 0;
    color: #42536f;
    font-size: 0.95rem;
    font-weight: 800;
}

.landing-nav a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
}

.landing-header-actions,
.landing-hero-actions,
.landing-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.landing-primary-button,
.landing-secondary-button,
.landing-link-button,
.landing-plan-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.landing-primary-button {
    background: linear-gradient(135deg, var(--landing-blue) 0%, var(--landing-teal) 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.landing-secondary-button,
.landing-link-button {
    border-color: #d9e3f0;
    background: #ffffff;
    color: #1b2b46;
}

.landing-link-button {
    min-height: 40px;
    padding-inline: 12px;
    border-color: transparent;
    background: transparent;
    color: #334155;
}

.landing-primary-button:hover,
.landing-secondary-button:hover,
.landing-link-button:hover,
.landing-plan-action:hover {
    transform: translateY(-1px);
}

.landing-primary-button-large,
.landing-secondary-button-large {
    min-height: 50px;
    padding-inline: 20px;
    font-size: 1rem;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    gap: min(5vw, 74px);
    align-items: center;
    min-height: 720px;
    padding: 46px min(5vw, 72px) 64px;
}

.landing-hero-copy {
    min-width: 0;
    max-width: 680px;
}

.landing-hero-copy h1 {
    color: var(--landing-navy);
    font-size: 5.4rem;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: 0;
}

.landing-hero-lede {
    margin-top: 22px;
    color: #45566f;
    font-size: 1.22rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.landing-hero-actions {
    margin-top: 32px;
}

.landing-proof-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 38px;
}

.landing-proof-row div {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.82);
}

.landing-proof-row strong,
.landing-proof-row span {
    display: block;
}

.landing-proof-row strong {
    color: var(--landing-navy);
    font-size: 1.08rem;
    font-weight: 900;
}

.landing-proof-row span {
    margin-top: 4px;
    color: var(--landing-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.landing-hero-visual {
    position: relative;
    min-width: 0;
    padding: 22px;
    border: 1px solid #dfe7f2;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.96));
    box-shadow: 0 28px 80px rgba(15, 35, 66, 0.12);
}

.landing-visual-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.landing-visual-top img {
    width: min(46%, 150px);
    height: 86px;
    padding: 8px;
    border: 1px solid #e1e8f3;
    border-radius: 16px;
    background: #ffffff;
    object-fit: contain;
}

.landing-product-preview {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 390px;
    overflow: hidden;
    border: 1px solid #dbe5f3;
    border-radius: 18px;
    background: #ffffff;
}

.landing-preview-sidebar {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(180deg, #0d1b2a 0%, #122846 100%);
}

.landing-preview-sidebar span {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
}

.landing-preview-sidebar span:first-child {
    background: linear-gradient(135deg, var(--landing-blue), var(--landing-teal));
}

.landing-preview-main {
    display: grid;
    gap: 18px;
    align-content: start;
    min-width: 0;
    padding: 22px;
}

.landing-preview-title-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.landing-preview-title-row div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.landing-preview-title-row strong {
    color: var(--landing-navy);
    font-size: 1.08rem;
    font-weight: 900;
}

.landing-preview-title-row span,
.landing-preview-list p,
.landing-checkout-row span {
    color: var(--landing-muted);
}

.landing-preview-title-row small {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #15803d;
    font-size: 0.76rem;
    font-weight: 900;
}

.landing-preview-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.landing-preview-kpis div {
    min-width: 0;
    min-height: 96px;
    padding: 13px;
    border: 1px solid #e3ebf7;
    border-radius: 14px;
    background: #f8fbff;
}

.landing-preview-kpis span,
.landing-preview-kpis strong {
    display: block;
}

.landing-preview-kpis span {
    color: #60708a;
    font-size: 0.78rem;
    font-weight: 800;
}

.landing-preview-kpis strong {
    margin-top: 10px;
    color: var(--landing-navy);
    font-size: 2rem;
    line-height: 1;
    font-weight: 900;
}

.landing-preview-list {
    display: grid;
    gap: 8px;
}

.landing-preview-list div {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid #e8eef7;
    border-radius: 12px;
}

.landing-preview-list strong {
    color: #263854;
    font-size: 0.82rem;
}

.landing-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
}

.landing-dot-green {
    background: var(--landing-green);
}

.landing-dot-blue {
    background: var(--landing-blue);
}

.landing-dot-teal {
    background: var(--landing-teal);
}

.landing-whatsapp-card {
    position: absolute;
    right: 34px;
    bottom: -28px;
    width: min(300px, 70%);
    padding: 16px 18px;
    border: 1px solid #ccebdd;
    border-radius: 18px;
    background: #f0fdf4;
    color: #155b35;
    box-shadow: 0 18px 40px rgba(21, 128, 61, 0.12);
}

.landing-whatsapp-card strong {
    display: block;
    margin-bottom: 5px;
    color: #0f5130;
    font-size: 1rem;
    font-weight: 900;
}

.landing-whatsapp-card p {
    color: #226645;
    font-size: 0.9rem;
    line-height: 1.4;
}

.landing-section {
    padding: 78px min(5vw, 72px);
}

.landing-section-head {
    display: grid;
    gap: 12px;
    min-width: 0;
    max-width: 760px;
    margin-bottom: 32px;
}

.landing-section-head h2,
.landing-payment-copy h2,
.landing-final-cta h2 {
    color: var(--landing-navy);
    font-size: 2.35rem;
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
}

.landing-section-head p,
.landing-payment-copy p,
.landing-final-cta p {
    color: #53657f;
    font-size: 1rem;
    line-height: 1.6;
}

.landing-products {
    background: #ffffff;
}

.landing-product-grid,
.landing-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.landing-product-card,
.landing-plan-card,
.landing-checkout-card,
.landing-onboarding-grid article {
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(15, 35, 66, 0.06);
}

.landing-product-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-width: 0;
    min-height: 310px;
    padding: 24px;
}

.landing-product-card img {
    width: 88px;
    height: 88px;
    padding: 10px;
    border: 1px solid #e0e8f4;
    border-radius: 18px;
    background: #ffffff;
    object-fit: contain;
}

.landing-product-card h3,
.landing-plan-card h3,
.landing-onboarding-grid h3 {
    color: var(--landing-navy);
    font-size: 1.35rem;
    font-weight: 900;
}

.landing-product-card p {
    margin-top: 8px;
    color: #53657f;
    line-height: 1.58;
}

.landing-product-card ul,
.landing-plan-card ul {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.landing-product-card li,
.landing-plan-card li {
    position: relative;
    padding-left: 22px;
    color: #33445e;
    line-height: 1.42;
}

.landing-product-card li::before,
.landing-plan-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--landing-teal);
}

.landing-product-card-company li::before {
    background: var(--landing-blue);
}

.landing-plans {
    background: #f5f8fc;
}

.landing-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.landing-plan-card {
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 420px;
    padding: 24px;
}

.landing-plan-card-featured {
    border-color: rgba(37, 99, 235, 0.48);
    box-shadow: 0 22px 54px rgba(37, 99, 235, 0.14);
}

.landing-plan-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.landing-plan-head span {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eef6ff;
    color: #2259c6;
    font-size: 0.76rem;
    font-weight: 900;
}

.landing-plan-card-featured .landing-plan-head span {
    background: #ecfdf5;
    color: #15803d;
}

.landing-plan-price {
    color: var(--landing-navy);
    font-size: 1.62rem;
    font-weight: 900;
}

.landing-plan-action {
    margin-top: auto;
    border-color: #d9e3f0;
    background: #ffffff;
    color: #17325f;
}

.landing-plan-card-featured .landing-plan-action {
    border-color: transparent;
    background: linear-gradient(135deg, var(--landing-blue), var(--landing-teal));
    color: #ffffff;
}

.landing-payment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    gap: min(5vw, 72px);
    align-items: center;
    background: #ffffff;
}

.landing-payment-copy {
    display: grid;
    gap: 18px;
    max-width: 720px;
}

.landing-payment-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.landing-payment-steps div {
    min-width: 0;
    padding: 14px;
    border: 1px solid #dfe7f2;
    border-radius: 14px;
    background: #f8fbff;
}

.landing-payment-steps strong,
.landing-payment-steps span {
    display: block;
}

.landing-payment-steps strong {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--landing-navy);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.landing-payment-steps span {
    color: #394b65;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.35;
}

.landing-checkout-card {
    display: grid;
    gap: 14px;
    padding: 24px;
}

.landing-checkout-brand {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f8;
}

.landing-checkout-brand img {
    width: 128px;
    height: auto;
}

.landing-checkout-brand span {
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf7ff;
    color: #2259c6;
    font-size: 0.76rem;
    font-weight: 900;
}

.landing-checkout-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    align-items: center;
    border-bottom: 1px solid #edf2f8;
}

.landing-checkout-row strong {
    color: var(--landing-navy);
    text-align: right;
}

.landing-checkout-button {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #dbe5f3;
    color: #45566f;
    font-weight: 900;
    cursor: not-allowed;
}

.landing-checkout-card p {
    color: #65758f;
    font-size: 0.86rem;
    line-height: 1.5;
}

.landing-onboarding {
    background: #f5f8fc;
}

.landing-onboarding-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.landing-onboarding-grid article {
    min-height: 250px;
    padding: 22px;
}

.landing-onboarding-grid span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--landing-blue), var(--landing-teal));
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
}

.landing-onboarding-grid p {
    margin-top: 10px;
    color: #53657f;
    line-height: 1.55;
}

.landing-final-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin: 0 min(5vw, 72px) 70px;
    padding: 32px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 22px;
    background:
        linear-gradient(135deg, #eef6ff 0%, #f1fbf7 100%);
}

.landing-final-cta div:first-child {
    max-width: 760px;
}

.landing-final-cta p {
    margin-top: 10px;
}

@media (max-width: 1180px) {
    .landing-header {
        grid-template-columns: auto auto;
    }

    .landing-nav {
        order: 3;
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .landing-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 48px;
    }

    .landing-hero-copy {
        max-width: 840px;
    }

    .landing-hero-visual {
        max-width: 820px;
    }

    .landing-payment {
        grid-template-columns: 1fr;
    }

    .landing-checkout-card {
        max-width: 640px;
    }

    .landing-onboarding-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .landing-header {
        position: static;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        grid-template-columns: 1fr;
        gap: 14px;
        padding-inline: 20px;
    }

    .landing-brand {
        width: 148px;
    }

    .landing-header-actions {
        width: 100%;
        max-width: calc(100vw - 40px);
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-header-actions a {
        width: 100%;
        min-width: 0;
    }

    .landing-hero,
    .landing-section {
        width: 100%;
        max-width: 100vw;
        padding-inline: 20px;
    }

    .landing-hero-copy,
    .landing-hero-actions,
    .landing-proof-row,
    .landing-hero-visual {
        width: 100%;
        max-width: calc(100vw - 40px);
    }

    .landing-hero-copy h1 {
        font-size: 3.8rem;
    }

    .landing-hero-lede {
        font-size: 1.08rem;
        max-width: 100%;
    }

    .landing-proof-row,
    .landing-product-grid,
    .landing-plan-grid,
    .landing-payment-steps {
        grid-template-columns: 1fr;
    }

    .landing-product-card {
        grid-template-columns: 1fr;
    }

    .landing-product-preview {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .landing-preview-sidebar {
        display: flex;
        padding: 12px;
    }

    .landing-preview-sidebar span {
        width: 34px;
        height: 34px;
    }

    .landing-preview-kpis {
        grid-template-columns: 1fr;
    }

    .landing-whatsapp-card {
        position: static;
        width: 100%;
        margin-top: 14px;
    }

    .landing-visual-top {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .landing-visual-top img {
        width: 100%;
        min-width: 0;
    }

    .landing-final-cta {
        align-items: stretch;
        flex-direction: column;
        margin-inline: 20px;
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .landing-header,
    .landing-hero,
    .landing-section {
        padding-left: 20px;
        padding-right: 40px;
    }

    .landing-header-actions,
    .landing-hero-copy,
    .landing-hero-actions,
    .landing-proof-row,
    .landing-hero-visual {
        max-width: calc(100vw - 60px);
    }

    .landing-nav {
        gap: 18px;
        font-size: 0.88rem;
    }

    .landing-hero {
        padding-top: 34px;
        padding-bottom: 52px;
    }

    .landing-hero-copy h1 {
        font-size: 3rem;
    }

    .landing-hero-actions a,
    .landing-final-actions a {
        width: 100%;
        max-width: 330px;
    }

    .landing-hero-copy {
        max-width: 330px;
    }

    .landing-hero-visual,
    .landing-product-card,
    .landing-plan-card,
    .landing-checkout-card,
    .landing-onboarding-grid article {
        border-radius: 14px;
        padding: 18px;
    }

    .landing-section-head h2,
    .landing-payment-copy h2,
    .landing-final-cta h2 {
        font-size: 1.85rem;
    }

    .landing-preview-title-row,
    .landing-checkout-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .landing-checkout-row strong {
        text-align: left;
    }

    .landing-onboarding-grid {
        grid-template-columns: 1fr;
    }
}

/* Entria cloud landing based on the user's clean reference layout. */
.cloud-page {
    --cloud-text: #202020;
    --cloud-muted: #858585;
    --cloud-line: #e8e8e8;
    --cloud-blue: #5797f4;
    --cloud-blue-soft: #e8f1ff;
    --cloud-green: #5ac262;
    --cloud-violet: #6b5bf1;
    --cloud-pink: #d43bd0;
    --cloud-gold: #cfa12a;
    --cloud-red: #ef6a61;
    min-height: 100vh;
    background: #ffffff;
    color: var(--cloud-text);
    font-family: Inter, Poppins, "Segoe UI", system-ui, sans-serif;
}

.cloud-page a {
    color: inherit;
    text-decoration: none;
}

.cloud-nav-shell {
    position: fixed;
    top: 32px;
    left: 50%;
    z-index: 40;
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    width: min(calc(100% - 96px), 1550px);
    min-height: 82px;
    margin: 0;
    padding: 0 26px;
    border: 1px solid rgba(12, 15, 24, 0.11);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 46px rgba(18, 21, 30, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.cloud-brand {
    display: inline-flex;
    align-items: center;
    width: 158px;
}

.cloud-brand img,
.cloud-footer-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.cloud-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(12, 15, 24, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #101219;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(18, 21, 30, 0.08);
}

.cloud-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.cloud-nav-shell[data-menu-open="true"] .cloud-menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.cloud-nav-shell[data-menu-open="true"] .cloud-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.cloud-nav-shell[data-menu-open="true"] .cloud-menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.cloud-menu-panel {
    display: contents;
}

.cloud-nav,
.cloud-nav-actions,
.cloud-hero-actions,
.cloud-trust-row {
    display: flex;
    align-items: center;
}

.cloud-nav {
    justify-content: flex-start;
    gap: clamp(28px, 3vw, 54px);
    font-size: clamp(0.95rem, 0.95vw, 1.1rem);
    font-weight: 850;
}

.cloud-nav-actions {
    gap: 22px;
    font-size: clamp(0.95rem, 0.95vw, 1.1rem);
    font-weight: 850;
    white-space: nowrap;
}

.cloud-nav a,
.cloud-nav-actions > a {
    transition: color 180ms ease, transform 180ms ease;
}

.cloud-login-trigger,
.cloud-company-trigger {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.cloud-company-trigger {
    --cloud-rocket-fly: 175px;
    --cloud-rocket-trail: 230px;
}

.cloud-button.cloud-company-trigger {
    --cloud-rocket-fly: 145px;
    --cloud-rocket-trail: 190px;
}

.cloud-login-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px 0 48px;
    border: 1px solid transparent;
    border-radius: 999px;
}

.cloud-trigger-label {
    position: relative;
    z-index: 2;
}

.cloud-login-trigger::before,
.cloud-login-trigger::after,
.cloud-company-trigger::before,
.cloud-company-trigger::after {
    pointer-events: none;
}

.cloud-login-trigger::before {
    content: "";
    position: absolute;
    left: 11px;
    top: 50%;
    z-index: 0;
    width: 28px;
    height: 28px;
    border: 2px solid #141821;
    border-radius: 10px;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cg fill='none' stroke='%23141821' stroke-linecap='round'%3E%3Cpath d='M8.2 14.2c0-3.4 2.6-5.9 5.8-5.9s5.8 2.5 5.8 5.9' stroke-opacity='.42' stroke-width='1.45'/%3E%3Cpath d='M10.4 16.8c-.6-3.4 1-6 3.6-6s4.2 2.6 3.6 6' stroke-opacity='.38' stroke-width='1.3'/%3E%3Cpath d='M12.4 18.2c-.6-2-.4-5 1.6-5s2.2 3 1.6 5' stroke-opacity='.34' stroke-width='1.2'/%3E%3Cpath d='M8.8 18.5c1.8 2.7 8.6 2.7 10.4 0' stroke-opacity='.3' stroke-width='1.15'/%3E%3C/g%3E%3Ccircle cx='14' cy='14.2' r='2.7' fill='%235ac262'/%3E%3C/svg%3E") center / 22px 22px no-repeat,
        linear-gradient(90deg, transparent 0 28%, rgba(87, 151, 244, 0.36) 28% 33%, transparent 33% 67%, rgba(87, 151, 244, 0.36) 67% 72%, transparent 72%),
        #ffffff;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12), inset 0 0 0 4px rgba(87, 151, 244, 0.1);
    opacity: 0;
    transform: translate(-14px, -50%) scale(0.72);
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1);
}

.cloud-login-trigger::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 50%;
    z-index: 1;
    width: 14px;
    height: 25px;
    border: 2px solid #141821;
    border-radius: 999px 999px 7px 7px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f2f7 100%);
    box-shadow: 6px 9px 0 -5px #ffffff, 6px 9px 0 -3px #141821;
    opacity: 0;
    transform: translate(-42px, -35%) rotate(-18deg);
}

.cloud-login-trigger:hover::before,
.cloud-login-trigger:focus-visible::before {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
}

.cloud-login-trigger:hover::after,
.cloud-login-trigger:focus-visible::after {
    animation: cloudBiometricTap 900ms cubic-bezier(.2, .8, .2, 1) both;
}

.cloud-company-trigger::before {
    content: "";
    position: absolute;
    left: -82px;
    bottom: -8px;
    z-index: 0;
    width: 56px;
    height: 24px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 18px 18px, #ffffff 0 15px, transparent 16px),
        radial-gradient(circle at 38px 12px, #ffffff 0 18px, transparent 19px);
    opacity: 0;
    filter: drop-shadow(0 7px 7px rgba(0, 0, 0, 0.18));
}

.cloud-company-trigger::after {
    content: "";
    position: absolute;
    left: -72px;
    top: 50%;
    z-index: 1;
    width: 54px;
    height: 26px;
    border-radius: 70% 999px 999px 70%;
    background:
        radial-gradient(circle at 78% 50%, #cf2d70 0 5px, transparent 6px),
        linear-gradient(90deg, #ffffff 0 17%, #eeb7ff 18% 52%, #ffffff 53% 100%);
    box-shadow:
        -12px 0 0 -5px #f5a7ff,
        -19px 0 0 -12px #ffb34c,
        inset -5px 0 0 #5797f4;
    opacity: 0;
    transform: translateY(-50%) rotate(-8deg);
}

.cloud-company-trigger:hover::before,
.cloud-company-trigger:focus-visible::before {
    animation: cloudRocketTrail 950ms cubic-bezier(.2, .8, .2, 1) both;
}

.cloud-company-trigger:hover::after,
.cloud-company-trigger:focus-visible::after {
    animation: cloudRocketFly 950ms cubic-bezier(.2, .8, .2, 1) both;
}

.cloud-nav a:hover,
.cloud-nav-actions > a:not(.cloud-nav-primary):hover {
    color: #4f94f4;
    transform: translateY(-1px);
}

.cloud-page .cloud-nav-primary,
.cloud-page .cloud-button-primary {
    background: #101219;
    color: #ffffff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08), 0 5px 0 rgba(0, 0, 0, 0.14);
}

.cloud-nav-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    min-height: 56px;
    padding: 0 26px;
    border: 2px solid #242734;
    border-radius: 999px;
    font-size: clamp(0.95rem, 0.95vw, 1.08rem);
}

.cloud-hero {
    position: relative;
    min-height: 760px;
    margin-top: 0;
    padding: 248px 24px 0;
    background: #fbfbfb;
}

.cloud-hero-copy {
    position: relative;
    z-index: 3;
    display: grid;
    justify-items: center;
    width: min(100%, 1120px);
    margin: 0 auto;
    text-align: center;
}

.cloud-hero-copy h1 {
    max-width: 840px;
    margin: 0;
    color: var(--cloud-text);
    font-size: clamp(3.35rem, 4.25vw, 4.35rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: 0;
}

.cloud-hero-copy p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #818181;
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 760;
}

.cloud-hero-actions {
    gap: 16px;
    margin-top: 28px;
}

.cloud-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 2px solid #101219;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 850;
    letter-spacing: 0;
}

.cloud-button-secondary {
    background: #ffffff;
    color: #101219;
}

.cloud-button:disabled {
    cursor: not-allowed;
    opacity: 0.56;
}

@keyframes cloudBiometricTap {
    0% {
        opacity: 0;
        transform: translate(-42px, -35%) rotate(-18deg);
    }
    24% {
        opacity: 1;
        transform: translate(-8px, -42%) rotate(-9deg);
    }
    52% {
        opacity: 1;
        transform: translate(0, -35%) rotate(-4deg) scaleY(0.9);
    }
    76% {
        opacity: 1;
        transform: translate(3px, -48%) rotate(5deg);
    }
    100% {
        opacity: 0;
        transform: translate(35px, -70%) rotate(14deg);
    }
}

@keyframes cloudRocketFly {
    0% {
        opacity: 0;
        transform: translate(-26px, -50%) rotate(-12deg) scale(0.85);
    }
    18% {
        opacity: 1;
    }
    72% {
        opacity: 1;
        transform: translate(var(--cloud-rocket-fly), -55%) rotate(-5deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(calc(var(--cloud-rocket-fly) + 100px), -70%) rotate(6deg) scale(0.9);
    }
}

@keyframes cloudRocketTrail {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.7);
    }
    24% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(var(--cloud-rocket-trail)) scale(1.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cloud-login-trigger:hover::after,
    .cloud-login-trigger:focus-visible::after,
    .cloud-company-trigger:hover::before,
    .cloud-company-trigger:focus-visible::before,
    .cloud-company-trigger:hover::after,
    .cloud-company-trigger:focus-visible::after {
        animation: none;
        opacity: 0;
    }
}

.cloud-mail-action {
    cursor: pointer;
}

.cloud-mail-link {
    display: inline;
    border: 0;
    background: transparent;
    color: var(--cloud-blue);
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    padding: 0;
    text-align: left;
}

.cloud-mail-link:hover,
.cloud-mail-link:focus {
    text-decoration: underline;
}

.cloud-trust-row {
    position: relative;
    z-index: 4;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    margin-top: 70px;
    color: var(--cloud-blue);
    font-size: 0.88rem;
    font-weight: 760;
}

.cloud-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.cloud-trust-row svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 50%;
    background: var(--cloud-blue);
    color: #ffffff;
}

.cloud-hero-paperclip,
.cloud-hero-device,
.cloud-showcase-keyboard,
.cloud-showcase-clip {
    position: absolute;
    pointer-events: none;
}

.cloud-hero-paperclip {
    left: 84px;
    top: 300px;
    width: 32px;
    height: 126px;
    border: 6px solid #a9bfce;
    border-left-width: 5px;
    border-radius: 28px;
    transform: rotate(40deg);
    filter: drop-shadow(0 12px 8px rgba(0, 0, 0, 0.22));
}

.cloud-hero-paperclip::after {
    content: "";
    position: absolute;
    inset: 14px 7px 14px 8px;
    border: 5px solid #eef8ff;
    border-left-width: 3px;
    border-radius: 22px;
}

.cloud-hero-device {
    right: -40px;
    top: 0;
    width: 180px;
    height: 470px;
    border-radius: 24px;
    background: linear-gradient(100deg, #eff1f5, #ffffff 38%, #dfe3eb);
    box-shadow: -26px 34px 70px rgba(17, 24, 39, 0.14);
    transform: rotate(-14deg);
}

.cloud-hero-device::before {
    content: "";
    position: absolute;
    left: 32px;
    top: 98px;
    width: 100px;
    height: 250px;
    border-radius: 9px;
    background: repeating-linear-gradient(180deg, #cfd4dd 0 3px, transparent 3px 7px);
    opacity: 0.65;
}

.cloud-hero-docs {
    position: absolute;
    left: 50%;
    bottom: -170px;
    z-index: 2;
    width: 730px;
    height: 320px;
    transform: translateX(-50%);
}

.cloud-sheet {
    position: absolute;
    width: 430px;
    height: 260px;
    border: 1px solid #ededed;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(26, 26, 26, 0.08);
}

.cloud-sheet-left {
    left: -110px;
    bottom: -4px;
    transform: rotate(-17deg);
}

.cloud-sheet-right {
    right: -94px;
    bottom: 0;
    transform: rotate(8deg);
}

.cloud-attendance-sheet,
.cloud-product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    background: #ffffff;
    box-shadow: 0 34px 86px rgba(26, 26, 26, 0.11);
}

.cloud-attendance-sheet {
    width: 690px;
    min-height: 320px;
    margin: 0 auto;
}

.cloud-sheet-head,
.cloud-product-top {
    padding: 20px 34px 18px;
    border-bottom: 1px solid #eeeeee;
}

.cloud-sheet-head span,
.cloud-product-top span,
.cloud-sheet-parties > div > span,
.cloud-product-grid small,
.cloud-sheet-table span,
.cloud-product-table span {
    color: #9a9a9a;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cloud-sheet-head strong,
.cloud-product-top strong {
    display: block;
    margin-top: 6px;
    font-size: 1rem;
}

.cloud-sheet-parties,
.cloud-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cloud-sheet-parties > div,
.cloud-product-grid > div {
    min-height: 152px;
    padding: 28px 34px;
}

.cloud-sheet-parties > div + div,
.cloud-product-grid > div + div {
    border-left: 1px solid #eeeeee;
}

.cloud-seal {
    width: 40px;
    height: 40px;
    margin: 18px 0 14px;
    border-radius: 999px;
}

.cloud-seal-blue {
    background: radial-gradient(circle at 30% 25%, #3c6cff, #234bf4);
}

.cloud-seal-green {
    background: var(--cloud-green);
}

.cloud-mock-title {
    display: block;
    margin: 0;
    font-size: 1.42rem;
    line-height: 1.1;
    letter-spacing: 0;
}

.cloud-sheet-parties p,
.cloud-sheet-parties small,
.cloud-product-grid p {
    color: var(--cloud-muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

.cloud-sheet-parties p {
    margin: 6px 0 22px;
}

.cloud-sheet-table,
.cloud-product-table {
    padding: 18px 34px 26px;
    border-top: 1px solid #eeeeee;
}

.cloud-sheet-table > div,
.cloud-product-table > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px 74px;
    gap: 14px;
    min-height: 31px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    color: #676767;
}

.cloud-showcase {
    position: relative;
    min-height: 650px;
    padding: 190px 24px 88px;
    background: #ffffff;
}

.cloud-showcase-keyboard {
    left: -80px;
    top: 190px;
    width: 245px;
    height: 340px;
    border-radius: 28px;
    background: repeating-linear-gradient(180deg, #f8f8f8 0 42px, #dcdcdc 42px 45px);
    box-shadow: 26px 28px 54px rgba(0, 0, 0, 0.22);
    transform: rotate(16deg);
}

.cloud-showcase-clip {
    right: 150px;
    top: 250px;
    width: 72px;
    height: 90px;
    border-radius: 12px;
    background: linear-gradient(135deg, #efb461, #98351f);
    box-shadow: 34px 26px 30px rgba(0, 0, 0, 0.18);
    transform: rotate(18deg);
}

.cloud-showcase-clip::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 22px;
    width: 76px;
    height: 42px;
    border: 5px solid #6f8796;
    border-radius: 50%;
    transform: rotate(20deg);
}

.cloud-product-stack {
    position: relative;
    width: min(100%, 740px);
    margin: 0 auto;
}

.cloud-product-card {
    width: min(100%, 720px);
    margin: 0 auto;
}

.cloud-product-card-back {
    position: absolute;
    z-index: 0;
    left: -100px;
    top: 58px;
    width: 360px;
    min-height: 330px;
    padding: 28px;
    opacity: 0.78;
    transform: rotate(-18deg);
}

.cloud-product-stack .cloud-product-card:not(.cloud-product-card-back) {
    z-index: 1;
}

.cloud-product-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.cloud-product-grid > div {
    min-height: 188px;
}

.cloud-product-grid .cloud-mock-title {
    margin-top: 18px;
}

.cloud-audience,
.cloud-problems,
.cloud-security,
.cloud-pricing,
.cloud-distributor,
.cloud-final-cta,
.cloud-footer {
    width: min(calc(100% - 64px), 1520px);
    margin: 0 auto;
    scroll-margin-top: 128px;
}

.cloud-audience {
    padding: 92px 0 76px;
    text-align: center;
}

.cloud-section-label {
    margin: 0 0 18px;
    color: var(--cloud-blue);
    font-size: 0.94rem;
    font-weight: 930;
}

.cloud-audience h2,
.cloud-problems h2,
.cloud-final-cta h2 {
    max-width: 760px;
    margin: 0 auto;
    color: var(--cloud-text);
    font-size: 2.65rem;
    line-height: 1.13;
    font-weight: 950;
    letter-spacing: 0;
}

.cloud-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 58px;
}

.cloud-info-card {
    min-height: 178px;
    padding: 28px 30px;
    border-radius: 18px;
    background: #f8f8f8;
    text-align: left;
}

.cloud-info-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.cloud-info-title svg {
    width: 24px;
    height: 24px;
}

.cloud-info-title h3 {
    margin: 0;
    font-size: 1.18rem;
    font-weight: 930;
}

.cloud-info-title.blue { color: var(--cloud-blue); }
.cloud-info-title.pink { color: var(--cloud-pink); }
.cloud-info-title.violet { color: var(--cloud-violet); }
.cloud-info-title.green { color: #6aa23a; }
.cloud-info-title.gold { color: var(--cloud-gold); }
.cloud-info-title.red { color: var(--cloud-red); }

.cloud-info-card p,
.cloud-problem-card p,
.cloud-security p {
    margin: 0;
    color: #858585;
    font-size: 1.02rem;
    line-height: 1.45;
    font-weight: 680;
}

.cloud-problems {
    padding: 92px 0 78px;
}

.cloud-problems h2 {
    max-width: 850px;
    margin-left: 0;
    text-align: left;
}

.cloud-problem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 68px;
}

.cloud-problem-card h3 {
    margin: 0 0 16px;
    font-size: 1.02rem;
    font-weight: 930;
}

.cloud-problem-card > div {
    display: grid;
    place-items: center;
    min-height: 178px;
    margin-top: 30px;
    border-radius: 18px;
}

.cloud-problem-card svg {
    width: 46px;
    height: 46px;
}

.cloud-problem-card.blue h3,
.cloud-problem-card.blue svg { color: var(--cloud-blue); }
.cloud-problem-card.pink h3,
.cloud-problem-card.pink svg { color: var(--cloud-pink); }
.cloud-problem-card.violet h3,
.cloud-problem-card.violet svg { color: var(--cloud-violet); }
.cloud-problem-card.blue > div { background: #e6f0ff; }
.cloud-problem-card.pink > div { background: #f8ddf5; }
.cloud-problem-card.violet > div { background: #e8e4ff; }

.cloud-security {
    padding: 78px 0 98px;
}

.cloud-security-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.cloud-security h2 {
    margin: 0 0 14px;
    font-size: 1.24rem;
    font-weight: 950;
    line-height: 1.18;
}

.cloud-security-panel {
    display: grid;
    place-items: center;
    min-height: 280px;
    margin-top: 28px;
    border-radius: 18px;
}

.cloud-security-panel span {
    display: grid;
    place-items: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.66rem;
    font-weight: 950;
}

.cloud-security-panel strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.cloud-security-panel.blue {
    background: #e4efff;
}

.cloud-security-panel.blue span {
    background: var(--cloud-blue);
}

.cloud-security-panel.violet {
    background: #e8e4ff;
}

.cloud-security-panel.violet span {
    background: var(--cloud-violet);
}

.cloud-pricing {
    padding: 90px 0 96px;
}

.cloud-pricing-head {
    display: grid;
    justify-items: center;
    max-width: 820px;
    margin: 0 auto 46px;
    text-align: center;
}

.cloud-pricing-head h2 {
    max-width: 780px;
    margin: 0;
    color: var(--cloud-text);
    font-size: clamp(2.35rem, 4vw, 4.6rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: 0;
}

.cloud-pricing-head p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
    color: #858585;
    font-size: 1.02rem;
    line-height: 1.55;
    font-weight: 680;
}

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

.cloud-price-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 18px;
    min-height: 560px;
    padding: 24px;
    border: 1px solid #ededed;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.055);
}

.cloud-price-card.featured {
    border-color: rgba(83, 141, 238, 0.46);
    box-shadow: 0 28px 72px rgba(83, 141, 238, 0.16);
}

.cloud-price-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #e9f2ff;
    color: var(--cloud-blue);
    font-size: 0.76rem;
    font-weight: 930;
}

.cloud-price-card-top {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-right: 56px;
}

.cloud-price-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 16px;
}

.cloud-price-icon svg {
    width: 22px;
    height: 22px;
}

.cloud-price-icon.blue { background: #e7f0ff; color: var(--cloud-blue); }
.cloud-price-icon.green { background: #e8f8ef; color: #23b66f; }
.cloud-price-icon.violet { background: #eeeaff; color: var(--cloud-violet); }
.cloud-price-icon.pink { background: #fde7f8; color: var(--cloud-pink); }

.cloud-price-card h3 {
    margin: 0;
    color: var(--cloud-text);
    font-size: 1.18rem;
    line-height: 1.1;
    font-weight: 950;
}

.cloud-price-card-top p {
    margin: 7px 0 0;
    color: #7e7e7e;
    font-size: 0.92rem;
    line-height: 1.38;
    font-weight: 650;
}

.cloud-price-options {
    display: grid;
    gap: 10px;
}

.cloud-price-option {
    display: grid;
    gap: 4px;
    min-height: 94px;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 16px;
    background: #fbfbfb;
    color: var(--cloud-text);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cloud-price-option:hover,
.cloud-price-option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(83, 141, 238, 0.5);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.cloud-price-option.unavailable {
    color: #8b8b8b;
    background: #f5f5f5;
    cursor: not-allowed;
}

.cloud-price-option.unavailable:hover {
    transform: none;
    border-color: #eeeeee;
    box-shadow: none;
}

.cloud-price-option span,
.cloud-price-option small {
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cloud-price-option span {
    color: var(--cloud-blue);
}

.cloud-price-option strong {
    color: var(--cloud-text);
    font-size: 1.35rem;
    line-height: 1.08;
    font-weight: 950;
}

.cloud-price-option small {
    color: #858585;
    text-transform: none;
}

.cloud-price-option-strong {
    background: #f4f8ff;
    border-color: #dbe9ff;
}

.cloud-price-card ul {
    display: grid;
    gap: 10px;
    margin: 0 0 6px;
    padding: 0;
    list-style: none;
}

.cloud-price-card li {
    position: relative;
    padding-left: 22px;
    color: #686868;
    font-size: 0.92rem;
    line-height: 1.36;
    font-weight: 680;
}

.cloud-price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.34em;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: var(--cloud-blue);
}

.cloud-price-card li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: calc(0.34em + 4px);
    width: 5px;
    height: 3px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.cloud-price-main-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: auto;
    padding: 0 20px;
    border-radius: 999px;
    background: #101219;
    color: #ffffff;
    font-weight: 930;
    text-align: center;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.08), 0 5px 0 rgba(0, 0, 0, 0.14);
}

.cloud-pricing-note {
    max-width: 780px;
    margin: 26px auto 0;
    color: #858585;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.45;
    font-weight: 650;
}

.cloud-selected-plan {
    display: grid;
    gap: 4px;
    max-width: 420px;
    margin-top: 8px;
    padding: 14px 16px;
    border: 1px solid #dbe9ff;
    border-radius: 16px;
    background: #f4f8ff;
}

.cloud-selected-plan span {
    color: var(--cloud-blue);
    font-size: 0.74rem;
    font-weight: 920;
    text-transform: uppercase;
}

.cloud-selected-plan strong {
    color: var(--cloud-text);
    font-size: 1.12rem;
    font-weight: 940;
}

.cloud-selected-plan small {
    color: #858585;
    font-size: 0.88rem;
    font-weight: 700;
}
.cloud-distributor {
    padding: 88px 0 98px;
}

.cloud-distributor-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.68fr);
    gap: 28px;
    align-items: start;
}

.cloud-distributor-story {
    position: relative;
    display: grid;
    gap: 28px;
    min-height: 100%;
    padding: 34px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 16%, rgba(91, 198, 255, 0.24), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(82, 221, 151, 0.16), transparent 28%),
        linear-gradient(135deg, #08101b 0%, #0d1b2a 54%, #111827 100%);
    color: #ffffff;
    box-shadow: 0 26px 74px rgba(8, 16, 27, 0.18);
}

.cloud-distributor-logo-wrap {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    background: #0d1b2a;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.cloud-distributor-logo-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.cloud-distributor-copy {
    display: grid;
    gap: 16px;
    max-width: 760px;
}

.cloud-distributor-copy .cloud-section-label {
    margin-bottom: 0;
    color: #7fb5ff;
}

.cloud-distributor-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.25rem, 4vw, 4.3rem);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: 0;
}

.cloud-distributor-copy p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.04rem;
    line-height: 1.55;
    font-weight: 650;
}

.cloud-distributor-benefits {
    display: grid;
    gap: 0;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.cloud-distributor-benefits article {
    display: grid;
    grid-template-columns: minmax(150px, 0.45fr) minmax(0, 1fr);
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cloud-distributor-benefits strong {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 900;
}

.cloud-distributor-benefits span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 620;
}

.cloud-distributor-form {
    align-self: stretch;
}
.cloud-final-cta {
    padding: 78px 24px 92px;
    text-align: center;
}

.cloud-final-cta h2 {
    max-width: 760px;
    margin-bottom: 28px;
}

.cloud-legal-hero {
    display: grid;
    justify-items: center;
    padding: 190px 24px 52px;
    background: #fbfbfb;
    text-align: center;
}

.cloud-legal-hero h1 {
    max-width: 820px;
    margin: 10px 0 0;
    font-size: clamp(2.7rem, 4.2vw, 4.2rem);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: 0;
}

.cloud-legal-hero > p:last-child {
    margin: 18px 0 0;
    color: var(--cloud-muted);
    font-size: 1rem;
    font-weight: 760;
}

.cloud-legal-content {
    width: min(calc(100% - 48px), 980px);
    margin: 0 auto;
    padding: 40px 0 88px;
}

.cloud-legal-card {
    display: grid;
    gap: 18px;
    padding: 42px 0 0;
    border-top: 1px solid #eeeeee;
}

.cloud-legal-card h2 {
    margin: 24px 0 0;
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 920;
    letter-spacing: 0;
}

.cloud-legal-card h2:first-child {
    margin-top: 0;
}

.cloud-legal-card p,
.cloud-legal-card li {
    margin: 0;
    color: #6f6f6f;
    font-size: 1rem;
    line-height: 1.72;
    font-weight: 620;
}

.cloud-legal-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.cloud-legal-card a {
    color: var(--cloud-blue);
    font-weight: 850;
}

.cloud-contact-content {
    width: min(calc(100% - 48px), 1180px);
    margin: 0 auto;
    padding: 42px 0 92px;
}

.cloud-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.72fr);
    gap: 24px;
    align-items: start;
}

.cloud-contact-card,
.cloud-contact-form-card {
    border: 1px solid #eeeeee;
    border-radius: 22px;
    background: #ffffff;
}

.cloud-contact-form-card {
    position: relative;
    display: grid;
    gap: 22px;
    padding: 30px;
    box-shadow: 0 20px 54px rgba(15, 23, 42, 0.06);
}

.cloud-contact-form-heading {
    display: grid;
    gap: 10px;
}

.cloud-contact-form-heading span,
.cloud-contact-card span {
    color: var(--cloud-blue);
    font-size: 0.75rem;
    font-weight: 920;
    letter-spacing: 0;
    text-transform: uppercase;
}

.cloud-contact-form-heading h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(1.7rem, 2.2vw, 2.55rem);
    line-height: 1.02;
    font-weight: 940;
    letter-spacing: 0;
}

.cloud-contact-form-heading p {
    max-width: 620px;
    margin: 0;
    color: #7b7b7b;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 620;
}

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

.cloud-contact-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.cloud-contact-field.full {
    grid-column: 1 / -1;
}

.cloud-contact-field span {
    color: #222222;
    font-size: 0.84rem;
    font-weight: 850;
}

.cloud-contact-field input,
.cloud-contact-field select,
.cloud-contact-field textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dedede;
    border-radius: 14px;
    background: #fafafa;
    color: #171717;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 640;
    outline: none;
    padding: 12px 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.cloud-contact-field textarea {
    min-height: 132px;
    resize: vertical;
}

.cloud-contact-field input:focus,
.cloud-contact-field select:focus,
.cloud-contact-field textarea:focus {
    border-color: rgba(84, 149, 238, 0.85);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(84, 149, 238, 0.16);
}

.cloud-contact-consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #696969;
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 650;
}

.cloud-contact-consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--cloud-blue);
}

.cloud-contact-consent a {
    color: var(--cloud-blue);
    font-weight: 850;
}

.cloud-contact-alert {
    border-radius: 16px;
    padding: 14px 16px;
    font-size: 0.94rem;
    font-weight: 780;
    line-height: 1.45;
}

.cloud-contact-alert.success {
    border: 1px solid rgba(15, 188, 127, 0.28);
    background: rgba(15, 188, 127, 0.11);
    color: #08734f;
}

.cloud-contact-alert.error {
    border: 1px solid rgba(220, 38, 38, 0.26);
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
}

.cloud-form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cloud-contact-side {
    display: grid;
    gap: 16px;
}

.cloud-contact-card {
    display: grid;
    align-content: start;
    gap: 14px;
    min-height: 0;
    padding: 24px;
}

.cloud-contact-card.primary {
    background: #101219;
    color: #ffffff;
}

.cloud-contact-card.primary span {
    color: #79adff;
}

.cloud-contact-card h2 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.12;
    font-weight: 930;
    letter-spacing: 0;
}

.cloud-email-address {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    overflow-wrap: anywhere;
}

.cloud-contact-card p {
    margin: 0;
    color: #6f6f6f;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 620;
}

.cloud-contact-card.primary p {
    color: rgba(255, 255, 255, 0.72);
}

.cloud-contact-card > a:not(.cloud-button),
.cloud-contact-side a {
    color: var(--cloud-blue);
    font-weight: 850;
    overflow-wrap: anywhere;
}

.cloud-contact-card .cloud-button {
    width: fit-content;
    margin-top: 6px;
    background: #ffffff;
    color: #101219;
    box-shadow: none;
}

.cloud-footer {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    gap: 70px;
    padding: 88px 24px 72px;
    border-top: 1px solid #f1f1f1;
}

.cloud-footer-brand {
    display: inline-flex;
    width: 138px;
    margin-bottom: 24px;
}

.cloud-footer-headline {
    max-width: 390px;
    margin: 0 0 24px;
    font-size: 1.24rem;
    font-weight: 900;
    line-height: 1.32;
}

.cloud-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px;
}

.cloud-footer h3 {
    margin: 0 0 18px;
    font-size: 1rem;
}

.cloud-footer nav a {
    display: block;
    margin-top: 14px;
    color: #858585;
    font-size: 0.94rem;
    font-weight: 680;
}

@media (max-width: 1180px) {
    .cloud-nav-shell {
        top: 18px;
        grid-template-columns: 144px minmax(0, 1fr);
        min-height: auto;
        border-radius: 32px;
        padding: 14px 22px;
    }

    .cloud-brand {
        width: 142px;
    }

    .cloud-nav-actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }

    .cloud-nav {
        justify-content: flex-end;
        gap: 24px;
    }

    .cloud-hero {
        min-height: 760px;
        padding-top: 250px;
    }

    .cloud-hero-copy h1 {
        font-size: 3.25rem;
    }

    .cloud-hero-copy p {
        font-size: 1.08rem;
    }

    .cloud-hero-device {
        right: -110px;
    }

    .cloud-hero-docs {
        width: 680px;
        bottom: -160px;
    }

    .cloud-attendance-sheet {
        width: 660px;
    }

    .cloud-card-grid,
    .cloud-problem-grid,
    .cloud-pricing-grid {
        gap: 22px;
    }

    .cloud-audience h2,
    .cloud-problems h2,
    .cloud-final-cta h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 860px) {
    .cloud-nav-shell {
        top: 12px;
        width: min(calc(100% - 32px), 720px);
        grid-template-columns: 1fr;
        border-radius: 24px;
        padding: 16px;
    }

    .cloud-brand {
        width: 136px;
    }

    .cloud-nav {
        justify-content: flex-start;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 4px;
        font-size: 0.78rem;
    }

    .cloud-nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        min-width: 0;
        white-space: normal;
    }

    .cloud-nav-primary {
        min-width: 0;
        min-height: 48px;
        width: min(100%, 280px);
        max-width: 280px;
        padding-inline: 18px;
    }

    .cloud-hero {
        min-height: 850px;
        margin-top: 0;
        padding: 330px 20px 0;
    }

    .cloud-hero-copy h1 {
        max-width: 310px;
        font-size: 1.68rem;
        line-height: 1.16;
    }

    .cloud-hero-copy p {
        max-width: 300px;
        margin-top: 22px;
        font-size: 0.88rem;
    }

    .cloud-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(100%, 280px);
    }

    .cloud-button {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
        padding-inline: 18px;
    }

    .cloud-trust-row {
        display: grid;
        justify-items: start;
        gap: 14px;
        margin-top: 38px;
        font-size: 0.88rem;
    }

    .cloud-trust-row span {
        white-space: normal;
    }

    .cloud-hero-paperclip,
    .cloud-hero-device,
    .cloud-showcase-keyboard,
    .cloud-showcase-clip {
        display: none;
    }

    .cloud-hero-docs {
        left: 0;
        right: 0;
        bottom: -88px;
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden;
        transform: none;
    }

    .cloud-attendance-sheet {
        flex: 0 0 600px;
        transform: scale(0.56);
        transform-origin: top center;
    }

    .cloud-sheet-left,
    .cloud-sheet-right {
        display: none;
    }

    .cloud-showcase {
        min-height: auto;
        padding: 136px 20px 68px;
    }

    .cloud-product-card-back {
        display: none;
    }

    .cloud-product-grid,
    .cloud-sheet-parties,
    .cloud-security-grid,
    .cloud-footer,
    .cloud-footer nav {
        grid-template-columns: 1fr;
    }

    .cloud-product-grid > div + div,
    .cloud-sheet-parties > div + div {
        border-left: 0;
        border-top: 1px solid #eeeeee;
    }

    .cloud-product-grid > div,
    .cloud-sheet-parties > div {
        min-height: auto;
        padding: 28px 24px;
    }

    .cloud-product-top,
    .cloud-sheet-table,
    .cloud-product-table {
        padding-inline: 24px;
    }

    .cloud-product-table > div,
    .cloud-sheet-table > div {
        grid-template-columns: minmax(0, 1fr) 58px 58px;
        font-size: 0.82rem;
    }

    .cloud-audience,
    .cloud-problems,
    .cloud-security,
    .cloud-pricing,
    .cloud-distributor,
    .cloud-final-cta,
    .cloud-footer {
        width: min(calc(100% - 40px), 720px);
    }

    .cloud-audience,
    .cloud-problems,
    .cloud-security,
    .cloud-pricing {
        padding-block: 76px;
    }

    .cloud-audience h2,
    .cloud-problems h2,
    .cloud-final-cta h2 {
        font-size: 2.25rem;
    }

    .cloud-card-grid,
    .cloud-problem-grid,
    .cloud-pricing-grid {
        grid-template-columns: 1fr;
        margin-top: 46px;
    }

    .cloud-info-card {
        min-height: auto;
        padding: 28px 26px;
    }

    .cloud-info-card p,
    .cloud-problem-card p,
    .cloud-security p {
        font-size: 1rem;
    }

    .cloud-problem-card > div,
    .cloud-security-panel {
        min-height: 190px;
    }

    .cloud-security-panel span {
        width: 120px;
        height: 120px;
        font-size: 1.55rem;
    }

    .cloud-distributor-shell,
    .cloud-distributor-benefits article {
        grid-template-columns: 1fr;
    }

    .cloud-distributor {
        padding: 74px 0 78px;
    }

    .cloud-distributor-story {
        padding: 24px;
        border-radius: 24px;
    }

    .cloud-distributor-logo-wrap {
        border-radius: 18px;
    }

    .cloud-distributor-copy h2 {
        font-size: 2.18rem;
    }

    .cloud-final-cta {
        padding: 74px 0 84px;
    }

    .cloud-legal-hero {
        padding: 148px 20px 44px;
    }

    .cloud-legal-content {
        width: min(calc(100% - 40px), 720px);
        padding: 32px 0 68px;
    }

    .cloud-legal-card {
        padding-top: 34px;
    }

    .cloud-contact-content {
        width: min(calc(100% - 40px), 720px);
        padding: 32px 0 70px;
    }

    .cloud-contact-layout,
    .cloud-contact-form-grid {
        grid-template-columns: 1fr;
    }

    .cloud-contact-form-card {
        padding: 24px;
    }

    .cloud-contact-card {
        min-height: auto;
    }

    .cloud-footer {
        gap: 42px;
        padding: 74px 0 64px;
    }
}

/* Login reference layout */
.login-shell {
    display: block;
    min-height: 100vh;
    padding: 0;
    background: #ffffff;
    font-family: Poppins, Inter, "Segoe UI", system-ui, sans-serif;
}

.login-card {
    display: grid;
    grid-template-columns: minmax(0, 54%) minmax(390px, 46%);
    grid-template-rows: 1fr;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
}

.login-hero {
    position: relative;
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 35% 38%, rgba(75, 118, 255, 0.35), transparent 28%),
        radial-gradient(circle at 78% 78%, rgba(85, 209, 105, 0.9), transparent 34%),
        linear-gradient(138deg, #2e46d6 0%, #263fa9 42%, #236474 72%, #54c464 100%);
}

.login-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    opacity: 0.2;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.22), transparent 18%),
        radial-gradient(circle at 74% 45%, rgba(255, 255, 255, 0.14), transparent 22%);
}

.login-hero::after {
    content: "";
    position: absolute;
    inset: -18% -8%;
    background: radial-gradient(circle at 50% 50%, transparent 0 42%, rgba(7, 16, 55, 0.2) 78%);
    pointer-events: none;
}

.login-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: clamp(38px, 5.4vh, 70px) clamp(30px, 5.4vw, 104px);
    text-align: center;
    box-sizing: border-box;
}

.login-bot-brand {
    display: grid;
    justify-items: center;
    gap: clamp(12px, 1.2vw, 20px);
}

.login-bot-lockup {
    --jornadabot-gap: clamp(12px, 1.2vw, 20px);
    --jornadabot-robot-size: clamp(158px, 13.5vw, 246px);
    --jornadabot-wordmark-size: clamp(2.7rem, 4.05vw, 4.9rem);
    --jornadabot-wordmark-weight: 760;
    --jornadabot-bot-weight: 820;
}

.login-hero-subtitle {
    margin-top: clamp(18px, 2.2vh, 28px);
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.92rem, 1vw, 1.14rem);
    line-height: 1.28;
    font-weight: 760;
}

.login-hero-subtitle strong {
    color: #6edf7c;
}

.login-hero-rule {
    display: block;
    width: 54px;
    height: 4px;
    margin: clamp(18px, 2.8vh, 28px) 0 clamp(18px, 2.8vh, 28px);
    border-radius: 999px;
    background: #76df83;
}

.login-hero-copy {
    max-width: 540px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.84rem, 0.9vw, 1rem);
    line-height: 1.46;
    font-weight: 560;
}

.login-feature-list {
    position: static;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 680px);
    gap: 0;
    margin-top: clamp(32px, 5vh, 54px);
}

.login-feature-list > div {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    gap: 8px;
    min-width: 0;
    padding: 0 clamp(8px, 1.2vw, 20px);
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.login-feature-list > div:last-child {
    border-right: 0;
}

.login-feature-list svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #74e284;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.login-feature-list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.76rem, 0.82vw, 0.9rem);
    line-height: 1.22;
    font-weight: 620;
}

.login-panel {
    display: grid;
    place-items: center;
    min-height: 100vh;
    background: #ffffff;
}

.login-panel-inner {
    display: flex;
    flex-direction: column;
    width: min(100%, 424px);
    min-height: auto;
    padding: clamp(38px, 6vh, 64px) 0;
    box-sizing: border-box;
}

.login-brand-home {
    display: block;
    width: fit-content;
    text-decoration: none;
}

.login-brand-logo {
    display: block;
    width: min(100%, 302px);
    height: auto;
    margin: 0 0 clamp(38px, 5vh, 56px);
}

.login-heading {
    margin-bottom: 22px;
}

.login-heading h1 {
    margin: 0;
    color: #242832;
    font-size: 1.2rem;
    line-height: 1.15;
    font-weight: 780;
    letter-spacing: 0;
}

.login-error {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #fff0f0;
    color: #b43232;
    font-size: 0.94rem;
    font-weight: 700;
}

.login-provider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 0 20px 0 22px;
    border: 0;
    border-radius: 8px;
    background: #efefef;
    color: #8b8b8b;
    font-size: 0.98rem;
    font-weight: 520;
    cursor: not-allowed;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.google-letter {
    color: #8f8f8f;
    font-family: Arial, sans-serif;
    font-size: 1.28rem;
    font-weight: 500;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 24px 0 22px;
    color: #777777;
    font-size: 0.92rem;
    font-weight: 620;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dfdfdf;
}

.login-divider span {
    flex: 0 0 auto;
}

.login-form {
    display: grid;
    gap: 0;
}

.login-field-group {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    background: #efefef;
}

.login-field {
    display: flex;
    align-items: center;
    min-height: 58px;
    gap: 0;
    border-bottom: 2px solid #ffffff;
    background: #efefef;
    color: #242832;
    font-size: 0.96rem;
    font-weight: 520;
}

.login-field:last-child {
    border-bottom: 0;
}

.login-field input {
    width: 100%;
    min-width: 0;
    height: 58px;
    border: 0;
    outline: 0;
    padding: 0 22px;
    background: transparent;
    color: #22252c;
    font: inherit;
}

.login-field input::placeholder {
    color: #888888;
    opacity: 1;
}

.login-password-field input {
    padding-right: 16px;
}

.login-show-button {
    flex: 0 0 auto;
    min-width: 76px;
    height: 58px;
    padding: 0 18px 0 8px;
    border: 0;
    background: transparent;
    color: #777777;
    font: inherit;
    font-weight: 620;
    cursor: pointer;
}

.login-show-button:hover,
.login-show-button:focus-visible {
    color: #242832;
}

.login-submit {
    width: 100%;
    min-height: 58px;
    border: 0;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(135deg, #272727 0%, #1f1f1f 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 760;
    cursor: pointer;
    box-shadow: none;
}

.login-link-stack {
    display: grid;
    justify-items: center;
    gap: 16px;
    margin-top: 22px;
}

@media (max-width: 860px) {
    .cloud-nav-shell {
        top: 12px;
        width: min(calc(100% - 32px), 720px);
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 14px;
        border-radius: 24px;
        padding: 16px;
        overflow: visible;
    }

    .cloud-brand {
        width: 136px;
    }

    .cloud-hero {
        min-height: 720px;
        padding-top: 170px;
    }

    .cloud-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .cloud-menu-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 2;
        display: none;
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        border: 1px solid rgba(12, 15, 24, 0.11);
        border-radius: 26px;
        background: #ffffff;
        box-shadow: 0 22px 54px rgba(18, 21, 30, 0.14);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .cloud-nav-shell[data-menu-open="true"] .cloud-menu-panel {
        display: grid;
    }

    .cloud-nav {
        display: grid;
        width: 100%;
        justify-content: stretch;
        overflow: visible;
        gap: 0;
        padding: 0;
        border-top: 0;
        font-size: 0.98rem;
    }

    .cloud-nav a {
        display: flex;
        align-items: center;
        min-height: 42px;
        border-bottom: 1px solid rgba(12, 15, 24, 0.08);
    }

    .cloud-nav a:last-child {
        border-bottom: 0;
    }

    .cloud-nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        min-width: 0;
        margin-top: 0;
        white-space: normal;
    }

    .cloud-nav-actions .cloud-login-trigger {
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
        border: 1px solid rgba(12, 15, 24, 0.1);
        border-radius: 999px;
    }

    .cloud-nav-actions .cloud-login-trigger::before,
    .cloud-nav-actions .cloud-login-trigger::after {
        display: none;
    }

    .cloud-nav-primary {
        min-width: 0;
        min-height: 48px;
        width: 100%;
        max-width: none;
        padding-inline: 18px;
    }
}
.login-link-stack button,
.login-demo-link button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #6f7787;
    font: inherit;
    font-weight: 650;
    cursor: not-allowed;
}

.login-link-stack button {
    font-size: 0.92rem;
}

.login-demo-link {
    margin: 30px 0 0;
    color: #888888;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 520;
}

.login-demo-link strong {
    color: #242832;
    font-weight: 650;
}

.login-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .login-card {
        grid-template-columns: minmax(0, 51%) minmax(360px, 49%);
    }

    .login-panel-inner {
        width: min(calc(100% - 56px), 408px);
    }

    .login-feature-list {
        width: min(100%, 620px);
    }
}

@media (max-width: 980px) {
    .login-card {
        grid-template-columns: 1fr;
    }

    .login-hero,
    .login-panel {
        min-height: auto;
    }

    .login-hero-content {
        min-height: 600px;
    }

    .login-panel-inner {
        width: min(calc(100% - 48px), 424px);
        padding: 54px 0 66px;
    }
}

@media (max-width: 640px) {
    .login-hero-content {
        min-height: 550px;
        padding: 40px 22px 34px;
    }

    .login-bot-lockup {
        --jornadabot-robot-size: min(58vw, 190px);
        --jornadabot-wordmark-size: clamp(2.55rem, 12vw, 3.5rem);
    }

    .login-feature-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
        margin-top: 34px;
    }

    .login-feature-list > div:nth-child(2n) {
        border-right: 0;
    }

    .login-feature-list svg {
        width: 30px;
        height: 30px;
    }

    .login-panel-inner {
        width: min(calc(100% - 36px), 400px);
        padding: 44px 0 56px;
    }

    .login-brand-logo {
        width: min(100%, 248px);
        margin-bottom: 34px;
    }

    .login-provider,
    .login-field,
    .login-field input,
    .login-show-button,
    .login-submit {
        min-height: 58px;
        height: 58px;
    }
}

/* Dashboard entry splash and tenant onboarding */
.entry-splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.68)),
        url("/brand/zen-onboarding.png") left bottom / cover no-repeat;
    pointer-events: none;
    opacity: 0;
    visibility: visible;
    transition: opacity 500ms ease, visibility 500ms ease;
}

.entry-splash.visible {
    opacity: 1;
}

.entry-splash.fading {
    opacity: 0;
    visibility: hidden;
}

.entry-splash::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 52% 42%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.2) 48%, transparent 78%);
    pointer-events: none;
}

.entry-splash-copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 14px;
    width: min(100%, 900px);
    padding: 34px 24px;
    text-align: center;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 650ms ease, transform 650ms ease;
}

.entry-splash-copy.visible {
    opacity: 1;
    transform: translateY(0);
}

.entry-splash.fading .entry-splash-copy {
    opacity: 0;
    transform: translateY(-10px);
}

.entry-splash-layout {
    animation: entrySplashLifecycle 2000ms ease forwards;
}

html.entria-entry-splash-pending .portal-shell {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.entry-splash-copy-layout {
    animation: entrySplashCopyLifecycle 1900ms ease forwards;
}

.entry-splash-copy span {
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.entry-splash-copy h1 {
    color: #0d1b2a;
    font-size: clamp(2.4rem, 5.2vw, 5.5rem);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: 0;
}

.entry-content {
    opacity: 1;
    visibility: visible;
    transform: none;
}

@keyframes entrySplashLifecycle {
    0% {
        opacity: 0;
        visibility: visible;
        pointer-events: auto;
    }

    22%,
    72% {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

@keyframes entrySplashCopyLifecycle {
    0%,
    8% {
        opacity: 0;
        transform: translateY(12px);
    }

    32%,
    68% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.dashboard-onboarding-stage {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 118px);
    padding: clamp(18px, 3vw, 54px) 0;
}

.dashboard-onboarding-panel {
    display: grid;
    gap: 18px;
    width: min(100%, 1040px);
    justify-self: center;
    padding: 22px;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 52px rgba(15, 23, 42, 0.08);
}

.dashboard-onboarding-head {
    display: grid;
    gap: 7px;
}

.dashboard-onboarding-head span {
    color: #14b8a6;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-onboarding-head h2 {
    margin: 0;
    color: #0d1b2a;
    font-size: 1.38rem;
    font-weight: 880;
    letter-spacing: 0;
}

.dashboard-onboarding-head p {
    color: #6b7890;
    font-weight: 620;
}

.dashboard-onboarding-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.dashboard-onboarding-grid .validation-message {
    color: #b42318;
    font-size: 0.78rem;
    font-weight: 720;
}

.dashboard-setup-path {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #dce5f3;
    border-radius: 14px;
    background: #f8fbff;
}

.dashboard-setup-path-head {
    display: grid;
    gap: 4px;
}

.dashboard-setup-path-head span {
    color: #14b8a6;
    font-size: 0.78rem;
    font-weight: 840;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-setup-path-head h3 {
    margin: 0;
    color: #0d1b2a;
    font-size: 1.05rem;
    line-height: 1.2;
    font-weight: 840;
}

.dashboard-setup-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-setup-steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    min-height: 126px;
    padding: 12px;
    border: 1px solid #e3ebf7;
    border-radius: 12px;
    background: #ffffff;
}

.dashboard-setup-steps li > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #eef8f7;
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 860;
}

.dashboard-setup-steps strong {
    display: block;
    color: #0d1b2a;
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 840;
}

.dashboard-setup-steps p {
    margin: 5px 0 0;
    color: #66728a;
    font-size: 0.8rem;
    line-height: 1.35;
    font-weight: 620;
}

.dashboard-demo-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid #f4d7a5;
    border-radius: 14px;
    background: #fff8eb;
}

.dashboard-demo-choice h3 {
    margin: 0 0 4px;
    color: #7c4a03;
    font-size: 1rem;
    font-weight: 840;
}

.dashboard-demo-choice p {
    color: #8a5a12;
    font-size: 0.9rem;
    font-weight: 650;
}

.dashboard-choice-buttons {
    display: inline-grid;
    grid-template-columns: repeat(2, 72px);
    gap: 8px;
}

.dashboard-choice-button {
    min-height: 40px;
    border: 1px solid #dce5f3;
    border-radius: 12px;
    background: #ffffff;
    color: #213455;
    font-weight: 800;
    cursor: pointer;
}

.dashboard-choice-button.active {
    border-color: transparent;
    background: linear-gradient(135deg, #2563eb 0%, #14b8a6 100%);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
}

.dashboard-onboarding-actions {
    display: flex;
    justify-content: flex-end;
}

.dashboard-header-compact {
    margin-top: 4px;
}

@media (max-width: 860px) {
    .entry-splash {
        background-position: 18% bottom;
    }

    .entry-splash-copy h1 {
        max-width: 330px;
        font-size: clamp(2.2rem, 12vw, 3.65rem);
    }

    .dashboard-onboarding-grid,
    .dashboard-setup-steps,
    .dashboard-demo-choice {
        grid-template-columns: 1fr;
    }

    .dashboard-setup-steps li {
        min-height: 0;
    }

    .dashboard-choice-buttons {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-onboarding-actions {
        justify-content: stretch;
    }

    .dashboard-onboarding-actions .school-primary-button {
        width: 100%;
    }
}
.tenant-signup-panel {
    margin-bottom: 18px;
    padding: 18px;
    border: 1px solid #dce6f4;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.tenant-signup-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.tenant-signup-table-shell {
    margin-top: 14px;
}

.tenant-signup-review-row td {
    background: #f8fbff;
}

.tenant-signup-review-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 14px;
    border: 1px solid #dce6f4;
    border-radius: 14px;
    background: #ffffff;
}

.tenant-signup-review-box > div:first-child,
.tenant-signup-review-box .full,
.tenant-signup-review-actions {
    grid-column: 1 / -1;
}

.tenant-signup-review-box strong {
    color: #071b40;
    font-weight: 850;
}

.tenant-signup-review-box p {
    margin: 4px 0 0;
    color: #60708d;
    font-size: 0.9rem;
    font-weight: 650;
}

.tenant-signup-notes {
    min-height: 90px;
    resize: vertical;
}

.signup-layout {
    align-items: start;
}

@media (max-width: 760px) {
    .tenant-signup-panel {
        padding: 14px;
    }

    .tenant-signup-actions,
    .tenant-signup-actions .school-secondary-button {
        width: 100%;
    }

    .tenant-signup-review-box {
        grid-template-columns: 1fr;
    }
}

.school-readonly-field {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border: 1px solid #dbe6f5;
    border-radius: 8px;
    background: #f8fafc;
    color: #0d1b2a;
    font-weight: 800;
}

.school-detail-list {
    display: grid;
    gap: 4px;
}

.school-detail-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #eef3fb;
}

.school-detail-row:last-child {
    border-bottom: 0;
}

.school-detail-row span {
    color: #72809a;
    font-weight: 700;
}

.school-detail-row strong {
    color: #0d1b2a;
    text-align: right;
}

@media (max-width: 1100px) {
    .company-review-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 1400px) {
    .company-closure-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-closure-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, max-content));
        justify-content: flex-start;
    }
}

@media (max-width: 760px) {
    .company-review-summary-grid {
        grid-template-columns: 1fr;
    }

    .company-closure-fields,
    .company-closure-actions,
    .company-closure-flow {
        grid-template-columns: 1fr;
    }

    .company-closure-state {
        align-items: stretch;
        flex-direction: column;
    }

    .company-closure-state-meta {
        min-width: 0;
        text-align: left;
    }

    .company-closure-actions .school-secondary-button,
    .company-closure-actions .school-primary-button {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }
}

/* Password recovery */
.login-shell-compact {
    min-height: 100vh;
    background: #ffffff;
}

.login-card.login-card-single {
    width: min(calc(100% - 48px), 620px);
    min-height: 0;
    grid-template-columns: 1fr;
    margin: clamp(28px, 7vh, 72px) auto;
    border: 1px solid #e4e6eb;
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.login-card-single .login-panel {
    min-height: 0;
}

.login-card-single .login-panel-inner {
    width: min(calc(100% - 48px), 424px);
    padding: clamp(34px, 6vh, 56px) 0;
}

.login-success {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #157347;
    font-size: 0.94rem;
    font-weight: 700;
}

.login-helper-text,
.login-password-policy {
    margin: 0 0 18px;
    color: #737b8c;
    font-size: 0.94rem;
    line-height: 1.5;
    font-weight: 560;
}

.login-password-policy {
    margin: 14px 0 0;
    font-size: 0.82rem;
    text-align: center;
}

.login-form-spaced {
    margin-top: 4px;
}

.login-link-stack a,
.login-demo-link a {
    color: #6f7787;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
}

.login-link-stack a:hover,
.login-link-stack a:focus-visible,
.login-demo-link a:hover,
.login-demo-link a:focus-visible {
    color: #242832;
}

@media (max-width: 640px) {
    .login-card.login-card-single {
        width: min(calc(100% - 28px), 420px);
        border-radius: 22px;
    }

    .login-card-single .login-panel-inner {
        width: min(calc(100% - 36px), 360px);
    }
}
.login-two-factor-setup {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.1rem;
}

.login-two-factor-qr {
    display: grid;
    place-items: center;
    width: min(100%, 260px);
    margin: 0 auto;
    padding: 1rem;
    border: 1px solid #e3e8f1;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.login-two-factor-qr svg {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
}

.login-two-factor-qr span {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}
.login-two-factor-secret {
    display: grid;
    gap: 0.45rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background: #f8fafc;
    color: #111827;
    overflow-wrap: anywhere;
}

.login-two-factor-secret span {
    color: #6b7280;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.login-two-factor-secret strong {
    font-size: 1.02rem;
    letter-spacing: 0.08em;
    line-height: 1.35;
    word-break: break-all;
}

.login-two-factor-secret small {
    color: #6b7280;
    line-height: 1.45;
}

.login-secondary-form {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.login-secondary-submit {
    border: 0;
    background: transparent;
    color: #5e97f6;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    padding: 0.35rem 0.5rem;
}

.login-secondary-submit:hover,
.login-secondary-submit:focus-visible {
    color: #3454d1;
    text-decoration: underline;
}

@media (max-width: 1280px) {
    .work-alert-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-main-grid,
    .work-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .work-greeting-card,
    .work-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .work-filter-button,
    .work-panel-head .dashboard-panel-link {
        width: 100%;
    }

    .work-alert-grid,
    .work-quick-actions,
    .work-today-grid {
        grid-template-columns: 1fr;
    }

    .work-task-row {
        grid-template-columns: 1fr;
        gap: 6px;
        align-items: start;
    }

    .work-task-head {
        display: none;
    }
}
@media (max-width: 1180px) {
    .cloud-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .cloud-pricing-head {
        justify-items: start;
        text-align: left;
    }

    .cloud-pricing-head h2 {
        font-size: 2.15rem;
    }

    .cloud-pricing-grid {
        grid-template-columns: 1fr;
    }

    .cloud-price-card {
        min-height: auto;
        padding: 22px;
    }

    .cloud-price-card-top {
        padding-right: 0;
    }
}
/* Landing polish: compact shared nav, pricing CTA and distributor sizing. */
@media (min-width: 861px) {
    .cloud-nav-shell {
        grid-template-columns: 150px minmax(0, 1fr) auto;
        gap: 20px;
        width: min(calc(100% - 72px), 1680px);
        min-height: 72px;
        padding: 0 20px;
    }

    .cloud-brand {
        width: 142px;
    }

    .cloud-nav {
        justify-content: center;
        gap: clamp(14px, 1.35vw, 28px);
        font-size: clamp(0.82rem, 0.76vw, 0.96rem);
    }

    .cloud-nav-actions {
        gap: 12px;
        font-size: clamp(0.84rem, 0.78vw, 0.98rem);
    }

    .cloud-login-trigger {
        min-width: 132px;
        min-height: 40px;
        padding: 0 10px 0 42px;
    }

    .cloud-login-trigger::before {
        left: 9px;
        width: 26px;
        height: 26px;
        border-radius: 9px;
    }

    .cloud-login-trigger::after {
        left: 18px;
        width: 13px;
        height: 23px;
    }

    .cloud-nav-primary {
        min-width: 146px;
        min-height: 50px;
        padding: 0 22px;
    }
}

.cloud-price-main-cta,
.cloud-price-main-cta:visited,
.cloud-price-main-cta .cloud-trigger-label {
    color: #ffffff;
    opacity: 1;
}

.cloud-price-main-cta.cloud-company-trigger::before,
.cloud-price-main-cta.cloud-company-trigger::after {
    display: none;
}

.cloud-price-main-cta:hover,
.cloud-price-main-cta:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.cloud-distributor {
    padding: 72px 0 82px;
}

.cloud-distributor-shell {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 0.9fr);
    gap: 24px;
}

.cloud-distributor-story {
    gap: 22px;
    padding: 26px;
    border-radius: 24px;
}

.cloud-distributor-logo-wrap {
    max-width: 560px;
    margin: 0 auto;
    border-radius: 20px;
}

.cloud-distributor-copy {
    max-width: 640px;
}

.cloud-distributor-copy h2 {
    font-size: clamp(1.85rem, 2.65vw, 3.1rem);
    line-height: 1.04;
}

.cloud-distributor-copy p:last-child {
    font-size: 0.96rem;
    line-height: 1.48;
}

.cloud-distributor-benefits article {
    grid-template-columns: minmax(128px, 0.42fr) minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
}

.cloud-distributor-benefits strong {
    font-size: 0.9rem;
}

.cloud-distributor-benefits span {
    font-size: 0.88rem;
}

.cloud-distributor-form {
    padding: 26px;
}

.cloud-distributor-form .cloud-contact-form-heading {
    gap: 12px;
}

.cloud-distributor-form .cloud-contact-form-heading h2 {
    font-size: clamp(1.6rem, 2.05vw, 2.25rem);
}

.cloud-distributor-form .cloud-contact-form-heading p {
    font-size: 0.94rem;
    line-height: 1.46;
}

.cloud-distributor-form .cloud-contact-field input,
.cloud-distributor-form .cloud-contact-field select {
    min-height: 48px;
    border-radius: 13px;
}

.cloud-distributor-form .cloud-contact-field textarea {
    min-height: 118px;
    border-radius: 13px;
}

@media (max-width: 1320px) and (min-width: 861px) {
    .cloud-nav-shell {
        grid-template-columns: 138px minmax(0, 1fr) auto;
        gap: 14px;
        width: min(calc(100% - 44px), 1260px);
        padding: 0 16px;
    }

    .cloud-brand {
        width: 132px;
    }

    .cloud-nav {
        gap: 14px;
        font-size: 0.82rem;
    }

    .cloud-nav-actions {
        gap: 8px;
        font-size: 0.82rem;
    }

    .cloud-login-trigger {
        min-width: 118px;
        padding-left: 38px;
    }

    .cloud-nav-primary {
        min-width: 132px;
        padding-inline: 18px;
    }
}

@media (max-width: 1180px) and (min-width: 861px) {
    .cloud-nav-shell {
        grid-template-columns: minmax(0, 1fr) auto;
        min-height: 70px;
        border-radius: 999px;
    }

    .cloud-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .cloud-menu-panel {
        position: absolute;
        top: calc(100% + 10px);
        left: 0;
        right: 0;
        z-index: 2;
        display: none;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
        border: 1px solid rgba(12, 15, 24, 0.11);
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 22px 54px rgba(18, 21, 30, 0.14);
    }

    .cloud-nav-shell[data-menu-open="true"] .cloud-menu-panel {
        display: grid;
    }

    .cloud-nav {
        display: grid;
        justify-content: stretch;
        gap: 0;
        width: 100%;
        font-size: 0.98rem;
    }

    .cloud-nav a {
        min-height: 42px;
        border-bottom: 1px solid rgba(12, 15, 24, 0.08);
    }

    .cloud-nav a:last-child {
        border-bottom: 0;
    }

    .cloud-nav-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        min-width: 0;
    }

    .cloud-nav-actions .cloud-login-trigger,
    .cloud-nav-actions .cloud-nav-primary {
        width: 100%;
        min-width: 0;
    }

    .cloud-nav-actions .cloud-login-trigger {
        min-height: 48px;
        padding: 0 16px;
        border: 1px solid rgba(12, 15, 24, 0.1);
    }

    .cloud-nav-actions .cloud-login-trigger::before,
    .cloud-nav-actions .cloud-login-trigger::after {
        display: none;
    }
}

@media (max-width: 980px) {
    .cloud-distributor-shell {
        grid-template-columns: 1fr;
    }

    .cloud-distributor-logo-wrap {
        max-width: 520px;
    }
}

@media (max-width: 860px) {
    .cloud-nav-shell {
        top: 12px;
        width: min(calc(100% - 28px), 720px);
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        border-radius: 24px;
        padding: 14px;
    }

    .cloud-brand {
        width: 128px;
    }

    .cloud-menu-toggle {
        display: inline-flex;
        justify-self: end;
    }

    .cloud-distributor {
        padding: 64px 0 72px;
    }

    .cloud-distributor-story,
    .cloud-distributor-form {
        padding: 20px;
    }

    .cloud-distributor-logo-wrap {
        max-width: 360px;
        border-radius: 16px;
    }
}
/* Pricing CTA final color guard. */
.cloud-price-card .cloud-price-main-cta,
.cloud-price-card .cloud-price-main-cta:visited,
.cloud-price-card .cloud-price-main-cta:hover,
.cloud-price-card .cloud-price-main-cta:focus-visible,
.cloud-price-card .cloud-price-main-cta .cloud-trigger-label {
    color: #ffffff !important;
}

.cloud-price-card .cloud-price-main-cta {
    opacity: 1 !important;
}
/* Distributor compact pass. */
.cloud-distributor {
    width: min(calc(100% - 72px), 1240px);
    padding: 54px 0 66px;
}

.cloud-distributor-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.86fr);
    gap: 22px;
    align-items: start;
}

.cloud-distributor-story {
    grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
    align-items: center;
    gap: 18px 24px;
    min-height: 0;
    padding: 22px;
    border-radius: 22px;
}

.cloud-distributor-logo-wrap {
    width: min(100%, 340px);
    max-width: 340px;
    aspect-ratio: 3.95 / 1;
    margin: 0;
    border-radius: 18px;
}

.cloud-distributor-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cloud-distributor-copy {
    gap: 10px;
    max-width: 520px;
}

.cloud-distributor-copy h2 {
    font-size: clamp(1.6rem, 2vw, 2.35rem);
    line-height: 1.08;
}

.cloud-distributor-copy p:last-child {
    font-size: 0.88rem;
    line-height: 1.42;
}

.cloud-distributor-benefits {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.cloud-distributor-benefits article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    min-height: 96px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.055);
}

.cloud-distributor-benefits strong {
    font-size: 0.82rem;
    line-height: 1.2;
}

.cloud-distributor-benefits span {
    font-size: 0.76rem;
    line-height: 1.34;
}

.cloud-distributor-form {
    align-self: start;
    padding: 22px;
    border-radius: 24px;
}

.cloud-distributor-form .cloud-contact-form-heading {
    gap: 8px;
    margin-bottom: 14px;
}

.cloud-distributor-form .cloud-contact-form-heading span {
    font-size: 0.68rem;
}

.cloud-distributor-form .cloud-contact-form-heading h2 {
    max-width: 440px;
    font-size: clamp(1.35rem, 1.65vw, 1.9rem);
    line-height: 1.08;
}

.cloud-distributor-form .cloud-contact-form-heading p {
    max-width: 520px;
    font-size: 0.84rem;
    line-height: 1.42;
}

.cloud-distributor-form .cloud-contact-form-grid {
    gap: 12px;
}

.cloud-distributor-form .cloud-contact-field {
    gap: 7px;
}

.cloud-distributor-form .cloud-contact-field span {
    font-size: 0.78rem;
}

.cloud-distributor-form .cloud-contact-field input,
.cloud-distributor-form .cloud-contact-field select {
    min-height: 42px;
    padding-inline: 14px;
    border-radius: 12px;
}

.cloud-distributor-form .cloud-contact-field textarea {
    min-height: 92px;
    padding: 12px 14px;
    border-radius: 12px;
}

.cloud-distributor-form .cloud-contact-consent {
    margin-top: 14px;
    font-size: 0.78rem;
    line-height: 1.35;
}

.cloud-distributor-form .cloud-button {
    min-height: 48px;
    margin-top: 16px;
}

@media (max-width: 1180px) and (min-width: 861px) {
    .cloud-distributor-shell {
        grid-template-columns: 1fr;
    }

    .cloud-distributor-story {
        grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
    }

    .cloud-distributor-form {
        width: min(100%, 760px);
        justify-self: center;
    }
}

@media (max-width: 760px) {
    .cloud-distributor {
        width: min(calc(100% - 32px), 560px);
        padding: 48px 0 58px;
    }

    .cloud-distributor-story {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
        border-radius: 20px;
    }

    .cloud-distributor-logo-wrap {
        width: 100%;
        max-width: 320px;
        justify-self: center;
    }

    .cloud-distributor-copy {
        text-align: left;
    }

    .cloud-distributor-benefits {
        grid-template-columns: 1fr;
    }

    .cloud-distributor-benefits article {
        min-height: 0;
        padding: 12px;
    }

    .cloud-distributor-form {
        padding: 18px;
        border-radius: 20px;
    }
}
/* Distributor tighter vertical rhythm. */
.cloud-distributor-story {
    gap: 14px 22px;
    padding: 18px;
}

.cloud-distributor-copy {
    gap: 8px;
}

.cloud-distributor-copy .cloud-section-label {
    font-size: 0.68rem;
}

.cloud-distributor-copy h2 {
    font-size: clamp(1.45rem, 1.8vw, 2.05rem);
}

.cloud-distributor-copy p:last-child {
    font-size: 0.82rem;
    line-height: 1.34;
}

.cloud-distributor-benefits {
    gap: 8px;
    padding-top: 10px;
}

.cloud-distributor-benefits article {
    min-height: 76px;
    padding: 10px 11px;
    border-radius: 13px;
}

.cloud-distributor-benefits strong {
    font-size: 0.76rem;
}

.cloud-distributor-benefits span {
    font-size: 0.7rem;
    line-height: 1.28;
}

.cloud-distributor-form {
    gap: 12px;
    padding: 18px;
}

.cloud-distributor-form .cloud-contact-form-heading {
    gap: 6px;
    margin-bottom: 0;
}

.cloud-distributor-form .cloud-contact-form-heading h2 {
    font-size: clamp(1.22rem, 1.45vw, 1.62rem);
}

.cloud-distributor-form .cloud-contact-form-heading p {
    font-size: 0.78rem;
    line-height: 1.34;
}

.cloud-distributor-form .cloud-contact-form-grid {
    gap: 9px 10px;
}

.cloud-distributor-form .cloud-contact-field {
    gap: 5px;
}

.cloud-distributor-form .cloud-contact-field span {
    font-size: 0.72rem;
}

.cloud-distributor-form .cloud-contact-field input,
.cloud-distributor-form .cloud-contact-field select {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.86rem;
}

.cloud-distributor-form .cloud-contact-field textarea {
    min-height: 74px;
    padding: 9px 12px;
    font-size: 0.86rem;
}

.cloud-distributor-form .cloud-contact-consent {
    margin-top: 0;
    gap: 8px;
    font-size: 0.72rem;
    line-height: 1.28;
}

.cloud-distributor-form .cloud-contact-consent input {
    width: 16px;
    height: 16px;
}

.cloud-distributor-form .cloud-button {
    min-height: 42px;
    margin-top: 0;
    font-size: 0.86rem;
}

@media (max-width: 760px) {
    .cloud-distributor-benefits article {
        min-height: 0;
    }

    .cloud-distributor-form .cloud-contact-form-grid {
        grid-template-columns: 1fr;
    }
}
/* Distributor responsive cascade fix. */
@media (max-width: 980px) {
    .cloud-distributor-shell {
        grid-template-columns: 1fr;
    }

    .cloud-distributor-story,
    .cloud-distributor-form {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 760px) {
    .cloud-distributor-shell {
        gap: 16px;
    }

    .cloud-distributor-copy h2 {
        font-size: clamp(1.55rem, 8vw, 2rem);
    }

    .cloud-distributor-copy p:last-child {
        font-size: 0.84rem;
    }

    .cloud-distributor-logo-wrap {
        width: min(100%, 300px);
        max-width: 300px;
    }

    .cloud-distributor-form .cloud-contact-field textarea {
        min-height: 84px;
    }
}

.form-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-text-muted, #6b7894);
  font-size: 0.82rem;
  line-height: 1.35;
}

.settings-holiday-year-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.settings-toggle-row small {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-text-muted, #6b7894);
}

.work-schedule-meal-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  white-space: normal;
  line-height: 1.1;
}

.work-schedule-meal-toggle span {
  color: var(--color-text-muted, #6b7894);
  font-size: 0.78rem;
  font-weight: 700;
}

.company-holiday-toolbar {
  align-items: flex-start;
}

.company-holiday-toolbar h2 {
  margin: 0 0 0.25rem;
  color: var(--color-text-strong, #0f1a2a);
  font-size: 1.25rem;
}

.company-holiday-toolbar p {
  margin: 0;
  color: var(--color-text-muted, #6b7894);
}

.company-holiday-table td small {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-text-muted, #6b7894);
  line-height: 1.3;
}

.company-holiday-worked {
  color: #047857;
  background: #e9f9ef;
}

.company-holiday-off {
  color: #d97706;
  background: #fff7e6;
}

.company-holiday-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.company-holiday-modal-body {
  display: grid;
  gap: 1rem;
}

.company-holiday-form-grid {
  align-items: end;
}

.company-holiday-rule-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.company-holiday-rule-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.35rem 0.8rem;
  min-height: 5.45rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--color-border, #dbe4f2);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
}

.company-holiday-rule-option.is-selected {
  border-color: #22c55e;
  background: #f0fdf4;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.1);
}

.company-holiday-rule-option input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: #2563eb;
}

.company-holiday-rule-option span {
  color: var(--color-text-strong, #0f1a2a);
  font-weight: 800;
}

.company-holiday-rule-option small {
  grid-column: 2;
  color: var(--color-text-muted, #6b7894);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .company-holiday-rule-picker {
    grid-template-columns: 1fr;
  }
}

.shift-section-helper {
    margin: -0.35rem 0 1.25rem;
    color: #6b7894;
    font-size: 1rem;
}

.shift-employee-picker {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.shift-employee-picker > small,
.shift-check-field small,
.shift-manual-codes span {
    color: #6b7894;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.shift-employee-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
    max-height: 17rem;
    overflow: auto;
    padding: 0.15rem;
}

.shift-employee-option {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe5f3;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    gap: 0.85rem;
    min-height: 4.35rem;
    padding: 0.9rem 1rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.shift-employee-option:hover {
    border-color: #9fd5eb;
    box-shadow: 0 12px 28px rgba(31, 41, 55, 0.08);
    transform: translateY(-1px);
}

.shift-employee-option input {
    flex: 0 0 auto;
    height: 1.25rem;
    width: 1.25rem;
}

.shift-employee-option span,
.shift-check-field > span,
.shift-manual-codes {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.shift-employee-option strong,
.shift-check-field strong {
    color: #101828;
    font-weight: 800;
}

.shift-employee-option small {
    color: #73809b;
    font-size: 0.86rem;
    font-weight: 700;
}

.shift-selected-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.shift-selected-chip {
    align-items: center;
    background: #eef9f9;
    border: 1px solid #b9eeee;
    border-radius: 999px;
    color: #123055;
    display: inline-flex;
    gap: 0.45rem;
    min-height: 2.4rem;
    padding: 0.45rem 0.65rem 0.45rem 0.9rem;
}

.shift-selected-chip button,
.shift-clear-selection {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e3f2;
    border-radius: 999px;
    color: #42526e;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
}

.shift-selected-chip button {
    height: 1.75rem;
    width: 1.75rem;
}

.shift-clear-selection {
    min-height: 2.4rem;
    padding: 0 0.95rem;
}

.shift-manual-codes {
    gap: 0.5rem;
}

.shift-check-field {
    align-items: flex-start;
}

.shift-check-field input {
    margin-top: 0.15rem;
}

@media (max-width: 760px) {
    .shift-employee-options {
        grid-template-columns: 1fr;
    }
}

.shift-employee-code-row {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.shift-employee-code-row .app-form-textarea {
    min-height: 4.8rem;
}

.shift-search-button {
    align-self: stretch;
    min-width: 13rem;
    white-space: nowrap;
}

.shift-employee-modal {
    width: min(100%, 920px);
}

.shift-employee-modal-body {
    display: grid;
    gap: 1rem;
}

.shift-select-all-row {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    color: #213455;
    cursor: pointer;
    display: flex;
    font-weight: 800;
    gap: 0.85rem;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
}

.shift-select-all-row input {
    height: 1.2rem;
    width: 1.2rem;
}

.shift-employee-modal-list {
    display: grid;
    gap: 0.75rem;
    max-height: 26rem;
    overflow: auto;
    padding: 0.15rem;
}

.shift-employee-modal-list .shift-employee-option {
    min-height: 3.75rem;
}

.shift-employee-empty,
.shift-employee-modal-summary {
    background: #f8fbff;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    color: #6b7894;
    font-weight: 800;
    padding: 1rem;
}

.shift-employee-modal-summary {
    color: #213455;
    text-align: right;
}

@media (max-width: 760px) {
    .shift-employee-code-row {
        grid-template-columns: 1fr;
    }

    .shift-search-button {
        width: 100%;
    }
}

.shift-section-heading-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.shift-section-helper {
    color: #7180a0;
    margin: 0.25rem 0 0;
}

.shift-pattern-list {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    margin: 1rem 0 1.35rem;
}

.shift-pattern-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 0.85rem;
    justify-content: space-between;
    padding: 1rem;
}

.shift-pattern-card.is-muted {
    opacity: 0.6;
}

.shift-pattern-card strong {
    color: #101828;
    display: block;
    font-weight: 900;
}

.shift-pattern-card small,
.shift-pattern-card span {
    color: #7180a0;
    display: block;
    font-size: 0.88rem;
    line-height: 1.35;
    margin-top: 0.25rem;
}

.shift-pattern-card-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.45rem;
}

.shift-pattern-modal {
    width: min(100%, 1080px);
}

.shift-pattern-modal-body {
    display: grid;
    gap: 1.1rem;
}

.shift-pattern-preset {
    align-items: end;
    background: #f6f9ff;
    border: 1px solid #d9e4f5;
    border-radius: 18px;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: minmax(16rem, 1.4fr) minmax(14rem, 1fr) auto;
    padding: 1rem;
}

.shift-pattern-preset p,
.shift-pattern-preset small {
    color: #667391;
    line-height: 1.4;
    margin: 0.25rem 0 0;
}

.shift-pattern-preset small {
    grid-column: 1 / -1;
    font-weight: 700;
}

.shift-pattern-segment-header {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: space-between;
}

.shift-pattern-segment-header strong {
    color: #101828;
    font-weight: 900;
}

.shift-pattern-segments {
    display: grid;
    gap: 0.8rem;
}

.shift-pattern-segment {
    align-items: end;
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 3rem minmax(8.5rem, 0.75fr) minmax(6rem, 0.5fr) minmax(12rem, 1fr) minmax(12rem, 1fr) auto;
    padding: 0.85rem;
}

.shift-segment-order {
    align-self: center;
    background: #eef5ff;
    border-radius: 14px;
    color: #2864d8;
    display: grid;
    font-weight: 900;
    height: 2.65rem;
    place-items: center;
    width: 2.65rem;
}

@media (max-width: 980px) {
    .shift-pattern-preset,
    .shift-pattern-segment {
        grid-template-columns: 1fr;
    }

    .shift-pattern-preset small {
        grid-column: auto;
    }

    .shift-segment-order {
        width: 100%;
    }
}

@media (max-width: 820px) {
    .efirma-card {
        grid-template-columns: 1fr;
    }

    .efirma-visual {
        min-height: 250px;
        border-right: 0;
        border-bottom: 1px solid #e1e9f5;
    }

    .efirma-lock {
        right: calc(50% - 92px);
        bottom: 24px;
    }

    .efirma-content {
        padding: 30px 24px;
    }

}
