/* Account actions stay at the right; copy address stays on the left. */
#acctList .acct-actions{margin-left:auto;justify-content:flex-end}
/* Separate the swap direction control from both amount cards. */
.swflip{margin:8px 0 6px}
/* Keep both header controls usable on narrow phones. */
@media(max-width:359px){
  header{gap:5px;padding-left:8px;padding-right:8px}
  header .network span{display:none}
  header strong{font-size:15px;min-width:0}
}

header{grid-template-columns:38px 34px minmax(0,1fr) auto auto}
.icon-btn.bell{color:var(--sub);display:inline-flex;align-items:center;justify-content:center}
.icon-btn.bell.on{color:var(--blue)}
.icon-btn.bell.on .bell-off{display:none}
.icon-btn.bell:focus-visible{outline:2px solid var(--key);outline-offset:2px}

/* CZ Kaia shortcut: network dot is status only; the wallet link is a button shape. */
header{grid-template-columns:44px 44px minmax(0,1fr) 8px auto auto;gap:4px}
header .icon-btn{width:44px;height:44px}
header .network{width:8px;pointer-events:none}
header .kaia-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:4px;
  min-height:44px;min-width:44px;padding:0 7px;border:1px solid var(--line);border-radius:10px;
  background:var(--card2);color:var(--txt);font-size:11px;font-weight:800;text-decoration:none;white-space:nowrap}
header .kaia-shortcut:focus-visible{outline:2px solid var(--key);outline-offset:2px}
header .kaia-shortcut .kaia-short{display:none}
header .wbtn{min-height:44px;padding:6px 8px}
.kaia-open-note{margin:0;padding:4px 12px;color:var(--sub);background:var(--card2);
  font-size:10px;line-height:1.35;text-align:center;border-bottom:1px solid var(--line)}
.kaia-open-note[hidden]{display:none}
.kaia-setup-note{font-size:11px;line-height:1.45;color:var(--sub);margin:8px 0}
.kaia-setup-open{display:flex;align-items:center;justify-content:center;min-height:44px;
  border:1px solid var(--line);border-radius:10px;background:var(--card2);color:var(--txt);
  font-size:13px;font-weight:800;text-decoration:none;padding:8px;margin-top:6px}
@media(max-width:440px){
  header .kaia-shortcut .kaia-long{display:none}
  header .kaia-shortcut .kaia-short{display:inline}
}
@media(max-width:400px){
  header{height:auto;min-height:96px;grid-template-columns:44px 44px minmax(0,1fr) auto;
    grid-template-areas:"dots bell brand brand" "network kaia kaia connect";
    gap:0 5px;padding:3px 8px}
  header .dots9{grid-area:dots}
  header .bell{grid-area:bell}
  header strong{grid-area:brand}
  header .network{grid-area:network;width:44px;justify-content:center}
  header .kaia-shortcut{grid-area:kaia;justify-self:start}
  header .wbtn{grid-area:connect}
}
/* The legacy disconnected header switches to flex in fixes-20260922CG.css.
   Override that layout so the Kaia action remains in the required two-row header. */
html.wallet-disconnected .app header{display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 8px auto auto;gap:4px}
html.wallet-disconnected .app header strong{margin-right:0!important}
@media(max-width:400px){
  html.wallet-disconnected .app header{height:auto;min-height:96px;
    grid-template-columns:44px minmax(0,1fr) auto;
    grid-template-areas:"bell brand brand" "network kaia connect";
    gap:0 5px;padding:3px 8px}
}
