/* Aurora Call / Merchant Workspace
 * Design system v3: typography and whitespace instead of card nesting.
 * Scoped entirely to the private dashboard, never marketing or Admin.
 */
#merchantDashboard{
 --ui-ink:#182230;--ui-muted:#667085;--ui-blue:#2457d6;
 --ui-line:#e4e7ec;--ui-hairline:#eef0f3;
 background:#fff;color:var(--ui-ink);
 min-height:calc(100vh - 70px);padding:28px 0 72px;
}
#merchantDashboard .container.dashboard{
 max-width:1080px;width:min(1080px,calc(100% - 56px))!important;
 min-width:0;
}
#merchantDashboard .dashboard h1,
#merchantDashboard .dashboard h2,
#merchantDashboard .dashboard h3{
 color:#182230;letter-spacing:-.034em;
}
#merchantDashboard .micro,#merchantDashboard .merchantHint{
 font-size:12px;color:var(--ui-muted);line-height:1.55;
}
#merchantDashboard .dashhead{gap:20px;margin:0;align-items:end}
#merchantDashboard .dashEyebrow{
 font-size:10px;color:#667085;letter-spacing:.09em;font-weight:600;
 margin:0 0 8px;text-transform:uppercase
}
#merchantDashboard .dashEyebrowMark{display:none}
#merchantDashboard .dashEyebrowSeparator{color:#b3becc}
#merchantDashboard .dashhead h1{
 font-size:clamp(28px,3vw,37px);font-weight:600;line-height:1.16;
 letter-spacing:-.048em;margin:0;overflow-wrap:anywhere
}
#merchantDashboard .dashIntro{
 margin:7px 0 0;font-size:12px;color:#667085;line-height:1.4
}
#merchantDashboard .dashboardRefresh.btn{
 min-height:38px;min-width:0;padding:8px 11px;
 border:1px solid #e0e6f0;border-radius:9px;
 background:#fff;color:#4a5d76;box-shadow:none;font-size:12px;
 font-weight:500;transition:background .12s,border-color .12s
}
#merchantDashboard .dashboardRefresh.btn:hover{
 background:#f7f8fa;border-color:#c8d7eb;transform:none
}
#merchantDashboard .dashboardRefresh svg{width:14px;height:14px}
/* Underline navigation, never CTA-sized blue pills. */
#merchantDashboard .dashboardTabs{
 position:relative;display:flex;gap:28px;flex-wrap:nowrap;
 width:100%;margin:26px 0 29px;padding:0;
 border:0;border-bottom:1px solid var(--ui-line);
 border-radius:0;background:transparent;box-shadow:none;
}
#merchantDashboard .dashboardTab{
 position:relative;display:inline-flex;align-items:center;justify-content:center;
 width:auto;flex:0 1 auto;min-width:78px;min-height:45px;
 padding:10px 2px 13px;border:0!important;border-radius:0;
 background:transparent!important;color:#78859a;
 font-size:13px;font-weight:500;white-space:nowrap;
 box-shadow:none!important;transition:color .15s
}
#merchantDashboard .dashboardTabIcon{display:none}
#merchantDashboard .dashboardTab:hover{
 color:#273f64;background:transparent!important
}
#merchantDashboard .dashboardTab[aria-selected=true]{
 color:#172a47!important;background:transparent!important;
 font-weight:600;border:0!important
}
#merchantDashboard .dashboardTab[aria-selected=true]::after{
 content:"";position:absolute;bottom:-1px;left:0;right:0;
 height:2px;border-radius:2px;background:var(--ui-blue)
}
#merchantDashboard .dashboardTab:focus-visible,
#merchantDashboard button:focus-visible,
#merchantDashboard a:focus-visible,
#merchantDashboard summary:focus-visible,
#merchantDashboard input:focus-visible{
 outline:2px solid #779deb;outline-offset:3px
}
#merchantDashboard .dashboard .dashSection[role=tabpanel]{
 margin-top:0;min-width:0
}
#merchantDashboard .sectionEyebrow{display:none}
#merchantDashboard .dashSectionTitle h2,
#merchantDashboard #leadInbox .dashSectionTitle h2,
#merchantDashboard #overview .overviewHeading h2{
 font-size:clamp(23px,2.6vw,29px);font-weight:600;
 letter-spacing:-.043em;line-height:1.2;margin:0
}
#merchantDashboard .dashSectionSubtitle{
 color:#667085;font-size:13px;line-height:1.5;margin:6px 0 0
}
#merchantDashboard .dashSectionMeta{
 display:flex;flex-wrap:wrap;align-items:flex-end;
 gap:16px;justify-content:space-between;margin-bottom:21px
}
#merchantDashboard .dashSectionTitle{min-width:0}
#merchantDashboard #dashError:not(:empty){
 padding:10px 0;margin:0 0 12px;color:#9b4048;font-size:12px
}
#merchantDashboard .dashboard .btn.primary{
 background:var(--ui-blue);border-color:var(--ui-blue);color:#fff
}
#merchantDashboard .dashboard .btn.secondary{
 background:#fff;border-color:#dce5f0;color:#30466a;
 border-radius:8px;box-shadow:none
}
#merchantDashboard .dashboard .btn{transform:none}
#merchantDashboard .dashboard .btn:hover{transform:none}
/* Inbox: one compact list, no five-piece tiles. */
#merchantDashboard #leadInbox>.micro{
 font-size:11px;color:#667085;margin:0 0 12px;line-height:1.4
}
#merchantDashboard #leadInbox>#dashCopyStatus:empty,
#merchantDashboard #leadInbox>#dashStatus:empty{display:none}
#merchantDashboard .leadFilters{
 display:flex;align-items:center;gap:15px;flex-wrap:wrap;
 background:transparent;border:0;padding:0;border-radius:0;max-width:100%
}
#merchantDashboard .leadFilters button{
 border:0!important;background:transparent!important;
 padding:8px 0;min-height:38px;border-radius:0;
 font-size:12px;color:#8c98a9;font-weight:500;
 white-space:nowrap;box-shadow:none!important;
}
#merchantDashboard .leadFilters button[aria-pressed=true]{
 color:var(--ui-blue);font-weight:600;background:transparent!important;
 box-shadow:inset 0 -2px var(--ui-blue)!important
}
#merchantDashboard .leadFilters button:hover{color:#284d93}
#merchantDashboard #callList{
 display:block;border-top:1px solid var(--ui-line);
 border-bottom:1px solid var(--ui-line)
}
#merchantDashboard #callList>.leadCard{
 background:transparent!important;border:0!important;
 border-bottom:1px solid var(--ui-hairline)!important;border-radius:0;
 padding:18px 0 17px;margin:0;display:flex;flex-direction:column;
 gap:9px;height:auto;min-height:0;max-height:none;overflow:visible;
 box-shadow:none!important;transition:none
}
#merchantDashboard #callList>.leadCard:last-child{border-bottom:0!important}
#merchantDashboard #callList>.leadCard::before{display:none}
#merchantDashboard #leadInbox .leadTop{
 display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0;
 flex-wrap:wrap
}
#merchantDashboard #leadInbox .leadTopMeta{
 display:flex;align-items:center;gap:10px;flex-wrap:wrap
}
#merchantDashboard #leadInbox .leadCard .badge{
 background:transparent;border:0;border-radius:0;
 color:#188067;font-size:10px;font-weight:600;
 padding:0;line-height:1.3
}
#merchantDashboard #leadInbox .leadCard:not(.isLead) .badge{
 color:#718099;background:transparent;border:0
}
#merchantDashboard #leadInbox .leadCard .callmeta{
 color:#9aa6b7;font-size:11px;line-height:1.3;white-space:normal
}
#merchantDashboard #leadInbox .leadCardIntro{
 display:flex;align-items:center;justify-content:space-between;
 gap:16px;min-width:0;padding:0;flex-wrap:wrap
}
#merchantDashboard #leadInbox .leadIntroText{min-width:0;flex:1 1 230px}
#merchantDashboard #leadInbox .leadCardName{
 font-size:16px;font-weight:600;letter-spacing:-.027em;
 line-height:1.3;margin:0;overflow-wrap:anywhere
}
#merchantDashboard #leadInbox .leadCardService{
 color:#61718a;font-size:13px;line-height:1.45;margin:5px 0 0;
 font-weight:480;overflow-wrap:anywhere
}
#merchantDashboard #leadInbox .leadButtons{
 margin:0;display:flex;align-items:center;flex-wrap:wrap;gap:7px;
 flex:0 0 auto
}
#merchantDashboard #leadInbox .leadButtons button,
#merchantDashboard #leadInbox .leadButtons a{
 min-height:36px;padding:7px 11px;border-radius:8px;
 font-size:12px;font-weight:500;display:inline-flex;
 align-items:center;justify-content:center;box-shadow:none
}
#merchantDashboard #leadInbox .leadButtons a{
 color:#fff;background:#2457d6;border:1px solid #2457d6
}
#merchantDashboard #leadInbox .leadButtons button{
 color:#426088;background:#fff;border:1px solid #dbe4f0
}
#merchantDashboard #leadInbox .leadButtons a:hover{background:#1647b9}
#merchantDashboard #leadInbox .leadButtons button:hover{
 background:#f7f8fa;border-color:#c7d6e8
}
#merchantDashboard #leadInbox .leadExpand{margin:1px 0 0}
#merchantDashboard #leadInbox .leadExpandToggle{
 color:#617aa6;font-size:11px;font-weight:640;cursor:pointer;
 width:max-content;max-width:100%;padding:3px 0;
 list-style:none;display:flex;align-items:center;gap:5px
}
#merchantDashboard #leadInbox .leadExpandToggle::-webkit-details-marker{display:none}
#merchantDashboard #leadInbox .leadExpandToggle::after{
 content:"⌄";display:inline-block;font-size:14px;line-height:1;
 transition:transform .16s
}
#merchantDashboard #leadInbox .leadExpand[open] .leadExpandToggle::after{transform:rotate(180deg)}
#merchantDashboard #leadInbox .leadFields{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 border-top:1px solid #eff2f6;gap:12px;padding:13px 0 7px;margin:10px 0 4px
}
#merchantDashboard #leadInbox .leadFields>div{
 background:transparent!important;border:0!important;
 padding:0;min-width:0;min-height:0
}
#merchantDashboard #leadInbox .leadFields dt{
 color:#667085;font-size:10px;font-weight:500
}
#merchantDashboard #leadInbox .leadFields dd{
 color:#2a3a55;font-size:12px;line-height:1.4;
 font-weight:500;margin:4px 0 0;overflow-wrap:anywhere
}
#merchantDashboard #leadInbox .leadRequestSummary{
 background:#f7f8fa;border:0;border-radius:7px;
 padding:11px 13px;color:#5c6e87;font-size:12px;
 line-height:1.55;margin:12px 0 0;white-space:normal
}
#merchantDashboard #leadInbox .leadSummaryLabel{
 display:block;color:#7485a0;font-weight:600;
 font-size:10px;letter-spacing:.06em;margin:0 0 6px
}
#merchantDashboard #leadInbox .leadPagination{
 display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;
 margin:12px 0 0
}
#merchantDashboard #leadInbox .leadPagination button{
 border:1px solid #dce4ef;border-radius:7px;min-width:36px;min-height:36px;
 background:#fff;color:#53667f
}
#merchantDashboard #leadInbox .leadPagination button[aria-current=page]{
 background:#eff4fe;color:#2555c9;border-color:#cfdef9
}
#merchantDashboard .empty{
 padding:42px 20px;background:transparent;border:0;
 color:#8392a7;text-align:center;font-size:13px
}
/* Overview: metrics above two editorial sections; no nested status cards. */
#merchantDashboard #overview .overviewHeading{
 margin:0 0 19px;display:block
}
#merchantDashboard #overview #callSummary.overviewMetrics{
 height:auto;max-height:none;min-height:0;padding:0;margin:0 0 16px;
 border:0;border-radius:0;background:transparent;box-shadow:none;
 display:block!important;overflow:visible
}
#merchantDashboard #overview #callSummary .callSummaryStats{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));
 grid-template-rows:none;gap:0;min-height:0;overflow:visible;padding:0;margin:0
}
#merchantDashboard #overview #callSummary .callSummaryStat{
 display:flex!important;flex-direction:column;align-items:flex-start;
 justify-content:flex-start;gap:7px;
 border:0;border-right:1px solid var(--ui-line);
 padding:12px 25px!important;margin:0;min-width:0
}
#merchantDashboard #overview #callSummary .callSummaryStat:first-child{padding-left:0!important}
#merchantDashboard #overview #callSummary .callSummaryStat:last-child{border-right:0}
#merchantDashboard #overview #callSummary .callSummaryStat .number{
 color:#1d2a3f;font-size:clamp(29px,4.2vw,41px);
 font-weight:600;letter-spacing:-.055em;line-height:1.08;margin:0
}
#merchantDashboard #overview #callSummary .callSummaryStat .micro{
 color:#8390a3;font-size:12px;font-weight:570;margin:0;line-height:1.4
}
#merchantDashboard #overview .overviewOtherCalls{
 font-size:11px;color:#667085;margin:12px 0 0
}
#merchantDashboard #overview .overviewOtherCalls strong{font-weight:600;color:#62748c}
#merchantDashboard #overview .dashNext{
 color:#725b25!important;background:transparent!important;
 border:0!important;border-left:0!important;border-radius:0;
 box-shadow:none;padding:8px 0!important;margin:0 0 24px!important;
 font-size:12px!important;line-height:1.55
}
#merchantDashboard #overview .dashNext::before{
 content:"";display:inline-block;width:6px;height:6px;
 background:#cb9c39;border-radius:50%;margin:0 9px 1px 0
}
#merchantDashboard #overview .overviewGroupHeading{
 display:flex;align-items:baseline;justify-content:space-between;
 flex-wrap:wrap;gap:6px 20px;
 border-top:1px solid var(--ui-line);
 padding-top:21px;margin:8px 0 11px
}
#merchantDashboard #overview .overviewGroupHeading h3{
 font-size:16px;font-weight:600;line-height:1.4;margin:0
}
#merchantDashboard #overview .overviewGroupHeading span{
 color:#a0a9b6;font-size:11px
}
#merchantDashboard #overview .overviewServiceGrid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:0;margin:0 0 21px
}
#merchantDashboard #overview .overviewFinanceGrid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:0;margin:0
}
#merchantDashboard #overview .overviewServiceGrid>.dashSection,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection{
 display:block;grid-column:auto!important;
 width:auto!important;height:auto!important;
 min-height:0!important;max-height:none!important;
 min-width:0!important;overflow:visible!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;margin:0!important;
 padding:10px 22px 12px!important;
}
#merchantDashboard #overview .overviewServiceGrid>.dashSection:first-child,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection:first-child{
 padding-left:0!important;border-right:1px solid var(--ui-line)!important
}
#merchantDashboard #overview .overviewServiceGrid>.dashSection:last-child,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection:last-child{padding-right:0!important}
#merchantDashboard #overview .overviewServiceGrid>.dashSection>h2,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection>h2{
 color:#60718b;font-size:12px;line-height:1.4;
 font-weight:500;letter-spacing:0;margin:0 0 13px
}
#merchantDashboard #overview .overviewServiceGrid .callitem,
#merchantDashboard #overview .overviewFinanceGrid .callitem,
#merchantDashboard #overview .overviewServiceGrid #phoneSection #serviceSetup,
#merchantDashboard #overview .overviewFinanceGrid #usageSection #usagePanel{
 display:block;min-height:0;max-height:none;overflow:visible;
 flex:1 1 auto;padding:0!important;margin:0!important;
 border:0!important;box-shadow:none!important;background:transparent!important
}
#merchantDashboard #overview #phoneSection .serviceStatusRows{
 display:block;margin:0 0 12px;border:0;border-radius:0;overflow:visible
}
#merchantDashboard #overview #phoneSection .serviceStatusRows>div{
 display:flex;align-items:baseline;justify-content:space-between;
 gap:12px;min-width:0;background:transparent!important;
 border:0!important;border-bottom:1px solid var(--ui-hairline)!important;
 padding:9px 0!important;border-radius:0!important
}
#merchantDashboard #overview #phoneSection .serviceStatusRows dt,
#merchantDashboard #overview #phoneSection .serviceStatusRows dd{
 font-size:12px;line-height:1.45;margin:0
}
#merchantDashboard #overview #phoneSection .serviceStatusRows dt{color:#667085;font-weight:560}
#merchantDashboard #overview #phoneSection .serviceStatusRows dd{
 color:#273750;font-weight:600;text-align:right;overflow-wrap:anywhere
}
#merchantDashboard #overview #phoneSection #serviceSetup .btn{
 border:0!important;background:transparent!important;color:var(--ui-blue)!important;
 font-size:12px;padding:7px 0!important;margin:4px 0 0;
 box-shadow:none;min-height:35px
}
/* Single dashboard Phone settings entry: compact, fully clickable card. */
#merchantDashboard #accountSection #settingsBusinessPhone .settingsGroupBody>.phoneSettingsEntry{
 display:flex;align-items:center;gap:11px;width:100%;min-width:0;box-sizing:border-box;
 min-height:68px;margin:13px 0 0;padding:11px 12px;
 border:1px solid #dce6f6;border-radius:12px;
 background:#f9fafb;color:#233955;text-decoration:none;
 box-shadow:0 1px 3px rgba(25,52,91,.045);
 transition:background .16s,border-color .16s,box-shadow .16s
}
#merchantDashboard #accountSection #settingsBusinessPhone .settingsGroupBody>.phoneSettingsEntry:hover{
 background:#ecf3ff;border-color:#b5caf0;box-shadow:0 3px 10px rgba(34,78,143,.08)
}
#merchantDashboard #accountSection #settingsBusinessPhone .settingsGroupBody>.phoneSettingsEntry:focus-visible{
 outline:3px solid #6597ed;outline-offset:3px
}
#merchantDashboard #accountSection #settingsBusinessPhone .phoneSettingsEntryIconBox{
 display:grid;place-items:center;flex:0 0 36px;height:36px;
 border-radius:10px;background:#e5eeff;color:#2557bd
}
#merchantDashboard #accountSection #settingsBusinessPhone .phoneSettingsEntryIcon,
#merchantDashboard #accountSection #settingsBusinessPhone .phoneSettingsEntryChevron{
 width:19px;height:19px;fill:none;stroke:currentColor;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round
}
#merchantDashboard #accountSection #settingsBusinessPhone .phoneSettingsEntryText{
 display:flex;flex:1;flex-direction:column;gap:3px;min-width:0
}
#merchantDashboard #accountSection #settingsBusinessPhone .phoneSettingsEntryText strong{
 color:#203653;font-size:14px;font-weight:600;line-height:1.25
}
#merchantDashboard #accountSection #settingsBusinessPhone .phoneSettingsEntryText small{
 color:#63758e;font-size:11px;font-weight:500;line-height:1.35
}
#merchantDashboard #accountSection #settingsBusinessPhone .phoneSettingsEntryChevron{
 flex:0 0 17px;width:17px;height:17px;color:#6e83a1
}
#merchantDashboard #overview #notifications .smsAccountDetails{
 display:block;margin:0 0 6px
}
#merchantDashboard #overview #notifications .smsAccountDetails>div{
 background:transparent!important;border:0!important;border-radius:0;
 display:flex!important;align-items:baseline;justify-content:space-between;
 gap:12px;padding:9px 0!important;margin:0;
 min-height:0;border-bottom:1px solid var(--ui-hairline)!important
}
#merchantDashboard #overview #notifications .smsAccountDetails dt,
#merchantDashboard #overview #notifications .smsAccountDetails dd{
 font-size:12px;line-height:1.45;text-align:right;margin:0;
}
#merchantDashboard #overview #notifications .smsAccountDetails dt{
 color:#667085;font-weight:560;text-align:left
}
#merchantDashboard #overview #notifications .smsAccountDetails dd{
 color:#273750;font-weight:500;overflow-wrap:anywhere
}
#merchantDashboard #overview #notifications .merchantHelp summary{
 color:var(--ui-blue);font-size:11px;padding:10px 0;cursor:pointer
}
#merchantDashboard #overview #planSection .micro{
 color:#738198;font-size:12px;line-height:1.55;margin:0 0 9px
}
/* Keep subscription recovery with plan details rather than isolated at the bottom. */
#merchantDashboard #overview #planSection .planBillingActions{
 display:flex;flex-wrap:wrap;align-items:flex-start;gap:9px;
 margin:11px 0 7px;min-width:0
}
#merchantDashboard #overview #planSection .planBillingActions>.btn,
#merchantDashboard #overview #planSection .planBillingActions .dash-actions>.btn{
 margin:0!important;align-self:flex-start;max-width:100%
}
#merchantDashboard #overview #planSection .planBillingActions>[hidden]{
 display:none!important
}
#merchantDashboard #overview #billingStatus{
 display:block!important;background:transparent!important;border:0!important;
 color:#1e7d64!important;font-size:12px!important;font-weight:600;
 border-radius:0!important;padding:0!important;margin:0 0 10px!important
}
#merchantDashboard #overview #planSection .btn{
 min-height:36px;padding:8px 12px!important;font-size:12px;
 border-radius:7px!important;margin:7px 0
}
#merchantDashboard #overview .trial-card{
 border:0!important;background:transparent!important;
 padding:0!important;margin:0 0 12px!important;border-radius:0!important
}
#merchantDashboard #overview .trial-card h3{
 font-size:14px;font-weight:600;margin:0 0 6px
}
#merchantDashboard #overview .trial-card p{
 font-size:11px;line-height:1.55;margin:5px 0
}
#merchantDashboard #overview .usage-row{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 font-size:12px;color:#607087;margin:10px 0 6px
}
#merchantDashboard #overview .usage-row strong{
 color:#2c3b54;font-weight:600;font-variant-numeric:tabular-nums
}
#merchantDashboard #overview .usage-track{
 height:6px;border-radius:10px;background:#e8edf5;overflow:hidden
}
#merchantDashboard #overview .usage-fill{
 background:#3269de;border-radius:10px
}
#merchantDashboard #overview .usageBillingDetails{
 margin:12px 0 0;padding:0;border:0
}
#merchantDashboard #overview .usageBillingDetails summary{
 color:#4b70ac;font-size:11px;font-weight:620;cursor:pointer
}
#merchantDashboard #overview #usageStatus,
#merchantDashboard #overview #usagePeriod,
#merchantDashboard #overview #paidPlanPeriod,
#merchantDashboard #overview #paidOveragePolicy{
 font-size:11px;color:#667085;line-height:1.5
}
/* Settings: four simple account rows; forms appear only within an open group. */
#merchantDashboard #accountSection>.dashSettingsTitle{margin:0 0 22px}
#merchantDashboard #accountSection .settingsGroups{
 display:block;border-top:1px solid var(--ui-line);
 border-bottom:1px solid var(--ui-line);
 background:transparent;padding:0;margin:0
}
#merchantDashboard #accountSection .settingsGroup{
 display:block;border:0;border-bottom:1px solid var(--ui-hairline);
 background:transparent;margin:0;padding:0;min-width:0
}
#merchantDashboard #accountSection .settingsGroup:last-child{border-bottom:0}
#merchantDashboard #accountSection .settingsGroupToggle{
 display:flex;align-items:center;justify-content:space-between;
 gap:16px;min-height:76px;padding:14px 1px;cursor:pointer;
 list-style:none;color:#1e304b;min-width:0;
}
#merchantDashboard #accountSection .settingsGroupToggle::-webkit-details-marker{display:none}
#merchantDashboard #accountSection .settingsGroupHeading{
 display:flex;flex-direction:column;gap:5px;min-width:0;flex:1 1 220px
}
#merchantDashboard #accountSection .settingsGroupHeading strong{
 font-size:14px;font-weight:600;color:#223550;line-height:1.4
}
#merchantDashboard #accountSection .settingsGroupHeading small{
 font-size:11px;font-weight:470;color:#8d9aab;line-height:1.4
}
#merchantDashboard #accountSection .settingsGroupRight{
 display:flex;align-items:center;gap:12px;
 min-width:0;flex:0 1 44%
}
#merchantDashboard #accountSection .settingsGroupPreview{
 font-size:12px;color:#7d8ca0;line-height:1.4;min-width:0;
 flex:1 1 auto;text-align:right;overflow-wrap:anywhere
}
#merchantDashboard #accountSection .settingsGroupChevron{
 font-size:21px;color:#9aa7b8;line-height:1;
 font-weight:350;transform:none;transition:transform .16s
}
#merchantDashboard #accountSection .settingsGroup[open] .settingsGroupChevron{transform:rotate(180deg)}
#merchantDashboard #accountSection .settingsGroupBody{
 padding:0 1px 22px;min-width:0
}
#merchantDashboard #accountSection .businessProfileSummary{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:0 20px;margin:0 0 12px;min-width:0
}
#merchantDashboard #accountSection .businessProfileSummary>div{
 background:transparent!important;border-bottom:1px solid var(--ui-hairline);
 padding:11px 0!important;min-height:0;border-radius:0!important
}
#merchantDashboard #accountSection .businessProfileSummary dt{
 font-size:11px;color:#919cad;font-weight:620
}
#merchantDashboard #accountSection .businessProfileSummary dd{
 font-size:13px;color:#253752;font-weight:500;
 line-height:1.4;margin:5px 0 0;overflow-wrap:anywhere
}
#merchantDashboard #accountSection .merchantSettingsSecurity{
 background:transparent;border:0;border-top:0!important;
 padding:0!important;margin:0!important;min-width:0
}
#merchantDashboard #accountSection .merchantSettingsSecurity h3{
 font-size:13px;font-weight:500;margin:8px 0 12px
}
#merchantDashboard #accountSection .merchantSettingsForm{
 width:100%;max-width:610px;background:#fafbfe;
 border:1px solid #e9edf5;border-radius:10px;
 padding:16px;margin:12px 0 8px;box-sizing:border-box
}
#merchantDashboard #accountSection .merchantSettingsForm label{
 font-size:12px;color:#556881;font-weight:620;
 margin:12px 0 6px
}
#merchantDashboard #accountSection .merchantSettingsForm input{
 min-width:0;max-width:100%;width:100%;box-sizing:border-box;
 border:1px solid #d8e1ee;border-radius:8px;
 background:#fff;color:#223651;min-height:44px;
 font-size:16px;padding:10px 12px
}
#merchantDashboard #accountSection .merchantConsent{
 display:flex!important;align-items:flex-start;gap:10px;
 font-size:12px;line-height:1.5;color:#5d6f88
}
#merchantDashboard #accountSection .merchantConsent input{
 flex:0 0 17px;width:17px;height:17px;min-height:0;margin:2px 0
}
#merchantDashboard #accountSection .merchantEditActions{
 display:flex;gap:8px;flex-wrap:wrap;margin:10px 0
}
#merchantDashboard #accountSection .merchantEditActions .btn,
#merchantDashboard #accountSection .merchantEditActions button{
 border-radius:8px;font-size:12px;min-height:40px
}
#merchantDashboard #accountSection .merchantCurrentPhone{
 border:0;background:#f7f8fa;border-radius:8px;
 padding:10px 12px;margin:10px 0 14px;min-width:0
}
#merchantDashboard #accountSection .merchantCurrentPhoneLabel{
 color:#8d9aae;font-size:11px
}
#merchantDashboard #accountSection .merchantCurrentPhone strong{
 color:#2c3c53;font-size:13px;overflow-wrap:anywhere
}
#merchantDashboard #accountSection .merchantPhoneChangeGrid{
 display:block;margin:0
}
#merchantDashboard #accountSection .settingsGroup .merchantSettingsSecurity{
 display:block;box-shadow:none
}
#merchantDashboard #accountSection #initialSmsSetupPanel:not([hidden]){
 padding:13px 0;border-bottom:1px solid var(--ui-hairline);margin-bottom:14px!important
}
#merchantDashboard #accountSection .merchantNumberControls{
 border:0;min-width:0;margin:0;padding:0
}
#merchantDashboard #accountSection .merchantNumberControls[disabled]{
 opacity:.72
}
#merchantDashboard .dashboardBackTop{
 border:1px solid #e2e8f2;border-radius:999px;
 color:#476084;background:#fff;box-shadow:0 6px 18px rgba(19,43,84,.09)
}
/* Responsive: genuine one-column reading flow, not squashed desktop cards. */
@media(max-width:860px){
 #merchantDashboard #overview .overviewServiceGrid,
 #merchantDashboard #overview .overviewFinanceGrid{
  grid-template-columns:minmax(0,1fr)
 }
 #merchantDashboard #overview .overviewServiceGrid>.dashSection,
 #merchantDashboard #overview .overviewFinanceGrid>.dashSection{
  padding:14px 0!important;border-right:0!important;
  border-bottom:1px solid var(--ui-line)!important
 }
 #merchantDashboard #overview .overviewServiceGrid>.dashSection:last-child,
 #merchantDashboard #overview .overviewFinanceGrid>.dashSection:last-child{
  border-bottom:0!important
 }
 #merchantDashboard #accountSection .businessProfileSummary{
  grid-template-columns:repeat(2,minmax(0,1fr))
 }
}
@media(max-width:640px){
 #merchantDashboard{padding:17px 0 58px}
 #merchantDashboard .container.dashboard{
  width:calc(100% - 28px)!important
 }
 #merchantDashboard .dashhead{gap:10px;align-items:center}
 #merchantDashboard .dashhead h1{font-size:26px}
 #merchantDashboard .dashEyebrow{font-size:9px;margin:0 0 6px}
 #merchantDashboard .dashIntro{font-size:11px;line-height:1.45}
 #merchantDashboard .dashboardRefresh.btn{
  min-width:44px;min-height:44px;padding:10px
 }
 #merchantDashboard .dashboardTabs{
  position:sticky;top:66px;z-index:25;
  width:100%;gap:0;margin:18px 0 22px;
  border-bottom:1px solid var(--ui-line);
  background:rgba(255,255,255,.98);backdrop-filter:blur(10px);
  box-shadow:none;border-radius:0;padding:0
 }
 #merchantDashboard .dashboardTab{
  flex:1 1 0;min-height:47px;padding:11px 3px;
  font-size:11.5px;line-height:1.3;
 }
 #merchantDashboard #leadInbox .dashSectionMeta{
  display:block;margin:0 0 12px
 }
 #merchantDashboard #leadInbox .dashSectionMeta .leadFilters{
  width:100%;display:flex;gap:18px;margin:16px 0 0;
  padding:0;border:0;background:transparent
 }
 #merchantDashboard #leadInbox .leadFilters button{
  min-height:44px;flex:0 1 auto;font-size:11.5px;padding:9px 0;
 }
 #merchantDashboard #leadInbox .leadCardIntro{
  display:flex;flex-wrap:wrap;align-items:start;gap:10px
 }
 #merchantDashboard #leadInbox .leadIntroText{flex-basis:100%}
 #merchantDashboard #leadInbox .leadButtons{width:100%;gap:8px}
 #merchantDashboard #leadInbox .leadButtons button,
 #merchantDashboard #leadInbox .leadButtons a{
  min-height:44px;flex:1 1 auto;font-size:12px
 }
 #merchantDashboard #leadInbox .leadFields{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:12px
 }
 #merchantDashboard #overview #callSummary .callSummaryStat{
  padding:10px 8px!important
 }
 #merchantDashboard #overview #callSummary .callSummaryStat:first-child{
  padding-left:0!important
 }
 #merchantDashboard #overview #callSummary .callSummaryStat .number{
  font-size:30px
 }
 #merchantDashboard #overview #callSummary .callSummaryStat .micro{
  font-size:10px;line-height:1.3
 }
 #merchantDashboard #overview .overviewGroupHeading{margin-top:12px}
 #merchantDashboard #overview .overviewGroupHeading span{font-size:10px}
 #merchantDashboard #accountSection .settingsGroupToggle{
  min-height:80px;padding:13px 0
 }
 #merchantDashboard #accountSection .settingsGroupHeading strong{font-size:13px}
 #merchantDashboard #accountSection .settingsGroupHeading small{font-size:10px}
 #merchantDashboard #accountSection .settingsGroupPreview{font-size:11px}
 #merchantDashboard #accountSection .settingsGroupRight{flex-basis:38%;gap:5px}
 #merchantDashboard #accountSection .settingsGroupBody{padding-bottom:18px}
 #merchantDashboard #accountSection .businessProfileSummary{
  grid-template-columns:minmax(0,1fr)
 }
 #merchantDashboard #accountSection .merchantSettingsForm{
  padding:13px 11px
 }
 #merchantDashboard #accountSection .merchantEditActions button{
  min-height:44px
 }
 #merchantDashboard #leadInbox .leadPagination button{
  min-height:44px;min-width:44px
 }
}
@media(max-width:380px){
 #merchantDashboard .container.dashboard{width:calc(100% - 24px)!important}
 #merchantDashboard .dashhead .dashboardRefresh span{display:none}
 #merchantDashboard .dashboardRefresh.btn{width:44px;min-width:44px}
 #merchantDashboard .dashboardTab{font-size:10.5px}
 #merchantDashboard .dashIntro{max-width:235px}
 #merchantDashboard #accountSection .settingsGroupPreview{display:none}
 #merchantDashboard #accountSection .settingsGroupRight{flex-basis:auto}
}
@media(prefers-reduced-motion:reduce){
 #merchantDashboard .dashboardTab,#merchantDashboard .dashboardRefresh{transition:none}
}


/* V4 — complete merchant app shell and purposeful product surfaces.
   Deliberate balance: one quiet metric surface, actionable issues, two
   meaningful sections. These declarations override old legacy dashboard CSS.
 */
body.merchantWorkspacePage{background:#f8fafc}
body.merchantWorkspacePage .workspaceNav{
 position:sticky;top:0;z-index:80;background:rgba(255,255,255,.97);
 border-bottom:1px solid #e6ecf3;backdrop-filter:blur(12px)
}
body.merchantWorkspacePage .workspaceNav .navin{
 min-height:64px;width:min(1140px,calc(100% - 52px));
 max-width:1140px;display:flex;justify-content:space-between;align-items:center;
 gap:16px
}
body.merchantWorkspacePage .workspaceNav .brand{
 font-size:16px;color:#192943;font-weight:600;letter-spacing:-.035em;
 gap:10px;white-space:nowrap
}
body.merchantWorkspacePage .workspaceNav .logo{
 width:33px;height:33px;border-radius:10px;
 background:#2e60da;box-shadow:0 3px 9px rgba(45,92,205,.13)
}
body.merchantWorkspacePage .workspaceNav .logo svg{width:19px;height:19px}
body.merchantWorkspacePage .workspaceNav .workspaceNavMeta{
 margin-right:auto;margin-left:8px;padding-left:18px;
 border-left:1px solid #e6ebf3;color:#8795aa;
 font-size:11px;letter-spacing:.015em;font-weight:590
}
body.merchantWorkspacePage .workspaceNav .workspaceActions{
 margin-left:auto;gap:9px;align-items:center
}
body.merchantWorkspacePage .workspaceNav .accountMenu{display:block}
body.merchantWorkspacePage .workspaceNav .accountTrigger{
 min-height:40px;max-width:240px;border-color:#e4eaf2;
 background:#fff;border-radius:11px;padding:3px 9px 3px 3px;
 gap:9px;font-size:12px;color:#263754;box-shadow:none
}
body.merchantWorkspacePage .workspaceNav .accountAvatar{
 width:30px;height:30px;border-radius:9px;background:#eef3fd;color:#2b5bd2
}
body.merchantWorkspacePage .workspaceNav .accountAvatarLarge{width:40px;height:40px}
body.merchantWorkspacePage .workspaceNav .accountDropdown{
 border-color:#e2e9f3;border-radius:12px;
 box-shadow:0 13px 35px rgba(24,49,91,.12)
}
body.merchantWorkspacePage .workspaceNav .workspaceNavGuest{
 font-size:12px;font-weight:500;color:#3f5c89;padding:8px 12px
}
/* No duplicate hero: business identity remains, with workspace tabs immediately below. */
#merchantDashboard{
 background:#f8fafc!important;
 padding:31px 0 72px;color:#1b2b44
}
#merchantDashboard .container.dashboard{
 width:min(1060px,calc(100% - 52px))!important;
 max-width:1060px
}
#merchantDashboard .dashhead{margin-bottom:0}
#merchantDashboard .dashhead h1{font-size:clamp(27px,3vw,36px);line-height:1.15}
#merchantDashboard .dashEyebrow{
 display:none
}
#merchantDashboard .dashIntro{color:#8090a5;font-size:12px;margin-top:7px}
#merchantDashboard .dashboardTabs{
 margin:26px 0 29px;gap:32px;border-color:#e2e8f1;
 padding:0;background:transparent;position:relative;top:auto
}
#merchantDashboard .dashboardTab{
 font-size:13px;min-height:48px;padding-bottom:15px;
 color:#738299;font-weight:500
}
#merchantDashboard .dashboardTab[aria-selected=true]{
 color:#1c375c!important
}
#merchantDashboard .dashboardTab[aria-selected=true]::after{
 background:#2a62db;height:2px
}
/* Make metrics a coherent single soft surface, not three huge boxes. */
#merchantDashboard #overview .overviewHeading{margin-bottom:18px}
#merchantDashboard #overview #callSummary.overviewMetrics{
 background:#fff!important;border:1px solid #e4e7ec!important;
 border-radius:15px!important;
 padding:11px 17px 10px!important;margin:0 0 15px!important;
 box-shadow:0 3px 12px rgba(24,44,84,.025)!important;
}
#merchantDashboard #overview #callSummary .callSummaryStat{
 padding:5px 14px 5px!important
}
#merchantDashboard #overview #callSummary .callSummaryStat:first-child{
 padding-left:0!important
}
#merchantDashboard #overview #callSummary .callSummaryStat .number{
 font-size:clamp(23px,2.9vw,30px);letter-spacing:-.04em
}
#merchantDashboard #overview #callSummary .callSummaryStat .micro{
 font-size:12px;color:#667085
}
#merchantDashboard #overview .overviewOtherCalls{
 margin:6px 0 0;color:#95a1b2;font-size:11px
}
/* Work queue is context-first; badges and CTA actions have meaning. */
#merchantDashboard #dashboardNextStep{display:none!important}
#merchantDashboard .workspaceAttention{
 background:#fff;border:1px solid #e4e7ec;
 border-radius:15px;padding:16px 19px 6px;margin:0 0 19px;
 box-shadow:0 3px 12px rgba(24,44,84,.02)
}
#merchantDashboard .workspaceAttention[hidden]{display:none!important}
#merchantDashboard .workspaceAttentionHeading{
 display:flex;align-items:center;justify-content:space-between;
 gap:12px;margin-bottom:7px
}
#merchantDashboard .workspaceSectionKicker{
 color:#a27b3c;font-size:9px;font-weight:600;
 letter-spacing:.11em;text-transform:uppercase
}
#merchantDashboard .workspaceAttentionHeading h3{
 font-size:16px;font-weight:600;letter-spacing:-.027em;
 line-height:1.25;margin:3px 0 0
}
#merchantDashboard .attentionCount{
 color:#997a42;background:#faf5ea;padding:4px 9px;border-radius:999px;
 font-size:11px;font-weight:600;white-space:nowrap
}
#merchantDashboard .workspaceIssue{
 display:grid;grid-template-columns:8px minmax(0,1fr) auto;
 gap:13px;align-items:center;padding:12px 0;
 border-top:1px solid #eef2f7
}
#merchantDashboard .workspaceIssueIndicator{
 width:7px;height:7px;border-radius:50%;background:#d5a34b
}
#merchantDashboard .workspaceIssueText{min-width:0}
#merchantDashboard .workspaceIssueText strong{
 color:#263955;font-size:12px;font-weight:600;line-height:1.4
}
#merchantDashboard .workspaceIssueText p{
 color:#8996a8;font-size:11px;line-height:1.48;
 margin:4px 0 0;overflow-wrap:anywhere
}
#merchantDashboard .workspaceIssueAction{
 display:inline-flex;align-items:center;justify-content:center;
 min-width:65px;min-height:37px;padding:8px 12px;
 background:#fff;border:1px solid #d8e3f1;border-radius:8px;
 color:#2456bf;font-size:12px;font-weight:600;cursor:pointer;
 text-decoration:none;line-height:1.3
}
#merchantDashboard .workspaceIssueAction:hover{
 background:#f4f7fe;border-color:#b9cae6;color:#1645aa
}
/* Two meaningful work zones. The outer surfaces group things; internal data
   uses plain rows and hairline dividers rather than more cards. */
#merchantDashboard #overview .workspaceOverviewGrid{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:18px;align-items:stretch;margin-top:0
}
#merchantDashboard #overview .workspaceOverviewPane{
 min-width:0;border:1px solid #e4e7ec;border-radius:15px;
 background:#fff;padding:19px 21px 20px;
 box-shadow:0 3px 12px rgba(24,44,84,.025);
}
#merchantDashboard #overview .overviewGroupHeading{
 display:flex;align-items:baseline;justify-content:space-between;
 padding:0;border:0;margin:0 0 16px;gap:8px 16px
}
#merchantDashboard #overview .overviewGroupHeading h3{
 font-size:16px;letter-spacing:-.02em;font-weight:600
}
#merchantDashboard #overview .overviewGroupHeading span{
 color:#96a3b3;font-size:10px
}
#merchantDashboard #overview .overviewServiceGrid,
#merchantDashboard #overview .overviewFinanceGrid{
 display:block!important;margin:0
}
#merchantDashboard #overview .overviewServiceGrid>.dashSection,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection{
 padding:0!important;background:transparent!important;
 border:0!important;border-radius:0!important;
 width:auto!important;min-height:0!important;
 box-shadow:none!important
}
#merchantDashboard #overview .overviewServiceGrid>.dashSection:first-child,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection:first-child{
 padding:0 0 15px!important;
 margin:0 0 15px!important;
 border:0!important;border-bottom:1px solid #e9eef4!important
}
#merchantDashboard #overview .overviewServiceGrid>.dashSection:last-child,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection:last-child{
 border:0!important;padding:0!important;margin:0!important
}
#merchantDashboard #overview .overviewServiceGrid>.dashSection>h2,
#merchantDashboard #overview .overviewFinanceGrid>.dashSection>h2{
 font-size:11px;color:#667085;font-weight:600;
 letter-spacing:.005em;margin:0 0 9px
}
#merchantDashboard #overview .serviceStatusRows>div,
#merchantDashboard #overview #notifications .smsAccountDetails>div{
 padding:8px 0!important;
 border-bottom:1px solid #f0f2f6!important;
 gap:10px
}
#merchantDashboard #overview #phoneSection .serviceStatusRows dt,
#merchantDashboard #overview #phoneSection .serviceStatusRows dd,
#merchantDashboard #overview #notifications .smsAccountDetails dt,
#merchantDashboard #overview #notifications .smsAccountDetails dd{
 font-size:11.5px;line-height:1.4
}
#merchantDashboard #overview #notifications .smsAccountDetails dd,
#merchantDashboard #overview #phoneSection .serviceStatusRows dd{
 max-width:60%;overflow-wrap:anywhere
}
#merchantDashboard #overview #planSection .micro{
 font-size:11.5px;line-height:1.55;margin:0 0 8px
}
#merchantDashboard #overview .trial-card{margin:0 0 10px!important}
#merchantDashboard #overview .trial-card h3{font-size:13px}
#merchantDashboard #overview #usageSection .details{
 display:none /* original detailed figures remain in DOM and available via expand */;
}
#merchantDashboard #overview #usageStatus,
#merchantDashboard #overview #usagePeriod{
 font-size:11px
}
/* Keep original usage values inspectable on demand rather than hide an entire
   business metric. .usageBillingDetails contains billing policy; detailed
   usage rows are selectively expanded by a native disclosure in the markup. */
#merchantDashboard #overview .overviewUsageDisclosure{
 border:0;margin:12px 0 0
}
#merchantDashboard #overview .overviewUsageDisclosure summary{
 color:#3762a5;cursor:pointer;font-size:11px;font-weight:500;padding:8px 0
}
#merchantDashboard #overview .overviewUsageDisclosure[open] .details{
 display:flex;flex-wrap:wrap;gap:6px;margin:8px 0
}
#merchantDashboard #overview .overviewUsageDisclosure .detail{
 border-radius:6px;background:#f6f8fb;
 font-size:10px;padding:6px 8px
}
#merchantDashboard #leadInbox .leadStatusLine{
 margin-top:9px;font-size:11px;color:#9b7443;line-height:1.4
}
#merchantDashboard #leadInbox .leadStatusLine[hidden]{display:none!important}
/* Header and data adapt to a real small-phone reading flow. */
@media(max-width:900px){
 #merchantDashboard #overview .workspaceOverviewGrid{
  grid-template-columns:minmax(0,1fr);gap:12px
 }
 #merchantDashboard #overview .workspaceOverviewPane{
  padding:17px 17px 18px
 }
}
@media(max-width:640px){
 body.merchantWorkspacePage .workspaceNav .navin{
  width:calc(100% - 26px);min-height:58px;gap:9px
 }
 body.merchantWorkspacePage .workspaceNav .workspaceNavMeta{
  display:none
 }
 body.merchantWorkspacePage .workspaceNav .brand{
  font-size:15px;gap:8px
 }
 body.merchantWorkspacePage .workspaceNav .logo{
  width:31px;height:31px
 }
 body.merchantWorkspacePage .workspaceNav .accountTrigger{
  max-width:170px;min-height:39px;padding:3px 8px 3px 3px
 }
 body.merchantWorkspacePage .workspaceNav .accountDisplayName{
  font-size:11px
 }
 #merchantDashboard{padding:22px 0 55px}
 #merchantDashboard .container.dashboard{
  width:calc(100% - 28px)!important
 }
 #merchantDashboard .dashboardTabs{
  position:sticky;top:58px;margin:19px 0 22px;
  background:rgba(248,250,252,.97);
  border-bottom:1px solid #e4e7ec;padding:0;z-index:25;
  backdrop-filter:blur(12px);gap:0
 }
 #merchantDashboard .dashboardTab{
  min-height:48px;padding:11px 5px 12px;font-size:12px;
  flex:1 1 0;min-width:0
 }
 #merchantDashboard #overview #callSummary.overviewMetrics{
  padding:10px 12px!important;border-radius:13px!important;margin-bottom:13px!important
 }
 #merchantDashboard #overview #callSummary .callSummaryStat{
  padding:5px 7px!important
 }
 #merchantDashboard #overview #callSummary .callSummaryStat:first-child{
  padding-left:0!important
 }
 #merchantDashboard #overview #callSummary .callSummaryStat .number{
  font-size:clamp(22px,7vw,29px)
 }
 #merchantDashboard #overview #callSummary .callSummaryStat .micro{
  font-size:10px
 }
 #merchantDashboard .workspaceAttention{
  padding:14px 14px 4px;border-radius:13px;margin-bottom:12px
 }
 #merchantDashboard .workspaceIssue{
  grid-template-columns:7px minmax(0,1fr);
  gap:9px;padding:11px 0
 }
 #merchantDashboard .workspaceIssueAction{
  grid-column:2;justify-self:start;
  margin:1px 0 1px;min-height:44px
 }
 #merchantDashboard #overview .workspaceOverviewPane{
  border-radius:13px;padding:17px 15px
 }
 #merchantDashboard #overview .overviewGroupHeading{margin-bottom:12px}
 #merchantDashboard #overview .overviewGroupHeading span{display:none}
 #merchantDashboard #leadInbox .leadButtons a,
 #merchantDashboard #leadInbox .leadButtons button{min-height:44px}
}
@media(max-width:380px){
 body.merchantWorkspacePage .workspaceNav .brand{font-size:14px}
 body.merchantWorkspacePage .workspaceNav .accountDisplayName{max-width:83px}
 body.merchantWorkspacePage .workspaceNav .accountAvatar{width:28px;height:28px}
 #merchantDashboard .dashIntro{max-width:none}
 #merchantDashboard .workspaceIssueText strong{font-size:11px}
}

#merchantDashboard #leadInbox .leadStatusLine{
 display:flex;align-items:center;gap:12px;flex-wrap:wrap;
 color:#97743c;font-size:11px;line-height:1.4
}
#merchantDashboard #leadInbox .leadAttentionLink{
 display:inline-flex;align-items:center;justify-content:center;
 padding:7px 2px;min-height:38px;border:0;background:transparent;
 color:#2459bd;font-size:11px;font-weight:600;cursor:pointer
}
#merchantDashboard #leadInbox .leadAttentionLink:hover{
 text-decoration:underline
}
@media(max-width:640px){
 #merchantDashboard #leadInbox .leadAttentionLink{min-height:44px}
}

/* UX polish: keep frequent actions predictable, visible and accessible. */
#merchantDashboard .dashhead .dash-actions{
 align-items:center;justify-content:flex-end;gap:9px;max-width:min(53%,390px);
}
#merchantDashboard .workspaceRefreshFeedback{
 display:block;max-width:210px;text-align:right;
 color:#74849b;font-size:11px;line-height:1.4;font-weight:540;
}
#merchantDashboard .workspaceRefreshFeedback:empty{display:none}
#merchantDashboard .dashboardRefresh[aria-busy=true] svg{
 animation:merchantRefreshSpin .9s linear infinite
}
@keyframes merchantRefreshSpin{to{transform:rotate(360deg)}}
#merchantDashboard #leadInbox .leadNoCallback{
 align-self:center;color:#9aa5b4;font-size:11px;
 line-height:1.4;padding:6px 0
}
#merchantDashboard #leadInbox .leadActionFeedback{
 color:#65768e;font-size:11px;font-weight:500;line-height:1.45;
}
#merchantDashboard #leadInbox .leadActionFeedback.isSuccess{color:#287153}
#merchantDashboard #leadInbox .leadActionFeedback.isError{color:#a25249}
#merchantDashboard #leadInbox .leadActionFeedback:empty{display:none}
#merchantDashboard #leadInbox .leadCard:focus-visible{
 outline:2px solid #8dacde;outline-offset:-2px
}
#merchantDashboard #leadInbox #callList{
 scroll-margin-top:148px
}
#merchantDashboard #leadInbox #leadResultsStatus{
 font-variant-numeric:tabular-nums;
}
#merchantDashboard #leadInbox .leadExpandToggle{
 min-height:34px;display:inline-flex;align-items:center;
}
#merchantDashboard #accountSection .merchantSettingsForm p[role=status]:not(:empty),
#merchantDashboard #accountSection #businessPhonePending:not([hidden]){
 font-size:12px;line-height:1.55;
}
@media(max-width:640px){
 #merchantDashboard .dashhead .dash-actions{
  max-width:49%;gap:6px
 }
 #merchantDashboard .workspaceRefreshFeedback{
  max-width:160px;font-size:10px
 }
 #merchantDashboard #leadInbox #callList{scroll-margin-top:125px}
 #merchantDashboard #leadInbox .leadExpandToggle{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 #merchantDashboard .dashboardRefresh[aria-busy=true] svg{animation:none}
}

#merchantDashboard #leadInbox .leadPagination{
 gap:10px;align-items:center
}
#merchantDashboard #leadInbox .leadPageIndicator{
 color:#667085;font-size:12px;font-weight:620;
 font-variant-numeric:tabular-nums;white-space:nowrap;
}
@media(max-width:640px){
 #merchantDashboard #leadInbox .leadPagination{
  justify-content:center;gap:16px
 }
}


/* Mobile settings refinement / PR 145.
   Keep existing account forms, verified numbers, and navigation semantics.
   On touch screens, a selected tab is a quiet underline, not a focus rectangle.
   Keyboard input receives a distinct, accessible focus ring. */
#merchantDashboard .dashboardTabs:not([data-keyboard-nav="true"]) .dashboardTab:focus-visible{
 outline:none;
}
#merchantDashboard .dashboardTabs[data-keyboard-nav="true"] .dashboardTab:focus-visible{
 outline:2px solid #6994e2;
 outline-offset:-4px;
 border-radius:6px;
}
@media(max-width:640px){
 body.merchantWorkspacePage .workspaceNav .navin{
  min-height:56px;width:calc(100% - 28px);
 }
 body.merchantWorkspacePage .workspaceNav .brand{font-size:15px}
 body.merchantWorkspacePage .workspaceNav .logo{
  width:30px;height:30px;border-radius:9px
 }
 #merchantDashboard{padding:14px 0 48px}
 #merchantDashboard .dashhead{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  gap:10px;align-items:center
 }
 #merchantDashboard .dashIdentity{min-width:0}
 #merchantDashboard .dashhead h1{
  font-size:clamp(22px,5.8vw,25px);
  line-height:1.2;overflow-wrap:anywhere
 }
 /* The workspace tabs and titles already explain the screen's purpose. */
 #merchantDashboard .dashIntro{display:none}
 #merchantDashboard .dashhead .dash-actions{
  width:auto;max-width:none;margin:0;gap:7px
 }
 #merchantDashboard .dashboardRefresh.btn{
  width:44px;min-width:44px;min-height:44px;padding:12px;
  display:inline-flex;align-items:center;justify-content:center
 }
 #merchantDashboard .dashboardRefresh.btn span{display:none}
 #merchantDashboard .dashboardRefresh svg{width:18px;height:18px}
 #merchantDashboard .workspaceRefreshFeedback{
  max-width:150px;font-size:10px;line-height:1.35
 }
 #merchantDashboard .dashboardTabs{
  top:56px;margin:12px 0 13px;min-height:44px
 }
 #merchantDashboard .dashboardTab{
  min-width:0;min-height:44px;padding:9px 4px 10px;
  font-size:12px;line-height:1.25
 }
 #merchantDashboard #accountSection>.dashSettingsTitle{margin:0 0 11px}
 #merchantDashboard #accountSection>.dashSettingsTitle h2{
  font-size:22px;line-height:1.2
 }
 #merchantDashboard #accountSection>.dashSettingsTitle .dashSectionSubtitle{
  display:none
 }
 #merchantDashboard #accountSection .settingsGroupToggle{
  min-height:66px;padding:11px 1px;gap:9px
 }
 #merchantDashboard #accountSection .settingsGroupHeading{
  flex:1 1 auto;gap:3px;min-width:0
 }
 #merchantDashboard #accountSection .settingsGroupHeading strong{
  font-size:13.5px;line-height:1.3
 }
 #merchantDashboard #accountSection .settingsGroupHeading small{
  font-size:10.5px;line-height:1.32;
 }
 #merchantDashboard #accountSection .settingsGroupRight{
  flex:0 1 39%;max-width:39%;min-width:18px;
  justify-content:flex-end;gap:7px
 }
 #merchantDashboard #accountSection .settingsGroupPreview{
  display:block;min-width:0;max-width:100%;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:11px;line-height:1.35
 }
 #merchantDashboard #accountSection .settingsGroupChevron{
  flex:0 0 15px;width:15px;text-align:center;
  font-size:19px;line-height:1
 }
 #merchantDashboard #accountSection .settingsGroupBody{
  padding-bottom:16px
 }
 /* Expanded content stays in place and is not re-created on tab switches. */
 #merchantDashboard #accountSection .settingsGroup[open]>.settingsGroupToggle{
  color:#1e3f7c
 }
}
@media(max-width:380px){
 #merchantDashboard .dashhead h1{font-size:22px}
 #merchantDashboard #accountSection .settingsGroupRight{
  flex:0 0 17px;max-width:17px
 }
 #merchantDashboard #accountSection .settingsGroupPreview{display:none}
 #merchantDashboard #accountSection .settingsGroupHeading small{
  font-size:10px
 }
}


/* Merchant visual identity V5 — calm Aurora gradients, not flat admin chrome.
   Only affects the private merchant dashboard. No data / status is synthesized.
   Functional colors are reserved for evidence-backed calls and action alerts. */
body.merchantWorkspacePage{
 background:#f6f8ff;
}
body.merchantWorkspacePage .workspaceNav{
 background:linear-gradient(102deg,rgba(255,255,255,.98),rgba(247,249,255,.97))!important;
 border-bottom:1px solid #dfe7f7;
 box-shadow:0 2px 16px rgba(39,66,138,.035);
}
body.merchantWorkspacePage .workspaceNav .logo{
 background:linear-gradient(140deg,#2766ee 5%,#5e55dc 96%);
 box-shadow:0 5px 13px rgba(58,89,204,.17);
}
body.merchantWorkspacePage .workspaceNav .accountAvatar{
 background:linear-gradient(135deg,#e5f0ff,#eee9ff);
 color:#3459bd;
}
#merchantDashboard{
 --ui-blue:#355edf;
 --ui-violet:#7356cf;
 --ui-line:#e5eafa;
 --ui-hairline:#edf0f8;
 background:
  radial-gradient(ellipse 70% 33% at 6% 1%,rgba(86,141,250,.11),transparent 72%),
  radial-gradient(ellipse 58% 35% at 100% 10%,rgba(163,126,244,.075),transparent 76%),
  linear-gradient(180deg,#f9fafb 0%,#f6f8fc 53%,#fcfcfd 100%)!important;
 color:#202e4c;
}
#merchantDashboard .dashboardRefresh.btn{
 color:#304c89;border:1px solid #d5def7;
 background:linear-gradient(125deg,#fff,#f6f8ff)!important;
 box-shadow:0 3px 9px rgba(54,84,160,.075);
}
#merchantDashboard .dashboardRefresh.btn:hover{
 background:linear-gradient(125deg,#fff,#edf3ff)!important;
 border-color:#b5c9f2
}
/* Selected navigation is a soft gradient highlight, not a focus rectangle. */
#merchantDashboard .dashboardTabs{
 gap:8px;margin:15px 0 20px;padding:5px 7px;
 border:1px solid #e0e6f7;
 border-radius:13px;background:linear-gradient(98deg,#edf3ff 0%,#f0eeff 55%,#f7f8ff 100%);
 box-shadow:0 3px 13px rgba(44,65,132,.025)
}
#merchantDashboard .dashboardTab{
 min-height:44px;padding:10px 16px;border-radius:9px;
 color:#62738e;transition:color .18s,box-shadow .18s
}
#merchantDashboard .dashboardTab[aria-selected=true]{
 background:linear-gradient(118deg,#ffffff 0%,#f4f3ff 100%)!important;
 color:#29499d!important;
 box-shadow:0 3px 12px rgba(53,78,155,.10)!important
}
#merchantDashboard .dashboardTab[aria-selected=true]::after{
 bottom:0;left:20%;right:20%;height:3px;border-radius:999px;
 background:linear-gradient(90deg,#3973ed,#7c54d6)
}
#merchantDashboard .dashboardTab:hover:not([aria-selected=true]){
 background:rgba(255,255,255,.45)!important;color:#3155a7
}
/* An accent near each section title makes hierarchy visible without a banner. */
#merchantDashboard #leadInbox .dashSectionTitle h2,
#merchantDashboard #overview .overviewHeading h2,
#merchantDashboard #accountSection .dashSettingsTitle h2{
 display:flex;align-items:center;gap:10px;color:#213256
}
#merchantDashboard #leadInbox .dashSectionTitle h2::before,
#merchantDashboard #overview .overviewHeading h2::before,
#merchantDashboard #accountSection .dashSettingsTitle h2::before{
 content:"";display:inline-block;flex:none;width:4px;height:23px;
 border-radius:10px;background:linear-gradient(180deg,#3273ef,#9461db);
 box-shadow:0 2px 6px rgba(90,109,226,.19)
}
#merchantDashboard .dashSectionSubtitle{color:#7787a1}
/* One softly tinted inbox surface with distinct, scan-friendly lead rows. */
#merchantDashboard .leadFilters{gap:6px}
#merchantDashboard .leadFilters button{
 min-height:40px;padding:8px 12px;border-radius:9px;
 color:#6e7e96;background:transparent!important;
 box-shadow:none!important
}
#merchantDashboard .leadFilters button[aria-pressed=true]{
 background:linear-gradient(115deg,#e4eeff,#eee8ff)!important;
 color:#3155bd;box-shadow:inset 0 0 0 1px #d9e1fb!important
}
#merchantDashboard .leadFilters button:hover{
 background:#edf2ff!important
}
#merchantDashboard #callList{
 overflow:hidden;border:1px solid #e0e8f6;border-radius:15px;
 background:linear-gradient(125deg,#fff,#fcfdff);
 box-shadow:0 8px 27px rgba(37,65,129,.045)
}
#merchantDashboard #callList>.leadCard{
 padding:15px 18px!important;
 background:transparent!important;
 border-bottom:1px solid #edf0f8!important;
}
#merchantDashboard #callList>.leadCard.isLead{
 background:linear-gradient(95deg,#f2f8ff 0%,#fcfcfd 75%,#fff)!important
}
#merchantDashboard #leadInbox .leadCard .badge{
 display:inline-flex;align-items:center;justify-content:center;
 background:#e5f7f1;border:1px solid #c9eddf;border-radius:999px;
 color:#14745b;padding:3px 8px;font-size:10px
}
#merchantDashboard #leadInbox .leadCard:not(.isLead) .badge{
 background:#f1f4fa;border:1px solid #e4eaf3;
 color:#65748c
}
#merchantDashboard #leadInbox .leadRequestSummary{
 background:linear-gradient(108deg,#f0f5ff,#f7f6ff);
 border:1px solid #e8edfc;border-radius:9px
}
#merchantDashboard .dashboard .btn.primary,
#merchantDashboard #leadInbox .leadButtons a{
 background:linear-gradient(112deg,#2e63e7,#6159d5)!important;
 border-color:#405cce!important;color:#fff!important;
 box-shadow:0 5px 14px rgba(58,87,199,.13)
}
#merchantDashboard .dashboard .btn.primary:hover,
#merchantDashboard #leadInbox .leadButtons a:hover{
 background:linear-gradient(112deg,#2354d6,#5149c5)!important;
 box-shadow:0 6px 16px rgba(58,87,199,.17)
}
#merchantDashboard .dashboard .btn.secondary{
 background:linear-gradient(140deg,#fff,#f9fafb);
 border-color:#d9e3f5;color:#335080
}
/* Compact single metrics card; meaningful colors, never made-up statuses. */
#merchantDashboard #overview #callSummary.overviewMetrics{
 background:linear-gradient(110deg,#eaf3ff 0%,#f1efff 62%,#f9f7ff 100%)!important;
 border:1px solid #dce5fa!important;
 box-shadow:0 8px 24px rgba(66,81,164,.065)!important
}
#merchantDashboard #overview #callSummary .callSummaryStat .number{
 color:#2d57bd
}
#merchantDashboard #overview #callSummary .callSummaryStat:nth-child(2) .number{
 color:#694bc1
}
#merchantDashboard #overview #callSummary .callSummaryStat:nth-child(3) .number{
 color:#1c728d
}
#merchantDashboard #overview #callSummary .callSummaryStat .micro,
#merchantDashboard #overview .overviewOtherCalls{color:#667b9d}
/* Attention is only rendered for actual backed action items. */
#merchantDashboard .workspaceAttention{
 background:linear-gradient(115deg,#fff8e9 0%,#fffdf8 54%,#f9f5ff 100%);
 border-color:#f0dfb8;box-shadow:0 7px 23px rgba(133,95,35,.045)
}
#merchantDashboard .workspaceIssueAction{
 background:linear-gradient(120deg,#fff,#fff9ef);
 border-color:#ead9b5;color:#79531e
}
#merchantDashboard .workspaceIssueAction:hover{
 background:#fff5db;color:#684313
}
#merchantDashboard #overview .workspaceOverviewPane{
 position:relative;overflow:hidden;
 background:linear-gradient(150deg,#ffffff 0%,#f8fbff 100%);
 border-color:#e0e8f7;
 box-shadow:0 8px 24px rgba(40,64,134,.045)
}
#merchantDashboard #overview .workspaceOverviewPane::before{
 content:"";position:absolute;left:0;right:0;top:0;height:3px;
 background:linear-gradient(90deg,#3479ed,#6f6de5,#c7b9fa)
}
#merchantDashboard #overview .workspaceOverviewPlan{
 background:linear-gradient(150deg,#fff 0%,#faf8ff 100%)
}
#merchantDashboard #overview .workspaceOverviewPlan::before{
 background:linear-gradient(90deg,#6c62db,#a178e8,#dbc5f6)
}
#merchantDashboard #overview .overviewGroupHeading h3{color:#233657}
#merchantDashboard #overview .usage-fill{
 background:linear-gradient(90deg,#3c80e9,#7865d7)
}
/* Settings: one well-composed surface, subtle colored side markers.
   The varied accents distinguish categories; they do not imply a health status. */
#merchantDashboard #accountSection .settingsGroups{
 overflow:hidden;background:#fff;
 border:1px solid #dee7f7;border-radius:17px;
 box-shadow:0 9px 28px rgba(39,65,129,.05)
}
#merchantDashboard #accountSection .settingsGroup{
 border-bottom:1px solid #e8ecf5
}
#merchantDashboard #accountSection .settingsGroupToggle{
 position:relative;padding:14px 19px 14px 22px;
 background:linear-gradient(100deg,#fff 5%,#f9fafb 100%);
 transition:background .15s
}
#merchantDashboard #accountSection .settingsGroupToggle::before{
 content:"";position:absolute;left:0;top:17px;bottom:17px;width:3px;
 border-radius:0 5px 5px 0;
 background:linear-gradient(180deg,#3477ed,#7d6bdf);
 opacity:.85
}
#merchantDashboard #accountSection #settingsBusinessPhone .settingsGroupToggle::before{
 background:linear-gradient(180deg,#447ee9,#46aacc)
}
#merchantDashboard #accountSection #settingsSMS .settingsGroupToggle::before{
 background:linear-gradient(180deg,#22a3ac,#63c8a4)
}
#merchantDashboard #accountSection #settingsSecurity .settingsGroupToggle::before{
 background:linear-gradient(180deg,#7155d8,#aa76d6)
}
#merchantDashboard #accountSection .settingsGroupToggle:hover{
 background:linear-gradient(100deg,#f1f6ff,#f8f6ff)
}
#merchantDashboard #accountSection .settingsGroup[open]>.settingsGroupToggle{
 background:linear-gradient(100deg,#edf4ff,#f5f1ff);
}
#merchantDashboard #accountSection .settingsGroup[open] .settingsGroupChevron{
 color:#4a5ed0
}
#merchantDashboard #accountSection .settingsGroupBody{
 padding:15px 20px 20px;background:linear-gradient(180deg,#fff,#fdfdff)
}
#merchantDashboard #accountSection .settingsGroupHeading strong{color:#27395c}
#merchantDashboard #accountSection .settingsGroupPreview{color:#687e9c}
#merchantDashboard #accountSection .merchantSettingsForm input:focus-visible{
 outline:2px solid #6c8ee8;outline-offset:1px;
 box-shadow:0 0 0 4px rgba(94,124,227,.11)
}
@media(max-width:640px){
 #merchantDashboard{
  background:
   radial-gradient(ellipse 100% 25% at 10% 0%,rgba(90,135,247,.09),transparent 78%),
   linear-gradient(180deg,#f8f9fc,#f9faff)!important
 }
 #merchantDashboard .dashboardTabs{
  position:sticky;top:56px;z-index:25;
  margin:10px 0 14px;padding:4px;
  border-radius:11px;gap:3px;
  background:linear-gradient(95deg,rgba(232,241,255,.97),rgba(241,236,255,.97));
  backdrop-filter:blur(12px)
 }
 #merchantDashboard .dashboardTab{
  min-height:44px;padding:9px 4px;
  border-radius:8px;font-size:12px
 }
 #merchantDashboard #leadInbox .dashSectionTitle h2::before,
 #merchantDashboard #overview .overviewHeading h2::before,
 #merchantDashboard #accountSection .dashSettingsTitle h2::before{
  height:20px
 }
 #merchantDashboard #leadInbox .dashSectionMeta .leadFilters{
  gap:4px;margin-top:12px
 }
 #merchantDashboard #leadInbox .leadFilters button{
  min-height:44px;padding:9px 11px;
 }
 #merchantDashboard #callList{border-radius:13px}
 #merchantDashboard #callList>.leadCard{padding:13px 13px!important}
 #merchantDashboard #overview #callSummary.overviewMetrics{
  padding:11px 12px!important
 }
 #merchantDashboard #accountSection .settingsGroups{border-radius:14px}
 #merchantDashboard #accountSection .settingsGroupToggle{
  padding:11px 12px 11px 17px;min-height:64px;gap:9px
 }
 #merchantDashboard #accountSection .settingsGroupToggle::before{
  top:14px;bottom:14px;width:3px
 }
 #merchantDashboard #accountSection .settingsGroupBody{
  padding:11px 13px 16px
 }
}
@media(max-width:380px){
 #merchantDashboard #accountSection .settingsGroupToggle{padding-right:12px}
}
@media(prefers-reduced-motion:reduce){
 #merchantDashboard .settingsGroupToggle,
 #merchantDashboard .dashboardTab{transition:none}
}


/* Workspace navigation refinement / PR145.
   Brand/account already lives in the real top bar; eliminate the redundant
   business-name hero entirely. Refresh remains available on every tab. */
#merchantDashboard .workspaceNavigationRow{
 display:flex;align-items:stretch;justify-content:space-between;
 gap:12px;min-width:0;margin:0 0 20px
}
#merchantDashboard .workspaceNavigationRow .dashboardTabs{
 position:static!important;top:auto!important;
 flex:1 1 auto;width:auto!important;max-width:640px;
 min-width:0;margin:0!important
}
#merchantDashboard .workspaceNavigationRow .dashboardTab{
 flex:1 1 0;min-width:0;white-space:nowrap
}
#merchantDashboard .workspaceToolbar{
 position:relative;display:flex;align-items:center;
 justify-content:flex-end;flex:0 0 auto;min-width:44px
}
#merchantDashboard .workspaceToolbar .dashboardRefresh.btn{
 position:relative;min-height:44px;min-width:44px;
 display:inline-flex;align-items:center;justify-content:center;
 gap:7px;flex:none;white-space:nowrap
}
#merchantDashboard .workspaceToolbar .dashboardRefresh svg{
 width:17px;height:17px;flex:none;
 fill:none;stroke:currentColor;stroke-width:1.9;
 stroke-linecap:round;stroke-linejoin:round
}
/* Feedback lives by its actual Refresh action without increasing the page header. */
#merchantDashboard .workspaceToolbar .workspaceRefreshFeedback:not(:empty){
 display:block;position:absolute;z-index:35;
 top:calc(100% + 8px);right:0;
 width:max-content;max-width:min(260px,calc(100vw - 28px));
 padding:8px 11px;border-radius:9px;
 background:linear-gradient(112deg,#fff,#f0f4ff);
 border:1px solid #d9e4f8;
 box-shadow:0 7px 18px rgba(36,59,116,.12);
 color:#46618b;text-align:left;font-size:11px;
}
@media(max-width:640px){
 #merchantDashboard{padding-top:10px}
 #merchantDashboard .workspaceNavigationRow{
  position:sticky;top:56px;z-index:25;
  gap:8px;margin:0 0 14px;padding:4px 0;
  align-items:center;min-width:0;
  background:rgba(248,250,255,.96);
  backdrop-filter:blur(12px)
 }
 #merchantDashboard .workspaceNavigationRow .dashboardTabs{
  max-width:none;flex:1 1 0;min-width:0;
  padding:4px!important;margin:0!important;
  box-shadow:0 2px 10px rgba(53,76,149,.04)
 }
 #merchantDashboard .workspaceNavigationRow .dashboardTab{
  font-size:clamp(10px,3.3vw,12px);
  padding:9px 2px;min-height:44px
 }
 #merchantDashboard .workspaceToolbar{min-width:44px}
 #merchantDashboard .workspaceToolbar .dashboardRefresh.btn{
  min-width:44px;width:44px;min-height:44px;height:44px;
  padding:10px
 }
 #merchantDashboard .workspaceToolbar .dashboardRefresh span{display:none}
 #merchantDashboard .workspaceToolbar .workspaceRefreshFeedback:not(:empty){
  font-size:10px
 }
}


/* Merchant finishing pass — unify the visual rhythm of all three real panels.
   Keep one accent language: navy text, Aurora blue/violet actions, emerald leads,
   and amber exclusively for real owner-scoped attention items. */
#merchantDashboard{
 --workspace-border:#dfe6f4;
 --workspace-shadow:0 6px 22px rgba(43,68,133,.052);
}
#merchantDashboard .workspaceNavigationRow{
 margin-bottom:17px
}
#merchantDashboard .workspaceNavigationRow .dashboardTabs{
 max-width:610px
}
#merchantDashboard .workspaceNavigationRow .dashboardTab{
 font-weight:500;letter-spacing:-.008em
}
#merchantDashboard #leadInbox .dashSectionMeta{
 gap:12px 18px;align-items:end;margin-bottom:12px
}
#merchantDashboard #leadInbox .dashSectionTitle h2,
#merchantDashboard #overview .overviewHeading h2,
#merchantDashboard #accountSection .dashSettingsTitle h2{
 font-size:clamp(23px,2.4vw,27px);
 line-height:1.22;letter-spacing:-.04em
}
#merchantDashboard #leadInbox .dashSectionSubtitle,
#merchantDashboard #overview .dashSectionSubtitle,
#merchantDashboard #accountSection .dashSectionSubtitle{
 font-size:12.5px;color:#6d7d97;line-height:1.45;margin-top:5px
}
#merchantDashboard #leadInbox .leadStatusLine:not([hidden]){
 display:flex;align-items:center;flex-wrap:wrap;
 gap:6px 10px;width:fit-content;max-width:100%;
 margin-top:10px;padding:5px 9px 5px 12px;
 background:linear-gradient(100deg,#fff7e9,#fffcf6);
 border:1px solid #efdfc2;border-radius:9px;
 color:#845b22;font-size:11px;line-height:1.45;
}
#merchantDashboard #leadInbox .leadStatusLine:not([hidden])::before{
 content:"";flex:none;width:6px;height:6px;
 background:#d59a3f;border-radius:50%
}
#merchantDashboard #leadInbox .leadStatusLine .leadAttentionLink{
 color:#755017;min-height:32px;padding:4px 5px;
 font-weight:600;text-decoration:underline;
 text-underline-offset:3px
}
#merchantDashboard #leadInbox .leadStatusLine .leadAttentionLink:hover{
 color:#523a17
}
#merchantDashboard #leadInbox .dashSectionMeta .leadFilters{
 gap:5px
}
#merchantDashboard #leadInbox .leadFilters button{
 font-size:12px;font-weight:500;
 transition:background-color .16s,color .16s
}
#merchantDashboard #leadInbox #leadResultsStatus{
 margin:0 0 10px;color:#73839d;
 line-height:1.45;font-size:11.5px
}
#merchantDashboard #callList{
 border-color:var(--workspace-border);
 box-shadow:var(--workspace-shadow)
}
#merchantDashboard #callList>.leadCard{
 gap:8px;padding-top:15px!important;padding-bottom:15px!important
}
#merchantDashboard #callList>.leadCard.isLead{
 background:linear-gradient(93deg,#f1f7ff 0%,#fbfdff 66%,#fff 100%)!important
}
#merchantDashboard #callList>.leadCard:hover{
 background:linear-gradient(93deg,#edf5ff,#f9fafb 76%,#fff)!important
}
#merchantDashboard #leadInbox .leadCardName{
 color:#243654;font-size:16px;line-height:1.3
}
#merchantDashboard #leadInbox .leadCardService{
 color:#61748f;font-size:12.5px;line-height:1.48
}
#merchantDashboard #leadInbox .leadButtons button,
#merchantDashboard #leadInbox .leadButtons a{
 border-radius:9px;min-height:40px
}
#merchantDashboard #leadInbox .leadExpandToggle{
 color:#486da9;min-height:38px;
 text-underline-offset:3px
}
#merchantDashboard #overview .overviewHeading{
 margin-bottom:13px
}
#merchantDashboard #overview #callSummary.overviewMetrics{
 border-color:var(--workspace-border)!important;
 box-shadow:var(--workspace-shadow)!important
}
#merchantDashboard #overview .workspaceOverviewGrid{gap:15px}
#merchantDashboard #overview .workspaceOverviewPane{
 border-color:var(--workspace-border);
 box-shadow:var(--workspace-shadow)
}
#merchantDashboard #accountSection>.dashSettingsTitle{margin-bottom:15px}
#merchantDashboard #accountSection .settingsGroups{
 border-color:var(--workspace-border);
 box-shadow:var(--workspace-shadow)
}
#merchantDashboard #accountSection .settingsGroupToggle{
 min-height:72px
}
#merchantDashboard #accountSection .settingsGroupHeading strong{
 font-weight:600
}
#merchantDashboard #accountSection .settingsGroupPreview{
 color:#647993
}
#merchantDashboard #accountSection .settingsGroupBody{
 border-top:1px solid #e8eef9
}
@media(max-width:640px){
 #merchantDashboard .workspaceNavigationRow{margin-bottom:12px}
 #merchantDashboard #leadInbox .dashSectionMeta{
  margin:0 0 9px;gap:7px
 }
 #merchantDashboard #leadInbox .dashSectionTitle h2,
 #merchantDashboard #overview .overviewHeading h2,
 #merchantDashboard #accountSection .dashSettingsTitle h2{
  font-size:22px;line-height:1.25
 }
 /* Mobile: panel names are enough. Keep the controls and real notices visible. */
 #merchantDashboard #leadInbox .dashSectionSubtitle,
 #merchantDashboard #overview .dashSectionSubtitle,
 #merchantDashboard #accountSection .dashSectionSubtitle{
  display:none
 }
 #merchantDashboard #leadInbox .leadStatusLine:not([hidden]){
  margin-top:8px;padding:5px 8px 5px 10px
 }
 #merchantDashboard #leadInbox .dashSectionMeta .leadFilters{
  margin:10px 0 0;gap:3px
 }
 #merchantDashboard #leadInbox .leadFilters button{
  min-height:44px;padding:9px 10px;font-size:11.5px
 }
 #merchantDashboard #callList>.leadCard{
  gap:7px;padding:13px!important
 }
 #merchantDashboard #leadInbox .leadButtons button,
 #merchantDashboard #leadInbox .leadButtons a{
  min-height:44px
 }
 #merchantDashboard #overview .overviewHeading{margin-bottom:11px}
 #merchantDashboard #overview .workspaceOverviewGrid{gap:12px}
 #merchantDashboard #accountSection>.dashSettingsTitle{margin-bottom:11px}
 #merchantDashboard #accountSection .settingsGroupToggle{min-height:64px}
}
@media(prefers-reduced-motion:reduce){
 #merchantDashboard #leadInbox .leadFilters button{transition:none}
}

/* Merchant navigation lives in the actual sticky workspace header.
   The four original tab buttons retain their IDs, keyboard behavior, and panel state. */
body.merchantWorkspacePage .workspaceNav .navin{
 width:min(1160px,calc(100% - 40px));max-width:1160px;gap:12px
}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs{
 display:flex;align-items:center;justify-content:center;
 flex:1 1 auto;min-width:0;max-width:600px;width:auto;
 position:static;top:auto;z-index:auto;
 margin:0;padding:0;gap:4px;
 border:0;border-radius:0;background:transparent;box-shadow:none;
 backdrop-filter:none
}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab{
 appearance:none;display:inline-flex;justify-content:center;align-items:center;
 position:relative;flex:0 1 auto;min-width:0;min-height:41px;
 width:auto;padding:9px 12px;border:0!important;border-radius:8px;
 background:transparent;color:#61728d;box-shadow:none;
 font-family:inherit;font-size:12.5px;font-weight:500;line-height:1.25;
 white-space:nowrap;cursor:pointer;
 transition:background .15s,color .15s
}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTabIcon{display:none}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab:hover{
 color:#284c9d;background:#f1f5ff
}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab[aria-selected="true"]{
 color:#254da9;background:linear-gradient(120deg,#f1f5ff,#f5f1ff);
 font-weight:600;box-shadow:none
}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab[aria-selected="true"]::after{
 content:"";position:absolute;left:20%;right:20%;bottom:2px;
 height:2px;border-radius:2px;
 background:linear-gradient(90deg,#3d78ed,#8357d6)
}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs:not([data-keyboard-nav="true"]) .dashboardTab:focus-visible{
 outline:none
}
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs[data-keyboard-nav="true"] .dashboardTab:focus-visible{
 outline:2px solid #769beb;outline-offset:2px
}
body.merchantWorkspacePage .workspaceNav .workspaceToolbar{
 position:relative;display:flex;align-items:center;justify-content:center;
 flex:0 0 auto;min-width:40px
}
body.merchantWorkspacePage .workspaceNav .workspaceToolbar .dashboardRefresh.btn{
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-width:40px;min-height:40px;padding:8px 10px;
 border:1px solid #d9e2f0;border-radius:10px;
 color:#3a5787;background:#fff;box-shadow:none;
 font-size:12px;font-weight:500;cursor:pointer
}
body.merchantWorkspacePage .workspaceNav .workspaceToolbar .dashboardRefresh.btn:hover{
 background:#f1f5ff;border-color:#bdcfee
}
body.merchantWorkspacePage .workspaceNav .workspaceToolbar .dashboardRefresh svg{
 width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;
 stroke-linecap:round;stroke-linejoin:round;flex:none
}
body.merchantWorkspacePage .workspaceNav .workspaceToolbar .workspaceRefreshFeedback:not(:empty){
 position:absolute;top:calc(100% + 9px);right:0;z-index:95;
 display:block;width:max-content;max-width:min(270px,calc(100vw - 28px));
 padding:9px 11px;border-radius:9px;background:#fff;
 border:1px solid #d9e4f7;box-shadow:0 8px 25px rgba(24,45,95,.14);
 color:#43608b;text-align:left;font-size:11px
}
#merchantDashboard{padding-top:18px!important}
#merchantDashboard .dashSection[role="tabpanel"]{scroll-margin-top:78px}
@media(max-width:900px){
 body.merchantWorkspacePage .workspaceNav .navin{
  display:grid;grid-template-columns:minmax(0,1fr) auto;
  grid-template-areas:"brand actions" "tabs tabs";
  column-gap:10px;row-gap:4px;
  min-height:0;padding:7px 0 6px;align-items:center
 }
 body.merchantWorkspacePage .workspaceNav .brand{grid-area:brand;min-width:0}
 body.merchantWorkspacePage .workspaceNav .workspaceActions{
  grid-area:actions;justify-self:end;margin-left:0;gap:7px
 }
 body.merchantWorkspacePage .workspaceNav .workspaceTopTabs{
  grid-area:tabs;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  justify-content:stretch;min-width:0;width:100%;max-width:none;
  gap:3px;padding:3px;border:1px solid #dfe7f7;border-radius:10px;
  background:linear-gradient(105deg,#f1f6ff,#f6f3ff);
  box-sizing:border-box
 }
 body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab{
  width:100%;min-height:39px;padding:8px 3px;
  font-size:clamp(10px,1.6vw,12px);line-height:1.25
 }
 body.merchantWorkspacePage .workspaceNav .workspaceToolbar .dashboardRefresh.btn{
  width:40px;height:40px;min-width:40px;min-height:40px;padding:9px
 }
 body.merchantWorkspacePage .workspaceNav .workspaceToolbar .dashboardRefresh span{display:none}
 #merchantDashboard .dashSection[role="tabpanel"]{scroll-margin-top:122px}
}
@media(max-width:560px){
 body.merchantWorkspacePage .workspaceNav .navin{
  width:calc(100% - 24px);column-gap:7px;row-gap:3px;padding:5px 0
 }
 body.merchantWorkspacePage .workspaceNav .brand{font-size:14px;gap:7px}
 body.merchantWorkspacePage .workspaceNav .logo{width:30px;height:30px}
 body.merchantWorkspacePage .workspaceNav .accountDisplayName{display:none}
 body.merchantWorkspacePage .workspaceNav .accountTrigger{
  min-width:43px;max-width:none;min-height:40px;padding:4px 6px;gap:4px
 }
 body.merchantWorkspacePage .workspaceNav .workspaceActions{gap:6px}
 body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab{font-size:10.5px}
 #merchantDashboard{padding-top:12px!important}
 #merchantDashboard .dashSection[role="tabpanel"]{scroll-margin-top:112px}
}
@media(max-width:360px){
 body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab{font-size:10px;padding-inline:0}
 body.merchantWorkspacePage .workspaceNav .brand{font-size:13px}
}
@media(prefers-reduced-motion:reduce){
 body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab{transition:none}
}


/* Four server-backed overview metrics; no billing logic changes.
   At phone widths use a balanced 2×2 layout instead of tiny four-across text. */
#merchantDashboard #overview #callSummary .callSummaryStats{
 grid-template-columns:repeat(4,minmax(0,1fr))
}
#merchantDashboard #overview #callSummary .callSummaryStat:nth-child(4) .number{
 color:#516484
}
@media(max-width:640px){
 #merchantDashboard #overview #callSummary .callSummaryStats{
  grid-template-columns:repeat(2,minmax(0,1fr));row-gap:0
 }
 #merchantDashboard #overview #callSummary .callSummaryStat{
  padding:11px 12px!important;min-width:0
 }
 #merchantDashboard #overview #callSummary .callSummaryStat:first-child{
  padding-left:12px!important
 }
 #merchantDashboard #overview #callSummary .callSummaryStat:nth-child(2){
  border-right:0
 }
 #merchantDashboard #overview #callSummary .callSummaryStat:nth-child(-n+2){
  border-bottom:1px solid var(--ui-line)
 }
 #merchantDashboard #overview #callSummary .callSummaryStat:nth-child(n+3){
  padding-top:14px!important
 }
}
@media(max-width:380px){
 #merchantDashboard #overview #callSummary .callSummaryStat .number{
  font-size:clamp(21px,7vw,27px)
 }
}

/* Mobile reachability: four workspace tabs, refresh, and account menu meet
   a 44px touch-target height without changing routing or billing behavior. */
@media(max-width:640px){
 body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab{
  min-height:44px;
 }
 body.merchantWorkspacePage .workspaceNav .workspaceToolbar .dashboardRefresh.btn{
  width:44px;height:44px;min-width:44px;min-height:44px;
 }
 body.merchantWorkspacePage .workspaceNav .accountTrigger{
  min-height:44px;
 }
}

/* Reachable controls at tablet and desktop sizes too: the shared workspace
   header remains the authoritative navigation, never a duplicate tab bar. */
body.merchantWorkspacePage .workspaceNav .workspaceTopTabs .dashboardTab{
 min-width:64px;min-height:44px;
}
body.merchantWorkspacePage .workspaceNav .workspaceToolbar .dashboardRefresh.btn{
 min-width:44px;min-height:44px;
}

/* Keep the outstanding fee within the existing overage tile on desktop and phone. */
#merchantDashboard #overview #callSummary .overviewOverageFee{
 font-size:12px;line-height:1.4;max-width:100%;overflow-wrap:anywhere;
}
#merchantDashboard #overview #callSummary .overviewOverageFee strong{
 color:#334768;font-weight:600;font-variant-numeric:tabular-nums;
}
@media(max-width:640px){
 #merchantDashboard #overview #callSummary .overviewOverageFee{font-size:11px}
}
