.quote-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:20px}.quote-stat{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px}.quote-stat strong{display:block;font-size:25px;margin:5px 0}.quote-stat span{color:var(--green);font-weight:700;font-size:13px}.quote-table{width:100%;border-collapse:collapse;font-size:13px}.quote-table th,.quote-table td{padding:12px 9px;border-bottom:1px solid var(--line);text-align:left}.quote-table td small{display:block;margin-top:4px}.quote-result,.quote-result-select{border:0;border-radius:20px;padding:7px 10px;font:inherit;font-size:12px;font-weight:700}.quote-result.pending,.quote-result-select.pending{background:#fff0cf;color:#8a611e}.quote-result.won,.quote-result-select.won{background:#dff4e9;color:#217249}.quote-result.lost,.quote-result-select.lost{background:#ffe5eb;color:#ad3150}.quote-report{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px}.report-bars{display:grid;gap:15px}.report-bars>div{display:grid;grid-template-columns:145px 1fr 130px;align-items:center;gap:10px;font-size:13px}.report-bars i{height:12px;background:#6f7478;border-radius:8px}.report-bars i.won{background:#7c9b45}.report-bars i.lost{background:#b95f66}.report-bars i.pending{background:#d0a947}.quote-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.quote-row:last-child{border:0}.quote-hit{flex:1;text-align:left;border:0;background:none;color:inherit;padding:5px}.quote-hit small{display:block;margin-top:6px}.quote-modal{width:min(1100px,calc(100vw - 32px))}.quote-modal h3{margin-top:12px}.quote-items{display:grid;gap:8px;margin-bottom:10px}.quote-item{display:grid;grid-template-columns:2fr .7fr .7fr .65fr .9fr 42px;gap:7px}.quote-item input{min-width:0;border:1px solid #ccd5e2;border-radius:7px;padding:9px}.quote-item .btn{padding:5px;min-height:38px}.quote-discount{margin-top:20px}.quote-logo{min-height:22px}@media(max-width:1000px){.quote-stats{grid-template-columns:repeat(2,1fr)}.quote-table-wrap{padding:12px}.quote-table td:last-child{min-width:210px}}@media(max-width:760px){.quote-stats{grid-template-columns:1fr 1fr}.quote-item{grid-template-columns:1fr 1fr}.quote-item [name=description]{grid-column:1/-1}.quote-item .btn{grid-column:2}.report-bars>div{grid-template-columns:1fr}.quote-row{flex-wrap:wrap}.quote-row .quote-hit{flex-basis:100%}}
.quote-item{grid-template-columns:minmax(180px,2fr) repeat(calc(var(--quote-cols) - 1),minmax(95px,1fr)) 42px}
.quote-logo img{display:block;max-width:260px;max-height:90px;object-fit:contain}
.quote-editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px}
.quote-columns{background:#f7f9f5;border:1px solid #dfe6db;border-radius:10px;padding:16px}
.quote-column{display:grid;grid-template-columns:22px 1fr 55px;gap:8px;align-items:center;margin:9px 0}
.quote-column input[data-column-label]{min-width:0;border:1px solid #ccd5e2;border-radius:7px;padding:8px}
.quote-column small{text-align:right}.modal-spacer{flex:1}.template-list{display:grid;gap:9px}.template-row{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:9px;padding:12px}.template-row>div{flex:1}.template-row small{display:block;margin-top:4px}.current-logo{border:1px solid var(--line);border-radius:9px;padding:13px;margin-bottom:16px;background:#fff}.settings-panel{max-width:720px}
@media(max-width:1000px){.quote-editor-grid{grid-template-columns:1fr}.quote-columns{order:-1}}
@media(max-width:760px){.quote-modal{width:calc(100vw - 12px);padding:15px}.quote-column{grid-template-columns:22px 1fr}.quote-column small{display:none}.quote-logo img{max-width:210px}.modal-footer{flex-wrap:wrap}.modal-footer .modal-spacer{display:none}.modal-footer .btn{flex:1}}
.download-badge{display:inline-block;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700;white-space:nowrap}.download-badge.pending{background:#fff0cf;color:#8a611e}.download-badge.done{background:#e5f3de;color:#4f712d}

.quote-form-section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;margin:0 0 16px}.quote-form-section>h3{margin:0 0 17px;color:#555b5d;border-left:4px solid #a9cf19;padding-left:10px}.quote-lines-section{background:#f8f9f6}.quote-lines-section>.btn{margin-top:5px}.quote-modal{background:#f3f5f0}.quote-modal>.modal-title{background:#5e6264;color:#fff;margin:-26px -26px 20px;padding:18px 24px;border-radius:14px 14px 0 0}.quote-modal>.modal-title .close{background:#fff;color:#555}.quote-columns{background:#f1f4e9;border-color:#dbe5bd}.quote-table thead th{background:#f0f4e5;color:#53623b}.quote-stat{border-top:3px solid #a9cf19}
@media(max-width:760px){.quote-modal>.modal-title{margin:-15px -15px 15px;border-radius:14px 14px 0 0}.quote-form-section{padding:13px}.quote-lines-section{overflow-x:auto}.quote-item{min-width:620px}}

.live-report{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#edf4d5;color:#5d7712;padding:8px 11px;font-size:12px;font-weight:750}.live-report i{width:8px;height:8px;border-radius:50%;background:#8bad16;box-shadow:0 0 0 4px #8bad1630}.quote-table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.quote-table{background:#fff}
@media(max-width:1100px) and (pointer:coarse){.quote-table{min-width:920px}.quote-table-wrap{border-radius:11px}.quote-report,.quote-stats{max-width:100%}}
@media(max-width:760px){.quote-table{min-width:0;display:block;background:transparent}.quote-table thead{display:none}.quote-table tbody{display:grid;gap:12px}.quote-table tbody tr{display:block;background:#fff;border:1px solid var(--line);border-radius:11px;padding:10px;box-shadow:0 2px 8px #26344c0b}.quote-table tbody td{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:start;border-bottom:1px solid #edf0eb;padding:9px 5px;min-width:0!important;overflow-wrap:anywhere}.quote-table tbody td:last-child{border-bottom:0;display:block}.quote-table tbody td::before{font-size:11px;font-weight:750;color:var(--muted)}.quote-table tbody td:nth-child(1)::before{content:'Tarih'}.quote-table tbody td:nth-child(2)::before{content:'Teklif No'}.quote-table tbody td:nth-child(3)::before{content:'Firma / Hitap'}.quote-table tbody td:nth-child(4)::before{content:'Proje'}.quote-table tbody td:nth-child(5)::before{content:'Tutar'}.quote-table tbody td:nth-child(6)::before{content:'İndirme'}.quote-table tbody td:nth-child(7)::before{content:'Durum'}.quote-table tbody td:nth-child(8)::before{content:'İşlemler';display:block;margin-bottom:8px}.quote-table tbody td .actions{gap:5px}.quote-table tbody td .btn{flex:1;padding:8px 7px;min-height:38px}.quote-stats{grid-template-columns:1fr 1fr}.quote-stat{padding:13px;min-width:0}.quote-stat strong{font-size:21px}.quote-report{padding:15px}.report-bars>div{border-bottom:1px solid var(--line);padding-bottom:11px}.report-bars>div:last-child{border:0}.filterbar{max-width:100%}}
