.asset-center-page.is-active { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.asset-center-content { min-height: 0; padding: 16px; overflow: auto; }
.asset-page-subtitle { max-width: 560px; margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.asset-intro { padding: 15px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.asset-intro > div { min-width: 0; display: flex; align-items: center; gap: 11px; }
.asset-mark { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 800; }
.asset-intro h2 { margin: 0; font-size: 17px; }
.asset-intro p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.asset-intro aside { padding: 8px 10px; flex: 0 0 auto; border-radius: 8px; background: var(--surface-subtle); }
.asset-intro aside strong, .asset-intro aside small { display: block; }
.asset-intro aside strong { font-size: 8px; }
.asset-intro aside small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.asset-intro.is-disabled { border-style: dashed; }
.asset-intro.is-disabled .asset-mark { color: var(--muted); background: var(--surface-subtle); }
.asset-note { margin: 9px 0; padding: 8px 10px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid #bfdbfe; border-radius: 8px; background: var(--primary-soft); }
.asset-note strong { flex: 0 0 auto; color: var(--primary); font-size: 8px; }
.asset-note p { margin: 0; font-size: 8px; line-height: 1.5; }
.asset-page-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.asset-page-tabs button { padding: 9px 10px; flex: 0 0 auto; border-bottom: 2px solid transparent; color: var(--muted); font-size: 9px; font-weight: 700; }
.asset-page-tabs button.is-active { color: var(--primary); border-color: var(--primary); }
.asset-toolbar { margin: 10px 0; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.asset-toolbar > .search-field { width: 100%; }
.asset-filter-row { display: flex; gap: 5px; overflow-x: auto; }
.asset-filter-row button { min-height: 28px; padding: 0 8px; flex: 0 0 auto; border: 1px solid var(--border); border-radius: 7px; color: var(--muted); background: var(--surface); font-size: 8px; }
.asset-filter-row button.is-active { color: var(--primary); border-color: #bfdbfe; background: var(--primary-soft); }
.asset-toolbar > .primary-button { min-height: 30px; margin-left: auto; padding: 0 10px; font-size: 8px; }
.asset-master-detail { min-height: 0; display: grid; }
.asset-list, .asset-detail { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.asset-list > header { min-height: 49px; padding: 9px 11px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.asset-list > header strong, .asset-list > header small { display: block; }
.asset-list > header strong { font-size: 10px; }
.asset-list > header small, .asset-list > header em { margin-top: 3px; color: var(--muted); font-size: 7px; font-style: normal; }
.asset-record { width: 100%; min-height: 76px; padding: 10px 11px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--border); text-align: left; }
.asset-record:last-child { border-bottom: 0; }
.asset-record:hover, .asset-record.is-selected { background: var(--primary-soft); }
.asset-record-mark { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: var(--primary); background: var(--primary-soft); font-size: 9px; font-weight: 800; }
.asset-record-main { min-width: 0; flex: 1; }
.asset-record-main > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.asset-record-main strong { font-size: 10px; }
.asset-record-main small, .asset-record-main time { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asset-record-main small { margin-top: 5px; color: var(--text); font-size: 8px; }
.asset-record-main time { margin-top: 4px; color: var(--muted); font-size: 7px; }
.asset-record > .icon { width: 13px; color: var(--muted); }
.asset-status { padding: 2px 5px; border-radius: 5px; color: #64748b; background: #f1f5f9; font-size: 7px; font-style: normal; font-weight: 700; }
.asset-status.is-success { color: var(--success); background: #f0fdf4; }
.asset-status.is-warning { color: var(--warning); background: #fff7ed; }
.asset-status.is-danger { color: var(--danger); background: #fef2f2; }
.asset-detail { display: none; overflow-y: auto; }
.asset-detail-empty { min-height: 300px; padding: 26px; display: grid; place-items: center; align-content: center; text-align: center; }
.asset-detail-empty > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); background: var(--surface-subtle); font-size: 9px; font-weight: 800; }
.asset-detail-empty strong { margin-top: 10px; font-size: 12px; }
.asset-detail-empty p { max-width: 250px; margin: 6px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.asset-detail-card > header { padding: 13px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border); }
.asset-detail-card > header > div { min-width: 0; flex: 1; }
.asset-detail-card h2 { margin: 7px 0 0; font-size: 14px; }
.asset-detail-card header p { margin: 5px 0 0; color: var(--muted); font-size: 8px; }
.asset-detail-card header > .secondary-button { min-height: 29px; padding: 0 8px; font-size: 8px; }
.asset-mobile-back { display: none; align-items: center; gap: 4px; color: var(--text); font-size: 8px; }
.asset-mobile-back .icon { width: 13px; }
.asset-detail-tabs { padding: 7px 9px; display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.asset-detail-tabs button { min-height: 28px; padding: 0 8px; flex: 0 0 auto; border-radius: 6px; color: var(--muted); font-size: 8px; }
.asset-detail-tabs button.is-active { color: var(--primary); background: var(--primary-soft); font-weight: 700; }
.asset-detail-body { padding: 12px; }
.asset-detail-body dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); }
.asset-detail-body dl > div { min-width: 0; padding: 9px; background: var(--surface); }
.asset-detail-body dt { color: var(--muted); font-size: 7px; }
.asset-detail-body dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 9px; font-weight: 700; line-height: 1.45; }
.asset-detail-body > section { margin-top: 10px; padding: 11px; border-radius: 8px; background: var(--surface-subtle); }
.asset-detail-body > section strong { font-size: 10px; }
.asset-detail-body > section p { margin: 5px 0 0; color: var(--muted); font-size: 8px; line-height: 1.5; }
.asset-detail-card > footer { padding: 10px 12px; display: flex; justify-content: flex-end; gap: 7px; border-top: 1px solid var(--border); }
.asset-detail-card > footer button { min-height: 32px; padding: 0 9px; font-size: 8px; }
.asset-empty { padding: 28px; text-align: center; }
.asset-empty strong { font-size: 10px; }
.asset-empty p { margin: 6px 0 0; color: var(--muted); font-size: 8px; }
.asset-form-progress { margin-bottom: 9px; display: flex; align-items: center; }
.asset-form-progress span { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.asset-form-progress i { height: 1px; flex: 1; background: var(--border); }
.asset-form-help { margin: 0 0 13px; color: var(--muted); font-size: 9px; line-height: 1.5; }
#assetActionBody { max-height: calc(100vh - 190px); overflow-y: auto; }
#assetActionBody .field textarea { width: 100%; padding: 10px 12px; resize: vertical; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); background: var(--surface); }

@media (min-width: 768px) {
  .device-pad .asset-center-content { padding: 22px 26px; }
  .device-pad .asset-toolbar > .search-field { width: min(320px, 42%); }
  .device-pad .asset-master-detail { grid-template-columns: minmax(320px, .85fr) minmax(390px, 1.15fr); gap: 12px; }
  .device-pad .asset-detail { display: block; }
}

@media (max-width: 767px) {
  .device-phone .asset-intro aside { display: none; }
  .device-phone .asset-master-detail.is-phone-detail .asset-list { display: none; }
  .device-phone .asset-master-detail.is-phone-detail .asset-detail { display: block; }
  .device-phone .asset-master-detail.is-phone-detail .asset-mobile-back { display: inline-flex; }
  .device-phone .asset-master-detail.is-phone-detail .asset-detail-card > header { flex-wrap: wrap; }
  .device-phone .asset-master-detail.is-phone-detail .asset-detail-card > header > div { order: 3; flex-basis: 100%; }
}
