:root {
    --bg: #0d0d0f;
    --panel: #171719;
    --ink: #f8f2d8;
    --muted: #b8ad8a;
    --line: #343029;
    --accent: #d9b85f;
    --accent-strong: #f5df91;
    --danger: #c2410c;
    --danger-bg: #fff3ed;
    --success: #15803d;
    --success-bg: #ecfdf3;
    --warning: #b45309;
    --warning-bg: #fff7e8;
    --radius: 8px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .34);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--accent);
    text-decoration: none;
}

.login-page {
    display: grid;
    place-items: center;
    padding: 24px;
    background: radial-gradient(circle at 22% 16%, rgba(217, 184, 95, .2), transparent 28%), linear-gradient(125deg, #000, #211a0c);
}

.login-shell {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 560px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.brand-panel,
.login-card {
    padding: clamp(28px, 5vw, 56px);
}

.brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background: radial-gradient(circle at 40% 20%, rgba(217, 184, 95, .22), transparent 34%), rgba(0, 0, 0, .84);
}

.brand-only,
.brand-centered {
    align-items: center;
    text-align: center;
}

.brand-only .login-logo {
    width: min(320px, 72vw);
}

.brand-panel h1 {
    margin: 22px 0 12px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: .95;
    letter-spacing: 0;
}

.brand-panel p {
    max-width: 520px;
    color: rgba(255, 255, 255, .84);
    font-size: 18px;
}

.login-logo {
    width: min(260px, 72vw);
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .42));
}

.login-card {
    background: #121214;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-card-centered {
    align-items: center;
    text-align: center;
}

.login-card-centered form,
.login-card-centered .alert {
    width: min(330px, 100%);
    text-align: left;
}

.login-card-centered button {
    width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.login-card h2,
.panel h2,
.form-panel h3 {
    margin: 0;
}

.muted {
    color: var(--muted);
}

form {
    display: grid;
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    color: #e8dcae;
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px 12px;
    background: #0f0f11;
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(217, 184, 95, .16);
}

input:invalid:not(:placeholder-shown) {
    border-color: var(--danger);
    background: var(--danger-bg);
}

button,
.button {
    border: 0;
    border-radius: 8px;
    min-height: 46px;
    padding: 12px 16px;
    background: var(--accent);
    color: #111;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

button:hover,
.button:hover {
    background: var(--accent-strong);
}

.button.secondary,
.topbar a.ghost {
    background: #24201a;
    color: var(--accent-strong);
    border: 1px solid #5b4c25;
}

.success-link {
    border-color: #166534 !important;
    color: #bbf7d0 !important;
    background: #102318 !important;
}

.alert {
    padding: 13px 15px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 700;
}

.alert.danger {
    color: var(--danger);
    background: var(--danger-bg);
    border-color: #fed7c3;
}

.alert.success {
    color: var(--success);
    background: var(--success-bg);
    border-color: #bbf7d0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
    min-height: 76px;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px clamp(18px, 4vw, 44px);
    border-bottom: 1px solid var(--line);
    background: rgba(11, 11, 13, .94);
    backdrop-filter: blur(14px);
}

.topbar > div,
.brand-link,
.topbar nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-link {
    flex: 0 0 auto;
    color: var(--ink);
    min-width: 0;
    white-space: nowrap;
}

.brand-link img {
    width: 92px !important;
    max-width: 92px !important;
    height: 50px !important;
    max-height: 50px !important;
    object-fit: contain;
    display: block;
}

.brand-link strong {
    font-size: 15px;
    line-height: 1;
}

.topbar nav {
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: wrap;
}

.topbar nav a {
    padding: 9px 11px;
    border-radius: 8px;
    color: #d7c99b;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.topbar nav a.active {
    color: #111;
    background: var(--accent);
}

.topbar nav a.icon-button {
    width: 38px;
    min-height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.app-shell {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 26px clamp(16px, 4vw, 42px) 54px;
    display: grid;
    gap: 22px;
}

.hero {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(24px, 4vw, 42px);
    border-radius: 8px;
    background: radial-gradient(circle at 84% 16%, rgba(245, 223, 145, .26), transparent 30%), linear-gradient(135deg, #050505, #211a0c);
    color: #fff;
}

.hero h1 {
    max-width: 780px;
    margin: 6px 0 10px;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero p {
    color: rgba(255, 255, 255, .82);
}

.eyebrow {
    margin: 0;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 900;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.hero-action-board {
    display: grid;
    grid-template-columns: 272px 1fr;
    align-items: stretch;
    gap: 10px;
    margin-right: clamp(120px, 18vw, 230px);
}

.hero-primary-actions,
.notification-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-primary-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
}

.hero-icon-action {
    min-height: 80px;
    border-radius: 8px;
    border: 1px solid rgba(245, 223, 145, .38);
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 10px;
    font-weight: 900;
    cursor: pointer;
}

.hero-icon-primary {
    background: linear-gradient(145deg, #e4c765, #bd9b3d);
    color: #191511;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 14px 28px rgba(0, 0, 0, .24);
}

.hero-icon-primary:hover {
    background: linear-gradient(145deg, #f4dc83, #caa446);
}

.hero-icon-action svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .28));
}

.hero-icon-action span {
    font-size: 12px;
    line-height: 1.05;
    text-align: center;
}

.notification-action {
    position: relative;
    width: 122px;
    min-height: 80px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 9px 8px 8px;
    border: 1px solid #5b4c25;
    border-radius: 8px;
    background: rgba(18, 18, 20, .72);
    color: var(--accent-strong);
    box-shadow: inset 0 0 0 1px rgba(245, 223, 145, .06), 0 12px 28px rgba(0, 0, 0, .18);
}

.notification-action:hover {
    background: #1d1a13;
    color: #fff3b8;
}

.notification-action svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notification-action small {
    display: grid;
    gap: 1px;
    color: #d7c99b;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
}

.notification-action small em {
    color: rgba(255, 255, 255, .64);
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
}

.notification-badge {
    position: absolute;
    top: -9px;
    right: -9px;
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 999px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .32);
}

.badge-blue {
    background: #2563eb;
}

.badge-warning {
    background: #f59e0b;
}

.badge-red {
    background: #dc2626;
}

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

.metrics article,
.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}

.metrics article {
    padding: 18px;
}

.metrics span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.metrics strong {
    display: block;
    margin-top: 8px;
    font-size: 27px;
}

.metrics article:nth-child(1),
.metrics article:nth-child(2),
.metrics article:nth-child(3) {
    border-color: #5b4c25;
    background: linear-gradient(160deg, #1d1a13, #121214);
}

.grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, .8fr);
    gap: 22px;
}

.revenue-panel {
    min-height: 360px;
}

.pie-layout {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) 1fr;
    align-items: center;
    gap: 24px;
}

.pie-chart {
    width: min(280px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--accent-strong) 0 var(--day-slice), var(--accent) var(--day-slice) var(--week-slice), #5b4c25 var(--week-slice) 100%);
    box-shadow: inset 0 0 0 1px rgba(245, 223, 145, .18), 0 22px 46px rgba(0, 0, 0, .28);
    position: relative;
}

.pie-chart::after {
    content: "";
    position: absolute;
    inset: 22%;
    border-radius: 50%;
    background: var(--panel);
    border: 1px solid var(--line);
}

.pie-chart span {
    position: relative;
    z-index: 1;
    color: var(--accent-strong);
    font-size: 34px;
    font-weight: 900;
}

.pie-legend {
    display: grid;
    gap: 12px;
}

.pie-legend article {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
}

.pie-legend-row {
    width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
    color: var(--ink);
    text-align: left;
}

.pie-legend-row:hover {
    background: #1d1a13;
}

.pie-legend span {
    color: var(--muted);
    font-weight: 800;
}

.legend-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.day {
    background: var(--accent-strong);
}

.legend-dot.week {
    background: var(--accent);
}

.legend-dot.month {
    background: #5b4c25;
}

.legend-dot.total {
    background: #f8f2d8;
}

.credit-panel {
    min-height: 360px;
}

.credit-pie span {
    font-size: 30px;
}

.panel {
    padding: 22px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

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

.compact-button {
    min-height: 42px;
    padding: 10px 14px;
}

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

.form-shell {
    align-self: start;
}

.form-panel h3 {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.toggles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.toggles label {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
}

.toggles input {
    width: auto;
    min-height: auto;
}

.compact-form {
    gap: 12px;
}

.whatsapp-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1.45fr) minmax(340px, .75fr);
}

.whatsapp-form {
    align-self: start;
    align-content: start;
}

.whatsapp-form textarea {
    min-height: 230px;
    line-height: 1.5;
}

.whatsapp-form button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.whatsapp-tokens {
    align-self: start;
    max-height: calc(100vh - 170px);
    overflow: auto;
}

.template-editor-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .75fr);
}

.template-editor-form {
    align-self: start;
    display: flex;
    flex-direction: column;
    align-content: start;
    gap: 16px;
}

.template-editor-form .section-title {
    margin-bottom: 2px;
}

.template-editor-form input {
    min-height: 48px;
}

.template-editor-form textarea {
    min-height: 320px;
    line-height: 1.5;
}

.template-preview-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #5b4c25;
    border-radius: 8px;
    background: #101012;
}

.template-preview-box .section-title {
    margin: 0;
}

.template-preview-box h3 {
    margin: 0;
    font-size: 18px;
}

.template-preview-message {
    min-height: 180px;
    max-height: 330px;
    overflow: auto;
    white-space: pre-wrap;
    line-height: 1.55;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b0b0c;
    color: #fff8dc;
}

.template-list-panel {
    align-self: start;
    max-height: calc(100vh - 170px);
    overflow: auto;
}

.stack-list,
.client-area,
.timeline,
.payment-groups {
    display: grid;
    gap: 10px;
}

.stack-list article,
.client-area article,
.timeline article {
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
}

.notification-links article {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.stack-list span,
.client-area span,
.timeline span,
td span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
}

.timeline time {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.payment-groups {
    gap: 16px;
}

.payment-group {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
    overflow: hidden;
}

.payment-group > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    background: #1d1a13;
}

.payment-group > header span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 920px;
}

th,
td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
}

.status.pago {
    color: var(--success);
    background: var(--success-bg);
}

.status.pendente {
    color: var(--warning);
    background: var(--warning-bg);
}

.status.atrasado {
    color: var(--danger);
    background: var(--danger-bg);
}

.table-action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 8px;
    background: #24201a;
    font-weight: 800;
    border: 1px solid #5b4c25;
}

.icon-action {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
}

.icon-action svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.action-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.action-cell form {
    display: inline;
}

.action-cell button.table-action {
    color: var(--accent);
    font: inherit;
    cursor: pointer;
}

.danger-link {
    color: #ffb199 !important;
    border-color: #7c2d12;
}

.birthday-card {
    align-self: start;
}

.search {
    max-width: 320px;
}

.tabs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
}

.tabs a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 8px;
    color: #d7c99b;
    font-weight: 900;
}

.tabs a.active {
    background: var(--accent);
    color: #111;
}

.mini-metrics {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    margin-bottom: 16px;
}

.server-credit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.server-credit-card {
    min-height: 130px;
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 6px;
    text-align: left;
    border: 1px solid #5b4c25;
    border-radius: 8px;
    padding: 18px;
    background: linear-gradient(160deg, #1d1a13, #101012);
    color: var(--ink);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}

.server-credit-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.server-credit-card strong {
    color: var(--accent-strong);
    font-size: 34px;
    line-height: 1;
}

.server-credit-card small {
    color: var(--muted);
    font-weight: 800;
}

.server-history[hidden],
.modal-backdrop[hidden] {
    display: none;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, .72);
}

.modal-panel {
    width: min(520px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.dashboard-alert-modal {
    display: grid;
    gap: 18px;
}

.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0 2px;
}

.page-heading h1 {
    margin: 4px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: 0;
}

.hero-branded::after {
    content: "";
    width: min(260px, 32vw);
    align-self: stretch;
    background: url("logo-vegas.png") center/contain no-repeat;
    opacity: .92;
    min-height: 130px;
}

.whatsapp-button {
    background: #23d366;
    color: #071008;
}

.whatsapp-button:hover {
    background: #6dec96;
}

.whatsapp-support-button {
    width: fit-content;
    gap: 9px;
    background: #23d366;
    color: #071008;
}

.whatsapp-support-button:hover {
    background: #6dec96;
}

.whatsapp-support-button span {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #071008;
    color: #23d366;
    font-size: 13px;
    font-weight: 900;
}

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

.token-grid code {
    display: block;
    padding: 10px;
    border: 1px solid #5b4c25;
    border-radius: 8px;
    background: #0f0f11;
    color: var(--accent-strong);
    font-weight: 800;
}

.help-button {
    width: 28px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 8px;
    background: #24201a;
    color: var(--accent-strong);
    border: 1px solid #5b4c25;
}

.help-content {
    display: grid;
    gap: 12px;
}

.help-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.consumption-items {
    display: grid;
    gap: 12px;
}

.consumption-item {
    display: grid;
    grid-template-columns: 1.4fr .8fr .8fr;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #101012;
}

.client-preview,
.client-card {
    display: grid;
    gap: 10px;
}

.client-preview {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #5b4c25;
    border-radius: 8px;
    background: #0f0f11;
}

.client-preview img {
    width: 120px;
    height: 58px;
    object-fit: contain;
}

.client-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.client-card img {
    width: 120px;
    height: 54px;
    object-fit: contain;
}

.client-card > strong {
    font-size: 20px;
}

.client-card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.client-card-row span {
    color: var(--muted);
}

.field-error {
    border-color: var(--danger);
    background: var(--danger-bg);
}

@media (max-width: 980px) {
    .login-shell,
    .grid-two,
    .metrics,
    .pie-layout {
        grid-template-columns: 1fr;
    }

    .hero,
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-action-board {
        width: 100%;
        grid-template-columns: 1fr;
        margin-right: 0;
    }

    .notification-actions {
        flex-wrap: wrap;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
        min-height: auto;
    }

    .hero-branded::after {
        width: 180px;
        min-height: 90px;
    }

    .topbar nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .login-page {
        padding: 12px;
    }

    .brand-panel,
    .login-card,
    .panel,
    .hero {
        padding: 18px;
    }

    .form-grid,
    .toggles,
    .consumption-item {
        grid-template-columns: 1fr;
    }

    .section-title {
        align-items: stretch;
        flex-direction: column;
    }

    .section-actions {
        align-items: stretch;
        flex-direction: column;
    }
}
