/* 밤비교 v4.9.1 · scoped visual consistency; leave all calculations/data unchanged. */
:root{--bb491-bg:#0a1628;--bb491-card:#14253d;--bb491-inset:#102239;--bb491-edge:#354963;--bb491-gold:#e9bf7c;--bb491-muted:#b7c5d8}
/* Public tariffs: remove inherited brown/charcoal surfaces while preserving value emphasis. */
.ngt-price-panel .ngt-session-title h3{color:#f7f9fd}
.ngt-price-panel .ngt-session-title>span{color:var(--bb491-muted)}
.ngt-price-panel .ngt-tariff-card{background:#11233a!important;border:1px solid var(--bb491-edge)!important;box-shadow:none!important;border-radius:15px!important}
.ngt-price-panel .ngt-tariff-top>span{background:#213c59!important;border:1px solid #59728b!important;color:#f1d29d!important;padding:5px 9px!important}
.ngt-price-panel .ngt-tariff-top>strong{color:#f5f8fc!important}
.ngt-price-panel .ngt-tariff-facts span{border-color:#3c536f!important;background:#192d47!important;color:#c4d0df!important}
.ngt-price-panel .ngt-tariff-amount b,.ngt-price-panel .ngt-person-unit>strong{color:var(--bb491-gold)!important}
.ngt-price-panel .ngt-person-unit>span,.ngt-price-panel .ngt-person-explain{color:#c4d0df!important}
.ngt-calc .ngt-input-grid select{background:#102239!important;border-color:#435873!important;color:#eef3fc!important}
.ngt-calc .ngt-breakdown>div{background:#12263f!important;border-color:#354963!important}
.ngt-calc .ngt-total{background:#12263f!important;border:1px solid #4b6480!important;color:#e9edf4!important}
.ngt-calc .ngt-total strong{color:var(--bb491-gold)!important}
/* Quote view: compact summary, followed immediately by comparable submitted offers. */
.ngq-app .bb491-quote-feed{width:100%!important;max-width:1000px!important;margin:17px auto 24px!important;gap:12px!important}
.ngq-app .bb491-quote-feed>.ngq-feed-title{padding:0 2px 3px;align-items:baseline}
.ngq-app .bb491-quote-feed>.ngq-feed-title>span{font-size:17px;color:#f4f7fb;font-weight:800}
.ngq-app .bb491-quote-overview{display:grid;grid-template-columns:1.35fr .8fr 1fr;gap:10px;width:100%;min-width:0}
.ngq-app .bb491-quote-stat{background:var(--bb491-inset);border:1px solid var(--bb491-edge);padding:17px 18px;border-radius:13px;display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0}
.ngq-app .bb491-quote-stat small{font-size:11px;color:#b6c5d8;font-weight:650}
.ngq-app .bb491-quote-stat strong{font-size:clamp(18px,2.4vw,25px);color:#f4f7fc;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.ngq-app .bb491-quote-stat>span{font-size:12px;color:#b7c6d9;overflow-wrap:anywhere;line-height:1.5}
.ngq-app .bb491-quote-stat.bb491-best strong{color:var(--bb491-gold);font-size:clamp(19px,2.4vw,28px)}
.ngq-app .bb491-request-note{border:1px solid var(--bb491-edge);border-radius:11px;background:#11253d;padding:11px 15px;font-size:12px;color:#c3d0df}
.ngq-app .bb491-request-note summary{cursor:pointer;font-size:12px;font-weight:650;display:flex;justify-content:space-between;align-items:center}
.ngq-app .bb491-request-note[open] summary span{transform:rotate(180deg)}
.ngq-app .bb491-request-note p{margin:10px 0 2px;white-space:normal;line-height:1.65;color:#d7e0eb}
.ngq-app .bb491-quote-feed #ngq-live-offers{display:grid;gap:12px!important}
.ngq-app .bb491-quote-feed .ng47-offer-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(145px,220px);column-gap:14px;row-gap:10px;background:#14253d!important;border:1px solid #354963!important;padding:19px 21px!important}
.ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-offer-brand{grid-column:1;grid-row:1;min-width:0}
.ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-amount{grid-column:2;grid-row:1;text-align:right;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;padding:0!important;margin:0;gap:3px}
.ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-amount strong{font-size:clamp(24px,3vw,31px);line-height:1.25;white-space:nowrap;color:var(--bb491-gold)}
.ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-price-list{grid-column:1/-1;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;border:0!important;padding:10px 0 4px}
.ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-price-list>div{background:#102139;border:1px solid #2c4260;border-radius:9px;padding:10px!important;display:flex;flex-direction:column;gap:5px;align-items:flex-start;min-width:0}
.ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-price-list b{font-size:14px;font-weight:750;color:#f0d097;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.ngq-app .bb491-quote-feed .ng47-offer-card>:not(.ngq-offer-brand):not(.ngq-amount):not(.ngq-price-list){grid-column:1/-1;min-width:0}
.ngq-app .bb491-quote-feed .ng47-offer-card .ngq-offer-brand b{font-size:18px}
.ngq-app .bb491-quote-feed .ng47-offer-card .ngq-offer-bottom{border-top:1px solid #ffffff13;padding-top:8px;margin-top:2px}
.ngq-app .bb491-quote-feed .ng47-offer-card .ng47-offer-image{width:62px!important;height:62px!important;min-width:62px!important}
/* Vendor form: fix overboxed look without hiding fields or disabling fee controls. */
.ngq-app .ngq-vendor-editor.ng47-editor-always-open{max-width:100%!important;padding:22px 24px!important;background:var(--bb491-card)!important;border:1px solid var(--bb491-edge)!important;border-radius:17px!important}
.ngq-app .ngq-vendor-editor .ngw-progress{background:#102138!important;border:0!important;border-radius:10px!important;padding:6px!important;margin-bottom:15px}
.ngq-app .ngq-vendor-editor .ngw-panel{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;gap:14px}
.ngq-app .ngq-vendor-editor .ngw-section-head{padding:5px 0 13px!important;border-bottom:1px solid #324660!important;background:transparent!important}
.ngq-app .ngq-vendor-editor .ngw-panel>.ngw-choice,.ngq-app .ngq-vendor-editor .ngw-panel>.ngw-simple-person{margin:0}
.ngq-app .ngq-vendor-editor .ngw-panel .ngw-hours-quick,.ngq-app .ngq-vendor-editor .ngw-panel .ngw-week-details,.ngq-app .ngq-vendor-editor .ngw-panel .ngw-person-title,.ngq-app .ngq-vendor-editor .ngw-panel .ngw-person-preview,.ngq-app .ngq-vendor-editor .ngw-panel .ngw-advanced,.ngq-app .ngq-vendor-editor .ngw-panel .ngw-simple-person{background:#12263f!important;border:0!important;border-radius:11px!important;box-shadow:none!important}
.ngq-app .ngq-vendor-editor .ngw-panel .ngt-editor,.ngq-app .ngq-vendor-editor .ngw-panel .ngt-editor>.ngt-row{margin:10px 0!important}
.ngq-app .ngq-vendor-editor .ngw-panel .ngt-row{background:#132841!important;border:1px solid #31465f!important;border-radius:11px!important;padding:14px 16px!important}
.ngq-app .ngq-vendor-editor .ngw-panel .ngt-row .ngt-row{background:transparent!important;border:0!important}
.ngq-app .ngq-vendor-editor .ngw-hours-buttons button,.ngq-app .ngq-vendor-editor .ngw-person-confirm,.ngq-app .ngq-vendor-editor .ngw-two-confirm{background:#192e48!important;border-color:#425a75!important;color:#f1d19a!important}
.ngq-app .ngq-vendor-editor .ngw-radio-card input:checked+span{background:#243a56!important;border-color:#e9bf7c!important;color:#f7d9a6!important;box-shadow:0 0 0 1px #e9bf7c24!important}
.ngq-app .ngq-vendor-editor .ngw-price-guide{background:transparent!important;border-left:2px solid #e9bf7c!important;padding:8px 11px!important}
.ngq-app .ngq-vendor-editor .ngw-actions{background:#14253d!important;border-color:#334862!important}
/* One-click checkbox row; browser native checkbox alignment and full-row label hit area. */
.ngq-app .ngw-panel label.ngw-person-confirm,.ngq-app .ngw-panel label.ngw-two-confirm,.ngq-app .ngw-panel label.ngt-confirm,.ngq-app .ngw-panel label.ngt-enable,.ngq-app .ngw-panel label.ngw-hours-closed-day,.ngq-app .ngw-panel label.ngq-check{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;min-width:0;min-height:46px;padding:11px 13px!important;line-height:1.5!important;cursor:pointer}
.ngq-app .ngw-panel label.ngw-person-confirm input[type=checkbox],.ngq-app .ngw-panel label.ngw-two-confirm input[type=checkbox],.ngq-app .ngw-panel label.ngt-confirm input[type=checkbox],.ngq-app .ngw-panel label.ngt-enable input[type=checkbox],.ngq-app .ngw-panel label.ngw-hours-closed-day input[type=checkbox],.ngq-app .ngw-panel label.ngq-check input[type=checkbox]{position:static!important;display:block!important;margin:0!important;flex:0 0 19px!important;width:19px!important;height:19px!important;min-width:19px!important;appearance:auto!important;accent-color:#e9bf7c;align-self:center!important}
.ngq-app .ngw-panel label.ngw-person-confirm>span,.ngq-app .ngw-panel label.ngw-two-confirm>span,.ngq-app .ngw-panel label.ngt-confirm>span,.ngq-app .ngw-panel label.ngt-enable>span,.ngq-app .ngw-panel label.ngq-check>span{min-width:0;flex:1;display:block!important;color:#dce6f3!important;font-size:13px!important;overflow-wrap:anywhere;margin:0!important}
.ngq-app .ngw-panel label.ngw-two-confirm[hidden]{display:none!important}
/* Notification settings: central, full-width and balanced desktop/mobile controls. */
.ngq-app .ng47-alert-settings.bb491-alert-page{width:min(100%,900px)!important;max-width:900px!important;margin:22px auto 36px!important;padding:clamp(20px,3vw,32px)!important;background:var(--bb491-card)!important;border:1px solid var(--bb491-edge)!important}
.ngq-app .bb491-alert-page>h2{font-size:clamp(23px,2.8vw,29px);margin:0 0 8px!important}
.ngq-app .bb491-alert-page>p{margin:0 0 20px;color:#bdcbe0}
.ngq-app .bb491-alert-page>form:not(.ng47-prefs){margin-bottom:15px}
.ngq-app .bb491-alert-page .ng47-connection{padding:13px 15px;background:#102239;border:1px solid #324863;border-radius:11px;margin:15px 0 7px}
.ngq-app .bb491-alert-page .ng47-prefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 0;width:100%;align-items:stretch}
.ngq-app .bb491-alert-page .ng47-setting-row{margin:0!important;padding:16px!important;min-height:75px;display:flex!important;align-items:center!important;flex-direction:row!important;border-radius:11px;gap:9px!important;background:#102239!important;border:1px solid #354963!important;box-sizing:border-box;cursor:pointer}
.ngq-app .bb491-alert-page .ng47-setting-row span{color:#ebf2fc!important;font-size:12.5px!important;line-height:1.45;display:block;min-width:0;flex:1;word-break:keep-all}
.ngq-app .bb491-alert-page .ng47-setting-row input[type=checkbox]{position:static!important;display:block!important;appearance:auto!important;width:19px!important;height:19px!important;min-width:19px!important;flex:0 0 19px!important;margin:0!important;accent-color:#e9bf7c}
.ngq-app .bb491-alert-page .ng47-prefs>.ngq-btn{grid-column:1/-1;width:100%!important;min-height:50px!important;margin-top:6px}
.ngq-app .bb491-alert-page .ng47-web-alert{margin-top:25px;padding:21px 0 0;border-top:1px solid #354963}
.ngq-app .bb491-alert-page .ng47-web-alert h3{margin:0 0 8px!important;font-size:18px}
.ngq-app .bb491-alert-page .ng47-web-alert p{max-width:none;color:#c4cfdf;font-size:13px}
.ngq-app .bb491-alert-page .ng47-web-alert button{min-height:44px}
@media(max-width:760px){
 .ngq-app .bb491-quote-overview{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ngq-app .bb491-quote-stat.bb491-request{grid-column:1/-1}
 .ngq-app .bb491-quote-feed .ng47-offer-card{grid-template-columns:minmax(0,1fr) minmax(104px,34%);padding:16px!important}
 .ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-price-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-price-list>div:last-child:nth-child(odd){grid-column:1/-1}
 .ngq-app .bb491-alert-page .ng47-prefs{grid-template-columns:1fr}
 .ngq-app .bb491-alert-page .ng47-setting-row{min-height:52px}
 .ngq-app .ngq-vendor-editor.ng47-editor-always-open{padding:16px!important}
}
@media(max-width:420px){
 .ngq-app .bb491-quote-stat{padding:13px 12px}
 .ngq-app .bb491-quote-stat strong{font-size:18px}
 .ngq-app .bb491-quote-stat.bb491-best strong{font-size:21px}
 .ngq-app .bb491-quote-feed .ng47-offer-card{grid-template-columns:1fr!important}
 .ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-offer-brand{grid-row:auto;grid-column:1}
 .ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-amount{grid-row:auto;grid-column:1;align-items:flex-start;text-align:left;padding:7px 0!important}
 .ngq-app .bb491-quote-feed .ng47-offer-card>.ngq-price-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ngq-app .ngw-panel label.ngw-person-confirm,.ngq-app .ngw-panel label.ngw-two-confirm,.ngq-app .ngw-panel label.ngt-confirm,.ngq-app .ngw-panel label.ngt-enable{font-size:12px!important}
}

/* 5.0.9: vendor quote inputs use only one outline per field and EXACT 만원. */
.ngq-app .ngq-vendor-request{min-width:0!important;max-width:100%!important;overflow:hidden!important}
.ngq-app .ngq-vendor-request>details{margin-top:12px!important}
.ngq-app .ngq-vendor-request>details[open]{padding:12px 0 0!important}
.ngq-app .ngq-vendor-request .ngq-offer-form{display:grid!important;gap:15px!important;width:100%;min-width:0;padding:14px 0 0!important;background:transparent!important;border:0!important}
.ngq-app .ngq-offer-form .ngq-offer-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
.ngq-app .ngq-offer-form .ngq-offer-field{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;min-width:0!important;margin:0!important;padding:0!important;align-items:start!important;border:0!important;background:transparent!important;color:#e8edf5!important}
.ngq-app .ngq-offer-form .ngq-offer-money{display:flex!important;align-items:stretch!important;width:100%!important;min-width:0!important;height:46px!important;border:1px solid #506583!important;border-radius:9px!important;overflow:hidden!important;background:#0b1930!important;padding:0!important}
.ngq-app .ngq-offer-form .ngq-offer-money input{min-width:0!important;flex:1 1 0!important;width:1px!important;height:100%!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#fff!important;padding:0 12px!important;font-size:15px!important;outline-offset:-2px}
.ngq-app .ngq-offer-form .ngq-offer-money>span{display:flex!important;flex:0 0 51px!important;align-items:center!important;justify-content:center!important;background:#1c344c!important;color:#f6cf8a!important;border-left:1px solid #506583!important;font-size:13px!important;font-weight:800!important}
.ngq-app .ngq-offer-form .ngq-offer-live-total{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:12px 0!important;border-top:1px solid #40516c!important;border-bottom:1px solid #40516c!important;background:transparent!important}
.ngq-app .ngq-offer-form .ngq-offer-live-total strong{white-space:nowrap!important;color:#f3cf92!important;font-size:23px!important}
.ngq-app .ngq-offer-form .ngq-offer-message{display:grid!important;gap:8px!important;min-width:0!important}.ngq-app .ngq-offer-form .ngq-offer-message textarea{width:100%!important;max-width:100%!important;min-width:0!important}
.ngq-app .ngq-list-item{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(145px,26%)!important;gap:16px!important;align-items:center!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
.ngq-app .ngq-list-item>div{min-width:0!important}.ngq-app .ngq-list-item strong{display:block!important;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;color:#f3cb8a!important;line-height:1.3!important;font-variant-numeric:tabular-nums}
.ngq-app .ngq-offers-inbox{min-width:0!important;max-width:100%!important}.ngq-app .ngq-offers-inbox>.ngq-panel{min-width:0!important;max-width:100%!important}
@media(max-width:680px){.ngq-app .ngq-offer-form .ngq-offer-fields{grid-template-columns:1fr!important}.ngq-app .ngq-list-item{grid-template-columns:1fr!important;gap:10px!important}.ngq-app .ngq-list-item>div:last-child{text-align:left!important}.ngq-app .ngq-offer-form .ngq-offer-live-total strong{font-size:20px!important}}

.ngq-app .ngq-vendor-request>details{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.ngq-app .ngq-offer-form input[type=number]::-webkit-inner-spin-button,.ngq-app .ngq-offer-form input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.ngq-app .ngq-offer-form input[type=number]{appearance:textfield!important;-moz-appearance:textfield!important}
.ngq-app .ngq-vendor-request .ngq-offer-form label.ngq-offer-field>.ngq-offer-money{box-shadow:none!important}
