.kfh-wrap{max-width:980px;margin:30px auto;padding:28px;border:1px solid #ddd;border-radius:16px;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.07);box-sizing:border-box}.kfh-head h2{margin:0 0 8px}.kfh-head p{margin:0 0 22px;color:#666}.kfh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.kfh-grid label{font-weight:600;display:flex;flex-direction:column;gap:7px}.kfh-grid input,.kfh-grid select{padding:12px;border:1px solid #ccc;border-radius:9px;background:#fff;font:inherit}.kfh-actions{display:flex;align-items:center;gap:18px;margin-top:20px;flex-wrap:wrap}.kfh-actions button{border:0;border-radius:10px;padding:13px 22px;background:#111827;color:#fff;font-weight:700;cursor:pointer}.kfh-result{margin-top:24px;padding:22px;border-radius:14px;background:#f7f7f7}.kfh-mainprice{font-size:32px;font-weight:800}.kfh-note{color:#666;margin:5px 0 16px}.kfh-lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kfh-lines div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #ddd}.kfh-disclaimer{font-size:13px;color:#666;margin-bottom:0}@media(max-width:650px){.kfh-wrap{padding:18px}.kfh-grid,.kfh-lines{grid-template-columns:1fr}.kfh-mainprice{font-size:26px}}
.kfh-grid select:disabled,.kfh-grid input:disabled{opacity:.5;background:#f1f1f1;cursor:not-allowed}.kfh-table-title{grid-column:1/-1!important;display:flex!important;align-items:center;justify-content:space-between!important;padding:12px 14px!important;border-bottom:2px solid #222!important;font-weight:800!important}.kfh-table-title span{font-size:16px}.kfh-table-title b{font-size:14px}.kfh-price-table{margin-top:6px}
@media(max-width:650px){.kfh-table-title{display:block!important}.kfh-table-title b{display:block;margin-top:5px}}

.kfh-adjust-note{font-size:12px;color:#666;margin-top:4px}.kfh-grid label:has(select[data-w-op]),.kfh-grid label:has(select[data-h-op]){border:1px solid #e5e7eb;padding:12px;border-radius:10px;background:#fafafa}.kfh-grid input:disabled{opacity:.45}
.kfh-hidden-type{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;padding:0!important;margin:-1px!important}
.kfh-system-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 14px}
.kfh-system-tab{border:2px solid #d1d5db;border-radius:14px;padding:16px 18px;background:#fff;color:#111827;font-size:18px;font-weight:800;cursor:pointer;transition:.15s}
.kfh-system-tab:hover{border-color:#9ca3af}.kfh-system-tab.active{border-color:#111827;background:#111827;color:#fff}
.kfh-system-panel,.kfh-common-panel{border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin-bottom:16px;background:#fff}
.kfh-system-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px;padding-bottom:12px;border-bottom:1px solid #eee}.kfh-system-title strong{font-size:18px}.kfh-system-title span{font-size:13px;color:#6b7280}
.kfh-system-panel[hidden]{display:none!important}
@media(max-width:650px){.kfh-system-switch{grid-template-columns:1fr}.kfh-system-title{display:block}.kfh-system-title span{display:block;margin-top:4px}}
.kfh-measure-panel{border:2px solid #111827;border-radius:14px;padding:18px;margin:16px 0;background:#fafafa}.kfh-measure-panel .kfh-system-title{margin-bottom:15px}.kfh-measure-panel input,.kfh-measure-panel select{font-size:16px}

.kfh-customer-panel{border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin-bottom:16px;background:#fff}.kfh-customer-panel input{padding:12px;border:1px solid #ccc;border-radius:9px;background:#fff;font:inherit}.kfh-quote-panel{margin-top:16px;border:1px solid #d1d5db;border-radius:14px;padding:16px;background:#f9fafb}.kfh-quote-panel h3{margin:0 0 10px}.kfh-quote-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #e5e7eb}.kfh-quote-total{font-size:20px;font-weight:800;margin-top:12px}.kfh-actions [data-clear-quote]{background:#6b7280}.kfh-actions [data-add-quote]{background:#166534}
.kfh-finished-preview{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px;padding:12px;border:1px solid #d9dde3;border-radius:10px;background:#f7f8fa}
.kfh-finished-preview>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:#fff;border-radius:8px}
.kfh-finished-preview span{color:#666}
.kfh-finished-preview strong{font-size:17px}
@media(max-width:700px){.kfh-finished-preview{grid-template-columns:1fr}}


/* v1.3.39 - mobil okunabilirlik */
@media(max-width:650px){
  .kfh-wrap{width:100%;max-width:none;margin:8px auto;padding:16px;border-radius:10px}
  .kfh-head h2{font-size:24px;line-height:1.25}
  .kfh-head p{font-size:16px;line-height:1.5}
  .kfh-grid{gap:12px}
  .kfh-grid label{font-size:16px;line-height:1.35}
  .kfh-grid input,.kfh-grid select{font-size:17px!important;min-height:50px;padding:12px 13px}
  .kfh-system-tab{font-size:17px;min-height:54px;padding:14px 12px}
  .kfh-system-panel,.kfh-common-panel,.kfh-customer-panel,.kfh-measure-panel{padding:16px}
  .kfh-system-title strong{font-size:18px}
  .kfh-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
  .kfh-actions button{width:100%;min-height:54px;padding:14px 16px;font-size:17px!important}
  .kfh-actions [data-area]{font-size:16px;padding:4px 0}
  .kfh-result{padding:16px}
  .kfh-mainprice{font-size:32px}
  .kfh-lines{grid-template-columns:1fr}
  .kfh-lines div{font-size:16px;padding:12px 0;gap:12px}
  .kfh-lines b{font-size:16px;text-align:right;max-width:60%;overflow-wrap:anywhere}
  .kfh-note{font-size:15px;line-height:1.45}
  .kfh-disclaimer{font-size:14px;line-height:1.45}
  .kfh-quote-row{font-size:16px;align-items:flex-start}
  .kfh-quote-total{font-size:22px}
}


/* v1.3.43 - gerçek viewport mobil yerleşimi */
@media (max-width:650px){
  html,body{max-width:100%;overflow-x:hidden}
  .kfh-wrap{
    width:100vw!important;max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:calc(50% - 50vw)!important;
    padding:14px!important;
    border-left:0!important;border-right:0!important;border-radius:0!important;
    box-sizing:border-box!important;
  }
  .kfh-wrap *{box-sizing:border-box;max-width:100%}
  .kfh-head h2{font-size:24px!important}
  .kfh-grid{grid-template-columns:minmax(0,1fr)!important;width:100%!important}
  .kfh-grid label,.kfh-system-panel,.kfh-common-panel,.kfh-customer-panel,.kfh-measure-panel,.kfh-result{min-width:0!important}
  .kfh-grid input,.kfh-grid select{width:100%!important;min-width:0!important}
  .kfh-actions{width:100%!important}
  .kfh-actions button{width:100%!important;max-width:none!important}
  .kfh-lines div{min-width:0!important}
}
