:root{--portal-blue:#344f72}header .brand{font-weight:950;font-size:24px;letter-spacing:-1px}header .brand>span{color:#b78400}#portalIdentity{margin-left:auto;font-size:14px}.portal-tabs{position:sticky;top:68px;z-index:500;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;background:white;padding:8px 0;border-bottom:1px solid #e4eaf1}.portal-tabs button{flex:1;white-space:nowrap;border:0;background:#f1f4f8}.portal-tabs button[aria-selected=true]{background:#344f72;color:white}.portal-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.portal-tools h2{margin:0}.portal-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin:18px 0}.portal-stat{padding:18px;background:#eef3fa;border-radius:18px}.portal-stat strong{display:block;font-size:26px;color:#344f72}.portal-stat span{font-size:14px}.portal-section{padding:20px;border:1px solid #dce5f0;border-radius:20px}.portal-product{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid #e4eaf1}.portal-product img{width:76px;height:76px;object-fit:cover;border-radius:14px}.portal-product>div{flex:1}.portal-product h3{margin:0 0 6px}.portal-product button{min-width:100px}.portal-text{white-space:pre-wrap;overflow-wrap:anywhere}.portal-message{margin:12px 0;padding:18px;background:#f3f6fb;border-radius:16px}.portal-message.unread{border-left:4px solid #daa000}.portal-message h3{margin:0}.portal-message small{color:#60748f}.portal-tools+div{margin-top:16px}#portalNotice:empty{display:none}#portalNotice{padding:14px;background:#fff4cb;border-radius:14px;margin:12px 0;white-space:pre-wrap}.switch-label{display:flex;align-items:center;gap:10px}.portal-apps a,.portal-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:12px;background:#344f72;color:white;text-decoration:none;font-weight:750}.portal-money-row{display:flex;gap:10px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #e4eaf1}.portal-entry-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.portal-entry-options>a{padding:18px;border:1px solid #dce5f0;border-radius:18px;text-decoration:none;color:#344f72}.portal-entry-options strong{display:block;font-size:18px;margin-bottom:6px}.portal-entry-options p{font-size:14px;margin:0}.account-links{display:flex;gap:12px;flex-wrap:wrap}.simple-header-links{display:flex;align-items:center;gap:12px}.simple-join{position:relative}.simple-join summary{list-style:none;padding:10px;min-height:44px}.simple-join>div{position:absolute;top:100%;right:0;background:white;padding:8px;border:1px solid #dce5f0;border-radius:14px;min-width:220px;box-shadow:0 8px 20px #233c5b18;z-index:900}.simple-join a{display:block;padding:12px;text-decoration:none;font-weight:750}.simple-top-link{font-weight:750;display:inline-flex;align-items:center;min-height:44px;text-decoration:none}#guestStart{max-width:850px;margin:20px auto}#guestStart>h1{font-size:clamp(30px,5vw,48px)}#guestStart>.primary-action{display:inline-flex;min-height:48px;align-items:center;background:#344f72;color:white;text-decoration:none;padding:12px 24px;border-radius:14px;font-weight:850}.simple-admin-group{border:1px solid #dce5f0;border-radius:16px;margin:16px 0;padding:4px 12px}.simple-admin-group>summary{font-size:18px}.simple-admin-group form{margin:10px 0}#auth>details{margin-top:20px}@media(max-width:600px){header{flex-wrap:wrap;padding:8px 12px}.portal-tabs{top:64px}.portal-tabs button{font-size:14px;padding:10px 9px}#portalIdentity{max-width:125px;font-size:12px}.portal-entry-options{grid-template-columns:1fr}.portal-product{gap:10px;flex-wrap:wrap}.portal-product img{width:62px;height:62px}.portal-product button{font-size:14px}.portal-stats{gap:8px}.portal-stat{padding:14px}.portal-stat strong{font-size:23px}.simple-header-links{margin-left:auto;gap:2px}.simple-header-links a,.simple-join summary{font-size:14px}header .brand b{font-size:22px}header .brand-symbol{width:34px;height:38px}.portal-tools button{font-size:14px}.portal-money-row{font-size:14px}}

@media(max-width:600px){.portal-tabs{gap:4px;overflow:visible}.portal-tabs button{min-width:0;font-size:12px;padding:10px 4px}.portal-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-stats.stats-4{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-stat{padding:12px 10px}.portal-stat span{font-size:12px}.portal-stat strong{font-size:21px}#portalIdentity{display:none}.portal-tabs{top:65px}}

#auth{scroll-margin-top:85px}body:has(#auth:target) .pilot{display:none}#auth:target{margin-top:16px}

#guestLinks{gap:8px;margin-left:auto}.entry-choice{padding:10px 14px;border-radius:12px;background:#eef3fa}.entry-choice[aria-current=page]{background:#344f72;color:white}.simple-join summary{font-weight:800}#customerSignup{margin-top:10px}#auth details:has(#customerSignup)>summary{display:none}#guestStart{text-align:center;padding:36px 0}#guestStart h1{font-size:30px}.pilot{display:none}@media(max-width:600px){#guestLinks{width:100%;justify-content:center;gap:6px;margin:0}.entry-choice,.simple-join summary{font-size:13px!important;padding:10px 12px}header:has(#guestLinks:not([hidden])){justify-content:center}#guestStart{padding:24px 0}#guestStart h1{font-size:25px}}

#accountDialog{width:min(420px,calc(100vw - 24px));max-height:calc(100svh - 32px);padding:20px;border:1px solid #dce5f0;border-radius:20px;color:#344f72;box-shadow:0 20px 80px #17274730;overflow:auto;background:white}#accountDialog::backdrop{background:#152b4966;backdrop-filter:blur(3px)}.account-modal-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.account-modal-top h2{margin:0;font-size:23px}.account-modal-top button{padding:0;width:44px;min-width:44px;height:44px;font-size:27px;background:transparent;border:0}.account-modal-tabs{display:flex;gap:8px;margin:12px 0}.account-modal-tabs button{flex:1;background:#f0f4f9;border:0}.account-modal-tabs button[aria-pressed=true]{background:#344f72;color:white}#accountDialog #auth{max-width:none;margin:0;scroll-margin:0}#accountDialog #auth>h2{display:none}#accountDialog #auth>p{font-size:14px;margin:8px 0 12px}#accountDialog form{margin:8px 0 0;padding:0;border:0;gap:12px}#accountDialog label{font-size:14px}#accountDialog input{font-size:16px;min-height:44px}#accountDialog .field-hint{font-size:13px}#accountDialog #auth>details{margin:0}#authFeedback:empty{display:none}#authFeedback{padding:10px;background:#fff1c9;border-radius:10px;font-size:14px;white-space:pre-wrap}.account-modal-open{overflow:hidden}.account-modal-open #message{display:none}#identity,#portalIdentity{font-weight:750;font-size:14px}#identity:empty{display:none}#identity:not(:empty){display:inline-block;max-width:220px;overflow-wrap:anywhere}@media(max-width:600px){#accountDialog{padding:16px}.account-modal-top h2{font-size:21px}#portalIdentity{display:block;font-size:12px;max-width:115px;overflow-wrap:anywhere}#identity:not(:empty){max-width:130px;font-size:13px}header:has(#portalIdentity){gap:6px;flex-wrap:wrap}header:has(#portalIdentity) .brand{font-size:21px}}
