.estimate-amounts-dialog{width:min(880px,calc(100vw - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #cdd8d8;border-radius:8px;background:#fff;color:#202c2b;font-family:Arial,sans-serif;letter-spacing:0;overflow:auto}.estimate-amounts-dialog::backdrop{background:rgba(20,32,32,.5)}.estimate-amounts-dialog *{box-sizing:border-box}.estimate-amounts-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px;border-bottom:1px solid #dce3e5}.estimate-amounts-dialog header span{font-size:13px;color:#63716e}.estimate-amounts-dialog h2{font-size:21px;margin:6px 0}.estimate-amounts-dialog header p{margin:7px 0 0;font-size:14px;overflow-wrap:anywhere}.estimate-amounts-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font:inherit;font-size:14px;min-height:36px;border:1px solid #c9d6d5;border-radius:5px;padding:8px 12px;background:#fff;color:#23473d;cursor:pointer}.estimate-amounts-dialog button:hover{background:#f0f5f3}.estimate-amounts-dialog button:disabled{opacity:.5;cursor:default}.estimate-amounts-dialog svg{width:18px;height:18px;flex:none}.estimate-amounts-dialog form{padding:20px 24px 0}.estimate-amounts-dialog h3{font-size:13px;margin:0 0 12px}.estimate-amounts-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.estimate-amounts-dialog dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;gap:15px}.estimate-amounts-dialog dt{font-size:12px;color:#63716e;overflow-wrap:anywhere}.estimate-amounts-dialog dd{margin:6px 0 0;font-size:18px;font-weight:bold;overflow-wrap:anywhere}.estimate-amounts-dialog .ea-previous{padding-bottom:18px;border-bottom:1px solid #dce3e5;margin-bottom:18px}.estimate-amounts-dialog .ea-fields{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,2fr);gap:16px}.estimate-amounts-dialog .ea-fields label,.estimate-amounts-dialog .ea-reason{display:grid;gap:8px;font-size:13px;font-weight:bold}.estimate-amounts-dialog input:not([type=checkbox]),.estimate-amounts-dialog select,.estimate-amounts-dialog textarea{width:100%;min-width:0;font:inherit;font-weight:normal;font-size:14px;padding:10px;border:1px solid #c9d6d5;border-radius:4px;color:#202c2b;background:#fff}.estimate-amounts-dialog select{height:39px}.estimate-amounts-dialog textarea{resize:vertical;line-height:1.5}.estimate-amounts-dialog .ea-nature{font-size:12px;color:#62706c;margin:8px 0;min-height:15px}.estimate-amounts-dialog .ea-new{padding:16px 0;border-top:1px solid #dce3e5;border-bottom:1px solid #dce3e5}.estimate-amounts-dialog .ea-new dd{color:#17603f}.estimate-amounts-dialog .ea-warning{background:#fff6dd;border-left:3px solid #c88b20;color:#695221;padding:10px 12px;font-size:13px;line-height:1.5;margin:10px 0 16px;overflow-wrap:anywhere}.estimate-amounts-dialog .ea-difference{font-size:13px;color:#40665b}.estimate-amounts-dialog .ea-confirm{display:flex;align-items:flex-start;gap:9px;margin:16px 0;font-size:13px;line-height:1.5}.estimate-amounts-dialog .ea-confirm input{width:16px;height:16px;flex:none;margin:2px 0 0}.estimate-amounts-dialog .ea-history{font-size:13px;border-top:1px solid #dce3e5;padding-top:12px}.estimate-amounts-dialog summary{cursor:pointer;font-weight:bold;padding:6px 0}.estimate-amounts-dialog .ea-history-scroll{max-height:220px;overflow:auto}.estimate-amounts-dialog table{border-collapse:collapse;width:100%;font-size:12px}.estimate-amounts-dialog td,.estimate-amounts-dialog th{padding:9px;text-align:left;border-bottom:1px solid #e2e8e8;vertical-align:top;overflow-wrap:anywhere}.estimate-amounts-dialog th{position:sticky;top:0;background:#f0f4f5}.estimate-amounts-dialog .ea-feedback{min-height:20px;padding:0 2px;color:#46685d;font-size:13px}.estimate-amounts-dialog>.ea-feedback{padding:20px}.estimate-amounts-dialog .error{color:#ac302a}.estimate-amounts-dialog footer{display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:0;background:#fff;border-top:1px solid #dce3e5;padding:14px 0;margin-top:14px}.estimate-amounts-dialog .ea-primary{background:#176744;border-color:#176744;color:#fff}.estimate-amounts-dialog .ea-primary:hover{background:#115234}.estimate-amounts-dialog :focus-visible{outline:2px solid #337eaa;outline-offset:2px}@media(max-width:620px){.estimate-amounts-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.estimate-amounts-dialog header{padding:16px}.estimate-amounts-dialog form{padding:16px 16px 0}.estimate-amounts-dialog .ea-fields{grid-template-columns:1fr}.estimate-amounts-dialog dl{gap:8px}.estimate-amounts-dialog dd{font-size:15px}.estimate-amounts-dialog h2{font-size:19px}}
.estimate-amounts-dialog form{max-width:none;width:100%;display:block}
.estimate-amounts-dialog button span{color:inherit}
.estimate-amounts-dialog .ea-reason{margin-top:12px;color:#283b34}
.estimate-amounts-dialog .ea-reason textarea{min-height:68px}
.estimate-amounts-dialog .ea-difference{margin:12px 0}
.estimate-amounts-dialog .ea-confirm span{color:inherit}
.estimate-amounts-dialog .ea-feedback:empty{display:none}
.estimate-amounts-dialog .ea-discount{border-top:1px solid #dce3e5;padding-top:14px;margin:16px 0}
.estimate-amounts-dialog .ea-discount-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:14px}
.estimate-amounts-dialog .ea-discount-summary dd{font-size:16px}
.estimate-amounts-dialog .ea-existing-discount{margin:12px 0 0;font-size:12px;color:#526c61}
.estimate-amounts-dialog .ea-history small{display:block;margin-top:6px;color:#526c61}
.estimate-amounts-dialog [hidden]{display:none!important}
.estimate-amounts-dialog[open]{display:flex;flex-direction:column}
.estimate-amounts-dialog>header{flex:none}
.estimate-amounts-dialog form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;padding:0;gap:0}
.estimate-amounts-dialog .ea-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 24px}
.estimate-amounts-dialog form>.ea-feedback{flex:none;margin:0;padding:8px 24px}
.estimate-amounts-dialog footer{position:static;flex:none;margin:0;padding:14px 24px}
.estimate-amounts-dialog .ea-nature:empty{display:none}
.estimate-amounts-dialog .ea-previous{padding-bottom:12px;margin-bottom:12px}
@media(max-width:620px){.estimate-amounts-dialog .ea-body{padding:16px}.estimate-amounts-dialog footer{padding:12px 16px}}
