/* POS-X HF05DT · Finance > Product Guarantee. Scoped visual refresh, no business logic changes. */
.guarantee-v2{gap:13px!important;color:#183b31;max-width:100%;min-width:0}
.guarantee-v2 *{box-sizing:border-box}
.guarantee-v2 .guarantee-v2-head{position:relative;display:flex;justify-content:space-between;align-items:center;overflow:hidden;border:1px solid #dfebe5;border-radius:13px;background:#fff;padding:17px 24px!important;min-height:103px;box-shadow:0 5px 16px rgba(24,60,48,.045)}
.guarantee-v2-head .ops-page-kicker{font-size:10px;letter-spacing:.09em;font-weight:900;color:#087456}
.guarantee-v2-head h1{font-size:26px;font-weight:850;line-height:1.25;margin:3px 0 4px!important;color:#0d3028}
.guarantee-v2-head p{font-size:12px;color:#658077;margin:0!important}
.guarantee-v2-head-art{height:82px;width:132px;display:flex;align-items:center;justify-content:center;isolation:isolate;margin:-11px -6px -11px 0;position:relative;border-radius:25px;background:linear-gradient(110deg,#f2faf6,#e3f4ec);color:#a0c8b8;font-size:56px}
.guarantee-v2-head-art b{position:absolute;right:25px;bottom:14px;display:grid;place-items:center;border-radius:50%;width:43px;height:43px;background:#0a7554;color:#fff;font-size:23px;box-shadow:0 3px 10px #3b987353}
.guarantee-v2 .guarantee-focus-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.guarantee-v2 .guarantee-focus-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;grid-template-areas:'ico name number' 'ico name arrow';column-gap:10px;row-gap:4px;min-height:83px;padding:13px 13px!important;border:1px solid #d8eee5!important;border-radius:11px;background:linear-gradient(130deg,#f3fcf8,#fbfefc);box-shadow:0 4px 13px rgba(15,75,49,.035);text-align:left}
.guarantee-v2 .guarantee-focus-card .gv2-icon{grid-area:ico;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#c9f4e2;color:#00845a;font-size:24px;font-weight:800;line-height:1}
.guarantee-v2 .guarantee-focus-card .gv2-kpi-label{grid-area:name;display:block!important;min-width:0;font-size:13px;font-weight:850;color:#173c32}
.guarantee-v2 .gv2-kpi-label small{display:block;margin-top:5px;font-size:10px;font-weight:500;color:#789287;white-space:normal}
.guarantee-v2 .guarantee-focus-card strong{grid-area:number;font-size:24px;justify-self:end;align-self:center;min-width:20px;color:#00674a}
.guarantee-v2 .guarantee-focus-card .gv2-chevron{grid-area:arrow;justify-self:end;color:#1b9366;font-size:21px;line-height:1}
.guarantee-v2 .guarantee-focus-card.soon{background:linear-gradient(130deg,#fffaf0,#fffefd);border-color:#f7e6bf!important}
.guarantee-v2 .guarantee-focus-card.soon .gv2-icon{background:#fff0d4;color:#ba7b08}
.guarantee-v2 .guarantee-focus-card.soon strong{color:#99630c}
.guarantee-v2 .guarantee-focus-card.today{background:linear-gradient(130deg,#f0f7ff,#fbfdff);border-color:#c9e1ff!important}
.guarantee-v2 .guarantee-focus-card.today .gv2-icon{background:#d8ecff;color:#2369ae}
.guarantee-v2 .guarantee-focus-card.today strong{color:#15598f}
.guarantee-v2 .guarantee-focus-card.overdue{background:linear-gradient(130deg,#fff4f5,#fffafd);border-color:#f9d2d7!important}
.guarantee-v2 .guarantee-focus-card.overdue .gv2-icon{background:#ffdade;color:#d53640}
.guarantee-v2 .guarantee-focus-card.overdue strong{color:#bc1e2c}
.guarantee-v2 .guarantee-focus-card.complete{background:linear-gradient(130deg,#f2fcf7,#fbfdfc);border-color:#d6eee3!important}
.guarantee-v2 .guarantee-focus-card.complete .gv2-icon{background:#c6f3dd;color:#087c52}
.guarantee-v2 .guarantee-focus-card.active{outline:2px solid #0c805c;outline-offset:1px;box-shadow:0 0 0 4px #0c805c10}
.guarantee-v2 .guarantee-workbar{display:grid!important;grid-template-columns:minmax(0,1fr);gap:14px;align-items:stretch;padding:15px 17px!important;border:1px solid #deebe5;border-radius:12px;box-shadow:0 5px 15px #16463607;background:#fff}
.guarantee-v2 .gv2-filter-primary{display:grid;grid-template-columns:minmax(260px,1.13fr) minmax(225px,.92fr) minmax(340px,1.52fr);gap:14px;align-items:end}
.guarantee-v2 .gv2-filter-secondary{display:grid;grid-template-columns:minmax(320px,1fr) auto auto minmax(174px,auto);gap:11px;align-items:end}
.guarantee-v2 .guarantee-search,.guarantee-v2 .guarantee-branch-filter{min-width:0}
.guarantee-v2 .guarantee-search>span,.guarantee-v2 .guarantee-field>span,.guarantee-v2 .gv2-field-label{display:block;color:#334b42;font-size:11px;font-weight:800;margin-bottom:5px}
.guarantee-v2 .guarantee-search input,.guarantee-v2 .guarantee-branch-filter select,.guarantee-v2 .gv2-date-pair input,.guarantee-v2 .guarantee-advanced-filters select{width:100%;height:40px;border:1px solid #d6e2dd;border-radius:8px;background:#fff;padding:0 11px;color:#30473f;font-size:12px;outline-offset:2px}
.guarantee-v2 .guarantee-search .gv2-input-icon{position:relative;display:block}
.guarantee-v2 .guarantee-search .gv2-input-icon i{position:absolute;z-index:1;left:11px;top:5px;font-size:25px;font-style:normal;color:#738a82}
.guarantee-v2 .guarantee-search .gv2-input-icon input{padding-left:35px}
.guarantee-v2 .gv2-chips{display:flex;gap:6px;flex-wrap:nowrap;min-height:40px;align-items:center}
.guarantee-v2 .gv2-chips button{white-space:nowrap;cursor:pointer;font-weight:650;font-size:11px;height:37px;border:1px solid #dbe6e1;background:#f8faf9;color:#3b5148;border-radius:9px;padding:0 11px}
.guarantee-v2 .gv2-chips button.active{background:linear-gradient(110deg,#057f5b,#045d47);color:white;border-color:#08785a;box-shadow:0 2px 6px #187c5a25}
.guarantee-v2 .gv2-date-pair{display:flex;align-items:center;gap:9px}
.guarantee-v2 .gv2-date-pair input{flex:1;min-width:130px;font-family:inherit}
.guarantee-v2 .gv2-date-pair span{font-size:11px;color:#708278}
.guarantee-v2 .guarantee-btn{height:40px;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;padding:0 13px;border-radius:9px;border-color:#dce6e1;background:#fff;color:#274238;font-size:11.5px;font-weight:750}
.guarantee-v2 .guarantee-btn.primary{background:linear-gradient(110deg,#006b50,#003f36);border-color:#00654c;color:white;box-shadow:0 3px 7px #054b3e16}
.guarantee-v2 .guarantee-btn.success{background:#10744f;color:white;border-color:#10744f}
.guarantee-v2 .guarantee-btn:disabled,.guarantee-v2 .gv2-pagination button:disabled{opacity:.45;cursor:not-allowed}
.guarantee-v2 .guarantee-advanced-filters{padding:12px 17px!important;border-radius:11px}
.guarantee-v2 .guarantee-advanced-filters[hidden]{display:none!important}
.guarantee-v2 .guarantee-advanced-filters .guarantee-toolbar{display:flex!important;align-items:end;gap:30px}
.guarantee-v2 .guarantee-advanced-filters .guarantee-toolbar label{width:240px}
.guarantee-v2 .guarantee-filter-note{justify-content:flex-start}
.guarantee-v2 .gv2-balance-strip{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 18px;background:linear-gradient(90deg,#f0faf6,#f5fcf9);border:1px solid #d1e9de;border-radius:12px}
.guarantee-v2 .gv2-balance-icon{display:grid;place-items:center;width:41px;height:41px;flex:none;border-radius:50%;color:#007f58;background:#d3f4e5;font-size:26px}
.guarantee-v2 .gv2-balance-strip>div{display:flex;flex-direction:column;gap:3px;min-width:200px}
.guarantee-v2 .gv2-balance-strip b{font-size:13px;color:#153d32}
.guarantee-v2 .gv2-balance-strip small{font-size:10px;color:#70877d}
.guarantee-v2 .gv2-balance-strip strong{padding-left:25px;border-left:1px solid #bfdfd0;font-size:24px;color:#006d4c}
.guarantee-v2 .guarantee-work-table{max-height:none!important;overflow:hidden!important;padding:0!important;border-radius:12px;box-shadow:0 5px 15px #184b3308}
.guarantee-v2 .gv2-table-head{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:56px;padding:9px 14px}
.guarantee-v2 .gv2-table-head h2{display:flex;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:800;color:#1b3c32}
.guarantee-v2 .gv2-table-head h2 span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;color:#087e59;background:#d7f3e7;font-size:20px}
.guarantee-v2 .gv2-table-tools{display:flex;align-items:center;gap:10px}
.guarantee-v2 .gv2-table-tools .guarantee-btn{height:34px}
.guarantee-v2 .gv2-count{font-size:11px;color:#73857e}
.guarantee-v2 .gv2-table-scroll{width:100%;overflow:auto;max-height:min(59vh,720px)}
.guarantee-v2 .guarantee-table{min-width:1190px!important;width:100%;border-collapse:collapse;table-layout:auto}
.guarantee-v2 .guarantee-table th{position:sticky;top:0;z-index:1;height:42px!important;background:#eaf6ef;color:#486459;font-size:11px;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #dbede2;padding:9px!important}
.guarantee-v2 .guarantee-table th button{appearance:none;border:0;background:transparent;font:inherit;color:inherit;font-weight:700;cursor:pointer;padding:0;text-align:left}
.guarantee-v2 .guarantee-table td{padding:10px 9px!important;vertical-align:middle!important;font-size:11.5px;border-bottom:1px solid #edf3ef}
.guarantee-v2 .guarantee-table td small{display:block;margin-top:5px;color:#70877d;font-size:10px}
.guarantee-v2 .guarantee-table .gv2-check-cell{width:38px;min-width:38px;text-align:center}
.guarantee-v2 .guarantee-table input[type=checkbox]{accent-color:#0c805c;width:15px;height:15px;cursor:pointer}
.guarantee-v2 .guarantee-table tr:hover td{background:#f9fcfa}
.guarantee-v2 .gv2-money b{font-size:12px;color:#164b38}
.guarantee-v2 .gv2-evidence{border:1px solid #d7e9de;background:#f7fcf8;border-radius:7px;padding:7px 9px;color:#16724f;white-space:nowrap;font-size:11px;cursor:pointer}
.guarantee-v2 .guarantee-row-actions{justify-content:flex-end;flex-wrap:wrap}
.guarantee-v2 .guarantee-row-actions .guarantee-btn{min-height:29px!important;height:30px;padding:0 8px!important}
.guarantee-v2 .gv2-empty{display:grid;place-items:center;text-align:center;min-height:176px;padding:15px 12px 19px;gap:4px}
.guarantee-v2 .gv2-empty-art{position:relative;display:grid;place-items:center;width:74px;height:66px;border-radius:50%;background:#edf9f3;color:#77ac95;font-size:46px}
.guarantee-v2 .gv2-empty-art span{position:absolute;bottom:0;right:1px;font-size:35px;color:#174d40}
.guarantee-v2 .gv2-empty>b{font-size:14px;color:#1b3f33}
.guarantee-v2 .gv2-empty>p{font-size:11px;margin:1px 0 6px;color:#8b9b94}
.guarantee-v2 .gv2-empty>div:last-child{display:flex;gap:8px}
.guarantee-v2 .gv2-empty .guarantee-btn{height:31px}
.guarantee-v2 .gv2-pagination{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:42px;padding:6px 13px;color:#748980;font-size:11px}
.guarantee-v2 .gv2-pagination label{display:flex;align-items:center;gap:7px}
.guarantee-v2 .gv2-pagination label select{height:30px;border:1px solid #dce8e1;border-radius:7px;background:#fff;padding:0 7px;color:#29463b}
.guarantee-v2 .gv2-pagination>div{display:flex;align-items:center;gap:6px}
.guarantee-v2 .gv2-pagination button{height:29px;width:30px;border-radius:7px;border:1px solid #dce7e1;background:#fff;color:#0e674c;cursor:pointer;font-size:20px}
.guarantee-v2 .gv2-pagination [data-page-label]{padding:7px 11px;border-radius:7px;background:#006447;color:white;font-weight:800;font-size:11px}
@media(max-width:1350px){.guarantee-v2 .gv2-filter-primary{grid-template-columns:minmax(230px,1fr) minmax(205px,.8fr)}.guarantee-v2 .gv2-chips-field{grid-column:1/-1}.guarantee-v2 .gv2-filter-secondary{grid-template-columns:minmax(285px,1fr) auto auto auto}.guarantee-v2 .guarantee-focus-card{grid-template-columns:36px 1fr auto;min-height:85px;padding:10px!important;column-gap:6px}.guarantee-v2 .guarantee-focus-card .gv2-icon{width:34px;height:34px;font-size:19px}.guarantee-v2 .guarantee-focus-card strong{font-size:21px}.guarantee-v2 .gv2-kpi-label{font-size:11.5px!important}}
@media(max-width:980px){.guarantee-v2 .guarantee-focus-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.guarantee-v2 .gv2-filter-secondary{grid-template-columns:1fr auto auto}.guarantee-v2 .guarantee-new{grid-column:1/-1;justify-self:end}}
@media(max-width:670px){.guarantee-v2 .guarantee-v2-head{padding:14px!important}.guarantee-v2-head-art{display:none}.guarantee-v2-head h1{font-size:20px}.guarantee-v2 .guarantee-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guarantee-v2 .gv2-filter-primary,.guarantee-v2 .gv2-filter-secondary{display:grid;grid-template-columns:1fr!important}.guarantee-v2 .gv2-chips-field{grid-column:auto}.guarantee-v2 .gv2-chips{flex-wrap:wrap}.guarantee-v2 .guarantee-new{grid-column:auto;justify-self:stretch}.guarantee-v2 .gv2-date-pair{gap:4px}.guarantee-v2 .gv2-date-pair input{min-width:0}.guarantee-v2 .gv2-balance-strip{flex-wrap:wrap}.guarantee-v2 .gv2-balance-strip strong{border:0;padding-left:0}.guarantee-v2 .gv2-table-head{flex-wrap:wrap}.guarantee-v2 .gv2-pagination{flex-wrap:wrap}}
