.costs-panel{margin-top:20px;padding:22px}.costs-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.costs-heading h2{margin:0 0 8px}.costs-heading p{color:var(--muted,#747c8a);font-size:13px;line-height:1.65}.costs-actions{display:flex;gap:8px;flex-wrap:wrap}.costs-table-wrap{overflow-x:auto}.costs-table{width:100%;border-collapse:collapse;font-size:13px}.costs-table th,.costs-table td{text-align:left;padding:12px 10px;border-bottom:1px solid #e5e9ef;line-height:1.6;overflow-wrap:anywhere}.costs-history{padding:14px 0;border-bottom:1px solid #e5e9ef}.costs-history p{line-height:1.65;overflow-wrap:anywhere}.cloud-import-day-list{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.cloud-import-day-list label{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #dce1e9;border-radius:8px}.cloud-import-issue{padding:10px;border-left:3px solid #d89d34;background:#fff8e9;margin-top:8px}.cloud-import-conflict{padding:12px;border:1px solid #e9ba9a;border-radius:9px;margin-top:10px;overflow-wrap:anywhere}@media(max-width:680px){.costs-panel{padding:14px}.costs-heading{display:block}.costs-actions{margin-bottom:12px}.costs-actions .button{flex:1 1 130px}.costs-table thead{display:none}.costs-table,.costs-table tbody,.costs-table tr,.costs-table td{display:block;width:100%}.costs-table tr{border-bottom:1px solid #dce1e9;padding:8px 0}.costs-table td{border:0;padding:5px 0}.costs-table td[data-label]:before{content:attr(data-label) '：';color:#747c8a;margin-right:8px}.cloud-import-conflict label{display:flex;gap:8px;align-items:flex-start}}
.product-cost-link{display:block;max-width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.5;padding:0;color:var(--blue,#4868e9)}.costs-product-context{padding:18px 22px;overflow-wrap:anywhere}.costs-product-context p{color:var(--muted,#747c8a);line-height:1.6;margin:8px 0 0}.costs-rate-note{grid-column:1 / -1;line-height:1.65}

#costBatchForm .field,#costBatchForm .dialog-advice{min-width:0;overflow-wrap:anywhere}#costBatchForm select{width:100%;max-width:100%}.costs-batch-preview details{margin-top:12px}.costs-batch-preview summary{cursor:pointer}.costs-batch-preview .costs-table{margin-top:10px}#costBatchSource details p{font-size:13px}#costBatchForm .dialog-body{overflow-x:hidden}
dialog.alert-drawer[open]:has(#costBatchForm){display:flex;flex-direction:column;overflow:hidden}dialog:has(#costBatchForm)>.dialog-header{flex-shrink:0;position:static}dialog.alert-drawer #costBatchForm{display:flex;flex-direction:column;flex:1;height:0;min-height:0;overflow:hidden;margin:0}#costBatchForm>.dialog-body{flex:1;min-height:0;overflow-y:auto}#costBatchForm>.dialog-footer{flex-shrink:0;position:static}#costBatchForm .dialog-advice{font-size:13px;color:var(--muted-dark,#61728c)}#costBatchForm .dialog-advice p+p{margin-top:8px}@media(max-width:680px){dialog.alert-drawer[open]:has(#costBatchForm){height:calc(100dvh - 24px)!important}}
#costBatchForm [hidden]{display:none!important}.costs-manual-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.costs-manual-toolbar>span{flex:1 1 100%;font-size:13px;color:var(--muted,#747c8a)}.costs-manual-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px}.costs-manual-toolbar select{width:auto!important}.costs-manual-choice{display:flex;align-items:flex-start;gap:10px;line-height:1.65;cursor:pointer}.costs-manual-choice input{flex:0 0 auto;width:16px;height:16px;margin-top:3px}.costs-manual-choice span{min-width:0;overflow-wrap:anywhere}.costs-manual-table{table-layout:fixed}.costs-manual-table th:first-child{width:46%}.costs-manual-table th:nth-child(2){width:18%}#costManualRecords{margin:16px 0 22px;padding-top:12px;border-top:1px solid #e5e9ef}@media(max-width:680px){.costs-manual-table{table-layout:auto}.costs-manual-toolbar .button{white-space:normal}.costs-manual-choice input{margin-left:1px}}

.costs-manual-table td{white-space:normal!important;overflow-wrap:anywhere;word-break:normal}.costs-manual-table time{display:inline-block;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.official-subsidy-preview,.official-subsidy-basis{color:#4c6081!important}.official-subsidy-preview h3{color:#263f63}

dialog.alert-drawer[open]:has(#officialSubsidyForm){display:flex;flex-direction:column;overflow:hidden}dialog:has(#officialSubsidyForm)>.dialog-header{position:static;flex-shrink:0}#officialSubsidyForm{display:flex;flex-direction:column;flex:1;height:0;min-height:0;overflow:hidden;margin:0}#officialSubsidyForm>.dialog-body{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden}#officialSubsidyForm>.dialog-footer{flex-shrink:0;position:static}#officialSubsidyForm .field,#officialSubsidyForm .dialog-advice{min-width:0;overflow-wrap:anywhere}#officialSubsidyForm input,#officialSubsidyForm select{max-width:100%;min-width:0}#officialSubsidyForm [hidden]{display:none!important}.official-subsidy-skus{border:1px solid #dce3f5;border-radius:10px;margin:16px 0;padding:14px;min-width:0}.official-subsidy-skus legend{font-weight:600}.official-subsidy-skus details{margin-top:12px;border-top:1px solid #e5e9ef;padding-top:12px}.official-subsidy-skus summary,.official-subsidy-basis-options summary{cursor:pointer;color:var(--blue,#4868e9);font-size:13px;margin-bottom:10px}#officialSubsidySkus{max-height:260px;overflow:auto;display:grid;gap:6px}.official-subsidy-sku,.official-subsidy-confirm{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.6;padding:7px 0}.official-subsidy-sku input,.official-subsidy-confirm input{width:16px;height:16px;flex:0 0 16px;margin-top:3px}.official-subsidy-sku span{min-width:0;overflow-wrap:anywhere}.official-subsidy-sku small{display:block;color:var(--muted,#747c8a)}.official-subsidy-basis{line-height:1.7;font-size:13px}.official-subsidy-basis-options{margin:14px 0}.official-subsidy-preview{margin-top:18px;line-height:1.7}.official-subsidy-preview h3{margin-top:0}.official-subsidy-confirm{margin-top:10px;padding:12px;background:#fff9ee;border-radius:8px}@media(max-width:680px){dialog.alert-drawer[open]:has(#officialSubsidyForm){height:calc(100dvh - 24px)!important}.official-subsidy-skus{padding:10px}#officialSubsidyForm .module-form-grid{grid-template-columns:minmax(0,1fr)}#officialSubsidyForm .dialog-footer .button{white-space:normal}}
