.sales-guide-dialog{width:min(1040px,96vw);max-width:1040px}.sales-guide-dialog .dialog-content{padding:0;max-height:82vh}.sg-shell{position:relative}.sg-progress{padding:16px 28px 6px;background:#f4f6ef;border-bottom:1px solid #e3e7dd}.sg-progress-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px}.sg-progress progress{width:100%;height:5px;accent-color:#173f38}.sg-save{padding:8px 28px;color:#596c60;background:#f4f6ef;font-size:12px}.sg-content{padding:28px}.sg-step-head h2{font:32px Georgia,serif;line-height:1.2;margin:12px 0 20px}.sg-coach{padding:18px 20px;background:#f3f5ef;border-left:3px solid #b9a87e;line-height:1.7;margin:0 0 24px}.sg-field{margin-bottom:24px}.sg-field label{font-weight:500;line-height:1.5}.sg-field small{display:block;line-height:1.6;color:#667568;margin-top:8px}.sg-field textarea{min-height:120px}.sg-footer{position:sticky;bottom:0;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 28px;background:#fff;border-top:1px solid #e3e7dd;z-index:2}.sg-footer .btn{min-height:48px}.sg-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.sg-choices label{display:flex;align-items:flex-start;gap:10px;border:1px solid #dce3d9;border-radius:8px;padding:14px;min-height:52px;cursor:pointer}.sg-choices input{flex:0 0 auto;margin-top:4px}.sg-choice-cards,.sg-actions,.sg-template-list{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.sg-item{width:100%;border:1px solid #dce3d9;border-radius:10px;padding:18px;background:#fff;text-align:left;color:#20342e;display:flex;justify-content:space-between;gap:20px;margin:10px 0;cursor:pointer}.sg-item span{color:#65756b}.sg-summary>.btn,.sg-content>.btn{display:block;text-align:left;margin:10px 0;width:100%}.sg-suggestion{padding:22px;border:1px solid #dce3d9;border-radius:12px;margin-top:20px}.sg-suggestion p{line-height:1.7}.sg-error{background:#fff0e8;color:#813d28;padding:16px 28px}.sg-error .btn{margin:5px 8px 0 0}.sg-photos{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sg-photos figure{margin:0}.sg-photos img{width:100%;height:170px;object-fit:contain;border-radius:8px;background:#f0f2ec}.sg-photos figcaption{font-size:12px;overflow-wrap:anywhere;line-height:1.6}.sg-file{position:absolute;width:1px;height:1px;opacity:0}.sg-actions label.btn{cursor:pointer}.sg-summary{margin-top:24px}#sg-contact-results{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}#sg-new-contact{margin-top:24px}#sg-new-contact summary{cursor:pointer;font-size:18px;margin-bottom:18px}
@media(max-width:650px){.sales-guide-dialog{width:98vw;max-height:98dvh}.sales-guide-dialog .dialog-content{max-height:84dvh}.sg-content{padding:20px}.sg-progress,.sg-save{padding-left:20px;padding-right:20px}.sg-choices{grid-template-columns:1fr}.sg-footer{padding:14px;gap:8px}.sg-footer .btn{flex:1}.sg-step-head h2{font-size:27px}.sg-item{flex-direction:column;gap:8px}.sg-photos{grid-template-columns:1fr 1fr}.sg-choice-cards .btn{width:100%;text-align:left}.sg-suggestion{padding:16px}}
.sg-sign{margin-top:26px;border-top:1px solid #dce3d9;padding-top:20px}.sg-sign p{line-height:1.7}.sg-sign canvas,.sg-signature-image{display:block;max-width:720px;width:100%;height:auto;aspect-ratio:3/1;background:white;border:1px solid #c8d2c5;border-radius:8px;margin:14px 0;touch-action:none}.sg-sign small{display:block;line-height:1.6;color:#65756b;margin:12px 0}.sg-signed-history{margin-top:28px}.sg-signed-history .btn{display:block;margin:8px 0;width:100%;text-align:left}
