/* Isolated final layer for the asset and liability workbench. */
body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 {
  display: grid !important;
  gap: 16px !important;
  padding: 0 !important;
  background: transparent !important;
}

body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 .asset-balance-head {
  border: 0 !important;
  border-radius: 6px !important;
  background: linear-gradient(115deg, #0d3f43, #14655f 70%, #1d756d) !important;
  box-shadow: 0 14px 32px rgb(10 48 48 / 22%) !important;
}

body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 .ring.asset-net-ring,
body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 .asset-balance-kpis .kpi {
  min-height: 110px !important;
  border-color: rgb(224 245 234 / 18%) !important;
}

body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 :is(.ring.asset-net-ring span, .asset-balance-kpis .kpi span) {
  color: rgb(224 243 233 / 68%) !important;
}

body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 :is(.ring.asset-net-ring b, .asset-balance-kpis .kpi strong) {
  color: #fffdf5 !important;
}

body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 .asset-inherited-note {
  display: flex !important;
  gap: 10px;
  align-items: baseline;
  padding: 12px 16px;
  border-left: 3px solid #c79a55;
  background: rgb(255 253 247 / 78%);
  color: #35504e;
}

body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-body-grid-v2 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .82fr) !important;
  gap: 20px !important;
  align-items: start !important;
}

body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-capture-panel-v2 {
  display: flex !important;
  flex-direction: column !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
  padding: 24px !important;
  border: 1px solid rgb(41 89 82 / 20%) !important;
  border-radius: 6px !important;
  background: rgb(255 253 247 / 94%) !important;
  box-shadow: 0 12px 28px rgb(25 63 57 / 10%) !important;
}

body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-capture-panel-v2 > * + * { margin-top: 16px !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-capture-head { order: 1 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) 170px !important; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgb(41 89 82 / 16%); }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-editor-controls { order: 2 !important; display: flex !important; flex-wrap: wrap; gap: 8px; align-items: center; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-draft-totals { order: 3 !important; display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; border: 1px solid rgb(41 89 82 / 16%); border-radius: 4px; overflow: hidden; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-draft-totals > span { min-height: 58px; padding: 10px 12px; border-right: 1px solid rgb(41 89 82 / 14%); background: rgb(246 250 247 / 70%); }

body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] :is(.asset-human-ledger, .asset-draft-delta, [data-asset-draft-delta], .asset-save-preview, .asset-capture-actions-bottom) { display: none !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage .asset-workbench-v2 .asset-capture-actions-bottom { display: none !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-capture-actions-bottom] { display: none !important; visibility: hidden !important; height: 0 !important; min-height: 0 !important; overflow: hidden !important; }

body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] [data-asset-clearance-sheet] { order: 4 !important; display: grid !important; width: 100% !important; min-width: 0 !important; grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-capture-actions { order: 5 !important; display: flex !important; flex-wrap: wrap; gap: 8px; padding: 12px; border: 1px solid rgb(41 89 82 / 14%); border-radius: 4px; background: #f8faf7; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-clearance-toolbar { order: 6 !important; display: grid !important; grid-template-columns: minmax(200px, 1fr) auto; gap: 10px; padding: 12px; border: 1px solid rgb(41 89 82 / 14%); border-radius: 4px; background: #f8faf7; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-note-field { order: 7 !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-paste-assist { order: 8 !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] #assetSnapshotLookupResult { order: 9 !important; }

body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-entry-reference-panel { grid-column: 2 !important; grid-row: 1 !important; position: sticky !important; top: 18px; display: grid !important; gap: 14px; padding: 0 !important; border: 0 !important; background: transparent !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-reference-card { padding: 18px; border: 1px solid rgb(41 89 82 / 18%); border-radius: 6px; background: rgb(255 253 247 / 94%); box-shadow: 0 10px 24px rgb(25 63 57 / 8%); }

body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-ledger-section { width: 100% !important; min-width: 0 !important; padding: 0 !important; overflow: hidden; border: 1px solid rgb(41 89 82 / 18%) !important; border-radius: 6px !important; background: #fffdf8 !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] [data-asset-clearance-section="liability"] { border-color: rgb(170 81 70 / 26%) !important; background: #fffafa !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-section-title { display: flex !important; align-items: center; justify-content: space-between; min-height: 62px; padding: 0 18px; border-bottom: 1px solid rgb(41 89 82 / 14%); background: #f4f8f5; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-quick-presets { display: flex !important; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgb(41 89 82 / 12%); background: rgb(248 251 249 / 80%); }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-ledger-header { display: none !important; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-ledger-rows { display: grid !important; gap: 10px; padding: 14px 18px 18px; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-ledger-row { display: grid !important; grid-template-columns: minmax(0, 1.35fr) minmax(126px, .65fr) auto !important; gap: 8px; padding: 12px; border: 1px solid rgb(41 89 82 / 16%); border-radius: 4px; background: #fff; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-row-reference { grid-column: 1; min-height: 34px; padding: 7px 9px; border-radius: 3px; background: #f4f8f5; }
body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-snapshot-note { grid-column: 2 / 4; }

@media (max-width: 760px) {
  body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-body-grid-v2 { grid-template-columns: minmax(0, 1fr) !important; }
  body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] :is(.asset-capture-panel-v2, .asset-entry-reference-panel) { grid-column: 1 !important; grid-row: auto !important; }
  body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-entry-reference-panel { position: static !important; }
  body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-capture-head { grid-template-columns: minmax(0, 1fr) !important; }
  body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-draft-totals { grid-template-columns: minmax(0, 1fr) !important; }
  body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] .asset-ledger-row { grid-template-columns: minmax(0, 1fr) auto !important; }
  body.owner-shell-v1:not(.auth-required) #moduleStage [data-asset-human-contract="asset-liability-ledger-v5"] :is(.asset-row-reference, .asset-snapshot-note) { grid-column: 1 / -1; }
}
