@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Fraunces:wght@400;500&family=Montserrat:wght@600;700&display=swap');
:root{font-family:'DM Sans',Arial,sans-serif;color:#344651;background:#f6f3ed;color-scheme:light;--paper:#fffdf9;--cream:#f6f3ed;--navy:#24465b;--ink:#344651;--blue:#246b83;--line:#d5dfe2;--soft:#eaf0f2;--error:#a32626;--on:#fffdf9}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}a{color:var(--blue);text-underline-offset:4px}button,.button{cursor:pointer;min-height:45px;padding:11px 18px;border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--navy);text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{filter:brightness(.96)}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--navy);color:var(--on);border-color:var(--navy)}.quiet{border:0;background:transparent}.danger{color:var(--error)}:focus-visible{outline:3px solid #469bb6;outline-offset:4px}.loading{padding:80px;text-align:center}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 32px;border-bottom:1px solid var(--line);background:var(--paper)}.brand{color:var(--navy);font:500 27px/1.1 'Fraunces',Georgia,serif;text-decoration:none}.brand span{color:#149cc2}.brand small{display:block;font:12px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.1em;margin-top:6px}.top-actions,.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.layout{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:calc(100vh - 100px)}nav{background:var(--paper);border-right:1px solid var(--line);padding:26px 16px;display:flex;flex-direction:column;gap:6px}nav a{display:block;padding:12px 16px;color:var(--ink);text-decoration:none;border-radius:5px}nav a[aria-current=page]{background:var(--soft);color:var(--navy);font-weight:600}.content{width:100%;max-width:1160px;padding:38px 40px 64px;min-width:0}h1,h2,h3{font-family:'Fraunces',Georgia,serif;font-weight:500;color:var(--navy)}h1{font-size:clamp(30px,4vw,42px);line-height:1.12;margin:10px 0 16px}h2{font-size:25px;margin:0 0 15px}h3{font-size:20px;margin:0 0 10px}p{line-height:1.7;margin:0 0 18px}.eyebrow{text-transform:uppercase;letter-spacing:.15em;font-size:11px;color:var(--blue);font-weight:600}.muted{font-size:13px;color:var(--ink);opacity:.85}.panel{padding:28px;border:1px solid var(--line);border-radius:8px;background:var(--paper);margin:24px 0}.accent{border-top:4px solid #469bb6}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid>.panel{margin:0}.split{margin:24px 0}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.badge{display:inline-block;background:var(--soft);border-radius:24px;padding:5px 11px;font-size:12px;color:var(--navy)}label{display:block;font-size:14px;margin-bottom:7px}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:5px;background:var(--cream);padding:12px;color:var(--ink);min-height:45px}textarea{min-height:110px;resize:vertical}.field{margin-bottom:20px}.field .muted{display:block;margin-top:6px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.full{grid-column:1/-1}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.notice{padding:14px 18px;border-left:3px solid #469bb6;background:var(--soft);margin:18px 0;line-height:1.6}.error{color:var(--error)}[role=alert]:empty,[role=status]:empty{display:none}.auth{max-width:510px;margin:65px auto;padding:0 24px}.auth .panel{padding:32px}.auth button{width:100%}.auth .quiet{margin-top:10px}.empty{padding:20px 0}.list-item{padding:20px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border-bottom:0}.list-item p{margin-bottom:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}td,th{padding:13px 10px;text-align:left;border-bottom:1px solid var(--line)}th{font-weight:500}dialog{width:min(660px,calc(100% - 24px));max-height:90vh;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;padding:28px}dialog::backdrop{background:#14263299}.dialog-close{float:right}.footer{font-size:12px;margin-top:36px;line-height:1.8}.checkbox{display:flex;align-items:flex-start;gap:10px}.checkbox input{width:18px;min-height:18px;margin-top:4px}.message{margin:18px 0}.code{letter-spacing:.35em;text-align:center;font-size:24px}.meta{display:flex;gap:18px;flex-wrap:wrap;font-size:13px;margin:12px 0}.stack>*+*{margin-top:12px}
@media(max-width:740px){.topbar{padding:18px 20px;align-items:flex-start}.brand{font-size:24px}.top-actions{gap:5px}.top-actions a{display:none}.layout{display:block}nav{border-right:0;border-bottom:1px solid var(--line);flex-direction:row;flex-wrap:wrap;padding:10px}nav a{padding:10px 12px;font-size:14px}.content{padding:28px 20px 48px}.grid,.form-grid{grid-template-columns:1fr}.panel{padding:22px}.auth{margin-top:38px}.top-actions button{padding:8px 11px}}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--paper:#20313c;--cream:#17232b;--navy:#b5deee;--ink:#d5e0e6;--blue:#85cde3;--line:#405562;--soft:#2b424e;--error:#ffadad;--on:#17232b;color:var(--ink);background:var(--cream)}.brand span{color:#85cde3}}

/* Wordmark and matching geometric sans-serif portal label. */
.brand{display:inline-flex;flex-direction:column;align-items:center;flex-shrink:0;width:250px;max-width:58vw;line-height:1;text-decoration:none}
.brand-logo{display:block;width:100%;height:50px;object-fit:cover;object-position:center}
.brand small{font:700 10px/1.5 'Montserrat','DM Sans',Arial,sans-serif;letter-spacing:.19em;margin-top:5px;color:var(--navy);white-space:nowrap}
@media(max-width:740px){.brand{width:205px;max-width:58vw}.brand-logo{height:42px}.brand small{font-size:9px;letter-spacing:.14em;margin-top:6px}}
@media(prefers-color-scheme:dark){.brand-logo{filter:brightness(0) invert(1)}}

/* The public landing page shares the portal's cream, navy, and sky palette. */
.auth.landing{max-width:1120px;margin:0 auto;padding:90px 40px 80px;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:80px;min-height:calc(100svh - 100px)}
.landing-intro h1{font-size:clamp(42px,5vw,64px);line-height:1.08;letter-spacing:-.035em;margin:22px 0 24px}
.landing-description{font-size:18px;max-width:420px}
.landing-details{display:grid;gap:13px;margin-top:35px;font-size:14px}
.landing-details span{display:flex;align-items:center;gap:12px}
.landing-details span:before{content:'';width:6px;height:6px;border-radius:50%;background:#469bb6;flex:none}
.landing-note{font-family:'Fraunces',Georgia,serif;font-size:17px;margin:36px 0 0;color:var(--blue)}
.auth .landing-card{margin:0;padding:38px;background:#e7eff3;border-color:#cbdde5;border-radius:14px;box-shadow:0 12px 32px #24465b08}
.landing-card h2{font-size:30px;margin:15px 0 12px}.card-description{font-size:14px;margin-bottom:25px}
.landing-card input{background:var(--paper)}.landing-card .primary{min-height:50px}
.signin-note{font-size:12px;text-align:center;margin:15px 0 24px;line-height:1.6}
.account-switch{border-top:1px solid #c6d8e0;padding-top:23px;font-size:13px;text-align:center}
.auth .text-button{display:inline;min-height:0;width:auto;padding:4px 0;border:0;background:transparent;text-decoration:underline;text-underline-offset:4px;font-weight:600;color:var(--navy)}
.landing-help{text-align:center;font-size:12px;margin:22px 0 0}
@media(max-width:850px){.auth.landing{gap:36px;padding:64px 28px}.auth .landing-card{padding:28px}}
@media(max-width:640px){.auth.landing{grid-template-columns:1fr;padding:38px 22px 48px;gap:30px;min-height:0}.landing-intro h1{font-size:44px;margin:16px 0}.landing-description{font-size:16px;margin-bottom:0}.landing-details{display:none}.landing-note{margin-top:20px;font-size:16px}.auth .landing-card{padding:28px 24px}.landing-card h2{font-size:28px}}
@media(prefers-color-scheme:dark){.auth .landing-card{background:#243d4b;border-color:#405d6c}.account-switch{border-color:#405d6c}}

/* Keep the welcome screen airy, including on devices set to dark mode. */
:root:has(.landing){color-scheme:light;--paper:#fffdf9;--cream:#faf8f3;--navy:#24465b;--ink:#344651;--blue:#246b83;--line:#d5dfe2;--soft:#eaf3f8;--error:#a32626;--on:#fffdf9;color:var(--ink);background:var(--cream)}
body:has(.landing) .brand-logo{filter:none}
body:has(.landing) .topbar{background:#faf8f3}
.auth .landing-card{background:#eaf3f8;border-color:#cfdee7}
.landing-card .primary{background:#28748c;border-color:#28748c;color:#fff}
.landing .account-switch{border-color:#ccdde6}
:root:has(.landing){--cream:#f6f3ed}
body:has(.landing) .topbar{background:var(--cream)}
.landing-header{border-bottom:0;min-height:118px;padding:24px 4.5%;gap:28px}
.site-links{display:flex;align-items:center;gap:20px;font-size:16px}
.site-links a{color:var(--navy);text-decoration:none;white-space:nowrap}
.site-links a:hover,.site-links a[aria-current]{text-decoration:underline;text-underline-offset:5px}
.mobile-return{display:none;font-size:13px;color:var(--navy)}
@media(max-width:960px){.site-links{gap:13px;font-size:14px}.landing-header .brand{width:220px}}
@media(max-width:740px){.site-links{display:none}.mobile-return{display:block}.landing-header{min-height:100px;padding:20px;align-items:center}}

/* Coastal Blue throughout the signed-in workspace and verification screens. */
:root{color-scheme:light;--paper:#fffdf9;--cream:#f6f3ed;--navy:#24465b;--ink:#344651;--blue:#246b83;--line:#cfdee7;--soft:#eaf3f8;--error:#a32626;--on:#fffdf9;color:var(--ink);background:var(--cream)}
.brand-logo{filter:none}
.topbar,nav{background:var(--cream)}
.panel{background:#eaf3f8;border-color:var(--line)}
.primary{background:#28748c;border-color:#28748c;color:#fff}
.accent{border-top-color:#469bb6}
input,select,textarea{background:var(--paper)}
nav a[aria-current=page]{background:#dcecf3;color:var(--navy)}
.notice,.badge{background:#e3eff5}
dialog{background:var(--cream)}
