.efs{--petrol:#124e53;--deep:#10393e;--gold:#b9944b;--ink:#203c41;--muted:#65777a;--line:#dbe4e2;--paper:#fff;--bg:#f3f6f4;color:var(--ink);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif;box-sizing:border-box}.efs *{box-sizing:border-box}.efs h1,.efs h2,.efs h3{color:var(--deep);font-family:inherit;line-height:1.2}.efs h1{font-size:30px;margin:8px 0 20px}.efs h2{font-size:27px;margin:14px 0}.efs h3{font-size:19px}.efs p{margin:8px 0 18px}.efs button,.efs input,.efs select,.efs textarea{font:inherit;max-width:100%}.efs input:not([type=checkbox]):not([type=radio]):not([type=file]),.efs select,.efs textarea{border:1px solid #bacccb;border-radius:8px;background:#fff;color:var(--ink);padding:11px 12px;min-height:44px;width:100%;box-shadow:none}.efs textarea{min-height:110px;resize:vertical}.efs input:focus,.efs select:focus,.efs textarea:focus,.efs button:focus-visible,.efs a:focus-visible{outline:3px solid #d9bd7f;outline-offset:2px}.efs input[type=checkbox],.efs input[type=radio]{accent-color:var(--petrol);width:19px;height:19px;flex-shrink:0;margin:2px 0}.efs button,.efs summary{cursor:pointer}.efs button:disabled{opacity:.5;cursor:wait}.efs [hidden]{display:none!important}.efs a{color:var(--petrol)}.efs .efs-button,.efs .efs-secondary,.efs .efs-danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:8px;padding:11px 18px;min-height:44px;text-decoration:none;font-weight:650;border:1px solid var(--petrol);background:var(--petrol);color:#fff;text-align:center}.efs .efs-secondary{background:#fff;color:var(--petrol);border-color:#c7d5d2}.efs .efs-danger{background:#fff;color:#9b302d;border-color:#ddb8b5;margin-top:15px}.efs .efs-link{border:0;background:none;color:var(--petrol);padding:8px;font-weight:600;text-decoration:underline;text-underline-offset:3px}.efs .efs-brand{display:flex;align-items:center;min-height:65px;margin-bottom:20px}.efs .efs-brand img{max-width:220px;max-height:72px;object-fit:contain}.efs .efs-brand strong{font-size:24px;letter-spacing:2px;color:var(--petrol)}.efs .efs-brand small{display:block;font-size:10px;letter-spacing:5px;color:var(--gold)}.efs .efs-eyebrow{display:block;font-size:11px;letter-spacing:1.7px;line-height:1.7;font-weight:750;color:#7b652f}.efs .efs-form-head,.efs .efs-portal-head{margin:0 0 25px}.efs .efs-form-head h2,.efs .efs-portal-head h2{font-size:clamp(28px,4vw,42px);letter-spacing:-1px}.efs .efs-test{background:#fff7e3;color:#785820;border-left:3px solid var(--gold);padding:10px 14px;font-size:13px}.efs .efs-progress{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px;font-size:13px;color:var(--muted)}.efs .efs-section{border:1px solid var(--line);background:#fff;border-radius:13px;margin-bottom:16px;overflow:hidden}.efs .efs-section>summary{display:flex;gap:14px;align-items:center;padding:20px 24px;font-size:18px;font-weight:700;list-style:none;background:#f7f9f7}.efs .efs-section>summary::after{content:'+';margin-left:auto;color:var(--petrol)}.efs .efs-section[open]>summary::after{content:'−'}.efs .efs-section>summary>span{font-size:12px;color:var(--gold)}.efs .efs-fields{padding:8px 25px 25px;display:grid;grid-template-columns:1fr 1fr;gap:8px 25px}.efs .efs-field{min-width:0;padding:17px 0}.efs .efs-field:has(textarea),.efs .efs-field:has(.efs-choices),.efs .efs-field:has(canvas),.efs .efs-field:has(input[type=file]),.efs .efs-field:has(.efs-note),.efs .efs-field:has(.efs-products),.efs .efs-field:has(.efs-compound){grid-column:1/-1}.efs .efs-field>label{display:block;font-weight:650;font-size:14px;margin-bottom:8px;white-space:pre-wrap}.efs .efs-required{color:#9b302d}.efs .efs-help{display:block;color:var(--muted);font-size:12px;white-space:pre-wrap;margin-top:7px}.efs .efs-note{white-space:pre-wrap;background:#f2f6f4;border-left:3px solid var(--gold);padding:16px 18px;font-size:14px}.efs .efs-choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.efs .efs-choices>label{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff;cursor:pointer;font-size:14px}.efs .efs-choices>label:has(input:checked){background:#eaf3ef;border-color:var(--petrol)}.efs .efs-compound{display:flex;flex-wrap:wrap;gap:12px}.efs .efs-compound>label{flex:1 1 180px}.efs .efs-compound small{display:block;color:var(--muted);font-size:12px;margin-bottom:5px}.efs .efs-upload-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.efs .efs-upload-list>div{font-size:12px;max-width:180px;overflow-wrap:anywhere}.efs .efs-upload-list img{width:150px;height:110px;object-fit:cover;display:block;border-radius:7px;margin-bottom:6px}.efs .efs-signature{display:block;width:100%;height:auto;max-height:160px;border:1px dashed #89aaa8;border-radius:8px;background:#fff;touch-action:none}.efs .efs-products>div{display:flex;gap:20px;padding:15px 0;border-bottom:1px solid var(--line);align-items:center}.efs .efs-products>div>div{flex:1}.efs .efs-products small,.efs .efs-products span{display:block;font-size:12px}.efs .efs-products select{width:135px}.efs .efs-products>strong{display:block;text-align:right;margin-top:15px}.efs .efs-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:20px}.efs .efs-error{color:#9b302d;font-weight:600}.efs .efs-field .efs-error{display:block;margin-top:6px;line-height:1.5}.efs .efs-message:not(:empty){padding:15px;border:1px solid #dfc5a3;background:#fff9ec;margin:15px 0;white-space:pre-line}.efs .efs-honey{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important}.efs .efs-receipt{padding:35px;background:var(--bg);border-radius:15px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.efs .efs-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.efs .efs-form-card{background:#fff;border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:11px;padding:24px;text-align:left;color:var(--ink);display:flex;flex-direction:column;gap:16px;min-height:210px;transition:transform .15s,box-shadow .15s}.efs .efs-form-card:hover{transform:translateY(-2px);box-shadow:0 8px 25px #123d4112;border-color:var(--petrol)}.efs .efs-form-card strong{font-size:21px;line-height:1.3}.efs .efs-form-card small{font-size:12px;color:var(--muted)}.efs .efs-card-arrow{margin-top:auto;font-size:13px;color:var(--petrol);font-weight:650}.efs .efs-legacy{margin-top:30px;font-size:13px}.efs .efs-stage:empty{display:none}.efs-frontend,.efs-portal{max-width:1120px;margin:25px auto;padding:25px 10px}.efs#efs-admin{display:grid;grid-template-columns:275px minmax(0,1fr);background:var(--bg);margin:0 0 0 -20px;min-height:calc(100vh - 32px)}.efs .efs-sidebar{background:#fff;border-right:1px solid var(--line);padding:22px 16px;max-height:calc(100vh - 32px);overflow-y:auto;position:sticky;top:32px}.efs .efs-sidebar .efs-brand{padding:0 8px}.efs .efs-sidebar .efs-brand img{max-width:210px}.efs .efs-side-links{display:flex;gap:2px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--line)}.efs .efs-side-links button{border:0;border-radius:6px;background:transparent;padding:8px;font-size:12px;color:var(--petrol)}.efs .efs-side-links button.active{background:var(--petrol);color:#fff}.efs .efs-sidebar-label{color:var(--muted);font-size:10px;letter-spacing:1.2px;padding:20px 9px 8px}.efs .efs-template{border:0;border-left:3px solid transparent;border-radius:6px;background:transparent;display:block;text-align:left;width:100%;padding:11px;color:var(--ink);margin:3px 0}.efs .efs-template strong{font-size:13px;font-weight:600}.efs .efs-template small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.efs .efs-template.active{background:#eaf2ee;border-left-color:var(--gold)}.efs .efs-admin-main{padding:30px clamp(16px,3vw,42px);min-width:0}.efs .efs-editor-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.efs .efs-editor-header h1{margin-bottom:0}.efs .efs-editor-header .efs-actions{flex-shrink:0}.efs .efs-tabs{display:flex;gap:4px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:25px}.efs .efs-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;padding:13px 15px;color:var(--muted);font-size:13px}.efs .efs-tabs button.active{color:var(--petrol);border-bottom-color:var(--gold);font-weight:700}.efs .efs-builder{display:grid;grid-template-columns:minmax(220px,1fr) minmax(260px,1fr);gap:22px;margin-top:25px}.efs .efs-field-list,.efs .efs-properties{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}.efs .efs-field-list h2,.efs .efs-properties h2{font-size:20px}.efs .efs-properties{position:sticky;top:50px;align-self:start;max-height:calc(100vh - 75px);overflow:auto}.efs .efs-section-title{padding:18px 0 10px}.efs .efs-section-title input{font-weight:700;background:#f4f7f5!important;border:0!important}.efs .efs-field-row{display:flex;flex-direction:column;text-align:left;width:100%;border:1px solid var(--line);border-radius:7px;background:#fff;padding:10px 13px;color:var(--ink);margin:8px 0;font-size:13px}.efs .efs-field-row small{font-size:10px;color:var(--muted);margin-bottom:4px}.efs .efs-field-row.active{border-color:var(--petrol);background:#edf5f1;box-shadow:inset 3px 0 var(--gold)}.efs .efs-edit{display:block;margin:15px 0}.efs .efs-edit>span{display:block;margin-bottom:6px;font-size:13px;font-weight:600}.efs .efs-check{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:flex-start;gap:9px;margin:14px 0;font-size:13px}.efs .efs-rule-card,.efs .efs-mail-card,.efs .efs-meta{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px;margin:15px 0}.efs .efs-rule-card>summary,.efs .efs-mail-card>summary{font-size:16px;list-style-position:outside;margin-left:10px}.efs .efs-rule-card>summary>small,.efs .efs-mail-card>summary>small{display:block;font-size:12px;color:var(--muted);margin-top:7px}.efs .efs-condition-row{display:grid;grid-template-columns:1.4fr 1fr 1.2fr auto;align-items:end;gap:10px;background:#f5f8f6;padding:10px;border-radius:7px;margin:10px 0}.efs .efs-condition-row .efs-edit{margin:0}.efs .efs-condition-row .efs-edit span{font-size:11px}.efs .efs-condition-row select,.efs .efs-condition-row input{font-size:12px;padding:8px}.efs .efs-condition-row button{font-size:11px}.efs .efs-targets{max-height:260px;overflow:auto;padding:10px;display:grid;gap:8px}.efs .efs-targets label{display:flex;gap:8px;font-size:12px}.efs .efs-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.efs .efs-code{display:block;padding:22px;background:#e9f0ec;border-left:3px solid var(--gold);font-size:17px;overflow:auto}.efs .efs-toast{position:fixed;right:25px;bottom:25px;z-index:999999;background:var(--deep);color:#fff;padding:13px 20px;border-radius:9px;max-width:550px;box-shadow:0 5px 25px #0002}.efs .efs-toast:empty{display:none}.efs .efs-toast.efs-error{background:#943c32;color:#fff}.efs .efs-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:9px;font-size:13px}.efs .efs-table th,.efs .efs-table td{text-align:left;padding:15px;border-bottom:1px solid var(--line)}.efs .efs-table td small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.efs .efs-search{display:flex;gap:10px;margin:20px 0}.efs .efs-originals{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:30px}.efs .efs-originals a{display:flex;flex-direction:column;width:180px;overflow-wrap:anywhere}.efs .efs-originals img{width:180px;height:125px;object-fit:cover;border-radius:7px}.efs .efs-originals small{font-size:10px;color:var(--muted)}.efs .efs-history{border-left:2px solid var(--line);margin:20px 0;padding-left:24px}.efs .efs-history article{padding:12px 0 20px;border-bottom:1px solid var(--line)}.efs .efs-history small{color:var(--muted);font-size:11px}.efs .efs-history pre{white-space:pre-wrap;font-size:11px;overflow-wrap:anywhere}.efs .efs-job{border:1px solid var(--line);border-left:3px solid var(--gold);background:#fff;border-radius:7px;padding:18px;margin:12px 0}.efs .efs-answer-list>div{display:grid;grid-template-columns:1fr 1.4fr;padding:14px 0;gap:25px;border-bottom:1px solid var(--line);font-size:13px}.efs .efs-signature-preview{max-height:120px;max-width:100%}@media(max-width:1100px){.efs .efs-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.efs#efs-admin{grid-template-columns:225px minmax(0,1fr)}.efs .efs-editor-header{flex-direction:column;align-items:flex-start}.efs .efs-builder{grid-template-columns:1fr}.efs .efs-properties{position:static;max-height:none}.efs .efs-condition-row{grid-template-columns:1fr 1fr}}@media(max-width:650px){.efs .efs-form-grid,.efs .efs-fields,.efs .efs-choices,.efs .efs-grid-two{grid-template-columns:1fr}.efs .efs-fields{padding:8px 16px 20px}.efs .efs-section>summary{padding:17px;font-size:16px}.efs .efs-form-card{min-height:170px}.efs#efs-admin{display:block}.efs .efs-sidebar{position:static;max-height:280px}.efs .efs-admin-main{padding:22px 14px}.efs .efs-progress{align-items:flex-start;font-size:11px}.efs .efs-table{font-size:11px}.efs .efs-table th,.efs .efs-table td{padding:8px}.efs .efs-condition-row{grid-template-columns:1fr}.efs .efs-answer-list>div{grid-template-columns:1fr;gap:5px}.efs .efs-toast{left:18px;right:18px;bottom:15px}.efs .efs-button,.efs .efs-secondary{font-size:13px}.efs .efs-tab-content .efs-brand{margin-top:20px}}

.efs .efs-signature{height:160px;max-height:none}.efs .efs-note,.efs .efs-help,.efs .efs-field>label{overflow-wrap:anywhere}.efs .efs-mobile-back{display:none}@media(max-width:1100px){.efs .efs-field-list{max-height:55vh;overflow-y:auto}.efs .efs-mobile-back{display:inline-block}}

@media(max-width:650px){.efs .efs-table,.efs .efs-table tbody,.efs .efs-table tr,.efs .efs-table td{display:block;width:100%}.efs .efs-table{border:0;background:transparent}.efs .efs-table thead{display:none}.efs .efs-table tr{border:1px solid var(--line);border-radius:10px;margin:15px 0;padding:14px;background:#fff}.efs .efs-table td{border:0;padding:5px 0;font-size:13px}.efs .efs-table td:nth-child(3){font-size:11px;color:var(--muted)}.efs .efs-table td .efs-test{display:inline-block;margin-left:10px;padding:2px 8px}}

.efs.efs-card-mode{max-width:900px;margin-left:auto;margin-right:auto}.efs-card-mode .efs-progress{display:grid;grid-template-columns:auto minmax(150px,1fr);gap:20px;border:0;margin-bottom:4px}.efs-card-mode .efs-progress select{font-size:12px}.efs .efs-card-progress{display:block;width:100%;height:7px;border:0;border-radius:10px;overflow:hidden;margin:0 0 25px;accent-color:var(--petrol);background:#e4ece8}.efs .efs-card-progress::-webkit-progress-bar{background:#e4ece8}.efs .efs-card-progress::-webkit-progress-value{background:var(--petrol)}.efs-card-mode .efs-section{border-top:3px solid var(--gold);box-shadow:0 9px 30px #123d4108;scroll-margin-top:120px}.efs-card-mode .efs-section>summary{display:none}.efs-card-mode .efs-fields{padding:22px 30px;grid-template-columns:1fr;min-height:190px}.efs-card-mode .efs-field>label{font-size:19px;margin-bottom:15px}.efs-card-mode .efs-note{font-size:18px;font-weight:600;background:transparent;border:0;padding:0}.efs-card-mode .efs-field:has(.efs-note){padding-bottom:0}.efs .efs-card-nav{position:sticky;bottom:10px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:14px;box-shadow:0 4px 20px #123d4112;z-index:5}.efs-card-mode .efs-card-nav>.efs-button{margin-left:auto}.efs-card-mode .efs-card-nav>.efs-secondary{margin-right:auto}.efs-card-mode .efs-card-nav>.efs-secondary:disabled{cursor:default}.efs-card-mode .efs-card-nav>.efs-secondary:last-child{font-size:11px}.efs-card-mode .efs-form-head h2{font-size:clamp(25px,4vw,36px)}@media(max-width:650px){.efs-card-mode .efs-fields{padding:16px}.efs-card-mode .efs-field>label{font-size:18px}.efs-card-mode .efs-progress{grid-template-columns:1fr;gap:7px}.efs .efs-card-nav{bottom:5px;padding:10px}.efs-card-mode .efs-card-nav .efs-secondary:last-child{width:100%;margin:0}.efs .efs-card-nav .efs-button,.efs .efs-card-nav .efs-secondary{min-height:46px}}

.efs .efs-subsections{padding:0 18px 12px 25px}.efs .efs-subsections:empty{display:none}.efs .efs-fields:empty,.efs .efs-fields:not(:has(>.efs-field:not([hidden]),>.efs-card-attention:not([hidden]))){display:none}.efs-card-mode .efs-subsections{padding:0}.efs-card-mode .efs-section:has(.efs-subsections .efs-field:not([hidden])){border:0;box-shadow:none;overflow:visible;margin:0}.efs .efs-category-target{font-weight:700;background:#edf4ef;padding:9px;border-radius:6px}.efs .efs-section-title .efs-edit{margin:5px 0;font-size:11px}.efs .efs-section-title .efs-edit>span{font-size:10px}.efs .efs-section-title select{font-size:11px;min-height:34px;padding:6px}

.efs .efs-delivery-summary{padding:14px;border-left:3px solid var(--gold);background:#edf4ef;margin:20px 0 10px;white-space:pre-wrap;font-weight:600;font-size:13px;overflow-wrap:anywhere}

.efs .efs-preview-shell{overflow:auto;padding:20px 0}.efs .efs-preview-frame{display:block;width:100%;max-width:100%;height:900px;border:1px solid var(--line);border-radius:12px;background:#f4f7f4;margin:0 auto;transition:width .15s}

body:has(.efs-card-mode .efs-card-nav) #ast-scroll-top{display:none!important}

.efs .efs-reference-image{display:block;max-width:100%;height:auto;margin:15px auto}.efs .efs-field:has(.efs-reference-image){grid-column:1/-1}

/* Editable field widths and compact multi-question cards. */
.efs .efs-help:empty,.efs .efs-field .efs-error:empty{display:none}
.efs.efs-compact-step>.efs-brand{display:none}
.efs.efs-compact-step>.efs-form-head{margin-bottom:14px}
.efs.efs-compact-step>.efs-form-head .efs-eyebrow,.efs.efs-compact-step>.efs-form-head p{display:none}
.efs.efs-compact-step>.efs-form-head h2{font-size:22px;margin:0 0 15px;letter-spacing:0}
.efs-card-mode .efs-multi-card .efs-field{padding:8px 0}
.efs-card-mode .efs-multi-card .efs-field>label{font-size:14px;margin-bottom:7px}
.efs-card-mode .efs-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px}
.efs-card-mode .efs-field{grid-column:1/-1}
.efs .efs-field[data-width="half"]{grid-column:span 1}
.efs .efs-field[data-width="full"]{grid-column:1/-1}
.efs-card-mode .efs-field[data-width="half"]{padding:8px 0}
.efs-card-mode .efs-field[data-width="half"]>label{font-size:14px;margin-bottom:7px}
.efs .efs-template-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px 7px}
.efs .efs-template-meta .efs-status{display:inline-block;padding:2px 7px;border-radius:20px;font-size:10px;font-weight:750}
.efs .efs-status.is-active{background:#e2f3e7;color:#176330}
.efs .efs-status.is-inactive{background:#fae5e5;color:#a32626}
.efs .efs-template-meta .efs-placement{flex-basis:100%;font-size:10px}
.efs .efs-live-view{background:#fff;border:1px solid var(--line);border-radius:16px;padding:clamp(16px,3vw,32px);box-shadow:0 12px 38px #123d4110}
.efs .efs-preview-notice{font-size:12px;color:#65777a;border-left:2px solid #b9944b;padding:6px 12px;margin:0 0 20px}
.efs .efs-loading{border:1px solid var(--line);border-radius:16px;background:#fff;padding:45px 30px;text-align:center;min-height:180px;color:var(--muted)}
.efs .efs-loading-bar{height:5px;max-width:320px;background:#e4ece8;border-radius:10px;margin:18px auto;overflow:hidden}
.efs .efs-loading-bar::before{content:'';display:block;height:100%;width:40%;background:var(--petrol);animation:efs-loading 1.2s ease-in-out infinite}
@keyframes efs-loading{from{transform:translateX(-100%)}to{transform:translateX(350%)}}
@media(prefers-reduced-motion:reduce){.efs .efs-loading-bar::before{animation:none;transform:translateX(75%)}}
@media(max-width:650px){.efs-card-mode .efs-fields{grid-template-columns:minmax(0,1fr)}.efs .efs-field[data-width="half"]{grid-column:1/-1}.efs .efs-live-view{padding:15px 12px}.efs-card-mode .efs-field[data-width="half"]>label{font-size:14px}}

.efs .efs-heading-row{display:flex;align-items:center;justify-content:space-between;gap:12px 20px;flex-wrap:wrap;margin:12px 0}
.efs .efs-heading-row>h2{flex:1 1 220px;min-width:0;margin:0}
.efs .efs-step-counter{flex:0 0 auto;margin-left:auto;color:var(--muted);font-size:12px;white-space:nowrap;font-weight:600}
.efs.efs-compact-step>.efs-form-head .efs-heading-row{margin:0 0 14px}
.efs.efs-compact-step>.efs-form-head .efs-heading-row>h2{margin:0}
.efs .efs-originals>.efs-file-expired{display:flex;flex-direction:column;gap:7px;width:220px;border:1px dashed var(--line);border-radius:8px;padding:16px;color:var(--muted)}
.efs .efs-retention-panel{background:#fff;padding:25px;border:1px solid var(--line);border-radius:12px;margin-top:25px}
.efs .efs-retention-state{font-weight:700;color:var(--petrol)}
.efs .efs-retention-stats{display:flex;flex-wrap:wrap;gap:10px 25px}
.efs .efs-retention-stats p{padding:10px;background:var(--bg);border-radius:7px}

/* Stable card frame: long content scrolls inside; header and controls keep their place. */
.efs.efs-card-mode{overflow-anchor:none;scroll-margin-top:var(--efs-card-top,120px)}
.efs-card-mode .efs-card-body{height:var(--efs-card-height,clamp(120px,calc(100svh - 320px),600px));overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;scroll-padding:12px;overflow-anchor:none;border-radius:12px}
.efs-card-mode .efs-card-body>.efs-section{margin:0;min-height:100%;box-shadow:none}
.efs-card-mode .efs-card-body .efs-fields{align-content:start}
.efs-card-mode .efs-card-body [data-field]:focus{outline:none}
.efs-card-mode .efs-card-nav{margin-top:14px}

/* Website cards: center the whole visible group without clipping a long group. */
.efs-card-mode[data-card-alignment="center"] .efs-card-body{display:flex;flex-direction:column;background:linear-gradient(145deg,#f7faf8,#fff);border:1px solid var(--line)}
.efs-card-mode[data-card-alignment="center"] .efs-card-body::before,.efs-card-mode[data-card-alignment="center"] .efs-card-body::after{content:'';flex:1 0 0}
.efs-card-mode[data-card-alignment="center"] .efs-card-body>.efs-section{flex:0 0 auto;min-height:0;width:100%;border:0;background:transparent;border-radius:0;overflow:visible}
.efs-card-mode[data-card-alignment="center"] .efs-card-body .efs-section{border:0;background:transparent;box-shadow:none}
.efs-card-mode[data-card-alignment="center"] .efs-card-body .efs-fields{width:100%;max-width:800px;min-height:0;margin:0 auto;padding:30px 32px;gap:12px 20px}
.efs-card-mode[data-card-alignment="center"] .efs-card-body:not(.efs-multi-card) .efs-field>label{display:block;text-align:center;font-size:clamp(20px,2.5vw,26px);line-height:1.35;margin-bottom:20px}
.efs-card-mode[data-card-alignment="center"] .efs-card-body:not(.efs-multi-card) .efs-field>.efs-help{text-align:center;margin-top:14px}
.efs-card-mode[data-card-alignment="center"] .efs-card-body .efs-note{text-align:center;line-height:1.5}
.efs-card-mode .efs-choices:has(>label:only-child){grid-template-columns:minmax(0,1fr)}
.efs-card-mode .efs-choices>label{transition:background-color .15s,border-color .15s,box-shadow .15s,transform .15s;min-height:54px;padding:14px 16px;border-radius:10px;background:#fff;line-height:1.5;text-align:left}
.efs-card-mode .efs-choices>label:has(input:checked){background:#edf5f1;border-color:var(--petrol);box-shadow:inset 0 0 0 1px var(--petrol),0 3px 10px #124e5310}
.efs-card-mode .efs-choices>label:focus-within{outline:3px solid #b9944b80;outline-offset:3px}
.efs-card-mode .efs-heading-row{min-height:20px}
.efs-card-mode .efs-heading-row>h2[hidden]{display:none}
.efs-card-mode .efs-card-in-next{animation:efs-card-next .2s ease-out}
.efs-card-mode .efs-card-in-prev{animation:efs-card-prev .2s ease-out}
.efs-card-mode .efs-card-in-fade{animation:efs-card-fade .18s ease-out}
@keyframes efs-card-next{from{opacity:.35;transform:translateX(24px)}to{opacity:1;transform:translateX(0)}}
@keyframes efs-card-prev{from{opacity:.35;transform:translateX(-24px)}to{opacity:1;transform:translateX(0)}}
@keyframes efs-card-fade{from{opacity:.25}to{opacity:1}}
@media(hover:hover) and (pointer:fine){.efs-card-mode .efs-choices>label:hover{background:#f2f7f4;border-color:var(--petrol);box-shadow:0 4px 14px #124e5314;transform:translateY(-1px)}}
@media(max-width:650px){.efs-card-mode[data-card-alignment="center"] .efs-card-body .efs-fields{padding:22px 17px}.efs-card-mode .efs-choices>label{padding:12px;min-height:48px}}
@media(prefers-reduced-motion:reduce){.efs-card-mode .efs-card-in-next,.efs-card-mode .efs-card-in-prev,.efs-card-mode .efs-card-in-fade{animation:none}.efs-card-mode .efs-choices>label{transition:none;transform:none!important}}

/* Positive rule tree. Connectors are drawn from the actual node positions. */
.efs .efs-logic-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px;align-items:start}
.efs .efs-logic-library{position:sticky;top:50px;max-height:78vh;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px}
.efs .efs-logic-library h3{margin:0 0 15px;font-size:17px}
.efs .efs-logic-question{display:block;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px;width:100%;margin:10px 0;color:var(--ink);overflow-wrap:anywhere}
.efs .efs-logic-question small{display:block;font-size:10px;color:var(--muted);margin:3px 0}.efs .efs-logic-question strong{font-size:12px}.efs .efs-logic-question.active{border-color:var(--petrol);background:#edf5f1}
.efs .efs-logic-main{min-width:0}.efs .efs-tree-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0 10px}.efs .efs-tree-toolbar output{min-width:55px;text-align:center;font-weight:700}.efs .efs-tree-toolbar .efs-secondary{padding:7px 13px}.efs .efs-tree-toolbar .efs-help{margin-left:auto}
.efs .efs-tree-map{height:640px;max-height:74vh;min-height:320px;overflow:auto;position:relative;border:1px solid var(--line);border-radius:12px;background-color:#f5f8f6;background-image:radial-gradient(#b8cbc8 1px,transparent 1px);background-size:20px 20px;touch-action:pan-x pan-y;cursor:grab;overscroll-behavior:contain}
.efs .efs-tree-map.is-panning{cursor:grabbing;user-select:none}.efs .efs-tree-map:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.efs .efs-tree-scene{position:relative;width:max-content;min-width:max-content;margin:0 auto;padding:34px;isolation:isolate;display:flex;flex-direction:column;align-items:center;gap:42px}
.efs .efs-tree-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1;pointer-events:none}
.efs .efs-tree-forest,.efs .efs-tree-branches{display:flex;align-items:flex-start;justify-content:center;gap:36px}
.efs .efs-tree-subtree{display:flex;flex-direction:column;align-items:center;gap:36px}
.efs .efs-tree-node{width:255px;flex-shrink:0;background:#fff;border:1px solid #b9ceca;border-radius:12px;padding:16px;box-shadow:0 3px 12px #10393e09;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:8px;cursor:default}
.efs .efs-tree-node strong{font-size:14px;line-height:1.45}.efs .efs-tree-node small{font-size:11px;line-height:1.5;color:var(--muted)}.efs .efs-tree-node .efs-link{padding:3px 0;text-align:left;font-size:12px}
.efs .efs-tree-question{border-top:4px solid var(--petrol)}.efs .efs-tree-start{border-color:var(--petrol);background:#edf5f1;text-align:center}.efs .efs-tree-answer{background:#fff7e8;border-color:#d6b674;width:230px;text-align:center}.efs .efs-tree-answer strong{font-size:12px}.efs .efs-tree-stop{background:#fff1ef;border-color:#d99384}
.efs .efs-branch-editor:not(:empty){margin-top:20px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px}.efs .efs-branch-editor .efs-delivery-summary{margin-top:0}.efs .efs-tree-condition{display:grid;grid-template-columns:1.4fr 1fr 1.4fr;gap:12px;align-items:end;border-left:3px solid var(--gold);padding-left:14px}.efs .efs-tree-target{display:flex;align-items:end;gap:12px}.efs .efs-tree-target .efs-edit{flex:1;min-width:0}.efs .efs-tree-condition select,.efs .efs-tree-target select{max-width:100%;min-width:0}.efs .efs-branch-editor small{display:block}
.efs .efs-sort-row{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:stretch;position:relative}.efs .efs-sort-row .efs-field-row{margin:5px 0}.efs .efs-drag-handle{align-self:center;padding:8px 3px;background:transparent;border:0;color:var(--muted);font-size:25px;cursor:grab;touch-action:none;min-height:44px}.efs .efs-is-dragging{opacity:.55}.efs .efs-drop-before::before,.efs .efs-drop-after::after{content:'';position:absolute;left:0;right:0;height:3px;background:var(--petrol);z-index:3}.efs .efs-drop-before::before{top:0}.efs .efs-drop-after::after{bottom:0}.efs .efs-sort-status{font-size:12px;color:var(--petrol);margin:0}.efs .efs-sort-status:empty{display:none}
@media(max-width:1400px){.efs .efs-logic-layout{grid-template-columns:190px minmax(0,1fr)}.efs .efs-tree-condition{grid-template-columns:1fr}}
@media(max-width:850px){.efs .efs-logic-layout{grid-template-columns:1fr}.efs .efs-logic-library{position:static;max-height:220px}.efs .efs-tree-map{height:500px}.efs .efs-tree-toolbar .efs-help{flex-basis:100%;margin:0}.efs .efs-tree-target{display:block}.efs .efs-branch-editor{padding:14px}}

@media(max-height:560px){
 .efs.efs-live-view.efs-card-mode{padding:10px}
 .efs.efs-compact-step>.efs-form-head{margin-bottom:8px}
 .efs.efs-compact-step>.efs-form-head .efs-heading-row{margin-bottom:8px}
 .efs-card-mode .efs-card-progress{margin-bottom:12px}
 .efs-card-mode .efs-card-nav{padding:6px;margin-top:8px}
 .efs-card-mode .efs-card-nav>.efs-button,.efs-card-mode .efs-card-nav>.efs-secondary{min-height:40px;padding:9px 14px}
}

.efs .efs-tree-node details summary{font-size:11px;font-weight:600}.efs .efs-tree-node ol{margin:10px 0 0;padding-left:18px}.efs .efs-tree-node li{font-size:11px;margin-bottom:7px}.efs .efs-tree-node li .efs-link{font-size:11px;line-height:1.4}
@media(max-width:650px){.efs .efs-sort-row{grid-template-columns:44px minmax(0,1fr)}.efs .efs-drag-handle{min-width:44px}}
.efs .efs-sort-status,.efs .efs-sort-status:empty{display:block;min-height:20px;line-height:20px}
.efs .efs-choice-with-note{min-width:0;align-self:start;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.efs .efs-choice-with-note>label:first-child{display:flex;align-items:flex-start;gap:10px;padding:14px 16px;min-height:54px;cursor:pointer;line-height:1.6;overflow-wrap:anywhere}
.efs .efs-choice-with-note>label:first-child>span{min-width:0}
.efs .efs-choice-with-note:has(input:checked){background:#edf5f1;border-color:var(--petrol);box-shadow:inset 0 0 0 1px var(--petrol)}
.efs .efs-choice-with-note:focus-within{outline:3px solid #b9944b80;outline-offset:3px}
.efs .efs-choice-with-note .efs-choice-note{display:block;padding:0 16px 16px;cursor:text}
.efs .efs-choice-note>small{display:block;margin-bottom:5px;color:var(--muted);font-size:12px}
.efs .efs-choice-summary{white-space:pre-line;overflow-wrap:anywhere}
.efs .efs-choices:has(>.efs-choice-with-note:only-child){grid-template-columns:minmax(0,1fr)}
.efs .efs-submit-spinner{display:inline-block;width:18px;height:18px;flex:0 0 18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:efs-submit-spin .8s linear infinite}
.efs .efs-button.efs-submitting{opacity:1;gap:10px;cursor:wait}
@keyframes efs-submit-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.efs .efs-submit-spinner{animation:none}}

/* Private notes are voluntary and visually distinct in forms and the admin inbox. */
.efs .efs-internal-note,.efs-internal-policy,.efs-internal-summary{border:2px solid #dc1424!important;border-radius:16px;background:#fff5f5!important;padding:18px!important;color:#7f1d1d}
.efs .efs-internal-badge{display:block;margin-bottom:10px;color:#b91c1c;font-size:12px;line-height:20px;letter-spacing:.04em}
.efs .efs-internal-toggle{display:flex!important;align-items:center;gap:10px;cursor:pointer;font-weight:600}
.efs .efs-internal-toggle input{width:20px!important;height:20px;flex:0 0 20px;accent-color:#dc1424}
.efs .efs-internal-editor{margin-top:14px}.efs .efs-internal-editor[hidden]{display:none}
.efs .efs-internal-note textarea{min-height:180px;max-height:420px;height:auto;border-color:#e8a0a6;resize:vertical;line-height:1.5;white-space:pre-wrap;overflow-y:auto}.efs .efs-internal-note .efs-help{color:#93454b}
.efs-internal-policy{margin:16px 0}.efs-internal-policy .efs-help{color:#93454b}.efs-internal-summary{margin:20px 0}.efs-internal-summary p{white-space:pre-wrap;overflow-wrap:anywhere}
.efs-structure-row.is-internal{border-color:#dc1424!important;background:#fff5f5!important}
.efs.efs-live-view:not(.efs-card-mode) .efs-section.efs-loose,.efs:not(.efs-card-mode) .efs-section.efs-loose{border:0;background:transparent;box-shadow:none;border-radius:0;overflow:visible}
.efs .efs-section.efs-loose>.efs-subsections{padding:0}.efs .efs-section.efs-loose>summary{display:none!important}
.efs-question-actions{border:1px solid var(--line);border-left:3px solid var(--gold);border-radius:12px;padding:18px;margin:20px 0;background:#f8fbfc}.efs-answer-action-row{border-bottom:1px solid var(--line);padding:10px 0}.efs-answer-action-row p{margin:0}.efs.efs-answer-action-dialog{width:min(720px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid var(--line);border-radius:16px;padding:24px;background:#fff}.efs-answer-action-dialog::backdrop{background:#133c4780}.efs-answer-action-dialog header p{white-space:pre-wrap}.efs-answer-action-dialog .efs-actions{margin-top:14px}

.efs-pdf-rules{margin:24px 0;padding:22px;border:1px solid #dbe7ec;border-radius:18px;background:#fff}
.efs-pdf-rule-card{padding:18px;margin:14px 0;border:1px solid #dbe7ec;border-left:3px solid #e4b246;border-radius:14px;background:#f6fafc}
.efs-pdf-rule-dialog{width:min(1100px,95vw);max-width:95vw;max-height:90vh;padding:26px;border:1px solid #dbe7ec;border-radius:22px;box-shadow:0 24px 80px #173b4050;overflow:auto}
.efs-pdf-rule-dialog::backdrop{background:#15333f99}.efs-pdf-rule-dialog .efs-pdf-rule-columns{display:grid;grid-template-columns:1fr 1.2fr;gap:24px}
.efs-pdf-rule-dialog .efs-pdf-targets{max-height:430px;overflow:auto;padding:0 8px 8px 0}.efs-pdf-target-card{margin:8px 0;padding:12px;border:1px solid #dbe7ec;border-radius:12px;background:#f7fafc}.efs-pdf-target-card>label{display:flex;align-items:center;gap:10px}.efs-pdf-target-card small{margin-left:auto;white-space:nowrap;color:#607d88}
.efs-pdf-single-targets{margin:8px 0 0 28px}.efs-pdf-single-targets summary{cursor:pointer;color:#536e7d}.efs-pdf-single-targets label{margin:10px 0}.efs-pdf-condition{padding:14px;margin:10px 0;border-left:3px solid #e4b246;background:#f5f9fb;border-radius:12px}.efs-pdf-rule-dialog footer{position:sticky;bottom:-26px;background:white;padding:14px 0;margin-top:14px;border-top:1px solid #dbe7ec}
@media(max-width:780px){.efs-pdf-rule-dialog .efs-pdf-rule-columns{grid-template-columns:1fr}}
.efs .efs-field.efs-field-attention,.efs .efs-card-attention{box-sizing:border-box;min-width:0;border:2px solid #c92d43;border-radius:16px;padding:16px;margin:8px 0;background:#fff;}
.efs .efs-card-attention{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;grid-column:1/-1;padding:18px;}
.efs .efs-field-attention.efs-attention-background,.efs .efs-card-attention.efs-attention-background{background:#fff1f3;border-color:#e998a5;}
.efs .efs-attention-notice{grid-column:1/-1;min-width:0;color:#a11d34;line-height:1.6;}
.efs .efs-attention-notice>strong{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:750;letter-spacing:.025em;}
.efs .efs-attention-notice>strong>span{display:inline-flex;align-items:center;justify-content:center;width:21px;height:21px;flex-shrink:0;border:1px solid #c92d43;border-radius:50%;background:#fff;font-weight:800;}
.efs .efs-attention-notice>p{margin:6px 0 12px;font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;}
.efs .efs-field-attention>.efs-attention-notice{margin-bottom:8px;}
@media(max-width:700px){.efs .efs-card-attention{grid-template-columns:minmax(0,1fr);padding:14px;gap:8px 14px;}.efs .efs-field.efs-field-attention{padding:13px;}}
