/* Shared readable scale; customer layouts keep their functional components. */
:root{--accent:#087f73;--ink:#182c3a;--muted:#687782;--line:#e0e7ed}
body{font-size:17px;line-height:1.65}button,input,select,textarea{font:inherit}
.shell .button,.shell input,.shell select,.shell textarea{font-size:16px;min-height:44px}
.shell .button.small{font-size:15px;min-height:40px}.shell .field>label{font-size:16px}
.shell h1{font-size:32px}.shell h2{font-size:22px}.shell h3{font-size:19px}
.shell .note,.shell .muted,.shell .notice,.shell small,.shell summary,.shell .text-link{font-size:14px;line-height:1.75}
.shell table,.shell td,.shell th{font-size:16px}.shell .badge{font-size:14px}
.customer-shell{--accent:#087f73;--ink:#182c3a;--muted:#687782;--line:#e0e7ed;--soft:#f5f7fa;grid-template-columns:248px minmax(0,1fr);font-size:17px;line-height:1.7}
.customer-shell .sidebar{background:#fff;padding:28px 14px 24px}.customer-shell .brand{font-size:28px;letter-spacing:-.4px;color:#182c3a}
.customer-shell .brand-sub{font-size:14px;color:var(--muted)}.customer-shell .nav{gap:10px;margin-top:26px}.customer-shell .nav a{font-size:18px;min-height:54px;padding:13px 18px;border-radius:10px;font-weight:500;gap:16px}
.customer-shell .nav a.current{color:var(--accent);background:#e5f4f2}.customer-shell .nav svg{width:23px;height:23px}.customer-shell .sidebar-foot{font-size:13px}
.customer-shell .main{padding:0 32px 40px;max-width:1900px}.customer-shell .topbar{min-height:66px;height:auto;gap:20px;padding:14px 0;margin-bottom:24px;border-color:var(--line)}
.balance-summary{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-right:auto;font-size:15px;color:var(--muted);font-variant-numeric:tabular-nums}.balance-summary strong{font-size:17px;color:var(--ink);font-weight:600}.customer-shell .account{font-size:14px}.customer-shell .topbar>.button{font-size:14px;min-height:38px}
.customer-shell h1{font-size:32px;font-weight:700;color:var(--ink)}.customer-shell h2{font-size:22px}.customer-shell h3{font-size:19px}.customer-shell .page-head p{font-size:17px;color:var(--muted);margin-top:10px}
.customer-shell .button{border-radius:9px;box-shadow:none;padding:10px 17px;border-color:#d3dee6;font-size:16px;min-height:44px}.customer-shell .button.primary{background:var(--accent);border-color:var(--accent)}.customer-shell .button.primary:hover{background:#066b62}.customer-shell .button.small{font-size:15px;min-height:40px;padding:8px 12px}
.customer-shell input,.customer-shell select,.customer-shell textarea{font-size:16px;border-radius:9px;min-height:46px}.customer-shell .field>label{font-size:16px}.customer-shell .panel{border-radius:12px}.customer-shell .panel-head{padding:22px 24px}.customer-shell .panel-body{padding:24px}
.customer-shell .note,.customer-shell .notice,.customer-shell small,.customer-shell summary,.customer-shell .text-link{font-size:14px;line-height:1.75;color:var(--muted)}.customer-shell .badge,.customer-shell .chip{font-size:14px}
.customer-shell .overview-strip strong{font-size:17px}.customer-shell .overview-strip small{font-size:14px}.customer-shell .overview-strip{padding:20px 0;border-radius:12px}.customer-shell .overview-strip>div{padding:0 20px}
.customer-shell .task-title h2{font-size:24px}.customer-shell .task-detail,.customer-shell .directory-task p,.customer-shell .cockpit-task-head p{font-size:16px}.customer-shell .workflow-step strong{font-size:15px}.customer-shell .workflow-step small{font-size:13px}.customer-shell .step-symbol{width:36px;height:36px;font-size:15px}.customer-shell .workflow-step:before{top:18px}
.customer-shell .live-progress{background:#f0f8f7;border-color:#d3ebe7;border-radius:10px}.customer-shell .live-progress strong{font-size:18px}.customer-shell .live-progress p{font-size:16px}.customer-shell .budget-strip{font-size:15px}.customer-shell .task-panel-foot{font-size:14px}.customer-shell .attention-row{font-size:16px;padding:16px 0}.customer-shell .notification-copy strong{font-size:17px}.customer-shell .notification-copy p{font-size:14px}
.customer-shell .recent-row strong{font-size:18px;line-height:1.7}.customer-shell .recent-source,.customer-shell .recent-labels{font-size:15px}.customer-shell .business-row>.button{font-size:17px!important}.customer-shell .business-row>small{font-size:14px}.customer-shell .library-chips .chip{font-size:16px;background:#edf7f5;border-color:#d9eae7}.customer-shell .library-editor>.note,.customer-shell .deleted-businesses{font-size:14px}.customer-shell .cleanup-row strong{font-size:18px}.customer-shell .cleanup-row p{font-size:15px}.customer-shell .cleanup-row .button{font-size:16px}.customer-shell .settings-form{gap:22px}
.customer-shell .metrics .metric>strong{font-size:30px}.customer-shell .metrics .metric>span{font-size:16px}.customer-shell .membership-card{background:#eef8f6}.customer-shell .topup-option{background:#fbfdfd;border-radius:12px}.customer-shell .topup-option h3{font-size:28px}
/* Lead center: one quiet list and one reading pane, with original text first. */
.inbox-toolbar{display:flex;gap:24px;align-items:center;justify-content:space-between;margin:0 0 20px}.inbox-toolbar .inbox-tabs{padding:0;gap:10px;border:0;display:flex}.inbox-toolbar .inbox-tabs>.button{min-width:88px;padding:11px 18px;font-size:16px;background:#fff}.inbox-toolbar .inbox-tabs>.button.current{color:#087f73;background:#e2f2f0;border-color:#e2f2f0}
.customer-shell .inbox-search{background:#fff;max-width:540px;width:48%;padding:5px 10px;gap:8px;border:1px solid #d3dee6;border-radius:9px;display:flex;align-items:center}.inbox-search input{border:0;outline-offset:0;min-width:60px;width:100%;flex:1;background:transparent}.inbox-search>.button{border:0;min-width:42px;padding:8px;font-size:14px}.inbox-search>svg{width:22px;height:22px;flex-shrink:0;color:var(--muted)}
.inbox-run-banner{background:transparent;border:0;padding:0 0 16px;margin:0;gap:12px;font-size:14px;color:var(--muted)}.inbox-run-banner strong{font-size:14px;font-weight:500}.inbox-run-banner>.button{margin-left:auto}
.inbox-split{display:grid;grid-template-columns:minmax(300px,.88fr) minmax(0,1.12fr);gap:12px;border:0;border-radius:0;background:transparent;min-height:650px;align-items:stretch}
.inbox-master,.inbox-detail{background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0;max-height:none}.inbox-master{display:flex;flex-direction:column;overflow:hidden}.inbox-count{font-size:14px;padding:14px 24px;margin:0;border-bottom:1px solid #edf1f4}.inbox-list{overflow:auto;max-height:850px}.inbox-master>.button{margin:16px;align-self:center}
.inbox-row{display:flex;width:100%;padding:23px 24px;border:0;border-bottom:1px solid #edf1f4;border-radius:0;background:#fff;cursor:pointer;position:relative;text-align:left;color:var(--ink);gap:0}.inbox-row:hover{background:#f7fbfa}.inbox-row.selected{background:#f0f9f8;box-shadow:inset 5px 0 #087f73}.inbox-row.selected:before{display:none}.inbox-row:focus-visible{outline:2px solid #087f73;outline-offset:-3px}.inbox-row .unread-dot{display:none}.inbox-row-copy{width:100%;min-width:0}.inbox-row-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:15px;color:#687782}.inbox-row-meta small{margin-left:auto;font-size:13px}.inbox-read-state{font-size:13px;background:#e5f4f2;padding:2px 9px;border-radius:20px;color:#087f73}.inbox-row.read .inbox-read-state{background:#f0f3f6;color:#687782}.inbox-row-copy>p{font-size:19px;font-weight:550;line-height:1.75;color:#182c3a;margin:14px 0 9px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.inbox-row .source-title{display:block;font-size:15px;line-height:1.7;color:#687782}.row-tags{font-size:13px;color:#84919a;margin-top:8px}
.inbox-detail{padding:30px;display:flex;flex-direction:column;overflow:visible}.lead-detail-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding-bottom:22px;border-bottom:1px solid #e0e7ed}.lead-detail-head .lead-avatar{display:none}.lead-detail-head strong{font-size:18px;color:#182c3a}.lead-detail-head time{font-size:14px;color:#687782}.detail-comment{font-size:25px;line-height:1.85;padding:24px 0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#182c3a;border:0;background:none;font-weight:550}
.source-panel{background:none;border:0;border-top:1px solid #e0e7ed;border-bottom:1px solid #e0e7ed;padding:22px 0;border-radius:0;margin:0}.source-panel>.muted{font-size:15px}.source-panel h3{font-size:19px!important;line-height:1.8;margin:10px 0 18px}.source-panel .text-link{font-size:16px;padding:8px 0;color:#087f73}
.ai-explanation{padding:24px 0 0;margin:0;background:transparent}.ai-explanation h3{font-size:15px!important;font-weight:500;color:#687782}.ai-explanation p{font-size:17px;line-height:1.8;background:#eff8f7;padding:18px 20px;margin:14px 0 8px;border-radius:8px;color:#244344}.ai-explanation small{font-size:14px}.ai-caution{font-size:14px;color:#687782;margin:12px 0}.delivery-status{font-size:14px;color:#687782;margin-bottom:18px}.lead-detail-actions{padding-top:22px}.lead-detail-actions details{font-size:14px}.lead-detail-actions .button{font-size:16px}.inbox-detail .empty{flex:1}
.inbox-run-banner[hidden]{display:none}
@media(max-width:760px){.lead-inbox:has(.inbox-split.show-detail)>.page-head,.lead-inbox:has(.inbox-split.show-detail)>.inbox-toolbar,.lead-inbox:has(.inbox-split.show-detail)>.inbox-run-banner{display:none}.customer-shell .sidebar .nav a{font-size:12px!important;white-space:normal;text-align:center;line-height:1.3;word-break:normal;overflow-wrap:anywhere;justify-content:flex-start}.customer-shell .nav a svg{flex-shrink:0}.customer-shell .nav{min-height:76px}}
/* Modal portals sit outside the shell. */
dialog{font-size:16px;border-radius:14px}dialog h2{font-size:23px}dialog h3{font-size:20px}dialog .button,dialog input,dialog select,dialog textarea{font-size:16px;min-height:44px;border-radius:8px}dialog .note,dialog .muted,dialog summary{font-size:14px}dialog .field>label{font-size:16px}.wizard-steps li{font-size:16px}.wizard-body{line-height:1.75}.task-dialog{width:min(820px,calc(100vw - 28px))}.check-line input{width:20px;min-height:20px}.auth-form{font-size:17px}.auth-form input,.auth-form .button{font-size:17px;min-height:48px}
@media(min-width:1450px){.customer-shell{grid-template-columns:280px minmax(0,1fr)}}
@media(max-width:1200px) and (min-width:761px){.customer-shell{grid-template-columns:220px minmax(0,1fr)}.customer-shell .main{padding:0 24px 32px}.customer-shell .nav a{font-size:16px;padding:12px}.inbox-toolbar{flex-wrap:wrap;gap:14px}.customer-shell .inbox-search{width:100%;max-width:none}.inbox-split{grid-template-columns:minmax(270px,.9fr) minmax(0,1.1fr)}.inbox-detail{padding:24px}.customer-shell .overview-strip{grid-template-columns:1fr;gap:12px}.customer-shell .overview-strip>div{border-left:0}}
@media(max-width:760px){body{font-size:16px}.customer-shell{display:block;font-size:16px}.customer-shell .sidebar{padding:16px 18px}.customer-shell .brand{font-size:24px}.customer-shell .nav{padding:8px 2px max(10px,env(safe-area-inset-bottom));gap:0}.customer-shell .nav a{font-size:11px!important;min-height:52px;padding:6px 1px;gap:5px;border-radius:6px}.customer-shell .nav svg{width:21px;height:21px}.customer-shell .main{padding:0 16px 110px}.customer-shell .topbar{padding:12px 0;min-height:70px;gap:8px;margin-bottom:20px}.balance-summary{gap:4px;display:flex;align-items:flex-start;flex-direction:column;font-size:13px}.balance-summary strong{font-size:15px}.customer-shell .account{display:none}.customer-shell .topbar>.button{font-size:13px}.customer-shell h1{font-size:29px}.customer-shell h2{font-size:21px}.customer-shell .page-head{align-items:flex-start;flex-wrap:wrap;gap:14px}.customer-shell .page-head p{font-size:15px;max-width:none}.customer-shell .page-head .actions{width:100%}.customer-shell .page-head>.button,.customer-shell .page-head .button{font-size:15px;min-height:42px}.customer-shell .button,.customer-shell .button.small{font-size:15px;min-height:42px}.customer-shell .overview-strip{grid-template-columns:1fr;gap:14px}.customer-shell .overview-strip>div{padding:0 18px;border:0}.customer-shell .overview-strip>div:last-child{padding-top:12px;border-top:1px solid var(--line)}.customer-shell .overview-strip strong{font-size:16px}.customer-shell .cockpit-task-head p,.customer-shell .directory-task p{font-size:15px}.customer-shell .task-title h2{font-size:22px}.customer-shell .workflow-step strong{font-size:12px}.customer-shell .workflow-step small{font-size:11px}.customer-shell .step-symbol{width:30px;height:30px;font-size:13px}.customer-shell .workflow-step:before{top:15px}.customer-shell .live-progress strong{font-size:17px}.customer-shell .live-progress p{font-size:15px}.customer-shell .budget-strip,.customer-shell .task-panel-foot{font-size:14px}.customer-shell .recent-row strong{font-size:17px}.customer-shell .recent-source{font-size:14px}.customer-shell .metrics .metric>strong{font-size:25px}.customer-shell .metric{min-width:0}.inbox-toolbar{display:flex;align-items:stretch;flex-direction:column;gap:16px}.inbox-toolbar .inbox-tabs{gap:8px}.inbox-toolbar .inbox-tabs>.button{min-width:0;flex:1;padding:9px 5px;font-size:15px}.customer-shell .inbox-search{width:100%;max-width:none}.inbox-run-banner{display:flex;font-size:14px;gap:8px;flex-wrap:wrap}.inbox-run-banner>.muted{font-size:13px}.inbox-split{display:block;min-height:440px}.inbox-master{border:1px solid var(--line);max-height:none}.inbox-list{max-height:none}.inbox-row{padding:21px 19px}.inbox-row-copy>p{font-size:18px}.inbox-row-meta{font-size:14px}.inbox-row-meta small{font-size:12px}.inbox-count{padding:12px 19px}.inbox-detail{display:none;padding:22px;min-height:600px}.inbox-split.show-detail .inbox-master{display:none}.inbox-split.show-detail .inbox-detail{display:flex}.inbox-detail>.back-to-list{display:flex;margin-bottom:20px;align-self:flex-start}.detail-comment{font-size:23px;line-height:1.8}.lead-detail-head strong{font-size:17px}.source-panel h3{font-size:18px!important}.ai-explanation p{font-size:16px}.lead-detail-actions>.actions{gap:10px;align-items:stretch}.lead-detail-actions .button{flex:1;font-size:15px;white-space:normal}.customer-shell .settings-grid{grid-template-columns:1fr}.wizard-steps{padding:18px;gap:6px}.wizard-steps li{font-size:13px}.task-wizard .dialog-foot{flex-wrap:wrap}.task-wizard .dialog-foot .button{font-size:15px;min-height:42px}.wizard-body{padding:20px}.customer-shell .cleanup-row{align-items:flex-start}.customer-shell .table-wrap td{font-size:15px}.customer-shell .source-title{font-size:14px}.customer-shell .recent-labels{display:none}}
