*{box-sizing:border-box}body{color:#18201d;background:#f5f6f4;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}.top{z-index:3;background:#fff;border-bottom:1px solid #e2e7e4;justify-content:space-between;align-items:center;height:72px;padding:0 34px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:11px;display:flex}.brand>b{color:#fff;background:#17382f;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.brand strong{letter-spacing:2px;display:block}.brand small{color:#7d8783;font-size:10px;display:block}.chip{color:#68736e;background:#f3f5f3;border-radius:20px;padding:9px 13px;font-size:12px}.wrap{max-width:1050px;margin:auto;padding:38px 24px 70px}.head{justify-content:space-between;align-items:end;margin-bottom:25px;display:flex}.head em{letter-spacing:1.8px;color:#5d766a;font-size:10px;font-style:normal;font-weight:800}.head h1{letter-spacing:-.7px;margin:4px 0 6px;font-size:30px}.head p{color:#75807b;margin:0;font-size:13px}.secondary{color:#42504a;cursor:pointer;background:#fff;border:1px solid #dce2df;border-radius:9px;padding:10px 15px;font-weight:600}.card{background:#fff;border:1px solid #e2e7e4;border-radius:13px;margin-bottom:16px;padding:26px;box-shadow:0 2px 8px #17231d08}.title{align-items:center;gap:13px;margin-bottom:23px;display:flex}.title>span{color:#416154;background:#edf3ef;border-radius:8px;place-items:center;width:30px;height:30px;font-size:10px;font-weight:800;display:grid}.title h2{margin:0 0 3px;font-size:16px}.title p{color:#8a9490;margin:0;font-size:11px}.grid{gap:16px;display:grid}.three{grid-template-columns:1fr 1fr 1fr}.itemGrid{grid-template-columns:1fr 2fr}.goldGrid{grid-template-columns:1fr 1fr;max-width:560px;margin-top:13px}.field{margin-bottom:16px}.field label{color:#58645f;margin-bottom:7px;font-size:11px;font-weight:700;display:block}.field input,.field select,.dyn select,.dyn input,.amounts input{color:#1e2824;background:#fff;border:1px solid #d9dfdc;border-radius:8px;outline:none;width:100%;height:43px;padding:0 12px;font-size:13px}.field input:focus,.field select:focus,.dyn input:focus,.dyn select:focus,.amounts input:focus{border-color:#628878;box-shadow:0 0 0 3px #62887814}.invalid{border-color:#bd6b62!important;box-shadow:0 0 0 3px #bd6b6212!important}.errorText{color:#a14f47;margin-top:5px;font-size:10px;font-weight:600;line-height:1.35;display:block}.scan{text-align:left;color:#53635c;cursor:pointer;background:#f9faf9;border:1px dashed #bfcac5;border-radius:8px;width:100%;height:43px;padding:0 13px;font-weight:700}.scan small{float:right;color:#a0aaa5}.people{flex-wrap:wrap;gap:8px;display:flex}.person{color:#394640;cursor:pointer;background:#fff;border:1px solid #dce2df;border-radius:9px;align-items:center;gap:7px;padding:7px 10px 7px 7px;font-size:12px;font-weight:600;display:flex}.person.on{background:#f1f6f3;border-color:#6d927f}.person i{color:#486257;background:#e7eeea;border-radius:50%;place-items:center;width:25px;height:25px;font-size:10px;font-style:normal;display:grid}.person span{color:#47735f}.field>small{color:#929b97;margin-top:7px;font-size:10px;display:block}.itemCard{background:#fbfcfb;border:1px solid #e3e9e5;border-radius:11px;margin-bottom:11px;padding:17px}.itemHeader{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.itemHeader strong{margin-left:8px;font-size:13px}.itemNumber{letter-spacing:1.1px;color:#587267;font-size:10px;font-weight:800}.removeItem{color:#9b4d4d;cursor:pointer;background:0 0;border:0;font-size:11px;font-weight:700}.pureGoldRow{border-top:1px solid #edf0ee;justify-content:space-between;align-items:center;margin-top:2px;padding-top:13px;display:flex}.pureGoldRow label{color:#58645f;font-size:11px;font-weight:800}.pureGoldRow p{color:#8b9591;max-width:650px;margin:4px 0 0;font-size:10px}.toggle{color:#6f7975;cursor:pointer;background:#f3f5f3;border:1px solid #d9dfdc;border-radius:18px;min-width:78px;height:34px;padding:0 10px 0 30px;font-size:10px;font-weight:800;position:relative}.toggle span{background:#fff;border-radius:50%;width:22px;height:22px;position:absolute;top:5px;left:5px;box-shadow:0 1px 4px #0002}.toggle.on{color:#3e735b;background:#eaf4ee;border-color:#78a08c;padding:0 30px 0 10px}.toggle.on span{background:#47735f;left:auto;right:5px}.addItem{color:#416355;cursor:pointer;background:#f6f9f7;border:1px dashed #aebdb5;border-radius:9px;width:100%;padding:12px;font-size:12px;font-weight:800}.addItem:hover,.add:hover{background:#eef5f1}.goldTotals{color:#74827b;background:#f3f7f4;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;font-size:10px;display:flex}.goldTotals span{margin-right:4px;font-weight:800}.goldTotals b{color:#466356;background:#fff;border:1px solid #e1e9e4;border-radius:6px;padding:5px 8px}.rowHead{color:#87918d;grid-template-columns:1fr 1fr 35px;gap:12px;margin-bottom:7px;font-size:11px;font-weight:600;display:grid}.dyn{grid-template-columns:1fr 1fr 35px;align-items:start;gap:12px;margin-bottom:9px;display:grid}.x{color:#9b4d4d;cursor:pointer;background:0 0;border:0;height:43px;font-size:20px}.add{color:#456659;cursor:pointer;background:#f0f5f2;border:0;border-radius:8px;padding:9px 12px;font-size:11px;font-weight:700}.amounts{border-top:1px solid #edf0ee;grid-template-columns:1fr 1fr 1.4fr;align-items:center;gap:12px;margin-top:25px;padding-top:19px;display:grid}.amounts>div{background:#f8f9f8;border-radius:8px;padding:12px}.amounts small{color:#89928e;margin-bottom:4px;font-size:10px;display:block}.amounts strong{font-size:15px}.balance{color:#9a514a;font-size:11px;font-weight:700;background:#fbf0ee!important}.balance.good{color:#3e735b;background:#edf6f1!important}.amounts label{grid-column:1/-1;grid-template-columns:1fr 220px;align-items:start;gap:12px;margin-top:5px;font-size:13px;font-weight:800;display:grid}.amounts label input{text-align:right;justify-self:end;max-width:220px;font-size:17px;font-weight:700}.amounts label .errorText{grid-column:2}.payment-error{color:#a14f47;background:#fbf0ee;border-radius:8px;margin-top:12px;padding:10px 12px;font-size:11px;font-weight:700}.submitbar{color:#fff;background:#18372f;border-radius:13px;justify-content:space-between;align-items:center;padding:17px 19px;display:flex}.submitbar b,.submitbar small{display:block}.submitbar small{color:#bdcbc5;margin-top:3px;font-size:10px}.submitbar button{color:#18372f;cursor:pointer;background:#fff;border:0;border-radius:9px;padding:12px 18px;font-weight:800}.submitbar button:disabled{opacity:.45;cursor:not-allowed}.success{color:#3b7059;background:#eaf5ef;border-radius:9px;justify-content:space-between;align-items:center;gap:20px;margin-top:12px;padding:14px 15px;font-size:12px;font-weight:700;display:flex}.success small{color:#638276;margin-top:3px;font-weight:500;display:block}.success button{color:#315e4d;cursor:pointer;background:#fff;border:0;border-radius:7px;padding:8px 11px;font-weight:700}.modalBackdrop{z-index:20;background:#10231e80;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:15px;width:min(480px,100%);max-height:90vh;padding:27px;position:relative;overflow:auto;box-shadow:0 20px 70px #0004}.modal.wide{width:min(720px,100%)}.modalClose{color:#78837e;cursor:pointer;background:0 0;border:0;font-size:25px;position:absolute;top:13px;right:16px}.modal h2{margin:0 35px 7px 0;font-size:21px}.modal p{color:#69756f;margin:0 0 18px;font-size:12px;line-height:1.5}.review{background:#f7f9f7;border:1px solid #e6ebe8;border-radius:10px;padding:13px}.reviewRow{justify-content:space-between;gap:20px;padding:7px 0;font-size:12px;display:flex}.reviewRow span{color:#7d8983}.reviewRow b{text-align:right}.reviewSection{border-top:1px solid #e7ece9;margin-top:9px;padding-top:12px}.reviewSection>strong{color:#52645b;margin-bottom:5px;font-size:11px;display:block}.reviewItem{border-top:1px solid #edf0ee;justify-content:space-between;gap:18px;padding:9px 0;display:flex}.reviewItem:first-of-type{border-top:0}.reviewItem b,.reviewItem span{display:block}.reviewItem span{color:#78847e;margin-top:3px;font-size:11px}.reviewGold{color:#46695a;white-space:nowrap;font-size:10px;font-weight:800}.reviewTotals{border-top:2px solid #dce6e0;margin-top:12px;padding-top:7px}.confirmQuestion{color:#27342e!important;margin-top:18px!important;font-weight:800!important}.modalActions{justify-content:flex-end;gap:9px;margin-top:19px;display:flex}.primary{color:#fff;cursor:pointer;background:#18372f;border:0;border-radius:9px;padding:11px 15px;font-weight:800}.modalActions .secondary{cursor:pointer}@media (max-width:760px){.top{padding:0 18px}.chip{display:none}.wrap{padding:25px 14px}.head{align-items:start}.three,.itemGrid,.goldGrid,.amounts{grid-template-columns:1fr}.amounts label{grid-column:auto;grid-template-columns:1fr}.amounts label input{justify-self:stretch;max-width:none}.amounts label .errorText{grid-column:auto}.submitbar,.success{flex-direction:column;align-items:stretch;gap:12px}.dyn{grid-template-columns:1fr 1fr 35px}.pureGoldRow{align-items:flex-start;gap:12px}.reviewItem{flex-direction:column;gap:5px}.reviewGold{white-space:normal}.modal{padding:23px}}.twoCompact{grid-template-columns:1fr 1fr;max-width:700px}.saleTotalsTop{grid-template-columns:1fr 1fr;gap:16px;max-width:700px;margin-bottom:10px;padding-bottom:6px;display:grid}@media (max-width:760px){.twoCompact,.saleTotalsTop{grid-template-columns:1fr;max-width:none}}.two{grid-template-columns:1fr 1fr}.navActions{align-items:center;gap:8px;display:flex}.navBtn,.navOn{color:#56645d;cursor:pointer;background:#fff;border:1px solid #dce2df;border-radius:9px;padding:9px 12px;font-size:11px;font-weight:700}.navOn{color:#315d4c;background:#eaf2ed;border-color:#719380}.closingWrap{max-width:1600px;margin:0 auto;padding:24px 18px 45px}.printHeader{border-bottom:2px solid #1c2722;justify-content:space-between;align-items:end;margin-bottom:12px;padding:5px 3px 14px;display:flex}.printBrand{letter-spacing:1px;font-family:Georgia,serif;font-size:28px;font-weight:700}.printTitle{letter-spacing:3px;margin-top:4px;font-family:Georgia,serif;font-size:17px}.printMeta{text-align:right;font-size:11px;line-height:1.7}.sheetNote{color:#52645b;background:#eef3ef;border:1px solid #dce6df;border-radius:8px;margin-bottom:12px;padding:11px 13px;font-size:11px}.tableScroll{background:#fff;border:1px solid #222;overflow:auto}.closingTable{border-collapse:collapse;width:100%;min-width:1500px;font-family:Arial,sans-serif;font-size:9px}.closingTable th,.closingTable td{vertical-align:middle;text-align:center;border:1px solid #555;padding:5px 4px}.closingTable th{white-space:nowrap;background:#eee7d8;font-weight:800}.closingTable td:nth-child(4),.closingTable th:nth-child(4){text-align:left}.descCol{min-width:320px}.descriptionCell{white-space:normal;min-width:320px;line-height:1.45}.descriptionCell>div+div{border-top:1px dotted #aaa;margin-top:3px;padding-top:3px}.goldInline{color:#47685b;font-size:8px}.itemList{line-height:1.45}.salesPerson{white-space:nowrap;font-weight:800}.moneyStrong{font-weight:800}.totalRow{background:#eee7d8;font-weight:800}.totalRow td{border-top:2px solid #222}.closingSummary{grid-template-columns:1fr 1.5fr 1fr;gap:14px;margin-top:15px;display:grid}.summaryBox{background:#fff;border:1px solid #555}.summaryBox h3{text-align:center;background:#eee7d8;border-bottom:1px solid #555;margin:0;padding:6px;font-family:Georgia,serif;font-size:12px}.summaryBox>div{border-bottom:1px solid #ddd;justify-content:space-between;padding:5px 9px;font-size:10px;display:flex}.summaryBox>div:last-child{border-bottom:0}.summaryGrand{background:#f2f2ef;font-weight:800}.signatureArea{justify-content:space-between;margin-top:35px;font-family:Georgia,serif;font-size:11px;display:flex}.noPrint{display:flex}@media (max-width:760px){.navActions{flex-wrap:wrap}.closingSummary{grid-template-columns:1fr}.printHeader{align-items:start;gap:20px}.signatureArea{flex-direction:column;gap:20px}}@media print{@page{size:landscape;margin:7mm}body{background:#fff!important}.noPrint,.closingPage .top{display:none!important}.closingWrap{max-width:none;padding:0}.printHeader{margin-bottom:7px}.printBrand{font-size:22px}.printTitle{font-size:13px}.closingTable{width:100%;min-width:0;font-size:6.5px}.closingTable th,.closingTable td{padding:3px 2px}.descCol,.descriptionCell{width:24%;min-width:0;font-size:7px}.closingSummary{gap:7px;margin-top:8px}.summaryBox h3{padding:3px;font-size:8px}.summaryBox>div{padding:3px 5px;font-size:7px}.signatureArea{margin-top:15px;font-size:8px}}
