:root{font-family:Arial,Helvetica,sans-serif;color:#16231b;background:#f4f7f5}*{box-sizing:border-box}body{margin:0}.wrap{max-width:1050px;margin:32px auto;padding:0 18px}.card{background:white;border:1px solid #dce6df;border-radius:14px;padding:24px;box-shadow:0 8px 26px rgba(0,0,0,.05);margin-bottom:18px}h1,h2,h3{margin-top:0}.brand{color:#147a42}.grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.full{grid-column:1/-1}label{font-weight:700;font-size:14px;display:block;margin-bottom:6px}input,select,textarea{width:100%;padding:11px;border:1px solid #bdcbc2;border-radius:8px;font:inherit}textarea{min-height:80px}.btn{display:inline-block;border:0;border-radius:8px;padding:11px 17px;font-weight:700;cursor:pointer;text-decoration:none}.primary{background:#147a42;color:#fff}.secondary{background:#eaf2ed;color:#163d29}.danger{background:#9c2727;color:white}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.notice{padding:12px;border-radius:8px;background:#eef7f1;border-left:4px solid #147a42}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:10px;border:1px solid #d8e2db;text-align:left}.muted{color:#68766d}.status{padding:4px 9px;border-radius:99px;background:#fff2c7}.signature{width:100%;height:190px;border:2px dashed #96aa9d;border-radius:10px;touch-action:none;background:white}.terms{max-height:430px;overflow:auto;padding:18px;border:1px solid #d7e1da;border-radius:10px;background:#fbfdfb}.login{max-width:430px;margin:90px auto}.error{color:#a31616}.success{color:#146c36}@media(max-width:700px){.grid{grid-template-columns:1fr}.full{grid-column:auto}}.signing-wrap{max-width:1120px;padding-bottom:40px}.document{padding:0;overflow:hidden}.document-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:34px 38px 26px;background:linear-gradient(135deg,#f8fcf9,#eef7f1);border-bottom:1px solid #dce6df}.document-header h1{font-size:32px;line-height:1.16;margin:4px 0 0;color:#15251b}.document-kicker{margin:0;color:#147a42;font-size:13px;font-weight:800;letter-spacing:.13em}.status-pending{background:#fff1bd;color:#664c00;font-weight:800;white-space:nowrap}.document-meta{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #dce6df}.document-meta div{padding:18px 22px;border-right:1px solid #e3ebe5}.document-meta div:last-child{border-right:0}.details-grid span,.document-meta span{display:block;color:#68766d;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px}.details-grid strong,.document-meta strong{display:block;line-height:1.35}.signing-progress{display:flex;align-items:center;justify-content:center;padding:24px 34px;background:#fff}.progress-step{display:flex;align-items:center;gap:9px;color:#839087}.progress-step span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf2ef;font-weight:800}.progress-step.current{color:#147a42}.progress-step.current span{background:#147a42;color:#fff}.progress-line{height:2px;width:70px;background:#e1e8e3;margin:0 12px}.agreement-content{padding:0 38px 38px}.agreement-section{padding:28px 0;border-top:1px solid #e4ebe6}.agreement-section:first-child{border-top:0}.agreement-section h2{font-size:21px;margin-bottom:14px;color:#17261c}.agreement-section p{line-height:1.65;margin:0}.details-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;background:#f8faf9;border:1px solid #e0e8e2;border-radius:12px;padding:20px}.details-grid>div{padding:4px}.details-full{grid-column:1/-1}.section-heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.important-badge{padding:5px 10px;background:#fff0e6;color:#9b3c00;border-radius:999px;font-size:12px;font-weight:800}.charge-list{border:1px solid #dce4de;border-radius:12px;overflow:hidden;margin-top:18px}.charge-row{display:grid;grid-template-columns:205px 1fr;min-height:82px;border-bottom:1px solid #e1e7e3}.charge-row:last-child{border-bottom:0}.charge-stage{display:flex;align-items:center;gap:10px;padding:20px;font-weight:800}.charge-row>div:last-child{padding:18px 20px;background:#fff}.charge-row strong{display:block;margin-bottom:5px}.charge-row p{font-size:14px;color:#59675e;line-height:1.45}.charge-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto}.charge-grace .charge-stage{background:#edf8f0;color:#1a6738}.charge-grace .charge-dot{background:#35a95d}.charge-warning .charge-stage{background:#fff8dc;color:#705700}.charge-warning .charge-dot{background:#d9a900}.charge-warning-strong .charge-stage{background:#fff0d8;color:#8a4b00}.charge-warning-strong .charge-dot{background:#ee8f18}.charge-danger .charge-stage{background:#ffe8e2;color:#9b2e1e}.charge-danger .charge-dot{background:#e04e38}.charge-critical .charge-stage{background:#f8dede;color:#861b1b}.charge-critical .charge-dot{background:#bb2929}.policy-note{margin-top:18px;padding:16px 18px;border-left:4px solid #147a42;background:#f4faf6;border-radius:0 10px 10px 0}.policy-note p+p{margin-top:7px}.guarantee-section{background:#fbf8ef;margin:0 -38px;padding:28px 38px;border-top:1px solid #ebe1c5;border-bottom:1px solid #ebe1c5}.signature-card{border:2px solid #b8d5c3;padding:30px;background:linear-gradient(180deg,#fff,#fbfefc)}.signature-card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.signature-card-header h2{font-size:27px;margin:4px 0 6px}.secure-badge{padding:8px 12px;border-radius:999px;background:#eaf6ee;color:#156b39;font-size:12px;font-weight:800;white-space:nowrap}.signature-label-row{display:flex;justify-content:space-between;align-items:center;margin-top:24px;margin-bottom:7px}.signature-label-row label{margin:0}.signature-label-row span{font-size:12px;color:#68766d}.signature{height:240px;border:2px dashed #86a994;background:repeating-linear-gradient(0deg,#fff,#fff 39px,#f4f7f5 40px);box-shadow:inset 0 0 0 6px #fbfdfb}.signature-actions{justify-content:space-between;margin-top:12px}.signature-ready{color:#147a42;font-weight:800;font-size:14px}.acceptance-box{display:flex;align-items:flex-start;gap:12px;margin:24px 0;padding:17px 18px;border:1px solid #cfe0d5;border-radius:10px;background:#f7fbf8;font-weight:500;line-height:1.45}.acceptance-box input{width:auto;margin:3px 0 0;flex:0 0 auto}.submit-signature{font-size:16px;padding:14px 22px}.message-box{margin-top:16px;padding:13px 15px;border-radius:8px;background:#f4faf6}.error.message-box{background:#fff0f0}.terms{max-height:none;overflow:visible;padding:0;border:0;border-radius:0;background:transparent}@media(max-width:800px){.document-header,.section-heading-row,.signature-card-header{flex-direction:column}.document-header{padding:28px 22px}.document-header h1{font-size:26px}.document-meta{grid-template-columns:1fr 1fr}.document-meta div:nth-child(2){border-right:0}.document-meta div:nth-child(-n+2){border-bottom:1px solid #e3ebe5}.signing-progress{padding:20px 16px}.progress-step strong{display:none}.progress-line{width:38px}.agreement-content{padding:0 22px 28px}.details-grid{grid-template-columns:1fr}.details-full{grid-column:auto}.charge-row{grid-template-columns:1fr}.charge-stage{padding:14px 16px}.charge-row>div:last-child{padding:15px 16px}.guarantee-section{margin:0 -22px;padding:26px 22px}.signature-card{padding:22px}.secure-badge{white-space:normal}.signature{height:200px}}@media(max-width:480px){.document-meta{grid-template-columns:1fr}.document-meta div{border-right:0!important;border-bottom:1px solid #e3ebe5}.document-meta div:last-child{border-bottom:0}.signing-progress{justify-content:space-between}.progress-line{flex:1 1}.signature-label-row{align-items:flex-start;flex-direction:column;gap:3px}}.wizard-card{padding:0;overflow:hidden}.wizard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:28px 30px 22px;background:linear-gradient(135deg,#fbfefc,#eff8f2)}.wizard-heading h2{font-size:27px;margin:4px 0 7px}.wizard-kicker{margin:0;color:#147a42;font-size:12px;font-weight:800;letter-spacing:.13em}.wizard-step-label{background:#e7f4eb;color:#126a38;border-radius:999px;padding:8px 12px;font-weight:800;font-size:13px;white-space:nowrap}.wizard-progress{height:5px;background:#e6eee8}.wizard-progress-fill{height:100%;background:#147a42;transition:width .25s ease}.wizard-steps{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #dce6df}.wizard-step{display:flex;align-items:center;gap:11px;padding:17px 15px;border:0;border-right:1px solid #e3ebe5;background:#fff;text-align:left;color:#76847a;cursor:default}.wizard-step:last-child{border-right:0}.wizard-step.complete{color:#276c42;cursor:pointer}.wizard-step.active{background:#f3faf5;color:#147a42;box-shadow:inset 0 -3px #147a42}.wizard-step-number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#edf2ef;font-weight:800;flex:0 0 auto}.wizard-step.active .wizard-step-number{background:#147a42;color:white}.wizard-step.complete .wizard-step-number{background:#dff2e5;color:#147a42}.wizard-step-copy{display:flex;flex-direction:column;gap:3px}.wizard-step-copy b{font-size:13px}.wizard-step-copy small{font-size:11px;color:#89958d}.wizard-panel{padding:30px}.wizard-panel-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid #e4ebe6}.wizard-panel-title>span{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#eaf6ee;font-size:23px}.wizard-panel-title h3{font-size:22px;margin:0 0 5px}.wizard-panel-title p{margin:0;color:#68766d;line-height:1.45}.wizard-info-box{align-self:end;padding:14px 16px;border-radius:10px;background:#f4faf6;border-left:4px solid #147a42;display:flex;flex-direction:column;gap:5px;font-size:13px;line-height:1.4}.wizard-actions{display:flex;justify-content:space-between;align-items:center;padding:20px 30px;border-top:1px solid #e2eae4;background:#fafcfb}.wizard-next,.wizard-send{min-width:145px}.wizard-send{padding:13px 20px}.wizard-error{margin:0 30px 18px;padding:12px 14px;border-radius:8px;background:#fff0f0;color:#a31616;border-left:4px solid #c73e3e;font-weight:700}.review-sections{display:grid;grid-gap:15px;gap:15px}.review-section{border:1px solid #dce6df;border-radius:12px;overflow:hidden}.review-section-heading{display:flex;justify-content:space-between;align-items:center;padding:13px 16px;background:#f4f8f5}.review-section-heading h4{margin:0}.review-section-heading button{border:0;background:transparent;color:#147a42;font-weight:800;cursor:pointer}.review-section dl{margin:0;padding:4px 16px}.review-section dl>div{display:grid;grid-template-columns:190px 1fr;grid-gap:16px;gap:16px;padding:11px 0;border-bottom:1px solid #edf1ee}.review-section dl>div:last-child{border-bottom:0}.review-section dt{color:#68766d;font-size:13px;font-weight:700}.review-section dd{margin:0;font-weight:700;white-space:pre-line}.send-confirmation{display:flex;gap:13px;margin-top:20px;padding:17px;border-radius:11px;background:#edf8f0;border:1px solid #cfe5d6}.send-confirmation>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#147a42;color:white;font-weight:800;flex:0 0 auto}.send-confirmation p{margin:5px 0 0;color:#506057;line-height:1.45}@media(max-width:850px){.wizard-steps{grid-template-columns:1fr 1fr}.wizard-step:nth-child(2){border-right:0}.wizard-step:nth-child(-n+2){border-bottom:1px solid #e3ebe5}}@media(max-width:700px){.wizard-heading{padding:23px 20px;flex-direction:column}.wizard-heading h2{font-size:23px}.wizard-steps{grid-template-columns:1fr}.wizard-step{border-right:0;border-bottom:1px solid #e3ebe5}.wizard-step:last-child{border-bottom:0}.wizard-panel{padding:23px 20px}.wizard-actions{padding:18px 20px}.wizard-error{margin:0 20px 16px}.review-section dl>div{grid-template-columns:1fr;gap:4px}.wizard-actions .btn{padding-left:14px;padding-right:14px}.wizard-step-copy small{display:none}}.customer-document-header{margin-bottom:18px}.customer-wizard-card{padding:0;overflow:hidden}.customer-wizard-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:22px;padding:27px 30px 22px;background:linear-gradient(135deg,#fbfefc,#eff8f2)}.customer-wizard-heading h2{font-size:27px;margin:4px 0 7px}.customer-wizard-steps{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #dce6df}.customer-wizard-step{display:flex;align-items:center;gap:11px;padding:17px 14px;border:0;border-right:1px solid #e3ebe5;background:#fff;text-align:left;color:#76847a;cursor:default}.customer-wizard-step:last-child{border-right:0}.customer-wizard-step.complete{color:#276c42;cursor:pointer}.customer-wizard-step.active{background:#f3faf5;color:#147a42;box-shadow:inset 0 -3px #147a42}.customer-wizard-step.active .wizard-step-number{background:#147a42;color:#fff}.customer-wizard-step.complete .wizard-step-number{background:#dff2e5;color:#147a42}.customer-wizard-panel{padding:30px}.customer-wizard-actions{display:flex;justify-content:space-between;padding:20px 30px;border-top:1px solid #e2eae4;background:#fafcfb}.customer-wizard-actions button:disabled{opacity:.4;cursor:not-allowed}.customer-details-grid{margin-bottom:17px}.customer-confirm-note{padding:13px 15px;border-radius:9px;background:#fff8dc;border-left:4px solid #d9a900;color:#675400;font-size:14px}.guarantee-review-box{margin-top:20px;padding:22px;border:1px solid #eadfbe;border-radius:12px;background:#fbf8ef}.guarantee-review-box h3{margin:0 0 10px}.electronic-acceptance-copy p,.guarantee-review-box p,.payment-obligation-box p{line-height:1.65;margin:0}.completion-summary,.credit-summary-grid,.final-review-summary{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dce6df;border-radius:12px;overflow:hidden;margin-bottom:20px}.completion-summary>div,.credit-summary-grid>div,.final-review-summary>div{padding:17px;border-right:1px solid #e2e9e4;background:#f8faf9}.completion-summary>div:last-child,.credit-summary-grid>div:last-child,.final-review-summary>div:last-child{border-right:0}.completion-summary span,.credit-summary-grid span,.final-review-summary span{display:block;color:#68766d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px}.electronic-acceptance-copy,.payment-obligation-box{padding:18px 20px;border-radius:10px;background:#f4faf6;border-left:4px solid #147a42;margin-bottom:20px}.electronic-acceptance-copy h3,.payment-obligation-box strong{display:block;margin:0 0 8px}.compact-charges{margin-top:0}.customer-sign-form{padding-top:4px}.completion-card{text-align:center;padding:46px 38px}.completion-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:50%;background:#147a42;color:#fff;font-size:38px;font-weight:800}.completion-card h2{font-size:29px;margin:7px 0 10px}.completion-card>p:not(.document-kicker){max-width:650px;margin:0 auto 28px;color:#5f6e64;line-height:1.6}.completion-summary{text-align:left;max-width:820px;margin:0 auto}.signed-text{color:#147a42}@media(max-width:850px){.customer-wizard-steps{grid-template-columns:1fr 1fr}.customer-wizard-step:nth-child(2){border-right:0}.customer-wizard-step:nth-child(-n+2){border-bottom:1px solid #e3ebe5}.completion-summary,.credit-summary-grid,.final-review-summary{grid-template-columns:1fr 1fr}.completion-summary>div:nth-child(2),.credit-summary-grid>div:nth-child(2),.final-review-summary>div:nth-child(2){border-right:0}.completion-summary>div:nth-child(-n+2),.credit-summary-grid>div:nth-child(-n+2),.final-review-summary>div:nth-child(-n+2){border-bottom:1px solid #e2e9e4}}@media(max-width:700px){.customer-wizard-heading{padding:23px 20px;flex-direction:column}.customer-wizard-heading h2{font-size:23px}.customer-wizard-steps{grid-template-columns:1fr}.customer-wizard-step{border-right:0;border-bottom:1px solid #e3ebe5}.customer-wizard-step:last-child{border-bottom:0}.customer-wizard-panel{padding:23px 20px}.customer-wizard-actions{padding:18px 20px}.customer-wizard-step .wizard-step-copy small{display:none}.completion-summary,.credit-summary-grid,.final-review-summary{grid-template-columns:1fr}.completion-summary>div,.credit-summary-grid>div,.final-review-summary>div{border-right:0!important;border-bottom:1px solid #e2e9e4!important}.completion-summary>div:last-child,.credit-summary-grid>div:last-child,.final-review-summary>div:last-child{border-bottom:0!important}.completion-card{padding:34px 22px}}.admin-header{align-items:flex-start}.action-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.action-buttons form{margin:0}.small{padding:8px 12px;font-size:13px}.danger{background:#fff0f0;color:#a61b1b;border:1px solid #e6b7b7}.table-scroll{overflow-x:auto}.dashboard-title-row{display:flex;justify-content:space-between;gap:20px}.stat-grid{display:grid;grid-template-columns:repeat(5,1fr);grid-gap:10px;gap:10px;margin:20px 0}.stat-card{border:1px solid #dbe7df;background:#f8fbf9;border-radius:12px;padding:14px;text-align:left;cursor:pointer}.stat-card span{display:block;color:#607268;font-size:13px}.stat-card strong{font-size:26px;color:#0f3d25}.stat-card.selected{border-color:#138447;box-shadow:0 0 0 2px rgba(19,132,71,.12)}.dashboard-tools{display:grid;grid-template-columns:1fr 190px;grid-gap:12px;gap:12px;margin:15px 0}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:18px}.empty-state{text-align:center;padding:30px;color:#607268}.status-cancelled{background:#ececec;color:#555}.status-expired{background:#ffe7e0;color:#9a3412}.status-signed{background:#e4f7ea;color:#116b37}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:18px;gap:18px}.detail-grid>div{background:#f8fbf9;border:1px solid #e2ebe5;border-radius:10px;padding:14px}.detail-grid span{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:11px;color:#687970;margin-bottom:6px}.timeline{position:relative}.timeline-item{display:grid;grid-template-columns:18px 1fr;grid-gap:12px;gap:12px;padding:0 0 20px}.timeline-dot{width:10px;height:10px;border-radius:50%;background:#138447;margin-top:5px}.timeline-item p,.timeline-item small{margin:4px 0;color:#66766d}.action-card{border-top:4px solid #138447}.edit-form{margin-top:20px;padding-top:20px;border-top:1px solid #e1e9e4}@media(max-width:760px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-tools,.detail-grid{grid-template-columns:1fr}.admin-header{display:block}.action-buttons{margin-top:12px}.table{min-width:760px}}