.quanti-section{margin:32px 0}.quanti-grid{margin-top:18px}.quanti-card{border:1px solid #dce4ee;border-radius:18px;padding:24px;background:linear-gradient(155deg,#f2f3ff 0,white 48%);display:flex;flex-direction:column;gap:12px;min-width:0}.quanti-card h3{font-size:21px;margin:4px 0}.quanti-card p{margin:0}.quanti-card .access{margin-top:auto}.quanti-card-head,.quanti-meta,.quanti-actions,.preview-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.quanti-card-head{justify-content:space-between}.quanti-card .esurvey-mark{color:#3c378a;background:#ecebfa}.quanti-card .space-status{margin:0}.quanti-counts{display:flex;gap:44px;padding:16px 0}.quanti-counts div,.quanti-summary>div{display:flex;flex-direction:column;gap:4px}.quanti-counts strong{font-size:30px}.quanti-counts span{font-size:12px;color:#65768b}.quanti-preparation{padding:12px 0 28px;color:#65768b;line-height:1.65}.notification-dot{font-size:12px;color:#ac4920}.notification-dot:before{content:'';display:inline-block;width:7px;height:7px;background:#dc653d;border-radius:50%;margin-right:8px}.quanti-overlay{z-index:1100;padding:20px}.quanti-panel{width:min(1160px,100%);max-height:calc(100dvh - 40px);overflow:auto;border-radius:20px;background:#fff;padding:28px 32px;box-shadow:0 22px 80px #102a4840;outline:none}.quanti-panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.quanti-panel-header h2{font-size:29px;margin:12px 0;overflow-wrap:anywhere}.quanti-meta{font-size:13px;color:#60758f;padding:5px 0 22px;border-bottom:1px solid #e1e7f0}.quanti-panel .client-tabs{margin:16px 0 26px}.quanti-panel h3{font-size:21px;line-height:1.35}.quanti-panel .section-heading h3{margin:0}.quanti-panel .section-heading p{margin:6px 0}.quanti-intro{margin:20px 0}.template-tools{display:grid;grid-template-columns:minmax(0,1fr) 240px;align-items:end;gap:16px;margin-bottom:20px}.template-tools .search-label{max-width:none;margin:0}.template-tools label{margin:0}.template-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.template-card{border:1px solid #dde4ee;border-radius:14px;padding:22px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;position:relative;background:white}.template-card.chosen{border:2px solid #173b61;background:#f7f9fc;padding:21px}.template-card h4{font-size:19px;margin:4px 0}.template-card p{font-size:13px;color:#62748a;line-height:1.65;margin:0;flex:1}.template-card small,.template-category{font-size:12px;color:#697b90}.template-category{color:#5a52a7;background:#eeecfa;padding:4px 8px;border-radius:5px}.template-card button{margin-top:14px;width:100%}.template-symbol{font-size:28px;color:#173b61;line-height:28px}.chosen-template{margin-top:26px;padding:22px;border:1px solid #dde4ee;border-radius:14px;background:#fafbfd}.chosen-template iframe{width:100%;height:65vh;min-height:360px;border:1px solid #e1e7f0;border-radius:10px;background:white;margin-bottom:16px}.preview-toolbar{margin:18px 0 12px;gap:6px}.preview-toolbar button{padding:8px 14px;border-radius:6px;background:white;border:1px solid #dce4ee;color:#173b61}.preview-toolbar button.active{background:#173b61;color:white}.preview-toolbar span{margin-left:auto;font-size:12px;color:#68788a}.quanti-decision{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0}.quanti-decision>div{background:#f3f6fa;border-radius:14px;padding:24px;display:flex;flex-direction:column;align-items:flex-start}.quanti-decision>div:last-child{background:#fcf6f3}.quanti-decision h3{margin:0 0 8px}.quanti-decision p{color:#62748a;line-height:1.7;font-size:14px;flex:1;margin:0 0 20px}.quanti-decision label{width:100%}.attach-existing{padding:20px 0;border-top:1px solid #e1e7f0}.attach-existing summary{cursor:pointer;color:#44607b}.attach-existing form{margin-top:20px}.quanti-summary{display:grid;grid-template-columns:repeat(3,1fr);background:#f4f6fc;border-radius:14px;margin:24px 0;padding:28px;gap:26px}.quanti-summary strong{font-size:36px;line-height:1.1}.quanti-summary span{font-size:13px;color:#62748a;line-height:1.6}.quanti-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:22px 30px;margin:26px 0}.quanti-facts dt{font-size:12px;color:#687b91}.quanti-facts dd{font-size:15px;margin:6px 0 0}.quanti-actions{margin:24px 0}.quanti-create h3{font-size:25px;margin:20px 0 12px}.quanti-create>.muted{margin-bottom:26px}.quanti-panel textarea{display:block;width:100%;resize:vertical;padding:12px;border:1px solid #ccd8e6;border-radius:9px;color:#173b61;background:white;font:inherit;box-sizing:border-box;margin-top:8px}.quote-form{border:1px solid #e7d8cb;background:#fdf9f5;border-radius:14px;padding:24px;margin:20px 0}.quote-list{display:grid;gap:12px;margin:20px 0}.quote-row{width:100%;text-align:left;background:white;border:1px solid #dae3ef;border-radius:12px;padding:18px;display:flex;align-items:center;gap:16px;color:#173b61}.quote-row>span:first-child{flex:1}.quote-row strong,.quote-row small{display:block}.quote-row small{font-size:12px;margin-top:7px;color:#657991}.quote-row .space-status{margin:0}.quote-detail{background:#f6f8fb;border-radius:14px;padding:26px;margin-top:20px}.quote-brief{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.quote-history{padding-left:22px;line-height:1.7;font-size:13px;color:#536a85}.quote-history li{margin:12px 0}.quote-treatment{border-top:1px solid #dce4ee;margin-top:24px;padding-top:12px;max-width:560px}.quote-inbox-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px;border:1px solid #dce4ee;border-radius:14px;margin:14px 0;background:white}.quote-inbox-row h3{margin:0 0 6px}.quote-inbox-row span{font-size:13px;color:#687b91}.quanti-section .warning{line-height:1.6}.quanti-section button:disabled{opacity:.5;cursor:not-allowed}.quanti-panel .warning a{color:#153b61;text-decoration:underline}
@media(max-width:760px){.quanti-overlay{padding:8px}.quanti-panel{padding:20px 16px;max-height:calc(100dvh - 16px);border-radius:14px}.quanti-panel-header h2{font-size:24px}.quanti-panel .section-heading{flex-wrap:wrap;gap:14px}.template-tools{grid-template-columns:1fr}.template-grid{grid-template-columns:1fr 1fr}.template-card{padding:16px}.template-card.chosen{padding:15px}.quanti-decision{grid-template-columns:1fr}.quanti-summary{padding:20px;gap:18px}.quanti-summary strong{font-size:27px}.quanti-facts{grid-template-columns:1fr}.quote-row{flex-wrap:wrap}.quote-inbox-row{align-items:flex-start;flex-direction:column}.chosen-template{padding:14px}.quanti-panel .client-tabs{overflow:auto;flex-wrap:nowrap}.quanti-meta{gap:10px;font-size:12px}.quanti-panel .primary,.quanti-panel .secondary{white-space:normal}}
@media(max-width:440px){.template-grid{grid-template-columns:1fr}.quanti-summary{grid-template-columns:1fr 1fr}.quanti-panel .client-tabs button{min-width:max-content}.quanti-actions>*{width:100%}}
.profile-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0}.profile-categories button{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:12px;border:1px solid #dce4ec;border-radius:10px;background:#fff;color:#173b60;text-align:left;font:inherit;cursor:pointer;min-width:0}.profile-categories button strong{font-size:13px}.profile-categories button span{font-size:11px;color:#76869a}.profile-categories button.selected{border-color:#d62b2b;background:#fff5f4;box-shadow:inset 0 0 0 1px #d62b2b}.profile-categories button.selected strong{color:#b62228}.profile-categories button:focus-visible{outline:2px solid #173b60;outline-offset:2px}.profile-section-label{font-weight:600;color:#173b60}.quote-native-criterion legend small{display:block;margin-bottom:6px;color:#b62228;font-size:11px}.quote-native-criterion legend{max-width:100%;overflow-wrap:anywhere}
@media(max-width:700px){.profile-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-categories button{padding:10px}.profile-categories button strong{font-size:12px}}

.profile-selection-heading{margin:26px 0 18px}.profile-selection-heading h4{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-selection-heading .count{display:inline-flex;align-items:center;justify-content:center;min-width:26px;height:26px;border-radius:50%;background:#eef3f8;color:#173b60;font-size:12px}.quote-native-criterion>.text-action{display:block;width:auto;margin:0 0 14px auto;padding:4px 8px}

.quote-review-fields{border:0;padding:0;margin:0;min-width:0}.quote-review-fields:disabled{opacity:.75}

.quote-versions .section-heading>div{min-width:0}.quote-manual-origin{display:block;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.5;margin-top:4px}
