/* Communication tools inherit the approved studio palette and local typefaces. */
.communications{min-width:0}.communications h2,.communications h3{overflow-wrap:anywhere}.communications p{line-height:1.65}.communications fieldset{border:0;padding:0;margin:0;min-width:0}.communications fieldset:disabled{opacity:.72}.communications form>.form-grid,.communications fieldset>.form-grid{margin:20px 0}.communications .form-field,.comm-wizard-dialog .form-field{font-size:12px;margin:16px 0}.communications input,.communications textarea,.communications select{min-height:48px}.communications .button,.comm-wizard-dialog .button{min-height:44px}.communications .panel{margin-bottom:22px;min-width:0}.comm-connect-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:25px 0}.comm-connect-card{display:flex;flex-direction:column;padding:30px}.comm-connect-card h2{font:600 28px Montserrat,sans-serif;letter-spacing:-1px;margin:22px 0 12px}.comm-connect-card>p{color:var(--muted);font-size:14px;max-width:390px}.comm-connect-card .card-actions{margin-top:auto;padding-top:24px}.comm-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.comm-card-top .badge{font-size:11px;padding:8px 11px}.comm-channel-icon{height:54px;width:54px;background:var(--accent);border-radius:16px;display:grid;place-items:center}.comm-channel-icon .icon{height:26px;width:26px}.comm-connect-card:nth-child(2) .comm-channel-icon{background:var(--ink);color:#fff}.comm-details{margin:28px 0 0;display:grid;gap:0}.comm-details>div{border-top:1px solid var(--line);padding:14px 0;display:grid;grid-template-columns:140px minmax(0,1fr);gap:16px;font-size:12px;line-height:1.55}.comm-details dt{color:var(--muted)}.comm-details dd{margin:0;overflow-wrap:anywhere;font-weight:500}.comm-error{font-size:13px;color:#943f26;background:#f8eee7;padding:15px;border-radius:12px}.comm-onboarding{counter-reset:steps;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;list-style:none;padding:0;margin:10px 0}.comm-onboarding li{counter-increment:steps;display:grid;align-content:start;gap:10px;font-size:13px}.comm-onboarding li::before{content:counter(steps,decimal-leading-zero);font:500 12px Montserrat,sans-serif;color:var(--muted)}.comm-onboarding strong{font:600 16px Montserrat,sans-serif}.comm-onboarding span{line-height:1.7;color:var(--muted)}.comm-back{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.comm-save-state{font-size:12px;color:var(--muted)}.comm-hint{font-size:12px;line-height:1.6;color:var(--muted);margin:12px 0 20px}.comm-advanced{border:1px solid var(--line);border-radius:16px;padding:0 18px;margin:22px 0;background:#f6f7f1;min-width:0}.comm-advanced summary{min-height:52px;display:list-item;padding:16px 0;cursor:pointer;font-size:13px;font-weight:500}.comm-advanced summary:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.comm-advanced p{font-size:12px;color:var(--muted);margin:0 0 18px}.comm-secret-block{margin:25px 0}.comm-checklist{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:22px}.comm-checklist li{display:flex;align-items:flex-start;gap:14px}.comm-checklist .icon{color:#546b16;flex:0 0 22px;width:22px;height:22px}.comm-checklist p{font-size:12px;color:var(--muted);margin:7px 0 0;overflow-wrap:anywhere}.comm-checklist strong{font-size:14px}.comm-operation-result{font-size:13px;line-height:1.6}.comm-inline-form{display:flex;align-items:end;gap:16px;margin-bottom:20px}.comm-inline-form .form-field{flex:1;margin:0}.comm-inline-form .button{flex-shrink:0}.comm-binding-list article{padding:22px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:20px}.comm-binding-list article:last-child{border-bottom:0}.comm-binding-list p{font-size:12px;color:var(--muted);margin-top:5px}.comm-binding-result a{display:block;overflow-wrap:anywhere;text-decoration:underline;padding:12px 0}.comm-binding-result p{font-size:12px;line-height:1.6}.comm-section-title{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:36px 0 22px}.comm-section-title h2{font:600 23px Montserrat,sans-serif;letter-spacing:-.7px}.comm-section-title p{font-size:13px;color:var(--muted);margin:9px 0 0;max-width:650px}.comm-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.comm-preset{position:relative;border:1px solid #dce1d3;border-radius:20px;background:#f9faf5;padding:24px;display:flex;flex-direction:column;min-width:0}.comm-preset>.icon{width:27px;height:27px;margin-bottom:28px}.comm-preset:first-child{background:var(--accent);border-color:var(--accent)}.comm-preset-number{position:absolute;right:24px;top:27px;font:500 11px Montserrat,sans-serif;color:var(--muted)}.comm-preset h3{font:600 17px/1.4 Montserrat,sans-serif;letter-spacing:-.4px;margin-bottom:10px}.comm-preset>p{font-size:12px;color:var(--muted);margin-bottom:24px}.comm-preset-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto}.comm-preset-actions .button{font-size:11px;padding:11px 14px;min-height:44px}.comm-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.comm-template-card{padding:22px;display:flex;flex-direction:column;min-width:0}.comm-template-card>h3{font:600 17px/1.5 Montserrat,sans-serif;margin:22px 0 12px}.comm-template-card>p{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-height:60px;white-space:pre-line;margin-bottom:20px;overflow-wrap:anywhere}.comm-template-card>.card-actions{margin-top:auto}.comm-template-art{background:#f1f1ed;min-height:195px;padding:23px 22px 18px;margin-top:20px;border-radius:14px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;overflow:hidden}.comm-template-art img{width:115px;max-width:100%;height:25px;object-fit:contain;object-position:left}.comm-template-art span{font:600 14px/1.4 Montserrat,sans-serif;letter-spacing:-.4px;margin:8px 0 3px;max-width:100%;overflow-wrap:anywhere}.comm-template-art i{display:block;width:90%;height:4px;background:#dadcd3;border-radius:6px}.comm-template-art i+i{width:60%}.comm-template-art b{font-size:9px;background:var(--accent);border-radius:5px;padding:8px 13px;margin-top:7px}.comm-template-art.promotion{border-top:7px solid var(--ink)}.comm-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.comm-editor-fields h2,.comm-preview-controls h2{font:600 20px Montserrat,sans-serif;margin-bottom:14px}.comm-editor-fields{padding:26px}.comm-editor-fields h3{font-size:16px;margin:26px 0 14px}.comm-editor-fields .form-grid{gap:14px}.comm-editor-fields .form-grid .form-field{margin:0}.comm-editor-fields .form-grid{margin:20px 0}.comm-variables{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.comm-variables button{border:1px solid #d9dfce;background:#f0f3e6;font:400 12px Roboto,sans-serif;padding:10px 12px;min-height:44px;border-radius:10px;cursor:pointer;color:#455529}.comm-preview-panel{position:sticky;top:24px;min-width:0}.comm-preview-controls>.section-tabs{margin:18px 0}.comm-preview-controls .form-field{margin:16px 0}.comm-preview-frame{margin:0 auto;background:#e8eae3;padding:14px;border-radius:20px;max-width:100%;transition:max-width .15s}.comm-preview-frame.desktop{width:100%}.comm-preview-frame.mobile{width:365px}.comm-preview-frame iframe{display:block;background:white;border:0;width:100%;height:640px;border-radius:12px}.comm-preview-panel pre{font:400 13px/1.7 Roboto,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 18px}.comm-max-preview{min-height:380px;padding:18px 12px;background:#f7f8f3;border-radius:12px}.comm-max-brand{font:600 14px Montserrat,sans-serif;margin:8px 0 22px}.comm-max-brand span{display:block;font:400 11px Roboto,sans-serif;color:var(--muted);margin-top:8px}.comm-max-message{padding:20px;background:white;border-radius:16px 16px 16px 2px;white-space:pre-wrap;font-size:14px;line-height:1.65;overflow-wrap:anywhere}.comm-max-buttons{display:grid;gap:6px;margin-top:6px}.comm-max-buttons span{padding:14px;border-radius:10px;background:#e6ebd9;text-align:center;font-size:13px;overflow-wrap:anywhere}.comm-sticky-actions{display:flex;flex-wrap:wrap;gap:12px;position:sticky;bottom:0;padding:16px 0 calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);margin-top:20px}.comm-button-editor{border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:18px}.comm-button-editor .form-field{margin:12px 0}.comm-wizard-steps{display:flex;gap:14px;list-style:none;padding:0;margin:0 0 28px}.comm-wizard-steps li{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.comm-wizard-steps span{display:grid;place-items:center;border:1px solid #d6dccb;border-radius:50%;width:28px;height:28px;font-size:11px;flex-shrink:0}.comm-wizard-steps .active{color:var(--ink);font-weight:600}.comm-wizard-steps .active span{background:var(--accent);border-color:var(--accent)}.comm-wizard-dialog:has(#stage-scenario-form){width:min(760px,calc(100% - 24px))}.comm-wizard-dialog [data-wizard-step]>h3{font:600 19px/1.5 Montserrat,sans-serif;margin:0 0 20px}.comm-wizard-dialog [data-wizard-step]>h3:focus{outline:none}.comm-wizard-dialog [hidden],.communications [hidden]{display:none!important}.comm-audience-presets{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.comm-audience-presets .button{font-size:11px;padding:12px}.comm-preview-counts{display:flex;flex-wrap:wrap;gap:15px;margin:24px 0;font-size:14px}.comm-wizard-dialog .form-buttons{position:sticky;bottom:-30px;background:#fafbf7;padding-bottom:calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}.communications .field-error{font-size:13px;line-height:1.6;padding:12px 0}.communications button:disabled{opacity:.55;cursor:wait}.communications input[type=checkbox]{flex-shrink:0}.communications .check-row{padding:10px 0;line-height:1.6}.communications input:focus-visible,.communications textarea:focus-visible,.communications select:focus-visible,.communications button:focus-visible{outline:2px solid #52661b;outline-offset:3px}.comm-template-card .small{font-size:10px}.comm-preview-controls .section-tabs button{flex:1;padding-inline:10px}
@media(min-width:1700px){.comm-editor-grid{grid-template-columns:minmax(450px,.95fr) minmax(500px,1.05fr)}.comm-preview-frame iframe{height:750px}}
@media(max-width:1200px){.comm-connect-card{padding:25px}.comm-details>div{grid-template-columns:110px minmax(0,1fr);gap:12px}.comm-onboarding{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.comm-preset-grid,.comm-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.comm-editor-grid{gap:18px}.comm-editor-fields{padding:22px}.comm-editor-fields .form-grid{grid-template-columns:1fr}.comm-editor-fields .full{grid-column:auto}.comm-sticky-actions .button{width:100%;justify-content:center}}
@media(max-width:1000px){.comm-editor-grid{grid-template-columns:1fr}.comm-preview-panel{position:static}.comm-preview-frame.desktop{max-width:720px}.comm-editor-fields .form-grid{grid-template-columns:1fr 1fr}.comm-editor-fields .full{grid-column:1/-1}.comm-sticky-actions .button{width:auto}.comm-sticky-actions{position:static}.comm-preview-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.comm-preview-controls h2{grid-column:1/-1}.comm-preview-controls>.section-tabs,.comm-preview-controls>.form-field{margin:0}}
@media(max-width:600px){.comm-connect-grid{grid-template-columns:1fr;gap:0;margin-top:20px}.comm-connect-card{padding:24px}.comm-connect-card h2{font-size:26px}.comm-card-top .badge{font-size:10px}.comm-details>div{grid-template-columns:100px minmax(0,1fr);font-size:12px}.comm-onboarding{grid-template-columns:1fr;gap:25px}.comm-onboarding li{grid-template-columns:28px minmax(0,1fr);column-gap:16px;row-gap:5px}.comm-onboarding li::before{grid-row:1/3;padding-top:3px}.comm-onboarding li span{grid-column:2}.comm-inline-form{align-items:stretch;flex-direction:column}.comm-inline-form .button{justify-content:center}.comm-binding-list article{align-items:flex-start;flex-direction:column;gap:12px}.comm-binding-list .card-actions{flex-wrap:wrap}.comm-section-title{align-items:flex-start;flex-direction:column;gap:16px;margin-top:28px}.comm-section-title h2{font-size:22px}.comm-preset-grid,.comm-template-grid{grid-template-columns:1fr;gap:12px}.comm-preset{padding:24px;min-height:220px}.comm-preset>.icon{margin-bottom:20px}.comm-preset h3{font-size:19px}.comm-preset>p{font-size:13px}.comm-preset-actions .button{font-size:12px;flex:1;justify-content:center}.comm-template-art{min-height:230px}.comm-template-art span{font-size:17px}.comm-editor-fields .form-grid{grid-template-columns:1fr}.comm-editor-fields .full{grid-column:auto}.comm-editor-fields{padding:22px 18px}.comm-editor-fields .form-field,.communications .form-field{font-size:12px}.comm-editor-fields h2{font-size:19px}.comm-preview-controls{grid-template-columns:1fr}.comm-preview-controls h2{grid-column:auto}.comm-preview-controls>.section-tabs{margin:0 0 10px}.comm-preview-frame{padding:8px;border-radius:15px}.comm-preview-frame iframe{height:580px}.comm-back{align-items:flex-start}.comm-back .button{font-size:11px;padding:12px}.comm-save-state{font-size:11px;text-align:right;padding-top:14px}.comm-advanced{padding:0 14px}.comm-wizard-steps{gap:6px;justify-content:space-between}.comm-wizard-steps li{font-size:10px;flex-direction:column;gap:7px}.comm-wizard-steps span{width:28px;height:28px}.comm-wizard-dialog:has(#stage-scenario-form){padding:23px 18px;max-height:calc(100dvh - 16px)}.comm-wizard-dialog .form-buttons{bottom:-23px;gap:9px;display:flex;flex-wrap:wrap}.comm-wizard-dialog .form-buttons .button{font-size:11px;padding:12px 14px;flex:1;justify-content:center}.comm-wizard-dialog .form-buttons>[data-action=close]{flex-basis:100%;order:5}.comm-wizard-dialog [data-wizard-step]>h3{font-size:18px}.comm-audience-presets .button{flex:1 1 42%;min-height:48px;justify-content:center;font-size:11px}.comm-sticky-actions{gap:10px}.comm-sticky-actions .button{flex:1 1 100%;justify-content:center}.comm-preview-panel .comm-advanced{margin-bottom:0}}
@media(prefers-reduced-motion:reduce){.comm-preview-frame{transition:none}}
.comm-binding-qr{display:block;width:180px;height:180px;max-width:100%;margin:18px 0;background:white;border-radius:10px;padding:10px}
.comm-sticky-actions{position:static}.comm-mobile-editor-tabs{display:none}.comm-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.comm-insights article{background:#f3f5ed;border-radius:16px;padding:20px;min-width:0}.comm-insights article>strong{font:600 15px/1.5 Montserrat,sans-serif;overflow-wrap:anywhere}.comm-insights dl{margin-top:20px}.comm-insights dl>div{margin-top:14px}.comm-insights dt{font-size:11px;color:var(--muted);line-height:1.6}.comm-insights dd{margin:5px 0 0;font-size:16px;font-weight:600}
@media(max-width:1000px){.comm-mobile-editor-tabs{display:flex}.comm-editor-grid.mobile-content>.comm-preview-panel,.comm-editor-grid.mobile-preview>.comm-editor-fields{display:none}.comm-insights{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.comm-insights{grid-template-columns:1fr}}
.comm-dns-checks{margin-top:25px}
dialog:has(form[id^="comm-"]) .dialog-head .icon-button,.comm-wizard-dialog:has(#stage-scenario-form) .dialog-head .icon-button{min-width:44px;min-height:44px}dialog:has(form[id^="comm-"]) .form-field{margin:16px 0}dialog:has(form[id^="comm-"]) .button{min-height:44px}dialog:has(form[id^="comm-"]) .check-row{line-height:1.6;margin:18px 0}

/* MAX Account and explicit single/both-channel choices. Native radios keep keyboard access. */
.communications .comm-methods,.comm-wizard-dialog .comm-delivery-choice{border:0;padding:0;margin:22px 0;min-width:0}.comm-methods legend,.comm-delivery-choice legend{font:600 15px/1.5 Montserrat,sans-serif;margin-bottom:14px}.comm-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.comm-method{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:16px;padding:20px;background:#fafbf7;cursor:pointer;min-width:0}.comm-method:has(input:checked),.comm-delivery-option:has(input:checked){border-color:#819a35;background:#f0f5df;box-shadow:inset 0 0 0 1px #819a35}.comm-method input[type=radio],.comm-delivery-option input[type=radio],.comm-custom-choice input[type=radio]{min-height:0;width:18px;height:18px;min-width:18px;padding:0;flex:0 0 18px;margin:2px 0;accent-color:#52661b}.comm-method strong,.comm-delivery-option strong{display:block;font:600 13px/1.5 Montserrat,sans-serif}.comm-method small,.comm-delivery-option small{display:block;font:400 12px/1.6 Roboto,sans-serif;color:var(--muted);margin-top:7px;overflow-wrap:anywhere}.comm-phone-connect{margin:24px 0;padding:24px;border:1px solid var(--line);border-radius:18px;background:#f8f9f4}.comm-provider-heading{display:flex;align-items:center;gap:14px}.comm-provider-heading h3{margin:0;font:600 17px/1.4 Montserrat,sans-serif}.comm-provider-heading p{margin:6px 0 0;font-size:12px;color:var(--muted)}.comm-provider-heading .comm-channel-icon{flex:0 0 48px;width:48px;height:48px}.comm-setup-list{padding-left:22px;margin:22px 0;font-size:13px;line-height:1.8}.comm-setup-list li+li{margin-top:10px}.comm-help-link{display:inline-flex;gap:8px;align-items:center;min-height:44px;font-size:12px;text-decoration:underline;text-underline-offset:4px}.comm-help-link .icon{width:16px;height:16px}.comm-sender-details{padding-top:4px}.comm-delivery-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.comm-delivery-option{display:flex;align-items:flex-start;gap:10px;min-width:0;padding:17px 14px;border:1px solid var(--line);border-radius:14px;background:#fff;cursor:pointer}.comm-delivery-option .icon{width:21px;height:21px;display:block;margin-bottom:12px}.comm-delivery-option>span{min-width:0}.comm-custom-choice{margin-top:16px;font-size:12px}.comm-wizard-dialog [data-delivery-custom]{border:1px solid var(--line);border-radius:14px;padding:16px;margin:18px 0}.comm-method:focus-within,.comm-delivery-option:focus-within{outline:2px solid #52661b;outline-offset:3px}
@media(max-width:700px){.comm-methods{grid-template-columns:1fr}.comm-phone-connect{padding:20px 16px}.comm-delivery-options{grid-template-columns:1fr}.comm-delivery-option{padding:16px;min-height:82px}.comm-delivery-option .icon{float:left;margin:0 10px 0 0}.comm-delivery-option small{clear:both;padding-top:3px}.comm-method{padding:18px}.comm-provider-heading h3{font-size:16px}}

/* Notification controls wrap within their own page at tablet and phone widths. */
.notification-page-head{flex-wrap:wrap;align-items:flex-start}.notification-page-head>div:first-child{flex:1 1 240px;min-width:0}.notification-page-head .page-actions{flex:0 1 auto;flex-wrap:wrap;min-width:0;max-width:100%;justify-content:flex-end}.notification-page-head .page-actions .button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}.comm-wizard-dialog .channel-template[data-channel-template]{grid-template-columns:minmax(0,1fr)}
@media(max-width:900px){.notification-page-head{flex-direction:column;align-items:stretch;gap:18px}.notification-page-head>div:first-child{flex:0 1 auto}.notification-page-head .page-actions{width:100%;justify-content:flex-start}.notification-page-head .page-actions .button{flex:0 1 auto}.notification-page-head+.transport-notice>div{min-width:0;overflow-wrap:anywhere}}
@media(max-width:600px){.notification-page-head .page-actions .button{flex:1 1 150px;min-height:46px}}

/* Account sign-in updates only this dialog; the page and its scroll remain still. */
.comm-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.comm-max-auth-dialog{width:min(620px,calc(100% - 32px))}.comm-max-auth-dialog [hidden]{display:none!important}.comm-max-auth-status{display:flex;gap:13px;align-items:flex-start;margin-bottom:22px;background:#edf1e5;border-radius:16px;padding:18px}.comm-max-auth-status>span{flex:0 0 24px;display:grid;place-items:center;color:#52661b}.comm-max-auth-status strong{font:600 14px/1.5 Montserrat,sans-serif}.comm-max-auth-status p{margin:7px 0 0;font-size:12px;line-height:1.65;color:var(--muted);overflow-wrap:anywhere}.comm-max-qr-frame{display:grid;place-items:center;min-height:242px;width:242px;max-width:100%;padding:14px;border:1px solid var(--line);background:#fff;border-radius:20px;margin:0 auto 20px}.comm-max-qr-frame img{display:block;width:212px;height:auto;max-width:100%;image-rendering:pixelated}.comm-max-qr-frame p{font-size:13px;line-height:1.6;text-align:center;color:var(--muted);padding:20px 10px}.comm-max-auth-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}.comm-max-auth-dialog input{min-height:48px}.comm-max-auth-dialog #comm-max-password-pane{padding:4px 0 15px}.comm-max-auth-dialog #comm-max-password-pane>.button{width:100%}.comm-max-auth-dialog .comm-hint{line-height:1.7}.comm-max-auth-dialog .field-error{font-size:12px;line-height:1.65;padding:12px 0}.comm-max-auth-dialog .dialog-head .icon-button{min-width:44px;min-height:44px}
@media(max-width:600px){.comm-account-actions{flex-direction:column}.comm-account-actions .button{width:100%}.comm-max-auth-dialog{width:calc(100% - 20px);padding:24px 18px;max-height:calc(100dvh - 20px)}.comm-max-auth-dialog .dialog-head{gap:12px;margin-bottom:20px}.comm-max-auth-dialog .dialog-head h2{font-size:23px}.comm-max-auth-status{padding:15px;gap:10px}.comm-max-auth-actions .button{flex:1 1 100%;min-height:46px}.comm-max-qr-frame{width:228px;min-height:228px}.comm-max-qr-frame img{width:200px}}
