/* Shared visual scale for the client workspace and authentication flow. */
html body .content{padding:22px!important;max-width:1540px;margin:auto;min-width:0}
html body .page-head{padding:20px!important;border-radius:15px!important;gap:16px!important;margin-bottom:18px!important;min-height:0!important;background:linear-gradient(120deg,#ff6b2808,transparent 65%),var(--surface)!important;box-shadow:none!important}
html body .page-head h1{font-size:25px!important;line-height:1.25!important;letter-spacing:-.035em!important;margin:0 0 6px!important}
html body .page-head p{font-size:13px!important;line-height:1.6!important;max-width:650px}
html body .btn{font-size:12px!important;line-height:1.4!important;min-height:36px!important;padding:8px 12px!important;border-radius:9px!important}
html body .btn svg{width:15px;height:15px}
html body .metric-grid{gap:12px!important;margin-bottom:18px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
html body .metric-card{padding:16px!important;border-radius:12px!important;min-height:100px!important;background:linear-gradient(130deg,#ffffff03,transparent),var(--surface)!important;box-shadow:none!important;border:1px solid var(--border)!important}
html body .metric-card>div>span{font-size:11px!important;line-height:1.5!important;padding-right:30px!important}
html body .metric-card b{font-size:25px!important;line-height:1.2!important;margin-top:10px!important}
html body .metric-card small{font-size:11px!important;line-height:1.5!important}
html body .metric-card>svg{width:27px!important;height:27px!important;right:14px!important;top:14px!important}
html body .welcome-card{padding:22px!important;border-radius:15px!important;background:linear-gradient(115deg,#ff6b280e,transparent 72%),var(--surface)!important;border:1px solid var(--border)!important;box-shadow:none!important}
html body .welcome-card h2{font-size:22px!important;line-height:1.35!important;letter-spacing:-.025em!important}
html body :is(.card,.panel,.work-card){border-radius:13px!important;box-shadow:0 3px 14px #00000008!important}
html body .card-head{padding:16px!important;gap:12px!important;flex-wrap:wrap!important}
html body .card-head h3{font-size:15px!important;line-height:1.4!important}
html body .card-head p{font-size:12px!important;line-height:1.5!important}
html body :is(.table-toolbar,.filter-bar){gap:10px!important;padding:14px!important;flex-wrap:wrap!important}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){font-size:13px!important;min-height:39px!important;border-radius:9px!important;min-width:0;max-width:100%;box-sizing:border-box}
html body :is(.segmented,.r67-report-tabs,.r68c-billing-tabs){gap:4px!important;padding:4px!important;border-radius:10px!important}
html body :is(.segmented,.r67-report-tabs,.r68c-billing-tabs)>button{font-size:12px!important;padding:8px 12px!important;min-height:34px!important;border-radius:7px!important}
html body .r44-portal-journey{margin:18px 0!important}
html body .lead49-journey-toolbar{padding:16px!important;border-radius:13px!important;gap:14px!important;background:linear-gradient(115deg,#ff6b2808,transparent 65%),var(--surface)!important}
html body .lead49-heading-copy h2{font-size:20px!important;line-height:1.35!important}
html body .lead49-heading-copy p{font-size:12px!important;line-height:1.6!important}
html body .r44-journey-domains{gap:6px!important;display:flex!important;flex-wrap:wrap!important}
html body .r44-journey-domains button{padding:8px 11px!important;font-size:12px!important;border-radius:8px!important;min-height:34px!important}
.portal-journey-filter-disclosure{flex:1 1 100%;width:100%;border:1px solid var(--border);border-radius:9px;background:var(--surface)}
.portal-journey-filter-disclosure summary{padding:11px 13px;cursor:pointer;font-size:12px;font-weight:650}
.portal-journey-filter-disclosure summary span{font-size:11px;color:var(--muted);font-weight:400;margin-left:12px}
html body .portal-journey-filter-disclosure .r44-journey-filters{padding:12px!important;margin:0!important}
html body .lead49-event{border-radius:12px!important;padding:16px!important;margin-bottom:14px!important;border:1px solid var(--border)!important}
html body .lead49-event h3{font-size:15px!important;line-height:1.45!important}
html body .lead49-event p{font-size:13px!important;line-height:1.7!important}
html body :is(.modal,.detail-drawer){border-radius:15px!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important}
html body :is(.modal,.detail-drawer)>header{padding:16px 18px!important;gap:12px!important}
html body :is(.modal,.detail-drawer) h2{font-size:20px!important;line-height:1.35!important;overflow-wrap:anywhere}
html body :is(.modal,.detail-drawer) label{font-size:12px!important;line-height:1.5!important}
html body :is(.modal-footer,.drawer-actions){padding:13px 16px!important;gap:9px!important;flex-wrap:wrap!important}
html[data-auth=true]{color-scheme:light}
html[data-auth=true][data-theme=dark]{color-scheme:dark}
html body .client-auth-stage{padding:28px 18px!important;min-height:100dvh!important}
html body .client-auth-card{width:min(460px,100%)!important;padding:32px!important;background:var(--surface)!important;color:var(--text)!important;border:1px solid var(--border)!important;border-radius:22px!important;box-shadow:0 24px 90px #0004!important}
html body .client-auth-card>header{margin-bottom:26px!important}
html body .client-auth-card>header img{width:220px!important}
html body .client-auth-card>header p{font-size:13px!important;line-height:1.7!important;margin-top:18px!important;color:var(--muted)!important}
html body .client-auth-form{gap:18px!important}
html body .client-auth-form label{gap:8px!important}
html body .client-auth-form label>span{font-size:12px!important;font-weight:650!important;color:var(--text)!important}
html body .client-auth-input{height:48px!important;min-height:48px!important;padding:0 13px!important;gap:10px!important;border-radius:11px!important;background:var(--bg)!important;border:1px solid var(--border-strong)!important}
html body .client-auth-input>svg{width:18px!important;height:18px!important;flex:none!important;color:var(--muted)!important}
html body .client-auth-input input{height:44px!important;min-height:0!important;font-size:14px!important;padding:0!important;background:transparent!important;color:var(--text)!important;flex:1!important;width:100%;min-width:0!important}
html body .client-auth-input input[name=code]{font-size:24px!important;letter-spacing:.32em!important;font-weight:650!important;text-align:center!important;font-variant-numeric:tabular-nums}
html body .client-auth-input:has(input[name=code]){height:58px!important}
html body .client-auth-state{gap:20px!important}
html body .client-auth-state-head{padding:17px!important;gap:12px!important;border:1px solid var(--border)!important;border-radius:12px!important;background:var(--bg)!important}
html body .client-auth-state-head>svg{width:22px!important;height:22px!important;flex:none!important}
html body .client-auth-state-head h1{font-size:21px!important;line-height:1.35!important;margin:0 0 7px!important;color:var(--text)!important;letter-spacing:-.025em}
html body .client-auth-state-head p{font-size:13px!important;line-height:1.7!important;margin:0!important;color:var(--muted)!important}
html body .client-auth-form>.btn{height:44px!important;min-height:44px!important;font-size:14px!important;border-radius:10px!important}
html body .client-auth-between{gap:10px!important;align-items:flex-start!important;flex-wrap:wrap!important}
html body .client-auth-between>span{font-size:11px!important;line-height:1.6!important;max-width:250px!important;color:var(--muted)!important}
html body .client-auth-secondary{display:flex!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}
html body :is(.client-auth-secondary button,.client-auth-between button){font-size:12px!important;line-height:1.5!important;color:var(--brand)!important}
html body .client-auth-card>footer{margin-top:24px!important;font-size:10px!important;line-height:1.7!important;color:var(--muted)!important}
html body .client-auth-input:focus-within{outline:2px solid #ff6b2840;outline-offset:2px}
@media(max-width:1100px){html body .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){html body .content{padding:14px!important;padding-bottom:90px!important}html body .page-head{padding:16px!important}html body .page-head h1{font-size:22px!important}html body .metric-card{padding:13px!important;min-height:106px!important}html body .metric-card b{font-size:24px!important}html body .welcome-card{padding:17px!important}html body .welcome-card h2{font-size:20px!important}html body .client-auth-card{padding:24px 20px!important;border-radius:18px!important}html body .client-auth-stage{padding:18px 12px!important}.portal-journey-filter-disclosure summary span{display:block;margin:5px 0 0}html body .lead49-journey-toolbar{padding:13px!important}html body .lead49-event{padding:13px!important}}
