/* The e-cards (templates/ecards, templates/beheer-ecards*). The site's stylesheet comes with the frame; buttons, fields and panels follow the site's own (the contact page). */
.ec [hidden]{display:none!important}
.ec{--ec-blue:#476eae;--ec-blue-d:#2c4a7a;--ec-rose:#d05a6e;--ec-field:#d7d3ca;--ec-line:#e7e4dd;--ec-muted:#4b5563;--ec-shadow:0 6px 20px rgba(31,41,55,.08);font-size:17px}
.ec h1{font:700 38px/1.15 Georgia,"Times New Roman",serif;margin:0 0 8px}
.ec h2{font:700 25px/1.2 Georgia,"Times New Roman",serif;margin:0 0 14px}
.ec h3{font:700 20px/1.25 Georgia,"Times New Roman",serif;margin:0 0 6px}
.ec-lead{font-size:19px;color:#3d4450;margin:0 0 22px;max-width:760px}
.ec-intro{font-size:19px;line-height:1.55;color:#2b2f36;margin:0 0 10px;max-width:760px}
.ec-muted{color:var(--ec-muted)}
.ec-search{display:flex;gap:10px;margin-top:18px;max-width:560px}
.ec-search input{flex:1;min-width:0;padding:15px 20px;border-radius:999px;border:1px solid var(--ec-field);font-size:18px;background:#fff}
.ec-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ec-blue);color:#fff;border:0;border-radius:8px;padding:14px 26px;font:700 18px/1.1 Inter,system-ui,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap}
.ec-btn:hover{background:#3d5f99;color:#fff}
.ec-btn--ghost{background:#fff;color:var(--ec-blue);border:1.5px solid var(--ec-blue)}.ec-btn--ghost:hover{background:#eef3fb;color:var(--ec-blue-d)}
.ec-btn--rose{background:var(--ec-rose)}.ec-btn--rose:hover{background:#b94a5d}
.ec-btn--big{padding:17px 32px;font-size:20px}
.ec-btn--small{padding:9px 16px;font-size:15px}
.ec-btn--danger{background:#fff;color:#b42318;border:1px solid #e3a59e}
.ec-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;margin:0;padding:0}
.ec-tile{display:block;position:relative;background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--ec-shadow);color:inherit;text-decoration:none}
.ec-tile:hover{box-shadow:0 10px 26px rgba(31,41,55,.16)}
/* A card is shown whole, never cut: many carry words up to their edge. */
.ec-tile__pic{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#f6f3ec;padding:8px}
.ec-tile__pic img{max-width:100%;max-height:100%;object-fit:contain;display:block;border-radius:6px}
.ec-tile__go{display:block;text-align:center;padding:10px;font-weight:700;color:var(--ec-blue);font-size:16px}
.ec-tile__badge{position:absolute;top:8px;left:8px;background:var(--ec-rose);color:#fff;font-size:12px;font-weight:700;padding:3px 9px;border-radius:999px}
.ec-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.ec-tabs a{padding:9px 18px;border-radius:999px;border:1px solid var(--ec-field);background:#fff;font-weight:600;color:var(--ec-blue);text-decoration:none}
.ec-tabs a[aria-current="page"]{background:var(--ec-blue);border-color:var(--ec-blue);color:#fff}
.ec-tabs--sub{margin-top:-6px}
.ec-tabs--sub a{padding:6px 14px;font-size:15px;font-weight:500}
.ec-tabs--sub a[aria-current="page"]{background:#eef3fb;border-color:var(--ec-blue);color:var(--ec-blue)}
.ec-pages{display:flex;gap:16px;align-items:center;justify-content:center;margin:16px 0}
.ec-pages a{font-weight:600;color:var(--ec-blue)}
.ec-more{text-align:center;margin:28px 0}
.ec-steps{display:flex;gap:10px;margin:0 0 22px;list-style:none;padding:0}
.ec-steps li{flex:1;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--ec-field);font-weight:700;color:var(--ec-muted);font-size:16px}
.ec-steps b{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e9edf5;color:var(--ec-blue-d);margin-right:8px}
.ec-steps .on{border-color:var(--ec-blue);color:#1a1a1a}
.ec-steps .on b{background:var(--ec-blue);color:#fff}
.ec-steps .done b{background:#3f9a6c;color:#fff}
.ec-panel{background:#fff;border-radius:16px;padding:24px 26px;box-shadow:var(--ec-shadow)}
.ec-panel+.ec-panel{margin-top:18px}
.ec-label{display:block;font-weight:700;margin:16px 0 6px;font-size:17px}
.ec-label small{font-weight:500;color:var(--ec-muted)}
.ec-input{box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid var(--ec-field);border-radius:8px;font:17px/1.4 Inter,system-ui,sans-serif;background:#fff;color:#1a1a1a}
.ec-input:focus{outline:3px solid rgba(71,110,174,.3);border-color:var(--ec-blue)}
textarea.ec-input{min-height:160px;resize:vertical}
.ec-input[aria-invalid="true"]{border-color:#b42318;background:#fff8f7}
.ec-error{color:#b42318;font-size:15px;margin:6px 0 0;font-weight:600}
.ec-alert{background:#fdecec;border:1px solid #f3c1c1;color:#7f1d1d;border-radius:14px;padding:12px 16px;margin:0 0 16px}
.ec-hint{font-size:15px;color:var(--ec-muted);margin:6px 0 0}
.ec-row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
/* Choices drawn as buttons: radio inputs inside labels. */
.ec-choices{display:flex;gap:10px;flex-wrap:wrap;margin:0;padding:0;border:0}
.ec-choice{position:relative;cursor:pointer}
.ec-choice input{position:absolute;opacity:0;inset:0;cursor:pointer}
.ec-choice span{display:inline-block;padding:10px 18px;border-radius:999px;border:1px solid var(--ec-field);background:#fff;font-size:18px;color:var(--ec-blue)}
.ec-choice input:checked+span{background:var(--ec-blue);border-color:var(--ec-blue);color:#fff}
.ec-choice input:focus-visible+span{outline:3px solid rgba(71,110,174,.5)}
.ec-swatch span{width:46px;height:46px;padding:0;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.ec-swatch input:checked+span{box-shadow:0 0 0 3px #fff,0 0 0 5px var(--ec-blue)}
.ec-addr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:10px;margin-bottom:10px}
.ec-add{background:none;border:0;padding:0;color:var(--ec-blue);font:700 17px/1.4 Inter,system-ui,sans-serif;cursor:pointer}
.ec-check{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border:1px solid var(--ec-field);border-radius:8px;margin-top:12px;cursor:pointer}
.ec-check input{width:22px;height:22px;margin:2px 0 0;accent-color:var(--ec-blue);flex:none}
.ec-card{background:var(--ec-bg,#fff);border-radius:16px;box-shadow:0 22px 50px rgba(31,41,55,.18);padding:22px;border:1px solid #eee;color:var(--ec-fc,#2d2a26);font-family:var(--ec-font,Georgia,serif)}
.ec-card__pic{display:block;max-width:100%;margin:0 auto;border-radius:10px}
.ec-card__title{font-weight:700;font-size:calc(var(--ec-size,23px) + 6px);line-height:1.2;text-align:center;margin:16px 0 4px}
.ec-card__msg{font-size:var(--ec-size,23px);line-height:1.5;padding:12px 6px 4px;white-space:pre-line;overflow-wrap:anywhere}
.ec-card__sig{text-align:right;font-style:italic;font-size:var(--ec-size,23px);padding:4px 6px 0}
.ec-help{background:#fff8e6;border:1px solid #f0dca8;border-radius:16px;padding:16px 18px;font-size:16px;margin-top:16px}
.ec-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.ec-center{text-align:center;max-width:760px;margin:0 auto}
.ec-center .ec-actions{justify-content:center}
.ec-sentpic{width:220px;max-width:70%;border-radius:14px;box-shadow:0 14px 34px rgba(31,41,55,.2);border:6px solid #fff;transform:rotate(-3deg);background:#fff}
.ec-sentcard{max-width:440px;margin:6px auto 26px;text-align:left}
.ec-list{list-style:none;margin:0;padding:0}
.ec-list>li{display:grid;grid-template-columns:86px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--ec-line)}
.ec-list>li:first-child{border-top:0}
.ec-list img{width:86px;height:86px;object-fit:contain;background:#f6f3ec;border-radius:12px}
.ec-list__who{font-weight:700;font-size:18px}
.ec-pill{display:inline-block;border-radius:999px;padding:2px 11px;font-size:14px;font-weight:700;vertical-align:middle}
.ec-pill--read{background:#e6f4ea;color:#1e6b3a}.ec-pill--sent{background:#e8eefb;color:#2c4a7a}.ec-pill--planned{background:#fdf3e1;color:#7a4a00}.ec-pill--stopped{background:#f1f1f1;color:#555}.ec-pill--blocked{background:#fde8e8;color:#9b1c1c}
.ec-acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.ec-acts form{margin:0}
.ec-drop{display:block;border:2.5px dashed #b9c6de;border-radius:18px;padding:26px;text-align:center;background:#f7f9fd;color:var(--ec-blue-d);font-weight:700;cursor:pointer}
.ec-drop input{display:block;margin:12px auto 0;font-size:16px}
.ec-pager{display:flex;flex-wrap:wrap;gap:6px;align-items:center;justify-content:center;margin:14px 0}
.ec-pager a,.ec-pager b{min-width:38px;padding:7px 10px;border-radius:8px;text-align:center;border:1px solid var(--ec-line);text-decoration:none}
.ec-pager b{background:var(--ec-blue);border-color:var(--ec-blue);color:#fff}
.ec-admbar select{max-width:100%}
.ec-admbar__say{margin:0 0 8px;color:var(--ec-muted);font-size:15px}
.ec-admbar__acts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.ec-admbar{position:sticky;bottom:0;z-index:5;margin:14px 0 0;padding:12px 14px;background:#fff;border:1px solid var(--ec-line);border-radius:12px;box-shadow:0 -4px 14px rgba(0,0,0,.08)}
.ec-admgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;list-style:none;margin:0;padding:0}
.ec-admgrid li{position:relative;background:#fff;border:1px solid var(--ec-line);border-radius:12px;overflow:hidden}
.ec-admgrid label{display:block;cursor:pointer}
.ec-admgrid input[type=checkbox]{position:absolute;top:8px;left:8px;width:22px;height:22px;accent-color:var(--ec-blue)}
.ec-admgrid .off{opacity:.45}
.ec-admgrid small{display:block;padding:6px 8px;color:var(--ec-muted);font-size:13px}
.ec-table{width:100%;border-collapse:collapse;font-size:16px}
.ec-table th,.ec-table td{padding:10px 8px;border-bottom:1px solid var(--ec-line);text-align:left;vertical-align:middle}
.ec-table img{width:54px;height:54px;object-fit:contain;background:#f6f3ec;border-radius:8px}
.ec-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ec-received{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;list-style:none;margin:0;padding:0}
@media (max-width:900px){.ec-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.ec h1{font-size:30px}.ec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ec-steps li{flex:none;font-size:0;padding:8px}.ec-steps b{margin:0;font-size:15px}.ec-steps{justify-content:center}.ec-row2,.ec-addr{grid-template-columns:minmax(0,1fr)}.ec-addr{padding-bottom:10px;border-bottom:1px dashed var(--ec-line)}.ec-list>li{grid-template-columns:64px minmax(0,1fr)}.ec-list img{width:64px;height:64px}.ec-acts{grid-column:1/-1;justify-content:flex-start}.ec-search{flex-direction:column}.ec-btn--big{width:100%}}
@media print{.acc-nav,.pp-frame__crumbs,header,footer,.ec-actions,.ec-noprint{display:none!important}.ec-card{box-shadow:none;border:0}}
/* The site's link colour must not reach the e-cards' buttons, and a card's message reads from the left. */
.ec a.ec-btn,.ec a.ec-btn:hover{color:#fff;text-decoration:none}
.ec a.ec-btn--ghost,.ec a.ec-btn--ghost:hover{color:var(--ec-blue)}
.ec a.ec-btn--danger{color:#b42318}
.ec-card__msg{text-align:left}
/* The public e-card pages with their advertisements: a column beside the page on a wide screen, under it on a phone (layout.twig, ecards/_parts). */
.ec-cols--side{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}
/* Kept in sight under the site's own sticky header (--pp-head, the frame's paper.css). */
.ec-cols__side{position:sticky;top:calc(var(--pp-head,0px) + 18px)}
/* Kept in sight only where the screen is tall enough for all of it; a taller one stood still halfway. */
@media (max-height:800px){.ec-cols__side{position:static}}
.ec-grid__mark{grid-column:1/-1;height:1px;list-style:none}
.ec-ad__side{min-width:min(300px,100%);min-height:600px}
.ec-ad__side.ad-slot--dev{display:grid;place-items:center;width:300px;height:600px;max-width:100%}
@media (max-width:900px){.ec-cols--side{grid-template-columns:minmax(0,1fr)}.ec-cols__side{position:static;display:flex;justify-content:center}.ec-ad__side{min-height:250px}.ec-ad__side.ad-slot--dev{height:250px}}
/* The address step and the check. */
.ec-addrpage{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:28px;align-items:start}
.ec-mini .ec-card{padding:14px;box-shadow:0 12px 30px rgba(31,41,55,.14)}
.ec-mini .ec-card__msg,.ec-mini .ec-card__title,.ec-mini .ec-card__sig{font-size:calc(var(--ec-size,23px) * .75)}
.ec-h3{font:700 21px/1.3 Georgia,"Times New Roman",serif;margin:0 0 12px}
.ec-lead--center{text-align:center;margin:0 0 12px}
@media (max-width:900px){.ec-addrpage{grid-template-columns:minmax(0,1fr)}.ec-mini{position:static;max-width:320px;margin:0 auto}}
/* Browsing the e-cards: the list of categories beside the cards, as the old e-cards had it (ecards/_parts browse). */
.ec-browse{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start}
.ec-browse__main h1{margin-top:0}
.ec-browse .ec-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.ec-browse .ec-tile__pic{padding:6px}
.ec-browse .ec-tile__go{padding:7px 6px;font-size:15px}
.ec-side{background:#fff;border-radius:16px;padding:14px 10px 10px;box-shadow:var(--ec-shadow)}
.ec-side__search{display:flex;gap:6px;margin:0 0 12px}
.ec-side__search input{flex:1;min-width:0;border:1px solid var(--ec-field);border-radius:999px;padding:10px 14px;font:16px Inter,system-ui,sans-serif;background:#fff}
.ec-side__search input:focus{outline:3px solid rgba(71,110,174,.3);border-color:var(--ec-blue)}
.ec-side__go{flex:none;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--ec-blue);color:#fff;cursor:pointer}
.ec .ec-side h2.ec-side__head{font:700 13px/1.2 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--ec-muted);margin:8px 8px 6px}
.ec-side ul{list-style:none;margin:0 0 10px;padding:0}
.ec-side li a{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:8px 10px;border-radius:10px;color:#1f2937;text-decoration:none;font:500 16px/1.25 Inter,system-ui,sans-serif}
.ec-side li a small{color:#6b7280;font-size:14px;white-space:nowrap}
.ec-side li a:hover{background:#eef3fb}
.ec-side li a[aria-current=page]{background:var(--ec-blue);color:#fff}
.ec-side li a[aria-current=page] small{color:#dfe7f5}
.ec-side__soon a{background:#fff6e5}
.ec-side__soon a small{color:#9a6b12}
.ec-side__all summary{display:none}
.ec-side__mine{margin:4px 10px 6px;font-size:15px}
.ec-side__mine a{color:var(--ec-blue);font-weight:600}
@media (max-width:900px){
  .ec-browse{grid-template-columns:minmax(0,1fr);gap:16px}
  .ec-side{position:static;padding:12px}
  .ec-side__soon{display:flex;gap:8px;overflow-x:auto;margin:0 0 10px;scrollbar-width:none}
  .ec-side__soon li{flex:none}.ec-side__soon a{white-space:nowrap}
  .ec-side__all summary{display:flex;justify-content:space-between;align-items:center;list-style:none;cursor:pointer;border:1px solid var(--ec-field);border-radius:8px;padding:12px 16px;font:700 18px/1.2 Inter,system-ui,sans-serif;color:var(--ec-blue-d)}
  .ec-side__all summary::-webkit-details-marker{display:none}
  .ec-side__all summary::after{content:"▾";margin-left:10px}
  .ec-side__all[open] summary::after{content:"▴"}
  .ec-side__all[open] summary{margin-bottom:8px}
  .ec-side__all .ec-side__head{display:none}
  .ec-side__all ul{columns:2;column-gap:6px}
  .ec-side__all li{break-inside:avoid}
}
@media (max-width:420px){.ec-side__all ul{columns:1}}
@media (max-width:600px){.ec-browse .ec-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ec-browse .ec-tile{border-radius:10px}.ec-browse .ec-tile__pic{padding:4px}.ec-browse .ec-tile__go{font-size:14px;padding:6px 2px}.ec-browse .ec-tile__badge{top:4px;left:4px;font-size:11px;padding:2px 7px}}

/* The welcome on the e-cards' front page, with three cards laid on top of each other. */
.ec-hero{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:center;background:linear-gradient(135deg,#fdf1e7,#f7ecf5 55%,#eaf1fb);border-radius:16px;padding:28px 30px;margin-bottom:26px;box-shadow:var(--ec-shadow)}
.ec-hero h1{margin:0 0 10px}
.ec-hero .ec-lead{margin:0}
.ec-hero__stack{position:relative;height:220px}
.ec-hero__pic{position:absolute;width:150px;height:150px;object-fit:contain;background:#fff;border-radius:14px;box-shadow:0 18px 40px rgba(31,41,55,.22);border:6px solid #fff}
.ec-hero__pic--1{left:0;top:34px;transform:rotate(-8deg)}
.ec-hero__pic--2{left:72px;top:6px;transform:rotate(4deg);z-index:1}
.ec-hero__pic--3{left:144px;top:46px;transform:rotate(11deg);z-index:2}
.ec .ec-browse__title{font:700 30px/1.2 Georgia,"Times New Roman",serif;margin:0 0 6px}
@media (max-width:900px){.ec-cols--side .ec-hero{grid-template-columns:minmax(0,1fr)}.ec-cols--side .ec-hero__stack{width:300px;margin:0 auto}}
@media (max-width:700px){.ec-hero{grid-template-columns:minmax(0,1fr);padding:22px}.ec-hero__stack{width:290px;height:190px;margin:0 auto}.ec-hero__pic{width:128px;height:128px}.ec-hero__pic--2{left:78px}.ec-hero__pic--3{left:156px}}
/* On a phone a big button takes the full width with a smaller letter, so its words keep to one line; only a button carrying a member's name may wrap. */
@media (max-width:600px){.ec .ec-btn--big{padding:15px 14px;font-size:17px}.ec .ec-btn--wrap{white-space:normal;text-align:center;line-height:1.25}}
/* The page around the e-cards: the frame sets width and margins; a plain page of our own without it. */
.ec-page{padding-bottom:40px}
.ec-flash{background:#e6f4ea;border:1px solid #b7dfc3;color:#1e6b3a;border-radius:12px;padding:12px 16px;font-weight:600;margin:0 0 18px}
.ec-note{max-width:640px}
.ec-note h1{margin-top:0}
.ec-body{margin:0;background:#fbf9f4;font:17px/1.5 Inter,system-ui,sans-serif;color:#1f2937}
.ec-body .ec-page,.ec-body .ec-crumbs{max-width:1240px;margin:0 auto;padding-left:16px;padding-right:16px}
.ec-bar{background:#fff;border-bottom:1px solid #e7e4dd;padding:14px 16px;font:700 22px Georgia,serif}
.ec-bar a{color:#2c4a7a;text-decoration:none}
.ec-crumbs{font-size:15px;color:#4b5563;margin:14px 0}
.ec-crumbs a{color:inherit}
/* Beside the advertising column the welcome is narrower: the cards smaller, the heading too. */
.ec-cols--side .ec-hero{grid-template-columns:minmax(0,1fr) 230px;padding:24px 26px}
.ec-cols--side .ec-hero h1{font-size:32px}
.ec-cols--side .ec-hero__stack{height:180px}
.ec-cols--side .ec-hero__pic{width:118px;height:118px}
.ec-cols--side .ec-hero__pic--2{left:56px}
.ec-cols--side .ec-hero__pic--3{left:112px}
@media (max-width:700px){.ec-cols--side .ec-hero{grid-template-columns:minmax(0,1fr)}.ec-cols--side .ec-hero__stack{width:240px;margin:0 auto}}
/* A fieldset is as wide as its contents by default; the row of choices scrolls inside the bar instead. */
.ec-choices{min-width:0;max-width:100%}
/* A staff table scrolls sideways inside its panel on a phone. */
@media (max-width:700px){.ec-table{display:block;overflow-x:auto}}
.ec-body .pp__top{display:none}

/* The card editor (ecards/_form editor): the card as the recipient sees it, slightly tilted, in the middle; the text and the look beside it, under it on a phone. */
.ec-builder{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);gap:36px;align-items:start}
.ec-stage{text-align:center}
.ec-stage__label{margin:0 0 14px;font-size:15px;font-weight:600;color:var(--ec-muted)}
.ec-tilt{max-width:600px;margin:0 auto;transform:rotate(-1.2deg);transition:transform .3s}
.ec-tilt .ec-card{text-align:left}
.ec-card__pic{max-width:100%;height:auto}
.ec-card__msg.is-empty::before{content:attr(data-empty);opacity:.6;font-style:italic}
.ec-stage__other{margin-top:22px}
.ec-edit{display:flex;flex-direction:column;gap:18px}
.ec-write .ec-label:first-of-type{margin-top:4px}
.ec-write textarea.ec-input{min-height:150px}
.ec-look summary{display:flex;flex-direction:column;gap:2px;cursor:pointer;list-style:none;padding-right:30px;position:relative}
.ec-look summary::-webkit-details-marker{display:none}
.ec-look summary::after{content:"▾";position:absolute;right:0;top:2px;font-size:20px;color:var(--ec-blue)}
.ec-look[open] summary::after{content:"▴"}
.ec-look__title{font:700 21px/1.3 Georgia,"Times New Roman",serif}
.ec-look__hint{font-size:15px;color:var(--ec-muted)}
.ec-look .ec-choices{margin-top:6px}
.ec-look .ec-swatch span{width:40px;height:40px}
/* On a phone the text comes first, the card under it, so what is typed shows right below the field. */
@media (max-width:900px){.ec-builder{display:flex;flex-direction:column;gap:22px}.ec-edit{display:contents}.ec-write{order:1}.ec-stage{order:2}.ec-tilt{max-width:520px}}
@media (max-width:600px){.ec-builder~.ec-help,.ec .ec-lead{font-size:17px}.ec-tilt{transform:rotate(-.8deg)}.ec-tilt .ec-card{padding:14px}}
/* The received card stands slightly tilted too, as it does while it is made. */
.ec-center .ec-card{transform:rotate(-1.2deg)}
@media print{.ec-center .ec-card{transform:none}}
/* The look under the card and the text, over the full width; a letter colour that cannot be read on the chosen card is shown off. */
.ec-look{margin-top:28px}
.ec-look .ec-choices{flex-wrap:wrap}
.ec-swatch input:disabled+span{opacity:.25;cursor:not-allowed;background-image:linear-gradient(135deg,transparent 46%,#b42318 46%,#b42318 54%,transparent 54%)!important}
.ec-swatch input:disabled{cursor:not-allowed}
/* The check before sending: what goes where on the left, the card as it will arrive on the right. */
.ec-checkpage{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);grid-template-areas:"left right" "back right";grid-template-rows:auto 1fr;gap:20px 36px;align-items:start}
.ec-checkpage__left{grid-area:left}
.ec-checkpage__right{grid-area:right}
.ec-check__send{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:28px}
.ec-check__back{grid-area:back;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ec-summary h2.ec-h3{margin:16px 0 4px;font-size:18px}
.ec-summary h2.ec-h3:first-child{margin-top:0}
.ec-summary ul{margin:0;padding-left:20px;font-size:17px}
.ec-summary p{font-size:17px;margin:0}
.ec-summary__note{margin-top:18px;padding:14px 16px;border-radius:10px;background:#fff7e6;border:1px solid #f0dca8}
.ec-summary__note p{font-size:16px;margin:0 0 12px}
.ec-flash-ring{outline:3px solid var(--ec-rose);outline-offset:4px;border-radius:4px}
@media (max-width:900px){.ec-checkpage{grid-template-columns:minmax(0,1fr);grid-template-areas:"left" "right" "back";grid-template-rows:none;gap:22px}.ec-check__send .ec-btn{width:100%}.ec-check__back{align-items:stretch}}
/* The steps' buttons: forward on the right, back on the left (the forward one comes first in the page, so Enter takes it). */
.ec-actions--steps{justify-content:space-between;align-items:center}
.ec-actions--steps .ec-actions__next{order:2;margin-left:auto}
@media (max-width:600px){.ec-actions--steps{flex-direction:column-reverse;align-items:stretch}.ec-actions--steps .ec-actions__next{margin-left:0}}

/* A plain fold (staff pages): an arrow that turns when it opens. */
.ec-fold>summary{cursor:pointer;list-style:none}
.ec-fold>summary::-webkit-details-marker{display:none}
.ec-fold>summary::after{content:'';display:inline-block;width:7px;height:7px;margin:0 2px 3px 10px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.ec-fold[open]>summary::after{margin-bottom:-1px;transform:rotate(-135deg)}

/* The front page's "how it works", and the folded help on the recipients' page. */
.ec-how{margin:34px 0 0;padding:20px 24px;border:1px solid var(--ec-field);border-radius:16px;background:#fff}
.ec-how h2{margin:0 0 10px;font:700 22px/1.25 Georgia,serif}
.ec-how ol{margin:0 0 12px;padding-left:22px;display:grid;gap:6px;font-size:17px;line-height:1.45}
.ec-how p{margin:0 0 8px;font-size:16px;line-height:1.5;text-wrap:pretty}
.ec-guide{margin:22px 0 0;padding:12px 18px;border:1px solid var(--ec-field);border-radius:12px;background:#fff}
.ec-guide summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;font-weight:700;font-size:17px}
.ec-guide summary::-webkit-details-marker{display:none}
.ec-guide summary::after{content:'';flex:none;width:9px;height:9px;margin:0 6px 5px 0;border-right:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.ec-guide[open] summary::after{margin-bottom:-4px;transform:rotate(-135deg)}
.ec-guide p{margin:10px 0 0;font-size:16px;line-height:1.5;text-wrap:pretty}

/* "Tekst wissen" beside the heading of the text. */
.ec-write__head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ec-clear{flex:none;padding:6px 14px;border:1px solid var(--ec-field);border-radius:999px;background:#fff;color:var(--ec-blue-d);font:600 15px/1.2 Inter,system-ui,sans-serif;cursor:pointer}
.ec-clear:hover{border-color:var(--ec-blue)}
.ec-clear[hidden]{display:none}

/* A step done is a way back to it. */
.ec-steps__go{display:flex;align-items:center;gap:0;width:100%;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;text-decoration:none;cursor:pointer}
.ec-steps .done{cursor:pointer}
.ec-steps .done:hover{border-color:var(--ec-blue)}
.ec-steps__go:focus-visible{outline:3px solid var(--ec-blue);outline-offset:4px;border-radius:8px}

/* Between a phone and a wide screen the advertising column stays on the right, a little narrower. */
@media (min-width:901px) and (max-width:1100px){.ec-cols--side{grid-template-columns:minmax(0,1fr) 260px;gap:20px}}

/* Fireworks around the card (ecards.js): a sky larger than the card, so a burst may go
   beyond its edge; never wider than the page itself on a phone. */
.ec-card{position:relative}
.ec-fx{position:absolute;top:-140px;right:-90px;bottom:-30px;left:-90px;pointer-events:none;z-index:2}
.ec-fx[hidden]{display:none}
.ec-fx__sky{position:absolute;inset:0}
.ec-fx-toggle{margin:12px 0 0;text-align:center}
.ec-fx-toggle .ec-btn[hidden]{display:none}
.ec-fx-page,.ec-fx-page body{overflow-x:clip}
@media (max-width:700px){.ec-fx{right:-12px;left:-12px}}

.ec-figures{width:100%;border-collapse:collapse;font-size:16px}.ec-figures th,.ec-figures td{text-align:right;padding:7px 10px;border-bottom:1px solid var(--ec-field)}.ec-figures th:first-child,.ec-figures td:first-child{text-align:left}

.ec-nopic{display:flex;align-items:center;justify-content:center;width:72px;height:54px;border-radius:8px;background:#f1efe9;color:#9a948a;font-size:26px}
.ec-remember{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.ec-remember__say{color:var(--ec-muted);font-size:15px;margin-right:2px}
.ec-remember__chip{border:1px solid var(--ec-field);background:#fff;color:var(--ec-blue);border-radius:999px;padding:6px 14px;font:600 15px Inter,system-ui,sans-serif;cursor:pointer;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ec-remember__chip:hover{background:#eef3fb}
