:root{--line:#d9dde5;--text:#111827;--muted:#667085;--blue:#2563eb;--red:#d90429;--yellow:#fff200;--bg:#f6f7f9}*{box-sizing:border-box}body{margin:0;font-family:'LG스마트체 Regular','LG Smart UI','Noto Sans KR',Arial,sans-serif;color:var(--text);background:var(--bg)}.topbar{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;padding:14px 22px;background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.logo{width:42px;height:42px;border-radius:50%;background:#a50034;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}h1{font-size:26px;margin:0}.brand p{margin:2px 0 0;color:var(--muted);font-size:13px}.top-actions{display:flex;gap:8px}.btn{border:1px solid var(--line);background:#fff;border-radius:8px;height:38px;padding:0 14px;font-weight:700;cursor:pointer}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff}.btn.ghost:hover{background:#f1f5f9}.layout{display:grid;grid-template-columns:320px minmax(1100px,1fr);gap:14px;padding:14px;align-items:start}.summary-card{position:sticky;top:84px;background:#fff;border:1px solid var(--line);padding:18px;border-radius:10px}.summary-title{text-align:center;font-size:22px;font-weight:800;line-height:1.45}.divider{height:2px;background:#222;margin:22px 0}.summary-row{display:flex;align-items:flex-end;justify-content:space-between;margin:14px 0}.summary-row span{font-size:17px;font-weight:700}.summary-row strong{font-size:28px;white-space:nowrap}.benefit-list{display:grid;gap:10px;margin:20px 0}.benefit-list div{display:flex;justify-content:space-between;align-items:center;font-size:15px}.benefit-list b{white-space:nowrap}.yellow-box{background:var(--yellow);border:2px solid #111;padding:18px 14px;margin:20px 0;min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:8px}.yellow-box span{font-size:18px;font-weight:800;white-space:nowrap}.yellow-box strong{font-size:30px;color:#e60012;white-space:nowrap}.yellow-box.small{min-height:74px}.workspace{display:grid;gap:14px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px}.panel h2{margin:0 0 12px;font-size:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.hint{color:var(--muted);font-size:13px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px 14px}.form-grid.compact{grid-template-columns:repeat(2,minmax(160px,1fr))}label{display:grid;gap:6px;font-size:14px;font-weight:700}input,select{width:100%;height:38px;border:1px solid var(--line);border-radius:7px;padding:0 10px;font-size:15px;background:#fff}.span2{grid-column:span 2}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px}.quote-table{width:100%;min-width:1540px;border-collapse:collapse;table-layout:fixed}.quote-table th,.quote-table td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:8px;text-align:center;vertical-align:middle}.quote-table th{background:#f8fafc;font-size:14px}.quote-table tr:last-child td{border-bottom:0}.quote-table th:last-child,.quote-table td:last-child{border-right:0}.col-no{width:54px}.col-wedding{width:82px}.col-sub,.col-small{width:64px}.col-cat{width:130px}.col-model{width:360px}.col-care{width:190px}.col-contract{width:95px}.col-prepay{width:110px}.col-fee{width:130px}.col-price{width:150px}.col-action{width:58px}.model-input{font-size:16px;font-weight:700;letter-spacing:.2px}.category{font-weight:700;background:#f8fafc}.small-check{width:18px;height:18px;accent-color:var(--blue)}.mini-check{display:flex;grid-template-columns:none;align-items:center;justify-content:center;gap:4px;font-size:13px;white-space:nowrap}.mini-check input{width:15px;height:15px}.delete-row{width:30px;height:30px;border:0;border-radius:6px;background:#fee2e2;color:#b91c1c;font-size:20px;font-weight:800;cursor:pointer}.reg-price.hidden-by-sub{display:none}.table-actions{display:flex;gap:8px;margin-top:12px}.note{font-size:13px;color:var(--muted);margin:12px 0 0}.options-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}.promo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.promo-grid div{border:1px solid var(--line);border-radius:10px;padding:14px;background:#fbfcfe}.promo-grid span{display:block;font-weight:800}.promo-grid b{display:block;color:#e60012;font-size:22px;margin:8px 0}.promo-grid em{display:block;font-style:normal;color:var(--muted);font-size:12px}@media(max-width:1200px){.layout{grid-template-columns:1fr}.summary-card{position:static}.form-grid,.options-grid,.promo-grid{grid-template-columns:1fr}.span2{grid-column:span 1}}
.allstar-base-row {
  border-top: 2px solid #111;
  padding-top: 14px;
  margin-top: 18px;
}
.allstar-base-row span {
  font-size: 16px;
  font-weight: 800;
}
.allstar-base-row strong {
  font-size: 24px;
}


/* v19 brand header */
.top-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px;
  padding:18px 24px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
}

.top-brand h1{
  margin:0;
  font-size:34px;
  font-weight:900;
  letter-spacing:-1px;
  color:#222;
}

.lg-logo-wrap{
  display:flex;
  align-items:center;
  gap:14px;
}

.lg-logo-circle{
  width:64px;
  height:64px;
  border-radius:50%;
  background:#a50034;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  font-weight:900;
}

.lg-logo-text{
  font-size:28px;
  font-weight:900;
  color:#666;
}


/* v20 fixes */
.col-cat input.category{
  font-size: clamp(9px, 0.85vw, 13px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.col-prepay-amount{width:130px}
.prepay-amount{text-align:right}
.allstar-base-row{
  border-top:2px solid #111;
  margin-top:18px;
  padding-top:14px;
}
.allstar-base-row span{font-size:16px;font-weight:900}
.allstar-base-row strong{font-size:24px}
input[type="date"], label:has(input[type="date"]){font-weight:900}


/* v21 logo */
.top-brand{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:18px 24px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
  margin-bottom:24px;
}

.lg-brand-row{
  display:flex;
  align-items:center;
  gap:18px;
}

.lg-real-logo{
  height:62px;
  width:auto;
  object-fit:contain;
}

.brand-title-text{
  font-size:34px;
  font-weight:900;
  letter-spacing:-1px;
  color:#222;
}

/* 품목칸 자동축소 */
.col-cat,
.col-cat select,
.category{
  font-size:clamp(8px,0.72vw,13px)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  width:100%;
}

td.col-cat{
  max-width:90px;
}


/* v22 logo update */
.lg-real-logo{
  height:58px !important;
  width:auto;
  object-fit:contain;
}


/* v23 remove extra LG circle */
.lg-logo-circle,
.logo{
  display:none !important;
}


/* v24 */
html{zoom:0.67;}

.lg-real-logo{
  height:60px !important;
  width:auto;
  object-fit:contain;
}

.col-model{
  width:260px !important;
}

.col-model input,
.model-input{
  width:100%;
  font-size:clamp(8px,0.9vw,14px)!important;
  transform-origin:left center;
  white-space:nowrap!important;
}

/* 품목칸 글자 전체 표시 */
.col-cat,
.col-cat input,
.col-cat select,
.category{
  width:100%;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:unset!important;
  font-size:clamp(7px,0.72vw,13px)!important;
  letter-spacing:-0.6px;
}

.col-reg{width:140px}
.col-fee{width:140px}
.reg-price,.monthly-fee{
  text-align:right;
  font-weight:700;
}

/* v25 fixes */
.col-cat{width:120px!important; min-width:120px!important;}
.col-cat input.category,
.category{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  font-size:clamp(8px,0.65vw,12px)!important;
  letter-spacing:-0.9px!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
  text-align:center!important;
}
.inshop-base-row{
  border-top:1px solid #555;
  padding-top:10px;
  margin-top:10px;
}
.inshop-base-row span{font-size:16px;font-weight:900}
.inshop-base-row strong{font-size:24px}

/* v26 */
.hidden{display:none!important}
.card-add-row{
  display:grid;
  grid-template-columns:1fr 120px auto;
  gap:8px;
  margin-top:10px;
}
.custom-card-list{
  margin-top:8px;
  display:grid;
  gap:6px;
}
.custom-card-list .custom-card-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid #e5e7eb;
  border-radius:8px;
  padding:7px 10px;
  background:#f8fafc;
  font-size:13px;
}
.custom-card-list button{
  border:0;
  background:#fee2e2;
  color:#991b1b;
  border-radius:5px;
  cursor:pointer;
}

/* v30 calculation engine reset */
html{zoom:0.67;}
.cash-card-add-row{grid-template-columns:1fr 130px 130px auto!important}
.hidden{display:none!important}
.engine-error{
  position:fixed;right:16px;bottom:16px;background:#991b1b;color:#fff;
  padding:12px 14px;border-radius:10px;z-index:9999;font-size:13px;display:none;
}

/* v31 */
.sub-card-add-row{grid-template-columns:1fr 1fr auto!important}
#finalBenefitPrice{
  font-size:clamp(22px, 1.9vw, 32px)!important;
  white-space:nowrap!important;
  max-width:100%;
  overflow:hidden;
  text-overflow:clip;
}
.yellow-box{
  overflow:hidden;
}
.inshop-cashback-row.hidden{display:none!important}

/* v38 AC3 visible card */
#ac3PromoCard.hidden{display:none!important}
#ac3PromoCard{
  border:2px solid #d90429!important;
  background:#fff7f7!important;
}
#ac3PromoCard span{
  font-weight:900!important;
}
#ac3PromoCard b{
  color:#d90429!important;
}


/* v40 final benefit box */
.final-price-box{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:flex-start!important;
  padding-top:10px!important;
}

.final-price-box .final-label{
  position:absolute!important;
  top:8px!important;
  left:12px!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1!important;
}

#finalBenefitPrice{
  width:100%!important;
  text-align:right!important;
  margin-top:28px!important;
}


/* v41 final benefit redesign */
.final-benefit-wrap{
  margin-top:14px;
  margin-bottom:18px;
}

.final-benefit-title{
  font-size:20px;
  font-weight:900;
  margin-bottom:6px;
  padding-left:2px;
}

.final-price-box{
  background:#ffef00!important;
  border:2px solid #111!important;
  min-height:72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:0 16px!important;
  box-sizing:border-box!important;
}

#finalBenefitPrice{
  font-size:32px!important;
  font-weight:900!important;
  color:#d90429!important;
  line-height:1!important;
  margin:0!important;
  text-align:right!important;
  width:100%!important;
}


/* v42 final benefit + logo fix */
.topbar,
header.topbar{
  height:auto!important;
  min-height:96px!important;
  overflow:visible!important;
  align-items:center!important;
  padding-top:18px!important;
  padding-bottom:18px!important;
}

.brand,
.top-brand,
.lg-brand-row,
.lg-logo-wrap{
  overflow:visible!important;
  height:auto!important;
  min-height:72px!important;
  align-items:center!important;
}

.lg-real-logo{
  display:block!important;
  height:54px!important;
  max-height:54px!important;
  width:auto!important;
  object-fit:contain!important;
  object-position:left center!important;
  overflow:visible!important;
}

.logo,
.lg-logo-circle{
  display:none!important;
}

/* 최종 혜택가: 제목은 박스 밖 위, 노란 박스는 금액만 */
.final-benefit-wrap{
  margin-top:14px!important;
  margin-bottom:18px!important;
}

.final-benefit-title{
  font-size:20px!important;
  font-weight:900!important;
  color:#000!important;
  margin:0 0 5px 0!important;
  padding:0!important;
  line-height:1.15!important;
}

.final-price-box{
  background:#ffef00!important;
  border:2px solid #111!important;
  min-height:62px!important;
  height:62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:0 14px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

.final-price-box #finalBenefitPrice,
#finalBenefitPrice{
  font-size:30px!important;
  font-weight:900!important;
  color:#d90429!important;
  line-height:1!important;
  margin:0!important;
  padding:0!important;
  text-align:right!important;
  width:100%!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
}

/* 기존 yellow-box 스타일이 최종혜택가에 먹는 경우 차단 */
.final-benefit-wrap .yellow-box,
.final-benefit-wrap .small{
  all:unset;
}


/* v43 logo crop fix */
header,
.topbar,
.header,
.header-inner,
.brand-row,
.brand-wrap,
.logo-wrap,
.logo-area{
  overflow:visible !important;
}

.topbar{
  min-height:110px !important;
  padding:20px 24px !important;
  display:flex !important;
  align-items:center !important;
}

.logo-wrap,
.brand-wrap{
  display:flex !important;
  align-items:center !important;
  min-width:320px !important;
  flex-shrink:0 !important;
}

img,
.lg-real-logo{
  overflow:visible !important;
}

.lg-real-logo{
  height:64px !important;
  width:auto !important;
  max-width:none !important;
  object-fit:contain !important;
  object-position:left center !important;
  display:block !important;
  margin-right:18px !important;
}

/* 제목 밀림 방지 */
.main-title,
.page-title{
  margin-left:8px !important;
}


/* v44 final benefit exact layout */
.final-benefit-wrap{
  margin:14px 0 18px 0 !important;
  padding:0 !important;
}

.final-benefit-title{
  display:block !important;
  font-size:20px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
  color:#000 !important;
  margin:0 0 6px 0 !important;
  padding:0 !important;
  text-align:left !important;
}

.final-benefit-wrap .final-price-box{
  width:100% !important;
  height:62px !important;
  min-height:62px !important;
  background:#fff200 !important;
  border:2px solid #111 !important;
  box-sizing:border-box !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  padding:0 14px !important;
  overflow:hidden !important;
}

.final-benefit-wrap .final-price-box #finalBenefitPrice{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
  font-size:30px !important;
  font-weight:900 !important;
  line-height:1 !important;
  color:#e60012 !important;
  text-align:right !important;
  white-space:nowrap !important;
}


/* v45 hard override: header/logo */
.fixed-brand-header{
  position:relative!important;
  min-height:86px!important;
  height:86px!important;
  padding:12px 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  overflow:visible!important;
  background:#fff!important;
}

.fixed-logo-wrap{
  display:flex!important;
  align-items:center!important;
  gap:18px!important;
  min-width:520px!important;
  height:70px!important;
  overflow:visible!important;
  flex-shrink:0!important;
}

.fixed-logo-wrap .lg-real-logo{
  height:50px!important;
  width:auto!important;
  min-width:auto!important;
  max-width:none!important;
  object-fit:contain!important;
  object-position:left center!important;
  display:block!important;
  flex-shrink:0!important;
  clip-path:none!important;
  overflow:visible!important;
}

.fixed-main-title{
  font-size:30px!important;
  font-weight:900!important;
  color:#111!important;
  line-height:1!important;
  white-space:nowrap!important;
}

.fixed-brand-header .brand,
.fixed-brand-header .top-brand,
.fixed-brand-header .logo,
.fixed-brand-header .lg-logo-circle,
.fixed-brand-header p{
  display:none!important;
}

/* v45 hard override: final benefit */
.summary-card .final-benefit-wrap{
  margin:14px 0 18px 0!important;
  padding:0!important;
  display:block!important;
}

.summary-card .final-benefit-title{
  display:block!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1.15!important;
  color:#000!important;
  margin:0 0 6px 0!important;
  padding:0!important;
  text-align:left!important;
}

.summary-card .final-benefit-wrap .final-price-box{
  width:100%!important;
  height:62px!important;
  min-height:62px!important;
  background:#fff200!important;
  border:2px solid #111!important;
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  padding:0 14px!important;
  overflow:hidden!important;
}

.summary-card .final-benefit-wrap #finalBenefitPrice{
  display:block!important;
  width:100%!important;
  font-size:30px!important;
  font-weight:900!important;
  line-height:1!important;
  color:#e60012!important;
  text-align:right!important;
  white-space:nowrap!important;
  margin:0!important;
  padding:0!important;
}

/* 기존 최종 혜택가 span이 노란박스 안에 남는 경우 숨김 */
.summary-card .final-price-box span,
.summary-card .yellow-box span:has(+ #finalBenefitPrice){
  display:none!important;
}


/* v46 definitive logo fix */
.fixed-brand-header{
  width:100%!important;
  min-height:88px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:14px 22px!important;
  box-sizing:border-box!important;
  background:#fff!important;
  overflow:visible!important;
}

.brand-left{
  display:flex!important;
  align-items:center!important;
  gap:22px!important;
  width:auto!important;
  min-width:620px!important;
  overflow:visible!important;
  flex-shrink:0!important;
}

.brand-logo-image{
  display:block!important;
  width:240px!important;
  height:auto!important;
  max-width:240px!important;
  min-width:240px!important;
  object-fit:contain!important;
  object-position:left center!important;
  overflow:visible!important;
  flex-shrink:0!important;
}

.brand-title-text{
  font-size:28px!important;
  font-weight:900!important;
  color:#111!important;
  white-space:nowrap!important;
  line-height:1!important;
}

/* 기존 잘림 원인 제거 */
.topbar *{
  overflow:visible!important;
}

.topbar img{
  clip-path:none!important;
  mask:none!important;
}

/* 예전 제목 숨김 */
.fixed-main-title,
.topbar h1,
.topbar .main-title{
  display:none!important;
}


/* v47 clean header */
.clean-header{
  width:100%;
  height:92px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 24px;
  background:#fff;
  box-sizing:border-box;
  border-bottom:1px solid #ddd;
}

.clean-brand{
  display:flex;
  align-items:center;
  gap:20px;
}

.clean-logo{
  width:220px;
  height:auto;
  display:block;
  object-fit:contain;
}

.clean-title{
  font-size:30px;
  font-weight:900;
  color:#111;
  white-space:nowrap;
}

/* old header disable */
.topbar,
.fixed-brand-header,
.brand-left,
.fixed-logo-wrap,
.fixed-main-title,
.brand-title-text,
.brand-logo-image{
  all:unset;
}


/* v48 admin settings */
.admin-modal.hidden{display:none!important}
.admin-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}
.admin-panel{
  width:min(920px, 96vw);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border-radius:16px;
  box-shadow:0 16px 40px rgba(0,0,0,.25);
  padding:20px;
}
.admin-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #e5e7eb;
  padding-bottom:12px;
}
.admin-head h2{margin:0;font-size:24px}
.admin-close{
  border:0;
  background:#111;
  color:#fff;
  width:34px;
  height:34px;
  border-radius:8px;
  font-size:22px;
  cursor:pointer;
}
.admin-tabs{
  display:flex;
  gap:8px;
  margin:16px 0;
}
.admin-tab{
  border:1px solid #d1d5db;
  background:#fff;
  border-radius:8px;
  padding:9px 14px;
  font-weight:800;
  cursor:pointer;
}
.admin-tab.active{
  background:#2563eb;
  color:#fff;
  border-color:#2563eb;
}
.admin-section{display:none}
.admin-section.active{display:block}
.admin-section h3{margin:10px 0 14px}
.admin-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(160px,1fr));
  gap:12px;
}
.admin-grid label{
  display:grid;
  gap:6px;
  font-weight:800;
}
.admin-grid input{
  height:38px;
  border:1px solid #d1d5db;
  border-radius:8px;
  padding:0 10px;
}
.admin-actions{
  display:flex;
  gap:8px;
  margin-top:14px;
  flex-wrap:wrap;
}
.admin-footer{
  border-top:1px solid #e5e7eb;
  margin-top:18px;
  padding-top:14px;
  display:flex;
  justify-content:flex-end;
}
#adminDataJson{
  width:100%;
  height:220px;
  border:1px solid #d1d5db;
  border-radius:10px;
  padding:12px;
  font-family:monospace;
  resize:vertical;
}
.btn.danger{
  background:#dc2626;
  color:#fff;
  border-color:#dc2626;
}
.admin-note{
  color:#64748b;
  font-size:13px;
}
@media(max-width:800px){
  .admin-grid{grid-template-columns:1fr}
}

/* v49 admin excel upload */
.excel-upload-box{
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid #e5e7eb;
  background:#f8fafc;
  border-radius:10px;
  padding:12px;
  margin-bottom:8px;
}
.excel-upload-box input[type=file]{
  flex:1;
  height:auto;
  padding:8px;
  background:#fff;
}


/* v50 admin login + server ready */
.admin-login-panel{
  width:min(420px, 94vw);
  background:#fff;
  border-radius:16px;
  box-shadow:0 16px 40px rgba(0,0,0,.25);
  padding:20px;
}
.admin-login-body{
  display:grid;
  gap:14px;
  padding-top:16px;
}
.admin-login-body label{
  display:grid;
  gap:6px;
  font-weight:900;
}
.admin-login-body input{
  height:42px;
  border:1px solid #d1d5db;
  border-radius:8px;
  padding:0 12px;
  font-size:15px;
}
.admin-login-error{
  margin:0;
  color:#dc2626;
  font-weight:900;
  font-size:14px;
}
.admin-login-error.hidden{display:none!important}
.server-ready-box{
  background:#f8fafc;
  border:1px solid #d1d5db;
  border-radius:10px;
  padding:12px;
  margin-bottom:14px;
  color:#334155;
  line-height:1.5;
}


/* v51 admin modal stabilization */
#adminLoginModal:not(.hidden),
#adminModal:not(.hidden){
  display:flex!important;
}
#adminLoginModal.hidden,
#adminModal.hidden{
  display:none!important;
}


.version-badge{
  position:fixed;
  top:14px;
  right:18px;
  z-index:9999;
  background:#c8102e;
  color:#fff;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  letter-spacing:.2px;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}

#resetBtn{
  background:#374151;
  color:#fff;
}

#resetBtn:hover{
  background:#1f2937;
}


/* Version 1 logo hard guard */
:root{
  --lg-logo-src: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANQAAAA2CAYAAAC/UreRAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAFxEAABcRAcom8z8AACqGSURBVHhe7V0HeFRVvp+WRoAQuoigWICQMjUNJKGFSFVJFEggySRTM30m0zKTSe+FGgjpZdKD9N7EFVksq1vePty33dV1XV113V1dkf/7/nfmxuGSIKK+Nb75fd/hzr1z7jnnDud3//Wc0GheeOGFF1544YUXXnjxf4OdkSkT93DWzG1ZsI7btHDD0qaIp5c18jbFN/CfEjTzn57XGpc2iQbAoN7nhRde0Gi0xMREvz0ha9jts1alOWeu3NU7fcV559T41zuDl/6me9LSd7omLf1L++Sl7zqnxv2ub3L8z47PTLx8+IE1jX2PrhV1RG2KcojF46hteuHF/zvUxzw1vW3Bmi0ds1f1diF5xkXf7GNFwgArCnp8BNDF4kE3gwtddC60sbjQ4cOHfoYAjjAj4TlWJPSOj4HumfFvdz+ydsjJScrYt3b7/dQ+vPDiB4+K2A0Teh9du7171qpL7RNjPxvyj4ZBOhcGaGzop3OgFwuDAwMsHgz58qHflw89PjxoZ3KgjcGBNjoHOhk86CLq8eBgUBz0zl5949DCp398NHabyLlWFkzt0wsvfpBon/8Ev3vGysGu8Ys/6/OLhD46B/ppbDjE5EM3iwMtvuxP2gJ4b3b7844O+ke2PDcuqnYwILKwk8m+4mRyoIPBhQ4Gz1XoXOigcaAzIBqGguPh3Mw1cPaRTZ8f46We6F0lXkrt2wsvflBonbsqvWNC7K8HfGOgi86DHpRCDA50+rA/bxvHf6lxSlTJrimRy6tn8R/YExc3Pjk52ZcGNDreW8ucX97N4kIvnQd9NAE4aSih+NBJF0B3QAwMTI6DQzNWwckH1sOF0M1wPDbjj0OrpSqHw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2x64cVXYe9Dy8M7psYd7gqIJlKHumgR0IducV8eNAZwP2jy55xv9+Plt0zir9+9YDnXERH3oGzJkuDkuJDxuIOSKWTxnLq5seyGKfwNrYH8os4A/vm2AP77uKfEkeA4ODUzAY7PSoSuOQnQ/uiaMx2LNt7N8nYvvBi7KFuyNbh17kp915T4X3UHLIYuRhSR5IqrcIfQGcHiQXsA79OOCfx3WsdxftoUEH75gG/ouQN+4ZeaxrHfaJ7Af7t1vODTTl8eQUpiWTz+wbUpy+D41FUwMG3Fb5sfWGm2sBPvZnswL7z4YWAX+6mIzvsTKpzB8dedSAiWgFgGj9uJdeDOs+iYIP4IGxf63H/FEAPFuDweA74Y+MUVvQOsSOif8Dh037f8N21zEmr2P7z668RcvPDih4V2zpMLO+clarpnrjjSNyX+LWfg4n/jn/jEJRmDPqgaRkI/IxIGWFEwyIqGAb9Y6B23GDonPf6Fc+qyd3pmrDjeMSfBsH/+E2HUtr3w4v8tOlL1ge2cDXxnyIYM58PrKrpnr27vnhx/pHv84lM942LPOIOWnu6atuxY17wnujoXbazt4D4tbuMlRTZtuPMm8l544QUGNcHBcMSl+XeErwrsD0ke3x+XPP5iWpp/cn//tx5z8cILL7zwwgsvvPDCCy+88MILL/6z+F+S3fP65uuT2wAAAABJRU5ErkJggg==");
}

header,
.clean-header,
.topbar,
.fixed-brand-header,
.brand-left,
.clean-brand,
.fixed-logo-wrap,
.logo-wrap,
.brand-wrap {
  overflow: visible !important;
}

.quote-logo-wrap,
.clean-brand,
.brand-left {
  display: flex !important;
  align-items: center !important;
  min-width: 260px !important;
  min-height: 58px !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

.quote-logo-img,
.clean-logo,
.brand-logo-image,
.lg-real-logo {
  display: block !important;
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain !important;
  object-position: left center !important;
  clip-path: none !important;
  mask: none !important;
  -webkit-mask: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
}

/* 이미지 로딩 실패 시 CSS 배경 로고로 대체 */
.quote-logo-img.logo-fallback {
  width: 220px !important;
  height: 50px !important;
  content: var(--lg-logo-src) !important;
  background-image: var(--lg-logo-src) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
}


/* Version 1 title only mode */
.main-title,
.page-title,
.hero-title,
.clean-main-title,
h1,
.title-text{
  font-weight: 900 !important;
  letter-spacing: -0.8px !important;
  color:#111 !important;
}

header h1,
header .title,
header .main-title{
  font-size: 34px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

.clean-header,
header,
.topbar{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
}


/* Version 1 clean header - final override */
.v1-header{
  width:100% !important;
  min-height:74px !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  padding:14px 22px !important;
  box-sizing:border-box !important;
  background:#ffffff !important;
  border-bottom:1px solid #e5e7eb !important;
  box-shadow:0 2px 10px rgba(15,23,42,.06) !important;
  overflow:visible !important;
  position:relative !important;
}

.v1-title-wrap{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-width:0 !important;
  flex:1 1 auto !important;
  overflow:visible !important;
}

.v1-main-title{
  font-size:30px !important;
  font-weight:900 !important;
  line-height:1.1 !important;
  color:#111827 !important;
  letter-spacing:-1.1px !important;
  white-space:nowrap !important;
}

.v1-version{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#111827 !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:5px 10px !important;
  font-size:12px !important;
  font-weight:900 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

.v1-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  flex:0 0 auto !important;
  overflow:visible !important;
}

.v1-actions .btn,
.v1-actions button{
  height:34px !important;
  padding:0 12px !important;
  border-radius:8px !important;
  font-size:13px !important;
  font-weight:800 !important;
  white-space:nowrap !important;
}

/* Remove old logo/header artifacts */
.quote-logo-img,
.clean-logo,
.brand-logo-image,
.lg-real-logo,
.quote-logo-wrap,
.logo,
.lg-logo-circle,
.version-badge{
  display:none !important;
}

.clean-header,
.topbar,
.fixed-brand-header{
  overflow:visible !important;
}

/* Prevent previous title rules from distorting the clean header */
.v1-header h1,
.v1-header .main-title,
.v1-header .page-title,
.v1-header .clean-main-title{
  all:unset !important;
}

@media(max-width:900px){
  .v1-header{
    align-items:flex-start !important;
    flex-direction:column !important;
  }
  .v1-main-title{
    font-size:24px !important;
    white-space:normal !important;
  }
  .v1-actions{
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
  }
}


/* Version 1 multi save/load */
.quote-list-panel{
  width:min(720px, 94vw)!important;
}
.quote-list-box{
  display:grid;
  gap:10px;
  margin-top:16px;
}
.quote-list-item{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:8px;
  align-items:center;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:12px;
  background:#fff;
}
.quote-list-title{
  font-weight:900;
  color:#111827;
}
.quote-list-meta{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:12px;
}
.quote-list-empty{
  padding:24px;
  text-align:center;
  color:#64748b;
  border:1px dashed #cbd5e1;
  border-radius:12px;
}
.quote-list-item button{
  height:32px;
  border-radius:8px;
  border:1px solid #d1d5db;
  padding:0 10px;
  font-weight:800;
  cursor:pointer;
}
.quote-list-load{
  background:#2563eb;
  color:#fff;
  border-color:#2563eb!important;
}
.quote-list-delete{
  background:#fff;
  color:#dc2626;
}


/* Version 1 user login gate */
body.login-locked{
  overflow:hidden!important;
}

body.login-locked > *:not(#userLoginGate){
  filter:blur(2px);
  pointer-events:none;
  user-select:none;
}

.user-login-gate{
  position:fixed;
  inset:0;
  z-index:2147483647;
  background:linear-gradient(135deg,#111827,#1f2937);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

.user-login-gate.hidden{
  display:none!important;
}

.user-login-card{
  width:min(420px, 94vw);
  background:#fff;
  border-radius:18px;
  padding:28px;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  display:grid;
  gap:14px;
}

.user-login-card h1{
  margin:0;
  font-size:24px;
  font-weight:900;
  letter-spacing:-.8px;
  color:#111827;
  line-height:1.2;
}

.user-login-card p{
  margin:0 0 8px;
  color:#64748b;
  font-weight:700;
}

.user-login-card label{
  display:grid;
  gap:7px;
  font-weight:900;
  color:#111827;
}

.user-login-card input{
  height:44px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:0 12px;
  font-size:16px;
  font-weight:700;
}

.user-login-card input:focus{
  outline:2px solid #2563eb;
  border-color:#2563eb;
}

#userLoginBtn{
  height:46px;
  border:0;
  border-radius:10px;
  background:#c8102e;
  color:#fff;
  font-size:16px;
  font-weight:900;
  cursor:pointer;
  margin-top:4px;
}

.user-login-error{
  color:#dc2626;
  background:#fef2f2;
  border:1px solid #fecaca;
  border-radius:10px;
  padding:9px 10px;
  font-weight:900;
  font-size:14px;
}

.user-login-error.hidden{
  display:none!important;
}




/* Version 1 batch fixes */
.after-card-row strong{color:#d90429!important;font-weight:900!important}
.quote-list-modal-fix{z-index:99999}


/* Version 1 login button click fix */
#userLoginGate{
  pointer-events:auto!important;
  z-index:2147483647!important;
}
#userLoginGate *{
  pointer-events:auto!important;
}
#userLoginBtn{
  cursor:pointer!important;
  pointer-events:auto!important;
  position:relative!important;
  z-index:2147483647!important;
}


/* Login runtime fix */
#userLoginGate{
  display:flex;
  pointer-events:auto!important;
}
#userLoginGate.hidden{
  display:none!important;
}
#userLoginBtn,
#userLoginId,
#userLoginPw{
  pointer-events:auto!important;
}



/* LG Smart Regular Global Font */
@font-face{
  font-family:'LGSmart';
  src:
    local('LG Smart UI Regular'),
    local('LG Smart Regular'),
    local('LG스마트체 Regular');
  font-weight:400;
  font-style:normal;
}

html,
body,
button,
input,
select,
textarea,
option,
table,
thead,
tbody,
tr,
td,
th,
div,
span,
p,
label,
strong,
b,
em,
small,
h1,
h2,
h3,
h4,
h5,
h6{
  font-family:'LGSmart','Malgun Gothic','Apple SD Gothic Neo',sans-serif!important;
}

input::placeholder,
textarea::placeholder{
  font-family:'LGSmart','Malgun Gothic','Apple SD Gothic Neo',sans-serif!important;
}


/* 올스타 비적용 시 기준금액 숨김 */
.allstar-base-row.hidden{
  display:none!important;
}


/* 올스타 기준금액 표시 보정 v2 */
.allstar-base-row.hidden{
  display:none!important;
}

/* 입력용 T47:Y51 일시불 제휴카드 */
.cashcard-table{border:1px solid #d1d5db;border-radius:10px;overflow:hidden;background:#fff}
.cashcard-head{font-weight:900;background:#f1f5f9;padding:10px 12px;border-bottom:1px solid #d1d5db}
.cashcard-row{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr;gap:0;align-items:center;border-bottom:1px solid #e5e7eb}
.cashcard-row:last-child{border-bottom:0}
.cashcard-row>div,.cashcard-row>label,.cashcard-row>input,.cashcard-row>b{padding:9px 10px}
.cashcard-row-head{font-weight:900;background:#fafafa}
.cashcard-pay{height:34px;border:1px solid #d1d5db;border-radius:7px;margin:5px 8px;padding:0 8px}
.cashcard-benefit{text-align:right;color:#111827}

/* 일시불 제휴카드 이전 UI 복구 */
.cashcard-table{display:none!important}

/* 일시불 제휴카드 수기 추가 */
.cash-card-manual-add{
  margin-top:10px;
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr auto;
  gap:8px;
}
.cash-card-manual-add input{
  height:36px;
  border:1px solid #d1d5db;
  border-radius:8px;
  padding:0 10px;
  font-weight:800;
}
@media(max-width:900px){
  .cash-card-manual-add{grid-template-columns:1fr}
}


/* Version 1 Mobile Layout Fix */
@media (max-width: 768px){
  html, body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
    background:#f5f7fb!important;
  }
  body{
    margin:0!important;
    padding:0!important;
    font-size:14px!important;
  }
  .v1-header{
    position:sticky!important;
    top:0!important;
    z-index:1000!important;
    display:block!important;
    padding:10px 10px!important;
    min-height:auto!important;
    background:#fff!important;
    border-bottom:1px solid #e5e7eb!important;
  }
  .v1-title-wrap{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    margin-bottom:8px!important;
  }
  .v1-main-title{
    font-size:15px!important;
    line-height:1.2!important;
    letter-spacing:-.5px!important;
    white-space:normal!important;
    flex:1!important;
  }
  .v1-version{
    font-size:9px!important;
    padding:3px 6px!important;
  }
  .v1-actions{
    display:grid!important;
    grid-template-columns:repeat(5, 1fr)!important;
    gap:5px!important;
    width:100%!important;
  }
  .v1-actions .btn,
  .v1-actions button{
    width:100%!important;
    min-width:0!important;
    height:30px!important;
    padding:0 3px!important;
    font-size:10px!important;
    border-radius:6px!important;
  }
  .layout{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
    width:100%!important;
    max-width:100%!important;
    padding:8px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
  }
  .summary-card,
  .workspace,
  .panel,
  .product-panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  .summary-card{
    order:1!important;
    padding:12px 10px!important;
    border-radius:10px!important;
  }
  .workspace{
    order:2!important;
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }
  .summary-title{
    font-size:15px!important;
    line-height:1.35!important;
    margin-bottom:8px!important;
  }
  .summary-row{
    font-size:13px!important;
    margin:7px 0!important;
  }
  .summary-row strong{
    font-size:18px!important;
  }
  .benefit-list div{
    font-size:12px!important;
    margin:5px 0!important;
  }
  .yellow-box{
    min-height:48px!important;
    padding:8px!important;
    border-width:1px!important;
  }
  .yellow-box strong,
  .yellow-box.small strong{
    font-size:22px!important;
  }
  .panel{
    padding:12px 10px!important;
    border-radius:10px!important;
  }
  .panel h2{
    font-size:15px!important;
    margin:0 0 8px!important;
  }
  .form-grid,
  .form-grid.compact,
  .options-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  label{
    font-size:12px!important;
  }
  input,
  select,
  textarea{
    width:100%!important;
    max-width:100%!important;
    height:34px!important;
    font-size:13px!important;
    box-sizing:border-box!important;
  }
  .table-wrap{
    width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    border:1px solid #e5e7eb!important;
    border-radius:8px!important;
  }
  .quote-table{
    width:max-content!important;
    min-width:920px!important;
    table-layout:auto!important;
    font-size:12px!important;
  }
  .quote-table th,
  .quote-table td{
    padding:5px!important;
    white-space:nowrap!important;
  }
  .quote-table input,
  .quote-table select{
    height:30px!important;
    font-size:12px!important;
  }
  .quote-table .col-model input,
  .model-input{
    min-width:180px!important;
  }
  .table-actions{
    display:flex!important;
    gap:6px!important;
    margin-top:8px!important;
  }
  .table-actions .btn{
    flex:1!important;
    height:34px!important;
    font-size:12px!important;
  }
  .cash-card-manual-add{
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .promo-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .promo-grid > div{
    min-height:auto!important;
    padding:10px!important;
  }
  .promo-grid b{
    font-size:18px!important;
  }
  .admin-modal,
  .user-login-gate{
    padding:12px!important;
  }
  .admin-panel,
  .admin-login-panel,
  .user-login-card,
  .quote-list-panel{
    width:96vw!important;
    max-width:96vw!important;
    max-height:90vh!important;
    overflow:auto!important;
  }
}
@media (max-width: 420px){
  .v1-main-title{
    font-size:13px!important;
  }
  .v1-actions{
    grid-template-columns:repeat(3, 1fr)!important;
  }
  .summary-row strong{
    font-size:16px!important;
  }
  .yellow-box strong{
    font-size:20px!important;
  }
}

/* Customer tab */
.v1-view-tabs{display:flex;align-items:center;gap:6px;margin-right:10px}
.view-tab{height:34px;padding:0 14px;border:1px solid #d1d5db;border-radius:9px;background:#fff;color:#111827;font-weight:900;cursor:pointer}
.view-tab.active{background:#111827;color:#fff;border-color:#111827}
.hidden{display:none!important}
.customer-view{width:100%;padding:18px;background:#f5f7fb;box-sizing:border-box}
.customer-sheet{max-width:1180px;margin:0 auto;background:#fff;border:2px solid #111;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.customer-title-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#dedbc7;border-bottom:2px solid #111}
.customer-brand-title{font-size:30px;font-weight:900;letter-spacing:-1.2px;color:#000}
.customer-version{background:#111827;color:#fff;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:900}
.customer-info-grid{display:grid;grid-template-columns:1fr 1fr 2fr 1.3fr;border-bottom:2px solid #111}
.customer-basic-grid{display:grid;grid-template-columns:1fr 1.3fr 2fr 1.1fr;border-bottom:2px solid #111}
.customer-info-grid>div,.customer-basic-grid>div{display:flex;align-items:center;min-height:42px;border-right:1px solid #111}
.customer-info-grid>div:last-child,.customer-basic-grid>div:last-child{border-right:0}
.customer-info-grid span,.customer-basic-grid span{min-width:86px;height:100%;display:flex;align-items:center;justify-content:center;background:#dedbc7;border-right:1px solid #111;font-weight:900}
.customer-info-grid b,.customer-basic-grid b{flex:1;text-align:center;padding:0 10px;font-weight:900}
.customer-basic-grid .wide b{text-align:left}
.customer-main-grid{display:grid;grid-template-columns:270px 1fr;border-bottom:2px solid #111}
.customer-summary{padding:16px 14px;border-right:2px solid #111}
.customer-greeting{min-height:84px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;font-size:20px;font-weight:900;line-height:1.45}
.customer-line{border-top:3px solid #111;margin:14px 0}
.c-row{display:flex;justify-content:space-between;align-items:center;margin:8px 0;font-weight:900}
.c-row.major b{font-size:26px}
.c-detail{display:flex;justify-content:space-between;align-items:center;font-size:14px;margin:7px 0;font-weight:800}
.c-final-box{margin-top:12px;min-height:58px;border:2px solid #111;background:#fff200;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;box-sizing:border-box}
.c-final-box span{font-weight:900}.c-final-box b{color:#e60012;font-size:28px;font-weight:900}.c-final-box.small b{font-size:26px}
.customer-products{padding:14px;position:relative}.customer-table-logo{font-size:13px;font-weight:900;color:#777;margin:0 0 4px}
.customer-product-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}
.customer-product-table th{background:#dedbc7;border:1px solid #999;padding:8px 6px;font-weight:900}
.customer-product-table td{border:1px solid #aaa;padding:7px 6px;height:28px;text-align:center;font-weight:800}
.customer-product-table td.model{text-align:left;font-size:13px}.customer-product-table tr:nth-child(even) td{background:#efede1}
.customer-membership{text-align:right;margin-top:10px;font-weight:900}
.customer-bottom-grid{display:grid;grid-template-columns:1fr 1fr;border-bottom:2px solid #111}
.customer-description{border-right:2px solid #111}
.customer-description h2,.customer-care h2{margin:0;padding:16px;background:#dedbc7;border-bottom:2px solid #111;text-align:center;font-size:26px;font-weight:900;letter-spacing:2px}
.customer-description table,.customer-care table{width:100%;border-collapse:collapse}
.customer-description th,.customer-description td,.customer-care th,.customer-care td{border:1px solid #aaa;padding:12px 10px;font-size:14px;line-height:1.35}
.customer-description th,.customer-care th{width:120px;background:#efede1;font-size:16px;font-weight:900}
.care-total{display:flex;align-items:center;justify-content:space-between;min-height:68px;padding:14px 20px;background:#dedbc7;border-top:2px solid #111}
.care-total span{font-size:25px;font-weight:900}.care-total b{color:#d90429;font-size:28px;font-weight:900}
.customer-notice{padding:12px 18px;font-size:13px;color:#334155;font-weight:800}

.customer-title-bar{
  min-height:56px!important;
  padding:10px 14px!important;
}
.customer-brand-title{
  font-size:26px!important;
  line-height:1.1!important;
}
.customer-info-grid{
  grid-template-columns:90px 165px 90px 155px 90px 1.8fr 100px 160px!important;
  display:grid!important;
}
.customer-info-grid>div,
.customer-basic-grid>div{
  min-height:44px!important;
  border-right:1px solid #111!important;
}
.customer-info-grid span,
.customer-basic-grid span{
  min-width:72px!important;
  width:72px!important;
  padding:0 4px!important;
  font-size:14px!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
.customer-info-grid b,
.customer-basic-grid b{
  font-size:14px!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.2!important;
}
#cQuoteDate,
#cDeliveryDate{
  font-size:13px!important;
  letter-spacing:-.6px!important;
}
.customer-basic-grid{
  grid-template-columns:90px 165px 90px 155px 90px 1.8fr 100px 160px!important;
  display:grid!important;
}
.customer-basic-grid .wide b{
  text-align:left!important;
}
.customer-main-grid{
  grid-template-columns:290px 1fr!important;
}
.customer-summary{
  padding:14px 16px!important;
}
.customer-products{
  padding:14px 16px!important;
}
.customer-product-table{
  table-layout:fixed!important;
  font-size:13px!important;
}
.customer-product-table th:nth-child(1),
.customer-product-table td:nth-child(1){
  width:48px!important;
}
.customer-product-table th:nth-child(2),
.customer-product-table td:nth-child(2){
  width:86px!important;
}
.customer-product-table th:nth-child(3),
.customer-product-table td:nth-child(3){
  width:135px!important;
}
.customer-product-table th:nth-child(4),
.customer-product-table td:nth-child(4){
  width:210px!important;
}
.customer-product-table th:nth-child(5),
.customer-product-table td:nth-child(5){
  width:auto!important;
}
.customer-product-table th,
.customer-product-table td{
  padding:6px 5px!important;
  height:30px!important;
}
.customer-product-table td.model{
  text-align:center!important;
  font-size:12px!important;
  font-weight:900!important;
  word-break:break-all!important;
}
.customer-product-table td.note-cell{
  text-align:center!important;
  line-height:1.25!important;
  font-size:12px!important;
  word-break:keep-all!important;
}
.row-note-input{
  min-width:160px!important;
  width:100%!important;
  height:30px!important;
  font-size:12px!important;
}
.quote-table th:last-child,
.quote-table td:last-child{
  width:44px!important;
}
@media(max-width:768px){
  .customer-info-grid,
  .customer-basic-grid{
    grid-template-columns:1fr!important;
  }
  .customer-info-grid>div,
  .customer-basic-grid>div{
    border-right:0!important;
    border-bottom:1px solid #111!important;
  }
  .customer-info-grid span,
  .customer-basic-grid span{
    width:90px!important;
    min-width:90px!important;
  }
  .customer-product-table{
    min-width:820px!important;
  }
}

.customer-note-editor{
  width:100%;
  min-height:42px;
  border:0;
  background:transparent;
  resize:vertical;
  font-size:12px;
  line-height:1.3;
  font-weight:700;
  padding:4px;
  box-sizing:border-box;
  font-family:inherit;
}
.customer-note-editor:focus{
  outline:1px solid #111827;
  background:#fff;
}

/* 고객용 비고 직접입력 보정 */
.col-note{min-width:180px!important}
.row-note-input{
  min-width:160px!important;
  width:100%!important;
  height:30px!important;
  font-size:12px!important;
  box-sizing:border-box!important;
}
.customer-note-editor{
  width:100%!important;
  min-height:42px!important;
  border:0!important;
  background:transparent!important;
  resize:vertical!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:800!important;
  padding:4px!important;
  box-sizing:border-box!important;
  font-family:inherit!important;
  text-align:center!important;
}
.customer-note-editor:focus{
  outline:1px solid #111827!important;
  background:#fff!important;
}
.customer-product-table td.note-cell{
  padding:2px!important;
  vertical-align:middle!important;
}

/* 고객용 상단 기본정보/고객정보 테이블 정렬 보정 */
.customer-info-grid,
.customer-basic-grid{
  display:none!important;
}
.customer-info-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  border-bottom:2px solid #111;
}
.customer-info-table th,
.customer-info-table td{
  border:1px solid #111;
  height:42px;
  padding:4px 8px;
  box-sizing:border-box;
  vertical-align:middle;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.customer-info-table th{
  width:84px;
  background:#dedbc7;
  font-size:14px;
  font-weight:900;
  text-align:center;
}
.customer-info-table td{
  font-size:14px;
  font-weight:900;
  text-align:center;
}
.customer-info-table td#cBranch{
  width:300px;
}
.customer-info-table td#cMemo{
  text-align:left;
}
#cQuoteDate,
#cDeliveryDate{
  font-size:13px!important;
  letter-spacing:-0.6px!important;
}
@media(max-width:768px){
  .customer-info-table,
  .customer-info-table tbody,
  .customer-info-table tr,
  .customer-info-table th,
  .customer-info-table td{
    display:block;
    width:100%!important;
  }
  .customer-info-table tr{
    border-bottom:1px solid #111;
  }
  .customer-info-table th{
    height:28px;
    line-height:20px;
    border-bottom:0;
  }
  .customer-info-table td{
    height:36px;
    border-top:0;
  }
}

/* 최종 점검 보정: 고객용 상단 표/선납 오류 수정본 */
.customer-info-table{
  width:100%!important;
  border-collapse:collapse!important;
  table-layout:fixed!important;
  border-bottom:2px solid #111!important;
}
.customer-info-table col.c-label{width:72px!important}
.customer-info-table col.c-date{width:168px!important}
.customer-info-table col.c-manager{width:130px!important}
.customer-info-table col.c-branch{width:auto!important}
.customer-info-table th,
.customer-info-table td{
  display:table-cell!important;
  border:1px solid #111!important;
  height:42px!important;
  padding:4px 8px!important;
  box-sizing:border-box!important;
  vertical-align:middle!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  line-height:1.15!important;
}
.customer-info-table th{
  background:#dedbc7!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:center!important;
}
.customer-info-table td{
  background:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:center!important;
}
#cBranch{
  font-size:12px!important;
  letter-spacing:-.4px!important;
}
#cMemo{
  text-align:left!important;
}
#cQuoteDate,
#cDeliveryDate{
  font-size:12px!important;
  letter-spacing:-.7px!important;
}
@media(max-width:768px){
  .customer-info-table col{width:auto!important}
  .customer-info-table,
  .customer-info-table tbody{
    display:table!important;
    width:100%!important;
  }
  .customer-info-table tr{
    display:grid!important;
    grid-template-columns:76px 1fr!important;
    border-bottom:0!important;
  }
  .customer-info-table th,
  .customer-info-table td{
    display:block!important;
    width:auto!important;
    min-height:34px!important;
    height:auto!important;
  }
  .customer-info-table th{
    border-right:1px solid #111!important;
  }
}


/* 구형 고객정보 영역 완전 제거 */
.customer-info-grid,
.customer-basic-grid,
.customer-info-row,
.customer-basic-row{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  overflow:hidden !important;
}

/* 고객용 상단 잔여 텍스트 방어 */
.customer-sheet > .customer-info-grid,
.customer-sheet > .customer-basic-grid{
  display:none!important;
}

/* 고객용 상단 정보표 최종 고정 */
.customer-info-table{
  width:100%!important;
  border-collapse:collapse!important;
  table-layout:fixed!important;
  border-bottom:2px solid #111!important;
}
.customer-info-table col.c-label{width:72px!important}
.customer-info-table col.c-date{width:170px!important}
.customer-info-table col.c-manager{width:135px!important}
.customer-info-table col.c-branch-label{width:72px!important}
.customer-info-table col.c-branch{width:auto!important}
.customer-info-table th,
.customer-info-table td{
  display:table-cell!important;
  border:1px solid #111!important;
  height:42px!important;
  padding:4px 8px!important;
  box-sizing:border-box!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  vertical-align:middle!important;
  line-height:1.15!important;
}
.customer-info-table th{
  background:#dedbc7!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:center!important;
}
.customer-info-table td{
  background:#fff!important;
  font-size:13px!important;
  font-weight:900!important;
  text-align:center!important;
}
#cBranch{font-size:12px!important;letter-spacing:-.4px!important}
#cMemo{text-align:left!important}
#cQuoteDate,#cDeliveryDate{font-size:12px!important;letter-spacing:-.7px!important}

/* Emergency customer layout reset */
#customerView.customer-view{width:100%!important;padding:18px!important;background:#f5f7fb!important;box-sizing:border-box!important;display:block}
#customerView.hidden{display:none!important}
.customer-sheet{width:1180px!important;max-width:calc(100vw - 36px)!important;margin:0 auto!important;background:#fff!important;border:2px solid #111!important;box-shadow:0 8px 24px rgba(15,23,42,.08)!important;display:block!important}
.customer-title-bar{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:54px!important;padding:10px 14px!important;background:#dedbc7!important;border-bottom:2px solid #111!important;box-sizing:border-box!important}
.customer-brand-title{font-size:24px!important;line-height:1.15!important;font-weight:900!important}
.customer-version{flex:0 0 auto!important;background:#111827!important;color:#fff!important;border-radius:999px!important;padding:6px 12px!important;font-size:12px!important;font-weight:900!important}
.customer-info-table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important;display:table!important}
.customer-info-table col.ci-label{width:76px!important}.customer-info-table col.ci-date{width:170px!important}.customer-info-table col.ci-manager{width:150px!important}.customer-info-table col.ci-branch{width:auto!important}
.customer-info-table th,.customer-info-table td{display:table-cell!important;border:1px solid #111!important;height:42px!important;padding:4px 8px!important;vertical-align:middle!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:13px!important;line-height:1.15!important;box-sizing:border-box!important}
.customer-info-table th{background:#dedbc7!important;font-weight:900!important}.customer-info-table td{background:#fff!important;font-weight:900!important}
.customer-main-grid{display:grid!important;grid-template-columns:290px 1fr!important;align-items:stretch!important;border-top:1px solid #111!important;border-bottom:2px solid #111!important}
.customer-summary{display:block!important;padding:14px 16px!important;border-right:2px solid #111!important;background:#fff!important}
.customer-products{display:block!important;padding:14px 16px!important;background:#fff!important;overflow:hidden!important}
.customer-product-table{width:100%!important;border-collapse:collapse!important;table-layout:fixed!important}
.customer-product-table th:nth-child(1),.customer-product-table td:nth-child(1){width:50px!important}.customer-product-table th:nth-child(2),.customer-product-table td:nth-child(2){width:86px!important}.customer-product-table th:nth-child(3),.customer-product-table td:nth-child(3){width:135px!important}.customer-product-table th:nth-child(4),.customer-product-table td:nth-child(4){width:220px!important}.customer-product-table th:nth-child(5),.customer-product-table td:nth-child(5){width:auto!important}
.customer-product-table th,.customer-product-table td{border:1px solid #aaa!important;padding:6px 5px!important;text-align:center!important;vertical-align:middle!important;font-size:13px!important}
.customer-product-table th{background:#dedbc7!important;font-weight:900!important}.customer-product-table tr:nth-child(even) td{background:#efede1!important}
.customer-bottom-grid{display:grid!important;grid-template-columns:1fr 1fr!important;border-bottom:2px solid #111!important}.customer-description{border-right:2px solid #111!important}
.customer-note-editor{width:100%!important;min-height:34px!important;border:0!important;background:transparent!important;resize:vertical!important;text-align:center!important;font:inherit!important;font-size:12px!important;font-weight:800!important;box-sizing:border-box!important}.customer-note-editor:focus{outline:1px solid #111827!important;background:#fff!important}
.customer-base-row{display:flex!important;justify-content:space-between!important;align-items:center!important;border-top:1px solid #111!important;margin-top:12px!important;padding-top:10px!important;font-weight:900!important}.customer-base-row b{font-size:20px!important}
@media(max-width:768px){.customer-sheet{width:100%!important;max-width:100%!important}.customer-info-table,.customer-info-table tbody{display:table!important;width:100%!important}.customer-info-table tr{display:grid!important;grid-template-columns:90px 1fr!important}.customer-info-table th,.customer-info-table td{display:block!important;width:auto!important}.customer-main-grid,.customer-bottom-grid{grid-template-columns:1fr!important}.customer-summary{border-right:0!important;border-bottom:2px solid #111!important}.customer-products{overflow-x:auto!important}.customer-product-table{min-width:820px!important}}

/* Requested final visual adjustments */
.customer-base-row{display:none!important}
#cMemo{text-align:center!important}
.customer-info-table .valid-label,
.customer-info-table th{font-size:15px!important;letter-spacing:-0.3px!important}
.customer-info-table th,.customer-info-table td{
  height:48px!important;
  font-size:15px!important;
  padding:5px 8px!important;
}
.customer-info-table col.ci-label{width:88px!important}
.customer-info-table col.ci-date{width:175px!important}
.customer-info-table col.ci-manager{width:155px!important}
.customer-info-table col.ci-branch{width:auto!important}
.customer-valid-input{
  width:100%!important;
  height:34px!important;
  border:0!important;
  background:transparent!important;
  text-align:center!important;
  font-weight:900!important;
  font-size:15px!important;
  font-family:inherit!important;
  padding:0!important;
}
.customer-valid-input:focus{
  outline:1px solid #111827!important;
  background:#fff!important;
}
body,input,select,textarea,button{
  font-size:15px!important;
}
.customer-brand-title{font-size:28px!important}
.customer-summary{font-size:15px!important}
.c-row.major b{font-size:28px!important}
.c-detail{font-size:15px!important}
.c-final-box b{font-size:34px!important}
.customer-product-table th,.customer-product-table td{
  font-size:14px!important;
  padding:8px 6px!important;
}
.customer-description h2,.customer-care h2{font-size:25px!important}
.customer-description th,.customer-description td,.customer-care th,.customer-care td{font-size:15px!important}
.customer-note-editor{
  min-height:42px!important;
  font-size:14px!important;
}
.row-note-input{
  min-width:160px!important;
}

/* Requested verified adjustments */
.customer-base-row{display:none!important}
.customer-final-label{display:none!important}
#cMemo{text-align:center!important}
.customer-info-table th,.customer-info-table td{
  height:50px!important;
  font-size:16px!important;
  padding:5px 8px!important;
}
.customer-info-table .valid-label{
  font-size:14px!important;
  letter-spacing:-0.9px!important;
  white-space:normal!important;
  line-height:1.1!important;
}
.customer-info-table col.ci-label{width:94px!important}
.customer-info-table col.ci-date{width:178px!important}
.customer-info-table col.ci-manager{width:160px!important}
.customer-info-table col.ci-branch{width:auto!important}
#cBranch{
  font-size:16px!important;
  letter-spacing:-0.2px!important;
}
.customer-valid-input{
  width:100%!important;
  height:36px!important;
  border:0!important;
  background:transparent!important;
  text-align:center!important;
  font-weight:900!important;
  font-size:16px!important;
  font-family:inherit!important;
  padding:0!important;
}
.customer-valid-input:focus{
  outline:1px solid #111827!important;
  background:#fff!important;
}
body,input,select,textarea,button{
  font-size:15px!important;
}
.customer-brand-title{font-size:28px!important}
.customer-summary{font-size:15px!important}
.c-row.major b{font-size:29px!important}
.c-detail{font-size:15px!important}
.c-final-box b{font-size:35px!important}
.customer-product-table th,.customer-product-table td{
  font-size:15px!important;
  padding:8px 6px!important;
}
.customer-product-table td.model{
  font-size:16px!important;
  font-weight:900!important;
  letter-spacing:-0.2px!important;
}
.customer-description h2,.customer-care h2{font-size:25px!important}
.customer-description th,.customer-description td,.customer-care th,.customer-care td{font-size:15px!important}
.customer-note-editor{
  min-height:42px!important;
  font-size:14px!important;
}
.row-note-input{min-width:160px!important}


/* Care setting modal */
.modal-hidden-col{display:none!important}
.col-care-setting{width:96px!important}
.care-setting-btn{
  min-width:74px;height:34px;border-radius:8px;border:1px solid #cbd5e1;
  font-weight:900;cursor:pointer;background:#f8fafc;color:#334155;
}
.care-setting-btn.need{background:#c8102e;color:#fff;border-color:#c8102e}
.care-setting-btn.done{background:#e5e7eb;color:#111827;border-color:#cbd5e1}
.care-setting-btn.off{background:#fff;color:#64748b}
.care-modal{
  position:fixed;inset:0;z-index:3000;background:rgba(15,23,42,.42);
  display:flex;align-items:center;justify-content:center;padding:20px;
}
.care-modal.hidden{display:none!important}
.care-modal-panel{
  width:min(920px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;
  border:1px solid #d1d5db;box-shadow:0 22px 60px rgba(15,23,42,.28);
}
.care-modal-head{
  display:flex;align-items:center;justify-content:space-between;padding:20px 24px;
  border-bottom:1px solid #e5e7eb;
}
.care-modal-head h2{margin:0;font-size:24px;font-weight:900}
.care-modal-x{border:0;background:#fff;font-size:34px;line-height:1;cursor:pointer;color:#111827}
.care-modal-info{
  display:grid;grid-template-columns:1fr 2fr;margin:16px 24px;border:1px solid #d1d5db;border-radius:8px;overflow:hidden;
}
.care-modal-info div{display:grid;grid-template-columns:90px 1fr;min-height:48px}
.care-modal-info span{background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-weight:900;border-right:1px solid #d1d5db}
.care-modal-info b{display:flex;align-items:center;padding:0 18px;font-size:16px}
.care-modal-body{display:grid;grid-template-columns:1fr 330px;gap:28px;padding:4px 24px 18px}
.care-step{margin:18px 0}
.care-step h3{display:flex;align-items:center;gap:8px;font-size:17px;margin:0 0 10px;font-weight:900}
.care-step h3 span,.care-step.two-col b{
  display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#c8102e;color:#fff;font-size:13px;font-weight:900;margin-right:6px;
}
.pill-row{display:flex;gap:10px;flex-wrap:wrap}
.care-pill{display:inline-flex;align-items:center;gap:8px;min-width:110px;height:44px;padding:0 14px;border:1px solid #d1d5db;border-radius:8px;cursor:pointer;font-weight:900;background:#fff}
.care-pill input{width:16px;height:16px;accent-color:#c8102e}
.care-pill.active{border-color:#c8102e;background:#fff7f8;color:#c8102e}
.care-step.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.care-step.two-col label{font-weight:900}
.care-step.two-col select{margin-top:8px;width:100%;height:42px;border:1px solid #d1d5db;border-radius:8px;padding:0 12px;font-weight:900}
.care-prepay-line{display:flex;align-items:center;gap:8px;font-weight:900}
.care-prepay-line input{width:20px;height:20px;accent-color:#c8102e}
.care-prepay-line em{font-style:normal;color:#64748b;font-size:13px}
.care-calc-card{border:1px solid #d1d5db;border-radius:12px;padding:22px;background:#fff}
.care-calc-card h3{margin:0 0 18px;font-size:18px}
.care-calc-card h3 small{font-size:13px;color:#64748b}
.care-calc-card div{display:flex;justify-content:space-between;align-items:center;margin:14px 0;font-weight:900}
.care-calc-card b{font-size:17px}
.care-calc-card div:not(.care-final) b{color:#c8102e}
.care-calc-card hr{border:0;border-top:1px solid #cbd5e1;margin:18px 0}
.care-final b{font-size:30px!important;color:#c8102e!important}
.care-modal-note{margin:0 24px 18px;padding:14px 16px;border:1px solid #d1d5db;border-radius:8px;background:#f8fafc;color:#475569}
.care-modal-actions{display:flex;justify-content:center;gap:18px;padding:0 24px 24px}
.care-modal-actions .btn{width:180px;height:44px;font-size:16px;font-weight:900}
@media(max-width:900px){
  .care-modal-body{grid-template-columns:1fr}
  .care-modal-info{grid-template-columns:1fr}
}

/* 선납 30/50 및 비고 제거 보정 */
.col-note,.row-note-input{display:none!important}
.customer-product-table th:nth-child(1),.customer-product-table td:nth-child(1){width:54px!important}
.customer-product-table th:nth-child(2),.customer-product-table td:nth-child(2){width:92px!important}
.customer-product-table th:nth-child(3),.customer-product-table td:nth-child(3){width:150px!important}
.customer-product-table th:nth-child(4),.customer-product-table td:nth-child(4){width:auto!important}
.customer-product-table td.model{font-size:16px!important;font-weight:900!important}
.quote-table .col-model,.quote-table td.col-model{min-width:260px!important}
.quote-table .model-input{font-size:14px!important;font-weight:800!important}
.prepay-pill-row{display:flex;gap:10px;flex-wrap:wrap}
.prepay-pill{min-width:120px}

/* Restore consult table layout like wide full table */
.quote-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
.quote-table th,
.quote-table td{
  font-size:13px!important;
  padding:7px 6px!important;
  line-height:1.2!important;
  vertical-align:middle!important;
  text-align:center!important;
}
.quote-table input,
.quote-table select,
.quote-table button{
  height:34px!important;
  font-size:13px!important;
  font-weight:800!important;
  box-sizing:border-box!important;
}
.quote-table .category{
  width:100%!important;
  font-size:14px!important;
  font-weight:900!important;
  text-align:center!important;
}
.quote-table .model-input{
  width:100%!important;
  font-size:13px!important;
  font-weight:900!important;
}
.quote-table .col-no{width:44px!important}
.quote-table .col-wedding{width:78px!important}
.quote-table .col-sub{width:62px!important}
.quote-table .col-cat{width:120px!important}
.quote-table .col-model{width:260px!important}
.quote-table .col-reg{width:150px!important}
.quote-table .col-fee{width:150px!important}
.quote-table .col-point{width:120px!important}
.quote-table .col-cashback{width:120px!important}
.quote-table .col-care-setting{width:110px!important}
.quote-table .col-action{width:60px!important}
.modal-hidden-col{display:none!important}

/* Customer note restored */
.customer-product-table th:nth-child(1),.customer-product-table td:nth-child(1){width:54px!important}
.customer-product-table th:nth-child(2),.customer-product-table td:nth-child(2){width:90px!important}
.customer-product-table th:nth-child(3),.customer-product-table td:nth-child(3){width:140px!important}
.customer-product-table th:nth-child(4),.customer-product-table td:nth-child(4){width:230px!important}
.customer-product-table th:nth-child(5),.customer-product-table td:nth-child(5){width:auto!important}
.customer-product-table td.model{
  font-size:10pt!important;
  font-weight:900!important;
  word-break:break-all!important;
}
.customer-note-editor{
  width:100%!important;
  min-height:34px!important;
  border:0!important;
  background:transparent!important;
  resize:vertical!important;
  font-size:10pt!important;
  font-weight:800!important;
  text-align:center!important;
  box-sizing:border-box!important;
}
.customer-note-editor:focus{outline:1px solid #111827!important;background:#fff!important}

/* Prepay display and customer overflow */
.customer-sheet{overflow:hidden!important;box-sizing:border-box!important}
.customer-final-benefit-box{justify-content:flex-end!important}
.customer-final-benefit-box .customer-final-label{display:none!important}
.customer-final-benefit-box b,#cFinalBenefit{margin-left:auto!important;text-align:right!important;width:100%!important;display:block!important}
.prepay-pay-row b{color:#111827!important}
#cMemo{text-align:center!important}

/* FINAL REPAIR CSS */
.user-login-gate{position:fixed!important;inset:0!important;z-index:9000!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#111827!important;padding:20px!important;box-sizing:border-box!important}
.user-login-gate.hidden{display:none!important}
.user-login-card{width:360px!important;max-width:calc(100vw - 40px)!important;background:#fff!important;border-radius:16px!important;padding:28px!important;box-shadow:0 18px 48px rgba(0,0,0,.28)!important;box-sizing:border-box!important}
.user-login-card h1{margin:0 0 12px!important;font-size:20px!important;font-weight:900!important;color:#0f172a!important}
.user-login-card p{margin:0 0 18px!important;color:#475569!important;font-weight:800!important}
.user-login-card label{display:block!important;margin:12px 0 6px!important;font-weight:900!important;color:#111827!important}
.user-login-card input{width:100%!important;height:42px!important;border:1px solid #cbd5e1!important;border-radius:10px!important;padding:0 12px!important;box-sizing:border-box!important;font-size:14px!important}
#userLoginBtn{width:100%!important;height:44px!important;margin-top:14px!important;border:0!important;border-radius:10px!important;background:#c8102e!important;color:#fff!important;font-weight:900!important;cursor:pointer!important}
#openPwChangeBtn{width:100%!important;height:42px!important;margin-top:10px!important;border-radius:10px!important;border:1px solid #cbd5e1!important;background:#fff!important;color:#111827!important;font-weight:900!important;cursor:pointer!important}
#pwChangeModal{z-index:99999!important}.login-locked > :not(#userLoginGate):not(#pwChangeModal){pointer-events:none!important}
.hidden{display:none!important}
.inshop-base-row.hidden,#ac3PromoCard.hidden{display:none!important}
#printBtn,#printBtn:disabled{opacity:1!important;cursor:pointer!important;pointer-events:auto!important}
.logout-btn{position:static!important;margin-left:4px!important;background:#111827!important;color:#fff!important;border-color:#111827!important}


/* FINAL LAYOUT REPAIR: 상담용 grid 복구 */
#consultView.layout{
  display:grid!important;
  grid-template-columns:330px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  padding:16px!important;
  box-sizing:border-box!important;
}
#consultView.layout.hidden{
  display:none!important;
}
#customerView.customer-view{
  display:block!important;
}
#customerView.customer-view.hidden{
  display:none!important;
}
.summary-card{
  width:100%!important;
  max-width:330px!important;
  box-sizing:border-box!important;
  align-self:start!important;
}
.workspace{
  min-width:0!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.workspace .panel{
  width:100%!important;
  box-sizing:border-box!important;
}
.table-wrap{
  width:100%!important;
  overflow-x:auto!important;
  box-sizing:border-box!important;
}
.quote-table{
  width:100%!important;
  min-width:1180px!important;
}
@media(max-width:900px){
  #consultView.layout{
    grid-template-columns:1fr!important;
  }
  .summary-card{
    max-width:100%!important;
  }
}

/* Print visible customer view as-is, fitted to A4 */
@media print{
  @page{size:A4 portrait;margin:5mm}
  html,body{
    margin:0!important;
    padding:0!important;
    background:#fff!important;
    overflow:visible!important;
  }
  body *{visibility:hidden!important}
  #customerView,#customerView *{visibility:visible!important}
  #consultView,.v1-header,#userLoginGate,#pwChangeModal,#careModal,.admin-modal,#logoutBtn{display:none!important}
  #customerView{
    display:block!important;
    position:absolute!important;
    left:0!important;
    top:0!important;
    width:200mm!important;
    padding:0!important;
    margin:0!important;
    background:#fff!important;
    overflow:visible!important;
  }
  #customerView.hidden{display:block!important}
  .customer-sheet{
    width:1180px!important;
    max-width:1180px!important;
    transform-origin:top left!important;
    transform:scale(0.63)!important;
    margin:0!important;
    box-shadow:none!important;
    border:2px solid #111!important;
  }
}
.prepay-pay-row b,#prepayPayTotal{
  color:#111827!important;
}

/* CUSTOMER TAB DIRECT A4 PRINT */
@media print{
  @page{size:A4 portrait;margin:4mm}
  html,body{
    width:202mm!important;height:289mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;
    -webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;
  }
  body *{visibility:hidden!important}
  #customerView,#customerView *{visibility:visible!important}
  .v1-header,#consultView,#userLoginGate,#pwChangeModal,#careModal,.admin-modal,#logoutBtn{display:none!important}
  #customerView,#customerView.hidden{
    display:block!important;position:absolute!important;left:0!important;top:0!important;width:202mm!important;height:289mm!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;
  }
  .customer-sheet{
    width:202mm!important;height:289mm!important;max-width:202mm!important;margin:0!important;padding:0!important;border:1.2px solid #111!important;box-shadow:none!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;transform:none!important;zoom:1!important;
  }
  .customer-title-bar{
    height:12mm!important;min-height:12mm!important;padding:0 4mm!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#dedbc7!important;border-bottom:1.2px solid #111!important;box-sizing:border-box!important;
  }
  .customer-brand-title{font-size:13pt!important;line-height:1!important;font-weight:900!important}
  .customer-version{font-size:7.5pt!important;padding:1.2mm 2.5mm!important}
  .customer-info-table{display:table!important;width:100%!important;height:18mm!important;table-layout:fixed!important;border-collapse:collapse!important}
  .customer-info-table tbody{display:table-row-group!important}
  .customer-info-table tr{display:table-row!important}
  .customer-info-table th,.customer-info-table td{
    display:table-cell!important;height:9mm!important;border:1px solid #111!important;padding:1mm!important;vertical-align:middle!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:7.5pt!important;line-height:1!important;box-sizing:border-box!important;
  }
  .customer-info-table th{background:#dedbc7!important;font-weight:900!important}
  .customer-info-table td{background:#fff!important;font-weight:800!important}
  .customer-valid-input{width:100%!important;height:6mm!important;border:0!important;background:transparent!important;text-align:center!important;font-size:7.5pt!important;font-weight:900!important;padding:0!important}
  .customer-main-grid{display:grid!important;grid-template-columns:48mm 1fr!important;width:100%!important;height:158mm!important;border-top:0!important;border-bottom:1.2px solid #111!important;box-sizing:border-box!important}
  .customer-summary{width:48mm!important;height:158mm!important;padding:3mm!important;border-right:1.2px solid #111!important;box-sizing:border-box!important;overflow:hidden!important}
  .customer-greeting{min-height:22mm!important;font-size:10.5pt!important;line-height:1.35!important;text-align:center!important;font-weight:900!important;display:block!important}
  .customer-line{border-top:1.2px solid #111!important;margin:3mm 0!important}
  .c-row.major{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:2mm 0!important;font-weight:900!important}
  .c-row.major span{font-size:8pt!important}.c-row.major b{font-size:15pt!important}
  .c-detail{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:1mm 0!important;font-size:7.2pt!important;line-height:1!important;font-weight:900!important}
  .c-detail b{font-size:7.2pt!important}
  .c-final-box{min-height:12mm!important;margin:3mm 0!important;padding:1.5mm 2mm!important;background:#fff200!important;border:1.2px solid #111!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;box-sizing:border-box!important}
  .c-final-box span{font-size:8pt!important;font-weight:900!important}.c-final-box b{font-size:17pt!important;color:red!important;font-weight:900!important}.c-final-box.small{justify-content:space-between!important}
  .customer-products{height:158mm!important;padding:3mm!important;box-sizing:border-box!important;overflow:hidden!important}
  .customer-table-logo{height:5mm!important;font-size:7.2pt!important;color:#64748b!important;font-weight:700!important}
  .customer-product-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
  .customer-product-table th,.customer-product-table td{
    height:5.35mm!important;min-height:5.35mm!important;max-height:5.35mm!important;border:1px solid #999!important;padding:.6mm!important;text-align:center!important;vertical-align:middle!important;font-size:7.1pt!important;line-height:1!important;overflow:hidden!important;box-sizing:border-box!important;
  }
  .customer-product-table th{background:#dedbc7!important;font-weight:900!important}
  .customer-product-table tr:nth-child(even) td{background:#efede1!important}
  .customer-product-table th:nth-child(1),.customer-product-table td:nth-child(1){width:9mm!important}
  .customer-product-table th:nth-child(2),.customer-product-table td:nth-child(2){width:18mm!important}
  .customer-product-table th:nth-child(3),.customer-product-table td:nth-child(3){width:26mm!important}
  .customer-product-table th:nth-child(4),.customer-product-table td:nth-child(4){width:43mm!important}
  .customer-product-table td.model{font-size:6.7pt!important;font-weight:900!important;word-break:break-all!important}
  .customer-note-editor{width:100%!important;height:4.5mm!important;min-height:4.5mm!important;border:0!important;background:transparent!important;resize:none!important;overflow:hidden!important;font-size:6.7pt!important;line-height:1!important;text-align:center!important;padding:0!important}
  .customer-membership{text-align:right!important;font-size:7pt!important;font-weight:900!important;margin-top:1mm!important}
  .customer-bottom-grid{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;height:82mm!important;margin:0!important;border-bottom:1.2px solid #111!important;box-sizing:border-box!important;page-break-inside:avoid!important;break-inside:avoid!important}
  .customer-description{border-right:1.2px solid #111!important;box-sizing:border-box!important}
  .customer-description h2,.customer-care h2{margin:0!important;padding:2mm!important;background:#dedbc7!important;border-bottom:1px solid #111!important;text-align:center!important;font-size:10.5pt!important;line-height:1!important;font-weight:900!important}
  .customer-description table,.customer-care table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
  .customer-description th,.customer-description td,.customer-care th,.customer-care td{
    border:1px solid #999!important;padding:1mm 1.2mm!important;vertical-align:middle!important;font-size:6.5pt!important;line-height:1.2!important;word-break:keep-all!important;box-sizing:border-box!important;
  }
  .customer-description th,.customer-care th{width:23mm!important;text-align:center!important;background:#fafafa!important;font-weight:900!important}
  .care-total{min-height:13mm!important;padding:0 3mm!important;background:#dedbc7!important;border-top:1.2px solid #111!important;display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important}
  .care-total span{font-size:12pt!important;font-weight:900!important}.care-total b{font-size:12pt!important;color:red!important;font-weight:900!important}
  .customer-notice{height:19mm!important;padding:2mm 3mm!important;font-size:6.2pt!important;line-height:1.2!important;font-weight:800!important;box-sizing:border-box!important}
}

/* TRUE FINAL PRINT WIDTH REBUILD - percent width, no transform */
@media print{
  @page{size:A4 portrait;margin:4mm}
  html,body{
    width:100%!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;
    -webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;
  }
  body *{visibility:hidden!important}
  #customerView,#customerView *{visibility:visible!important}
  .v1-header,#consultView,#userLoginGate,#pwChangeModal,#careModal,.admin-modal,#logoutBtn{display:none!important}
  #customerView,#customerView.hidden{
    display:block!important;position:static!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important;background:#fff!important;
  }
  .customer-sheet{
    width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:1.2px solid #111!important;box-shadow:none!important;background:#fff!important;box-sizing:border-box!important;overflow:hidden!important;transform:none!important;zoom:1!important;
  }
  .customer-title-bar{
    height:11mm!important;min-height:11mm!important;padding:0 4mm!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#dedbc7!important;border-bottom:1.2px solid #111!important;box-sizing:border-box!important;
  }
  .customer-brand-title{font-size:13pt!important;line-height:1!important;font-weight:900!important}
  .customer-version{font-size:7.5pt!important;padding:1.2mm 2.5mm!important}
  .customer-info-table{display:table!important;width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
  .customer-info-table tbody{display:table-row-group!important}.customer-info-table tr{display:table-row!important}
  .customer-info-table th,.customer-info-table td{
    display:table-cell!important;height:8mm!important;border:1px solid #111!important;padding:.8mm!important;vertical-align:middle!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:7.3pt!important;line-height:1!important;box-sizing:border-box!important;
  }
  .customer-info-table th{background:#dedbc7!important;font-weight:900!important}.customer-info-table td{background:#fff!important;font-weight:800!important}
  .customer-valid-input{width:100%!important;height:5mm!important;border:0!important;background:transparent!important;text-align:center!important;font-size:7.3pt!important;font-weight:900!important;padding:0!important}
  .customer-main-grid{
    display:grid!important;grid-template-columns:25% 75%!important;width:100%!important;height:158mm!important;border-top:0!important;border-bottom:1.2px solid #111!important;box-sizing:border-box!important;
  }
  .customer-summary{width:100%!important;height:158mm!important;padding:3mm!important;border-right:1.2px solid #111!important;box-sizing:border-box!important;overflow:hidden!important}
  .customer-greeting{min-height:20mm!important;font-size:10.5pt!important;line-height:1.35!important;text-align:center!important;font-weight:900!important;display:block!important}
  .customer-line{border-top:1.2px solid #111!important;margin:2.5mm 0!important}
  .c-row.major{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:1.8mm 0!important;font-weight:900!important}
  .c-row.major span{font-size:7.8pt!important}.c-row.major b{font-size:15pt!important}
  .c-detail{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:.8mm 0!important;font-size:7pt!important;line-height:1!important;font-weight:900!important}
  .c-detail b{font-size:7pt!important}
  .c-final-box{min-height:11.5mm!important;margin:2.5mm 0!important;padding:1.3mm 2mm!important;background:#fff200!important;border:1.2px solid #111!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;box-sizing:border-box!important}
  .c-final-box span{font-size:8pt!important;font-weight:900!important}.c-final-box b{font-size:17pt!important;color:red!important;font-weight:900!important}.c-final-box.small{justify-content:space-between!important}
  .customer-products{height:158mm!important;padding:3mm!important;box-sizing:border-box!important;overflow:hidden!important}
  .customer-table-logo{height:4.5mm!important;font-size:7pt!important;color:#64748b!important;font-weight:700!important}
  .customer-product-table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
  .customer-product-table th,.customer-product-table td{
    height:5.25mm!important;min-height:5.25mm!important;max-height:5.25mm!important;border:1px solid #999!important;padding:.55mm!important;text-align:center!important;vertical-align:middle!important;font-size:7pt!important;line-height:1!important;overflow:hidden!important;box-sizing:border-box!important;
  }
  .customer-product-table th{background:#dedbc7!important;font-weight:900!important}.customer-product-table tr:nth-child(even) td{background:#efede1!important}
  .customer-product-table th:nth-child(1),.customer-product-table td:nth-child(1){width:8%!important}
  .customer-product-table th:nth-child(2),.customer-product-table td:nth-child(2){width:13%!important}
  .customer-product-table th:nth-child(3),.customer-product-table td:nth-child(3){width:18%!important}
  .customer-product-table th:nth-child(4),.customer-product-table td:nth-child(4){width:31%!important}
  .customer-product-table th:nth-child(5),.customer-product-table td:nth-child(5){width:30%!important}
  .customer-product-table td.model{font-size:6.7pt!important;font-weight:900!important;word-break:break-all!important}
  .customer-note-editor{width:100%!important;height:4.4mm!important;min-height:4.4mm!important;border:0!important;background:transparent!important;resize:none!important;overflow:hidden!important;font-size:6.7pt!important;line-height:1!important;text-align:center!important;padding:0!important}
  .customer-membership{text-align:right!important;font-size:7pt!important;font-weight:900!important;margin-top:1mm!important}
  .customer-bottom-grid{display:grid!important;grid-template-columns:50% 50%!important;width:100%!important;height:82mm!important;margin:0!important;border-bottom:1.2px solid #111!important;box-sizing:border-box!important;page-break-inside:avoid!important;break-inside:avoid!important}
  .customer-description{border-right:1.2px solid #111!important;box-sizing:border-box!important}
  .customer-description h2,.customer-care h2{margin:0!important;padding:2mm!important;background:#dedbc7!important;border-bottom:1px solid #111!important;text-align:center!important;font-size:10.3pt!important;line-height:1!important;font-weight:900!important}
  .customer-description table,.customer-care table{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important}
  .customer-description th,.customer-description td,.customer-care th,.customer-care td{border:1px solid #999!important;padding:.9mm 1.1mm!important;vertical-align:middle!important;font-size:6.5pt!important;line-height:1.2!important;word-break:keep-all!important;box-sizing:border-box!important}
  .customer-description th,.customer-care th{width:23mm!important;text-align:center!important;background:#fafafa!important;font-weight:900!important}
  .care-total{min-height:13mm!important;padding:0 3mm!important;background:#dedbc7!important;border-top:1.2px solid #111!important;display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important}
  .care-total span{font-size:12pt!important;font-weight:900!important}.care-total b{font-size:12pt!important;color:red!important;font-weight:900!important}
  .customer-notice{height:19mm!important;padding:2mm 3mm!important;font-size:6.2pt!important;line-height:1.2!important;font-weight:800!important;box-sizing:border-box!important}
}
