/* WhatsApp templates — dashboard design, scoped under .crdts-dash.
   Page-private classes; the shared shell stays in dashboard.scoped.css. */

.crdts-dash h1,.crdts-dash h2,.crdts-dash h3,.crdts-dash h4,.crdts-dash p,.crdts-dash span,.crdts-dash a,.crdts-dash b,.crdts-dash strong,.crdts-dash small,.crdts-dash em,.crdts-dash i,.crdts-dash li,.crdts-dash ul,.crdts-dash ol,.crdts-dash button,.crdts-dash label,.crdts-dash input,.crdts-dash textarea,.crdts-dash select,.crdts-dash summary,.crdts-dash option:not(.material-symbols-outlined):not([class*="material-symbols"]):not(.material-symbols-rounded):not([class*="material-symbols-rounded"]){font-family:inherit}
.crdts-dash .material-symbols-outlined,.crdts-dash [class*="material-symbols"]{
  font-family:'Material Symbols Outlined'!important;font-weight:400;font-style:normal;
  line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;
  white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';
  -webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}

.wt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.wt-skel{height:200px;border-radius:14px;background:linear-gradient(90deg,#f4f4ee 25%,#fafaf6 50%,#f4f4ee 75%);
  background-size:200% 100%;animation:wtShimmer 1.4s ease-in-out infinite}
@keyframes wtShimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

.wt-card{display:flex;flex-direction:column;gap:10px;border:1px solid var(--line);border-radius:14px;
  background:#fff;padding:16px}
.wt-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
.wt-card-top h3{font-size:15px;font-weight:700;color:#171714;line-height:1.45}
.wt-chips{display:flex;flex-wrap:wrap;gap:5px}

.wt-media{height:82px;border-radius:10px;overflow:hidden;background:#f4f2e8;display:grid;place-items:center}
.wt-media img{width:100%;height:100%;object-fit:cover}
.wt-media svg{width:22px;height:22px;color:#b4b4a7}

.wt-body{font-size:12.5px;color:#5c5c52;line-height:1.7;white-space:pre-wrap;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

.wt-btns{display:flex;flex-wrap:wrap;gap:5px}
.wt-btns .kind-chip{display:inline-flex;align-items:center;gap:4px;font-size:10.5px}
.wt-btns .kind-chip svg{width:11px;height:11px}

.wt-acts{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:11px;
  border-top:1px solid var(--line)}

.wt-ai{margin-bottom:20px}
.wt-type{margin-bottom:2px}

.wt-head{margin-top:18px;padding:13px 14px;border:1px solid var(--line);border-radius:11px;background:#fafaf6}

.wt-shot{position:relative}
.wt-shot img{width:100%;height:96px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}
.wt-shot-file{display:flex;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);
  border-radius:9px;background:#fff;font-size:11.5px;color:#5c5c52}
.wt-shot-file svg{width:14px;height:14px;flex:0 0 14px}
.wt-shot-x{position:absolute;top:5px;inset-inline-end:5px;width:22px;height:22px;border-radius:6px;
  cursor:pointer;background:#c94742;color:#fff;border:0;font-size:14px;line-height:1}

.wt-vars{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.wt-var{display:inline-flex;align-items:center;gap:4px;cursor:pointer;font-size:10px;
  padding:4px 8px;border-radius:7px;border:1px solid #e5e5db;background:#fff;color:#8c8c81}
.wt-var:hover{background:#fff9e4;border-color:#f0dfae;color:var(--orange)}
.wt-var svg{width:10px;height:10px}

.wt-note{margin-top:12px;font-size:10.5px;line-height:1.75;color:#8a6d0b;background:#fff6c6;
  border:1px solid #f0dfae;border-radius:9px;padding:9px 11px}

.wt-preview{display:grid;place-items:center}

@media(max-width:980px){.wt-grid{grid-template-columns:1fr}}

