:root {
    --app-navy: #0c1d41;
    --app-blue: #1f5fe8;
    --app-blue-dark: #1547bc;
    --app-blue-soft: #eaf2ff;
    --app-purple: #7651d9;
    --app-green: #19a974;
    --app-orange: #f39b35;
    --app-pink: #d946a8;
    --app-text: #142342;
    --app-muted: #6e7b96;
    --app-border: #e5eaf3;
    --app-background: #f6f8fc;
    --app-card: #ffffff;
    --app-radius: 16px;
    --app-shadow: 0 10px 30px rgb(22 53 108 / 7%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--app-text);
    background: var(--app-background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body.app-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

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

h1,
h2,
h3 {
    color: var(--app-navy);
    line-height: 1.15;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--app-navy);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.app-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: 230px minmax(0, 1fr);
}

.app-sidebar {
    position: sticky;
    z-index: 30;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    padding: 22px 14px 16px;
    border-right: 1px solid var(--app-border);
    background: var(--app-card);
}

.app-brand {
    display: block;
    width: 176px;
    margin: 0 auto 26px;
}

.app-brand img {
    width: 100%;
    height: auto;
}

.app-nav {
    display: grid;
    gap: 4px;
}

.app-nav-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #46536e;
    font-weight: 650;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.app-nav-link:hover,
.app-nav-link[aria-current="page"] {
    color: var(--app-blue-dark);
    background: var(--app-blue-soft);
}

.app-nav-icon {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: currentColor;
    font-size: 1.1rem;
    line-height: 1;
}

.app-sidebar-card {
    margin-top: auto;
    padding: 16px;
    border: 1px solid #e0e8fc;
    border-radius: 14px;
    background: linear-gradient(145deg, #f5f8ff, #eef4ff);
}

.app-sidebar-card p {
    margin-bottom: 6px;
    color: var(--app-muted);
    font-size: 0.78rem;
}

.app-sidebar-card strong {
    display: block;
    margin-bottom: 12px;
    color: var(--app-navy);
}

.app-sidebar-card a {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e2fb;
    border-radius: 9px;
    color: var(--app-blue-dark);
    background: #fff;
    font-size: 0.8rem;
    font-weight: 750;
    text-decoration: none;
}

.app-main {
    min-width: 0;
}

.app-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 18px;
    padding: 14px 34px;
    border-bottom: 1px solid rgb(229 234 243 / 90%);
    background: rgb(255 255 255 / 92%);
    backdrop-filter: blur(14px);
}

.app-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    color: var(--app-navy);
    background: #fff;
    font-size: 1.25rem;
}

.app-search {
    display: flex;
    max-width: 560px;
    flex: 1;
}

.app-search input {
    width: 100%;
    min-height: 42px;
    padding: 9px 16px 9px 42px;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    color: var(--app-text);
    outline: none;
    background: #f7f9fd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236e7b96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 14px center;
}

.app-search input:focus {
    border-color: #9bb8f7;
    box-shadow: 0 0 0 3px rgb(31 95 232 / 12%);
    background-color: #fff;
}

.app-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-icon-button {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 0;
    border-radius: 10px;
    color: #61708e;
    background: transparent;
    font-size: 1.15rem;
}

.app-icon-button:hover {
    color: var(--app-blue-dark);
    background: var(--app-blue-soft);
}

.app-notification-badge {
    position: absolute;
    top: 3px;
    right: 2px;
    display: grid;
    min-width: 16px;
    height: 16px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid #fff;
    border-radius: 99px;
    color: #fff;
    background: #e53955;
    font-size: 0.62rem;
    font-weight: 800;
}

.app-profile {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 4px 6px 4px 4px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    text-align: left;
}

.app-profile:hover {
    border-color: var(--app-border);
    background: #f7f9fd;
}

.app-avatar {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #2c75ed, #633fd0);
    font-size: 0.9rem;
    font-weight: 800;
}

.app-profile-copy {
    display: grid;
    gap: 1px;
}

.app-profile-copy strong {
    color: var(--app-navy);
    font-size: 0.82rem;
}

.app-profile-copy small {
    color: var(--app-blue);
    font-size: 0.7rem;
    font-weight: 750;
}

.app-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 34px 34px 48px;
}

.app-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.app-page-heading h1 {
    margin-bottom: 7px;
    font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}

.app-page-heading p {
    margin-bottom: 0;
    color: var(--app-muted);
}

.app-eyebrow {
    margin-bottom: 7px;
    color: var(--app-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #fff;
    background: var(--app-blue);
    font-size: 0.88rem;
    font-weight: 750;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.app-button:hover {
    background: var(--app-blue-dark);
    transform: translateY(-1px);
}

.app-button.secondary {
    border-color: var(--app-border);
    color: var(--app-navy);
    background: #fff;
}

.app-button.secondary:hover {
    background: #f8faff;
}

.app-button.full {
    width: 100%;
}

.app-welcome {
    display: grid;
    min-height: 224px;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    align-items: center;
    gap: 24px;
    margin-bottom: 22px;
    padding: 30px 32px;
    overflow: hidden;
    border: 1px solid #d9e7ff;
    border-radius: 20px;
    background: linear-gradient(115deg, #e9f2ff 0%, #f8fbff 58%, #eaf4ff 100%);
}

.app-welcome h2 {
    margin-bottom: 9px;
    color: var(--app-blue-dark);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.app-welcome p {
    max-width: 480px;
    margin-bottom: 16px;
    color: #516483;
}

.app-welcome-visual {
    display: grid;
    min-height: 170px;
    align-items: center;
    justify-items: center;
}

.app-visual-orbit {
    position: relative;
    display: grid;
    width: min(100%, 330px);
    height: 168px;
    place-items: center;
}

.app-visual-orbit::before,
.app-visual-orbit::after {
    position: absolute;
    border: 1px solid #b9d1fb;
    border-radius: 50%;
    content: "";
}

.app-visual-orbit::before {
    width: 240px;
    height: 130px;
    transform: rotate(-13deg);
}

.app-visual-orbit::after {
    width: 300px;
    height: 148px;
    transform: rotate(12deg);
}

.app-visual-avatar {
    position: relative;
    z-index: 1;
    display: grid;
    width: 122px;
    height: 122px;
    place-items: center;
    border: 9px solid #fff;
    border-radius: 50%;
    color: var(--app-blue-dark);
    background: linear-gradient(145deg, #cfe0ff, #fff);
    box-shadow: 0 10px 25px rgb(34 94 202 / 18%);
    font-size: 4.2rem;
}

.app-visual-chip {
    position: absolute;
    z-index: 2;
    display: grid;
    min-width: 92px;
    min-height: 48px;
    place-items: center;
    padding: 8px 11px;
    border: 1px solid #d8e6ff;
    border-radius: 12px;
    color: var(--app-navy);
    background: #fff;
    box-shadow: var(--app-shadow);
    font-size: 0.74rem;
    font-weight: 750;
    text-align: center;
}

.app-visual-chip:first-of-type {
    top: 8px;
    left: 10px;
}

.app-visual-chip:last-of-type {
    right: 0;
    bottom: 4px;
}

.app-stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.app-stat-card,
.app-panel,
.app-tool-card,
.app-auth-card {
    border: 1px solid var(--app-border);
    border-radius: var(--app-radius);
    background: var(--app-card);
    box-shadow: var(--app-shadow);
}

.app-stat-card {
    min-width: 0;
    padding: 17px;
}

.app-stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--app-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.app-stat-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    color: var(--app-blue);
    background: var(--app-blue-soft);
}

.app-stat-card:nth-child(1) .app-stat-icon { color: #1f5fe8; background: #eaf2ff; }
.app-stat-card:nth-child(2) .app-stat-icon { color: #7651d9; background: #f2ecff; }
.app-stat-card:nth-child(3) .app-stat-icon { color: #19a974; background: #e6f8f0; }
.app-stat-card:nth-child(4) .app-stat-icon { color: #f39b35; background: #fff1df; }
.app-stat-card:nth-child(5) .app-stat-icon { color: #059b9d; background: #e3f8f7; }

.app-stat-card strong {
    display: block;
    margin: 13px 0 4px;
    color: var(--app-navy);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.1;
}

.app-stat-change {
    display: inline-block;
    color: var(--app-green);
    font-size: 0.72rem;
    font-weight: 750;
}

.app-stat-change.neutral {
    color: #6e7b96;
}

.app-sparkline-wrap {
    width: 100%;
    height: 28px;
    margin-top: 10px;
    overflow: hidden;
}

.app-sparkline-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.app-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 18px;
    margin-bottom: 18px;
}

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

.app-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.app-panel-heading h2 {
    margin-bottom: 0;
    font-size: 1rem;
}

.app-panel-heading.spaced {
    margin-top: 24px;
}

.app-panel-heading a {
    color: var(--app-blue);
    font-size: 0.75rem;
    font-weight: 750;
    text-decoration: none;
}

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

.app-quick-card {
    display: grid;
    min-height: 118px;
    align-content: space-between;
    gap: 8px;
    padding: 13px;
    border: 1px solid var(--app-border);
    border-radius: 12px;
    color: var(--app-text);
    background: #fbfcff;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.app-quick-card:hover {
    border-color: #acc5fa;
    box-shadow: 0 8px 18px rgb(31 95 232 / 8%);
    transform: translateY(-2px);
}

.app-quick-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    color: var(--app-blue);
    background: var(--app-blue-soft);
}

.app-quick-icon.icon-blue { color: #1f5fe8; background: #eaf2ff; }
.app-quick-icon.icon-purple { color: #7651d9; background: #f2ecff; }
.app-quick-icon.icon-green { color: #19a974; background: #e6f8f0; }
.app-quick-icon.icon-teal { color: #059b9d; background: #e3f8f7; }
.app-quick-icon.icon-orange { color: #f39b35; background: #fff1df; }

.app-quick-card strong {
    display: block;
    margin-bottom: 2px;
    color: var(--app-navy);
    font-size: 0.78rem;
}

.app-quick-card small {
    display: block;
    color: var(--app-muted);
    font-size: 0.7rem;
}

.app-recommendations,
.app-task-list {
    display: grid;
    gap: 4px;
}

.app-recommendation,
.app-task {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 11px;
    padding: 8px 0;
    border-bottom: 1px solid #eef1f6;
    text-decoration: none;
}

.app-recommendation:last-child,
.app-task:last-child {
    border-bottom: 0;
}

.app-list-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--app-green);
    background: #e8f8f0;
}

.app-list-icon.icon-teal {
    color: #059b9d;
    background: #e3f8f7;
}

.app-recommendation strong,
.app-task strong {
    display: block;
    color: var(--app-navy);
    font-size: 0.8rem;
}

.app-recommendation small,
.app-task small {
    display: block;
    color: var(--app-muted);
    font-size: 0.7rem;
}

.app-recommendation-arrow {
    margin-left: auto;
    color: var(--app-blue);
    font-size: 1.2rem;
}

.app-task-check {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    color: transparent;
    background: #fff;
}

.app-task-check.checked,
.app-task[data-complete="true"] .app-task-check {
    border-color: #19a974;
    color: #fff;
    background: #19a974;
}

.task-done,
.app-task[data-complete="true"] strong {
    color: var(--app-muted);
    text-decoration: line-through;
}

.app-inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border: 1px solid #d6e2fb;
    border-radius: 7px;
    color: var(--app-blue);
    background: #f4f8ff;
    font-size: 0.75rem;
    font-weight: 750;
    cursor: pointer;
    transition: background-color 150ms ease;
}

.app-inline-link:hover {
    background: #e6f0ff;
}

.app-demo-note {
    padding: 11px 14px;
    border-radius: 10px;
    color: #2b519a;
    background: #edf4ff;
    font-size: 0.76rem;
    line-height: 1.45;
    margin-bottom: 12px;
}

.app-calendar {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 15px;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--app-border);
}

.app-date-tile {
    display: grid;
    min-height: 84px;
    place-items: center;
    align-content: center;
    border-radius: 13px;
    color: var(--app-blue-dark);
    background: var(--app-blue-soft);
    text-align: center;
}

.app-date-tile strong {
    font-size: 1.65rem;
    line-height: 1;
}

.app-date-tile small {
    margin-top: 5px;
    font-size: 0.68rem;
    font-weight: 750;
}

.app-schedule {
    display: grid;
    gap: 8px;
}

.app-schedule-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--app-muted);
    font-size: 0.73rem;
}

.app-schedule-row time {
    width: 58px;
    flex: 0 0 58px;
    color: var(--app-navy);
    font-weight: 750;
}

.app-bottom-banner {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 17px 22px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(105deg, #164dbb, #245fea 55%, #3b78ed);
}

.app-bottom-banner h2 {
    margin-bottom: 4px;
    color: #fff;
    font-size: 1rem;
}

.app-bottom-banner p {
    margin-bottom: 0;
    color: #dce8ff;
    font-size: 0.75rem;
}

.app-bottom-banner .app-button {
    border-color: rgb(255 255 255 / 28%);
    background: rgb(255 255 255 / 13%);
    white-space: nowrap;
}

.app-bottom-banner .app-button:hover {
    background: rgb(255 255 255 / 22%);
}

.app-footer {
    padding: 26px 34px 36px;
    color: var(--app-muted);
    font-size: 0.75rem;
}

.app-footer .footer-disclaimer {
    margin: 0;
    color: var(--app-muted);
}

.app-tool-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
    padding: 28px 30px;
    border: 1px solid #dce8ff;
    border-radius: 18px;
    background: linear-gradient(110deg, #edf4ff, #fff);
}

.app-tool-hero h1 {
    margin-bottom: 7px;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.app-tool-hero p {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--app-muted);
}

.app-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.app-filter {
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid var(--app-border);
    border-radius: 9px;
    color: var(--app-muted);
    background: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.app-filter:hover,
.app-filter[aria-pressed="true"] {
    border-color: var(--app-blue);
    color: var(--app-blue-dark);
    background: var(--app-blue-soft);
}

.app-tool-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
}

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

.app-tool-card {
    display: grid;
    min-height: 190px;
    align-content: space-between;
    gap: 16px;
    padding: 17px;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.app-tool-card:hover {
    border-color: #aec6f9;
    box-shadow: 0 12px 25px rgb(31 95 232 / 9%);
    transform: translateY(-2px);
}

.app-tool-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.app-tool-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    color: var(--app-blue);
    background: var(--app-blue-soft);
    font-size: 1.4rem;
}

.app-tool-card:nth-child(2n) .app-tool-icon { color: var(--app-purple); background: #f1ecff; }
.app-tool-card:nth-child(3n) .app-tool-icon { color: var(--app-green); background: #e5f8ef; }
.app-tool-card:nth-child(4n) .app-tool-icon { color: #e8791f; background: #fff0e2; }

.app-tool-card h2 {
    margin: 14px 0 5px;
    font-size: 1rem;
}

.app-tool-card p {
    margin-bottom: 0;
    color: var(--app-muted);
    font-size: 0.78rem;
}

.app-tool-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--app-blue);
    font-size: 0.76rem;
    font-weight: 750;
}

.app-tool-side-list {
    display: grid;
    gap: 2px;
}

.app-tool-side-link {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eef1f6;
    color: var(--app-text);
    text-decoration: none;
}

.app-tool-side-link:last-child {
    border-bottom: 0;
}

.app-tool-side-rank {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    color: var(--app-blue-dark);
    background: var(--app-blue-soft);
    font-size: 0.72rem;
    font-weight: 800;
}

.app-tool-side-link strong {
    display: block;
    font-size: 0.77rem;
}

.app-tool-side-link small {
    display: block;
    color: var(--app-muted);
    font-size: 0.68rem;
}

.app-tip-list {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-tip-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--app-muted);
    font-size: 0.75rem;
}

.app-tip-list li::before {
    color: var(--app-green);
    content: "✓";
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.1;
}

.app-empty-state {
    display: none;
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px dashed #bdc9dd;
    border-radius: 14px;
    color: var(--app-muted);
    background: #fff;
    text-align: center;
}

.app-auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #eef5ff 0%, #fff 48%, #f2edff 100%);
}

.app-auth-shell {
    display: grid;
    width: min(100%, 1040px);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    overflow: hidden;
    border: 1px solid #dde6f7;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 60px rgb(26 66 142 / 12%);
}

.app-auth-intro {
    display: flex;
    min-height: 630px;
    flex-direction: column;
    justify-content: center;
    padding: 46px;
    background: linear-gradient(145deg, #e8f2ff, #f8fbff);
}

.app-auth-brand {
    width: 190px;
    margin-bottom: 35px;
}

.app-auth-brand img {
    width: 100%;
    height: auto;
}

.app-auth-intro h1 {
    max-width: 460px;
    margin-bottom: 13px;
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.app-auth-intro > p {
    max-width: 440px;
    margin-bottom: 26px;
    color: var(--app-muted);
    font-size: 1.02rem;
}

.app-auth-benefits {
    display: grid;
    gap: 15px;
    max-width: 430px;
}

.app-auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.app-auth-benefit-icon {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border-radius: 9px;
    color: var(--app-blue);
    background: #dceaff;
}

.app-auth-benefit strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.85rem;
}

.app-auth-benefit small {
    display: block;
    color: var(--app-muted);
    font-size: 0.73rem;
}

.app-auth-card {
    align-self: center;
    margin: 24px;
    padding: 32px;
    box-shadow: none;
}

.app-auth-card h2 {
    margin-bottom: 7px;
    font-size: 1.65rem;
}

.app-auth-card > p {
    margin-bottom: 24px;
    color: var(--app-muted);
    font-size: 0.85rem;
}

.app-form {
    display: grid;
    gap: 15px;
}

.app-form-group {
    display: grid;
    gap: 6px;
}

.app-form-group label {
    color: var(--app-navy);
    font-size: 0.76rem;
    font-weight: 750;
}

.app-form-group input,
.app-form-group select {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #d9e0ec;
    border-radius: 10px;
    color: var(--app-text);
    outline: none;
    background: #fff;
}

.app-form-group input:focus,
.app-form-group select:focus {
    border-color: #94b3f5;
    box-shadow: 0 0 0 3px rgb(31 95 232 / 12%);
}

.app-form-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-check-label {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--app-muted);
    font-size: 0.72rem;
}

.app-check-label input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--app-blue);
}

.app-inline-link {
    color: var(--app-blue);
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
}

.app-auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
    color: var(--app-muted);
    font-size: 0.72rem;
    text-align: center;
}

.app-auth-divider::before,
.app-auth-divider::after {
    height: 1px;
    flex: 1;
    background: var(--app-border);
    content: "";
}

.app-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.app-social-button {
    min-height: 42px;
    border: 1px solid var(--app-border);
    border-radius: 9px;
    color: var(--app-navy);
    background: #fff;
    font-size: 0.74rem;
    font-weight: 700;
}

.app-social-button:hover {
    background: #f8faff;
}

.app-auth-switch {
    margin: 22px 0 0;
    color: var(--app-muted);
    font-size: 0.78rem;
    text-align: center;
}

.app-auth-switch a {
    color: var(--app-blue);
    font-weight: 750;
    text-decoration: none;
}

.app-status {
    min-height: 18px;
    margin: 0;
    color: var(--app-green);
    font-size: 0.76rem;
    font-weight: 650;
}

.app-status.error {
    color: #c23d4d;
}

.app-demo-note {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #4e6287;
    background: #f1f6ff;
    font-size: 0.72rem;
}

.app-mobile-backdrop {
    display: none;
}

@media (max-width: 1250px) {
    .app-shell {
        grid-template-columns: 215px minmax(0, 1fr);
    }

    .app-topbar,
    .app-content,
    .app-footer {
        padding-right: 24px;
        padding-left: 24px;
    }

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

    .app-stat-card:nth-child(4),
    .app-stat-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 980px) {
    .app-topbar {
        z-index: 40;
    }

    .app-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(86vw, 290px);
        height: 100vh;
        transform: translateX(-105%);
        transition: transform 180ms ease;
    }

    .app-sidebar[data-open="true"] {
        transform: translateX(0);
    }

    .app-shell {
        display: block;
    }

    .app-menu-toggle {
        position: relative;
        z-index: 50;
        display: inline-flex;
    }

    .app-mobile-backdrop {
        position: fixed;
        z-index: 25;
        inset: 0;
        background: rgb(10 29 65 / 32%);
    }

    body.app-menu-open .app-mobile-backdrop {
        display: block;
    }

    .app-dashboard-grid,
    .app-tool-layout {
        grid-template-columns: 1fr;
    }

    .app-tool-layout .app-panel {
        order: 2;
    }

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

@media (max-width: 680px) {
    .app-topbar {
        min-height: 64px;
        gap: 10px;
        padding: 10px 16px;
    }

    .app-top-actions {
        gap: 2px;
    }

    .app-search {
        max-width: none;
    }

    .app-search input {
        min-height: 40px;
        padding-left: 38px;
        font-size: 0.78rem;
    }

    .app-profile-copy,
    .app-profile::after,
    .app-top-actions .app-icon-button:first-child {
        display: none;
    }

    .app-content {
        padding: 24px 16px 36px;
    }

    .app-footer {
        padding: 20px 16px 28px;
    }

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

    .app-page-heading .app-button {
        width: 100%;
    }

    .app-welcome {
        grid-template-columns: 1fr;
        padding: 23px 20px 12px;
    }

    .app-welcome-visual {
        min-height: 135px;
    }

    .app-visual-avatar {
        width: 96px;
        height: 96px;
        font-size: 3.2rem;
    }

    .app-visual-orbit {
        height: 132px;
    }

    .app-visual-orbit::before {
        width: 210px;
        height: 105px;
    }

    .app-visual-orbit::after {
        width: 260px;
        height: 120px;
    }

    .app-stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-stat-card {
        padding: 14px;
    }

    .app-stat-card:nth-child(5) {
        grid-column: span 2;
    }

    .app-quick-grid,
    .app-tool-grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-quick-card {
        min-height: 112px;
    }

    .app-bottom-banner {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }

    .app-bottom-banner .app-button {
        width: 100%;
    }

    .app-auth-page {
        display: block;
        padding: 0;
    }

    .app-auth-shell {
        display: block;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .app-auth-intro {
        min-height: 0;
        padding: 26px 22px 24px;
    }

    .app-auth-brand {
        width: 160px;
        margin-bottom: 22px;
    }

    .app-auth-intro h1 {
        font-size: 2rem;
    }

    .app-auth-intro > p {
        margin-bottom: 18px;
        font-size: 0.9rem;
    }

    .app-auth-benefits {
        gap: 10px;
    }

    .app-auth-benefit:nth-child(n + 3) {
        display: none;
    }

    .app-auth-card {
        margin: 0;
        padding: 26px 22px 34px;
        border: 0;
        border-radius: 0;
    }
}

@media (max-width: 420px) {
    .app-tool-grid,
    .app-quick-grid {
        grid-template-columns: 1fr;
    }

    .app-stat-grid {
        grid-template-columns: 1fr;
    }

    .app-stat-card:nth-child(5) {
        grid-column: auto;
    }

    .app-social-row {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   REDESIGNED LOGIN PAGE STYLES (Mockups/Login.jpeg Alignment)
   ========================================================================== */

.login-page {
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    color: var(--app-text);
    background: linear-gradient(135deg, #f0f5ff 0%, #eaf3ff 50%, #f7faff 100%);
    background-color: #eff6ff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
}

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

.login-wrapper {
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    justify-content: space-between;
    width: min(100% - 80px, 1440px);
    margin: 0 auto;
    padding: 48px 0 24px;
}

/* MAIN LAYOUT: 2 COLUMNS */
.login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 40px;
    align-items: stretch;
    flex: 1;
    margin-bottom: 28px;
}

/* LEFT COLUMN: HERO & BRANDING */
.login-hero {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 12px;
}

.login-brand-shell {
    margin-bottom: 20px;
}

.login-brand {
    display: inline-block;
    width: 190px;
}

.login-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.login-hero-header {
    margin-bottom: 24px;
}

.login-eyebrow {
    margin-bottom: 4px;
    color: #4b5e80;
    font-size: 1.35rem;
    font-weight: 600;
}

.login-hero-title {
    margin-bottom: 12px;
    color: #0c1d41;
    font-size: clamp(2.4rem, 3.2vw, 3.1rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.login-hero-subtitle {
    max-width: 480px;
    margin-bottom: 0;
    color: #4e5f7e;
    font-size: 1.05rem;
    line-height: 1.55;
}

.login-hero-body {
    flex: 1;
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

/* SHOWCASE: features left + illustration right */
.login-hero-showcase {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(360px, 1.25fr);
    align-items: center;
    gap: clamp(16px, 2vw, 36px);
    width: 100%;
    min-height: 330px;
}

.login-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 300px;
    overflow: visible;
}

.login-features {
    display: grid;
    gap: 14px;
}

.login-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.login-feature-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 10px;
    color: #1f5fe8;
    background: #eaf2ff;
}

.login-feature-text strong {
    display: block;
    color: #0c1d41;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.25;
}

.login-feature-text span {
    display: block;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.35;
}

.login-hero-illustration {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 28px rgba(30, 75, 145, 0.10));
    transform: translateY(4px);
}

/* STATS PANEL */
.login-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 22px;
    border: 1px solid #dce6f4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(22, 53, 108, 0.05);
}

.login-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-stat-item:not(:last-child) {
    border-right: 1px solid #edf2f9;
    padding-right: 8px;
}

.login-stat-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 9px;
    color: #1f5fe8;
    background: #eaf2ff;
}

.login-stat-data strong {
    display: block;
    color: #0c1d41;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.1;
}

.login-stat-data small {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
}

/* RIGHT COLUMN: LOGIN CARD */
.login-card-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.login-card {
    width: 100%;
    max-width: 580px;
    padding: 44px 48px;
    border: 1px solid rgba(219, 230, 247, 0.6);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(31, 80, 175, 0.08);
}

.login-card-header {
    margin-bottom: 24px;
}

.login-card-header h2 {
    margin-bottom: 6px;
    color: #0c1d41;
    font-size: clamp(1.8rem, 2.4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.login-card-header p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* INPUT FIELD WITH ICON & PASS TOGGLE */
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 14px;
    display: grid;
    place-items: center;
    color: #94a3b8;
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    min-height: 48px;
    padding: 10px 42px 10px 44px;
    border: 1.5px solid #dce6f4;
    border-radius: 10px;
    color: #0c1d41;
    font-size: 0.92rem;
    outline: none;
    background: #ffffff;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.input-with-icon input:focus {
    border-color: #1f5fe8;
    box-shadow: 0 0 0 4px rgba(31, 95, 232, 0.12);
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: #94a3b8;
    background: transparent;
    cursor: pointer;
    transition: color 150ms ease;
}

.password-toggle-btn:hover {
    color: #1f5fe8;
}

.login-options {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    margin-bottom: 20px;
}

.login-forgot-link {
    color: #1f5fe8;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.login-forgot-link:hover {
    text-decoration: underline;
}

.login-submit-btn {
    min-height: 50px;
    border-radius: 10px;
    background: #1f5fe8;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.login-submit-btn:hover {
    background: #1549be;
}

.login-divider {
    position: relative;
    margin: 24px 0 20px;
    text-align: center;
}

.login-divider::before {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    content: "";
}

.login-divider span {
    position: relative;
    padding: 0 14px;
    color: #94a3b8;
    background: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
}

.login-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.login-social-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1.5px solid #dce6f4;
    border-radius: 10px;
    color: #1e293b;
    background: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.login-social-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.social-icon {
    flex: 0 0 18px;
}

.login-register-switch {
    margin-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
}

.login-register-switch a {
    color: #1f5fe8;
    font-weight: 750;
    text-decoration: none;
}

.login-register-switch a:hover {
    text-decoration: underline;
}

/* SUPPORT FOOTER */
.login-support-footer {
    display: grid;
    gap: 16px;
}

.support-footer-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 20px 24px;
    border: 1px solid #dce6f4;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.support-col {
    display: flex;
    align-items: center;
    gap: 12px;
}

.support-icon {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 10px;
    color: #1f5fe8;
    background: #eaf2ff;
}

.support-text strong {
    display: block;
    color: #0c1d41;
    font-size: 0.88rem;
    font-weight: 750;
}

.support-text span {
    display: block;
    color: #64748b;
    font-size: 0.76rem;
}

.login-footer-disclaimer {
    margin: 0;
    color: #94a3b8;
    font-size: 0.74rem;
    text-align: center;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1180px) {
    .login-wrapper {
        width: min(100% - 56px, 1440px);
    }
    .login-hero-showcase {
        grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.1fr);
        gap: 20px;
        min-height: 280px;
    }
    .login-hero-illustration {
        width: 100%;
        max-width: 460px;
    }
    .login-hero-visual {
        min-height: 260px;
    }
}

@media (max-width: 960px) {
    .login-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .login-hero {
        padding-right: 0;
    }
    .login-hero-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        min-height: auto;
    }
    .login-hero-illustration {
        width: 100%;
        max-width: 400px;
    }
    .login-hero-visual {
        min-height: 240px;
    }
    .login-card-container {
        justify-content: center;
    }
    .login-card {
        max-width: 100%;
    }
    .support-footer-panel {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 767px) {
    .login-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 16px 14px 20px;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    /* Un-nest container boxes into flex items of .login-wrapper */
    .login-layout,
    .login-hero,
    .login-hero-body,
    .login-hero-showcase {
        display: contents;
    }

    /* 1. Intro Header / Logo & Welcome */
    .login-brand-shell {
        order: 1;
        margin-bottom: 12px;
    }

    .login-brand {
        width: 145px;
    }

    .login-hero-header {
        order: 2;
        margin-bottom: 16px;
    }

    .login-eyebrow {
        font-size: 1.05rem;
        margin-bottom: 2px;
    }

    .login-hero-title {
        font-size: 1.95rem;
        margin-bottom: 6px;
    }

    .login-hero-subtitle {
        font-size: 0.92rem;
        line-height: 1.45;
        margin-bottom: 0;
    }

    /* 2. Login Card (Form) - Moved up right after Header */
    .login-card-container {
        order: 3;
        width: 100%;
        margin-bottom: 24px;
        justify-content: center;
    }

    .login-card {
        width: 100%;
        max-width: 100%;
        padding: 22px 18px;
        border-radius: 18px;
        box-shadow: 0 10px 30px rgba(31, 80, 175, 0.08);
    }

    .login-card-header {
        margin-bottom: 14px;
    }

    .login-card-header h2 {
        font-size: 1.6rem;
        margin-bottom: 4px;
    }

    .login-card-header p {
        font-size: 0.86rem;
    }

    .app-demo-note {
        font-size: 0.78rem;
        padding: 10px 12px;
        margin-bottom: 14px;
        line-height: 1.4;
    }

    .app-form-group {
        margin-bottom: 14px;
    }

    .app-form-group label {
        font-size: 0.82rem;
        margin-bottom: 6px;
    }

    .input-with-icon input {
        min-height: 48px;
        font-size: 16px; /* Prevents auto zoom on iOS */
        padding: 10px 42px 10px 42px;
    }

    .login-options {
        margin-top: 6px;
        margin-bottom: 14px;
    }

    .login-forgot-link {
        font-size: 0.82rem;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .login-submit-btn {
        min-height: 48px;
        font-size: 0.96rem;
        margin-top: 4px;
        border-radius: 10px;
    }

    .login-divider {
        margin: 20px 0 16px;
    }

    .login-divider span {
        font-size: 0.78rem;
        padding: 0 10px;
    }

    .login-social-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .login-social-btn {
        min-height: 46px;
        font-size: 0.82rem;
        padding: 8px 12px;
        justify-content: center;
    }

    .login-register-switch {
        margin-top: 18px;
        font-size: 0.84rem;
    }

    /* 3. Hero Visual / Illustration */
    .login-hero-visual {
        order: 4;
        margin: 0 auto 20px;
        min-height: auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .login-hero-illustration {
        width: min(280px, 78vw);
        max-width: 290px;
        height: auto;
        margin: 0 auto;
        transform: none;
        filter: drop-shadow(0 12px 24px rgba(30, 75, 145, 0.10));
    }

    /* 4. Feature List */
    .login-features {
        order: 5;
        margin-bottom: 24px;
        display: grid;
        gap: 10px;
    }

    .login-feature-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        padding: 2px 0;
    }

    .login-feature-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border-radius: 8px;
    }

    .login-feature-text strong {
        font-size: 0.86rem;
    }

    .login-feature-text span {
        font-size: 0.75rem;
    }

    /* 5. Stats (2x2 Grid) */
    .login-stats {
        order: 6;
        margin-bottom: 24px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px 10px;
        border-radius: 14px;
    }

    .login-stat-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 6px 4px;
    }

    .login-stat-item:not(:last-child) {
        border-right: none;
        padding-right: 0;
    }

    .login-stat-item:nth-child(odd) {
        border-right: 1px solid #edf2f9;
        padding-right: 6px;
    }

    .login-stat-icon {
        width: 32px;
        height: 32px;
        flex: 0 0 32px;
        border-radius: 8px;
    }

    .login-stat-data strong {
        font-size: 1.05rem;
    }

    .login-stat-data small {
        font-size: 0.68rem;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    /* 6. Support Footer & 7. Disclaimer */
    .login-support-footer {
        order: 7;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 8px;
    }

    .support-footer-panel {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px 14px;
        border-radius: 14px;
    }

    .support-col {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
    }

    .support-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        border-radius: 8px;
    }

    .support-text strong {
        font-size: 0.84rem;
    }

    .support-text span {
        font-size: 0.74rem;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .footer-disclaimer {
        font-size: 0.72rem;
        line-height: 1.5;
        color: #94a3b8;
        margin: 12px 4px 16px;
        text-align: center;
    }
}

/* Extra small mobile screens (< 389px) */
@media (max-width: 389px) {
    .login-wrapper {
        padding: 12px 10px 16px;
    }

    .login-card {
        padding: 18px 14px;
    }

    .login-eyebrow {
        font-size: 0.95rem;
    }

    .login-hero-title {
        font-size: 1.75rem;
    }

    .login-hero-illustration {
        width: min(240px, 85vw);
    }

    .login-stat-data strong {
        font-size: 0.95rem;
    }
}
