.email-module-content .mail-templates { display:grid;gap:18px;padding:22px;min-width:0;color:#26352a; }
.mail-templates-header { display:flex;align-items:center;justify-content:space-between;gap:18px; }
.mail-templates-header h2 { margin:0 0 4px;font:600 29px/1.15 Georgia,serif;color:#17422f; }
.mail-templates-header p { margin:0;color:#77766d;font-size:14px;line-height:1.5; }
.mail-templates button { cursor:pointer;font:inherit; }
.mail-templates .template-primary,.mail-templates .template-secondary,.mail-templates .template-add button { min-height:44px;padding:10px 15px;border-radius:11px;border:1px solid #cfc9b9;background:#fff;color:#204631;font-size:14px;font-weight:700; }
.mail-templates .template-primary { background:#174733;color:#fff;border-color:#174733; }
.mail-templates .template-primary:disabled { opacity:.55;cursor:wait; }
.mail-templates .template-secondary:hover,.mail-templates .template-add button:hover { background:#eef4e8; }
.mail-templates .template-layout { display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1.1fr) minmax(300px,.9fr);gap:16px;align-items:start; }
.mail-templates .template-panel { min-width:0;padding:18px;border:1px solid #e2ddcf;border-radius:17px;background:#fff;box-shadow:0 4px 16px rgba(35,48,32,.04); }
.mail-templates .template-panel h3 { margin:0 0 12px;font-size:16px; }
.mail-templates .template-list { display:grid;gap:8px; }
.mail-templates .template-list button { display:grid;gap:3px;width:100%;min-height:54px;padding:10px 12px;text-align:left;border:1px solid #e7e4dc;border-radius:11px;background:#faf9f6;color:#26352a; }
.mail-templates .template-list button.active { border-color:#426549;background:#eef4e8; }
.mail-templates .template-list small { color:#77766d;overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }
.mail-templates .template-fields { display:grid;gap:12px; }
.mail-templates label { display:grid;gap:5px;font-size:13px;font-weight:700;color:#334337; }
.mail-templates input[type="text"],.mail-templates input[type="url"],.mail-templates textarea { width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #d5d0c3;border-radius:9px;background:#fff;color:#26352a;font:inherit;font-size:14px;font-weight:400; }
.mail-templates textarea { min-height:100px;resize:vertical;line-height:1.5; }
.mail-templates .template-blocks { display:grid;gap:11px;margin-top:20px; }
.mail-templates .template-blocks-hint { margin:17px 0 -10px;color:#77766d;font-size:12px;line-height:1.5; }
.mail-templates .template-block { padding:14px;border:1px solid #e2ddcf;border-radius:12px;background:#faf9f6; }
.mail-templates .template-block.is-dragging { opacity:.55;border-style:dashed; }
.mail-templates .template-block.drop-before { box-shadow:0 -4px 0 #b3824c; }
.mail-templates .template-block.drop-after { box-shadow:0 4px 0 #b3824c; }
.mail-templates .template-block-head { display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px; }
.mail-templates .template-block-head strong { font-size:13px; }
.mail-templates .template-block-actions { display:flex;gap:3px; }
.mail-templates .template-block-actions button { width:44px;height:44px;border:1px solid #ddd6c7;border-radius:8px;background:#fff;color:#324b39; }
.mail-templates .template-block-actions [data-template-drag] { display:grid;place-items:center;touch-action:none;cursor:grab; }
.mail-templates .template-block-actions [data-template-drag]:active { cursor:grabbing; }
.mail-templates .template-block-actions [data-template-drag] svg { fill:currentColor;pointer-events:none; }
.mail-templates .template-block-actions button:disabled { opacity:.35;cursor:default; }
.mail-templates .template-block-fields { display:grid;gap:10px; }
.mail-templates .template-upload { display:flex;align-items:center;gap:10px;flex-wrap:wrap; }
.mail-templates .template-upload input { max-width:100%;font-size:12px; }
.mail-templates .template-upload-status { color:#77766d;font-size:12px; }
.mail-templates .template-add { display:flex;gap:7px;flex-wrap:wrap;margin-top:15px; }
.mail-templates .template-add button { min-height:44px;padding:6px 10px;font-size:12px; }
.mail-templates .template-save-row { display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px; }
.mail-templates .template-status { font-size:13px;color:#5b6357; }
.mail-templates .template-preview { background:#f4f1eb;border:1px solid #e8e0d5;border-radius:13px;padding:16px; }
.mail-templates .template-paper { max-width:580px;margin:auto;padding:27px;background:#fff;border-radius:13px;overflow:hidden;box-shadow:0 8px 20px rgba(34,46,30,.09); }
.mail-templates .template-paper .template-brand { display:block;margin-bottom:18px;font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:#986940; }
.mail-templates .template-paper h4 { margin:17px 0 8px;font:600 27px/1.17 Georgia,serif;font-family:Georgia,serif !important;color:#19412d; }
.mail-templates .template-paper p { white-space:pre-wrap;font-size:14px;line-height:1.58;color:#494a42; }
.mail-templates .template-paper img { display:block;width:100%;max-height:400px;object-fit:cover;border-radius:10px; }
.mail-templates .template-paper figure { margin:0 0 14px; }
.mail-templates .template-paper figcaption { margin-top:6px;color:#77766d;font-size:12px; }
.mail-templates .template-image-placeholder { display:grid;place-items:center;min-height:145px;border:1px dashed #c8c5b9;border-radius:10px;color:#8b887e;background:#f7f7f3;text-align:center;padding:12px; }
.mail-templates .template-paper .template-preview-button { display:inline-flex;align-items:center;min-height:43px;padding:9px 17px;border-radius:99px;background:#174733;color:white;font-weight:700;font-size:13px; }
.mail-templates .template-paper .template-preview-offer { padding:14px;background:#f6f0e7;border-radius:10px; }
.mail-templates .template-paper hr { border:0;border-top:1px solid #e5dfd5;margin:20px 0; }
.mail-templates .template-paper footer { display:block;margin-top:28px;padding:15px 0 0;border-top:1px solid #e9e3da;font-size:12px;color:#77766d; }
.mail-templates .template-note { margin:0;padding:11px 14px;border:1px solid #e4dac7;background:#fbf7ed;border-radius:10px;font-size:13px;line-height:1.5;color:#655c4f; }
#mailTemplatesTab.active { background:#edf3e6; }
#mailTemplatesTab[hidden] { display:none!important; }
@media(max-width:1200px) { .mail-templates .template-layout { grid-template-columns:minmax(180px,220px) minmax(0,1fr); } .mail-templates .template-preview-panel { grid-column:2; } }
@media(max-width:800px) { .email-module-content .mail-templates { padding:14px; } .mail-templates .template-layout { grid-template-columns:minmax(0,1fr); } .mail-templates .template-preview-panel { grid-column:auto; } .mail-templates-header { align-items:flex-start;flex-direction:column; } }
.mail-templates select { width:100%;min-height:44px;padding:10px 12px;border:1px solid #d5d0c3;border-radius:9px;background:#fff;color:#26352a;font:inherit;font-size:14px; }
.mail-templates .template-button-fields { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px; }
.mail-templates .template-field-help { margin:0;color:#77766d;font-size:12px;line-height:1.45; }
.mail-templates .template-preview-head { display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:6px; }
.mail-templates .template-preview-head h3 { margin:0; }
.mail-templates .template-preview-head .template-secondary { min-height:40px;padding:7px 11px;font-size:12px; }
.mail-templates .template-preview-intro { margin:0 0 12px;color:#77766d;font-size:12px;line-height:1.5; }
.mail-templates .template-preview-block { position:relative;min-height:38px;padding:5px 2px 5px 31px;margin:0 -6px 3px -23px;border:1px solid transparent;border-radius:9px; }
.mail-templates .template-preview-block:hover,.mail-templates .template-preview-block:focus-within { background:#f8f8f5;border-color:#e6ddcb; }
.mail-templates .template-preview-block.is-dragging { opacity:.48;background:#f0eadc;border-style:dashed; }
.mail-templates .template-preview-block.drop-before { box-shadow:0 -4px 0 #b3824c; }
.mail-templates .template-preview-block.drop-after { box-shadow:0 4px 0 #b3824c; }
.mail-templates .template-preview-block [data-preview-drag] { position:absolute;top:6px;left:1px;display:grid;place-items:center;width:27px;height:32px;padding:0;border:0;border-radius:6px;background:#eae8e0;color:#486048;touch-action:none;cursor:grab; }
.mail-templates .template-preview-block [data-preview-drag]:active { cursor:grabbing; }
.mail-templates .template-preview-block [data-preview-drag] svg { fill:currentColor;pointer-events:none; }
.mail-templates .template-preview-block h4 { margin-top:6px; }
.mail-templates .template-preview-block p { margin:4px 0 9px; }
.mail-templates .template-preview-block figure { margin:0; }
.mail-templates .template-cta-row { display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:14px 0 20px; }
.mail-templates .template-cta-row small { color:#8e6b39;font-size:11px;line-height:1.4; }
.mail-templates .template-paper .template-preview-button { display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 21px;border-radius:10px;background:#174733;color:white;font-weight:700;font-size:13px;text-decoration:none;box-shadow:0 3px 0 #113422; }
.mail-templates .template-paper a.template-preview-button:hover { background:#246044; }
.mail-templates .template-paper .template-preview-button.is-unlinked { opacity:.75; }
.mail-templates .template-preview-offer.is-inactive { color:#8a857b;background:#f1f0eb;font-size:12px; }
.mail-templates .template-test-panel { display:grid;gap:11px;margin-top:17px;padding-top:16px;border-top:1px solid #e8e2d7; }
.mail-templates .template-test-panel h3,.mail-templates .template-test-panel p { margin:0; }
.mail-templates .template-test-panel p { color:#666a60;font-size:13px;line-height:1.5; }
.mail-templates .template-self-address { font-size:14px;overflow-wrap:anywhere; }
.mail-templates .template-test-action { display:flex;align-items:center;gap:10px;flex-wrap:wrap; }
.mail-templates .template-test-action span { font-size:12px;line-height:1.4;color:#456249; }
.mail-templates .template-what-happens { padding:12px 13px;border:1px solid #e5dfd4;border-radius:10px;background:#faf9f5; }
.mail-templates .template-what-happens strong { font-size:12px; }
.mail-templates .template-what-happens p { margin-top:5px;font-size:12px; }
.template-preview-open { overflow:hidden; }
.mail-templates .template-full-preview { position:fixed;inset:0;z-index:3000;display:grid;min-width:0;min-height:0;place-items:center;padding:18px; }
.mail-templates .template-full-preview[hidden] { display:none!important; }
.mail-templates .template-full-backdrop { position:absolute;inset:0;background:rgba(19,31,22,.72); }
.mail-templates .template-full-shell { position:relative;display:flex;flex-direction:column;width:min(100%,1020px);max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);min-height:0;border:1px solid #d9d2c4;border-radius:16px;background:#f6f4ef;box-shadow:0 25px 80px rgba(13,24,16,.28);overflow:hidden; }
.mail-templates .template-full-shell>header { display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:15px 19px;border-bottom:1px solid #ded7c8;background:#fff; }
.mail-templates .template-full-shell>header>div:first-child { display:grid;gap:3px; }
.mail-templates .template-full-shell>header strong { font-size:17px; }
.mail-templates .template-full-shell>header small { color:#6d7066;font-size:12px; }
.mail-templates .template-full-actions { display:flex;align-items:center;gap:7px;flex-wrap:wrap; }
.mail-templates .template-full-actions button { min-height:40px;padding:7px 12px;border:1px solid #d9d2c4;border-radius:8px;background:#fff;color:#244732;font-size:13px;font-weight:700; }
.mail-templates .template-full-actions button[aria-pressed="true"] { background:#174733;border-color:#174733;color:#fff; }
.mail-templates .template-full-scroll { flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:24px 15px; }
.mail-templates .template-full-email { width:100%;max-width:690px;margin:auto;transition:max-width .2s ease; }
.mail-templates .template-full-email.is-mobile { max-width:390px; }
.mail-templates .template-full-envelope { display:grid;grid-template-columns:110px 1fr;gap:4px 10px;margin-bottom:14px;padding:13px 18px;border:1px solid #e2ddcf;border-radius:10px;background:#fff;font-size:13px; }
.mail-templates .template-full-envelope span { color:#7a7b72; }
.mail-templates .template-full-envelope strong,.mail-templates .template-full-envelope small { color:#26352a;font-size:13px; }
.mail-templates .template-full-body .template-paper { max-width:none;padding:36px 40px; }
.mail-templates .template-full-body .template-paper h4 { font-size:31px; }
.mail-templates .template-full-body .template-paper p { font-size:16px; }
.mail-templates .template-full-email.is-mobile .template-paper { padding:22px; }
.mail-templates .template-full-email.is-mobile .template-paper h4 { font-size:26px; }
@media(max-width:800px) { .mail-templates .template-full-shell>header { align-items:flex-start; } }
@media(max-width:540px) { .mail-templates .template-button-fields { grid-template-columns:minmax(0,1fr); } .mail-templates .template-full-preview { padding:0; } .mail-templates .template-full-shell { max-height:100vh;max-height:100dvh;height:100vh;height:100dvh;border-radius:0; } .mail-templates .template-full-scroll { padding:12px; } .mail-templates .template-full-body .template-paper { padding:20px; } .mail-templates .template-full-envelope { grid-template-columns:1fr; } }
/* The edit surface keeps the clean email appearance: no boxes around its content. */
.mail-templates .template-preview-block { min-height:0;margin:0;padding:0;border:0;border-radius:0;cursor:grab; }
.mail-templates .template-preview-block { display:flow-root;transition:transform 170ms cubic-bezier(.2,.75,.3,1); }
.mail-templates .template-preview-block:active { cursor:grabbing; }
.mail-templates .template-preview-block:hover,.mail-templates .template-preview-block:focus-within { border:0;background:transparent; }
.mail-templates .template-preview-block.is-dragging { opacity:.55;border:0;background:transparent; }
.mail-templates .template-preview-block [data-preview-drag] { top:2px;left:-25px;width:21px;height:27px;border:0;background:transparent;color:#6d866f;opacity:0; }
.mail-templates .template-preview-block:hover [data-preview-drag],.mail-templates .template-preview-block [data-preview-drag]:focus-visible { opacity:1; }
.mail-templates .template-preview-block h4 { margin:17px 0 8px; }
.mail-templates .template-preview-block p { margin:0 0 14px; }
.mail-templates .template-preview-block figure { margin:0 0 14px; }
.mail-templates .template-preview .is-sorting,.mail-templates .template-preview .is-sorting * { cursor:grabbing!important;user-select:none;-webkit-user-select:none; }
.template-drag-layer.mail-templates { position:fixed;top:0;left:0;z-index:4500;padding:0;pointer-events:none;will-change:transform;opacity:.98;box-shadow:0 18px 44px rgba(22,49,32,.23);background:#fff;border-radius:9px;overflow:hidden; }
.template-drag-layer .template-paper { border-radius:0; }
.template-drag-layer .template-preview-block { transform:none!important; }
@media(hover:none) { .mail-templates .template-preview-block [data-preview-drag] { opacity:.65; } }

/* The atelier is part of the existing dashboard, but has its own editorial finish. */
.email-module-content .mail-templates {
  --atelier-forest:#133b2c;
  --atelier-ink:#263b30;
  --atelier-gold:#bc9355;
  --atelier-line:#e8dfd0;
  gap:22px;
  padding:clamp(16px,2vw,30px);
  background:radial-gradient(circle at 96% 1%,rgba(200,169,112,.12),transparent 33%),#f7f5f0;
  font-family:inherit;
}
.mail-templates .mail-templates-header {
  position:relative;
  min-height:196px;
  padding:clamp(24px,3vw,42px);
  overflow:hidden;
  border:1px solid #3b5b45;
  border-radius:23px;
  background:radial-gradient(circle at 82% 0%,rgba(224,196,126,.14),transparent 32%),linear-gradient(125deg,#103c2c,#183d2d 60%,#33452b);
  box-shadow:0 16px 36px rgba(23,50,36,.13);
}
.mail-templates .mail-templates-header::after {
  content:"";
  position:absolute;
  right:-70px;
  bottom:-210px;
  width:480px;
  height:480px;
  border:1px solid rgba(220,193,130,.16);
  border-radius:50%;
  box-shadow:0 0 0 48px rgba(220,193,130,.045),0 0 0 110px rgba(220,193,130,.035);
  pointer-events:none;
}
.mail-templates .template-hero-copy,.mail-templates .template-hero-aside { position:relative;z-index:1; }
.mail-templates .template-hero-copy { max-width:760px; }
.mail-templates .template-hero-kicker,.mail-templates .template-section-kicker {
  display:block;
  color:#b99051;
  font-size:10px;
  font-weight:800;
  letter-spacing:.21em;
  line-height:1.5;
}
.mail-templates .template-hero-kicker { margin-bottom:11px;color:#e1c686; }
.mail-templates .mail-templates-header h2 {
  margin:0 0 12px;
  color:#fffdf7;
  font:normal clamp(34px,3vw,47px)/1.08 Georgia,serif;
  letter-spacing:-.035em;
}
.mail-templates .mail-templates-header p { max-width:630px;color:#e2e7dc;font-size:14px;line-height:1.7; }
.mail-templates .template-hero-aside { display:grid;justify-items:end;gap:12px;align-self:flex-end;white-space:nowrap; }
.mail-templates .template-hero-aside span { color:#dfc992;font-size:12px;font-weight:700;letter-spacing:.02em; }
.mail-templates .template-hero-aside .template-secondary {
  min-height:48px;
  padding:11px 18px;
  border:1px solid #e8ddc4;
  border-radius:999px;
  background:#fffaf0;
  color:#19402e;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.mail-templates .template-hero-aside .template-secondary:hover { background:#f2e8d4; }
.mail-templates .template-provenance { display:flex;align-items:center;gap:10px;margin:0;border-color:#e5dac5;background:#fcf8ef;color:#6a6458; }
.mail-templates .template-provenance span { color:#a47d3e;font-size:9px; }
.mail-templates .template-layout { grid-template-columns:minmax(192px,225px) minmax(340px,1.03fr) minmax(345px,.97fr);gap:16px; }
.mail-templates .template-panel {
  padding:clamp(17px,1.6vw,24px);
  border-color:var(--atelier-line);
  border-radius:19px;
  box-shadow:0 9px 28px rgba(39,45,34,.045),0 1px 1px rgba(38,48,32,.03);
}
.mail-templates .template-panel h3 { margin:7px 0 17px;color:var(--atelier-ink);font-size:18px;letter-spacing:-.015em; }
.mail-templates .template-library { background:#fbfaf6; }
.mail-templates .template-list { gap:9px; }
.mail-templates .template-list button { min-height:68px;padding:13px 14px;border-color:#eee8dc;border-radius:12px;background:#fff;transition:background .16s ease,border-color .16s ease,transform .16s ease; }
.mail-templates .template-list button:hover { transform:translateY(-2px);border-color:#c6b492; }
.mail-templates .template-list button.active { border-color:#38624a;background:#e9f0e7;box-shadow:inset 3px 0 0 #9d793e; }
.mail-templates .template-list button strong { font-size:13px;line-height:1.3; }
.mail-templates .template-list small { font-size:11px; }
.mail-templates .template-section-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px;padding-bottom:13px;border-bottom:1px solid #eee8dc; }
.mail-templates .template-section-heading h3 { margin-bottom:0; }
.mail-templates .template-section-count { padding:6px 9px;border-radius:999px;background:#f2efe7;color:#687364;font-size:11px;font-weight:700;white-space:nowrap; }
.mail-templates .template-fields { grid-template-columns:repeat(2,minmax(0,1fr));gap:14px; }
.mail-templates label { gap:7px;color:#38493b;font-size:12px;letter-spacing:.005em; }
.mail-templates input[type="text"],.mail-templates input[type="url"],.mail-templates textarea,.mail-templates select {
  border-color:#dfd9cd;
  border-radius:10px;
  background:#fffdf9;
  color:#253b2e;
  box-shadow:inset 0 1px 1px rgba(34,47,30,.025);
}
.mail-templates :is(input,textarea,select,button):focus-visible,.mail-templates .template-preview-block:focus-visible { outline:2px solid #b99153;outline-offset:2px; }
.mail-templates input[type="text"]:focus,.mail-templates input[type="url"]:focus,.mail-templates textarea:focus,.mail-templates select:focus { border-color:#ab8c5d; }
.mail-templates .template-blocks { gap:10px;margin-top:19px; }
.mail-templates .template-blocks-hint { margin:20px 0 -8px;color:#6e756d; }
.mail-templates .template-block { padding:15px;border-color:#e9e4d8;border-radius:13px;background:#fdfcf9; }
.mail-templates .template-block-head { margin-bottom:12px; }
.mail-templates .template-block-head strong { color:#294431;font-size:13px; }
.mail-templates .template-block-actions button { border-color:#e8e3d8;border-radius:8px;color:#4a5d4b; }
.mail-templates .template-block-actions button:hover { border-color:#bca87e;background:#f8f3e9; }
.mail-templates .template-add { padding-top:17px;border-top:1px solid #eee9dd; }
.mail-templates .template-add button { border-color:#dcd7cb;background:#faf8f2;color:#34513c; }
.mail-templates .template-primary { border-color:#164631;background:#164631;box-shadow:0 4px 10px rgba(20,70,49,.11); }
.mail-templates .template-primary:hover:not(:disabled) { background:#225840; }
.mail-templates .template-secondary { border-color:#ded7c9;background:#fffdfa; }
.mail-templates .template-save-row { padding-top:16px;border-top:1px solid #eee9dd; }
.mail-templates .template-preview-panel { background:#fffefa; }
.mail-templates .template-preview-head { margin:3px 0 5px; }
.mail-templates .template-preview-head h3 { margin:0; }
.mail-templates .template-preview-intro { margin-bottom:15px;line-height:1.6; }
.mail-templates .template-preview { padding:clamp(12px,1.6vw,22px);border-color:#ebe1d3;border-radius:15px;background:#f2eee6; }
.mail-templates .template-paper { padding:clamp(20px,2vw,32px);border:1px solid #efeae2;border-radius:4px;box-shadow:0 12px 25px rgba(36,42,31,.09); }
.mail-templates .template-paper .template-brand { padding-bottom:13px;border-bottom:1px solid #eee6da;color:#987043;font-size:11px;letter-spacing:.18em; }
.mail-templates .template-paper h4 { color:#173e2c;font-weight:normal;letter-spacing:-.025em; }
.mail-templates .template-paper p { color:#444d42; }
.mail-templates .template-paper.is-more-invitation { padding:0;border:0;background:#fffdf8;box-shadow:0 16px 34px rgba(30,39,30,.13); }
.mail-templates .is-more-invitation .more-topline,.mail-templates .is-liens-lobster .more-topline { height:6px;background:#b36578; }
.mail-templates .is-more-invitation .more-mail-header,.mail-templates .is-liens-lobster .more-mail-header { padding:25px clamp(24px,6vw,42px) 23px;background:#1f2b24;text-align:center; }
.mail-templates .is-more-invitation .more-mail-header>a,.mail-templates .is-liens-lobster .more-mail-header>a { display:grid;justify-items:center;color:#fffdf8;text-decoration:none; }
.mail-templates .is-more-invitation .more-mail-header img,.mail-templates .is-liens-lobster .more-mail-header img { width:224px;max-width:62%;height:auto;max-height:none;object-fit:contain;border-radius:0; }
.mail-templates .is-more-invitation .more-mail-header b,.mail-templates .is-liens-lobster .more-mail-header b { margin-top:8px;color:#d2a353;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:8px;line-height:1.75;letter-spacing:2.7px; }
.mail-templates .is-more-invitation .more-mail-header span,.mail-templates .is-liens-lobster .more-mail-header span { margin-top:10px;color:#fffdf8;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:10px;font-weight:700;line-height:1.6;letter-spacing:2.15px;white-space:nowrap; }
.mail-templates .is-more-invitation .more-mail-content { background:#fffdf8; }
.mail-templates .is-more-invitation .template-preview-block { padding:0; }
.mail-templates .is-more-invitation .template-preview-block:has(.template-heading-hero),
.mail-templates .is-more-invitation .template-preview-block:has(.template-text-kicker) { text-align:left; }
.mail-templates .is-more-invitation .template-preview-block:has(.template-image-hero),
.mail-templates .is-more-invitation .template-preview-block:has(.template-text-strapline) { padding-left:0;padding-right:0; }
.mail-templates .is-more-invitation .template-text-kicker { margin:0;padding:31px clamp(27px,7vw,42px) 12px;color:#b7613f;text-align:left;font-size:9px;font-weight:800;line-height:1.6;letter-spacing:2px;text-transform:uppercase;white-space:nowrap; }
.mail-templates .is-more-invitation .template-text-kicker::before { display:inline-block;width:26px;height:1px;margin:0 10px 3px 0;background:#b7613f;content:""; }
.mail-templates .is-more-invitation .template-heading-hero { margin:0;padding:0 clamp(27px,7vw,48px) 31px;color:#2b392f;text-align:left;font:400 48px/.98 Georgia,"Times New Roman",Times,serif!important;letter-spacing:-.047em; }
.mail-templates .is-more-invitation .template-heading-default { margin:0;padding:24px clamp(27px,7vw,48px) 10px;color:#2b392f; }
.mail-templates .is-more-invitation .template-heading-hero em { display:block;width:100%;color:#b36578;font-family:Georgia,"Times New Roman",Times,serif!important;font-weight:400;text-align:center; }
.mail-templates .is-more-invitation .template-image-hero { margin:0; }
.mail-templates .is-more-invitation .template-image-hero img { width:100%;max-height:none;border-radius:0;object-fit:cover; }
.mail-templates .is-more-invitation .template-image-hero figcaption { display:none; }
.mail-templates .is-more-invitation .template-text-strapline { margin:0;padding:14px 20px;background:#efbdc9;color:#2b392f;text-align:center;font:italic 19px/1.35 Georgia,"Times New Roman",serif; }
.mail-templates .is-more-invitation .template-text-greeting { margin:0;padding:28px clamp(27px,7vw,48px) 5px;color:#2b2c27;font-weight:800; }
.mail-templates .is-more-invitation .template-text-default { margin:0;padding:3px clamp(27px,7vw,48px) 9px;color:#2b2c27;font-size:15px;line-height:1.72; }
.mail-templates .is-more-invitation .template-text-signoff { margin:0;padding:5px clamp(27px,7vw,48px) 0;color:#2b392f;font:italic 21px/1.35 Georgia,"Times New Roman",serif; }
.mail-templates .is-more-invitation .template-text-signature { margin:0;padding:0 clamp(27px,7vw,48px) 28px;color:#2b2c27;font-size:13px; }
.mail-templates .is-more-invitation .template-cta-row { margin:5px 0 20px;padding:0 clamp(27px,7vw,48px); }
.mail-templates .is-more-invitation .template-preview-button { min-height:46px;padding:11px 22px;border-radius:5px;background:#a94f6a;box-shadow:none; }
.mail-templates .is-more-invitation .template-preview-button:hover { background:#943f5b; }
.mail-templates .is-more-invitation .template-image-logo { text-align:center; }
.mail-templates .is-more-invitation .template-image-logo img { display:inline-block;width:min(210px,58%);height:auto;object-fit:contain;border-radius:0; }
.mail-templates .is-more-invitation .template-image-default { margin:0 clamp(27px,7vw,48px) 18px; }
.mail-templates .is-more-invitation .more-mail-footer,.mail-templates .is-liens-lobster .more-mail-footer { display:grid;grid-template-columns:1fr auto;gap:10px 22px;margin:0;padding:27px clamp(27px,7vw,48px);border:0;background:#1f2b24;color:#fffdf8; }
.mail-templates .is-more-invitation .more-mail-footer>div,.mail-templates .is-liens-lobster .more-mail-footer>div { display:grid;gap:5px;align-content:start; }
.mail-templates .is-more-invitation .more-mail-footer>div:nth-child(2),.mail-templates .is-liens-lobster .more-mail-footer>div:nth-child(2) { justify-items:end;text-align:right; }
.mail-templates .is-more-invitation .more-mail-footer img,.mail-templates .is-liens-lobster .more-mail-footer img { width:104px;height:auto;max-height:none;object-fit:contain;border-radius:0; }
.mail-templates .is-more-invitation .more-mail-footer a,.mail-templates .is-more-invitation .more-mail-footer span,.mail-templates .is-liens-lobster .more-mail-footer a,.mail-templates .is-liens-lobster .more-mail-footer span { color:#fffdf8;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:11px;line-height:1.6; }
.mail-templates .is-more-invitation .more-mail-footer b,.mail-templates .is-liens-lobster .more-mail-footer b { color:#d2a353;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:7px;line-height:1.5;letter-spacing:1.7px; }
.mail-templates .is-more-invitation .more-mail-footer small,.mail-templates .is-liens-lobster .more-mail-footer small { grid-column:1/-1;margin-top:8px;padding-top:14px;border-top:1px solid #526052;color:#d8ddd5;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:10px;line-height:1.55; }
.mail-templates .template-paper.is-liens-lobster { max-width:580px;padding:0;border:0;border-radius:0;background:#fffdf8;box-shadow:0 14px 34px rgba(42,35,32,.11);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
.mail-templates .is-liens-lobster .liens-mail-content { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#fffdf8; }
.mail-templates .is-liens-lobster .liens-mail-block { min-width:0;grid-column:1/-1; }
.mail-templates .is-liens-lobster .liens-recipe-grid { display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
.mail-templates .is-liens-lobster .liens-mail-block.is-recipe-block { grid-column:auto; }
.mail-templates .is-liens-lobster .template-preview-block { margin:0;padding:0; }
.mail-templates .is-liens-lobster [data-lobster-id="liens-kitchen-logo"] { padding:0;background:#1f2b24;text-align:center; }
.mail-templates .is-liens-lobster [data-lobster-id="liens-kitchen-logo"] figure { margin:0; }
.mail-templates .is-liens-lobster [data-lobster-id="liens-kitchen-logo"]>figure { padding:32px 24px 27px; }
.mail-templates .is-liens-lobster [data-lobster-id="liens-kitchen-logo"]>figure img { display:inline-block;width:min(216px,55%);height:auto;max-height:none;object-fit:contain;border-radius:0; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-title"]::before { content:"UIT DE ZEE · OP TAFEL";display:block;padding:29px 34px 9px;color:#b7613f;text-align:center;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:10px;font-weight:800;line-height:1.6;letter-spacing:2.6px; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-title"] h4 { margin:0;padding:0 34px 29px;color:#2b392f;text-align:center;font:400 clamp(34px,5vw,44px)/1.04 Georgia,"Times New Roman",serif!important;letter-spacing:-.047em; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-title"] h4 em,
.mail-templates .is-liens-lobster [data-lobster-id="lobster-recipes"] h4 em { color:#b36578;font-weight:400; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-hero"] figure,
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer-image"] figure { margin:0; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-hero"] img,
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer-image"] img { width:100%;height:auto;max-height:none;object-fit:cover;border-radius:0; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-greeting"] p { margin:0;padding:30px 40px 9px;color:#2b2c27;font-size:16px;font-weight:800;line-height:1.55; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-intro-one"] p { margin:0;padding:0 40px 12px;color:#2b2c27;font-size:16px;line-height:1.68; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-intro-two"] p { margin:0;padding:0 40px 18px;color:#2b2c27;font-size:16px;line-height:1.68; }
.mail-templates .is-liens-lobster .template-cta-row { justify-content:center;margin:0;padding:4px 38px 30px;text-align:center; }
.mail-templates .is-liens-lobster .template-preview-button { min-height:46px;padding:11px 22px;border-radius:5px;background:#a94f6a;color:#fff;box-shadow:none;font-size:15px;font-weight:800; }
.mail-templates .is-liens-lobster a.template-preview-button:hover { background:#943f5b;color:#fff; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-recipes"] h4 { margin:0;padding:38px 24px 23px;color:#2b392f;text-align:center;font:400 35px/1.08 Georgia,"Times New Roman",serif!important; }
.mail-templates .is-liens-lobster [data-lobster-id^="lobster-bisque"] { padding-right:4px; }
.mail-templates .is-liens-lobster [data-lobster-id^="lobster-cook"] { padding-left:4px; }
.mail-templates .is-liens-lobster .is-recipe-block figure { margin:0; }
.mail-templates .is-liens-lobster .is-recipe-block img { width:100%;height:auto;max-height:none;aspect-ratio:1.5/1;object-fit:cover;border-radius:0; }
.mail-templates .is-liens-lobster [data-lobster-id$="-title"] h4 { margin:0;padding:17px 11px 9px;color:#2b392f;text-align:center;font:400 26px/1.08 Georgia,"Times New Roman",serif!important; }
.mail-templates .is-liens-lobster [data-lobster-id$="-copy"] p { margin:0;padding:0 14px 14px;color:#4a4b45;text-align:center;font-size:14px;line-height:1.58; }
.mail-templates .is-liens-lobster [data-lobster-id$="-cta"] .template-cta-row { padding:5px 10px 25px; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer"] .template-preview-offer { padding:27px 32px 21px;border-radius:0;background:#f4e7eb;text-align:center; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer"] .template-preview-offer::before { content:"SPECIAAL VOOR JOU";display:block;margin-bottom:8px;color:#b7613f;font-size:9px;font-weight:800;line-height:1.65;letter-spacing:2.4px; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer"] .template-preview-offer strong { display:block;color:#2b392f;font:400 32px/1.08 Georgia,"Times New Roman",serif; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer"] .template-preview-offer p { margin:9px 0 0;color:#4d4b47;font-size:15px;line-height:1.65; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer"],
.mail-templates .is-liens-lobster [data-lobster-id="lobster-offer-cta"],
.mail-templates .is-liens-lobster [data-lobster-id="lobster-closing"],
.mail-templates .is-liens-lobster [data-lobster-id="lobster-signature"],
.mail-templates .is-liens-lobster [data-lobster-id="lobster-footer"] { background:#f4e7eb; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-closing"] p { margin:0;padding:32px 40px 4px;color:#2b392f;text-align:center;font:italic 22px/1.32 Georgia,"Times New Roman",serif; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-signature"] p { margin:0;padding:0 40px 28px;color:#2b2c27;text-align:center;font-size:15px;font-weight:800;line-height:1.62; }
.mail-templates .is-liens-lobster [data-lobster-id="lobster-footer"] p { margin:0 40px;padding:21px 0 25px;border-top:1px solid rgba(179,101,120,.25);color:#6f6a61;text-align:center;font-size:12px;line-height:1.65; }
.mail-templates .is-liens-lobster .liens-mail-test-footer { margin:0;padding:0 38px 27px;border:0;color:#98938b;text-align:center;font-size:10px;line-height:1.55; }
.mail-templates .template-full-body .template-paper.is-more-invitation,
.mail-templates .template-full-email.is-mobile .template-paper.is-more-invitation,
.mail-templates .template-full-body .template-paper.is-liens-lobster,
.mail-templates .template-full-email.is-mobile .template-paper.is-liens-lobster { padding:0; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster .liens-mail-content { grid-template-columns:minmax(0,1fr); }
.mail-templates .template-full-email.is-mobile .is-liens-lobster .liens-recipe-grid { grid-template-columns:minmax(0,1fr); }
.mail-templates .template-full-email.is-mobile .is-liens-lobster .liens-mail-block,
.mail-templates .template-full-email.is-mobile .is-liens-lobster .liens-mail-block.is-recipe-block { grid-column:1; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id^="lobster-bisque"],
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id^="lobster-cook"] { padding-left:0;padding-right:0; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-bisque-image"] { order:1; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-bisque-title"] { order:2; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-bisque-copy"] { order:3; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-bisque-cta"] { order:4; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-cook-image"] { order:5; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-cook-title"] { order:6; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-cook-copy"] { order:7; }
.mail-templates .template-full-email.is-mobile .is-liens-lobster [data-lobster-id="lobster-cook-cta"] { order:8; }
.mail-templates .template-image-logo { text-align:center; }
.mail-templates .template-image-logo img { display:inline-block;width:min(210px,58%);height:auto;object-fit:contain;border-radius:0; }
.mail-templates .template-image-logo figcaption:empty,.mail-templates figure figcaption:empty { display:none; }
.mail-templates .template-image-placeholder { min-height:165px;border:0;border-radius:4px;background:radial-gradient(circle at 72% 32%,rgba(212,180,109,.25),transparent 35%),linear-gradient(145deg,#1a4635,#365643);color:#f4ecd9;font:italic 15px/1.4 Georgia,serif; }
.mail-templates .template-preview-block { touch-action:pan-y; }
.mail-templates .template-preview-block.is-dragging { opacity:.2; }
.mail-templates .template-preview-block.drop-before,.mail-templates .template-preview-block.drop-after { box-shadow:none; }
.mail-templates .template-test-panel { margin-top:20px;padding-top:20px;border-top-color:#e9e1d3; }
.mail-templates .template-test-panel h3 { margin:0;font-size:16px; }
.mail-templates .template-self-address { color:#174432; }
.mail-templates .template-what-happens { border-color:#e7dfd0;background:#f9f6ee; }
.mail-templates .template-full-shell { border-color:#dfd4bd;border-radius:20px;background:#f6f2ea; }
.mail-templates .template-full-shell>header { border-bottom-color:#e7ddcd;background:#fffefa; }
.mail-templates .template-full-scroll { background:radial-gradient(circle at 50% 0%,#fffaf0,#f1ece3); }
.template-drag-layer.mail-templates { box-shadow:0 20px 55px rgba(14,37,27,.3);background:#fffefa; }
@media(max-width:1420px) {
  .mail-templates .template-layout { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .mail-templates .template-library { grid-column:1/-1; }
  .mail-templates .template-list { display:flex;flex-wrap:wrap; }
  .mail-templates .template-list button { width:min(240px,100%); }
  .mail-templates .template-preview-panel { grid-column:auto; }
}
@media(max-width:960px) {
  .mail-templates .template-layout { grid-template-columns:minmax(0,1fr); }
  .mail-templates .template-library { grid-column:auto;order:1; }
  .mail-templates .template-preview-panel { grid-column:auto;order:2; }
  .mail-templates .template-editor { order:3; }
  .mail-templates .template-hero-aside { justify-items:start;align-self:auto; }
}
@media(max-width:620px) {
  .email-module-content .mail-templates { gap:15px;padding:12px; }
  .mail-templates .mail-templates-header { min-height:0;padding:25px 22px;border-radius:17px; }
  .mail-templates .mail-templates-header h2 { font-size:34px; }
  .mail-templates .mail-templates-header p { font-size:13px; }
  .mail-templates .template-fields { grid-template-columns:minmax(0,1fr); }
  .mail-templates .template-panel { padding:17px;border-radius:14px; }
  .mail-templates .template-list button { width:100%; }
  .mail-templates .is-more-invitation .more-mail-header,.mail-templates .is-liens-lobster .more-mail-header { padding:22px 18px 20px; }
  .mail-templates .is-more-invitation .more-mail-header img,.mail-templates .is-liens-lobster .more-mail-header img { width:190px; }
  .mail-templates .is-more-invitation .more-mail-header span,.mail-templates .is-liens-lobster .more-mail-header span { font-size:8px;letter-spacing:1.55px; }
  .mail-templates .is-liens-lobster .liens-mail-content { grid-template-columns:minmax(0,1fr); }
  .mail-templates .is-liens-lobster .liens-recipe-grid { grid-template-columns:minmax(0,1fr); }
  .mail-templates .is-liens-lobster .liens-mail-block,.mail-templates .is-liens-lobster .liens-mail-block.is-recipe-block { grid-column:1; }
  .mail-templates .is-liens-lobster [data-lobster-id^="lobster-bisque"],.mail-templates .is-liens-lobster [data-lobster-id^="lobster-cook"] { padding-left:0;padding-right:0; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-bisque-image"] { order:1; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-bisque-title"] { order:2; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-bisque-copy"] { order:3; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-bisque-cta"] { order:4; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-cook-image"] { order:5; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-cook-title"] { order:6; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-cook-copy"] { order:7; }
  .mail-templates .is-liens-lobster [data-lobster-id="lobster-cook-cta"] { order:8; }
}
@media(prefers-reduced-motion:reduce) {
  .mail-templates .template-preview-block,.mail-templates .template-list button { transition:none; }
}
