*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html{background:#f4f7fb}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color:#0f172a;background:#f4f7fb;min-height:100vh;padding-bottom:calc(82px + env(safe-area-inset-bottom));overscroll-behavior-y:none}.app-header,header{min-height:76px;padding:calc(10px + env(safe-area-inset-top)) 18px 10px;background:linear-gradient(135deg,#06366f,#0b519b);color:#fff;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;box-shadow:0 4px 18px rgba(7,59,120,.18)}header>a:first-child{font-size:32px;color:#fff;text-decoration:none;width:40px}.brand{display:flex;align-items:center;gap:11px}.brand img{width:42px;height:42px;border-radius:12px;box-shadow:0 4px 12px #00234c66}.brand b,header div>b{display:block;font-size:18px}.brand small,header div>small{color:#d9eaff;font-size:12px}.header-add{width:38px;height:38px;border:1px solid #ffffff66;border-radius:50%;display:grid;place-items:center;color:#fff;text-decoration:none;font-size:27px;font-weight:300}main{max-width:620px;margin:auto;padding:16px 14px 30px}.welcome{background:linear-gradient(145deg,#fff,#eef6ff);border:1px solid #dce8f5;border-radius:24px;padding:22px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 8px 28px rgba(15,23,42,.06);margin-bottom:13px}.welcome>div{max-width:76%}.welcome>img{width:76px;height:76px;border-radius:20px;box-shadow:0 10px 24px #073b7833}.welcome small,.section-title small,.summary small,section>small,.step-title small,.review-card small,.price-summary small{font-size:10px;font-weight:900;letter-spacing:.13em;color:#64748b}.welcome h1{font-size:29px;line-height:1.04;margin:7px 0 9px;color:#0b3260}.welcome p{font-size:14px;line-height:1.45;color:#64748b;margin:0}.primary-action{display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,#0756ad,#0878dc);color:#fff;border-radius:19px;padding:15px;text-decoration:none;box-shadow:0 8px 22px #0756ad3d}.primary-action .action-icon{width:43px;height:43px;border-radius:13px;background:#ffffff22;display:grid;place-items:center;font-size:27px}.primary-action div{flex:1}.primary-action b,.primary-action small{display:block}.primary-action small{color:#dcebff;margin-top:3px;font-size:12px}.primary-action>span:last-child{font-size:28px}.section-title{display:flex;align-items:end;justify-content:space-between;margin:25px 3px 10px}.section-title h2{margin:3px 0 0;font-size:20px}.section-title>span{background:#e2ecf8;color:#0b4b8e;border-radius:20px;padding:5px 10px;font-weight:800;font-size:12px}.bon{display:flex;align-items:center;gap:11px;text-decoration:none;color:#0f172a;background:#fff;border:1px solid #e1e8f0;border-radius:17px;padding:13px;margin-bottom:9px;box-shadow:0 4px 13px rgba(15,23,42,.035)}.bon-icon{width:37px;height:37px;border-radius:11px;background:#e6f7ef;color:#0b9c64;display:grid;place-items:center;font-weight:900}.bon-copy{flex:1;min-width:0}.bon-copy b,.bon-copy span{display:block}.bon-copy span{font-size:11px;color:#64748b;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bon strong{font-size:14px;color:#0b4b8e}.bon i{font-style:normal;color:#94a3b8;font-size:22px}.empty{background:#fff;border:1px solid #e1e8f0;border-radius:19px;padding:28px;text-align:center;color:#64748b}.empty img{display:block;width:62px;height:62px;border-radius:17px;margin:0 auto 10px}.empty b,.empty span{display:block}.empty b{color:#0f172a;margin-bottom:4px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:calc(68px + env(safe-area-inset-bottom));padding:7px 18px env(safe-area-inset-bottom);background:#fff;border-top:1px solid #dfe7ef;display:flex;justify-content:space-around;z-index:20}.bottom-nav a{min-width:92px;text-decoration:none;color:#64748b;font-size:11px;font-weight:700;text-align:center}.bottom-nav a span{display:block;font-size:24px;line-height:28px}.bottom-nav .active,.bottom-nav .new-tab{color:#0756ad}section,.hero{background:#fff;border:1px solid #e1e8f0;border-radius:20px;padding:19px;margin-bottom:13px;box-shadow:0 5px 18px rgba(15,23,42,.04)}h1{font-size:32px;line-height:1.05;margin:8px 0 12px}h2{font-size:20px;margin:3px 0 16px}.hero{padding:25px 21px}.hero p,.intro,.muted,label small,.step-help{color:#64748b}.step{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#0756ad;color:#fff;font-weight:800;margin-bottom:8px}label{display:block;font-weight:700;font-size:14px;margin:13px 0}input,textarea,select{width:100%;margin-top:7px;border:1px solid #cbd5e1;background:#f8fafc;border-radius:13px;padding:14px;font:inherit;font-size:16px;outline:none}input:focus,textarea:focus,select:focus{border-color:#0878dc;background:#fff;box-shadow:0 0 0 3px #0878dc18}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.price{display:flex;align-items:center;background:linear-gradient(135deg,#06366f,#0b519b);color:#fff;border-radius:16px;padding:4px 15px}.price span{font-size:28px;font-weight:800}.price input{border:0;background:transparent;color:#fff;font-size:30px;font-weight:800;margin:0;box-shadow:none}.approval{border:2px solid #0b519b}.summary{background:#eef5fc;border-radius:16px;padding:17px}.summary strong,.summary p{display:block;margin:5px 0 16px}.summary .total{font-size:27px;margin-bottom:0;color:#0756ad}.legal{font-size:14px;line-height:1.5;background:#fff8e8;border:1px solid #f6d98b;padding:14px;border-radius:13px}canvas{display:block;width:100%;height:190px;background:#fff;border:2px dashed #94a3b8;border-radius:14px;touch-action:none}.sig-actions{text-align:right}.sig-actions button{border:0;background:none;text-decoration:underline;color:#64748b;padding:10px}.save,.secondary,.primary-button,.secondary-button{display:block;width:100%;border:0;border-radius:15px;padding:16px;text-align:center;text-decoration:none;font-weight:800;font-size:16px}.save,.primary-button{background:linear-gradient(135deg,#0756ad,#0878dc);color:#fff;box-shadow:0 7px 18px #0756ad33}.secondary,.secondary-button{background:#e7edf5;color:#16324f}.success{background:#e7f8ef;color:#087448;border:1px solid #a7e7c8;padding:14px 16px;border-radius:14px;font-weight:800;margin-bottom:15px}.photos{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}.photos img{width:100%;height:150px;object-fit:cover;border-radius:12px}.final-price{font-size:32px;font-weight:900;margin-top:5px;color:#0756ad}.final-price small{font-size:14px;color:#64748b}.signature{max-width:250px;max-height:110px}.pre{white-space:pre-wrap;line-height:1.55}.wizard-page{padding-bottom:0}.wizard-main{padding-top:10px}.wizard-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:2px 4px 14px}.wizard-progress span{height:5px;border-radius:10px;background:#d7e1ec;transition:.25s}.wizard-progress span.active{background:#0878dc}.wizard-step{display:none;animation:stepin .2s ease}.wizard-step.active{display:block}.step-title{display:flex;align-items:center;gap:12px;margin-bottom:8px}.step-title h2{margin:2px 0 0}.step-icon{width:38px;height:38px;border-radius:12px;background:#0756ad;color:#fff;display:grid;place-items:center;font-weight:900}.step-help{font-size:14px;line-height:1.45;margin-top:0}.wizard-actions{display:grid;grid-template-columns:1fr 1.5fr;gap:9px;margin-top:20px}.wizard-actions .next:only-child{grid-column:1/-1}.upload-card{position:relative;border:1.5px dashed #9fb7cf;border-radius:16px;background:#f7fbff;text-align:center;padding:22px 14px;overflow:hidden}.upload-card input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}.upload-card .upload-icon{display:block;font-size:29px;margin-bottom:5px}.upload-card b,.upload-card small{display:block}.upload-card small{margin-top:4px}.photo-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}.photo-preview img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:11px}.photo-preview.compact{grid-template-columns:repeat(4,1fr)}.price-summary{margin-top:16px;background:#eaf8f1;border:1px solid #b9e7d0;border-radius:17px;padding:18px;text-align:center}.price-summary strong{display:block;color:#0b9c64;font-size:32px;margin:5px}.price-summary span{font-size:12px;color:#547066}.review-card{background:#f7f9fc;border:1px solid #e2e8f0;border-radius:16px;padding:15px;margin:11px 0}.review-card>strong{display:block;margin:5px 0}.review-card p{margin:5px 0;line-height:1.45}.review-row{display:flex;align-items:center;justify-content:space-between}.review-row button{border:0;background:none;color:#0878dc;font-weight:700}.price-review .total{font-size:27px;color:#0756ad}.save-final{margin:0}.success-screen{text-align:center;background:linear-gradient(150deg,#073b78,#0756ad);color:#fff;border-radius:24px;padding:27px 20px;margin-bottom:14px;box-shadow:0 12px 28px #073b7830}.success-check{width:72px;height:72px;border-radius:50%;background:#fff;color:#0b9c64;display:grid;place-items:center;font-size:38px;font-weight:900;margin:0 auto 12px}.success-screen h1{font-size:25px;margin:6px}.success-screen p{color:#dcecff;margin:5px 0 13px}.success-screen>span{display:inline-block;background:#ffffff17;border:1px solid #ffffff2e;border-radius:20px;padding:7px 13px;font-weight:800}.detail-heading{display:flex;align-items:center;justify-content:space-between}.detail-heading h2{margin-bottom:8px}.detail-heading span{font-size:11px;font-weight:800;color:#087448;background:#e7f8ef;padding:6px 9px;border-radius:12px}.detail-total{background:#eef7ff}.signature-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:12px;min-height:110px;display:flex;align-items:center}.text-link{display:block;text-align:center;color:#64748b;text-decoration:none;padding:16px;font-weight:700}@keyframes stepin{from{opacity:.2;transform:translateX(8px)}to{opacity:1;transform:none}}@media(max-width:480px){main{padding:13px 12px 26px}.welcome{padding:18px}.welcome h1{font-size:26px}.welcome>img{width:64px;height:64px}.two{grid-template-columns:1fr}section{padding:17px}h1{font-size:29px}.wizard-step{border-radius:18px}.wizard-actions{position:sticky;bottom:8px;background:#fff;padding-top:7px;z-index:3}}@media(display-mode:standalone){body{user-select:none}.app-header,header{padding-top:calc(8px + env(safe-area-inset-top))}}
