/* Additions for the customer journey; the established public-page design is retained. */
.customer-shell{grid-template-columns:240px minmax(0,1fr)}
.customer-shell .sidebar{padding:30px 20px}
.customer-shell .sidebar nav{gap:3px}
.customer-shell .sidebar .nav-item{padding:11px 12px}
.customer-shell .sidebar-bottom{padding-top:30px}
.account-context{display:flex;align-items:center;gap:12px;padding:18px 12px;margin:0 0 22px;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:600}
.account-context>.icon{color:var(--green);width:22px;height:22px}
.account-context small{display:block;font-size:10px;font-weight:400;line-height:1.6;color:var(--muted);margin-top:4px}
.agent-context{display:flex;align-items:center;gap:14px;min-width:0}
.agent-context label{font-size:11px;color:var(--muted);white-space:nowrap}
.agent-context select{font-size:12px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:9px 12px;max-width:340px;min-width:150px}
.customer-shell .app-top{height:78px;gap:20px}
.customer-shell .app-top>a{white-space:nowrap}
.customer-shell .app-main>.page-heading{padding-top:0}
.account-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--green);color:white;border-radius:12px;padding:28px;margin-bottom:38px}
.account-overview>div{border-right:1px solid #ffffff26;padding:0 24px}
.account-overview>div:first-child{padding-left:0}
.account-overview>div:last-child{border:0}
.account-overview span{font-size:12px;line-height:1.6;display:block;color:#ccddd2}
.account-overview strong{display:block;font-size:34px;font-weight:500;letter-spacing:-.04em;margin-top:15px}
.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-toolbar h2{font-size:24px;margin:0 0 8px}
.section-toolbar p{font-size:13px;margin:0}
.first-agent{display:flex;align-items:flex-start;gap:24px;padding:38px;margin-bottom:28px}
.first-agent h2{font-size:27px;margin-bottom:14px}
.first-agent p{font-size:14px;max-width:570px}
.first-agent .inline-actions{margin-top:24px}
.first-agent .btn{font-size:13px}
.support-heading{font-size:27px;line-height:1.3}
.dashboard-grid.lower>.panel>p:not(.eyebrow){font-size:14px}
.agent-grid,.business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:28px}
.service-agent{padding:28px}
.service-agent-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}
.service-agent-head .agent-avatar{width:48px;height:48px;border-radius:12px}
.service-agent .eyebrow{margin-bottom:9px;overflow-wrap:anywhere}
.service-agent h2{font-size:26px;overflow-wrap:anywhere;margin-bottom:25px}
.agent-progress{display:flex;justify-content:space-between;gap:14px;font-size:11px;color:var(--muted);margin-bottom:10px}
progress{appearance:none;-webkit-appearance:none;width:100%;height:5px;border:0;border-radius:10px;overflow:hidden;display:block;background:var(--sage)}
progress::-webkit-progress-bar{background:var(--sage);border-radius:10px}
progress::-webkit-progress-value{background:var(--green);border-radius:10px}
progress::-moz-progress-bar{background:var(--green)}
.agent-status-list{margin:25px 0;font-size:12px}
.agent-status-list>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0}
.agent-status-list dt{color:var(--muted)}
.agent-status-list dd{margin:0}
.agent-card-actions{display:flex;flex-wrap:wrap;gap:12px}
.agent-card-links{display:flex;justify-content:space-between;gap:14px;margin-top:17px;border-top:1px solid var(--line);padding-top:12px}
.agent-card-links a{font-size:12px}
.local-draft-note{display:flex;align-items:flex-start;gap:10px;padding:16px 0;color:var(--muted);font-size:12px;line-height:1.7;border-top:1px solid var(--line);margin-top:25px}
.local-draft-note .icon{width:16px;height:16px;margin-top:3px}
.draft-feedback{font-size:13px;color:var(--green);margin:15px 0 0;line-height:1.7}
.draft-feedback:empty{display:none}
.draft-feedback.error{color:var(--error)}
.business-card>.icon-box{margin-bottom:28px}
.business-card h2{font-size:26px;overflow-wrap:anywhere}
.business-card>p{font-size:14px}
.business-card>.status{margin-bottom:24px}
.business-card .inline-actions{border-top:1px solid var(--line);padding-top:20px}
.workspace-form-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:start}
.workspace-form-layout>.panel{padding:32px}
.workspace-form-layout .field input,.workspace-form-layout .field textarea{font-size:14px}
.workspace-form-layout .btn{font-size:13px}
.guidance-card{background:#edf2e8}
.guidance-card h2{font-size:30px}
.guidance-card p{font-size:14px}
.compact-filter{max-width:360px;margin-bottom:25px}
.onboarding-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;align-items:start}
.onboarding-nav{padding-top:10px;min-width:0}
.setup-progress{margin-bottom:30px}
.setup-progress>span{font-size:12px;font-weight:600}
.setup-progress progress{margin:14px 0}
.setup-progress small{font-size:11px;color:var(--muted)}
.onboarding-nav nav{display:flex;flex-direction:column;gap:10px}
.onboarding-nav nav a{display:flex;align-items:center;gap:12px;font-size:12px;padding:13px 10px;border-radius:8px;min-height:48px}
.onboarding-nav nav a>span{width:27px;height:27px;flex:none;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:10px}
.onboarding-nav nav a .icon{height:14px;width:14px}
.onboarding-nav nav a.current{background:#e3ece0;color:var(--green);font-weight:700}
.onboarding-nav nav a.current>span{background:var(--green);color:white;border-color:var(--green)}
.onboarding-nav>.field-hint{margin-top:28px}
.onboarding-content{padding:32px}
.onboarding-content h2{font-size:28px}
.onboarding-content p{font-size:14px}
.onboarding-content .field{margin-top:24px}
.onboarding-content .btn{font-size:13px}
.objective-options{display:flex;flex-direction:column;gap:12px;margin-top:25px}
.objective-options label{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:8px;padding:16px;font-size:13px;cursor:pointer;line-height:1.6}
.objective-options input{height:18px;width:18px;accent-color:var(--green);flex:none}
.objective-options label:has(input:checked){background:#edf3e7;border-color:#a8bfa4}
.tools-pending{display:flex;gap:15px;padding:24px;background:var(--paper);border-radius:10px;margin-top:28px}
.tools-pending h3{font-size:17px;margin:0 0 10px}
.tools-pending p{font-size:13px}
.tools-pending .status{font-size:11px}
.review-sections{margin:30px 0}
.review-sections>div{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:16px 0}
.review-sections>div>span{display:grid;grid-template-columns:22px 1fr;gap:5px 10px}
.review-sections strong{font-size:13px;font-weight:600}
.review-sections small{grid-column:2;font-size:11px;color:var(--muted)}
.review-sections .icon{width:16px;height:16px;color:var(--green)}
.review-config{display:grid;grid-template-columns:1fr 1.8fr;gap:14px 20px;font-size:13px;line-height:1.7;margin:28px 0}
.review-config dt{color:var(--muted)}
.review-config dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.connection-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:25px}
.connection-grid h2{font-size:28px}
.connection-grid p{font-size:13px}
.processing-step{display:flex;align-items:flex-start;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.processing-step>span{display:grid;place-items:center;width:34px;height:34px;background:var(--paper);border-radius:50%;flex:none;color:var(--green)}
.processing-step h3{font-size:15px;margin:0 0 8px}
.processing-step p{margin:0}
.connection-grid .processing-step:last-of-type{margin-bottom:25px}
.qr-panel{text-align:center}
.qr-panel>.eyebrow{font-size:10px}
.qr-placeholder{width:min(260px,100%);aspect-ratio:1;display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;border:1px dashed #aebdaa;border-radius:12px;margin:25px auto;background:var(--paper);padding:20px}
.qr-placeholder>.icon{width:32px;height:32px;color:#75866e}
.qr-placeholder strong{font-size:15px;font-weight:600}
.qr-placeholder>span{font-size:12px;color:var(--muted);line-height:1.7}
.qr-panel .inline-actions{justify-content:center;margin-top:18px}
.next-stage{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:26px}
.next-stage h2{font-size:22px;margin:0 0 10px}
.next-stage p{font-size:13px;margin:0}
.next-stage>.btn{font-size:12px;white-space:normal}
.testing-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:25px}
.testing-layout>aside h2{font-size:25px;overflow-wrap:anywhere}
.testing-layout>aside p{font-size:14px}
.testing-layout .review-config{display:block}
.testing-layout .review-config dd{margin:8px 0 24px}
.testing-layout>aside .text-link{display:flex;margin-top:15px}
.customer-test-chat{min-height:560px}
.customer-test-chat .chat-head>div{min-width:0;overflow-wrap:anywhere}
.customer-test-chat .chat-body{padding:28px}
.customer-test-chat .message{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.customer-test-chat .chat-compose button,.support-chat .chat-compose button{width:auto;padding-inline:14px}
.support-chat .support-live-compose{flex-wrap:wrap}
.support-chat .support-live-compose input[name="message"]{flex:1 1 100%}
.support-chat .support-live-compose input[name="contactEmail"]{flex:1 1 180px}
.support-chat .support-live-compose .form-error{flex-basis:100%}
.consumption-table{margin-top:22px}
.consumption-row{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px;padding:20px 0;border-bottom:1px solid var(--line);font-size:13px;align-items:center}
.consumption-row.heading{font-size:12px;color:var(--muted)}
.consumption-row strong{font-weight:600;display:block;overflow-wrap:anywhere}
.consumption-row small{display:block;margin-top:6px;font-size:11px;color:var(--muted)}
.lead-table-heading{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;border-block:1px solid var(--line);padding:20px 0;margin-top:25px;font-size:12px;color:var(--muted)}
.support-page{padding-bottom:80px}
.support-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:30px}
.support-topics h2{font-size:23px}
.support-topic{display:flex;justify-content:space-between;gap:16px;align-items:center;min-height:60px;border-bottom:1px solid var(--line);font-size:13px;padding:12px 0}
.support-topic.selected{font-weight:700;color:var(--green)}
.support-topic>.icon{width:17px}
.support-number{margin-top:38px}
.support-number h3{font-size:16px;margin-bottom:12px}
.support-number p{font-size:12px}
.support-chat{min-height:500px}
.support-chat .message{max-width:95%;font-size:14px}
.support-chat .chat-body{padding:28px}
.support-chat .field-hint{font-size:12px!important}
.support-handoff{display:flex;align-items:center;justify-content:center;gap:15px;margin:35px 0;padding:20px 0;border-block:1px solid var(--line)}
.support-handoff>span{font-size:12px;display:flex;gap:7px;align-items:center}
.support-handoff .icon{width:17px}
.contact-entry{position:fixed;bottom:20px;right:24px;z-index:10}
.contact-entry .btn{box-shadow:0 4px 18px #15272218;font-size:12px;border-color:#c1cebd;gap:10px}
.social-placeholders{border-top:1px solid var(--line);padding-top:22px}
.social-placeholders>span:first-child{font-size:13px;font-weight:600}
.social-placeholders p{font-size:12px;margin:8px 0}
.social-pending{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}
.social-pending .icon{width:16px}
.footer-support{border-top:1px solid var(--line);padding-top:22px;font-size:12px}
.footer-support>span{display:block;margin-bottom:8px}
.footer-support .text-link{font-size:12px}
.custom-plan-block{display:flex;align-items:center;gap:25px;background:#e7eee2;border:1px solid #d5dfcc;border-radius:12px;padding:32px;margin:45px auto;max-width:940px}
.custom-plan-block h2{font-size:23px;margin-bottom:12px}
.custom-plan-block p{font-size:13px;margin:0}
.custom-plan-block .btn{font-size:12px;min-width:210px;gap:10px}
.optional-consent{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:var(--muted);line-height:1.7;margin:26px 0}
.optional-consent input{accent-color:var(--green);margin-top:4px;flex:none}
.optional-consent>span{font-size:10px}
.form-card [data-skip-demo]{font-size:12px;margin-top:12px}
.customer-shell .panel:has(#agent-config-form) .tools-pending{flex-direction:column}
.customer-shell .settings-body{max-width:none}
@media(max-width:1200px){
 .customer-shell{grid-template-columns:210px minmax(0,1fr)}
 .customer-shell .sidebar{padding-inline:14px}
 .customer-shell .nav-item{font-size:12px}
 .account-overview{padding:24px}
 .account-overview>div{padding-inline:17px}
 .workspace-form-layout{gap:22px}
 .onboarding-layout{grid-template-columns:190px minmax(0,1fr);gap:22px}
 .onboarding-content{padding:26px}
 .agent-card-actions>.btn{font-size:12px}
 .testing-layout{grid-template-columns:250px minmax(0,1fr)}
 .support-layout{grid-template-columns:280px minmax(0,1fr);gap:22px}
 .customer-shell .support-layout{grid-template-columns:240px minmax(0,1fr)}
 .custom-plan-block{flex-wrap:wrap}
 .custom-plan-block>.icon-box{display:none}
 .custom-plan-block>.btn{min-width:0}
 .customer-shell .agent-context select{max-width:260px}
}
@media(max-width:960px){
 .customer-shell{grid-template-columns:185px minmax(0,1fr)}
 .customer-shell .sidebar{padding-inline:10px}
 .account-context{padding:12px 10px}
 .account-context>.icon{display:none}
 .account-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;padding:24px}
 .account-overview>div{padding:0;border:0}
 .agent-grid,.business-grid{grid-template-columns:1fr}
 .workspace-form-layout{grid-template-columns:1fr}
 .onboarding-layout{grid-template-columns:1fr}
 .onboarding-nav{padding:0}
 .onboarding-nav nav{flex-direction:row;overflow-x:auto;padding-bottom:8px}
 .onboarding-nav nav a{white-space:nowrap}
 .onboarding-nav>.field-hint{display:none}
 .setup-progress{margin-bottom:18px}
 .setup-progress>small{display:none}
 .connection-grid,.testing-layout{grid-template-columns:1fr}
 .testing-layout>aside{order:2}
 .testing-layout .review-config{display:grid}
 .support-layout,.customer-shell .support-layout{grid-template-columns:1fr}
 .support-topics{order:2}
 .support-chat{min-height:450px}
 .next-stage{align-items:flex-start;flex-direction:column}
 .first-agent{padding:28px}
 .first-agent>.agent-avatar{display:none}
 .agent-context{display:block}
 .agent-context label{display:block;margin-bottom:4px;font-size:10px}
 .customer-shell .agent-context select{max-width:240px}
 .customer-shell .app-top>a{font-size:11px}
}
@media(max-width:760px){
 .customer-shell{display:block}
 .customer-shell .sidebar{padding:20px}
 .account-context{display:none}
 .customer-shell .sidebar .nav-item{font-size:12px;padding:12px}
 .customer-shell .sidebar-bottom{display:none}
 .customer-shell .app-top{padding:15px 20px;height:auto}
 .customer-shell .agent-context select{font-size:14px;max-width:210px;min-width:0;width:100%;height:44px}
 .customer-shell .app-top>a{font-size:11px;gap:7px}
 .account-overview{padding:24px;gap:28px}
 .account-overview span{font-size:12px}
 .account-overview strong{font-size:30px}
 .section-toolbar{align-items:flex-start}
 .section-toolbar h2{font-size:24px}
 .section-toolbar p{font-size:13px}
 .section-toolbar>a{font-size:12px;white-space:nowrap}
 .first-agent{padding:24px}
 .first-agent h2{font-size:26px}
 .first-agent p{font-size:15px}
 .first-agent .inline-actions{align-items:stretch;flex-direction:column}
 .agent-grid,.business-grid{gap:20px}
 .service-agent{padding:24px}
 .service-agent h2{font-size:26px}
 .agent-card-actions{gap:10px}
 .agent-card-actions>.btn{font-size:12px;min-height:44px}
 .agent-card-links{flex-wrap:wrap}
 .agent-card-links a{font-size:12px;gap:8px}
 .business-card h2{font-size:26px}
 .workspace-form-layout>.panel{padding:24px 20px}
 .workspace-form-layout .field input,.workspace-form-layout .field textarea{font-size:16px}
 .workspace-form-layout .form-actions{flex-wrap:wrap}
 .guidance-card h2{font-size:27px}
 .guidance-card p{font-size:15px}
 .onboarding-content{padding:24px 20px}
 .onboarding-content h2{font-size:26px}
 .onboarding-content p{font-size:15px}
 .onboarding-content .form-actions{flex-wrap:wrap}
 .onboarding-content .form-actions .btn{font-size:12px;gap:8px;flex:1}
 .onboarding-content [data-onboard-skip]{font-size:12px}
 .onboarding-nav nav a{font-size:12px;padding:12px 10px}
 .objective-options label{font-size:14px;padding:16px 12px}
 .tools-pending{padding:20px 16px;flex-direction:column}
 .tools-pending p{font-size:14px}
 .review-config{grid-template-columns:1fr;font-size:14px;gap:7px}
 .review-config dd{margin-bottom:12px}
 .review-sections>div{gap:8px}
 .review-sections strong{font-size:13px}
 .review-sections .text-link{font-size:12px}
 .connection-grid h2{font-size:26px}
 .connection-grid p{font-size:14px}
 .processing-step h3{font-size:16px}
 .next-stage{padding:24px 20px}
 .next-stage h2{font-size:24px}
 .next-stage p{font-size:14px}
 .testing-layout .review-config{display:block}
 .customer-test-chat .chat-head{padding:20px}
 .customer-test-chat .chat-head strong{font-size:15px}
 .customer-test-chat .chat-body{padding:20px}
 .customer-test-chat .chat-head>div>span{font-size:11px}
 .consumption-row{grid-template-columns:1.5fr .7fr .7fr;gap:12px;font-size:12px}
 .consumption-row.heading{font-size:11px}
 .lead-table-heading{grid-template-columns:1fr 1fr;font-size:11px;gap:15px}
 .support-chat .chat-body{padding:20px}
 .support-handoff{gap:10px;flex-wrap:wrap}
 .support-handoff>span{font-size:12px}
 .support-chat .message{font-size:15px;max-width:100%}
 .support-topics h2{font-size:24px}
 .support-topic{font-size:14px}
 .support-number h3{font-size:17px}
 .support-number p{font-size:14px}
 .contact-entry{position:static;width:calc(100% - 40px);margin:0 auto 25px}
 .contact-entry .btn{width:100%;box-shadow:none;min-height:48px}
 .custom-plan-block{padding:26px 20px}
 .custom-plan-block h2{font-size:26px}
 .custom-plan-block p{font-size:15px}
 .custom-plan-block>.btn{font-size:12px;width:100%}
 .optional-consent{font-size:12px;flex-wrap:wrap}
 .optional-consent input{width:18px;height:18px}
 .local-draft-note{font-size:12px}
 .customer-shell .app-main{padding-bottom:35px}
}

/* Mobile Center navigation and accessible controls. */
.center-menu-toggle{display:none;border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:8px;min-height:44px;padding:0 14px;font:inherit;font-weight:700;cursor:pointer}
.customer-shell :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--green);outline-offset:2px}
.customer-shell .app-main,.customer-shell .panel,.customer-shell .chat-card{min-width:0}
.customer-shell .app-main :is(h1,h2,h3,p,dd,strong){overflow-wrap:anywhere}
.customer-shell .inline-actions :is(button,.btn),.customer-shell .form-actions :is(button,.btn){min-height:44px}
.customer-shell .chat-compose textarea,.customer-shell .chat-compose input{min-width:0;font-size:16px}
@media(max-width:760px){
 .customer-shell .sidebar{display:flex;align-items:center;gap:10px;padding:12px 16px;position:relative;z-index:20}
 .customer-shell .sidebar>.brand{font-size:24px;line-height:1.1}
 .customer-shell .sidebar .workspace-label{display:none}
 .center-menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto}
 .customer-shell .sidebar nav{display:none;flex-direction:column;overflow-y:auto;overflow-x:hidden;max-height:calc(100dvh - 140px);width:100%;margin:0;padding:8px 0;gap:2px}
 .customer-shell .sidebar.nav-open nav{display:flex}
 .customer-shell .sidebar .nav-item{font-size:14px;min-height:46px;width:100%;white-space:normal}
 .customer-shell .sidebar.nav-open .sidebar-bottom{display:flex;flex-direction:column;width:100%;padding:8px 0 2px;gap:4px}
 .customer-shell .sidebar-bottom :is(a,button){min-height:44px;padding:8px 12px}
 .customer-shell .app-top{gap:10px;min-width:0}
 .customer-shell .app-top .agent-context,.customer-shell .business-context{min-width:0;flex:1}
 .customer-shell .app-top :is(select,label){max-width:100%;overflow-wrap:anywhere}
 .customer-shell .app-main{padding:22px 16px 32px;max-width:100vw;overflow-x:clip}
 .customer-shell .app-heading{flex-wrap:wrap;align-items:flex-start;gap:14px}
 .customer-shell .app-heading>.btn{max-width:100%;white-space:normal}
 .customer-shell .panel{padding:20px 16px}
 .customer-shell .testing-layout,.customer-shell .connection-grid,.customer-shell .business-grid,.customer-shell .agent-grid{grid-template-columns:minmax(0,1fr)}
 .customer-shell .testing-layout>aside{order:0}
 .customer-shell .chat-card{max-width:100%;min-height:0}
 .customer-shell .chat-body{min-height:220px;max-height:48dvh;overflow:auto}
 .customer-shell .chat-compose{min-width:0}
 .customer-shell .chat-compose textarea{max-height:25dvh;resize:vertical}
 .customer-shell .inline-actions{align-items:stretch;gap:8px}
 .customer-shell .inline-actions>.btn{justify-content:center}
 .customer-shell .phase2-dialog{padding:20px 16px;max-height:90dvh}
}
@media(max-width:360px){
 .customer-shell .app-main{padding-inline:12px}
 .customer-shell .panel{padding-inline:13px}
 .customer-shell .app-top{padding-inline:12px}
 .customer-shell .app-heading h1{font-size:24px}
 .customer-shell .app-top>a{white-space:normal;text-align:right}
}
