/* Müşteri paneli */
.brand-logo{display:block;width:42px;height:42px;border-radius:13px;object-fit:cover;box-shadow:0 5px 14px rgba(35,73,40,.12)}
.client-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;padding:38px 0 30px;border-bottom:1px solid var(--line)}
.client-hero h1{font-size:clamp(38px,6vw,68px);margin:7px 0 12px}
.client-welcome{font-size:20px;font-weight:700;color:var(--green-dark);margin-bottom:7px}
.client-hero-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.client-section{padding:38px 0 0}
.client-section-first{padding-top:34px}
.section-heading-icon{display:flex;align-items:center;gap:12px;margin-bottom:17px}
.section-heading-icon>span{display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:var(--green-soft);color:var(--green-dark);font-size:24px;font-weight:700}
.section-heading-icon h2{margin:3px 0 0;font-size:clamp(25px,4vw,36px)}
.client-weight-grid{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:15px}
.client-weight-card,.client-insight-card,.summary-card,.quote-summary-card,.order-summary-card{border:1px solid var(--line);border-radius:20px;background:var(--white);box-shadow:0 7px 25px rgba(35,73,40,.05)}
.client-weight-card{position:relative;padding:22px;min-height:185px}
.client-weight-card-current{background:linear-gradient(145deg,#f5fbf1,#fff)}
.card-icon,.summary-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--green-soft);color:var(--green-dark);font-size:20px;font-weight:800}
.card-label{margin-top:17px;color:var(--muted);font-size:13px;font-weight:700}
.client-weight-card>strong{display:block;margin:4px 0 0;color:var(--green-dark);font-size:38px;line-height:1.15;letter-spacing:-.04em}
.client-weight-card>strong small{font-size:16px;letter-spacing:0}
.weight-card-top{display:flex;align-items:center;justify-content:space-between}
.weight-card-top .card-icon{margin:0}
.text-button{border:0;padding:6px 0;background:none;color:var(--green-dark);font:inherit;font-size:13px;font-weight:800;cursor:pointer}
.text-button:hover{text-decoration:underline}
.client-insight-card{padding:22px;background:linear-gradient(145deg,#f0f8ec,#fff)}
.client-insight-card p{margin:11px 0 14px;color:var(--ink);font-size:15px;line-height:1.5}
.client-insight-card.support{background:linear-gradient(145deg,#fff8e9,#fff)}
.client-insight-card.neutral{background:linear-gradient(145deg,#f5f7f2,#fff)}
.change-line{display:flex;align-items:baseline;gap:9px;color:var(--muted);font-size:13px}
.change-line strong{color:var(--green-dark);font-size:21px}
.client-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.summary-card{display:flex;align-items:center;gap:13px;padding:17px 19px}
.summary-card strong,.summary-card span{display:block}
.summary-card strong{font-size:16px;line-height:1.3}
.summary-card div span{margin-top:3px;color:var(--muted);font-size:12px}
.client-history-card{min-height:130px}
.client-card-list{display:grid;gap:11px}
.quote-summary-card,.order-summary-card{display:grid;grid-template-columns:1.5fr auto auto;align-items:center;gap:18px;padding:17px 20px}
.quote-summary-card>div:first-child,.order-summary-main{display:grid;gap:2px}
.quote-summary-card>div:first-child strong,.order-summary-main strong{font-size:16px}
.quote-summary-price,.order-summary-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;white-space:nowrap}
.quote-summary-price strong{color:var(--green-dark);font-size:17px}
.small-button{padding:8px 13px;font-size:13px}
.modal{display:none;position:fixed;inset:0;z-index:20;align-items:center;justify-content:center;padding:20px}
.modal.is-open{display:flex}
.modal-backdrop{position:absolute;inset:0;background:rgba(20,38,28,.52);backdrop-filter:blur(3px)}
.modal-dialog{position:relative;width:min(520px,100%);max-height:min(720px,calc(100vh - 40px));overflow:auto;padding:30px;border-radius:24px;background:var(--white);box-shadow:0 25px 80px rgba(10,35,18,.25);animation:modal-in .18s ease-out}
.modal-dialog-small{width:min(420px,100%)}
.modal-dialog-receipt{width:min(500px,100%);background:#fffdf8}
.modal-close{position:absolute;right:16px;top:11px;border:0;background:none;color:var(--muted);font-size:29px;line-height:1;cursor:pointer}
.modal-eyebrow{color:var(--green-dark);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.modal-dialog h2{margin:7px 0 19px;font-size:32px}
.modal-dialog form{margin-top:21px}
.modal-dialog form .button{margin-top:13px}
.modal-note{margin:22px 0 0;padding-top:17px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.client-kv{grid-template-columns:130px 1fr}
.receipt-head{text-align:center;padding-bottom:18px;border-bottom:1px dashed #c9d4c5}
.receipt-head h2{margin:5px 0 3px;font-size:28px}
.receipt-lines{padding:17px 0 5px}
.receipt-line{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #e8eee5;font-size:14px}
.receipt-line span{display:flex;flex-direction:column;gap:2px}
.receipt-line small{color:var(--muted);font-size:12px}
.receipt-line strong{color:var(--green-dark);white-space:nowrap}
.receipt-total{display:flex;justify-content:space-between;gap:15px;padding-top:16px;font-weight:700}
.receipt-total strong{color:var(--green-dark);font-size:20px}
.receipt-review{margin-top:21px;padding-top:16px;border-top:1px dashed #c9d4c5}
.receipt-review summary{color:var(--green-dark);font-weight:800;cursor:pointer}
.receipt-reviewed{display:block;margin-top:20px;padding-top:16px;border-top:1px dashed #c9d4c5}
body.modal-open{overflow:hidden}
@keyframes modal-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:800px){.client-hero{align-items:flex-start;flex-direction:column}.client-hero-actions{justify-content:flex-start}.client-weight-grid{grid-template-columns:1fr 1fr}.client-insight-card{grid-column:1/-1}.quote-summary-card,.order-summary-card{grid-template-columns:1fr auto}.quote-summary-price,.order-summary-actions{justify-content:flex-start;grid-column:1/-1}}
@media(max-width:560px){.client-section{padding-top:30px}.client-weight-grid,.client-summary-grid{grid-template-columns:1fr}.client-insight-card{grid-column:auto}.client-hero h1{font-size:42px}.client-welcome{font-size:17px}.quote-summary-card,.order-summary-card{grid-template-columns:1fr}.quote-summary-card>.badge,.order-summary-card>.badge{justify-self:start}.quote-summary-price,.order-summary-actions{justify-content:space-between;grid-column:auto}.modal{padding:12px}.modal-dialog{padding:24px 19px}}
.quote-sheet{border:1px solid var(--line);border-radius:24px;background:var(--white);box-shadow:0 10px 35px rgba(35,73,40,.06);padding:clamp(22px,4vw,38px)}
.quote-sheet-head{display:flex;justify-content:space-between;gap:25px;padding-bottom:25px;border-bottom:1px solid var(--line)}
.quote-sheet-head h2{margin:6px 0 9px;font-size:clamp(26px,4vw,38px)}
.quote-sheet-meta{min-width:130px;padding:13px 16px;border-radius:14px;background:var(--green-soft);align-self:flex-start;text-align:right}
.quote-sheet-meta span,.quote-sheet-meta strong{display:block}.quote-sheet-meta span{color:var(--muted);font-size:12px}.quote-sheet-meta strong{margin-top:3px;color:var(--green-dark)}
.quote-product-list{display:grid;gap:0}
.quote-product-card{display:grid;grid-template-columns:92px minmax(0,1fr) 70px 175px;gap:18px;align-items:center;padding:21px 0;border-bottom:1px solid var(--line)}
.quote-product-image{display:grid;place-items:center;align-content:center;gap:5px;width:92px;height:92px;border-radius:16px;background:linear-gradient(145deg,#f1f7ee,#e4eee1);color:var(--green-dark);text-align:center}
.quote-product-image span{font-size:30px;line-height:1}.quote-product-image small{color:var(--muted);font-size:10px;line-height:1.2}.quote-product-image img{width:100%;height:100%;border-radius:16px;object-fit:cover}
.quote-product-info h3{margin:0 0 6px;font-size:17px}.quote-product-info p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.quote-product-quantity span,.quote-product-prices span{display:block;color:var(--muted);font-size:12px}.quote-product-quantity strong{display:block;margin-top:4px;font-size:16px}
.quote-product-prices{text-align:right}.quote-product-prices strong,.quote-product-prices em{display:block}.quote-product-prices strong{margin-top:3px;color:var(--green-dark);font-size:15px}.quote-product-prices em{margin-top:4px;color:#ae751c;font-size:11px;font-style:normal;font-weight:700}.quote-product-prices del{margin-left:5px;color:var(--muted);font-weight:400}
.quote-totals{width:min(430px,100%);margin:23px 0 0 auto}.quote-totals>div{display:flex;justify-content:space-between;gap:16px;padding:8px 0;color:var(--muted);font-size:14px}.quote-totals strong{color:var(--ink)}.quote-totals .discount-text{color:#a56817}.quote-grand-total{margin-top:8px;padding-top:15px!important;border-top:2px solid var(--ink);font-size:16px!important;font-weight:800;color:var(--ink)!important}.quote-grand-total strong{color:var(--green-dark);font-size:22px}
.consultant-note{margin-top:25px;padding:18px 20px;border-radius:16px;background:var(--green-soft)}.consultant-note p{margin:5px 0 0;color:var(--muted)}
.quote-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px}.quote-actions-grid form{margin-top:14px}.quote-actions-grid textarea{margin-bottom:4px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.catalog-price-note{display:block;color:var(--muted);font-size:11px;margin-top:3px}
@media(max-width:800px){.quote-sheet-head{align-items:flex-start;flex-direction:column}.quote-sheet-meta{text-align:left}.quote-product-card{grid-template-columns:76px minmax(0,1fr) 125px}.quote-product-image{width:76px;height:76px}.quote-product-quantity{grid-column:2}.quote-product-prices{grid-column:3;grid-row:2}.quote-actions-grid{grid-template-columns:1fr}}
@media(max-width:560px){.quote-product-card{grid-template-columns:68px minmax(0,1fr)}.quote-product-image{width:68px;height:68px}.quote-product-quantity,.quote-product-prices{grid-column:2;grid-row:auto;text-align:left}.quote-product-prices{text-align:left}.quote-totals{margin-left:0}.quote-page-head{align-items:flex-start}}
.quote-admin-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:28px 0 22px;border-bottom:1px solid var(--line)}
.quote-admin-title h1{margin:8px 0 9px;font-size:clamp(32px,5vw,58px)}
.quote-admin-title p{margin:0;color:var(--muted)}
.heading-symbol{display:inline-grid;place-items:center;width:25px;height:25px;margin-right:5px;border-radius:8px;background:var(--green-soft);color:var(--green-dark);font-size:15px}
.client-order-summary{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:15px;margin:20px 0;padding:18px 21px;border:1px solid var(--line);border-radius:19px;background:var(--white);box-shadow:0 7px 25px rgba(35,73,40,.05)}
.client-order-summary>div{display:flex;flex-direction:column;justify-content:center;gap:2px;padding-left:17px;border-left:1px solid var(--line)}
.client-order-summary>div:first-child{border-left:0;padding-left:0}.client-summary-person{flex-direction:row!important;align-items:center;gap:11px}.client-order-summary strong{font-size:16px;color:var(--ink)}.summary-caption{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:800}
.quote-sticky-bar{position:sticky;top:76px;z-index:4;display:flex;align-items:center;gap:20px;margin:0 0 18px;padding:15px 20px;border:1px solid #cfe0cc;border-radius:17px;background:rgba(240,249,237,.96);box-shadow:0 8px 22px rgba(35,73,40,.10);backdrop-filter:blur(12px)}
.sticky-field{display:flex;align-items:center;gap:9px}.sticky-field label{margin:0;color:var(--green-dark);font-size:13px;font-weight:800}.sticky-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:var(--green);color:#fff;font-weight:800}.sticky-input{display:flex;align-items:center;gap:5px}.sticky-input input{width:82px;padding:8px 9px;font-weight:800}.sticky-input span{color:var(--green-dark);font-weight:800}.sticky-total{display:flex;flex-direction:column;gap:1px;margin-left:auto;padding-left:22px;border-left:1px solid #c7dac2}.sticky-total span{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.sticky-total strong{color:var(--green-dark);font-size:22px;line-height:1.15}.update-prices{white-space:nowrap}.update-prices span{margin-right:4px}
.admin-products-sheet{padding:23px 27px;border:1px solid var(--line);border-radius:22px;background:var(--white);box-shadow:0 9px 28px rgba(35,73,40,.05)}
.products-sheet-head{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;padding-bottom:19px;border-bottom:1px solid var(--line)}.products-sheet-head h2{margin:4px 0 0;font-size:30px}.products-sheet-head p{max-width:430px;margin:0;font-size:12px;text-align:right}
.products-table-head{display:grid;grid-template-columns:minmax(300px,1fr) 75px 180px 120px;gap:16px;padding:14px 13px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.admin-product-list{display:grid;gap:0}.admin-product-row{display:grid;grid-template-columns:28px 72px minmax(280px,1fr) 75px 180px 120px;gap:16px;align-items:center;padding:13px;border-top:1px solid var(--line);transition:background .16s,transform .16s}.admin-product-row:hover,.admin-product-row.is-selected{background:#f8fcf6}.admin-product-row.is-selected{box-shadow:inset 4px 0 0 var(--green)}
.admin-product-check input{width:19px;height:19px;accent-color:var(--green)}.admin-product-image{display:grid;place-items:center;align-content:center;gap:3px;width:72px;height:72px;border-radius:13px;background:linear-gradient(145deg,#f1f7ee,#e4eee1);color:var(--green-dark);text-align:center}.admin-product-image img{width:100%;height:100%;border-radius:13px;object-fit:cover}.admin-product-image span{font-size:25px;line-height:1}.admin-product-image small{font-size:10px;color:var(--muted)}
.admin-product-info{min-width:0}.admin-product-info strong,.admin-product-info span,.admin-product-info small{display:block}.admin-product-info strong{font-size:15px}.admin-product-info span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.admin-product-info small{margin-top:4px;color:var(--green-dark);font-size:11px;font-weight:700}.admin-product-quantity input{width:75px;text-align:center}.admin-product-price input{width:100%;font-weight:700}.admin-product-discount{text-align:center}.row-discount{display:inline-block;padding:5px 8px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:12px;font-weight:800}.admin-quote-bottom{margin-top:17px;padding:22px 27px;border:1px solid var(--line);border-radius:20px;background:var(--white)}
.admin-quote-bottom .field{max-width:850px}.admin-quote-bottom .form-actions{justify-content:flex-end}.admin-product-row .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.client-order-summary{grid-template-columns:repeat(2,1fr)}.client-order-summary>div:nth-child(3){border-left:0;padding-left:0}.products-table-head{display:none}.admin-product-row{grid-template-columns:25px 72px minmax(230px,1fr) 75px 160px 100px;gap:10px}}
@media(max-width:700px){.quote-admin-head{align-items:flex-start;flex-direction:column}.quote-sticky-bar{top:0;flex-wrap:wrap;gap:11px;padding:12px}.sticky-total{margin-left:0;padding-left:14px}.update-prices{margin-left:auto}.admin-products-sheet{padding:17px 12px}.products-sheet-head{align-items:flex-start;flex-direction:column;gap:8px}.products-sheet-head p{text-align:left}.admin-product-row{grid-template-columns:23px 62px minmax(0,1fr);gap:8px;padding:12px 3px}.admin-product-image{width:62px;height:62px}.admin-product-quantity,.admin-product-price,.admin-product-discount{grid-column:3}.admin-product-quantity,.admin-product-price{display:flex;align-items:center;gap:8px}.admin-product-quantity:before{content:'Adet';color:var(--muted);font-size:11px;font-weight:700}.admin-product-price:before{content:'Ürün fiyatı';color:var(--muted);font-size:11px;font-weight:700}.admin-product-quantity input{width:80px}.admin-product-price input{width:150px}.admin-product-discount{text-align:left}.admin-quote-bottom{padding:17px 12px}.client-order-summary{grid-template-columns:1fr 1fr}.client-order-summary>div:nth-child(odd){border-left:0;padding-left:0}}
@media(max-width:480px){.client-order-summary{grid-template-columns:1fr}.client-order-summary>div{border-left:0;padding-left:0}.sticky-total strong{font-size:19px}.sticky-field label{font-size:12px}.update-prices{font-size:12px;padding:9px 11px}}

/* CRM danışan kartı ve sipariş düzenleme */
.admin-client-hero,.record-editor-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:28px 0 24px;border-bottom:1px solid var(--line)}
.admin-client-hero h1,.record-editor-head h1{margin:8px 0 9px;font-size:clamp(38px,6vw,66px);letter-spacing:-.055em}
.admin-client-hero p,.record-editor-head p{margin:0;color:var(--muted)}
.admin-client-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:10px}
.admin-history-zone{padding:29px 0 5px}
.admin-history-grid,.admin-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.admin-history-panel{padding:22px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,#fbfef9,#fff);box-shadow:0 9px 28px rgba(35,73,40,.06)}
.admin-history-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:17px;border-bottom:1px solid var(--line)}
.admin-history-panel-head>div{display:flex;align-items:center;gap:11px}.admin-history-panel-head h3{margin:4px 0 0;font-size:22px}
.history-count{display:grid;place-items:center;min-width:34px;height:34px;border-radius:12px;background:var(--green-soft);color:var(--green-dark);font-weight:800}
.admin-history-list{display:grid;gap:0}.admin-history-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}
.admin-history-item>div:first-child{min-width:0}.admin-history-item strong,.admin-history-item small{display:block}.admin-history-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-history-item small{margin-top:4px;color:var(--muted);font-size:12px}
.history-item-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.history-item-actions .badge{white-space:nowrap}
.history-footer-link{display:inline-block;margin-top:16px;color:var(--green-dark);font-size:13px;font-weight:800}.history-footer-link:hover{text-decoration:underline}
.admin-client-grid{margin-top:18px}.admin-client-grid.section{margin-top:18px}.admin-client-grid .card{min-width:0}
.empty.compact{padding:18px 12px}
.crm-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:21px 0 24px}
.crm-quick-card{display:flex;align-items:center;gap:13px;padding:19px 18px;border:1px solid var(--line);border-radius:19px;background:var(--green-soft);color:var(--ink);transition:transform .16s,box-shadow .16s,background .16s}
.crm-quick-card:hover{transform:translateY(-2px);background:#e5f3df;box-shadow:0 9px 22px rgba(35,73,40,.1)}.quick-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:var(--white);color:var(--green-dark);font-size:22px}.crm-quick-card>span:nth-child(2){min-width:0;display:grid;gap:3px}.crm-quick-card strong{font-size:17px}.crm-quick-card small{color:var(--muted);font-size:11px}.crm-quick-card b{margin-left:auto;color:var(--green-dark);font-size:22px}.crm-quick-card em{display:inline-grid;place-items:center;min-width:19px;height:19px;border-radius:99px;background:var(--green);color:#fff;font-size:11px;font-style:normal}
.record-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.record-summary-grid .summary-card{min-height:76px}.summary-card>div span{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.05em;font-weight:800}.summary-card>div strong{margin-top:4px;color:var(--ink)}
.record-editor-form{display:grid;gap:17px}.record-editor-card{padding:25px 27px;border:1px solid var(--line);border-radius:22px;background:var(--white);box-shadow:0 9px 28px rgba(35,73,40,.05)}.record-editor-card h2{margin:4px 0 0;font-size:28px}
.editor-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.field-hint{display:block;margin-top:7px;color:var(--muted);font-size:11px}.input-suffix{display:flex;align-items:center;gap:8px}.input-suffix input{min-width:0;flex:1}.input-suffix span{color:var(--muted);font-size:13px;font-weight:700}
.order-edit-list{display:grid;margin-top:18px}.order-edit-row{display:grid;grid-template-columns:72px minmax(0,1fr) 100px 180px;gap:15px;align-items:center;padding:15px 0;border-top:1px solid var(--line)}.order-edit-info{min-width:0}.order-edit-info strong,.order-edit-info small{display:block}.order-edit-info strong{font-size:15px}.order-edit-info small{margin-top:5px;color:var(--muted);font-size:12px}.order-edit-row .field label{font-size:11px}.order-edit-row .field input{width:100%}.record-editor-actions{display:flex;justify-content:flex-end;gap:10px;padding-bottom:15px}
@media(max-width:900px){.crm-quick-actions{grid-template-columns:1fr}.admin-history-grid,.admin-client-grid{grid-template-columns:1fr}.record-summary-grid{grid-template-columns:1fr 1fr}.record-summary-grid .summary-card:last-child{grid-column:1/-1}}
@media(max-width:650px){.admin-client-hero,.record-editor-head{align-items:flex-start;flex-direction:column}.admin-client-actions{justify-content:flex-start}.admin-history-item{align-items:flex-start;flex-direction:column}.history-item-actions{justify-content:flex-start}.record-summary-grid{grid-template-columns:1fr}.record-summary-grid .summary-card:last-child{grid-column:auto}.record-editor-card{padding:20px 15px}.editor-meta-grid{grid-template-columns:1fr}.order-edit-row{grid-template-columns:62px minmax(0,1fr)}.order-edit-row .field{grid-column:2}.record-editor-actions{justify-content:stretch}.record-editor-actions .button{flex:1;text-align:center}}

/* Admin paneli: dört ana işlem kartı ve bağımsız teklif listesi. */
.dashboard-head + .crm-quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.dashboard-head + .crm-quick-actions .crm-quick-card{min-width:0;min-height:112px;padding:17px 15px}
.dashboard-head + .crm-quick-actions .crm-quick-card>span:nth-child(2){min-width:0}
.dashboard-head + .crm-quick-actions .crm-quick-card small{line-height:1.45}
.dashboard-head + .crm-quick-actions .crm-quick-card em{margin-left:4px}
.admin-quotes-page{padding-bottom:70px}
.admin-quotes-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:29px 0 23px;border-bottom:1px solid var(--line)}
.admin-quotes-head h1{margin:8px 0 9px;font-size:clamp(38px,6vw,66px);letter-spacing:-.055em}
.admin-quotes-head p{margin:0;color:var(--muted)}
.admin-quotes-actions{display:flex;gap:10px}
.admin-quotes-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}
.admin-quotes-summary>div{display:grid;gap:5px;padding:17px 20px;border:1px solid var(--line);border-radius:18px;background:var(--green-soft)}
.admin-quotes-summary span{color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.admin-quotes-summary strong{color:var(--green-dark);font-size:28px;letter-spacing:-.04em}
.admin-quotes-sheet{padding:23px 27px;border:1px solid var(--line);border-radius:22px;background:var(--white);box-shadow:0 9px 28px rgba(35,73,40,.05)}
.admin-quotes-sheet-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.admin-quotes-sheet-head h2{margin:4px 0 0;font-size:30px}
.admin-quotes-table-wrap{overflow-x:auto}
.admin-quotes-table{width:100%;border-collapse:collapse;min-width:980px}
.admin-quotes-table th{padding:15px 10px;color:var(--muted);font-size:10px;text-align:left;letter-spacing:.07em;text-transform:uppercase}
.admin-quotes-table td{padding:17px 10px;border-top:1px solid var(--line);font-size:13px;vertical-align:middle}
.admin-quotes-table td:first-child,.admin-quotes-table th:first-child{padding-left:0}
.admin-quotes-table td:last-child,.admin-quotes-table th:last-child{padding-right:0;text-align:right}
.admin-quotes-table td strong,.admin-quotes-table td small{display:block}
.admin-quotes-table td small{margin-top:5px;color:var(--muted);font-size:11px}
.admin-client-link{color:var(--ink);text-decoration:none}.admin-client-link:hover{text-decoration:underline;text-decoration-color:var(--green)}
.admin-quote-items{display:block;max-width:250px;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.admin-quote-row-actions{display:grid;justify-items:end;gap:7px;white-space:nowrap}.admin-quote-row-actions .text-link{font-size:11px}
.admin-quote-total{color:var(--green-dark)}
@media(max-width:1000px){.dashboard-head + .crm-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.admin-quotes-head{align-items:flex-start;flex-direction:column}.admin-quotes-actions{width:100%}.admin-quotes-actions .button{flex:1;text-align:center}.admin-quotes-sheet{padding:18px 14px}.admin-quotes-sheet-head{align-items:flex-start;flex-direction:column;gap:8px}}
@media(max-width:560px){.dashboard-head + .crm-quick-actions{grid-template-columns:1fr}.admin-quotes-summary{grid-template-columns:1fr 1fr}.admin-quotes-summary>div:last-child{grid-column:1/-1}}



/* Müşteri giriş ekranı - yalnızca ek stiller */
.login-page{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);gap:24px;align-items:stretch;max-width:1180px;margin:0 auto;padding:38px 0 26px}
.login-page:before{content:"";position:absolute;z-index:-1;top:-34px;left:42%;width:340px;height:340px;border-radius:50%;background:rgba(223,239,217,.48);filter:blur(2px);pointer-events:none}
.client-login-intro{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:650px;padding:clamp(30px,5vw,58px);border-radius:30px;background:linear-gradient(145deg,#173d2d 0%,#235f39 56%,#4b9b39 100%);box-shadow:0 24px 55px rgba(27,72,43,.18);color:#fff}
.client-login-intro:before,.client-login-intro:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.15);border-radius:50%;pointer-events:none}
.client-login-intro:before{width:360px;height:360px;right:-160px;top:-160px}.client-login-intro:after{width:250px;height:250px;left:-145px;bottom:-150px}
.login-intro-top{position:relative;z-index:1;display:flex;align-items:center;gap:11px;margin-bottom:24px}.client-login-intro .eyebrow{color:#d8efce}.login-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.26);border-radius:14px;background:rgba(255,255,255,.12);color:#fff;font-size:21px;box-shadow:0 7px 18px rgba(0,0,0,.1)}
.client-login-intro h1{position:relative;z-index:1;max-width:590px;margin:0 0 20px;color:#fff;font-size:clamp(37px,5.1vw,65px);letter-spacing:-.065em}.client-login-intro h1 em{color:#b9e6a9;font-style:normal}.login-lead{position:relative;z-index:1;max-width:580px;margin:0;color:rgba(255,255,255,.76);font-size:16px;line-height:1.75}
.login-purpose-card{position:relative;z-index:1;display:flex;gap:14px;align-items:flex-start;margin:28px 0 16px;padding:17px 18px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(255,255,255,.1);backdrop-filter:blur(8px)}.login-purpose-icon{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;border-radius:11px;background:#c3ebaf;color:#205a31;font-size:21px;font-weight:800}.login-purpose-card strong{display:block;color:#fff;font-size:15px}.login-purpose-card p{margin:4px 0 0;color:rgba(255,255,255,.68);font-size:12px;line-height:1.55}
.login-feature-list{position:relative;z-index:1;display:grid;gap:0;margin-top:2px}.login-feature-item{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid rgba(255,255,255,.14)}.login-feature-item:first-child{border-top:1px solid rgba(255,255,255,.14)}.feature-number{color:#b9e6a9;font-size:11px;font-weight:800;letter-spacing:.06em}.login-feature-item strong,.login-feature-item small{display:block}.login-feature-item strong{color:#fff;font-size:14px}.login-feature-item small{margin-top:2px;color:rgba(255,255,255,.62);font-size:11px}.login-feature-item>b{color:#b9e6a9;font-size:18px;text-align:right}.login-trust-row{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:9px 20px;margin-top:22px;color:rgba(255,255,255,.72);font-size:11px;font-weight:700}.login-trust-row span{display:inline-flex;align-items:center;gap:6px}
.client-login-card{align-self:center;width:100%;padding:clamp(25px,4vw,40px);border:1px solid rgba(224,232,223,.95);border-radius:30px;background:rgba(255,255,255,.94);box-shadow:0 24px 55px rgba(35,73,40,.11);backdrop-filter:blur(12px)}.login-card-top{margin-bottom:27px}.login-card-top .eyebrow{margin-bottom:9px}.login-card-top h2{margin:0 0 9px;font-size:clamp(29px,4vw,43px);letter-spacing:-.06em}.login-card-top p{max-width:420px;margin:0;color:var(--muted);font-size:14px;line-height:1.65}
.login-step{display:flex;align-items:center;gap:11px;margin:0 0 10px}.login-step>span{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:var(--green-soft);color:var(--green-dark);font-size:11px;font-weight:900}.login-step strong,.login-step small{display:block}.login-step strong{font-size:14px}.login-step small{margin-top:1px;color:var(--muted);font-size:11px}.login-phone-row{display:flex;align-items:stretch;gap:9px}.login-input-wrap{position:relative;min-width:0}.login-phone-row .login-input-wrap{flex:1}.login-input-wrap input{min-height:54px;padding:13px 15px 13px 47px;border-color:#d0dfcf;border-radius:15px;background:#fcfefb;font-size:16px;font-weight:700;letter-spacing:.03em}.login-input-wrap input::placeholder{color:#a2ada5;font-weight:500;letter-spacing:0}.login-input-wrap input:focus{border-color:var(--green);box-shadow:0 0 0 4px rgba(75,155,57,.12);background:#fff}.input-leading-icon{position:absolute;z-index:1;top:50%;left:17px;transform:translateY(-50%);color:var(--green-dark);font-size:19px;font-weight:800;pointer-events:none}.login-continue{display:flex;align-items:center;justify-content:center;gap:13px;min-width:124px;border-radius:15px;box-shadow:0 9px 20px rgba(75,155,57,.18);transition:transform .18s,background .18s,box-shadow .18s}.login-continue span{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:rgba(255,255,255,.17);font-size:16px}.login-continue:hover{transform:translateY(-2px);box-shadow:0 13px 25px rgba(35,100,42,.23)}.login-continue.is-ready{box-shadow:0 0 0 4px rgba(75,155,57,.1),0 11px 23px rgba(75,155,57,.2)}.login-continue.is-loading{cursor:wait;opacity:.78}.login-continue.is-confirmed{background:var(--green-dark)}.login-phone-note{margin:8px 0 0;color:var(--muted);font-size:11px}.login-input-feedback{min-height:18px;margin-top:5px;font-size:11px;font-weight:700}.login-input-feedback.is-error{color:#a74444}.login-input-feedback.is-success{color:var(--green-dark)}
.surname-lookup{display:flex;align-items:flex-start;gap:11px;margin:12px 0 18px;padding:14px 15px;border:1px solid #cfe4c9;border-radius:16px;background:linear-gradient(135deg,#f2faef,#fbfef9);animation:login-reveal .24s ease-out}.surname-lookup .lookup-icon{display:grid;place-items:center;flex:0 0 auto;width:26px;height:26px;border-radius:9px;background:var(--green);color:#fff;font-size:14px;font-weight:900}.surname-lookup>div{min-width:0}.surname-lookup>div>strong{display:block;color:var(--green-dark);font-size:13px}.surname-lookup small{display:block;margin-top:3px;color:var(--muted);font-size:11px}.surname-lookup small strong{display:inline;color:var(--ink);font-size:14px;letter-spacing:.06em}.surname-mask{color:var(--green-dark);font-size:14px;font-weight:900;letter-spacing:.04em}.surname-lookup em{display:block;margin-top:4px;color:var(--green-dark);font-size:11px;font-style:normal;font-weight:800}.login-step-surname{margin-top:2px}.login-helper{margin:9px 0 18px;color:var(--muted);font-size:11px;line-height:1.55}.login-submit{display:flex;align-items:center;justify-content:center;gap:14px;width:100%;min-height:54px;border-radius:15px;box-shadow:0 11px 23px rgba(75,155,57,.17)}.login-submit span{font-size:18px}.login-divider{display:flex;align-items:center;gap:11px;margin:22px 0 14px;color:#9aa69e;font-size:10px;text-align:center}.login-divider:before,.login-divider:after{content:"";height:1px;flex:1;background:var(--line)}.login-new-record{display:block;width:100%;padding:12px 15px;border-radius:14px;font-size:13px}.login-new-record:hover{background:#ddf0d8}
.login-page [hidden]{display:none!important}
@keyframes login-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){.login-page{grid-template-columns:1fr;padding-top:20px}.client-login-intro{min-height:0}.client-login-card{max-width:700px;justify-self:center}}
@media(max-width:560px){.login-page{width:min(100% - 24px,1180px);padding:12px 0 25px}.client-login-intro{padding:29px 23px;border-radius:24px}.client-login-intro h1{font-size:40px}.login-purpose-card{padding:14px}.client-login-card{padding:24px 18px;border-radius:24px}.login-phone-row{display:grid;grid-template-columns:1fr}.login-continue{width:100%;min-height:50px}.login-trust-row{gap:8px 14px}.login-feature-item{padding:13px 0}}


/* Müşteri yorumları ekleri: mevcut client.css dosyasının en altına eklenebilir. */
.summary-card-button{width:100%;border:1px solid var(--line);text-align:left;color:inherit;font:inherit;cursor:pointer;transition:transform .16s,box-shadow .16s,background .16s}
.summary-card-button:hover,.summary-card-button:focus-visible{background:#f7fbf5;box-shadow:0 10px 28px rgba(35,73,40,.1);transform:translateY(-2px)}
.order-review-row{display:flex;align-items:center;justify-content:space-between;grid-column:1/-1;gap:14px;padding-top:12px;border-top:1px dashed var(--line)}
.order-review-status{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:800}
.order-review-status b,.review-stars{color:#dfa03a;letter-spacing:1px}
.receipt-review-summary{display:flex;align-items:center;justify-content:space-between;gap:14px}
.receipt-review-summary>span{color:var(--muted);font-size:12px;font-weight:800}
.receipt-review-summary b{color:#dfa03a;letter-spacing:1px}
.modal-dialog-reviews{width:min(600px,100%)}
.client-review-list{display:grid;gap:11px;margin-top:21px}
.client-review-item{padding:17px;border:1px solid var(--line);border-radius:17px;background:#fbfef9}
.client-review-item-top,.client-review-item-bottom{display:flex;align-items:center;justify-content:space-between;gap:14px}
.client-review-item-top>div{display:grid;gap:2px;min-width:0}
.client-review-item-top strong{font-size:15px}
.client-review-item p{margin:15px 0;padding-top:14px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;line-height:1.55}
.client-review-item-bottom{padding-top:11px;border-top:1px solid var(--line)}
.review-status{color:var(--green-dark);font-size:11px;font-weight:800}
.review-edit-note{margin-top:17px;padding:12px 14px;border-radius:12px;background:var(--green-soft);color:var(--green-dark);font-size:12px;line-height:1.5}
.review-dialog form{display:grid;gap:8px}
.review-dialog form label{margin-top:8px;color:var(--ink);font-size:12px;font-weight:800}
.review-dialog form select,.review-dialog form textarea{width:100%;box-sizing:border-box}
.review-dialog form textarea{min-height:120px;resize:vertical}
.review-dialog form .check{display:flex;align-items:flex-start;gap:8px;margin-top:9px;color:var(--muted);font-weight:600}
.review-dialog form .check input{width:17px;height:17px;margin-top:1px;accent-color:var(--green)}
.review-empty{margin-top:20px}
@media(max-width:560px){
    .order-review-row,.receipt-review-summary,.client-review-item-top,.client-review-item-bottom{align-items:flex-start;flex-direction:column}
    .order-review-row .text-button,.receipt-review-summary .text-button,.client-review-item-bottom .text-button{padding-left:0}
    .order-review-row .text-button,.receipt-review-summary .text-button,.client-review-item-bottom .text-button{align-self:flex-start}
}



/* Ürünler sayfası ekleri: mevcut assets/style.css dosyasının en altına eklenebilir. */
.products-page{padding-bottom:70px}
.products-page em{color:var(--green);font-style:normal}
.products-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;padding:52px 0 34px;border-bottom:1px solid var(--line)}
.products-hero h1{margin:14px 0 17px;font-size:clamp(42px,6vw,72px);line-height:1;letter-spacing:-.065em}
.products-hero p{max-width:650px;margin:0;color:var(--muted);font-size:17px;line-height:1.65}
.products-validity{min-width:230px;padding:20px;border:1px solid #d5e5d1;border-radius:19px;background:linear-gradient(145deg,#f1f8ed,#fff);box-shadow:0 8px 24px rgba(35,73,40,.05)}
.products-validity span,.products-validity strong,.products-validity small{display:block}.products-validity span{color:var(--green-dark);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.products-validity strong{margin:9px 0 5px;color:var(--ink);font-size:19px;letter-spacing:-.03em}.products-validity small{color:var(--muted);font-size:11px}
.products-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px 0 17px}
.products-search{display:flex;align-items:center;gap:10px;width:min(390px,100%);padding:12px 15px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--green-dark)}.products-search>span:first-child{font-size:23px;line-height:1}.products-search input{width:100%;border:0;outline:0;padding:0;background:transparent;color:var(--ink);font:inherit;font-size:14px}.products-search input::placeholder{color:#9ba99f}
.products-cart-bar{display:flex;align-items:center;gap:11px;padding:8px 9px 8px 12px;border:1px solid #d5e5d1;border-radius:15px;background:#f5fbf2}.cart-basket-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--green-soft);font-size:17px}.products-cart-bar>div{display:grid;gap:2px;min-width:125px}.products-cart-bar strong{font-size:13px}.products-cart-bar small{color:var(--muted);font-size:10px}.products-cart-bar form{margin:0}.products-cart-bar .button{padding:10px 12px;font-size:11px;white-space:nowrap}.products-cart-bar .button:disabled{cursor:not-allowed;opacity:.45}
.products-table-wrap{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 9px 28px rgba(35,73,40,.05)}
.products-table-head,.product-row{display:grid;grid-template-columns:64px 112px minmax(180px,1.1fr) minmax(200px,1.4fr) 125px 58px;gap:15px;align-items:center;padding:14px 20px}.products-table-head{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;background:#f7fbf5;border-bottom:1px solid var(--line)}.product-row{min-height:105px;border-bottom:1px solid var(--line);transition:background .16s}.product-row:last-child{border-bottom:0}.product-row:hover{background:#fbfef9}.product-row[hidden]{display:none}.product-number{color:var(--green-dark);font-size:13px;font-weight:800}.product-image{display:grid;place-items:center;width:94px;height:78px;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#f1f7ee,#e4eee1);color:var(--muted);font-size:10px;font-weight:700;text-align:center}.product-image img{width:100%;height:100%;object-fit:cover}.product-name{min-width:0}.product-name strong,.product-name small{display:block}.product-name strong{color:var(--ink);font-size:15px;line-height:1.3}.product-name small{margin-top:6px;color:var(--muted);font-size:10px}.product-description{display:-webkit-box;overflow:hidden;color:var(--muted);font-size:12px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:3}.product-price{color:var(--green-dark);font-size:15px;white-space:nowrap}.product-add-form{margin:0}.product-add{display:grid;place-items:center;width:39px;height:39px;border:0;border-radius:12px;background:var(--green);color:#fff;font:800 22px/1 inherit;cursor:pointer;box-shadow:0 7px 15px rgba(75,155,57,.2);transition:background .16s,transform .16s,box-shadow .16s}.product-add:hover,.product-add:focus-visible{background:var(--green-dark);transform:translateY(-2px);box-shadow:0 10px 18px rgba(35,100,42,.2)}.products-no-result{padding:30px;color:var(--muted);font-size:13px;text-align:center}.products-cart-detail{display:grid;grid-template-columns:.65fr 1.35fr;gap:40px;margin-top:35px;padding:27px;border:1px solid #d5e5d1;border-radius:22px;background:linear-gradient(110deg,#f2faef,#fff)}.products-cart-detail h2{margin:9px 0 0;font-size:30px;letter-spacing:-.06em}.cart-detail-list{display:grid;gap:0}.cart-detail-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid var(--line)}.cart-detail-row:last-child{border-bottom:0}.cart-detail-row span{display:grid;gap:4px;min-width:0}.cart-detail-row strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.cart-detail-row small{color:var(--muted);font-size:11px}.cart-detail-row form{margin:0}.cart-remove{border:0;background:none;color:#9b6d45;font:800 11px inherit;cursor:pointer}.cart-remove:hover{text-decoration:underline}
@media(max-width:1000px){.products-table-head,.product-row{grid-template-columns:45px 90px minmax(150px,1fr) minmax(150px,1.2fr) 105px 48px;gap:10px;padding-right:14px;padding-left:14px}.product-image{width:80px;height:70px}}
@media(max-width:800px){.products-hero{align-items:flex-start;flex-direction:column}.products-validity{min-width:0;width:100%;box-sizing:border-box}.products-toolbar{align-items:stretch;flex-direction:column}.products-search{width:auto}.products-cart-bar{justify-content:space-between}.products-table-head{display:none}.product-row{grid-template-columns:48px 84px minmax(0,1fr) 48px;gap:10px;padding:15px 13px}.product-row .product-description{grid-column:3/-1;grid-row:2}.product-row .product-price{grid-column:3;grid-row:3}.product-row .product-add-form{grid-column:4;grid-row:3;justify-self:end}.products-cart-detail{grid-template-columns:1fr;gap:22px}}
@media(max-width:560px){.products-hero{padding-top:32px}.products-hero h1{font-size:44px}.products-hero p{font-size:15px}.products-cart-bar{align-items:flex-start;flex-wrap:wrap}.products-cart-bar form{width:100%}.products-cart-bar .button{width:100%}.product-row{grid-template-columns:40px 72px minmax(0,1fr);gap:9px;padding:13px 11px}.product-image{width:72px;height:65px}.product-row .product-description{grid-column:3;grid-row:2}.product-row .product-price{grid-column:3;grid-row:3}.product-row .product-add-form{grid-column:3;grid-row:3;justify-self:end}.products-cart-detail{padding:21px 17px}.cart-detail-row{align-items:flex-start;flex-direction:column;gap:6px}.cart-detail-row form{align-self:flex-end}}
