#moduli-pdf-view{max-width:1460px;margin:0 auto;padding-bottom:40px;color:#183d35}
#moduli-pdf-view [hidden]{display:none!important}
.pdf-extraction-review{margin:18px 0 24px;padding:18px;border:1px solid #b9ddd1;border-radius:14px;background:#f3faf6;font-size:12px;line-height:1.6}
.pdf-extraction-review h3{font-size:15px}.pdf-extraction-review .pdf-field-group{background:#fff}.pdf-extracted-option{padding:12px 0;border-top:1px solid #e4ede7;overflow-wrap:anywhere}.pdf-extracted-option small{display:block;color:#5b7569;margin:5px 0}.pdf-extracted-option p{font-size:11px;margin-bottom:6px}.pdf-field-grid small{overflow-wrap:anywhere}
.pdf-ready{background:#e1f5d6!important;color:#285c39!important}
.pdf-field-group{border:1px solid #dfe8e1;border-radius:12px;margin:14px 0;padding:15px}
.pdf-field-group summary{cursor:pointer;font-size:13px;font-weight:700;color:#315845;line-height:1.6}
.pdf-field-group[open] summary{margin-bottom:20px}
.pdf-field-grid .pdf-field-wide{grid-column:1/-1}
#moduli-pdf-view input.pdf-code-input{font-family:ui-monospace,monospace;letter-spacing:.03em;font-size:14px}
#moduli-pdf-view input[readonly]{background:#f3f8f4;color:#315845}
#moduli-pdf-view .pdf-review{display:flex;flex-direction:row;align-items:flex-start;gap:10px;line-height:1.6;margin:16px 0}
#moduli-pdf-view .pdf-review input{width:17px;height:17px;flex:none;margin-top:2px;accent-color:#277a66}
#moduli-pdf-view h1,#moduli-pdf-view h2,#moduli-pdf-view h3,#moduli-pdf-view p{margin-top:0}
#moduli-pdf-view button,#moduli-pdf-view input,#moduli-pdf-view select,#moduli-pdf-view textarea{font:inherit}
#moduli-pdf-view button{cursor:pointer;border:1px solid #add944;border-radius:10px;padding:11px 15px;background:#bced52;color:#24462c;font-size:13px;font-weight:700;line-height:1.35;box-shadow:none}#moduli-pdf-view button.secondary{background:#f0f6e4;border-color:#d3e2b6}#moduli-pdf-view button.quiet{background:transparent;border-color:transparent;color:#426556}#moduli-pdf-view button:disabled{cursor:not-allowed;opacity:.6}#moduli-pdf-view button:focus-visible{outline:2px solid #277a66;outline-offset:3px}
.pdf-hero{display:flex;gap:22px;align-items:center;padding:32px;background:linear-gradient(110deg,#eff7d9,#f0fbf8);border:1px solid #dbe9cf;border-radius:24px}
.pdf-hero h1{font-size:34px;letter-spacing:-1px;margin-bottom:8px}.pdf-hero p:last-child{margin-bottom:0;color:#547267;font-size:15px;line-height:1.6}
.pdf-hero-icon{background:#c2ec53;border-radius:18px;padding:18px}.pdf-hero-icon svg{width:42px;height:42px}
#moduli-pdf-view svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.pdf-eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#547267;margin-bottom:8px}
.pdf-stage{margin-left:auto;background:#fff;padding:10px 13px;font-size:11px;font-weight:700;border:1px solid #dbe8c9;border-radius:20px;white-space:nowrap}
.pdf-notice{display:flex;gap:14px;align-items:flex-start;margin:22px 0 0;padding:17px 20px;background:#f4faf9;border-left:3px solid #3eb3a5;border-radius:0 12px 12px 0}.pdf-notice>span{background:#ddf2ee;border-radius:50%;width:24px;height:24px;flex:none;text-align:center;font-weight:800}.pdf-notice p{font-size:12px;line-height:1.7;margin-bottom:0;color:#48675f}
.pdf-message{min-height:12px;margin:9px 0!important;color:#9d421d;font-size:13px}
.pdf-summary{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:18px;margin-bottom:24px}.pdf-summary>div{display:flex;align-items:center;gap:16px;border:1px solid #e0e9e2;border-radius:15px;padding:18px 22px;background:#fff}.pdf-summary strong{font-size:26px;color:#214b3e;font-weight:750}.pdf-summary span{font-size:12px;color:#5d746d}
.pdf-columns{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr);gap:24px;align-items:start}
.pdf-panel{border:1px solid #dfe8e1;border-radius:19px;padding:25px;background:#fff;box-shadow:0 6px 22px #29463b05;min-width:0}.pdf-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.pdf-panel h2{font-size:22px;letter-spacing:-.5px;margin-bottom:0}
.pdf-muted,.pdf-soft-note{font-size:12px;line-height:1.7;color:#64766f}.pdf-soft-note{padding:12px 14px;background:#f5f8f5;border-radius:9px;margin-top:15px}
#moduli-pdf-view label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;color:#375b4e;min-width:0}
#moduli-pdf-view input,#moduli-pdf-view select,#moduli-pdf-view textarea{width:100%;box-sizing:border-box;border:1px solid #d8e3db;border-radius:9px;padding:11px 12px;background:#fff;color:#214737;font-size:13px}
#moduli-pdf-view input:focus,#moduli-pdf-view select:focus,#moduli-pdf-view textarea:focus{outline:2px solid #7cbcac;outline-offset:2px}
#moduli-pdf-view label small{font-weight:400;font-size:10px;line-height:1.5;color:#77877e}
#moduli-pdf-view .pdf-field-grid label,#moduli-pdf-view .pdf-form label{margin:0}
.pdf-form{display:grid;gap:15px;margin:22px 0}.pdf-search{margin:24px 0 12px}.pdf-upload{padding:18px;border:1px dashed #aacaaa;border-radius:12px;background:#f9fcf4}.pdf-upload input{padding:8px!important;background:#fff!important}.pdf-upload input::file-selector-button{border:0;border-radius:6px;padding:7px 10px;margin-right:10px;background:#edf4dc;color:#35522c;font:inherit}
.pdf-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:46px 24px;color:#638075}.pdf-empty svg{width:42px;height:42px;margin-bottom:18px;color:#75a18b}.pdf-empty h3,.pdf-empty strong{color:#3a5e4b;font-size:16px;margin-bottom:8px}.pdf-empty p{font-size:12px;line-height:1.7;max-width:340px;margin-bottom:0}.pdf-empty.compact{padding:27px 14px;border-radius:12px;background:#fafcf9}
#moduli-pdf-view .pdf-draft-row{width:100%;display:flex;align-items:center;gap:14px;border:0;border-bottom:1px solid #edf1ec;background:#fff;padding:20px 0;text-align:left;color:#284f3b;border-radius:0;font-weight:400;box-shadow:none}.pdf-draft-row>span:nth-child(2){flex:1;min-width:0}.pdf-draft-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.pdf-draft-row small{display:block;font-size:11px;color:#708378;line-height:1.8}.pdf-file-icon{padding:10px;border-radius:11px;background:#edf5de}.pdf-file-icon svg{width:23px;height:23px}
.pdf-template{padding:18px 0;border-top:1px solid #e8eee7}.pdf-template>div{display:flex;gap:10px;align-items:center;margin-bottom:10px}.pdf-template svg{width:23px;height:23px}.pdf-template strong{font-size:13px;overflow-wrap:anywhere}.pdf-template p{font-size:11px;color:#728177;margin:10px 0}.pdf-badge{display:inline-flex;background:#fff3dd;color:#926324;font-size:10px;font-weight:700;padding:6px 9px;border-radius:7px}
.pdf-draft-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.pdf-draft-heading{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:24px}.pdf-draft-heading>div{flex:1}.pdf-draft-heading input{font-size:18px!important}.pdf-draft-heading p{margin:10px 0 0}.pdf-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 14px}.pdf-notes{margin-top:22px}.pdf-save-footer{text-align:right;margin-top:24px}.pdf-output{border-top:1px solid #e2ebe1;margin-top:24px;padding-top:24px}.pdf-output p:not(.pdf-eyebrow){font-size:12px;color:#6b7b71;line-height:1.7;margin:13px 0}
.pdf-source{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #edf1ec}.pdf-source>span{display:grid;grid-template-columns:20px 1fr;gap:5px 9px;min-width:0}.pdf-source svg{width:20px;height:20px;grid-row:span 2}.pdf-source strong{font-size:12px;overflow-wrap:anywhere}.pdf-source small{font-size:10px;color:#708378}
.pdf-dialog{border:1px solid #dbe6d9;border-radius:20px;padding:28px;width:min(620px,90vw);max-height:85vh;overflow:auto;box-shadow:0 20px 70px #153c3226;color:#264e3b}.pdf-dialog::backdrop{background:#102e2b66}.pdf-dialog form>label{margin:18px 0}.pdf-dialog h2{font-size:20px;margin-bottom:0;overflow-wrap:anywhere}.pdf-contract-option{display:flex;flex-direction:column;gap:5px;width:100%;text-align:left;background:#f3f8ed!important;color:#234833!important;margin:7px 0;padding:12px!important}.pdf-contract-option small{font-size:11px}.pdf-inline-error{color:#ac4225;font-size:12px}.pdf-preview-dialog{width:min(1000px,92vw)}.pdf-preview-dialog iframe{display:block;width:100%;height:65vh;border:1px solid #e2e8de;border-radius:10px}.pdf-preview-dialog img{display:block;max-width:100%;max-height:65vh;object-fit:contain;margin:auto}.pdf-download{display:inline-block;margin-top:15px;color:#2d6d58;font-size:13px}
@media(max-width:1150px){.pdf-columns{grid-template-columns:1fr}.pdf-hero{padding:24px}.pdf-summary>div{padding:14px}.pdf-stage{display:none}}
@media(max-width:650px){.pdf-hero{gap:14px;padding:20px}.pdf-hero-icon{padding:10px}.pdf-hero-icon svg{width:28px;height:28px}.pdf-hero h1{font-size:26px}.pdf-summary{grid-template-columns:1fr 1fr;gap:10px}.pdf-summary>div:last-child{grid-column:span 2}.pdf-summary strong{font-size:21px}.pdf-panel{padding:18px}.pdf-field-grid{grid-template-columns:1fr}.pdf-draft-heading{flex-direction:column;align-items:stretch}.pdf-panel-head{align-items:flex-start}.pdf-dialog{padding:20px}}

.pdf-draft-columns{grid-template-columns:minmax(260px,.65fr) minmax(0,1.55fr)}
.pdf-economic-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}
.pdf-economic-summary>div{display:flex;flex-direction:column;gap:7px;background:#f6f9f3;border:1px solid #dfe8d8;border-radius:12px;padding:14px;min-width:0}
.pdf-economic-summary span{font-size:11px;color:#63766a}.pdf-economic-summary strong{font-size:20px;overflow-wrap:anywhere}.pdf-economic-summary>div:last-child{background:#eaf6d1;border-color:#b2d77b;color:#234e32}
.pdf-section-nav{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.pdf-section-nav button.quiet{background:#f1f6ef!important;border:1px solid #dfe8db!important;padding:7px 10px!important;font-size:11px!important}
#moduli-pdf-view .pdf-option-row{display:flex;flex-direction:row;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #e1e9dc;border-radius:10px;background:#fafcf8;cursor:pointer}
#moduli-pdf-view .pdf-option-row input{width:17px;height:17px;margin:1px 0 0;flex:none;accent-color:#277a66}
.pdf-option-row span{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex:1;line-height:1.5}.pdf-option-row strong{white-space:nowrap;color:#315845;font-size:12px}
.pdf-field-group{scroll-margin-top:22px}#moduli-pdf-view select:disabled{opacity:1;background:#f3f8f4;color:#315845}
.pdf-iban-status{grid-column:1/-1;font-size:12px;line-height:1.6;padding:12px 14px;border-radius:10px;background:#f3f7f2}.pdf-iban-status[data-state="invalid"]{background:#fff0e9;color:#9d421d}.pdf-iban-status[data-state="valid"]{background:#edf7e5;color:#285c39}
@media(max-width:1150px){.pdf-draft-columns{grid-template-columns:1fr}.pdf-draft-columns>section:first-child{order:2}}
@media(max-width:450px){.pdf-economic-summary strong{font-size:17px}.pdf-option-row span{flex-direction:column;gap:4px}}

#moduli-pdf-view .pdf-section-nav button{display:block;height:auto;min-height:52px;max-width:100%;box-sizing:border-box;text-align:left;white-space:normal;overflow-wrap:anywhere}
#moduli-pdf-view .pdf-section-nav button small{display:block;margin-top:4px;font-size:10px;font-weight:500;line-height:1.3;color:inherit}
#moduli-pdf-view .pdf-section-nav button[data-completion="complete"],#moduli-pdf-view .pdf-section-nav button[data-completion="not_required"]{background:#bced52!important;border-color:#99c731!important;color:#183d35}
#moduli-pdf-view .pdf-section-nav button[data-completion="optional"]{background:#f7f8f5!important;border-style:dashed!important;color:#64766f}

.pdf-registration-dialog{max-width:860px;width:calc(100% - 32px)}
.pdf-registration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pdf-registration-dialog label{display:grid;gap:6px;margin:12px 0}
.pdf-registration-dialog .pdf-review{display:flex;align-items:flex-start;gap:10px}
.pdf-registration-dialog input,.pdf-registration-dialog select{width:100%;min-width:0}
.pdf-registration-dialog input[type=checkbox]{width:auto;margin-top:4px}
.pdf-mail-history-text{white-space:pre-wrap}
.pdf-history{margin-top:24px;padding-top:18px;border-top:1px solid #dfe7df}
.pdf-save-footer{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:600px){.pdf-registration-grid{grid-template-columns:1fr}}

.sunstep-anagraphic .pdf-field-wide{grid-column:auto}
.sunstep-anagraphic [data-pdf-hint]{display:none}

#moduli-pdf-view .pdf-draft-item{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf1ec}#moduli-pdf-view .pdf-draft-item .pdf-draft-row{flex:1;min-width:0;border-bottom:0}#moduli-pdf-view .pdf-draft-delete{flex:none;color:#9a3730;font-size:12px;white-space:nowrap}

