.purchase-studio { width:100%; min-width:0; max-width:1480px; margin-inline:auto; display:grid; gap:24px; }
.purchase-studio__header { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-block:8px; }
.purchase-studio__header h1 { margin:6px 0 10px; font-size:clamp(1.65rem,2.5vw,2.5rem); font-weight:800; }
.purchase-studio p,.purchase-studio small { color:var(--erp-text-soft); }
.purchase-studio__header p { margin:0; }
.purchase-eyebrow { color:var(--erp-primary); font-size:.85rem; font-weight:700; }
.purchase-fieldset { border:0; padding:0; margin:0; min-width:0; }
.purchase-composer { display:grid; grid-template-columns:minmax(0,1fr) 330px; gap:24px; align-items:start; }
.purchase-composer__main { display:grid; gap:24px; min-width:0; }
.purchase-panel { background:var(--erp-surface); border:1px solid var(--erp-border); border-radius:22px; padding:26px; min-width:0; }
.purchase-section-title { display:flex; align-items:center; gap:14px; margin-bottom:24px; }
.purchase-section-title>span { display:grid; place-items:center; width:42px; height:42px; flex-shrink:0; border-radius:14px; background:var(--erp-primary-soft); color:var(--erp-primary); font-weight:800; }
.purchase-studio h2 { font-size:1.3rem; font-weight:750; margin:0 0 5px; }
.purchase-section-title p { margin:0; font-size:.9rem; }
.purchase-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.purchase-studio label { display:block; margin-bottom:8px; font-weight:650; }
.purchase-studio .form-control { min-height:46px; border-radius:12px; }
.purchase-rate { display:flex; flex-direction:column; justify-content:center; gap:7px; color:var(--erp-text-soft); }
.purchase-rate strong { align-self:start; color:var(--erp-text); }
.purchase-entry__fields { margin-top:20px; }
.purchase-selection { display:flex; flex-wrap:wrap; gap:10px 20px; padding:14px; margin-top:14px; background:var(--erp-primary-soft); border-radius:12px; font-size:.85rem; }
.purchase-selection strong { color:var(--erp-primary); }
.purchase-entry__footer { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; margin-block:20px 30px; }
.purchase-entry__footer>span { color:var(--erp-text-soft); font-size:.85rem; }
.purchase-lines-heading { display:flex; justify-content:space-between; border-top:1px solid var(--erp-border); padding-top:24px; }
.purchase-lines-heading h3 { font-size:1.1rem; }
.purchase-lines-heading>span { color:var(--erp-primary); }
.purchase-empty { padding:40px 16px; text-align:center; display:grid; gap:10px; }
.purchase-empty i { font-size:2rem; color:var(--erp-primary); margin-bottom:6px; }
.purchase-empty p { margin:0; }
.purchase-table-scroll { position:relative; overflow-x:auto; margin-top:16px; }
.purchase-studio table { width:100%; min-width:650px; }
.purchase-studio td small { display:block; margin-top:5px; font-size:.8rem; }
.purchase-amount { color:var(--erp-primary); font-weight:750; font-variant-numeric:tabular-nums; }
.purchase-summary { position:sticky; top:20px; display:grid; gap:16px; }
.purchase-summary>p { margin:0; }
.purchase-summary label { margin:0; }
.purchase-summary__row { display:flex; justify-content:space-between; gap:12px; font-variant-numeric:tabular-nums; }
.purchase-summary__net { display:grid; gap:8px; padding:22px 18px; border-radius:16px; background:var(--erp-primary-soft); }
.purchase-summary__net>strong { color:var(--erp-primary-strong); font-size:1.85rem; overflow-wrap:anywhere; }
.purchase-summary__net>strong small { font-size:.8rem; color:inherit; }
.purchase-hint { padding:13px; border:1px solid var(--erp-border); border-radius:12px; color:var(--erp-text-soft); font-size:.85rem; line-height:1.8; }
.purchase-save { width:100%; min-height:50px; font-weight:750; }
.purchase-upload { color:var(--erp-primary); margin-top:20px; }
.purchase-attachment { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:10px; overflow-wrap:anywhere; }
.purchase-studio .table-card { width:100%; overflow-x:auto; border-radius:22px; }
.purchase-studio .dashboard-grid { width:100%; }
@media(max-width:1100px) { .purchase-composer { grid-template-columns:minmax(0,1fr) 290px; gap:16px; } .purchase-panel { padding:20px; } }
@media(max-width:850px) { .purchase-composer { grid-template-columns:1fr; } .purchase-summary { position:static; } .purchase-studio__header { align-items:start; flex-wrap:wrap; } }
@media(max-width:520px) { .purchase-grid { grid-template-columns:1fr; gap:16px; } .purchase-panel { padding:18px; border-radius:18px; } .purchase-studio { gap:18px; } .purchase-entry__footer button { width:100%; } }
.purchase-invoice-link { color:var(--erp-primary); text-decoration:none; font-weight:750; }
.purchase-register__actions { display:flex; gap:8px; flex-wrap:wrap; }
.purchase-register { min-width:1000px!important; }
.purchase-filters { grid-template-columns:repeat(5,minmax(0,1fr)); margin-top:20px; }
@media(max-width:1100px) { .purchase-filters { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .purchase-filters { grid-template-columns:1fr; } }
