:root{--ink:#17212b;--muted:#64748b;--line:#dce4e9;--surface:#fff;--canvas:#f4f7f8;--brand:#087f73;--brand-dark:#07685f;--brand-soft:#e8f6f3;--danger:#b42318;--shadow:0 10px 30px rgba(15,23,42,.07);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}.optional{font-weight:400;color:var(--muted)}
*{box-sizing:border-box}body{margin:0;background:var(--canvas)}a{color:var(--brand);text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,p{margin-top:0}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1440px)/2));position:sticky;top:0;z-index:20}.brand,.auth-brand{display:flex;gap:12px;align-items:center;color:var(--ink)}.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--brand);color:white;font-size:22px;font-weight:800}.brand strong,.auth-brand strong{display:block}.brand small,.auth-brand small{display:block;color:var(--muted);font-size:11px;margin-top:1px}.topbar nav{display:flex;align-items:center;gap:18px;font-size:14px}.user-name{color:var(--muted);padding-left:12px;border-left:1px solid var(--line)}.page{max-width:1440px;margin:0 auto;padding:32px 24px 70px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.page-heading h1{font-size:28px;margin-bottom:5px;letter-spacing:-.03em}.eyebrow{text-transform:uppercase;color:var(--brand);font-weight:750;font-size:11px;letter-spacing:.12em;margin-bottom:7px}.subtle{color:var(--muted);font-size:14px;margin-bottom:0}.heading-actions,.bottom-actions{display:flex;gap:10px;align-items:center}.sticky-heading{position:relative}.button{border:1px solid transparent;border-radius:9px;padding:10px 16px;font-weight:680;display:inline-flex;align-items:center;justify-content:center;transition:.15s}.button-primary{color:#fff;background:var(--brand)}.button-primary:hover{background:var(--brand-dark)}.button-secondary{color:var(--brand);background:var(--brand-soft);border-color:#c9eae4}.button-ghost{color:var(--ink);background:#fff;border-color:var(--line)}.button-small{padding:8px 12px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.table-toolbar{padding:16px 18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-end}.search{max-width:420px;width:100%}.search span{font-size:12px;font-weight:700;display:block;margin-bottom:6px}.count{font-size:13px;color:var(--muted)}.table-wrap{overflow:auto}.data-table,.product-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}.data-table th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em;background:#f9fbfb}.data-table td small{display:block;color:var(--muted);margin-top:3px}.data-table tbody tr:hover{background:#fbfdfd}.actions{display:flex;align-items:center;gap:11px;white-space:nowrap}.actions form{display:inline}.link-danger{border:0;background:none;color:var(--danger);padding:0}.empty{text-align:center!important;padding:60px!important;color:var(--muted)}code{font-family:ui-monospace,monospace;font-size:11px}.alert{padding:12px 14px;border-radius:10px;margin-bottom:18px;font-size:14px}.alert-error{color:#8b1d16;background:#fff0ee;border:1px solid #facac4}.alert-success{color:#075e54;background:#eaf9f5;border:1px solid #bce9de}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 20% 20%,#dff6f1,transparent 35%),radial-gradient(circle at 80% 85%,#e8efff,transparent 35%),#f7faf9}.auth-card{width:min(430px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 80px rgba(15,23,42,.12)}.auth-card-wide{width:min(680px,100%)}.auth-brand{margin-bottom:30px}.auth-card h1{font-size:27px;margin-bottom:7px}.stack{display:grid;gap:16px;margin-top:24px}.auth-link{text-align:center;font-size:13px;color:var(--muted);margin:22px 0 0}
.form-section{padding:23px;margin-bottom:18px}.section-title{display:flex;gap:12px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:20px}.section-title>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:var(--brand-soft);color:var(--brand);font-weight:800}.section-title h2{font-size:17px;margin:1px 0 3px}.section-title p{font-size:12px;color:var(--muted);margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.form-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.span-2{grid-column:span 2}label{font-size:12px;font-weight:680;color:#334155;display:block}input,select,textarea{display:block;width:100%;border:1px solid #cbd5e1;background:#fff;color:var(--ink);border-radius:8px;padding:10px 11px;margin-top:6px;outline:0}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(8,127,115,.12)}textarea{resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px}.custom-value{display:none}.custom-value.visible{display:block}.check{display:flex;align-items:center;gap:8px;font-weight:500}.check input{width:auto;margin:0}.check-block>span{display:flex;align-items:center;gap:8px}.check-block input{width:auto;margin:0}.suggestions{position:absolute;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow);z-index:10;max-height:250px;overflow:auto;display:none}.suggestions.visible{display:block}.suggestions button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:#fff;padding:10px}.suggestions button:hover{background:var(--brand-soft)}
.product-toolbar{display:flex;gap:10px;align-items:center;margin-bottom:14px}.product-total{margin-left:auto}.product-table{min-width:1050px}.product-table th{font-size:11px;text-transform:uppercase;color:var(--muted);background:#f8fafc;text-align:left;padding:9px;border:1px solid var(--line)}.product-table td{border:1px solid var(--line);padding:5px;vertical-align:top}.product-table input,.product-table textarea{border:0;border-radius:4px;margin:0;padding:7px;min-width:65px}.product-table textarea{height:52px}.product-table .product-name{min-width:230px}.product-table .description{min-width:200px}.model-price-table .model2-only,.model-price-table .product-total{display:none}.model-price-table .product-table{min-width:700px}.row-actions{display:flex;gap:3px}.icon-button{width:30px;height:30px;border-radius:7px;border:1px solid var(--line);background:#fff;color:var(--ink)}.icon-button.danger{color:var(--danger)}.options-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:17px}.bottom-actions{justify-content:flex-end;margin-top:24px}
dialog{width:min(1000px,calc(100vw - 30px));max-height:88vh;border:0;border-radius:15px;padding:0;box-shadow:0 30px 90px rgba(15,23,42,.25)}dialog::backdrop{background:rgba(15,23,42,.56)}.dialog-header,.dialog-footer{padding:18px 21px;display:flex;justify-content:space-between;align-items:center}.dialog-header{border-bottom:1px solid var(--line)}.dialog-header h2{font-size:19px;margin-bottom:3px}.dialog-header p{font-size:12px;color:var(--muted);margin:0}.dialog-header button{border:0;background:none;font-size:27px}.catalog-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;padding:14px 21px}.catalog-list{padding:0 21px;max-height:52vh;overflow:auto}.catalog-item{display:grid;grid-template-columns:28px 1fr 130px;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:10px 4px}.catalog-item input{width:auto;margin:0}.catalog-item small{display:block;color:var(--muted);margin-top:2px}.catalog-price{text-align:right}.dialog-footer{border-top:1px solid var(--line);justify-content:flex-end;gap:10px}.dialog-spacer{flex:1}.hidden{display:none!important}
@media(max-width:900px){.topbar{padding:0 16px}.user-name{display:none}.page{padding:22px 14px 55px}.page-heading{align-items:flex-start;flex-direction:column}.sticky-heading .heading-actions{width:100%;overflow:auto}.form-grid,.form-grid-3,.form-grid-4{grid-template-columns:1fr}.span-2{grid-column:span 1}.options-grid{grid-template-columns:1fr 1fr}.catalog-filters{grid-template-columns:1fr}.topbar nav>a:first-child{display:none}}
@media(max-width:560px){.topbar nav{gap:8px}.brand small{display:none}.options-grid{grid-template-columns:1fr}.heading-actions .button-ghost{display:none}.form-section{padding:17px}.product-toolbar{flex-wrap:wrap}.product-total{width:100%;margin:8px 0 0}.bottom-actions{flex-wrap:wrap}.bottom-actions .button{flex:1}.auth-card{padding:24px}}

/* Proposta: preserva a estrutura funcional 20/80 do sistema original. */
.page{max-width:none;width:100%;padding:32px clamp(18px,2.2vw,48px) 70px}
.topbar{padding-left:clamp(18px,2.2vw,48px);padding-right:clamp(18px,2.2vw,48px)}
.proposal-workspace{display:grid;grid-template-columns:minmax(360px,1fr) minmax(0,4fr);gap:18px;align-items:start}
.proposal-sidebar{min-width:0}
.proposal-sidebar .form-section{padding:18px;margin-bottom:14px}
.proposal-sidebar .section-title{padding-bottom:13px;margin-bottom:15px}
.proposal-sidebar .form-grid{grid-template-columns:1fr;gap:13px}
.proposal-sidebar .span-2{grid-column:auto}
.proposal-sidebar textarea{min-height:76px}
.product-workspace{min-width:0;min-height:calc(100vh - 220px);margin-bottom:0}
.catalog-steps{display:flex;align-items:center;gap:10px;padding-bottom:13px;border-bottom:1px solid var(--line)}
.catalog-steps .button-secondary span{display:grid;place-items:center;width:21px;height:21px;border-radius:7px;background:var(--brand);color:#fff;margin-right:8px}
.selection-summary{font-size:13px;color:var(--muted)}
.catalog-steps [data-add-product]{margin-left:auto}
.price-toolbar{display:flex;align-items:center;gap:8px;padding:12px 0}
.price-toolbar strong{font-size:12px;color:#334155;margin-right:3px}
.button-compact{padding:7px 11px;font-size:12px}
.product-feedback{display:none;border-radius:9px;padding:10px 12px;margin-bottom:12px;font-size:13px}
.product-feedback.visible{display:block}
.product-feedback.success{background:#eaf9f5;color:#075e54;border:1px solid #bce9de}
.product-feedback.error{background:#fff0ee;color:#8b1d16;border:1px solid #facac4}
.product-model.hidden{display:none}
.product-table-model2{min-width:1120px}
.product-table-model1{min-width:760px}
.product-table .actions-column{text-align:center;width:76px}
.product-table .action-cell{width:38px;text-align:center;vertical-align:middle}
.product-table .action-cell .icon-button{margin:auto}
.product-table input[readonly]{background:#f1f5f9;color:#334155;cursor:default}
.product-table .item-number{min-width:62px}
.product-table .unit{min-width:74px}
.product-table .quantity,.product-table .unit-price{min-width:105px}
.product-table .subtotal{min-width:105px;padding:13px 9px;text-align:right;font-weight:700;white-space:nowrap}
.product-footer{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-top:14px}
.total-box{display:grid;grid-template-columns:auto auto;gap:3px 12px;text-align:right;align-items:center}
.total-box span{font-size:12px;color:var(--muted)}
.total-box strong{font-size:20px}
.total-box .button{grid-column:1/-1;margin-top:5px}
.model-note{margin-top:14px}
.product-empty{border:1px dashed #b8c7cf;background:#f9fbfb;border-radius:10px;padding:48px 20px;text-align:center;color:var(--muted);margin-top:14px}

#product-dialog{width:min(1060px,calc(100vw - 32px));height:min(720px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);overflow:hidden}
#product-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.catalog-layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:0;max-height:none;overflow:hidden}
.supplier-panel{border-right:1px solid var(--line);padding:16px 18px;min-height:0;display:flex;flex-direction:column}
.products-panel{padding:16px 20px;min-width:0;min-height:0;display:flex;flex-direction:column}
.catalog-pane-heading{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.catalog-pane-heading>span{width:27px;height:27px;display:grid;place-items:center;border-radius:8px;background:var(--brand-soft);color:var(--brand);font-weight:800}
.catalog-pane-heading strong,.catalog-pane-heading small{display:block}
.catalog-pane-heading small{font-weight:400;color:var(--muted);font-size:11px;margin-top:2px}
.catalog-select-all{display:flex;align-items:center;gap:7px;padding:9px;border-radius:8px;background:#f8fafc;margin-bottom:8px}
.catalog-select-all input,.supplier-list input{width:auto;margin:0}
.supplier-list{overflow:auto;min-height:0;padding-right:4px}
.supplier-list label{display:flex;align-items:center;gap:8px;padding:8px 7px;border-bottom:1px solid #edf1f3;font-weight:550}
.supplier-list label:hover{background:var(--brand-soft)}
.products-panel .catalog-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:0 0 12px}
.products-panel .catalog-filters input{margin:0}
.products-panel .catalog-list{padding:0;max-height:none;min-height:0;flex:1;overflow:auto;border:1px solid var(--line);border-radius:9px;scrollbar-gutter:stable}
.catalog-item{cursor:pointer;padding:8px 12px;min-height:48px;grid-template-columns:28px minmax(0,1fr)}
.catalog-item:hover,.catalog-item.selected{background:var(--brand-soft)}
.catalog-empty{display:grid;place-items:center;min-height:240px;text-align:center;padding:30px;color:var(--muted)}
.catalog-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;color:var(--muted);font-size:12px}
.catalog-page-meta{display:flex;align-items:center;gap:14px;min-width:0}
.catalog-page-size{display:flex;align-items:center;gap:7px;white-space:nowrap;color:var(--muted);font-size:12px}
.catalog-page-size select{width:auto;min-width:68px;margin:0;padding:6px 28px 6px 9px;border-radius:7px;font-size:12px}
.catalog-page-controls,.catalog-page-controls>span{display:flex;align-items:center;gap:5px}
.catalog-page-nav,.catalog-page-number{display:grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-weight:700}
.catalog-page-nav{font-size:20px;line-height:1}
.catalog-page-number:hover,.catalog-page-nav:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}
.catalog-page-number.active{background:var(--brand);border-color:var(--brand);color:#fff}
.catalog-page-nav:disabled{opacity:.4;cursor:not-allowed}
.catalog-page-gap{padding:0 2px;color:var(--muted)}
.selected-count{font-size:13px;font-weight:700;color:var(--brand)}

@media(max-width:1100px){
  .proposal-workspace{grid-template-columns:1fr}
  .proposal-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .proposal-sidebar .form-section{margin-bottom:0}
  .proposal-sidebar .form-section:last-child{grid-column:1/-1}
}
@media(max-width:760px){
  .proposal-sidebar{grid-template-columns:1fr}
  .proposal-sidebar .form-section:last-child{grid-column:auto}
  .catalog-steps,.price-toolbar{flex-wrap:wrap}
  .catalog-steps [data-add-product]{margin-left:0}
  .selection-summary{width:100%;order:3}
  #product-dialog{width:calc(100vw - 18px);height:calc(100dvh - 18px);max-height:calc(100dvh - 18px)}
  .catalog-layout{grid-template-columns:1fr;grid-template-rows:minmax(125px,30%) minmax(0,1fr);max-height:none}
  .supplier-panel{border-right:0;border-bottom:1px solid var(--line);max-height:none;padding:12px 14px}
  .products-panel{min-height:0;padding:12px 14px}
  .products-panel .catalog-filters{grid-template-columns:minmax(0,1fr) auto;gap:7px;padding-bottom:8px}
  .products-panel .catalog-filters .button{padding-left:10px;padding-right:10px}
  .catalog-item{min-height:44px;padding:6px 9px}
  .catalog-pagination{padding-top:8px}
  .catalog-page-meta{align-items:flex-start;flex-direction:column;gap:4px}
  .catalog-page-size{font-size:11px}
  .catalog-page-number{display:none}
  .catalog-page-number.active{display:grid}
  #product-dialog .dialog-header{padding:12px 14px}
  #product-dialog .dialog-header p{display:none}
  #product-dialog .dialog-footer{padding:10px 14px;flex-wrap:wrap}
  #product-dialog .dialog-footer .selected-count{width:100%}
  #product-dialog .dialog-footer .dialog-spacer{display:none}
  #product-dialog .dialog-footer .button{flex:1}
}

/* Central de propostas */
.proposal-index{--list-accent:#087f73;--list-accent-dark:#075f57;--list-soft:#e8f6f3;max-width:1920px;margin:0 auto}
.proposal-index-heading{align-items:center;margin-bottom:22px}
.proposal-index-heading h1{font-size:clamp(28px,2vw,38px);line-height:1.08;margin-bottom:7px}
.button-new-proposal{min-height:46px;padding:0 19px;gap:9px;box-shadow:0 9px 22px rgba(8,127,115,.2)}
.button-new-proposal svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.proposal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.metric-card{background:#fff;border:1px solid #dfe8eb;border-radius:16px;padding:18px;display:flex;align-items:center;gap:15px;min-width:0;box-shadow:0 7px 22px rgba(15,23,42,.045)}
.metric-icon{width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;color:var(--list-accent);background:var(--list-soft)}
.metric-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.metric-card>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:baseline;min-width:0}
.metric-card small{grid-column:1/-1;color:#64748b;font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.055em;margin-bottom:2px}
.metric-card strong{font-size:25px;letter-spacing:-.04em;color:#13232f}
.metric-card div span{font-size:12px;color:#7a8998;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.metric-total{background:linear-gradient(135deg,#087f73,#0a6c64);border-color:transparent;color:#fff}
.metric-total .metric-icon{color:#fff;background:rgba(255,255,255,.15)}
.metric-total small,.metric-total strong,.metric-total div span{color:#fff}
.metric-total div span{opacity:.75}
.proposal-list-card{border-radius:18px;overflow:hidden;box-shadow:0 14px 38px rgba(15,23,42,.07)}
.proposal-filters{padding:18px;display:grid;grid-template-columns:minmax(320px,1.55fr) repeat(3,minmax(180px,1fr)) auto;gap:12px;align-items:end;background:linear-gradient(180deg,#fff,#fbfdfd);border-bottom:1px solid var(--line)}
.proposal-filters label>span{display:block;margin-bottom:7px;color:#475569;font-size:11px;text-transform:uppercase;letter-spacing:.045em}
.proposal-filters input,.proposal-filters select{height:42px;margin:0;border-radius:10px;border-color:#d5e0e5;background-color:#fff}
.proposal-filters select{white-space:nowrap;text-overflow:ellipsis}
.proposal-search{min-width:0}
.search-control{position:relative}
.search-control svg{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:19px;height:19px;fill:none;stroke:#7b8a99;stroke-width:1.8;stroke-linecap:round;pointer-events:none}
.search-control input{padding-left:41px}
.filter-actions{display:flex;gap:8px;align-items:center}
.filter-actions .button{height:42px;white-space:nowrap}
.proposal-list-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px 14px}
.proposal-list-heading h2{font-size:17px;margin:0 0 3px}
.proposal-list-heading p{font-size:12px;color:var(--muted);margin:0}
.proposal-list-heading .count{display:inline-flex;align-items:center;border:1px solid #cfe3e0;border-radius:999px;background:var(--list-soft);color:var(--list-accent-dark);padding:7px 11px;font-weight:750}
.proposal-table-wrap{border-top:1px solid var(--line)}
.proposal-data-table{table-layout:fixed}
.proposal-data-table th,.proposal-data-table td{padding:14px 13px}
.proposal-data-table th{position:sticky;top:0;z-index:2;background:#f6f9fa;color:#64748b;border-bottom:1px solid #cfdae0}
.proposal-data-table th:nth-child(1){width:25%}.proposal-data-table th:nth-child(2){width:14%}.proposal-data-table th:nth-child(3){width:23%}.proposal-data-table th:nth-child(4){width:13%}.proposal-data-table th:nth-child(5){width:9%}.proposal-data-table th:nth-child(6){width:285px}
.proposal-data-table tbody tr{transition:background .14s,box-shadow .14s}
.proposal-data-table tbody tr:hover{background:#f7fcfb;box-shadow:inset 3px 0 0 var(--list-accent)}
.client-cell strong{display:block;font-size:13px;line-height:1.3;color:#17212b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:6px}
.client-badge{display:inline-flex;align-items:center;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.03em}
.client-badge.public{color:#075e54;background:#e4f6f2}.client-badge.private{color:#41526b;background:#edf2f7}
.proposal-id-cell code{display:block;width:max-content;padding:4px 7px;border-radius:6px;background:#f1f5f7;color:#334155;font-weight:700}
.proposal-id-cell small{margin-top:6px!important;font-size:10px}
.company-cell span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35;font-weight:570;color:#354454}
.type-cell span{display:inline-block;color:#485869;font-size:11px;font-weight:700;line-height:1.3;text-transform:uppercase}
.numeric{text-align:right!important;font-variant-numeric:tabular-nums}.value-cell strong{font-size:13px;white-space:nowrap}.no-value{color:#64748b;font-size:11px;font-weight:700}
.proposal-actions{display:flex;gap:5px;align-items:center;white-space:nowrap}
.proposal-actions form{margin:0}
.table-action{height:34px;display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:0 8px;border:1px solid #d8e1e6;border-radius:8px;background:#fff;color:#405162;font-size:11px;font-weight:730;line-height:1;transition:.14s}
.table-action:hover{color:var(--list-accent);border-color:#a9d8d1;background:#f2fbf9;transform:translateY(-1px)}
.table-action.pdf{color:#fff;background:var(--list-accent);border-color:var(--list-accent)}
.table-action.pdf:hover{color:#fff;background:var(--list-accent-dark)}
button.table-action{font:inherit;font-size:11px;font-weight:730}
.table-action.danger{color:#b42318}.table-action.danger:hover{color:#9a1c13;border-color:#f2bbb5;background:#fff3f1}
.table-action svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.proposal-empty{height:330px}.proposal-empty>span{display:block;font-size:38px;color:#9cabb7;margin-bottom:10px}.proposal-empty strong,.proposal-empty small{display:block}.proposal-empty strong{font-size:16px;color:#344454;margin-bottom:5px}.proposal-empty a{display:inline-block;margin-top:12px;font-weight:750}
.proposal-pagination{min-height:64px;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);background:#fbfcfd;color:#64748b;font-size:12px}
.proposal-pagination>div,.proposal-pagination nav{display:flex;align-items:center;gap:12px}
.proposal-pagination label{display:flex;align-items:center;gap:7px;font-size:11px;color:#64748b;font-weight:600}
.proposal-pagination select{width:68px;height:34px;margin:0;padding:5px 8px;border-radius:8px}
.page-button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #d4dfe4;border-radius:9px;background:#fff;color:#344454;font-size:21px;font-weight:600}
.page-button:hover{border-color:#9ecfc8;color:var(--list-accent)}.page-button.disabled{opacity:.38;pointer-events:none}

@media(max-width:1450px){
  .proposal-filters{grid-template-columns:minmax(300px,1.4fr) repeat(2,minmax(180px,1fr)) auto}
  .proposal-filters label:nth-of-type(4){grid-column:1/3}
  .proposal-data-table th:nth-child(1){width:23%}.proposal-data-table th:nth-child(3){width:21%}
}
@media(max-width:1100px){
  .proposal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proposal-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proposal-filters label:nth-of-type(4){grid-column:auto}
  .filter-actions{justify-content:flex-end}
  .proposal-data-table{min-width:1220px}
}
@media(max-width:720px){
  .proposal-index-heading{align-items:flex-start}.button-new-proposal{width:100%}
  .proposal-metrics{grid-template-columns:1fr 1fr}.metric-card{padding:14px;gap:10px}.metric-icon{width:38px;height:38px}.metric-card strong{font-size:21px}.metric-card div span{display:none}
  .proposal-filters{grid-template-columns:1fr}.filter-actions{justify-content:stretch}.filter-actions .button{flex:1}
  .proposal-list-heading{align-items:flex-start}.proposal-list-heading .count{flex:0 0 auto}
  .proposal-table-wrap{overflow:visible}.proposal-data-table{display:block;min-width:0;padding:0 12px 12px}.proposal-data-table thead{display:none}.proposal-data-table tbody{display:grid;gap:12px}.proposal-data-table tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#fff}.proposal-data-table td{display:block;border:0;padding:11px 12px}.proposal-data-table td:before{content:attr(data-label);display:block;margin-bottom:5px;color:#7b8997;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
  .client-cell,.company-cell,.proposal-actions{grid-column:1/-1}.client-cell{background:#f8fbfb}.client-cell strong{white-space:normal}.company-cell{border-top:1px solid #edf1f3!important}.proposal-actions{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #edf1f3!important}.proposal-actions form,.proposal-actions .table-action{width:100%}.table-action{padding:0 5px}.value-cell{text-align:left!important}
  .proposal-pagination{align-items:flex-start;flex-direction:column}.proposal-pagination nav{width:100%;justify-content:space-between}
}
@media(max-width:480px){.proposal-metrics{grid-template-columns:1fr}.proposal-actions{grid-template-columns:1fr 1fr}}
