.cf-dialog{--cf-ink:#173d39;--cf-muted:#7a9390;box-sizing:border-box;width:min(1080px,calc(100vw - 48px));max-width:none;max-height:92dvh;margin:auto;padding:0;border:1px solid #dce9e6;border-radius:26px;background:#fff;color:var(--cf-ink);box-shadow:0 30px 100px #153d3c30;font:13px Manrope,'Segoe UI',sans-serif;overflow:hidden}
.cf-dialog::backdrop{background:#173f3d66;backdrop-filter:blur(7px)}.cf-dialog *{box-sizing:border-box}.cf-dialog[open]{display:flex;flex-direction:column}.cf-dialog svg{width:19px;height:19px;flex-shrink:0}.cf-dialog button{font:inherit;cursor:pointer}.cf-dialog button:disabled{opacity:.55;cursor:wait}.cf-dialog button:focus-visible,.cf-dialog input:focus-visible,.cf-dialog select:focus-visible,.cf-dialog textarea:focus-visible{outline:3px solid #4fa69855;outline-offset:2px}.cf-header{display:flex;align-items:center;gap:16px;padding:24px 30px;border-bottom:1px solid #e9f0ee}.cf-header>div{flex:1;min-width:0}.cf-mark{display:grid;place-items:center;width:50px;height:50px;border-radius:16px;color:#158776;background:#e9f6f1}.cf-mark svg{width:25px;height:25px}.cf-header small{font-size:9px;letter-spacing:1.6px;font-weight:800;color:#7d9892}.cf-header h2{font-size:24px;letter-spacing:-.8px;margin:4px 0;color:var(--cf-ink)}.cf-header p{font-size:11px;color:var(--cf-muted);margin:0}.cf-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #e0eae7;border-radius:11px;background:white;color:#698c84;width:36px;height:36px;padding:8px}.cf-icon:hover{background:#edf6f2;color:#117e70}.cf-header>.cf-icon{border:0;background:#f2f7f5;border-radius:50%;width:40px;height:40px}.cf-body{padding:26px 30px 30px;overflow:auto;overscroll-behavior:contain;min-height:0;scrollbar-width:thin;scrollbar-color:#b5ccc5 transparent}.cf-overview{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:0;border:1px solid #e1ebe7;border-radius:18px;background:linear-gradient(110deg,#f3f9f5,#fff);overflow:hidden}.cf-overview>div{padding:22px;display:flex;flex-direction:column;gap:8px;min-width:0}.cf-overview>div+div{border-left:1px solid #dfebe4}.cf-overview small{font-size:9px;letter-spacing:1.2px;font-weight:800;color:#7d968d}.cf-overview strong{font-size:14px;font-weight:500;line-height:1.3;overflow-wrap:anywhere}.cf-overview strong b{font-size:28px;font-weight:800;letter-spacing:-1px}.cf-overview span{color:#80948d;font-size:11px;line-height:1.5}.cf-overview .cf-profit{background:#0b7469;color:#fff}.cf-overview .cf-profit :is(small,span){color:#c1e4d9}.cf-overview .cf-profit.is-loss{background:#9c453e}.cf-plus{padding:0 3px}.cf-collection{margin:18px 0 24px}.cf-collection>div:first-child{display:flex;justify-content:space-between;gap:12px;color:#7a928b;font-size:11px}.cf-collection span{display:flex;align-items:center;gap:7px}.cf-collection strong{font-weight:500;color:#24483f}.cf-collection svg{width:14px;height:14px;color:#149c85}.cf-progress{height:4px;background:#edf2ef;margin-top:12px;border-radius:9px;overflow:hidden}.cf-progress>i{display:block;height:100%;background:linear-gradient(90deg,#69b79d,#008875);border-radius:9px}.cf-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5eeea;padding-bottom:14px}.cf-toolbar nav{display:flex;gap:7px;background:#f3f7f5;border-radius:12px;padding:4px}.cf-toolbar nav button{display:flex;gap:8px;align-items:center;padding:9px 12px;color:#78918a;background:transparent;border:0;border-radius:9px;font-weight:700;font-size:12px}.cf-toolbar nav button.is-active{background:#fff;color:#126f64;box-shadow:0 2px 8px #1e514510}.cf-toolbar i{font:10px Manrope,sans-serif;background:#edf4f0;padding:2px 5px;border-radius:4px}.cf-feedback{color:#138573;padding:0;line-height:1.6}.cf-feedback:not(:empty){margin:12px 0;padding:10px 13px;border-radius:10px;background:#eef8f2}.cf-feedback.is-error{color:#b74231;background:#fff0eb}.cf-section-head{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:22px 0 16px}.cf-section-head h3{font-size:17px;margin:0 0 5px;letter-spacing:-.35px}.cf-section-head p{font-size:11px;color:#879b94;margin:0;line-height:1.6;max-width:470px}.cf-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:0;border-radius:11px;padding:12px 16px;background:#128777;color:#fff;font-weight:750;font-size:12px}.cf-button:hover{filter:brightness(.95)}.cf-button.cf-purple{background:#655686}.cf-readonly{font-size:10px;color:#83988f}.cf-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:16px 0;border-top:1px solid #e8efeb}.cf-row-icon{width:36px;height:38px;background:#ecf7ef;border-radius:10px;color:#299278;display:grid;place-items:center}.cf-row-icon.is-cost{background:#f3eff9;color:#807198}.cf-row-main{display:flex;flex-direction:column;gap:5px;overflow-wrap:anywhere}.cf-row-main>strong{font-size:13px;font-weight:750}.cf-row-main>span{color:#80978d;font-size:11px}.cf-row-main>small{color:#8aa094;font-size:10px}.cf-row-main p{font-size:11px;color:#75897f;margin:0}.cf-row-value{text-align:right;white-space:nowrap;display:flex;flex-direction:column;gap:6px}.cf-row-value strong{font-size:11px;font-weight:500}.cf-row-value b{font-size:16px;letter-spacing:-.3px}.cf-row-value small{font-size:9px;color:#88a18f;text-transform:capitalize}.cf-row-actions{display:flex;gap:5px}.cf-row-actions .cf-icon{width:30px;height:30px;border:0;background:#f5f8f6;padding:7px}.cf-row.is-voided{opacity:.55}.cf-row.is-voided .cf-row-value strong{text-decoration:line-through}.cf-danger{color:#b26959}.cf-row-main small.cf-void-label{color:#ad685b}.cf-empty{text-align:center;padding:34px 20px 26px;color:#869c90}.cf-empty>span{display:grid;place-items:center;width:48px;height:48px;background:#f4f7f4;border:1px dashed #dbe6dd;border-radius:15px;margin:auto}.cf-empty h3{color:#526f60;font-size:14px;margin:15px 0 8px}.cf-empty p{font-size:11px;margin:0 0 10px}.cf-empty .cf-button{margin-top:10px}.cf-editor{margin-top:20px;border:1px solid #dce8e1;border-radius:16px;background:#f9fbf9;padding:20px}.cf-editor[hidden]{display:none}.cf-form header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.cf-form header small{font-size:9px;letter-spacing:1px;color:#8fa297}.cf-form h3{font-size:19px;margin:5px 0}.cf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cf-dialog label{display:flex;flex-direction:column;gap:7px;color:#577063;font-weight:650;font-size:11px}.cf-dialog input,.cf-dialog select,.cf-dialog textarea{font:13px Manrope,'Segoe UI',sans-serif;color:#26473c;background:white;border:1px solid #dce6e0;border-radius:9px;padding:11px 12px;width:100%;min-width:0;outline-offset:2px}.cf-dialog textarea{resize:vertical}.cf-full{grid-column:1/-1}.cf-money-input{display:flex}.cf-money-input>input{border-radius:9px 0 0 9px;font-size:19px;font-weight:750}.cf-money-input>select,.cf-money-input>span{flex:0 0 80px;width:80px;border-radius:0 9px 9px 0;border:1px solid #dce6e0;border-left:0;background:#f0f5f1;display:grid;place-items:center;color:#567264}.cf-account-row{display:flex;gap:7px}.cf-small{border:1px solid #dce7e0;background:white;border-radius:9px;color:#728e7b;padding:9px 12px;display:inline-flex;align-items:center;justify-content:center;font-size:11px}.cf-account-new{display:flex;gap:8px;margin-top:5px}.cf-account-new[hidden]{display:none}.cf-upload{position:relative;padding:12px;border:1px dashed #d3e0d4;border-radius:10px;color:#8b9e8d!important;display:grid!important;grid-template-columns:20px 1fr;align-items:center}.cf-upload input{grid-column:1/-1;font-size:11px;padding:5px;border:0;background:transparent}.cf-entry-author{font-size:10px;line-height:1.6;color:#8c9f8e;margin:14px 0}.cf-form-error{color:#b14736;font-size:11px;line-height:1.6;margin:6px 0}.cf-form footer{display:flex;justify-content:flex-end;gap:8px;padding-top:14px;border-top:1px solid #e1eae2}.cf-danger-button{background:#ad5448}.cf-loading{text-align:center;padding:60px 20px;color:#819c8b}
@media(max-width:680px){.cf-dialog{width:calc(100vw - 20px);max-height:96dvh;border-radius:19px}.cf-header{padding:18px 17px;gap:10px}.cf-header h2{font-size:21px}.cf-mark{width:42px;height:42px;border-radius:13px}.cf-body{padding:18px 16px}.cf-overview{grid-template-columns:1fr 1fr}.cf-overview>div{padding:16px 13px}.cf-overview .cf-profit{grid-column:1/-1;border-left:0;border-top:1px solid #dfebe4}.cf-overview .cf-profit strong b{font-size:30px}.cf-overview strong b{font-size:22px}.cf-overview span{font-size:10px}.cf-collection>div:first-child{flex-direction:column;gap:8px}.cf-toolbar nav button{padding:9px 7px;font-size:11px;gap:5px}.cf-toolbar nav svg{width:15px;height:15px}.cf-toolbar>.cf-icon{width:30px;height:30px}.cf-section-head{align-items:flex-start;gap:10px}.cf-section-head p{font-size:10px}.cf-section-head .cf-button{padding:10px;font-size:11px}.cf-row{grid-template-columns:30px minmax(0,1fr) auto;gap:9px}.cf-row-icon{width:30px;height:34px}.cf-row-actions{grid-column:2/-1;justify-content:flex-end}.cf-row-value b{font-size:14px}.cf-row-main>strong{font-size:12px}.cf-row-main>small{line-height:1.6}.cf-form-grid{grid-template-columns:1fr}.cf-full{grid-column:auto}.cf-editor{padding:15px}.cf-form-grid>.cf-full{grid-column:1/-1}.cf-header>.cf-icon{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.cf-dialog *{scroll-behavior:auto!important}}

.cf-sale-label{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px}.cf-sale-label .cf-icon{width:28px;height:28px;padding:6px;border:1px solid #dbe8e0;border-radius:8px;background:#fff;color:#2d7664}.cf-sale-label .cf-icon:hover{background:#e6f4ed}.cf-overview .cf-original-sale{font-size:9px;margin-top:7px;opacity:.85}.cf-overview .cf-original-sale b{font-size:inherit;font-weight:600}

.cf-dialog .cf-no-cost-row{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;margin:0 0 18px;border:1px solid #dce8e1;border-radius:12px;background:#f0f7f3}.cf-no-cost-row>span{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.cf-no-cost-row b{font-size:13px;color:#275a4c}.cf-no-cost-row small{font-size:11px;font-weight:500;color:#789086}.cf-dialog .cf-no-cost-row input{appearance:none;-webkit-appearance:none;flex:0 0 46px;width:46px;height:28px;padding:0;border:0;border-radius:20px;background:#cbd8d1;position:relative;cursor:pointer;transition:background .18s}.cf-no-cost-row input:before{content:"";position:absolute;width:22px;height:22px;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 4px #234b3920;transition:transform .18s}.cf-dialog .cf-no-cost-row input:checked{background:#138a76}.cf-no-cost-row input:checked:before{transform:translateX(18px)}.cf-no-cost-row input:focus-visible{outline:3px solid #94cdbd;outline-offset:3px}.cf-form[data-no-cost="true"] .cf-money-input>input{background:#eaf4ee;color:#31765e;cursor:default}.cf-form [data-cf-paid-detail][hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.cf-no-cost-row input,.cf-no-cost-row input:before{transition:none!important}}
