.cost-shell{display:grid;gap:22px;padding:8px 0}.cost-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.cost-heading h1{font-size:28px;margin:0 0 8px}.cost-heading p{color:#6b7280;margin:0}.cost-label{color:#687188;font-size:12px}.cost-kpis{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:16px}.cost-kpi{background:#fff;border:1px solid #e7eaf0;border-radius:14px;padding:20px}.cost-kpi span{display:block;font-size:12px;color:#687188}.cost-kpi strong{display:block;font-size:30px;margin-top:8px}.cost-toolbar{display:flex;gap:10px;padding:18px;flex-wrap:wrap}.cost-toolbar input{flex:1;min-width:240px}.cost-toolbar input,.cost-toolbar select,.cost-form input,.cost-form select,.cost-form textarea{padding:10px 12px;border:1px solid #dce1e9;border-radius:8px;background:#fff}.cost-table{width:100%;border-collapse:collapse;font-size:13px}.cost-table th,.cost-table td{padding:14px 12px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:middle;white-space:nowrap}.cost-table th{background:#f8f9fb;color:#626b7e;font-size:12px}.cost-table th button{background:none;border:0;color:inherit;font:inherit;cursor:pointer;padding:0}.cost-table td:first-child{white-space:normal;min-width:180px;max-width:320px}.cost-table td button{margin:2px 4px;padding:6px 9px;border:1px solid #dce1e9;border-radius:6px;background:#fff;cursor:pointer}.cost-badge{display:inline-block;padding:5px 9px;border-radius:20px;background:#eaf6ef;color:#26754e;font-size:11px}.cost-missing{background:#fff1d6;color:#966415}.cost-pager{display:flex;justify-content:flex-end;align-items:center;gap:16px;padding:16px}.cost-pager button{border:1px solid #dce1e9;background:#fff;border-radius:6px;padding:7px 12px}.cost-shell button:disabled,.cost-dialog button:disabled{opacity:.5;cursor:not-allowed}#costMessage{margin:0 18px 12px;color:#8f5f1a;font-size:13px}.cost-dialog{border:1px solid #e3e7ee;border-radius:16px;width:min(1100px,92vw);max-height:88vh;padding:24px;box-shadow:0 20px 100px #24345233;color:#263044;background:#fff}.cost-dialog::backdrop{background:#17233c66}.cost-dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.cost-dialog h2{font-size:22px;margin:0}.cost-dialog>header button{border:0;background:#f3f5f8;border-radius:8px;font-size:24px;width:36px;height:36px;cursor:pointer}.cost-form{display:grid;gap:14px;max-width:600px}.cost-form label{display:grid;gap:6px;font-size:13px}.cost-form textarea{min-height:70px}.cost-form .cost-help,.cost-help{font-size:12px;color:#687188;line-height:1.6}.cost-preview-summary{background:#f5f7fc;padding:14px;border-radius:10px;line-height:1.8}.cost-preview-table{max-height:48vh;overflow:auto;margin:16px 0}.cost-dialog-message,#costDialogMessage{color:#965e14;white-space:pre-wrap}.cost-history-card{border-bottom:1px solid #e7eaf0;padding:14px 0}.cost-history-card p{margin:5px 0;font-size:12px;color:#687188}.cost-history-card strong{font-size:16px}.cost-toolbar button:focus-visible,.cost-table button:focus-visible,.cost-dialog button:focus-visible{outline:3px solid #90b5ff;outline-offset:2px}@media(max-width:850px){.cost-kpis{grid-template-columns:repeat(2,1fr)}.cost-heading{display:block}.cost-label{display:block;margin-top:12px}.cost-toolbar button{flex:1}.cost-dialog{padding:16px}}

.cost-form input,.cost-form select{min-width:0;max-width:100%;box-sizing:border-box}.cost-form #costImportDateLabel[hidden]{display:none}#costImportPreview:not(:empty){margin-top:18px}
