/* Brand tools: the same visual language as the platform console. */
.studio-workspace:not(.guest){--ink:#edf1f5;--muted:#aeb8c3;--line:#30383f;--surface:#191f24;--brand:#5addae;background:#111619;color:var(--ink);font-family:Inter,system-ui,sans-serif}
.studio-workspace:not(.guest) .workspace{background:#111619}
.studio-workspace:not(.guest) .topbar{background:#191f24;border-color:var(--line);color:var(--ink)}
.studio-workspace:not(.guest) .breadcrumb,.studio-workspace:not(.guest) .subtitle,.studio-workspace:not(.guest) .muted{color:var(--muted)}
.studio-workspace:not(.guest) .breadcrumb strong,.studio-workspace:not(.guest) h1,.studio-workspace:not(.guest) h2,.studio-workspace:not(.guest) h3{color:var(--ink)}
.studio-workspace:not(.guest) .eyebrow{color:#5addae}
.studio-workspace:not(.guest) .environment,.studio-workspace:not(.guest) .avatar{background:#21342f;color:#83eac2;border:1px solid #325647}
.studio-workspace:not(.guest) .brand-picker{color:var(--muted)}
.studio-workspace:not(.guest) .preview-banner{background:#152a29;border:1px solid #285047;color:#c1e7db;margin-bottom:24px}
.studio-workspace:not(.guest) .preview-banner a{color:#73ddb7}
.studio-workspace:not(.guest) .page-heading{margin-bottom:26px}
.studio-workspace:not(.guest) .page-heading h1{font-size:28px;letter-spacing:-.7px}
.studio-workspace:not(.guest) main{max-width:1560px;padding:32px}
.customer-workspace:not(.guest) .sidebar{width:248px;background:#171c20;border-right:1px solid #30353b;color:#b4bdc8;padding:24px 12px 0;display:flex}
.customer-workspace:not(.guest) .workspace{margin-left:248px}
.customer-workspace:not(.guest) .sidebar .brand{font-size:28px;margin:0 10px 25px;color:#fff}
.customer-workspace:not(.guest) .sidebar .workspace-label{margin:0 5px 20px;padding:12px;background:#20282e;border:1px solid #343e47;color:#e8edf2}
.customer-workspace:not(.guest) .sidebar .workspace-label small{color:#aeb8c3}
.customer-workspace:not(.guest) .sidebar .nav-label{color:#87959f;font-size:10px;letter-spacing:1.5px;margin:12px 14px}
.customer-workspace:not(.guest) .sidebar .nav-item{font-size:13px;font-weight:600;line-height:20px;min-height:38px;padding:9px 12px;margin:3px 0;color:#b5bec9;border:0;border-radius:12px;gap:12px;background:transparent}
.customer-workspace:not(.guest) .sidebar .nav-item svg{width:17px;height:17px;flex-shrink:0}
.customer-workspace:not(.guest) .sidebar .nav-item>span[aria-hidden]{width:18px;display:flex;color:inherit}
.customer-workspace:not(.guest) .sidebar .nav-item:hover{background:#242c32;color:#fff}
.customer-workspace:not(.guest) .sidebar .nav-item.active{background:#26332f;color:#78e1b9;box-shadow:inset 3px 0 #25d366}
.customer-workspace:not(.guest) .sidebar-bottom,.customer-workspace:not(.guest) .sidebar-pilot-note{display:none}
.customer-workspace:not(.guest) .console-nav-group{margin:3px 0}
.customer-workspace:not(.guest) .console-nav-group summary{color:#b5bec9;padding:9px 12px;font-size:13px;cursor:pointer;list-style:none;display:flex;gap:12px;align-items:center;min-height:38px;font-weight:600}
.customer-workspace:not(.guest) .console-nav-group summary::after{content:'+';margin-left:auto;font-size:20px;font-weight:400}
.customer-workspace:not(.guest) .console-nav-group[open] summary::after{content:'−'}
.customer-workspace:not(.guest) .console-nav-group .console-group-icon svg{width:17px;height:17px}
.customer-workspace:not(.guest) .console-nav-group .nav-item{padding-left:42px;font-size:12px}
.customer-workspace:not(.guest) .console-sidebar-logout{margin-top:auto;width:calc(100% + 24px);margin-left:-12px;padding:20px 24px;display:flex;align-items:center;gap:12px;background:transparent;color:#aeb8c3;border:0;border-top:1px solid #30353b;font:600 13px Inter,system-ui;cursor:pointer}
.customer-workspace:not(.guest) .console-sidebar-logout svg{width:18px;height:18px}
.customer-workspace:not(.guest) .console-menu{display:none}
.studio-panel{background:#191f24;border:1px solid #30383f;border-radius:18px;padding:24px;min-width:0}
.studio-panel-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:22px}
.studio-panel-heading>svg{width:40px;height:40px;padding:10px;border:1px solid #35453f;border-radius:12px;color:#63deb0;background:#1b302a;flex-shrink:0}
.studio-panel-heading h2{font-size:16px;line-height:1.45;margin:0 0 6px;font-weight:650;letter-spacing:-.2px}
.studio-panel-heading p,.studio-panel>p{font-size:13px;line-height:1.8;color:#b3bfca;margin:0}
.studio-panel>p{margin:12px 0 18px}
.studio-intro{padding:26px 28px;border:1px solid #304940;background:linear-gradient(110deg,#142b24,#172327 70%,#192830);border-radius:18px;margin-bottom:24px}
.studio-intro h2{font-size:24px;letter-spacing:-.5px;margin:8px 0 8px}
.studio-intro p{font-size:13px;color:#b7c5c7;line-height:1.8;margin:0;max-width:800px}
.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}
.studio-integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin-bottom:24px}
.studio-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #42505c;border-radius:7px;color:#c3ced9;font-size:11px;font-weight:600;line-height:1.4;max-width:100%}
.studio-badge.good{background:#073a2b;color:#70e0b5;border-color:#1a654a}
.studio-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap}
.studio-workspace:not(.guest) .secondary,.studio-workspace:not(.guest) .text-button,.studio-workspace:not(.guest) .text-link{background:#222c34;border:1px solid #3b4751;color:#d7e4eb;border-radius:9px;font-weight:600;font-size:12px;padding:10px 14px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.studio-workspace:not(.guest) .primary{background:linear-gradient(115deg,#0e9983,#25d366);color:#fff;border:1px solid #2dc994;border-radius:9px;font-size:12px;font-weight:650;padding:11px 18px;box-shadow:0 6px 20px #16b58217}
.studio-workspace:not(.guest) button{font-family:inherit}
.studio-workspace:not(.guest) button:disabled{opacity:.5;cursor:not-allowed}
.studio-workspace:not(.guest) :is(input,textarea,select){background:#11181d;border:1px solid #3b4751;color:#e7eef4;border-radius:9px;font:400 13px/1.6 Inter,system-ui;padding:11px 13px;width:100%;min-width:0}
.studio-workspace:not(.guest) :is(input,textarea)::placeholder{color:#81909c}
.studio-workspace:not(.guest) :is(input,textarea,select):focus{outline:2px solid #25d36655;outline-offset:2px;border-color:#4bbf99}
.studio-workspace:not(.guest) .form-field{display:grid;gap:8px;color:#d6e0e8;font-size:12px;font-weight:600;margin-bottom:18px}
.studio-workspace:not(.guest) .detail-facts{background:transparent;color:#d2dce5;border-color:#30383f}
.studio-workspace:not(.guest) .detail-facts dt{color:#9eabb6}
.studio-workspace:not(.guest) .detail-facts dd{color:#e1e9ef;overflow-wrap:anywhere}
.studio-panel>.secondary{margin:8px 8px 0 0}
.studio-note{font-size:12px!important;color:#a8b6c2!important;line-height:1.8!important;font-weight:400;margin:10px 0 16px}
.studio-tabs{display:flex;gap:6px;border:1px solid #333e47;background:#171e23;border-radius:11px;padding:5px;flex-wrap:wrap}
.studio-tabs button{background:transparent;color:#aebdca;border:0;border-radius:7px;padding:10px 14px;font-size:12px;font-weight:600;cursor:pointer}
.studio-tabs button.selected{background:#283c34;color:#81e4bc}
.studio-filter{display:flex;align-items:center;gap:12px;margin:0 0 24px}
.studio-filter input{max-width:440px}
.studio-filter .form-field{display:flex;align-items:center;gap:10px;margin:0}
.studio-filter .form-field>span{white-space:nowrap}
.studio-filter .secondary{white-space:nowrap}
.studio-editor-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,1fr);gap:28px;align-items:start}
.studio-editor{min-width:0;display:grid;gap:20px}
.studio-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.studio-editor textarea{min-height:160px;resize:vertical}
.studio-editor>.primary{justify-self:start;min-width:190px}
.studio-preview{position:sticky;top:24px;min-width:0}
.studio-phone{max-width:370px;margin:0 auto;border:1px solid #45504f;border-radius:22px;background:#e9eee7;overflow:hidden;box-shadow:0 18px 45px #0003;color:#263b36}
.studio-phone-head{background:#153a32;color:#f0fff8;padding:16px;display:grid;grid-template-columns:38px 1fr;gap:3px 10px;align-items:center;font-size:13px;font-weight:600}
.studio-phone-avatar{grid-row:span 2;display:grid;place-items:center;width:36px;height:36px;background:#2bb389;color:white;border-radius:50%;font-size:17px}
.studio-phone-head small{grid-column:2;color:#b4d7c8;font-size:10px;font-weight:400}
.studio-chat{min-height:380px;padding:20px 18px 30px;background:radial-gradient(circle at 15px 18px,#cbd7cd 1px,transparent 1px);background-size:23px 23px;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.studio-chat-day{align-self:center;background:#fff9;border-radius:6px;padding:4px 8px;color:#748179;font-size:9px}
.studio-bubble{padding:14px 14px 8px;background:#fff;border:1px solid #d9e0d9;border-radius:2px 12px 12px;box-shadow:0 2px 4px #24342812;max-width:100%;overflow-wrap:anywhere;animation:studio-appear .25s ease}
.studio-bubble>p{color:#263b36;font-size:13px;line-height:1.75;white-space:pre-wrap;margin:0 0 10px}
.studio-chat-footer{font-size:10px;line-height:1.6;display:block;color:#68776f}
.studio-chat-time{display:block;text-align:right;font-size:9px;color:#628397;margin:6px 0}
.studio-chat-link{margin:9px -14px -8px;padding:12px 14px;border-top:1px solid #e0e6e0;color:#0084bb;text-align:center;font-size:12px;font-weight:600}
.studio-preview-caption{font-size:10px;color:#6e7e74;text-align:center;padding:9px;margin:0;border-top:1px solid #d1dcd1;background:#f7faf5}
.studio-sample{white-space:pre-wrap;overflow-wrap:anywhere;background:#131b20;border:1px solid #2e3d45;border-radius:10px;padding:14px!important;margin:16px 0!important;font-size:12px!important;line-height:1.8!important}
.studio-steps{margin:24px 0;padding-left:20px;display:grid;gap:14px}
.studio-steps strong{font-size:13px;color:#e2ede8}
.studio-steps p{font-size:12px;line-height:1.8;color:#aebdc6;margin:4px 0}
.studio-bulk-option{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 0;border-bottom:1px solid #303c43;flex-wrap:wrap}
.studio-bulk-option strong{font-size:13px}
.studio-bulk-option p{font-size:12px;color:#aebdc6;margin:5px 0 0;line-height:1.7}
.studio-workspace:not(.guest) .notice{background:#41291f;border:1px solid #735039;color:#ffd4b9}
.studio-workspace:not(.guest) dialog{background:#191f24;color:#eef1f5;border:1px solid #3b4751}
.studio-workspace:not(.guest) dialog h2,.studio-workspace:not(.guest) dialog .detail-top{color:#eef1f5;border-color:#3b4751}
.studio-workspace:not(.guest) footer{border-color:#303c43;color:#9dabb5}
@keyframes studio-appear{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(min-width:761px){.customer-workspace:not(.guest) .sidebar{height:100vh;overflow-y:auto;position:fixed;top:0}.customer-workspace:not(.guest) .workspace-nav{padding-bottom:28px}}
@media(max-width:1150px){.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-editor-layout{grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:18px}.studio-workspace:not(.guest) main{padding:24px}.studio-two{grid-template-columns:1fr;gap:0}}
@media(max-width:760px){.customer-workspace:not(.guest) .workspace{margin-left:0}.customer-workspace:not(.guest) .sidebar{display:none;position:fixed;inset:64px auto 0 0;width:260px;height:calc(100dvh - 64px);overflow:auto;z-index:70;box-shadow:15px 0 50px #0006}.customer-workspace.console-menu-open:not(.guest) .sidebar{display:flex}.customer-workspace:not(.guest) .console-menu{display:inline-flex;background:#202e30;border:1px solid #37514a;color:#90e4c1;padding:9px;border-radius:8px;font-size:12px}.studio-workspace:not(.guest) .topbar{padding:12px;gap:10px;min-height:64px}.studio-workspace:not(.guest) .breadcrumb{display:none}.studio-workspace:not(.guest) .topbar-right{gap:8px;min-width:0;flex:1;justify-content:flex-end}.studio-workspace:not(.guest) .brand-picker{max-width:190px}.studio-workspace:not(.guest) .brand-picker select{padding:6px;font-size:11px}.studio-workspace:not(.guest) .environment{display:none}.studio-workspace:not(.guest) main{padding:20px 14px}.studio-workspace:not(.guest) .page-heading h1{font-size:24px}.studio-grid,.studio-integration-grid,.studio-editor-layout{grid-template-columns:1fr}.studio-preview{position:static}.studio-panel{padding:20px}.studio-intro{padding:22px}.studio-intro h2{font-size:21px}.studio-filter{flex-wrap:wrap}.studio-tabs{width:100%}.studio-tabs button{padding:9px;font-size:11px}.studio-toolbar>.primary{width:100%;justify-content:center}.studio-workspace:not(.guest) .preview-banner{font-size:11px;flex-wrap:wrap;gap:10px}.studio-workspace:not(.guest) .avatar{width:32px;height:32px}.studio-bulk-option{align-items:flex-start}.studio-bulk-option>.secondary{padding:9px 11px;font-size:11px}.studio-chat{min-height:260px}}
@media(prefers-reduced-motion:reduce){.studio-bubble{animation:none}}

.studio-workspace.customer-workspace:not(.guest) .form-field :is(input,textarea,select),.studio-workspace.customer-workspace:not(.guest) .studio-filter input{color:#e7eef4;-webkit-text-fill-color:#e7eef4;border-color:#3b4751;background:#11181d}
.customer-workspace:not(.guest) .console-nav-group summary::after{border:0;width:auto;height:auto;transform:none;margin-right:0;line-height:1}
.customer-workspace:not(.guest) .console-nav-group[open] summary::after{transform:none}
.customer-workspace:not(.guest) .sidebar{overflow-x:hidden}

.studio-workspace:not(.guest) .info-note{background:#142b2a;border:1px solid #284842;color:#afd9cc;font-size:12px;line-height:1.8}
.studio-workspace:not(.guest) .campaign-preview{background:#131c22;border:1px solid #34444c;color:#cedbe5}
.studio-workspace:not(.guest) .campaign-preview .pilot-bubble{color:#22453a}
.studio-workspace:not(.guest) .studio-panel .secondary{margin-right:8px}
.studio-workspace.customer-workspace:not(.guest) .brand-picker select{color:#e7eef4;-webkit-text-fill-color:#e7eef4;background:#11181d;border-color:#3b4751}
@media(min-width:761px) and (max-width:1050px){.studio-editor-layout{grid-template-columns:1fr}.studio-preview{position:static}.studio-phone{margin-left:0}.studio-filter{flex-wrap:wrap}}
.studio-workspace:not(.guest),.customer-workspace:not(.guest) .sidebar{color-scheme:dark}

/* Communication workspace: consistent dark surfaces across the five core pages. */
.communication-workspace:not(.guest){--customer-ink:#edf1f5;--customer-muted:#adb9c5;--customer-border:#30383f;--green:#25d366}
.communication-workspace .panel{background:#191f24;border:1px solid #30383f;border-radius:16px;box-shadow:none}
.communication-workspace .section-heading{padding:23px 24px;border-bottom:1px solid #30383f}
.communication-workspace .section-heading h2{font-size:15px;font-weight:650}
.communication-workspace .section-heading p,.communication-workspace .muted,.communication-workspace .empty{color:#a5b3c0;font-size:12px;line-height:1.8}
.communication-workspace .customer-hero{background:#191f24;border:1px solid #30383f;border-radius:16px;padding:26px 28px;margin-bottom:24px;box-shadow:inset 3px 0 #25d366}
.communication-workspace .customer-hero h2{font-size:26px;letter-spacing:-.6px}
.communication-workspace .customer-hero p,.communication-workspace .customer-hero small{color:#aab9c6}
.communication-workspace .customer-hero .eyebrow{color:#5addae;font-size:10px}
.communication-workspace .customer-section-label{align-items:center;margin:24px 0 15px}
.communication-workspace .customer-section-label h2{font-size:15px}
.communication-workspace .customer-section-label span{color:#96a6b3;font-size:11px}
.communication-workspace :is(.customer-stats,.customer-message-stats){gap:0;background:#191f24;border:1px solid #30383f;border-radius:16px;overflow:hidden}
.communication-workspace :is(.customer-stats,.customer-message-stats) .metric{border:0;border-right:1px solid #30383f;border-radius:0;background:transparent;padding:23px 24px}
.communication-workspace :is(.customer-stats,.customer-message-stats) .metric:last-child{border-right:0}
.communication-workspace .metric>span{color:#b8c4cf;font-size:12px}
.communication-workspace .metric strong{color:#edf1f5;font-size:30px;letter-spacing:-.7px;margin:14px 0 9px}
.communication-workspace .metric small{color:#95a7b6;font-size:10px}
.communication-workspace .metric .text-link{padding:0;border:0;background:none;color:#67dcb3;margin-top:13px;font-size:10px}
.communication-workspace .customer-shortcuts{gap:16px;margin:22px 0}
.communication-workspace .customer-shortcut{background:#191f24;border:1px solid #30383f;border-radius:14px;padding:20px;box-shadow:none;transition:border-color .18s,transform .18s}
.communication-workspace .customer-shortcut:hover{background:#1e292e;border-color:#407264;transform:translateY(-2px)}
.communication-workspace .shortcut-icon,.communication-workspace .customer-empty-icon{background:#20362e;border:1px solid #315e4c;color:#72e2b8;border-radius:12px}
.communication-workspace .customer-shortcut strong{font-size:13px;color:#e7eff4}
.communication-workspace .customer-shortcut small{font-size:11px;color:#a5b5c2}
.communication-workspace .shortcut-arrow{color:#68c8dc}
.communication-workspace .customer-period{padding:18px 24px;margin:0;border-bottom:1px solid #30383f}
.communication-workspace .customer-period select{width:auto;min-width:160px}
.communication-workspace .customer-message-area{padding:22px 24px}
.communication-workspace .customer-message-stats{margin:16px 0;border-radius:12px}
.communication-workspace .customer-message-chart{margin-top:22px}
.communication-workspace .customer-message-chart svg text{fill:#99aab8}
.communication-workspace .chart-grid{stroke:#303d44}
.communication-workspace .analytics-current{color:#5addae}
.communication-workspace .analytics-previous{color:#68bde5}
.communication-workspace .analytics-line.current{stroke:#5addae}.communication-workspace .analytics-dot.current{fill:#5addae}
.communication-workspace .analytics-line.previous{stroke:#68bde5}.communication-workspace .analytics-dot.previous{fill:#68bde5}
.communication-workspace .customer-performance-detail span{background:#202d35;border:1px solid #364651;color:#bfcddb}
.communication-workspace .customer-footnote{color:#94a7b6;font-size:11px}
.communication-workspace .customer-empty{padding:34px 22px}.communication-workspace .customer-empty h3{color:#e1eaf0;font-size:15px}.communication-workspace .customer-empty p{color:#a6b7c5}
.communication-workspace .customer-lower{gap:22px;margin:24px 0}
.communication-workspace .customer-order{background:#191f24;border-color:#30383f;color:#dce6ed}.communication-workspace .customer-order:hover{background:#223038}.communication-workspace .customer-order strong{color:#e5edf4}.communication-workspace .customer-order small{color:#9cadba}
.communication-workspace .customer-panel-body{padding:24px}
.communication-workspace .customer-limit strong{color:#d8e4eb}.communication-workspace .customer-limit span,.communication-workspace .customer-limit small{color:#a6b6c3}
.communication-workspace .customer-limit progress,.communication-workspace .customer-limit progress::-webkit-progress-bar{background:#2b383f}
.communication-workspace .customer-flows{padding:24px;gap:18px}.communication-workspace .customer-flows article{background:#141c21;border:1px solid #334047;border-radius:13px;padding:22px}.communication-workspace .customer-flows h3{color:#e8eff4;font-size:15px}.communication-workspace .customer-flows p{color:#a9b8c5;font-size:12px;line-height:1.8}
.communication-workspace .customer-account-notice{background:#332c1d;border:1px solid #635536;color:#e5d7b3}
.communication-workspace .customer-message-notice{background:#162c31;border:1px solid #2d4e59;color:#b9d8e2;margin-bottom:20px;font-size:12px}.communication-workspace .customer-message-notice a{color:#72cfe7}
.communication-workspace :is(.filter-bar,.inbox-search) :is(input,select),.communication-workspace #message{background:#11181d!important;color:#e7eef4!important;-webkit-text-fill-color:#e7eef4;border-color:#3b4751!important;font-size:13px}
.communication-workspace .filter-bar{padding:20px 24px;display:grid;grid-template-columns:minmax(130px,1fr) minmax(170px,1.35fr) minmax(170px,1.4fr) auto;border-bottom:1px solid #30383f}
.communication-workspace th{background:#151b20;color:#94a9b9;font-size:10px;letter-spacing:.6px;padding:16px 24px}
.communication-workspace td{border-color:#2c363e;color:#c4d1dd;font-size:12px;padding:18px 24px}
.communication-workspace tbody tr:hover{background:#202a30}
.communication-workspace .person-title{color:#e3ecf2;font-size:12px}.communication-workspace .message-snippet,.communication-workspace .time-cell,.communication-workspace .direction-label{color:#a5b4c2;font-size:11px}.communication-workspace .time-cell span{color:#8196a7}
.communication-workspace .mini-avatar{background:#243d35;color:#7edebc;border:1px solid #365a4c}
.communication-workspace .count-badge{background:#243129;border-color:#3a5447;color:#8fdfb7}
.communication-workspace .status-pill{background:#253139;border:1px solid #3b4a54;color:#bdcad4;font-size:10px;border-radius:7px;padding:5px 8px}
.communication-workspace .status-pill:is(.success,.delivered,.received){background:#15382b;border-color:#275b43;color:#7ce4af}.communication-workspace .status-pill.read{background:#16323e;border-color:#2a556b;color:#86d4f2}
.communication-workspace .status-pill:is(.failed,.rejected){background:#3c2526;border-color:#694143;color:#f1a6ab}.communication-workspace .status-pill.unknown{background:#322d20;border-color:#574d32;color:#d8c78b}
.communication-workspace .pagination,.communication-workspace .inbox-pagination{border-color:#30383f;color:#9faebc;font-size:11px}
.communication-workspace .communication-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0}
.communication-step-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}
.communication-step-number{display:grid;place-items:center;width:42px;height:42px;border:1px solid #3f584b;border-radius:12px;background:#20342b;color:#7cdfb4;font-size:15px;font-weight:600}
.communication-start-card{display:flex;flex-direction:column;min-height:290px}
.communication-start-card h2{font-size:17px;margin-bottom:12px}
.communication-start-card>strong{font-size:12px;color:#78c6dc;font-weight:500}
.communication-start-card>p{color:#aab9c6;font-size:12px;line-height:1.9;flex:1;margin:14px 0 22px}
.communication-start-card>a{align-self:flex-start}
.communication-workspace .communication-compose-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr)}
.communication-workspace .composer-body{padding:26px;min-width:0}.communication-workspace #send-form>label{font-size:13px;color:#d4e1eb}.communication-workspace #message{margin-top:12px;min-height:190px;resize:vertical;line-height:1.8;padding:17px}
.communication-workspace .compose-caption{color:#8fa6b7;font-size:10px;gap:12px}.communication-workspace .consent-row{border:1px solid #34454c;border-radius:10px;background:#141e24;padding:16px;line-height:1.8;color:#bdcdd7;font-size:12px!important}
.communication-workspace #consent{width:17px;height:17px;padding:0;accent-color:#25d366;flex-shrink:0}
.communication-compose-guide{border-left:1px solid #30383f;background:#151d22;padding:28px;min-width:0}
.communication-compose-guide h3{font-size:20px;margin:12px 0;color:#ebf2f6}.communication-compose-guide p{font-size:12px;line-height:1.9;color:#9fb1c0}
.communication-compose-guide ol{list-style:none;counter-reset:compose;padding:0;display:grid;gap:22px;margin:28px 0}
.communication-compose-guide li{counter-increment:compose;display:grid;grid-template-columns:28px 1fr;gap:5px 12px;font-size:12px}
.communication-compose-guide li::before{content:counter(compose);grid-row:span 2;width:26px;height:26px;display:grid;place-items:center;background:#243a31;border:1px solid #385a49;color:#76dcaf;border-radius:50%;font-size:11px}
.communication-compose-guide li strong{font-weight:600;color:#dce7ef}.communication-compose-guide li span{color:#9dafbe;line-height:1.8;grid-column:2}
.communication-workspace .message-preview{background:#132921;border:1px solid #356451;padding:22px;border-radius:14px}.communication-workspace #preview-text{background:#213b31;border:1px solid #3e6052;border-radius:12px;color:#e5f4eb;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px;line-height:1.8;font-size:13px}
.communication-workspace .inbox-layout{grid-template-columns:310px minmax(0,1fr);min-height:590px}
.communication-workspace .conversation-column{border-color:#30383f;background:#191f24}
.communication-inbox-heading{padding:21px 20px 4px;display:grid;gap:6px}.communication-inbox-heading strong{font-size:14px;color:#e0ebf3}.communication-inbox-heading span{font-size:10px;color:#96adbf}
.communication-workspace .inbox-search{padding:16px;border-color:#30383f}
.communication-workspace .conversation-item{background:#191f24;border-color:#2c363e;padding:19px 17px}.communication-workspace .conversation-item:hover{background:#223038}.communication-workspace .conversation-item.selected{background:#213a30;box-shadow:inset 3px 0 #25d366}
.communication-workspace .conversation-meta{color:#96acbe;font-size:10px}
.communication-workspace .thread-column{background:#121a1f}
.communication-workspace .thread-placeholder{min-height:590px;padding:35px;max-width:600px;margin:auto;color:#a6b9c8}
.communication-workspace .thread-placeholder h2{color:#e4eef5;font-size:21px;font-weight:600;line-height:1.5}.communication-workspace .thread-placeholder p{max-width:360px;font-size:12px;line-height:1.9;color:#9aafbf}
.communication-workspace .communication-chat-icon{display:grid;place-items:center;background:linear-gradient(135deg,#214937,#1d3945);border:1px solid #39614f;color:#7ee8b8;width:76px;height:76px;border-radius:24px;font-size:32px;margin-bottom:25px}
.communication-chat-features{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:15px}.communication-chat-features span{background:#1d2b33;border:1px solid #33444f;color:#a8c7d9;border-radius:7px;font-size:10px;padding:7px 9px}
.communication-workspace .thread-heading{background:#19232a;border-color:#33414a;height:auto;min-height:85px;padding:20px 24px}.communication-workspace .thread-heading p{color:#a3bbcc}
.communication-workspace .thread-scroll{height:510px;background:radial-gradient(circle,#25363b 1px,transparent 1px);background-size:24px 24px;padding:24px}
.communication-workspace .bubble{background:#253039;border-color:#3a4852;color:#e3edf4;border-radius:4px 13px 13px;padding:14px 17px;max-width:85%}.communication-workspace .bubble.outbound{background:#1e4938;border-color:#356b51;border-radius:13px 4px 13px 13px;color:#e6f8ee}.communication-workspace .bubble small,.communication-workspace .bubble-type,.communication-workspace .bubble .unavailable{color:#9abdbb}
.communication-workspace .thread-footnote{background:#19232a;border-color:#303f48;color:#94afc1;font-size:10px}.communication-workspace .image-preview{background:#19232a;border-color:#3b4b52}.communication-workspace .icon-button{color:#9fc1d5}.communication-workspace dialog{color:#e3edf4}.communication-workspace dialog p{color:#b9cbd8}
@media(max-width:1100px){.communication-workspace .customer-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.communication-workspace .filter-bar{grid-template-columns:1fr 1fr}.communication-workspace .communication-compose-layout{grid-template-columns:1fr}.communication-compose-guide{border-left:0;border-top:1px solid #30383f}.communication-compose-guide ol{grid-template-columns:1fr 1fr}.communication-workspace .inbox-layout{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:850px){.communication-workspace .inbox-layout{grid-template-columns:1fr}.communication-workspace .thread-placeholder{min-height:420px}.communication-workspace .thread-scroll{height:60dvh}}
@media(max-width:560px){.communication-workspace .customer-hero{padding:22px;gap:20px}.communication-workspace .customer-hero h2{font-size:23px}.communication-workspace .customer-section-label{align-items:flex-start;flex-direction:column;gap:8px}.communication-workspace :is(.customer-stats,.customer-message-stats){grid-template-columns:1fr 1fr}.communication-workspace :is(.customer-stats,.customer-message-stats) .metric{padding:20px 17px;border-bottom:1px solid #30383f}.communication-workspace :is(.customer-stats,.customer-message-stats) .metric:nth-child(even){border-right:0}.communication-workspace :is(.customer-stats,.customer-message-stats) .metric:nth-last-child(-n+2){border-bottom:0}.communication-workspace .customer-shortcut{padding:17px}.communication-workspace .customer-shortcut strong{font-size:12px}.communication-workspace .customer-shortcuts{gap:10px}.communication-workspace .customer-period{padding:16px;flex-wrap:wrap;gap:10px}.communication-workspace .customer-message-area{padding:16px}.communication-workspace .customer-flows{padding:16px}.communication-workspace .section-heading{padding:20px 18px;align-items:flex-start;flex-wrap:wrap}.communication-workspace .filter-bar{padding:18px;grid-template-columns:1fr;gap:10px}.communication-workspace .pagination{padding:16px;gap:12px;flex-wrap:wrap}.communication-workspace .communication-start-grid{grid-template-columns:1fr;gap:16px}.communication-start-card{min-height:0}.communication-workspace .composer-body{padding:18px}.communication-compose-guide{padding:22px}.communication-compose-guide ol{grid-template-columns:1fr}.communication-workspace .compose-caption{flex-wrap:wrap}.communication-workspace .preview-actions{flex-wrap:wrap}.communication-workspace .thread-heading{padding:16px;flex-wrap:wrap}.communication-workspace .thread-scroll{padding:16px}.communication-workspace .bubble{max-width:92%}.communication-workspace .customer-lower{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.communication-workspace .customer-shortcut{transition:none}.communication-workspace .customer-shortcut:hover{transform:none}}
.communication-workspace .composer{max-width:none;width:100%}
.communication-workspace.studio-workspace:not(.guest) .customer-period select{color:#e7eef4;-webkit-text-fill-color:#e7eef4;background:#11181d;border-color:#3b4751}
.communication-workspace .shortcut-icon svg{width:20px;height:20px}
.communication-compose-guide li{list-style:none}
.communication-workspace.studio-workspace:not(.guest) #period-form :is(select,input){color:#e7eef4;-webkit-text-fill-color:#e7eef4;background:#11181d;border-color:#3b4751}
.communication-workspace .period-caption,.communication-workspace .period-group>label{color:#a9bdcd}
.communication-workspace .detail-meta{color:#dce8f1}.communication-workspace .detail-body{background:#14222a;border-color:#314650;color:#e1edf4!important}.communication-workspace .detail-source{color:#a8bfd0}.communication-workspace .timeline{color:#c7d9e5}.communication-workspace .timeline small{color:#93adbe}
@media(max-width:560px){.communication-workspace #view-messages table,.communication-workspace #view-messages tbody{display:block}.communication-workspace #view-messages thead{display:none}.communication-workspace #view-messages tr{display:grid;grid-template-columns:1fr auto;padding:18px;gap:12px;border-bottom:1px solid #30383f}.communication-workspace #view-messages td{padding:0;border:0;min-width:0;max-width:none}.communication-workspace #view-messages td:first-child{grid-column:1/-1}.communication-workspace #view-messages td:nth-child(2){grid-row:2}.communication-workspace #view-messages td:nth-child(3){grid-row:3;align-self:center}.communication-workspace #view-messages td:nth-child(4){grid-row:2;justify-self:end}.communication-workspace #view-messages td:nth-child(5){grid-row:3;justify-self:end}.communication-workspace #view-messages .person-title{white-space:normal;max-width:none}.communication-workspace #view-messages .message-snippet{white-space:normal;max-width:none;line-height:1.8}.communication-workspace #view-messages .time-cell span{display:inline;margin-left:7px}.communication-workspace #view-messages .person-line>div{width:100%}}
/* The mobile drawer must not inherit the old horizontal tab navigation. */
@media(max-width:760px){
 .customer-workspace:not(.guest) .topbar{position:sticky;top:0;z-index:75;height:64px;min-height:64px;padding:12px;gap:10px;background:#191f24;border-bottom:1px solid #30383f}
 .customer-workspace:not(.guest) .sidebar{width:min(300px,88vw);top:64px;bottom:0;height:calc(100dvh - 64px);max-height:calc(100dvh - 64px);padding:22px 12px 0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
 .customer-workspace:not(.guest) .sidebar .brand{display:flex;flex-shrink:0;margin:0 10px 20px}
 .customer-workspace:not(.guest) .sidebar .workspace-label{display:flex;flex-shrink:0;margin:0 4px 18px;padding:12px;min-width:0;gap:10px}
 .customer-workspace:not(.guest) .sidebar .workspace-label>div{min-width:0;overflow-wrap:anywhere}
 .customer-workspace:not(.guest) .sidebar .workspace-icon{flex-shrink:0}
 .customer-workspace:not(.guest) .sidebar .nav-label{display:block;flex-shrink:0;margin:8px 12px 12px;font-size:10px}
 .customer-workspace:not(.guest) .sidebar nav{display:block;overflow:visible;white-space:normal;margin:0;padding:0 0 20px;width:100%;flex:1 0 auto;min-width:0}
 .customer-workspace:not(.guest) .sidebar .nav-item{width:100%;min-height:44px;height:auto;white-space:normal;overflow-wrap:anywhere;align-items:center;font-size:14px;line-height:1.5;padding:11px 12px;margin:3px 0;gap:12px;flex-shrink:0}
 .customer-workspace:not(.guest) .sidebar .nav-item>span[aria-hidden]{width:18px;min-width:18px;flex:0 0 18px}
 .customer-workspace:not(.guest) .sidebar .console-nav-group{width:100%;margin:4px 0;min-width:0}
 .customer-workspace:not(.guest) .sidebar .console-nav-group>summary{min-height:44px;height:auto;width:100%;white-space:normal;font-size:14px;line-height:1.5;padding:11px 12px;gap:12px;align-items:center}
 .customer-workspace:not(.guest) .sidebar .console-group-icon{width:18px;min-width:18px;flex:0 0 18px;display:flex;align-items:center}
 .customer-workspace:not(.guest) .sidebar .console-nav-group>summary::after{flex:0 0 18px;display:grid;place-items:center;font-size:20px}
 .customer-workspace:not(.guest) .sidebar .console-nav-group .nav-item{font-size:13px;padding:10px 12px 10px 42px;min-height:42px}
 .customer-workspace:not(.guest) .console-sidebar-logout{position:sticky;bottom:0;flex-shrink:0;background:#171c20;z-index:2;min-height:58px;padding:16px 24px;margin-top:auto;font-size:14px}
}
/* One customer shell, including commerce and subscription screens. */
.customer-workspace:not(.guest){--ink:#edf1f5;--muted:#b6c4ce;--border:#34424d;--line:#34424d;--surface:#191f24;--brand:#25d366}
.customer-workspace:not(.guest) .workspace-nav{display:block;overflow:visible;white-space:normal}
.customer-workspace:not(.guest) .workspace-group-title{margin:22px 12px 8px;color:#aebcc8;font-size:11px;font-weight:650;letter-spacing:1.2px;text-transform:uppercase}
.customer-workspace:not(.guest) .workspace-nav .workspace-legacy{display:none!important}
.customer-workspace:not(.guest) .workspace-nav-label{display:none!important}
.customer-workspace:not(.guest) :is(.customer-panel,.commerce-list,.sync-card,.panel){background:#191f24;border-color:#34424d;color:#edf1f5}
.customer-workspace:not(.guest) :is(.customer-empty,.customer-module-grid>div,.workspace-note,.detail-facts>div,.customer-limit,.customer-panel-body){background:transparent;color:#edf1f5;border-color:#34424d}
.customer-workspace:not(.guest) :is(.customer-empty p,.customer-panel p,.customer-module-grid p,.workspace-note small,.metric small,.customer-footnote,.customer-limit small){color:#b6c4ce;font-size:13px;line-height:1.7}
.customer-workspace:not(.guest) :is(input,select,textarea){background:#11181e;color:#edf1f5;-webkit-text-fill-color:#edf1f5;border-color:#455562}
.customer-workspace:not(.guest) :is(.info-note,.workspace-note){background:#142b31;border:1px solid #34545e;color:#c8e0ea}
.customer-workspace:not(.guest) :is(th,td){border-color:#34424d;color:#e4edf3}
.customer-workspace:not(.guest) th{background:#141c22;color:#b6c4ce}
.customer-workspace:not(.guest) tr:hover td{background:#202c33}
.customer-workspace:not(.guest) :is(.text-link,.text-button){color:#78e1b9}
.customer-workspace:not(.guest) :is(.detail-facts strong,.customer-state-title,.customer-limit strong){color:#edf1f5}
.customer-workspace:not(.guest) .customer-empty{padding:44px 24px;border:1px dashed #455562;border-radius:16px;text-align:center}
.customer-workspace:not(.guest) .customer-empty-icon{color:#78e1b9}
.customer-workspace:not(.guest) :is(a,button,input,select,textarea):focus-visible{outline:2px solid #68b9ff;outline-offset:3px}
.setup-progress-card{background:linear-gradient(120deg,#192d29,#17232e);border:1px solid #345849;border-radius:18px;padding:26px;margin-bottom:24px}
.setup-progress-top{display:flex;justify-content:space-between;gap:20px;align-items:center}
.setup-progress-top h2{font-size:23px;margin:8px 0}.setup-progress-top p:not(.eyebrow){font-size:14px;color:#b6c4ce;line-height:1.7;margin:0}
.setup-progress-count{font-size:26px;color:#78e1b9;white-space:nowrap}
.setup-progress-card>progress{width:100%;height:7px;accent-color:#25d366;margin:22px 0}
.setup-progress-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:22px}
.setup-progress-step{display:grid;gap:8px;padding:15px;background:#152025;border:1px solid #34424d;border-radius:12px;color:#edf1f5;text-decoration:none}
.setup-progress-step:hover{border-color:#5c9e88}.setup-progress-step small{font-size:13px;line-height:1.6;color:#b6c4ce}
.setup-step-mark{width:28px;height:28px;border-radius:50%;background:#2b3741;display:grid;place-items:center;color:#c9d6e0}.setup-step-mark.complete{background:#194a35;color:#78e1b9}
.setup-next{display:inline-flex;text-decoration:none;white-space:normal}.setup-footnote{display:block;color:#b6c4ce;font-size:13px;line-height:1.7;margin-top:14px}
.workspace-page-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.workspace-page-tabs a{padding:10px 16px;border:1px solid #455562;border-radius:9px;text-decoration:none;color:#b6c4ce;font-size:14px}.workspace-page-tabs a[aria-current=page]{color:#78e1b9;border-color:#398065;background:#1e362e}
@media(max-width:760px){.setup-progress-card{padding:20px}.setup-progress-steps{grid-template-columns:1fr 1fr}.customer-workspace:not(.guest) .workspace-group-title{margin:20px 12px 8px}.customer-workspace:not(.guest) .commerce-toolbar{display:flex;flex-direction:column;align-items:stretch}.customer-workspace:not(.guest) .commerce-toolbar>*{width:100%;min-width:0}.customer-workspace:not(.guest) .commerce-list table,.customer-workspace:not(.guest) .commerce-list tbody{display:block}.customer-workspace:not(.guest) .commerce-list thead{display:none}.customer-workspace:not(.guest) .commerce-list tr{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px;border-bottom:1px solid #34424d}.customer-workspace:not(.guest) .commerce-list td{padding:0;border:0;white-space:normal;min-width:0}.customer-workspace:not(.guest) .commerce-list td:first-child,.customer-workspace:not(.guest) .commerce-list td:last-child{grid-column:1/-1}.customer-workspace:not(.guest) .commerce-list .row-actions{display:flex;gap:16px}}
@media(max-width:480px){.setup-progress-top{align-items:flex-start}.setup-progress-top h2{font-size:21px}.setup-progress-steps{grid-template-columns:1fr}.customer-workspace:not(.guest) :is(.customer-stats,.customer-message-stats){grid-template-columns:1fr}.customer-workspace:not(.guest) .customer-stats .metric{border-right:0!important;border-bottom:1px solid #34424d!important}.customer-workspace:not(.guest) .customer-stats .metric:last-child{border-bottom:0!important}}
.customer-workspace:not(.guest){--customer-ink:#edf1f5;--customer-muted:#b6c4ce;--customer-border:#34424d}
.customer-workspace:not(.guest) .ops-facts{border-color:#34424d}.customer-workspace:not(.guest) .ops-facts dt{color:#b6c4ce;font-size:13px}.customer-workspace:not(.guest) .ops-facts dd{color:#edf1f5;font-size:14px}
.customer-workspace:not(.guest) .renewal-tag{background:#1d3c30;color:#92ebc7;border-color:#3b6854}
.customer-workspace:not(.guest) .metric{background:#191f24!important;border-color:#34424d;color:#edf1f5}.customer-workspace:not(.guest) .metric>strong{color:#edf1f5}.customer-workspace:not(.guest) .metric>span{color:#b6c4ce}
.customer-workspace:not(.guest) .status-pill.success{background:#1d3c30;color:#92ebc7;border-color:#3b6854}.customer-workspace:not(.guest) .status-pill.unknown{background:#2a3037;color:#c3cfda;border-color:#455562}
@media(max-width:760px){.customer-workspace:not(.guest) .commerce-list td[data-label]::before{content:attr(data-label);display:block;color:#b6c4ce;font-size:12px;margin-bottom:5px}}

/* Customer revision 2: readable surfaces, shared setup, provider availability. */
body.customer-workspace{min-height:100vh;background:#111719;color:#eef3f6}
body.customer-workspace main,body.customer-workspace .main{min-height:100vh;background:#111719}
body.customer-workspace small,body.customer-workspace .muted,body.customer-workspace .studio-note,body.customer-workspace .setup-footnote,body.customer-workspace .customer-footnote{font-size:13px;color:#bdc9d2}
body.customer-workspace .setup-progress-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
body.customer-workspace .setup-progress-step{display:flex;flex-direction:column;gap:10px;min-width:0}
body.customer-workspace .setup-progress-step .status-pill{align-self:flex-start}
body.customer-workspace .customer-flows{display:flex;flex-direction:column;gap:0}
body.customer-workspace .customer-flows article{display:grid;grid-template-columns:150px 190px 1fr auto;gap:18px;align-items:center;padding:18px 0;border-bottom:1px solid #33434d;background:transparent}
body.customer-workspace .customer-flows article:last-child{border-bottom:0}
.integration-providers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.login-remember{display:flex!important;align-items:center;gap:10px;font-size:14px!important;margin:16px 0!important}
.login-remember[hidden]{display:none!important}.login-remember input{width:18px!important;height:18px!important;margin:0!important;accent-color:#25d366}
@media(max-width:760px){body.customer-workspace .setup-progress-steps,.integration-providers{grid-template-columns:1fr}body.customer-workspace .customer-flows article{display:flex;flex-direction:column;align-items:flex-start;gap:10px}body.customer-workspace .setup-next{white-space:normal;max-width:100%}}

.status-pill.setup-attention{color:#ffe19c;background:#453719;border:1px solid #806128}
body.customer-workspace #checked-at{font-size:13px;color:#bdc9d2}
body.customer-workspace .primary:not(:disabled){background:linear-gradient(110deg,#0e805f,#0c8741)!important;color:#fff!important}
@media(max-width:760px){body.customer-workspace .metrics,body.customer-workspace .customer-stats{grid-template-columns:minmax(0,1fr)!important}body.customer-workspace .metric{grid-column:auto!important}}

.wizard-steps{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px;color:#b8c3d0;font-size:13px}.wizard-steps span{padding:10px;border:1px solid #3e4a55;border-radius:10px}.wizard-steps .current{color:#fff;background:#0e805f}.template-variable{margin-bottom:18px}.template-variable input,.template-variable select{width:100%}.studio-tabs [aria-pressed=true]{background:#0e805f;color:white}
.topbar-right{position:relative}.avatar-menu{position:absolute;z-index:100;right:0;top:calc(100% + 12px);width:260px;max-width:85vw;background:#191f25;border:1px solid #3e4a55;border-radius:16px;padding:18px;box-shadow:0 18px 40px #0006}.avatar-menu strong,.avatar-menu small{display:block;overflow-wrap:anywhere;margin-bottom:12px;color:#d0d9e4}.avatar-menu button{display:block;width:100%;margin-top:10px}.line-empty{width:100%;box-sizing:border-box}.studio-bulk-option{overflow-wrap:anywhere}.studio-editor-layout>*{min-width:0}

.demo-presentation .demo-redundant,.demo-presentation .sidebar-pilot-note{display:none!important}

#edit-dialog:has(.wizard-steps){width:min(960px,calc(100vw - 32px));max-width:960px;box-sizing:border-box;max-height:calc(100dvh - 32px)}#edit-dialog:has(.wizard-steps) .studio-editor-layout{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)}#edit-dialog .studio-chat{min-height:180px}.studio-workspace .studio-phone .studio-bubble>p{color:#263b36!important}.studio-phone .studio-chat-footer,.studio-phone .studio-chat-time,.studio-phone .studio-preview-caption,.studio-phone .studio-chat-day{color:#465c55!important;font-size:13px!important}.studio-phone .studio-phone-head small{font-size:13px!important;color:#d1eadf!important}.studio-phone .studio-chat-link{color:#006693!important;font-size:13px!important}.studio-workspace .studio-phone .studio-preview-caption{color:#465c55!important}.studio-tabs button,.template-variable label{font-size:13px!important}@media(max-width:760px){#edit-dialog:has(.wizard-steps) .studio-editor-layout{grid-template-columns:1fr}#edit-dialog:has(.wizard-steps){padding:18px}.wizard-steps{gap:5px}.wizard-steps span{padding:8px}.communication-compose-layout{display:block}.studio-phone{max-width:100%}}

@media(max-width:760px){.customer-workspace:not(.guest) .topbar .avatar{display:grid!important;place-items:center}.customer-workspace:not(.guest) .topbar .topbar-right{display:flex!important}}

/* Round 3: keep compact labels readable in forms, mobile tables and menus. */
body.customer-workspace:not(.guest) :is(label,small,.studio-note,.workspace-group-title,.eyebrow,.thread-footnote,.customer-footnote,.commerce-control>span,.crm-filter>span,.status-pill,.wizard-steps>span){font-size:13px!important}
@media(max-width:760px){body.customer-workspace:not(.guest) .commerce-list td[data-label]::before{font-size:13px}}

/* Round 4: two-way conversations and consistent empty/error components. */
.notice[hidden],.page-error[hidden]{display:none!important}.notice:empty{display:none!important}
.page-error{padding:20px;border:1px solid #785640;border-radius:14px;background:#30251f;color:#f5d8c4}.page-error h3{font-size:16px;margin:0 0 10px}.page-error p{font-size:14px;line-height:1.6}.integration-provider-label{display:inline-flex;padding:10px 14px;border:1px solid #345849;border-radius:10px;color:#98edc6;background:#19342b;font-weight:650}
.conversation-person{display:flex;align-items:center;justify-content:space-between;gap:8px}.unread-badge{background:#25d366;color:#052415;border-radius:20px;padding:3px 8px;font-weight:750;font-size:13px}.conversation-window{font-size:13px;color:#b6c4ce}.conversation-window.open{color:#9eebc1}.conversation-window.open::before{content:'●';color:#25d366;margin-right:6px}
.customer-workspace .bubble.inbound{align-self:flex-start;background:#252e35!important;color:#eef3f6!important;border:1px solid #3b4b56}.customer-workspace .bubble.outbound{align-self:flex-end;background:#164d38!important;color:#f0fff6!important;border:1px solid #36805d}.customer-workspace .bubble small,.customer-workspace .bubble-template{display:block;color:#c8dad4!important;font-size:13px}.bubble-template{margin:8px 0}.bubble-history{font-size:13px!important;margin-top:8px;color:#9eebc1!important}
#thread-messages{display:flex;flex-direction:column;gap:14px}.conversation-reply-form{display:grid;gap:10px}.conversation-reply-form textarea{width:100%;resize:vertical;padding:12px;min-height:70px}.conversation-reply-form button{justify-self:end}.conversation-reply-form .consent-row{display:flex;align-items:center;gap:10px}.consent-row input{width:18px;height:18px;flex:none}#conversation-reply{padding:18px 20px;border-top:1px solid #34424d;background:#191f24}#conversation-reply .studio-note{margin:0 0 12px}.thread-heading{min-width:0}.thread-heading h2{overflow-wrap:anywhere}.conversation-item .message-snippet{overflow-wrap:anywhere}
@media(max-width:760px){.customer-workspace #view-inbox.thread-open .thread-column{display:block;width:100%}.customer-workspace #view-inbox.thread-open .conversation-column{display:none}.customer-workspace #view-inbox:not(.thread-open) .thread-column{display:none}.customer-workspace .inbox-layout{display:block}.customer-workspace .conversation-column{width:100%;border-right:0}.customer-workspace #back-to-conversations{display:inline-flex}.customer-workspace .thread-scroll{height:42vh;min-height:240px}.customer-workspace .bubble{max-width:94%}.customer-workspace .thread-heading{padding:14px;flex-wrap:wrap}#conversation-reply{padding:14px}.conversation-reply-form button{width:100%;justify-self:stretch}}
.studio-workspace:not(.guest) #conversation-reply .consent-row{display:flex;align-items:flex-start;gap:10px;line-height:1.6;min-width:0;color:#b6c4ce}
.studio-workspace:not(.guest) #conversation-reply .consent-row input[type="checkbox"]{width:18px;height:18px;min-width:18px;min-height:18px;padding:0;margin:2px 0 0;flex:0 0 18px;accent-color:#44c982}
#conversation-reply .consent-row span{flex:1;min-width:0;overflow-wrap:anywhere}
.customer-workspace #thread-messages .bubble{margin:0}
#conversation-reply .reply-result{font-size:13px;color:#93dec0;margin:0}

/* Keep consent controls compact despite the shared full-width field styling. */
.studio-workspace:not(.guest) .consent-row{display:flex;align-items:flex-start;gap:10px;min-width:0;max-width:100%;white-space:normal}
.studio-workspace:not(.guest) .consent-row input[type="checkbox"]{box-sizing:border-box;width:18px;height:18px;min-width:18px;max-width:18px;min-height:18px;padding:0;margin:3px 0 0;flex:0 0 18px;accent-color:#25d366}
.studio-workspace:not(.guest) .consent-row>span{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
