:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182f4b;background:#f2f5f8;font-synthesis:none;font-optical-sizing:auto}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}.boot{padding:40px;color:#3f5671;font-weight:700}.layout{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{background:#10243b;color:#dbe5ef;padding:24px 16px;display:flex;flex-direction:column;gap:28px}.brand{font-size:20px;font-weight:750;color:#fff;padding:4px 10px}.brand small{display:block;color:#9aadc2;font-size:10px;letter-spacing:.14em;margin-top:5px}.nav{display:grid;gap:7px}.nav button{border:0;background:transparent;color:#c5d1df;text-align:left;border-radius:10px;padding:12px 13px}.nav button:hover,.nav button.active{background:#263f5b;color:white}.nav .group{font-size:10px;text-transform:uppercase;letter-spacing:.15em;color:#9aadc2;margin:15px 12px 3px}.sidebar-foot{margin-top:auto;color:#9aadc2;font-size:12px;padding:10px}.main{min-width:0;padding:32px clamp(20px,4vw,62px) 60px}.topline{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.topline h1{font-size:28px;margin:0 0 6px}.muted{color:#71839a}.welcome{margin-bottom:24px}.welcome h2{font-size:30px;margin:0 0 8px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:white;border:1px solid #d7e0e9;border-radius:16px;padding:22px;box-shadow:0 3px 12px #10243b10}.card h2,.card h3{margin:0 0 12px}.card h2{font-size:20px}.card h3{font-size:16px}.claim-card{display:grid;gap:14px;cursor:pointer;transition:transform .15s,border-color .15s}.claim-card:hover{transform:translateY(-2px);border-color:#8da7c4}.claim-title{display:flex;justify-content:space-between;gap:12px;align-items:start}.claim-title strong{font-size:18px}.status{display:inline-flex;border-radius:30px;background:#e5ebf2;color:#3f5671;padding:7px 11px;font-size:12px;font-weight:700;white-space:nowrap}.status.pending{background:#fff4d9;color:#8b6212}.status.alert{background:#fce8e5;color:#a14236}.metric{color:#71839a;font-size:13px}.button{border:1px solid #d7e0e9;background:#fff;color:#3f5671;border-radius:10px;padding:11px 15px;font-weight:650}.button:hover{background:#edf1f5}.button.primary{background:#182f4b;color:#fff;border-color:#182f4b}.button.danger{color:#a34339}.button.small{padding:8px 10px;font-size:13px}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.split{display:flex;justify-content:space-between;align-items:center;gap:12px}.field{display:grid;gap:7px;margin:14px 0}.field label{font-size:13px;color:#536c8a;font-weight:650}.field input,.field select,.field textarea{border:1px solid #d7e0e9;border-radius:10px;padding:12px;color:#182f4b;background:#fff;width:100%;outline-color:#536c8a}.field textarea{min-height:100px;resize:vertical}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(100%,460px);background:#fff;border:1px solid #d7e0e9;border-radius:18px;padding:32px;box-shadow:0 12px 38px #10243b12}.auth-card h1{margin:0 0 6px}.text-button{background:none;border:0;color:#3f5671;padding:7px 0;text-decoration:underline}.notice{padding:13px 15px;border-radius:10px;background:#edf1f5;color:#3f5671;margin:12px 0}.notice.warning{background:#fff3d7;color:#79550f}.notice.error{background:#fdecea;color:#9d332c}.notice:empty{display:none}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.tabs button{border:1px solid #d7e0e9;background:#fff;border-radius:20px;padding:9px 14px;color:#536c8a}.tabs button.active{background:#182f4b;color:#fff;border-color:#182f4b}.timeline{display:grid;gap:0}.event{padding:0 0 20px 22px;border-left:2px solid #d7e0e9;margin-left:8px;position:relative}.event:last-child{border-left-color:transparent}.event:before{content:"";position:absolute;left:-7px;top:2px;width:11px;height:11px;background:#536c8a;border-radius:50%;border:2px solid white}.event strong{display:block;margin-bottom:4px}.event time{display:block;color:#71839a;font-size:12px;margin-top:5px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:620px}th,td{text-align:left;padding:13px 11px;border-bottom:1px solid #edf1f5;vertical-align:middle}th{color:#71839a;font-size:11px;letter-spacing:.08em;text-transform:uppercase;background:#f6f8fb}td{font-size:14px}.chat{display:grid;gap:12px;max-height:360px;overflow:auto;padding:12px 0}.bubble{border-radius:12px;padding:12px 14px;background:#edf1f5;max-width:85%;white-space:pre-wrap;line-height:1.5}.bubble.user{background:#e5ebf2;margin-left:auto}.source{font-size:11px;color:#71839a;margin-top:8px}.empty{padding:26px;text-align:center;color:#71839a}.upload-box{border:1px dashed #8da7c4;border-radius:12px;padding:20px;margin:15px 0}.file-state{font-size:12px}.footer-note{font-size:12px;color:#71839a;margin-top:12px}.hidden{display:none!important}.mobile-menu{display:none}.link{color:#3f5671;text-decoration:none;font-weight:650}.toast{position:fixed;bottom:20px;right:20px;background:#10243b;color:#fff;padding:13px 18px;border-radius:10px;box-shadow:0 4px 16px #0002;z-index:3;max-width:min(440px,90vw)}
@media(max-width:860px){.layout{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:2;padding:9px 12px;display:flex;flex-direction:row;align-items:center;gap:10px}.brand{font-size:16px;padding:3px}.brand small{display:none}.nav{display:flex;overflow:auto;gap:3px}.nav .group{display:none}.nav button{white-space:nowrap;padding:10px 11px;font-size:13px}.sidebar-foot{display:none}.main{padding:23px 16px 48px}.grid,.grid.three{grid-template-columns:1fr}.topline{margin-bottom:18px}.topline h1{font-size:23px}.welcome h2{font-size:26px}.card{padding:18px}}

.auth-card .brand{color:#10243b}.auth-card .brand small{color:#71839a}.grid .card{overflow-wrap:anywhere}.grid .status{white-space:normal}
.nav a{display:block;color:#c5d1df;text-decoration:none;border-radius:10px;padding:12px 13px}.nav a:hover,.nav a.active{background:#263f5b;color:white}.portal-claim{display:block;text-decoration:none;color:inherit;transition:border-color .15s,transform .15s}.portal-claim:hover{border-color:#8da7c4;transform:translateY(-2px)}.portal-claim:focus-visible,.nav a:focus-visible{outline:3px solid #8da7c4;outline-offset:3px}.doc-link{color:#3f5671}.upload-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.uploaded-docs{margin-top:24px}.document-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #d7e0e9;overflow-wrap:anywhere}.document-row:last-child{border-bottom:0}.document-actions{display:flex;gap:10px;flex-wrap:wrap}.document-actions a{text-decoration:none}.delete-document{color:#a14236}.delete-dialog{border:1px solid #d7e0e9;border-radius:14px;padding:26px;width:min(500px,94vw)}.delete-dialog::backdrop{background:#10243b77}@media(max-width:700px){.upload-fields{grid-template-columns:1fr}.document-row{align-items:flex-start;flex-direction:column}}

.nav a{display:flex;align-items:center;gap:11px}.nav-icon{width:22px;height:22px;flex:none}.nav-label{white-space:nowrap}@media(max-width:860px){.sidebar .nav{margin-left:auto;overflow:visible;flex-shrink:0;gap:5px}.sidebar .nav a{width:44px;height:44px;padding:10px;justify-content:center;flex:none}.sidebar .nav-label{display:none}.sidebar .nav-icon{width:24px;height:24px}.sidebar .brand{flex-shrink:0}}

.portal-payment-list{display:grid;gap:16px}.portal-payment-card h2{font-size:17px;margin:0 0 16px;overflow-wrap:anywhere}.portal-payment-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-payment-values>div{display:grid;gap:6px;padding:14px;border-radius:10px;background:#f6f8fb}.portal-payment-values span{color:#71839a;font-size:13px}.portal-payment-values strong{font-size:20px;color:#3f5671}@media(max-width:520px){.portal-payment-values{grid-template-columns:1fr}}

.nav button.logout-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;text-align:center;flex:none;color:#c5d1df}.nav button.logout-icon:hover{color:#fff}.nav button.logout-icon:focus-visible{outline:3px solid #8da7c4;outline-offset:3px}
@media(max-width:860px){.sidebar .nav{margin-left:auto;overflow-x:auto;overflow-y:hidden;flex:1 1 auto;min-width:0;scrollbar-width:none}.sidebar .nav::-webkit-scrollbar{display:none}.sidebar .nav .logout-icon{width:44px;height:44px;padding:10px;justify-content:center;flex:none}.sidebar .nav .nav-icon{width:24px;height:24px}}
@media(max-width:380px){.sidebar{gap:4px;padding:8px}.sidebar .brand{font-size:14px}.sidebar .nav{gap:2px}.sidebar .nav a,.sidebar .nav .logout-icon{width:38px;height:38px;padding:8px}.sidebar .nav .nav-icon{width:21px;height:21px}}

.sidebar>.brand{display:none}.sidebar>.nav{flex:1;align-content:space-evenly}
@media(max-width:860px){.sidebar .nav{width:100%;margin-left:0;justify-content:space-evenly;gap:0}.sidebar .nav a,.sidebar .nav .logout-icon{margin:0}}
.sidebar .nav .logout-icon .logout-label{display:none}
@media(min-width:861px){.sidebar .nav .logout-icon{width:100%;height:auto;justify-content:flex-start;padding:12px 13px;text-align:left}.sidebar .nav .logout-icon .nav-icon{display:none}.sidebar .nav .logout-icon .logout-label{display:inline}}


/* Corporate sign-in layout shared with the CRM login */
.portal-login{min-height:100vh;display:grid;grid-template-columns:minmax(340px,44%) minmax(0,1fr);background:#f6f8fb;color:#182f4b}.portal-login-brand{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;overflow:hidden;padding:48px clamp(34px,5vw,72px) 58px;background:#10243b;color:#fff}.portal-login-brand:before{content:"";position:absolute;z-index:-1;width:min(78vw,950px);aspect-ratio:1;right:-45%;bottom:-43%;border-radius:50%;background:radial-gradient(circle,transparent 0 34%,rgba(255,255,255,.035) 34.2% 48%,transparent 48.2% 61%,rgba(255,255,255,.028) 61.2% 75%,transparent 75.2%)}.portal-login-identity{display:grid;justify-items:start;line-height:1.2}.portal-login-mark{font-size:40px;font-weight:750;letter-spacing:-.08em;line-height:1;margin-bottom:22px}.portal-login-identity strong{font-size:18px;font-weight:700}.portal-login-identity small{margin-top:5px;color:#8da7c4;font-size:10px;letter-spacing:.16em}.portal-login-message{max-width:590px}.portal-login-eyebrow{display:block;color:#71839a;font-size:10px;font-weight:750;letter-spacing:.16em}.portal-login-brand .portal-login-eyebrow{color:#8da7c4}.portal-login-message h1{margin:0 0 15px;font-size:clamp(38px,4vw,58px);font-weight:450;line-height:1.08;letter-spacing:-.045em}.portal-login-message p{max-width:470px;margin:0;color:#d7e0e9;font-size:15px;line-height:1.65}.portal-login-side{display:grid;place-items:center;min-width:0;padding:40px}.portal-auth-card{width:min(100%,420px);padding:34px;background:#fff;border:1px solid #d7e0e9;border-radius:16px;box-shadow:0 14px 40px rgba(20,47,34,.08)}.portal-auth-card h2{margin:12px 0 7px;color:#182f4b;font-size:26px;font-weight:500;letter-spacing:-.03em}.portal-auth-intro{margin:0 0 23px;color:#71839a;font-size:13px}.portal-login-error{margin:0;color:#a33c32;font-size:13px}.portal-login-error:empty{display:none}.portal-auth-card form{margin-top:18px}.portal-auth-card .field{margin:0 0 18px;gap:8px}.portal-auth-card .field label{color:#182f4b;font-size:12px;font-weight:650}.portal-auth-card .field input{min-height:44px;border-color:#d7e0e9;border-radius:7px;padding:11px 13px;color:#182f4b;background:#fff}.portal-auth-card .field input:focus{border-color:#8da7c4;outline:3px solid rgba(94,143,113,.16)}.portal-auth-card .button.primary{width:100%;min-height:44px;margin-top:2px;border-radius:7px;background:#8da7c4;border-color:#8da7c4;color:#fff}.portal-auth-card .button.primary:hover{background:#182f4b;border-color:#182f4b}.portal-secure-note{display:flex;align-items:center;gap:8px;margin:21px 0 0;padding-top:18px;border-top:1px solid #edf1f5;color:#71839a;font-size:11px}.portal-secure-note span{font-size:15px}.portal-auth-card .footer-note{margin:18px 0 0;color:#71839a;font-size:11px;line-height:1.5}@media(max-width:760px){.portal-login{grid-template-columns:1fr}.portal-login-brand{min-height:255px;padding:27px 25px 30px}.portal-login-mark{font-size:29px;margin-bottom:12px}.portal-login-identity strong{font-size:16px}.portal-login-message{margin-top:27px}.portal-login-message h1{font-size:34px;margin-bottom:8px}.portal-login-message p{font-size:13px}.portal-login-side{padding:28px 18px 38px}.portal-auth-card{padding:27px 23px}}@media(max-width:380px){.portal-login-brand{min-height:235px;padding:23px 20px}.portal-login-message h1{font-size:30px}.portal-login-side{padding-inline:14px}.portal-auth-card{padding:24px 19px}}

.provider-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;margin:12px 0;border:1px solid #d7e0e9;border-radius:7px;background:#fff;color:#182f4b;text-decoration:none;font-size:14px;font-weight:600}.provider-button>div{margin:0 auto}.apple-provider{gap:10px}.apple-provider span{width:18px;height:18px;background:#000;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.37 12.17c.02 2.15 1.88 2.87 1.9 2.88-.02.05-.3 1.04-.98 2.06-.59.87-1.2 1.74-2.16 1.76-.94.02-1.24-.57-2.32-.57-1.08 0-1.42.55-2.31.59-.92.04-1.62-.94-2.21-1.8-1.2-1.73-2.12-4.9-.89-7.03.61-1.06 1.7-1.73 2.88-1.75.9-.02 1.75.62 2.32.62.57 0 1.64-.77 2.77-.66.47.02 1.8.19 2.65 1.44-.07.04-1.58.92-1.57 2.46M14.55 6.2c.49-.59.82-1.41.73-2.23-.71.03-1.57.47-2.08 1.06-.46.53-.86 1.37-.75 2.17.79.06 1.6-.4 2.1-1'/%3E%3C/svg%3E") center/contain no-repeat}.provider-button:focus-visible{outline:3px solid #8da7c4;outline-offset:3px}

/* Compact bottom navigation for mobile browser and installed PWA. */
@media(max-width:860px){
 .layout{display:block;min-height:100dvh}
 .sidebar{position:fixed;inset:auto 0 0;top:auto;z-index:30;width:100%;height:calc(56px + env(safe-area-inset-bottom,0px));min-height:0;max-height:none;padding:0 8px env(safe-area-inset-bottom,0px);gap:0;border-top:1px solid #ffffff20;box-shadow:0 -3px 12px #10243b14}
 .sidebar>.nav{display:flex;flex:0 1 100%;width:100%;height:56px;min-height:0;align-items:center;align-content:center;justify-content:space-evenly;gap:0;margin:0;overflow-x:auto;overflow-y:hidden}
 .sidebar .nav a,.sidebar .nav button,.sidebar .nav .logout-icon{width:44px;height:44px;min-height:44px;padding:10px;margin:0;flex:0 0 44px;border-radius:10px}
 .sidebar .nav .nav-icon{width:24px;height:24px}
 .main{padding-top:20px;padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
 html{scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
}
