.template-preview{border-left:1px solid var(--campaign-line);background:var(--campaign-soft);flex-direction:column;align-self:start;align-items:center;gap:18px;min-width:0;padding:26px 24px 22px;display:flex;position:sticky;top:0}.template-preview__label{color:var(--color-text-secondary);align-items:center;gap:8px;font-size:12px;display:flex}.template-preview__label svg{width:16px;height:16px}.template-phone{color:#20332b;background:linear-gradient(130deg,#fff,#e0dedb);border:1px solid #ffffffc0;border-radius:37px;width:284px;max-width:100%;padding:6px;overflow:hidden;box-shadow:inset 0 0 0 2px #ffffffc0,0 16px 35px #201a4020}.template-phone__status{background:#f9faf8;border-radius:30px 30px 0 0;justify-content:space-between;align-items:center;padding:8px 18px 6px;font-size:10px;font-weight:600;display:flex;position:relative}.template-phone__status i{background:#24302c;border-radius:10px;width:64px;height:15px;position:absolute;top:5px;left:calc(50% - 32px)}.template-phone__contact{background:#f9faf8;border-bottom:1px solid #2b49391a;align-items:center;gap:8px;padding:10px 10px 12px;display:flex}.template-phone__contact>svg{color:#52685d;flex:none;width:16px;height:16px}.template-phone__contact>div{flex-direction:column;flex:1;gap:4px;display:flex}.template-phone__contact strong{font-size:12px}.template-phone__contact small{color:#61756a;font-size:9px}.template-phone__avatar{color:#45765a;background:#d9e7da;border-radius:50%;place-items:center;width:31px;height:31px;display:grid}.template-phone__avatar svg{width:17px;height:17px}.template-phone__chat{background-color:#e8e9df;background-image:radial-gradient(#83948124 .8px,#0000 .8px);background-size:16px 16px;flex-direction:column;align-items:flex-start;gap:18px;min-height:320px;max-height:380px;padding:14px 12px 30px;display:flex;overflow-y:auto}.template-phone__day{color:#4b6055;background:#ffffffa6;border-radius:6px;align-self:center;padding:4px 10px;font-size:9px}.template-phone__bubble{box-sizing:border-box;background:#fff;border-radius:0 12px 12px;width:100%;padding:12px 12px 0;box-shadow:0 2px 3px #20332b12}.template-phone__heading{overflow-wrap:anywhere;margin-bottom:8px;font-size:12px;line-height:1.5;display:block}.template-phone__bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;line-height:1.6}.template-phone__bubble mark{color:#326542;background:#e5eee6;border-radius:3px;padding:0 2px;transition:background .18s}.template-phone__footer{color:#66716b;overflow-wrap:anywhere;margin-top:8px;font-size:10px;line-height:1.6;display:block}.template-phone__time{color:#7a837e;justify-content:flex-end;align-items:center;gap:3px;padding:7px 0;font-size:8px;display:flex}.template-phone__time svg{color:#62a9bd;width:12px;height:12px}.template-phone__button{color:#248061;overflow-wrap:anywhere;border-top:1px solid #e5eae6;justify-content:center;align-items:center;gap:7px;padding:10px 0;font-size:11px;display:flex}.template-phone__button svg{flex:none;width:14px;height:14px}.template-phone__media{color:#7b8b7d;background:#eef0e8;border-radius:7px;flex-direction:column;justify-content:center;align-items:center;gap:8px;height:114px;margin-bottom:10px;display:flex}.template-phone__media svg{stroke-width:1.3px;width:32px;height:32px}.template-phone__media span{font-size:10px}.template-phone__home{background:#f9faf8;border-radius:0 0 30px 30px;place-items:center;height:19px;display:grid}.template-phone__home:after{content:"";background:#24302c;border-radius:2px;width:82px;height:3px}.template-preview__note{text-align:center;color:var(--color-text-secondary);max-width:260px;margin:0;font-size:11px;line-height:1.65}@media (width<=900px){.template-preview{padding:24px 16px}.template-phone{width:260px}}@media (width<=680px){.template-preview{border-left:0;border-top:1px solid var(--campaign-line);position:static}}@media (width<=900px){:is(.app-main,.modal) .template-preview{width:100%;min-width:0;max-width:100%}:is(.app-main,.modal) .template-preview .template-phone{border:1px solid var(--spatial-crystal-inset-edge);border-radius:var(--radius-surface);width:100%;min-width:0;max-width:100%;height:auto;min-height:0;box-shadow:var(--spatial-crystal-shadow);margin:0;padding:0}:is(.app-main,.modal) .template-phone>:is(.template-phone__status,.template-phone__home){display:none}:is(.app-main,.modal) .template-phone__contact{gap:8px;min-height:60px;padding:12px}:is(.app-main,.modal) .template-phone__contact>div{flex:1;min-width:0}:is(.app-main,.modal) .template-phone__chat{min-height:240px;max-height:none;padding:14px 12px;overflow:visible}:is(.app-main,.modal) .template-preview__note{padding:12px 0;font-size:12px;line-height:1.5}}
