.send-shell{padding-bottom:160px}.send-card{padding:24px;margin-bottom:16px;min-width:0}.send-card h2{font-size:18px;margin:0}.send-card h3{font-size:15px}.send-head-fields,.send-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.send-head-fields{margin-top:18px}.send-page label{font-size:13px;color:#4f5e69;line-height:1.6;display:block}.send-page input:not([type=checkbox]):not([type=radio]),.send-page select,.send-page textarea{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #d9dee6;border-radius:8px;background:white;color:#27313b;font:inherit;display:block;margin-top:5px}.send-page textarea{line-height:1.8;resize:vertical}.send-page input[type=checkbox]{accent-color:#08743f;vertical-align:middle}.send-page input:focus-visible,.send-page select:focus-visible,.send-page textarea:focus-visible{outline:2px solid #16874b;outline-offset:1px}.send-page button{cursor:pointer}.send-page button:disabled{cursor:not-allowed;opacity:.5}.send-page [hidden]{display:none!important}.send-page .breadcrumb{display:flex;gap:10px;align-items:center}.send-nav{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.send-nav button{background:#f5f7fa;border:1px solid #e2e6ed;border-radius:8px;padding:9px 14px;color:#536272;font:inherit;font-size:12px}.send-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,1fr);gap:16px;align-items:start}.send-grid>.send-card{margin-bottom:16px}.send-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.send-stat{padding:14px;border-radius:10px;background:#f7f9fc;border:1px solid #e2e8f0}.send-stat span{display:block;color:#6a7b8c;font-size:12px}.send-stat strong{display:block;margin-top:8px;font-size:20px;color:#1c3546}.send-data-note,.send-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}.send-data-note>span{color:#6a7b8c;font-size:12px;flex:1}.send-context{background:#f1f7f3;border:1px solid #d7e9df;border-radius:10px;padding:14px;margin:14px 0;font-size:12px;line-height:1.9;color:#47634f}.send-context strong{color:#10653a}.send-route{display:flex;gap:10px;margin:16px 0}.send-route>div{flex:1;background:#f5f8fb;border:1px solid #dbe3ea;border-radius:10px;padding:14px}.send-route small{display:block;color:#6c7b89;margin:6px 0}.send-notice,.send-feedback{padding:12px 14px;background:#f0f7f3;border:1px solid #d4e6db;border-radius:9px;color:#25623d;font-size:13px;line-height:1.75}.send-feedback{margin:12px 0 0}.send-warning{background:#fff7e8;border-color:#efd4a0;color:#8a5b12}.send-switch{white-space:nowrap;padding:8px 12px;background:#f5f7f8;border-radius:8px}.send-fallback-editor{padding:16px;border:1px solid #e0e5eb;border-radius:12px;margin:12px 0}.send-fallback-editor h3{margin:0 0 12px}.send-table-wrap{overflow:auto}.send-table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.7}.send-table th{text-align:left;padding:12px;background:#f5f7fa;color:#657587;font-weight:600}.send-table td{padding:12px;border-bottom:1px solid #e5e9ee;vertical-align:top}.send-table td small{display:block;color:#7a8895}.send-tag{display:inline-block;padding:3px 7px;border-radius:6px;background:#e7f3eb;color:#176b3d;font-size:11px;font-weight:650;margin:2px}.send-tag.failed,.send-tag.stopped{background:#fff0ed;color:#a14f3b}.send-tag.pending,.send-tag.expired,.send-tag.skipped{background:#fff5df;color:#8d681e}.send-upload{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #9fb5a9;border-radius:12px;background:#f7faf8;padding:20px;margin-top:16px;cursor:pointer}.send-upload input{font-size:12px}.send-upload span{font-size:12px;color:#7c8994}.send-file{border:1px solid #e2e6eb;border-radius:10px;margin:10px 0;padding:12px}.send-file strong{overflow-wrap:anywhere}.send-file iframe{width:100%;height:400px;border:0}.send-file img{max-width:100%;max-height:350px}.send-block{border:1px solid #e2e7ec;border-radius:8px;padding:10px;margin:8px 0}.send-block header{display:flex;gap:5px;align-items:center}.send-block header strong{flex:1}.send-page .tpl-dialog{width:min(780px,calc(100% - 40px));max-width:780px}.send-page #send-dialog-content{font-size:14px;line-height:1.8}.send-picker{display:grid;grid-template-columns:1fr 1fr;gap:10px}.send-picker button{border:1px solid #dce5df;background:#f8fbf9;border-radius:10px;padding:16px;text-align:left;color:#263d30}.send-picker small{display:block;margin-top:8px;color:#6a7c70}.send-focus{box-shadow:inset 0 0 0 2px #22a264;background:#fcfffd}.send-page #preview-canvas{overflow:hidden}.send-page #preview-canvas.is-generating{opacity:.65;transition:opacity .3s}.send-page #tool-log pre{white-space:pre-wrap;font-size:12px;background:#f7f9fb;padding:14px;border-radius:8px}.send-page .top-flow{margin-bottom:16px}.send-page .tpl-progress{flex-wrap:wrap}.send-page .tpl-progress strong{flex:1}.send-page #email-export-source{min-height:220px}.send-page #standalone-chat{position:sticky;bottom:0;background:white;border:2px solid #198659;border-radius:12px;padding:16px}.send-page #standalone-log{max-height:160px;overflow:auto}.send-page #standalone-form{display:flex;gap:10px}.send-page #standalone-form label{flex:1}@media(max-width:900px){.send-grid{grid-template-columns:1fr}.send-stats{grid-template-columns:1fr 1fr}.send-card{padding:18px}.send-form-grid,.send-head-fields{grid-template-columns:1fr 1fr}.send-page .top-flow{align-items:flex-start;flex-wrap:wrap}}@media(max-width:560px){.send-form-grid,.send-head-fields,.send-picker{grid-template-columns:1fr}.send-route{flex-direction:column}.send-stats strong{font-size:17px}.send-page .top-actions{flex-wrap:wrap}}
.send-page .send-card{min-height:0;grid-column:auto;grid-row:auto;order:0}.send-page .send-card .composer-head{padding:0 0 10px}.send-page .send-card .composer-title{font-size:26px;white-space:normal}.send-page .tpl-toast.show{display:block}.send-page .send-writing{box-shadow:inset 0 0 0 2px #38a972;background:#f5fbf7}.send-page .send-card .tpl-section-title{gap:12px;flex-wrap:wrap}.send-page .send-card .tpl-field{margin:14px 0}.send-page .send-shell{padding-bottom:170px}.send-page .send-card h2{line-height:1.5}.send-page .send-card p{overflow-wrap:anywhere}
/* Compact channel workspaces: shared TasOn tokens, local scope only. */
.send-page .send-shell{max-width:1400px;margin:0 auto;padding-bottom:120px}.send-page .send-card{padding:20px;margin-bottom:0;border-radius:16px}.send-page .top-flow{margin-bottom:12px;padding:10px 16px}.send-page .send-heading-card{padding:18px 22px;margin-bottom:12px;position:relative}.send-page .send-heading-card .composer-head{padding:0;align-items:center}.send-page .send-card .composer-title{font-size:28px;font-weight:800;line-height:36px;letter-spacing:-.5px;margin:0}.send-page .composer-sub{font-size:14px;font-weight:400;margin:4px 0 0;line-height:1.6}.send-page .send-heading-card .send-meta-details{position:relative;margin-top:10px}.send-meta-details>summary,.send-context-details>summary,.send-variable-details>summary,.send-check-details>summary{font-size:14px;color:#536b5d;cursor:pointer;line-height:24px;font-weight:600}.send-page .send-meta-details .send-head-fields{margin-top:8px;max-width:900px}.send-page #kakao-tabs{margin-top:10px}.send-overview{display:flex;align-items:center;flex-wrap:wrap;gap:24px;border-top:1px solid var(--line-soft);margin-top:12px;padding-top:12px}.send-overview>span{display:flex;align-items:center;gap:8px}.send-overview small{font-size:13px;color:#697582}.send-overview strong{font-size:16px;font-weight:750}.send-overview>button{margin-left:auto}.send-workspace-tabs{display:flex;gap:4px;border-bottom:1px solid #dfe5e9;margin:0 0 14px;padding:0 8px}.send-workspace-tabs button{min-height:44px;padding:10px 16px;border:0;border-bottom:3px solid transparent;background:transparent;font-size:15px;font-weight:600;color:#697582}.send-workspace-tabs button[aria-selected=true]{color:#08743f;border-bottom-color:#08743f;font-weight:750}.send-workspace-tabs button span:not(:empty){display:inline-block;font-size:12px;padding:1px 6px;background:#e5f2e9;border-radius:6px;margin-left:6px}.send-workspace-panel{min-width:0}.send-page #send-panel-audience,.send-page #send-panel-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.send-page #send-panel-review{display:grid;gap:16px}.send-page .send-grid{grid-template-columns:minmax(0,1fr) 370px;gap:16px;align-items:start}.send-page[data-channel=email] .send-grid{grid-template-columns:minmax(0,1fr) minmax(390px,.9fr)}.send-page .send-grid>.send-card{margin:0}.send-page label{font-size:14px;color:#53606a;font-weight:500;line-height:1.5}.send-page input:not([type=checkbox]):not([type=radio]),.send-page select,.send-page textarea{font-size:14px;font-weight:400;padding:8px 10px;margin-top:4px;min-height:36px}.send-page #send-body{min-height:160px;height:180px;line-height:1.8}.send-page .send-card h2{font-size:18px;font-weight:750;letter-spacing:-.2px}.send-page .tpl-section-title{margin-bottom:12px}.send-page .send-card .tpl-field{margin:10px 0}.send-page .tpl-details{padding-top:10px;margin-top:10px}.send-page .send-stats{margin:14px 0;gap:8px}.send-page .send-stat{padding:12px}.send-page .send-stat strong{font-size:20px;margin-top:5px}.send-page .send-head-fields,.send-page .send-form-grid{gap:12px}.send-page #audience-card .send-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.send-page .send-inline{margin-top:12px;gap:6px}.send-page .send-context{padding:10px 12px;margin:8px 0;font-size:13px;line-height:1.6}.send-page .send-context-details{margin-bottom:10px}.send-page #preview-card>.tpl-section-title{align-items:center}.send-page #preview-card .tpl-tabs button{padding:6px 8px;font-size:13px}.send-page #preview-canvas{max-height:clamp(300px,calc(var(--send-workspace-height,900px) - 660px),480px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 4px 4px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-preview-options{position:sticky;top:0;background:#fff;z-index:2;gap:6px;padding:4px 0 8px;flex-wrap:wrap}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-phone{width:min(100%,300px);margin:0 auto;padding:8px;border-radius:30px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-bubble img{max-height:170px;object-fit:cover}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-status{padding:8px 12px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-header{padding:8px 12px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-thread{padding:10px 10px 16px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-bubble{font-size:14px;line-height:1.7}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-bubble p{font-size:14px;line-height:1.7}.send-page :is(#preview-canvas,#full-preview-content) .tpl-brand-hero{max-height:220px;object-fit:cover}.send-page :is(#preview-canvas,#full-preview-content) .tpl-push-device{max-width:310px;margin:0 auto}.send-page :is(#preview-canvas,#full-preview-content) .tpl-fax-sheet{margin-bottom:0}.send-page #send-preview-caption{font-size:12px;margin:10px 0}.send-page #send-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;padding-top:12px}.send-page #send-checks li{font-size:14px;line-height:1.5;margin:0;padding:4px 0}.send-page #send-review-bottom{display:block;margin:16px 0 0 auto}.send-page #send-tools{padding:14px 20px;font-size:14px}.send-page .send-focus{box-shadow:inset 0 0 0 2px #39a26a}.send-page .send-route{flex-wrap:wrap}.send-page .send-route>div{min-width:100px}.send-page .send-table th,.send-page .send-table td{padding:10px 12px;font-size:14px}.send-page #send-progress{padding:10px 12px;font-size:14px}.send-page #send-feedback{margin-top:10px;padding:8px 12px;font-size:14px}.send-page #fax-files-panel{margin-top:12px}.send-page .send-upload{padding:14px}.send-page .tpl-dialog[open]{display:flex;flex-direction:column;position:absolute;box-sizing:border-box;width:min(780px,calc(100% - 32px));max-width:900px;max-height:var(--send-dialog-height,80vh)!important;padding:0;overflow:hidden;border-radius:16px}.send-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid var(--line-soft);background:#fff;flex:0 0 auto}.send-modal-head h2{margin:0;font-size:20px!important}.send-modal-head .tpl-close{float:none;flex:0 0 32px;width:32px;height:32px}.send-modal-body{padding:18px 22px;min-height:0;overflow:auto;overscroll-behavior:contain;flex:1 1 auto;scrollbar-gutter:stable}.send-modal-foot{padding:12px 22px;background:#fff;border-top:1px solid var(--line-soft);display:flex;justify-content:flex-end;flex:0 0 auto}.send-modal-body .send-table-wrap{overflow:visible}.send-modal-body table{width:100%}.send-modal-body th{position:sticky;top:-18px;z-index:1}.send-page .tpl-dialog .send-picker{gap:10px}.send-page .tpl-dialog .send-picker button{padding:14px;font-size:14px}.send-page .tpl-dialog #send-dialog-content{font-size:14px}.send-page .tpl-full-preview{width:min(900px,calc(100% - 32px))!important}.send-page .tpl-full-preview .send-modal-body{padding:20px}.send-page .send-modal-body #full-preview-content{max-width:700px;margin:auto}.send-page .send-modal-body .tpl-sms-phone{max-width:360px;margin:auto}.send-page .tpl-dialog form:empty{display:none}
@media(min-width:1500px){.send-page .send-grid{grid-template-columns:minmax(0,1fr) 410px}.send-page .send-card{padding:22px}.send-page #send-body{height:200px}}
@media(max-width:1000px){.send-page .send-grid{grid-template-columns:minmax(0,1fr) 330px}.send-page #send-panel-audience,.send-page #send-panel-options{grid-template-columns:1fr}.send-page .send-overview{gap:12px}.send-page .send-overview strong{font-size:15px}.send-page .send-card{padding:18px}}
@media(max-width:750px){.send-page .send-grid,.send-page[data-channel=email] .send-grid{grid-template-columns:1fr}.send-page .send-heading-card .composer-title{font-size:26px}.send-page .send-workspace-tabs{overflow:auto;padding:0}.send-workspace-tabs button{white-space:nowrap;font-size:14px;padding:10px}.send-page #send-checks{grid-template-columns:1fr}.send-overview>button{margin-left:0}.send-page .send-shell{padding-bottom:120px}.send-modal-body{padding:14px}.send-modal-head{padding:14px}.send-page .send-modal-body .send-table-wrap{overflow:auto}.send-page .send-form-grid{grid-template-columns:1fr}}
/* Keep writing widths readable on presentation monitors. */
.send-page #content-card>.tpl-field,.send-page #content-card>.tpl-details,.send-page #content-card>.send-inline,.send-page #content-card>#approval-note,.send-page #content-card>#variant-tabs{max-width:820px}.send-page #content-card .send-inline{margin-top:10px}.send-page #content-card .tpl-details{margin-top:8px;padding-top:8px}.send-page #preview-card .tpl-sms-summary{margin:8px 0}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-phone{border-width:6px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-thread>small{margin:6px 0}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-header{min-height:0}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-bubble img{width:100%;height:160px;object-fit:cover}.send-page :is(#preview-canvas,#full-preview-content) .tpl-preview-options{min-height:32px}.send-page .send-modal-body .send-table td small{font-size:12px}.send-page .send-heading-card>.send-meta-details{margin-top:6px}.send-page .send-heading-card{padding-top:16px;padding-bottom:14px}

.send-page .send-upload{position:relative;cursor:pointer}.send-page .send-upload:focus-within{outline:2px solid #16874b;outline-offset:2px}.send-page .send-upload input[type=file]{position:absolute;inset:0;opacity:0;margin:0;padding:0;cursor:pointer;z-index:1}.send-page .send-upload .send-upload-action{padding:6px 16px;border:1px solid #bbd5c5;border-radius:8px;background:white;color:#08743f;font-size:14px;font-weight:600}

.send-page #content-card>.send-inline{margin:0 0 14px}.send-page #send-ai{background:#08743f;border-color:#08743f;color:white}.send-page #preview-canvas{border-bottom:1px solid var(--line-soft)}

/* Align channel workspaces with AI Messaging: full-width toolbar, editor and 300px preview. */
.send-page .send-shell{max-width:none;margin:0;padding-bottom:160px}
.send-page .send-workbench{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.send-page .send-editor-workspace{min-width:0;padding:24px 28px;border-radius:18px}
.send-page .send-editor-workspace>.send-heading-card{border:0;padding:0;box-shadow:none;background:transparent;margin-bottom:12px}
.send-page .send-card .composer-title{font-size:26px;line-height:1.4}
.send-page .send-editor-workspace .send-workspace-panel>.send-card{padding:16px 0 0;border:0;border-radius:0;box-shadow:none;background:transparent}
.send-page .send-editor-workspace #send-panel-content>.send-card{padding-top:2px}
.send-page #send-panel-audience,.send-page #send-panel-options{grid-template-columns:1fr}
@media(min-width:1450px){.send-page #send-panel-audience,.send-page #send-panel-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
.send-page .send-workspace-tabs{padding:0;margin-bottom:16px}.send-page .send-workspace-tabs button{padding:10px 12px}
.send-page .send-overview{gap:18px;background:#f7f9fc;border:1px solid #dbe3ee;border-radius:12px;padding:14px 16px;margin-top:16px}
.send-page #content-card>.tpl-field,.send-page #content-card>.tpl-details,.send-page #content-card>.send-inline,.send-page #content-card>#approval-note,.send-page #content-card>#variant-tabs{max-width:none}
.send-page #preview-card{padding:18px;border-radius:18px;min-width:0}.send-page #preview-card h2{font-size:20px;line-height:1.4;letter-spacing:0}
.send-page #preview-card>.tpl-section-title{margin-bottom:6px}.send-page .send-preview-description{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 14px}
.send-page #preview-card .tpl-field{font-size:13px;font-weight:700;margin:12px 0}.send-page #preview-card select{font-size:13px}
.send-page .send-context-details summary{font-size:12px}.send-page .send-context{border:0;background:transparent;padding:0;margin:6px 0 12px;font-size:12px;color:#667891}
.send-page #preview-canvas{max-height:none;overflow:visible;padding:0;border:0;scrollbar-gutter:auto}
.send-page #send-preview-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-end;margin:8px 0 12px}
.send-page #send-preview-tools .top-button{font-size:12px;padding:5px 8px}.send-page #send-preview-tools .tpl-tabs{flex-wrap:wrap}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-summary{display:flex;flex-wrap:wrap;font-size:11px;gap:4px;margin:8px 0}
.send-page :is(#preview-canvas,#full-preview-content) .send-device{box-sizing:border-box;width:100%;max-width:290px;height:620px;border:8px solid #171717;border-radius:42px;background:white;display:flex;flex-direction:column;overflow:hidden;padding:0;margin:0 auto}
.send-page .send-device-camera{width:70px;height:20px;flex-shrink:0;background:#080808;border-radius:0 0 12px 12px;margin:0 auto}
.send-page .send-device-status,.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-status{display:flex;justify-content:space-between;padding:0 18px;flex-shrink:0;font-size:12px;font-weight:800;line-height:20px}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-header{display:flex;flex-direction:column;gap:3px;align-items:center;background:white;border:0;padding:18px 0 10px;flex-shrink:0;min-height:0}
.send-page .send-brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#08743f;color:white;font-size:22px;font-weight:700}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-header strong{font-size:14px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-header small{font-size:12px;color:#9ca0ab}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-thread{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;background:white;padding:0 14px 26px}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-thread>small{display:none}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-bubble{background:#e8e8ee;border-radius:18px;padding:12px;font-size:14px}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-bubble img{width:100%;height:auto;max-height:none;object-fit:contain;border-radius:12px;margin-bottom:8px}
.send-page :is(#preview-canvas,#full-preview-content) .send-kakao-device .tpl-kakao{box-sizing:border-box;max-width:none;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1;border-radius:0;padding:12px 10px;margin:10px 0 0;width:100%}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-chat-notification{font-size:12px}.send-page :is(#preview-canvas,#full-preview-content) .tpl-brand-hero{max-height:none;height:auto;object-fit:contain}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-push-device{box-sizing:border-box;width:100%;max-width:290px;height:620px;min-height:0;border:8px solid #171717;border-radius:42px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:0 auto}
.send-page .send-document-screen{height:620px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;border:1px solid var(--line-soft);border-radius:12px;background:#f5f6f8}
.send-page .send-workbench[data-channel=email],.send-page .send-workbench[data-channel=fax]{grid-template-columns:minmax(0,1fr) 420px}
.send-page #preview-card[data-channel=email] .send-document-screen{height:620px}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-fax-sheet{min-width:350px;margin:0;padding:22px}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-email-stage{overflow:visible}
.send-page .send-completion{padding:10px 14px;background:#eff8f2;border-radius:10px;font-size:13px;color:#14673a}
.send-page .send-context-details[open] summary{color:#667891}
.send-page #preview-card:focus-within .send-device{box-shadow:0 0 0 2px #dceee3}
@media(max-width:1100px){.send-page .send-editor-workspace{padding:20px}.send-page .send-workbench[data-channel=email],.send-page .send-workbench[data-channel=fax]{grid-template-columns:minmax(0,1fr) 360px}.send-page .send-overview{gap:10px;padding:12px}}
@media(max-width:740px){.send-page .send-workbench,.send-page .send-workbench[data-channel=email],.send-page .send-workbench[data-channel=fax]{grid-template-columns:1fr}.send-page #preview-card{max-width:none}.send-page .send-editor-workspace{padding:18px}.send-page #send-panel-audience,.send-page #send-panel-options{grid-template-columns:1fr}}

.send-page #preview-card{position:relative}.send-page #preview-card[data-channel=text] .send-context-details>summary{display:none}
.send-page #preview-card[data-channel=text] #send-preview-tools{position:absolute;right:18px;top:16px;margin:0;min-height:0;background:transparent;padding:0}
.send-page #preview-card[data-channel=text] h2{font-size:18px;padding-right:65px}
.send-page #preview-card[data-channel=text] .send-context{margin:6px 0 12px}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-summary{justify-content:center;text-align:center;margin:10px 0 0}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-summary strong{display:none}
.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-bubble>img{display:block}.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-header .send-brand-mark{background:#08743f;color:white;font-size:22px}

.send-page #preview-canvas{position:static}
.send-page.send-embedded #send-progress{display:none}
.send-page .send-workspace-panel>.send-card.send-focus{box-shadow:inset 0 0 0 2px #39a26a;border-radius:12px;padding:16px}
.send-page #preview-card.send-focus{box-shadow:inset 0 0 0 2px #39a26a}

.send-page :is(#preview-canvas,#full-preview-content) .tpl-sms-thread>img{display:block;width:100%;height:auto;border-radius:14px;margin:0 0 8px}
.send-page #full-preview-content .send-device{width:290px;margin:0 auto}
.send-page .top-flow{margin-bottom:16px;padding:12px 16px}

.send-page #preview-card .send-context-details>summary{display:none}
.send-page #preview-card:is([data-channel=alimtalk],[data-channel=brand]) #send-preview-tools{position:absolute;right:18px;top:16px;margin:0;min-height:0;background:transparent;padding:0}
.send-page #preview-card:is([data-channel=alimtalk],[data-channel=brand]) h2{font-size:18px;padding-right:65px}
.send-page .send-notification{font-size:12px;margin-top:12px;color:#667891}.send-page .send-notification summary{cursor:pointer}
.send-page .send-document-screen,.send-page #preview-card[data-channel=email] .send-document-screen{height:clamp(360px,calc(var(--send-workspace-height,972px) - 540px),620px)}
/* Override the shared composer's tablet grid placement only inside this workbench. */
.send-page .send-workbench>.send-editor-workspace{grid-column:1;grid-row:1;order:0}
.send-page .send-workbench>#preview-card{grid-column:2;grid-row:1;order:0}
@media(max-width:740px){.send-page .send-workbench>.send-editor-workspace{grid-column:1;grid-row:1}.send-page .send-workbench>#preview-card{grid-column:1;grid-row:2}}

/* Proportional editor / preview across channel workspaces. */
.send-page .send-workbench,.send-page .send-workbench[data-channel=email],.send-page .send-workbench[data-channel=fax]{grid-template-columns:minmax(0,13fr) minmax(0,7fr)}
.send-page #preview-canvas .send-device,.send-page #preview-canvas .tpl-push-device{width:90%;max-width:420px;height:680px}
.send-page #preview-card .send-document-screen{height:clamp(450px,calc(var(--send-workspace-height,972px) - 360px),760px)}
@media(max-width:740px){.send-page .send-workbench,.send-page .send-workbench[data-channel=email],.send-page .send-workbench[data-channel=fax]{grid-template-columns:minmax(0,1fr)}}
/* Template selection: browsable library + isolated, full-content preview. */
.send-page .send-template-picker[open]{width:calc(100% - 40px);max-width:1280px;height:var(--send-dialog-height,80vh)}
.send-template-picker .send-modal-body{padding:0;overflow:hidden;display:flex;min-height:0}
.stp-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);width:100%;min-height:0;flex:1}
.stp-library{display:flex;flex-direction:column;min-width:0;min-height:0;border-right:1px solid var(--line-soft)}
.stp-filters{padding:18px 20px 0;flex-shrink:0}.stp-search{display:flex;gap:8px;margin-top:12px}.send-page .stp-search input{min-width:0;flex:1}.send-page .stp-search select{width:140px}.stp-filters p{font-size:12px;color:var(--muted);margin:10px 0}
.stp-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:14px;padding:8px 20px 20px;overflow:auto;overscroll-behavior:contain;min-height:0}
.stp-card{display:block;padding:0;background:white;border:1px solid #e0e5ec;border-radius:12px;overflow:hidden;cursor:pointer;text-align:left;font:inherit;color:inherit;min-width:0}
.stp-card:hover{border-color:#87b99b;box-shadow:0 3px 12px #0d713a0b}.stp-card[aria-pressed=true]{border:2px solid #16834a;box-shadow:0 0 0 2px #e4f2e9}.stp-card:focus-visible{outline:3px solid #74b98f;outline-offset:2px}
.stp-card .tpl-thumb{height:180px;padding:14px 22px;pointer-events:none}.stp-card .tpl-thumb-sheet{min-height:200px}.stp-card-info{display:flex;flex-direction:column;gap:6px;padding:12px 14px}.stp-card-info strong{font-size:14px;line-height:1.5}.stp-card-info small,.stp-card-info>span{font-size:12px;color:var(--muted)}
.stp-detail{overflow:auto;overscroll-behavior:contain;min-width:0;min-height:0;background:#f8f9fb;padding:20px 24px}.stp-detail-head{padding-bottom:16px}.stp-detail-head h3{font-size:20px;line-height:1.4;margin:10px 0 6px}.stp-detail-head p{font-size:13px;color:#687386;line-height:1.6;margin:6px 0}.stp-detail-head .tpl-channel-label{font-size:12px}.stp-vars{display:flex;gap:4px;flex-wrap:wrap;margin:8px 0}.stp-vars span{font-size:11px;color:#3b6591;background:#e9effa;padding:3px 6px;border-radius:5px}
.stp-preview{min-width:0;pointer-events:auto}.stp-preview .tpl-sms-phone,.stp-preview .tpl-push-device{width:100%;max-width:340px;margin:0 auto}.stp-preview .tpl-kakao{width:100%;max-width:380px;margin:auto}.stp-preview .tpl-fax-sheet{min-width:0;padding:20px}.stp-preview .tpl-email-stage{width:100%;overflow:auto}.stp-preview .tpl-email-stage.is-mobile{max-width:375px;margin:auto}.stp-preview .tpl-email-frame{width:100%;border:0;background:white}.stp-preview .tpl-sms-bubble img{max-height:none}.stp-preview .tpl-sms-summary{font-size:12px;gap:6px}.stp-preview .tpl-fax-pager{flex-wrap:wrap;font-size:12px}
.stp-empty{grid-column:1/-1;text-align:center;padding:60px 12px;color:#718076;font-size:14px;line-height:1.8}.stp-empty h3{font-size:18px;color:#37493f}.stp-empty-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:16px;background:#e6f1eb;color:#157640;font-size:30px}
.stp-footer{align-items:center;gap:10px}.stp-footer p{margin:0 auto 0 0;font-size:13px;line-height:1.6}.stp-footer small{font-size:12px;color:var(--muted)}
@media(max-width:1000px){.stp-cards{grid-template-columns:1fr}.stp-card{display:grid;grid-template-columns:110px 1fr}.stp-card .tpl-thumb{height:140px;padding:10px}.stp-card-info{justify-content:center}.stp-filters{padding:12px}.stp-cards{padding:8px 12px}.stp-detail{padding:16px}.stp-search{flex-wrap:wrap}.send-page .stp-search select{width:100%}}
@media(max-width:650px){.stp-layout{grid-template-columns:1fr}.stp-library{max-height:40vh;border-right:0}.stp-footer{flex-wrap:wrap}.stp-footer p{width:100%}.stp-detail{border-top:1px solid var(--line-soft)}}
.stp-cards{grid-auto-rows:max-content;flex:1 1 0}.stp-card{height:max-content;align-self:start}.stp-card-info{min-width:0}
@media(max-width:1000px){.stp-card{min-height:142px;align-items:stretch}.stp-card .tpl-thumb{height:140px}}

/* Recipient selection remains legible while the dialog body scrolls. */
.send-recipient-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.send-page .send-recipient-toolbar>input{flex:1;min-width:180px;width:auto;margin:0}.send-recipient-toolbar .send-inline{margin:0}
#recipient-selection-count{font-size:13px;font-weight:650;color:#176b3d}
.send-recipient-status{font-size:13px}.send-recipient-status.ready{color:#176b3d}.send-recipient-status.excluded{color:#866321}
.send-compare-panel{min-width:0;padding:16px;border:1px solid var(--line-soft);border-radius:12px}.send-compare-panel h3{margin-top:0}.send-compare-panel>img{display:block;max-width:100%;width:160px;height:140px;object-fit:contain;border-radius:8px;margin-bottom:12px}.send-compare-panel p{white-space:pre-wrap;overflow-wrap:anywhere}.send-compare-panel small{color:var(--muted)}

/* Web push is a desktop/browser notification, not a handset. */
.send-page :is(#preview-canvas,#full-preview-content) .tpl-push-device.web{width:100%;max-width:620px;height:auto;min-height:320px;border:1px solid #dce2e8;border-radius:14px;padding:0 16px 20px;background:#f4f6f9}
.send-page .tpl-push-device.web .tpl-push-wallpaper{margin:0 -16px 24px;padding:16px;border-bottom:1px solid #dce2e8;background:#e9edf2;border-radius:14px 14px 0 0}
.send-page .tpl-push-device.web .tpl-rich-push{max-width:400px;margin:0 auto;background:white;border:1px solid #e0e5eb;border-radius:10px;box-shadow:0 6px 18px #22334412}

.send-page #preview-card[data-channel=email] .send-document-screen{height:clamp(450px,calc(var(--send-workspace-height,972px) - 360px),760px)}
.send-page #full-preview-content .send-document-screen{height:clamp(360px,calc(var(--send-workspace-height,972px) - 300px),680px)}

/* Keep result review compact while retaining every customer row. */
.send-page .send-result-scroll{max-height:420px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid var(--line-soft);border-radius:10px;margin-top:14px}
.send-page .send-result-scroll th{position:sticky;top:0;z-index:1;background:#f5f7fa;white-space:nowrap}
.send-page .send-result-scroll:focus-visible{outline:2px solid #16834a;outline-offset:3px}
.send-page .send-result-empty{text-align:center;padding:24px;color:var(--muted)}
.send-page #email-export-download{display:inline-flex;align-items:center;text-decoration:none;margin:8px 0 16px}
.send-page #email-export-source{width:100%;min-height:260px;font-family:ui-monospace,monospace;font-size:12px;line-height:1.6}

.send-page details.send-fallback-editor{padding:12px 14px;margin:8px 0;border:1px solid var(--line-soft);border-radius:10px}
.send-page .send-fallback-editor>summary{cursor:pointer;font-size:14px;font-weight:650;line-height:1.6}
.send-page .send-fallback-editor>summary small{font-size:12px;font-weight:400;color:var(--muted);margin-left:8px}
.send-page .send-fallback-editor[open]>summary{margin-bottom:12px}
/* Narrow picker cards show a scaled miniature instead of wrapping one letter per line. */
@media(max-width:1000px){.send-template-picker .stp-card .tpl-thumb-sheet{width:180px;max-width:none;transform:scale(.5);transform-origin:top left}}

/* Respond to the editor's actual space, not the browser's total width. */
.send-page .send-editor-workspace{container-type:inline-size;container-name:send-editor}
.send-page #send-panel-audience,.send-page #send-panel-options{grid-template-columns:1fr}
.send-page #send-panel-audience>.send-card,.send-page #send-panel-options>.send-card{container-type:inline-size;container-name:send-section}
.send-page :is(.send-form-grid,.send-head-fields){grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;row-gap:16px}
.send-page :is(input,select,textarea,label){min-width:0;max-width:100%}
.send-page #stop-purchase-field{align-self:center;padding-top:20px}
@container send-editor (min-width:1000px){.send-page #send-panel-audience,.send-page #send-panel-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container send-section (max-width:460px){.send-page .send-form-grid,.send-page .send-head-fields{grid-template-columns:1fr}.send-page #stop-purchase-field{padding-top:0}.send-page .send-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.send-page .send-workspace-tabs{flex-wrap:wrap}.send-page .send-workspace-tabs button{white-space:nowrap}
.send-page .send-topbar,.send-page .top-flow{flex-wrap:wrap;gap:10px}.send-page .top-actions{flex-wrap:wrap;gap:8px}
.send-page .send-preview-routes{display:flex;gap:6px;margin:10px 0;flex-wrap:wrap}
.send-page .send-preview-routes button{flex:1 1 84px;min-width:0;border:1px solid #dce5df;border-radius:10px;padding:9px 6px;background:#fff;color:#53635a;font:inherit;text-align:left}
.send-page .send-preview-routes small,.send-page .send-preview-routes strong{display:block;font-size:12px;line-height:1.7}.send-page .send-preview-routes strong{font-size:14px}
.send-page .send-preview-routes button[aria-pressed=true],.send-page .send-preview-variants button[aria-pressed=true]{color:#086c3c;border-color:#16834a;background:#eaf5ee}
.send-page .send-preview-variants{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.send-preview-condition{font-size:12px!important;color:#536b5d;line-height:1.6;background:#f1f7f3;padding:10px;border-radius:8px}
.send-page .send-ab-dialog[open]{width:calc(100% - 32px);max-width:1200px}
.send-ab-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.send-ab-preview-panel{min-width:0;border:1px solid #dce5df;border-radius:12px;padding:14px;background:#f8faf9}
.send-ab-preview-panel h3{margin:0;font-size:18px}.send-ab-preview-panel h3 small{font-size:12px;color:#617367;margin-left:8px}.send-ab-subject{overflow-wrap:anywhere;font-weight:650;font-size:14px}
.send-ab-canvas{height:480px;overflow:auto;overscroll-behavior:contain}.send-ab-canvas .tpl-preview-options{display:none}.send-ab-canvas .tpl-sms-phone,.send-ab-canvas .tpl-kakao,.send-ab-canvas .tpl-push-device{width:100%;max-width:100%;box-sizing:border-box;margin:auto}.send-ab-canvas iframe{border:0;width:100%;height:100%;background:white}.send-ab-canvas .tpl-sms-bubble img{max-width:100%}
@media(max-width:880px){.send-page .send-workbench,.send-page .send-workbench[data-channel=email],.send-page .send-workbench[data-channel=fax]{grid-template-columns:minmax(0,1fr)}.send-page .send-workbench>#preview-card{grid-column:1;grid-row:2}.send-page #preview-card{width:100%;box-sizing:border-box}}
@media(max-width:600px){.send-ab-preview-grid{grid-template-columns:1fr}.send-ab-canvas{height:380px}.send-page .send-editor-workspace{padding:16px}.send-page .send-overview{gap:10px}.send-page .send-overview>button{width:100%}.send-page .send-modal-head h2{overflow-wrap:anywhere}.send-page .send-modal-body .send-table-wrap{overflow:auto}}

.send-page .send-ab-canvas .tpl-sms-phone,.send-page .send-ab-canvas .tpl-kakao,.send-page .send-ab-canvas .tpl-push-device{max-width:340px;margin:0 auto}
.send-page .send-ab-canvas .tpl-push-device{min-height:0;height:auto;padding-bottom:16px}

.stp-back{display:none}.send-page #send-panel-options:has(#fallback-card[hidden]){grid-template-columns:1fr}
@media(max-width:650px){
 .send-template-picker .stp-layout{display:block;overflow:auto;overscroll-behavior:contain;min-height:0}
 .send-template-picker .stp-library{height:360px;max-height:none;min-height:360px}
 .send-template-picker .stp-search{display:grid;grid-template-columns:minmax(0,1fr) 130px}
 .send-template-picker .stp-search select{width:100%}
 .send-template-picker .stp-cards{min-height:140px}
 .send-template-picker .stp-detail{overflow:visible;min-height:320px}
 .stp-back{display:block;margin-bottom:12px}
 .send-template-picker .stp-footer p{font-size:12px}.send-template-picker .stp-footer small{font-size:11px}
}

/* Keep attachment identity, storage status and page counts readable. */
.send-page .send-file>strong,.send-page .send-file>small,.send-page .send-file>span{display:block}.send-page .send-file>small{margin-top:4px;color:#657587;font-size:12px}.send-page .send-file>.send-inline{margin-top:10px}.send-page .send-file>span{margin-top:10px;font-size:12px;color:#4f5e69}

.send-preview-customer-search{margin-top:8px}.send-preview-customer-search[hidden]{display:none}.send-preview-customer-search .send-inline{justify-content:space-between;margin-top:6px}.send-preview-customer-search small{color:var(--text-muted,#687180);font-size:12px}
