.sonik-react-cost-summary-host{padding:0!important;background:#f6f7fb!important}
#sonikReactExpenseSummaryRoot[data-react-expense-summary-root],#sonikReactPurchaseSummaryRoot[data-react-purchase-summary-root],#sonikReactLaborSummaryRoot[data-react-labor-summary-root]{display:block!important;min-height:100%;font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d2939}
.react-cost-summary{display:grid;gap:18px;padding:24px;box-sizing:border-box}
.react-cost-summary *{box-sizing:border-box}
.react-cost-summary--loading{min-height:320px;place-items:center;color:#667085;font-weight:800}
.react-cost-summary__hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px 28px;border:1px solid #e7e8ef;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f5f2ff 100%);box-shadow:0 12px 32px rgba(16,24,40,.06)}
.react-cost-summary__hero p{margin:0 0 7px;color:#7b68ee;font-size:12px;font-weight:900;letter-spacing:.12em}
.react-cost-summary__hero h2{margin:0;color:#101828;font-size:28px;line-height:1.2}
.react-cost-summary__hero span:not(.react-cost-summary__state){display:block;margin-top:9px;color:#667085;font-size:14px;line-height:1.6}
.react-cost-summary__hero-states{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.react-cost-summary__state{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 11px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:800;white-space:nowrap}
.react-cost-summary__state[data-tone="ok"]{background:#ecfdf3;color:#027a48}
.react-cost-summary__state[data-tone="warn"],.react-cost-summary__state[data-tone="error"]{background:#fff4ed;color:#b93815}
.react-cost-summary__toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #e7e8ef;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.04)}
.react-cost-summary__filters{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:10px;flex:1}
.react-cost-summary__filters label,.react-cost-summary__form-grid label{display:grid;gap:7px;min-width:0;color:#475467;font-size:12px;font-weight:800}
.react-cost-summary__filters input,.react-cost-summary__filters select,.react-cost-summary__form-grid input,.react-cost-summary__form-grid select{width:100%;min-height:42px;border:1px solid #d0d5dd;border-radius:11px;background:#fff;padding:9px 11px;color:#101828;font:inherit;font-size:13px;outline:0}
.react-cost-summary__filters input:focus,.react-cost-summary__filters select:focus,.react-cost-summary__form-grid input:focus,.react-cost-summary__form-grid select:focus{border-color:#7b68ee;box-shadow:0 0 0 3px rgba(123,104,238,.12)}
.react-cost-summary__toolbar-actions,.react-cost-summary__actions,.react-cost-summary__source-actions{display:flex;gap:8px;flex-wrap:wrap}
.react-cost-summary button{font:inherit;transition:transform .15s ease,box-shadow .15s ease}
.react-cost-summary .button-primary,.react-cost-summary .button-secondary{min-height:40px;padding:9px 14px;border-radius:11px;font-size:13px;font-weight:800;cursor:pointer}
.react-cost-summary .button-primary{border:1px solid #7b68ee;background:#7b68ee;color:#fff}
.react-cost-summary .button-secondary{border:1px solid #d0d5dd;background:#fff;color:#344054}
.react-cost-summary button:disabled{opacity:.5;cursor:not-allowed}
.react-cost-summary button:not(:disabled):hover{transform:translateY(-1px)}
.react-cost-summary__message{padding:12px 15px;border:1px solid #d0d5dd;border-radius:13px;background:#f9fafb;color:#475467;font-size:13px;font-weight:700}
.react-cost-summary__cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.react-cost-summary__cards article{display:grid;gap:7px;min-height:126px;padding:18px;border:1px solid #e7e8ef;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.04)}
.react-cost-summary__cards article[data-tone="good"]{border-color:#abefc6;background:#f6fef9}
.react-cost-summary__cards article[data-tone="bad"]{border-color:#fecdca;background:#fef3f2}
.react-cost-summary__cards span{color:#667085;font-size:12px;font-weight:800}
.react-cost-summary__cards strong{color:#101828;font-size:22px;line-height:1.25}
.react-cost-summary__cards small{align-self:end;color:#98a2b3;font-size:11px;line-height:1.45}
.react-cost-summary__alerts{display:flex;gap:8px;flex-wrap:wrap}
.react-cost-summary__alerts span{display:inline-flex;padding:7px 10px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:12px;font-weight:800}
.react-cost-summary__alerts span[data-tone="warn"]{background:#fffaeb;color:#b54708}
.react-cost-summary__alerts span[data-tone="error"]{background:#fef3f2;color:#b42318}
.react-cost-summary__card{padding:22px;border:1px solid #e7e8ef;border-radius:20px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.04)}
.react-cost-summary__card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.react-cost-summary__card h3{margin:0;color:#101828;font-size:18px}
.react-cost-summary__card p{margin:6px 0 0;color:#667085;font-size:13px;line-height:1.5}
.react-cost-summary__form-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.react-cost-summary__actions{margin-top:16px}
.react-cost-summary__note{margin:14px 0 0!important;padding:11px 13px;border-radius:12px;background:#f8f7ff;color:#5b4bc4!important;font-size:12px!important;font-weight:700}
.react-cost-summary__source-actions{padding:14px 18px;border:1px solid #e7e8ef;border-radius:16px;background:#fff}
.react-cost-summary__breakdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.react-cost-summary__breakdown-list{display:grid;gap:10px}
.react-cost-summary__breakdown-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(160px,1.3fr) minmax(100px,.55fr);align-items:center;gap:12px;color:#475467;font-size:12px}
.react-cost-summary__breakdown-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.react-cost-summary__breakdown-row>div{height:8px;border-radius:999px;background:#f2f4f7;overflow:hidden}
.react-cost-summary__breakdown-row i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#8a74ee,#6f56d9)}
.react-cost-summary__breakdown-row strong{text-align:right;color:#344054;font-size:12px}
.react-cost-summary__empty{padding:20px;border:1px dashed #d0d5dd;border-radius:12px;background:#fcfcfd;color:#98a2b3;font-size:13px;text-align:center}
.react-cost-summary__detail-card{min-width:0}
.react-cost-summary__table-wrap{width:100%;overflow:auto;border:1px solid #eaecf0;border-radius:14px;background:#fff}
.react-cost-summary__table-wrap table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px}
.react-cost-summary__table-wrap th{position:sticky;top:0;z-index:1;padding:11px 10px;border-bottom:1px solid #d0d5dd;background:#f9fafb;color:#475467;font-weight:900;text-align:left;white-space:nowrap}
.react-cost-summary__table-wrap td{max-width:240px;padding:9px 10px;border-bottom:1px solid #f0f1f4;color:#344054;vertical-align:middle;white-space:nowrap}
.react-cost-summary__table-wrap tr:last-child td{border-bottom:0}
.react-cost-summary__table-wrap td.amount,.react-cost-summary__table-wrap td.number{text-align:right;font-variant-numeric:tabular-nums;font-weight:800}
.react-cost-summary__table-wrap input,.react-cost-summary__table-wrap select{min-width:92px;max-width:210px;min-height:36px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;padding:7px 8px;color:#101828;font:inherit;font-size:12px;outline:0}
.react-cost-summary__table-wrap input:focus,.react-cost-summary__table-wrap select:focus{border-color:#7b68ee;box-shadow:0 0 0 2px rgba(123,104,238,.12)}
.react-cost-summary__table-wrap input:disabled,.react-cost-summary__table-wrap select:disabled,.react-cost-summary__form-grid input:disabled,.react-cost-summary__form-grid select:disabled{background:#f2f4f7;color:#98a2b3;cursor:not-allowed}
@media(max-width:1440px){.react-cost-summary__cards{grid-template-columns:repeat(3,minmax(0,1fr))}.react-cost-summary__filters{grid-template-columns:repeat(3,minmax(140px,1fr))}.react-cost-summary__form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){.react-cost-summary__hero,.react-cost-summary__toolbar{align-items:flex-start;flex-direction:column}.react-cost-summary__hero-states{justify-content:flex-start}.react-cost-summary__toolbar-actions{width:100%}.react-cost-summary__toolbar-actions button{flex:1}.react-cost-summary__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.react-cost-summary__breakdowns{grid-template-columns:1fr}.react-cost-summary__form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.react-cost-summary{gap:14px;padding:14px}.react-cost-summary__hero,.react-cost-summary__toolbar,.react-cost-summary__card{padding:17px}.react-cost-summary__hero h2{font-size:23px}.react-cost-summary__filters,.react-cost-summary__cards,.react-cost-summary__form-grid{grid-template-columns:1fr}.react-cost-summary__cards article{min-height:104px}.react-cost-summary__toolbar-actions,.react-cost-summary__actions,.react-cost-summary__source-actions{display:grid;grid-template-columns:1fr;width:100%}.react-cost-summary__toolbar-actions button,.react-cost-summary__actions button,.react-cost-summary__source-actions button{width:100%}.react-cost-summary__breakdown-row{grid-template-columns:minmax(90px,.8fr) minmax(100px,1fr);gap:8px}.react-cost-summary__breakdown-row strong{grid-column:1/-1;text-align:left}.react-cost-summary__card>header{align-items:flex-start;flex-direction:column}}
