/* Approved Account-first cards and Batch add. Position-view aggregates are deferred. */
.orbit-site textarea { font: inherit; color: #ececec; }
.orbit-site textarea:focus-visible, .orbit-site summary:focus-visible { outline: 2px solid var(--orbit-lavender); outline-offset: 5px; }
.orbit-watch-panel textarea { display: block; width: 100%; min-width: 0; min-height: 146px; resize: vertical; padding: 13px; border: 1px solid #cecefb30; border-radius: 9px; background: #0e0d12; font-size: 12px; line-height: 1.9; }
.orbit-watch-panel textarea::placeholder { color: #9691a3; }
.orbit-watch-panel h2 { line-height: 1.15; }
.orbit-watch-panel .orbit-button:disabled { opacity: .4; cursor: not-allowed; transform: none; }
#watch-submit-label { font: inherit; }
.af-batch-summary { padding: 13px; border: 1px solid var(--orbit-line); border-radius: 9px; background: #cecefb04; margin-bottom: 15px; }
.af-batch-summary strong { display: block; color: var(--orbit-lavender); font-size: 12px; font-weight: 500; line-height: 1.6; }
.af-batch-summary > span { display: block; font-size: 10px; line-height: 1.8; color: var(--orbit-muted); margin-top: 5px; }
.af-batch-rows { margin: 0 0 17px; padding: 0; list-style: none; }
.af-batch-rows:empty { display: none; }
.af-batch-rows li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 10px; line-height: 1.6; border-bottom: 1px solid var(--orbit-line); color: var(--orbit-muted); }
.af-batch-rows li > span:first-child { overflow-wrap: anywhere; min-width: 0; }
.af-batch-rows li > span:last-child { flex-shrink: 0; color: var(--orbit-lavender); }
.af-batch-rows [data-status="invalid"] > span:last-child { color: #ffb0c6; }
.af-batch-rows [data-status="duplicate"] > span:last-child { color: var(--orbit-muted); }
.af-watch-status { font-size: 11px !important; color: var(--orbit-lavender) !important; margin-top: 16px; }
.af-watch-status:empty { display: none; }
.orbit-watch-privacy summary { cursor: pointer; color: var(--orbit-muted); font-size: 10px; padding-top: 10px; min-height: 34px; }
.orbit-watch-panel { position: static; }
#chain-cards { align-items: start; }
#chain-cards > .af-network-card { min-width: 0; border: 1px solid #cecefb25; border-radius: 16px; padding: 24px; background: linear-gradient(135deg, #221b29, #131217 70%); }
#chain-cards > .af-network-card[data-has-accounts="true"] { border-color: #e70c6245; }
.af-network-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.af-network-head > div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.af-network-head img { width: 33px; height: 33px; flex-shrink: 0; }
#chain-cards .af-network-head h3 { font-size: 21px; letter-spacing: -.035em; line-height: 1.15; }
.af-network-head p { color: var(--orbit-muted); font-size: 10px; margin-top: 6px; }
.af-view-tag { color: var(--orbit-muted); font-size: 9px; white-space: nowrap; border: 1px solid var(--orbit-line); border-radius: 20px; padding: 5px 8px; }
.af-network-total { display: flex; justify-content: space-between; gap: 10px; align-items: end; padding: 24px 0 20px; }
.af-network-total strong { display: block; font: 500 31px/1.2 'Inter Tight', sans-serif; letter-spacing: -.045em; overflow-wrap: anywhere; }
.af-network-total > div { min-width: 0; }
.af-network-total p, .af-network-total > span { font-size: 10px; color: var(--orbit-muted); margin-top: 7px; }
.af-network-total > span { flex-shrink: 0; padding-bottom: 2px; }
.af-account { border: 1px solid var(--orbit-line); border-radius: 11px; padding: 16px; background: #0c0b114d; margin: 12px 0; }
.af-account-head { display: flex; justify-content: space-between; align-items: start; gap: 8px; }
.af-account-identity { min-width: 0; padding-top: 3px; }
.af-address { margin: 0; font-size: 12px; line-height: 1.7; font-weight: 500; }
.af-address-copy { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 28px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; white-space: nowrap; cursor: pointer; user-select: none; }
.af-address-copy svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--orbit-muted); }
.af-address-copy:hover, .af-address-copy:hover svg { color: var(--orbit-lavender); }
.af-account-identity p { display: flex; align-items: center; gap: 6px; font-size: 9px; color: var(--orbit-muted); margin-top: 6px; }
.af-account-identity i { width: 5px; height: 5px; border: 1px solid #cecefb99; border-radius: 50%; }
.af-account-identity i.connected { border-color: #9dd8bc; background: #9dd8bc; }
.af-account-actions { position: relative; flex-shrink: 0; }
.af-account-actions > summary { display: grid; place-items: center; width: 36px; height: 36px; list-style: none; color: var(--orbit-lavender); font-size: 20px; line-height: 1; cursor: pointer; border-radius: 50%; border: 1px solid #cecefb20; }
.af-account-actions > summary::-webkit-details-marker { display: none; }
.af-account-actions[open] > summary { background: #cecefb12; }
.af-action-popover { position: absolute; top: 42px; right: 0; z-index: 15; min-width: 170px; padding: 6px; border: 1px solid #cecefb30; background: #241b2b; border-radius: 10px; box-shadow: 0 12px 35px #0008; }
.af-action-popover button { display: block; width: 100%; text-align: left; min-height: 42px; border: 0; padding: 10px; border-radius: 5px; background: none; color: #ececec; font-size: 11px; cursor: pointer; }
.af-action-popover button:hover { background: #cecefb0d; }
.af-action-popover [data-remove-address] { color: #ffb5ca; }
.af-account-value { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 17px 0 14px; }
.af-account-value strong { min-width: 0; overflow-wrap: anywhere; font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
.af-account-value > span { font-size: 11px; color: var(--orbit-lavender); }
.af-reward, .af-rent { font-size: 10px; line-height: 1.8; margin: -3px 0 14px; }
.af-reward { color: #9dd8bc; }
.af-rent { color: var(--orbit-muted); }
.af-position-details { border-top: 1px solid var(--orbit-line); }
.af-position-details > summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 12px; min-height: 38px; font-size: 10px; color: var(--orbit-muted); cursor: pointer; list-style: none; }
.af-position-details > summary::-webkit-details-marker { display: none; }
.af-position-details > summary > span { color: var(--orbit-lavender); }
.af-position-details > summary > span::after { content: ' ＋'; }
.af-position-details[open] > summary > span::after { content: ' −'; }
.af-position { padding-top: 16px; margin-top: 10px; border-top: 1px solid #cecefb15; }
.af-position-top { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 11px; }
.af-position-top strong { font-weight: 500; color: var(--orbit-lavender); }
.af-position-top > span { color: #d4cfde; }
.af-position dl { margin: 9px 0 0; font-size: 10px; }
.af-position dl > div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #cecefb09; padding: 8px 0; }
.af-position dt { color: var(--orbit-muted); flex-shrink: 0; }
.af-position dd { margin: 0; min-width: 0; text-align: right; overflow-wrap: anywhere; color: #d4cfde; }
.af-detail-note { font-size: 11px; line-height: 1.8; color: var(--orbit-muted); padding-top: 14px; }
.af-estimates { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--orbit-line); }
.af-estimates > div > span { display: block; color: var(--orbit-muted); font-size: 10px; }
.af-estimates strong { display: block; margin-top: 8px; color: var(--orbit-lavender); font-size: 17px; font-weight: 500; letter-spacing: -.02em; }
.af-estimates > div:last-child { text-align: right; }
.af-estimates > div:last-child strong { color: #9dd8bc; }
.af-network-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 19px; margin-top: 20px; border-top: 1px solid var(--orbit-line); }
.af-network-footer > span { font-size: 9px; color: var(--orbit-muted); }
.af-network-footer a { display: flex; align-items: center; gap: 13px; min-height: 36px; font-size: 10px; color: var(--orbit-lavender); }
.af-network-footer a:hover { color: white; }
.af-network-empty { padding: 22px 0 0; }
.af-network-empty > span { display: block; font-size: 25px; color: #cecefb80; }
.af-network-empty p { font-size: 11px; line-height: 1.8; color: var(--orbit-muted); margin: 10px 0; }
.af-network-empty a { display: inline-flex; min-height: 36px; align-items: center; gap: 12px; font-size: 11px; color: var(--orbit-lavender); }
.af-value-skeleton { width: 135px; height: 37px; }
.af-token-skeleton { width: 90px; height: 22px; }
:is(#remove-account-modal, #copy-address-modal) { width: min(440px, calc(100% - 36px)); padding: 28px; border: 1px solid #cecefb30; border-radius: 16px; background: #1e1725; color: #ececec; }
:is(#remove-account-modal, #copy-address-modal)::backdrop { background: #08060dc9; backdrop-filter: blur(5px); }
:is(#remove-account-modal, #copy-address-modal) h2 { font-size: 28px; letter-spacing: -.035em; line-height: 1.2; margin: 15px 0; }
:is(#remove-account-modal, #copy-address-modal) p { font-size: 12px; line-height: 1.8; color: var(--orbit-muted); overflow-wrap: anywhere; margin-top: 12px; }
.af-confirm-actions { display: flex; justify-content: end; gap: 12px; margin-top: 24px; }
.af-confirm-actions .orbit-button { padding-inline: 13px; font-size: 11px; }
.af-toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 80; padding: 14px 20px; max-width: calc(100% - 32px); border: 1px solid #cecefb30; border-radius: 10px; background: #241b2b; color: #ececec; font-size: 12px; line-height: 1.7; box-shadow: 0 10px 35px #0008; }
@media(max-width:1100px) { #chain-cards > .af-network-card { padding: 25px; } }
@media(max-width:650px) {
  .orbit-watch-panel textarea { font-size: 16px; min-height: 160px; }
  #chain-cards > .af-network-card { padding: 23px; }
  .af-account { padding: 17px; }
  .af-account-actions > summary { width: 44px; height: 44px; }
  .af-action-popover { top: 49px; }
  .af-action-popover button { min-height: 44px; }
  .af-position-details > summary { min-height: 46px; }
  .af-account-value strong { font-size: 20px; }
  .af-network-footer a, .af-network-empty a { min-height: 44px; }
  .af-confirm-actions { gap: 8px; }
  .af-confirm-actions .orbit-button { padding-inline: 10px; }
}

#copy-address-value { display: block; width: 100%; margin-top: 18px; padding: 12px; border: 1px solid var(--orbit-line); border-radius: 8px; background: #0e0d12; color: #ececec; font: 13px/1.8 'DM Sans', sans-serif; overflow-wrap: anywhere; resize: none; }
