.legal-gate{max-width:960px;margin:24px auto;padding:32px;background:#fff;border:1px solid #d3dfdc;border-radius:16px}.legal-logo{display:block;width:160px;height:auto}.legal-document{line-height:1.75;overflow-wrap:anywhere}.legal-document h2,.legal-document h3{margin-top:28px;line-height:1.35}.legal-actions{display:flex;gap:14px;flex-wrap:wrap;padding:24px 0}.legal-actions label{flex-basis:100%;display:flex;gap:12px;align-items:flex-start}.legal-actions input{width:22px;height:22px;flex:none}.legal-hash{overflow-wrap:anywhere;font-size:12px}.audit-area>.form-grid{margin-bottom:20px}.audit-list{margin-top:20px}.audit-event{display:grid;grid-template-columns:24px 150px minmax(120px,1fr) minmax(180px,2fr);gap:10px 16px;padding:20px 0;border-bottom:1px solid #d3dfdc;align-items:center}.audit-event p{margin:0}.audit-event>time{font-size:13px}.audit-event>button{justify-self:start}.audit-dialog{width:min(940px,94vw);max-height:90dvh;overflow:auto;overflow-wrap:anywhere;padding:24px}.audit-dialog>button:first-child{float:right}.audit-dialog details{margin-top:20px}.audit-event>.atlas-badge{width:max-content}.legal-proof{display:none}
.sidebar .atlas-mark{background:#fff;border-radius:12px;padding:6px;text-align:center}.sidebar .atlas-mark img{width:155px;height:155px;object-fit:contain}.welcome .atlas-mark img{width:280px;height:280px;object-fit:contain}.welcome{background:linear-gradient(180deg,#fffaf3f5 0%,#fffaf3ee 42%,#0d514b15 70%,#104c51b0 100%),url('/brand/atlas-care.png') 55% 70%/cover!important;color:#164b4e!important;padding:35px!important}.welcome h1{color:#a15e3b!important;font-size:36px!important;font-family:Georgia,serif;font-style:italic;line-height:1.2!important;margin:12px 0!important}.welcome>p{color:#164b4e;font-size:19px}.welcome-foot{color:#fff}.login-layout{max-width:1250px;margin:24px auto;min-height:calc(100dvh - 48px);border-radius:20px;overflow:hidden;box-shadow:0 14px 60px #123f4324}.login-side{background:linear-gradient(145deg,#fff,#f7f5f0)}.login-form{max-width:420px}.login-form h2{font-size:34px}.login-form .primary{background:#125f59}.login-form input{background:#fff;min-height:48px}.login-form>small{display:block;margin-top:24px;border-left:3px solid #125f59;padding:14px;background:#eef3ef}
@media(max-width:800px){.audit-event{grid-template-columns:24px minmax(0,1fr)}.audit-event>*:not(svg){grid-column:2}.audit-event{gap:8px}.audit-dialog{padding:18px}.legal-gate{margin:8px;padding:20px}.login-layout{margin:0;border-radius:0}.welcome .atlas-mark img{width:190px;height:190px}.welcome{min-height:360px!important}.sidebar .atlas-mark img{width:110px;height:110px}.legal-actions button{min-height:44px}}
@media print{body.printing-legal>*{display:none!important}body.printing-legal #legal-print{display:block!important;overflow-wrap:anywhere;padding:25px;color:#000}.legal-document{font-size:11pt}}

.welcome>p{color:#164b4e!important}.welcome .atlas-mark img{mix-blend-mode:multiply}

/* Integrated brand on a light navigation surface; no image editing or white badge. */
.sidebar{background:#e9f0ed;color:#153f46;border-right:1px solid #cadbd4}
.sidebar .sidebar-brand{background:transparent;padding:0 10px 14px;border:0;border-radius:0;box-shadow:none}
.sidebar-brand-image{height:151px;overflow:hidden;max-width:210px;margin:auto}
.sidebar .sidebar-brand img{width:210px;height:210px;max-width:none;mix-blend-mode:multiply;object-fit:contain}
.sidebar .brand-subtitle{font-size:13px;line-height:1.5;font-weight:600;letter-spacing:.15px;color:#16464d;margin:8px 0 0;text-align:center}
.sidebar nav button,.sidebar .sidebar-controls #my-account,.sidebar .sidebar-controls #notifications,.sidebar-bottom button{color:#153f46}
.sidebar .nav-caption{color:#49645e;font-size:11px;font-weight:700}
.sidebar nav button:hover{background:#d7e6df}.sidebar nav button[aria-current=page]{background:#175f63;color:#fff;box-shadow:inset 3px 0 0 #b78360}
.sidebar-bottom{border-top-color:#cadbd4}.sidebar .nav-group:has(>button:not([hidden])){display:block}.sidebar .nav-group:not(:has(>button:not([hidden]))){display:none}
.welcome{display:flex;flex-direction:column;gap:10px;background:#f4eee5!important;padding:24px!important;overflow:hidden;min-height:0!important}
.welcome .atlas-mark{padding:0}.welcome .atlas-mark img{width:180px;height:180px;margin:auto}
.welcome h1{font-size:30px!important;margin:0!important}.welcome>p{margin:0 0 10px;font-size:17px}
.welcome .login-care-photo{display:block;width:calc(100% + 48px);max-width:none;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;margin:auto -24px 0}
.welcome .welcome-foot{position:static;background:#164e4f;color:#fff;margin:-10px -24px -24px;padding:14px 24px}
.legal-gate{font-family:Arial,Helvetica,sans-serif}.legal-gate h1{font-size:clamp(24px,3vw,34px);line-height:1.25}.legal-document{font-size:16px}
@media(max-width:760px){.sidebar-brand-image{height:130px;width:180px}.sidebar .sidebar-brand img{width:180px;height:180px}.sidebar .brand-subtitle{max-width:260px;margin:8px auto}.welcome .atlas-mark img{width:140px;height:140px}.welcome h1{font-size:26px!important}.welcome .login-care-photo{aspect-ratio:3/2}.login-layout{display:block}}

.charge-document .receipt-logo{width:140px;height:140px;object-fit:contain;float:right;margin:0 0 16px 20px}@media print{.charge-document .receipt-logo{width:32mm;height:32mm}}

.sidebar{display:block;overflow-y:auto}.sidebar nav{max-height:none;overflow:visible}.sidebar-bottom{position:static}.sidebar .test-badge{color:#49645e;border-color:#b4cbc1}@media(max-width:760px){.sidebar{height:auto}.sidebar nav{display:flex;max-height:280px;overflow:auto}.sidebar .nav-caption{display:block}}

.charge-document .receipt-logo{max-height:none;max-width:140px}@media print{.charge-document .receipt-logo{max-width:32mm}}

/* Approved 0129 branding: responsive width, never crop the wordmark horizontally. */
.sidebar{scrollbar-gutter:stable}
.sidebar .sidebar-brand{min-width:0;padding-inline:8px}
.sidebar .sidebar-brand-image{width:100%;max-width:210px;height:auto;aspect-ratio:1/.72;overflow:hidden}
.sidebar .sidebar-brand-image img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:1;object-fit:contain;margin:0}
.sidebar .brand-subtitle{max-width:230px;margin:10px auto 0;font-size:13px;line-height:1.5;text-wrap:balance}
.welcome.welcome-approved{padding:0!important;gap:0;background:#f4eee5!important;justify-content:center;min-height:0!important}
.welcome-approved .login-approved-art{display:block;width:100%;height:auto;max-width:100%;object-fit:contain;margin:0}
@media(max-width:760px){.sidebar .sidebar-brand-image{width:100%;max-width:180px;height:auto}.sidebar .sidebar-brand-image img{width:100%;height:auto}.welcome.welcome-approved{min-height:0!important}.welcome-approved .login-approved-art{max-height:none}}

@page finance-results{size:A4 landscape;margin:12mm}@media print{#selected-report.finance-results{page:finance-results;font:9pt Arial,sans-serif}.finance-results .table-wrap{overflow:visible}.finance-results table{width:100%;table-layout:fixed;border-collapse:collapse}.finance-results th,.finance-results td{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;font-size:8pt;padding:4pt}.finance-results thead{display:table-header-group}.finance-results tr{break-inside:avoid}.finance-results h1{font-size:16pt}}
