.portal-app,.portal-auth{background:var(--background);color:var(--foreground);z-index:1;min-height:100svh;font-family:var(--font-sans);position:relative}.portal-app h1,.portal-auth h1{font-family:var(--font-display);letter-spacing:0}.portal-app h2,.portal-app h3,.portal-auth h2{font-family:var(--font-sans);letter-spacing:0}.portal-wordmark{font-size:26px;font-family:var(--font-display);align-items:center;gap:9px;font-weight:600;display:flex}.portal-wordmark img{object-fit:contain;width:32px;height:32px}.portal-wordmark span{color:var(--brand);margin-left:-7px}.portal-eyebrow{letter-spacing:0;color:var(--muted-foreground);font-size:10px;font-weight:700;line-height:1.5}.portal-sidebar{border-right:1px solid var(--border);background:var(--surface);z-index:50;flex-direction:column;width:246px;padding:32px 18px 20px;display:flex;position:fixed;inset:0 auto 0 0}.portal-sidebar:before{content:"";background:var(--brand);height:1px;position:absolute;inset:0 36px auto}.portal-sidebar-brand{justify-content:space-between;padding:0 12px;display:flex}.portal-sidebar-label{margin:40px 12px 17px}.portal-sidebar nav{flex-direction:column;gap:5px;display:flex}.portal-nav-link{min-height:44px;color:var(--muted-foreground);border-radius:6px;align-items:center;gap:12px;padding:12px;font-size:13px;transition:background .15s,color .15s;display:flex}.portal-nav-link:hover{background:var(--secondary);color:var(--foreground)}.portal-nav-link[data-status=active]{background:var(--secondary);color:var(--brand)}.portal-nav-link span:nth-child(2){flex:1}.portal-sidebar-bottom{margin-top:auto;padding-top:40px}.portal-private{color:var(--muted-foreground);gap:8px;margin-bottom:12px;padding:12px;font-size:10px;display:flex}.portal-signout{width:100%;color:var(--muted-foreground);justify-content:flex-start;font-size:12px}.portal-count{background:var(--brand);color:var(--primary-foreground);text-align:center;border-radius:4px;min-width:20px;padding:2px 5px;font-size:10px;font-weight:700}.portal-main{flex-direction:column;min-width:0;min-height:100svh;margin-left:246px;display:flex}.portal-topbar{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:76px;padding:0 40px;display:flex}.portal-avatar{background:var(--secondary);border:1px solid var(--border);width:34px;height:34px;color:var(--brand);border-radius:6px;flex-shrink:0;place-items:center;font-size:11px;font-weight:700;display:grid}.portal-content{flex:1;width:100%;min-width:0;max-width:1350px;margin:0 auto;padding:44px 40px 64px}.portal-heading{justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px;display:flex}.portal-heading h1{margin:12px 0;font-size:42px;font-weight:600;line-height:1.1}.portal-heading p{color:var(--muted-foreground);font-size:13px;line-height:1.8}.portal-stats{border:1px solid var(--border);background:var(--surface);border-radius:6px;grid-template-columns:repeat(4,minmax(0,1fr));margin:28px 0 42px;display:grid}.portal-stat{border-right:1px solid var(--border);min-width:0;padding:24px}.portal-stat:last-child{border-right:0}.portal-stat>span{color:var(--muted-foreground);font-size:11px;display:block}.portal-stat strong{font-family:var(--font-display);margin:9px 0;font-size:42px;font-weight:500;display:block}.portal-stat small{color:var(--muted-foreground);font-size:10px}.portal-section-head{justify-content:space-between;align-items:center;gap:16px;margin:28px 0 20px;display:flex}.portal-section-head h2{font-size:18px;font-weight:600}.portal-section-head>svg{color:var(--muted-foreground)}.portal-search{max-width:300px;color:var(--muted-foreground);align-items:center;gap:8px;display:flex}.portal-search input{background:var(--surface);border:0;font-size:12px}.portal-client-list{border-top:1px solid var(--border)}.portal-client-row{border-bottom:1px solid var(--border);align-items:center;gap:18px;padding:20px 6px;transition:background .15s;display:flex}.portal-client-row:hover{background:var(--surface)}.portal-client-row>div:nth-child(2){flex:1;min-width:0}.portal-client-row strong{font-size:13px;display:block}.portal-client-row small{color:var(--muted-foreground);margin-top:5px;font-size:11px;display:block}.portal-client-offer{color:var(--muted-foreground);font-size:11px}.portal-client-row>svg{color:var(--muted-foreground)}.portal-status{white-space:nowrap;color:var(--muted-foreground);border:1px solid var(--border);border-radius:4px;align-items:center;gap:6px;padding:5px 8px;font-size:10px;display:inline-flex}.portal-status>span{background:var(--muted-foreground);border-radius:50%;width:4px;height:4px}.portal-status.is-active{color:var(--brand)}.portal-status.is-active>span{background:var(--brand)}.portal-empty{border:1px dashed var(--border);text-align:center;border-radius:6px;margin-top:18px;padding:54px 24px}.portal-empty>div{color:var(--brand);justify-content:center;margin-bottom:20px;display:flex}.portal-empty h3{font-size:17px;font-weight:500}.portal-empty p{color:var(--muted-foreground);max-width:380px;margin:10px auto 0;font-size:12px;line-height:1.9}.portal-dashboard-grid{grid-template-columns:1.3fr 1fr;gap:40px;display:grid}.portal-followup{border-left:1px solid var(--border);padding-left:32px}.portal-followup-item{border-bottom:1px solid var(--border);margin-bottom:12px;padding:18px 0}.portal-followup-item>span{color:var(--muted-foreground);margin-bottom:8px;font-size:11px;display:block}.portal-followup-item strong{font-size:15px;font-weight:500;display:block}.portal-followup-item p,.portal-followup-item small{color:var(--muted-foreground);font-size:12px;line-height:1.8}.portal-priority-row{border-bottom:1px solid var(--border);align-items:center;gap:14px;padding:20px 0;display:flex}.portal-priority-row>svg{color:var(--muted-foreground)}.portal-priority-row>div{flex:1}.portal-priority-row strong{font-size:13px;display:block}.portal-priority-row small{color:var(--muted-foreground);font-size:11px}.portal-progress{background:var(--secondary);border-radius:2px;height:3px;overflow:hidden}.portal-progress>div{background:var(--brand);height:100%;transition:width .2s}.portal-progress-summary>span{color:var(--muted-foreground);font-size:11px}.portal-progress-summary .portal-progress{margin:12px 0 28px}.portal-engagement-bar{border-top:1px solid var(--border);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;margin-bottom:28px;padding:16px 0;display:flex}.portal-engagement-bar .portal-select{width:auto;max-width:100%;font-size:11px}.portal-onboarding-banner{border-left:2px solid var(--brand);background:var(--surface);justify-content:space-between;align-items:center;gap:20px;margin:24px 0;padding:20px;display:flex}.portal-onboarding-banner strong{font-size:13px;font-weight:500}.portal-onboarding-banner p{color:var(--muted-foreground);margin-top:6px;font-size:11px}.portal-tabs{flex-wrap:wrap;align-items:center;gap:3px;display:flex}.portal-tabs button{color:var(--muted-foreground);font-size:11px}.portal-tabs .is-selected{background:var(--secondary);color:var(--brand)}.portal-module-tools{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 28px;display:flex}.portal-template-bar{gap:12px;margin:20px 0;display:flex}.portal-template-bar .portal-select{max-width:300px}.portal-form{flex-direction:column;gap:20px;display:flex}.portal-field{flex-direction:column;gap:9px;display:flex}.portal-field label{font-size:12px;font-weight:500}.portal-field input,.portal-field textarea,.portal-select{background:var(--surface);border:1px solid var(--input);color:var(--foreground);border-radius:5px;font-size:13px}.portal-field input{height:42px}.portal-field textarea{line-height:1.8}.portal-field small{color:var(--muted-foreground);font-size:10px}.portal-select{max-width:100%;min-height:38px;padding:10px 12px}.portal-select option{background:var(--surface);color:var(--foreground)}.portal-form-columns{grid-template-columns:1fr 1fr;gap:16px;display:grid}.portal-check{align-items:center;gap:10px;font-size:12px;line-height:1.7;display:flex}.portal-check input{accent-color:var(--brand)}.portal-dialog{background:var(--background);max-height:85svh;overflow-y:auto}.portal-dialog h2{font-family:var(--font-sans);font-size:20px}.portal-dialog>div>p{line-height:1.7}.portal-questionnaire{max-width:740px}.portal-questionnaire .portal-form{margin-top:30px}.portal-strategy{max-width:850px}.portal-strategy>section{border-bottom:1px solid var(--border);padding:28px 0}.portal-strategy h3{margin:8px 0 14px;font-size:18px;font-weight:500}.portal-strategy p{color:var(--muted-foreground);white-space:pre-wrap;font-size:13px;line-height:1.9}.portal-record{border-bottom:1px solid var(--border);align-items:flex-start;gap:18px;padding:22px 0;display:flex}.portal-record-icon{color:var(--brand);background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:12px}.portal-record-body{flex:1;min-width:0}.portal-record h3{margin:3px 0 8px;font-size:14px;font-weight:600}.portal-record p{color:var(--muted-foreground);white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8}.portal-record-meta{color:var(--muted-foreground);flex-wrap:wrap;gap:16px;margin-top:12px;font-size:10px;display:flex}.portal-record-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;display:flex}.portal-record-actions .portal-select{font-size:11px}.portal-calendar .portal-section-head h3{text-transform:capitalize;font-size:15px}.portal-calendar-grid{border-top:1px solid var(--border);border-left:1px solid var(--border);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.portal-calendar-label{text-align:center;color:var(--muted-foreground);border-bottom:1px solid var(--border);border-right:1px solid var(--border);padding:14px 6px;font-size:10px}.portal-calendar-day{border-bottom:1px solid var(--border);border-right:1px solid var(--border);min-width:0;min-height:112px;padding:10px 7px}.portal-calendar-day>span{color:var(--muted-foreground);font-size:11px}.portal-calendar-day.is-outside{background:var(--surface)}.portal-calendar-day button{white-space:normal;overflow-wrap:anywhere;text-align:left;background:var(--secondary);width:100%;height:auto;color:var(--brand);margin-top:6px;padding:5px;font-size:10px;display:block}.portal-calendar-day button:disabled{opacity:1}.portal-support{background:var(--surface);border:1px solid var(--border);border-radius:6px;justify-content:space-between;gap:30px;padding:20px;display:flex}.portal-support p{color:var(--muted-foreground);margin-top:8px;font-size:12px;line-height:1.8}.portal-support>div:last-child{text-align:right;flex-shrink:0}.portal-support small{color:var(--muted-foreground);margin-top:8px;font-size:10px;display:block}.portal-conversation{margin:28px 0}.portal-message{background:var(--surface);border:1px solid var(--border);border-radius:6px;max-width:85%;margin-bottom:16px;padding:18px}.portal-message.is-mine{border-left:2px solid var(--brand);margin-left:auto}.portal-message>div{justify-content:space-between;gap:16px;display:flex}.portal-message strong{color:var(--brand);font-size:11px}.portal-message time{color:var(--muted-foreground);font-size:10px}.portal-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px;font-size:13px;line-height:1.8}.portal-message-compose{flex-direction:column;gap:12px;display:flex}.portal-message-compose button{align-self:flex-end}.portal-message-compose textarea{background:var(--surface)}.portal-error,.portal-notice{border-radius:5px;margin:12px 0;padding:14px 16px;font-size:12px;line-height:1.8}.portal-error{border:1px solid var(--destructive);color:var(--destructive)}.portal-notice{border:1px solid var(--border);background:var(--surface);color:var(--foreground)}.portal-app-footer{color:var(--muted-foreground);border-top:1px solid var(--border);justify-content:space-between;gap:20px;padding:22px 40px;font-size:10px;display:flex}.portal-mobile-menu,.portal-mobile-close,.portal-sidebar-overlay{display:none}.portal-auth{flex-direction:column;padding:36px 5%;display:flex}.portal-auth-brand{justify-content:space-between;align-items:center;display:flex}.portal-auth-main{flex:1;grid-template-columns:1fr 1fr;align-items:center;gap:10%;width:100%;max-width:1080px;margin:70px auto;display:grid}.portal-auth-intro h1{max-width:420px;margin:20px 0 28px;font-size:76px;font-weight:600;line-height:.97}.portal-auth-intro p{color:var(--muted-foreground);font-size:15px;line-height:1.9}.portal-auth-rule{background:var(--brand);max-width:220px;height:1px;margin:40px 0 18px}.portal-auth-caption{color:var(--muted-foreground);font-size:11px}.portal-auth-form{border-left:1px solid var(--border);padding-left:48px}.portal-auth-form h2{margin:20px 0 12px;font-size:23px;font-weight:500}.portal-auth-form>p{color:var(--muted-foreground);margin-bottom:28px;font-size:12px;line-height:1.9}.portal-auth-form form{flex-direction:column;gap:18px;display:flex}.portal-password{position:relative}.portal-password input{padding-right:42px}.portal-password button{position:absolute;top:3px;right:3px}.portal-auth-foot{color:var(--muted-foreground);border-top:1px solid var(--border);justify-content:space-between;gap:15px;margin-top:38px;padding-top:22px;font-size:10px;display:flex}.portal-back{color:var(--muted-foreground);align-self:flex-start;align-items:center;gap:10px;font-size:11px;display:flex}@media (width<=1100px){.portal-content{padding:32px 24px 48px}.portal-topbar{padding:0 24px}.portal-stat{padding:18px 14px}.portal-client-offer{display:none}.portal-dashboard-grid{gap:24px}.portal-followup{padding-left:24px}}@media (width<=767px){.portal-sidebar{width:268px;transition:transform .2s;transform:translate(-100%)}.portal-sidebar.is-open{transform:none}.portal-mobile-menu,.portal-mobile-close{display:inline-flex}.portal-sidebar-overlay{background:color-mix(in oklab,var(--background) 80%,transparent);z-index:40;border-radius:0;width:100%;height:100%;display:block;position:fixed;inset:0}.portal-main{margin-left:0}.portal-topbar{height:64px;padding:0 16px}.portal-topbar>div>span{font-size:11px}.portal-content{padding:28px 18px 40px}.portal-heading{flex-direction:column;align-items:flex-start;gap:16px}.portal-heading h1{font-size:34px}.portal-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0 32px}.portal-stat:nth-child(2){border-right:0}.portal-stat:nth-child(-n+2){border-bottom:1px solid var(--border)}.portal-stat strong{font-size:36px}.portal-stat>span{font-size:10px}.portal-dashboard-grid{grid-template-columns:1fr}.portal-followup{border-left:0;padding-left:0}.portal-client-row{flex-wrap:wrap;gap:10px}.portal-client-row>div:nth-child(2){min-width:130px}.portal-section-head{flex-wrap:wrap;gap:12px}.portal-section-head h2{font-size:16px}.portal-search{max-width:100%}.portal-engagement-bar{align-items:flex-start}.portal-engagement-bar>div:first-child{min-width:0}.portal-engagement-bar .portal-select{width:100%}.portal-onboarding-banner{flex-direction:column;align-items:flex-start}.portal-record{flex-wrap:wrap;gap:12px}.portal-record-body{min-width:180px}.portal-record-actions{width:100%}.portal-record-icon{padding:9px}.portal-form-columns{grid-template-columns:1fr}.portal-support{flex-direction:column;gap:14px}.portal-support>div:last-child{text-align:left}.portal-message{max-width:95%;padding:14px}.portal-message>div{flex-wrap:wrap;gap:7px}.portal-calendar-day{min-height:83px;padding:6px 3px}.portal-calendar-day button{padding:3px;font-size:9px}.portal-calendar-label{font-size:9px}.portal-app-footer{flex-direction:column;gap:9px;padding:20px 18px}.portal-auth{padding:25px 22px}.portal-auth-main{grid-template-columns:1fr;gap:35px;max-width:430px;margin:45px auto}.portal-auth-intro h1{margin:15px 0 18px;font-size:46px}.portal-auth-intro p{font-size:12px}.portal-auth-rule{max-width:140px;margin:22px 0 12px}.portal-auth-form{border-left:0;border-top:1px solid var(--border);padding-top:28px;padding-left:0}.portal-auth-form h2{font-size:21px}.portal-auth-foot{flex-wrap:wrap}.portal-auth-brand>.portal-eyebrow{font-size:9px}}@media (prefers-reduced-motion:reduce){.portal-app *,.portal-auth *{scroll-behavior:auto!important;transition:none!important}}
