/* Public entry and account forms share the application's Lineca/Switzer identity. */
.public-header { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px 5vw; border-bottom:1px solid var(--line); }
.public-brand { color:var(--ink); font:600 25px var(--font-d); text-decoration:none; }
.public-brand span { display:block; color:var(--mute); font:400 11px var(--font-b); margin-top:3px; }
.public-header nav { display:flex; flex-wrap:wrap; align-items:center; gap:26px; }
.public-header nav>a { text-decoration:none; }
.shell.nosidebar > .maincol { min-width:0; width:100%; padding:0; }
.entry-notice { color:var(--mute); font-size:13px; margin-top:22px; max-width:480px; }
.auth-entry { max-width:480px; margin:64px auto; padding:0 24px; }
.auth-entry h1 { font:500 var(--page-title-size)/var(--page-title-leading) var(--font-d); letter-spacing:var(--page-title-tracking); margin:16px 0; }
.auth-entry .form { margin-top:28px; }
.auth-entry .field { display:flex; flex-direction:column; gap:8px; margin:18px 0; }
.auth-entry input:not([type=hidden],[type=checkbox]) { width:100%; padding:12px; border:1px solid var(--line); border-radius:8px; font-size:16px; }
.auth-entry .errorlist { padding-left:18px; color:var(--crit); font-size:13px; }
@media(max-width:700px) { .public-header { flex-wrap:wrap; padding:18px 20px; } .public-header nav { gap:14px; font-size:13px; } .auth-entry { margin:36px auto; } }
@media(max-width:560px) { .public-header { gap:16px; } .public-header nav { width:100%; justify-content:space-between; gap:10px; } }

.identity-page { max-width:640px; margin:40px auto; padding:0 24px; }
.identity-page .auth-entry { margin:0 auto; padding:0; }

.development-banner { padding:10px 24px; background:#fff4d6; color:#604500; font-size:13px; text-align:center; border-bottom:1px solid #ead69d; }

/* Keep session and security tables readable instead of splitting headers into letters. */
.identity-table th, .identity-table td { text-align:left; }
.identity-table td { min-width:100px; }
.identity-table td:nth-child(3) { min-width:240px; overflow-wrap:anywhere; }

.field > label { font-size:12.5px; font-weight:600; }
.field textarea { width:100%; max-width:100%; min-height:110px; padding:12px; border:1px solid var(--line); border-radius:10px; font:inherit; }

/* Page-by-page visual review: keep identity, account and product layouts readable. */
.position-identity strong, .position-identity .mono { display:block; }
/* The funding line sits under the name, never run into it ("…QAFrom Lifecycle"). */
.position-identity > .help { display:block; margin:4px 0 0; }
.position-identity .position-name { display:inline-flex; align-items:center; gap:10px; }
.band:not(:has(*)) { display:none; }
.mast:has(.mast-right:empty) { grid-template-columns:minmax(0,1fr); }
.mast-right:empty { display:none; }
.metric-precision { margin:5px 0; font-size:12px; color:var(--mute); }
.metric-precision summary { cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.metric-precision div { margin-top:6px; overflow-wrap:anywhere; line-height:1.6; }
.notification-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; padding:20px; border-bottom:1px solid var(--line); }
.notification-row.accent { background:var(--you, var(--fog)); }
.notification-open { display:flex; flex-wrap:wrap; gap:8px; margin:0; }
.notification-row:last-child { border-bottom:0; }
.notification-content { min-width:0; overflow-wrap:anywhere; }
.notification-content p { margin:10px 0 0; line-height:1.6; }
.notification-meta { display:flex; flex-direction:column; align-items:flex-end; justify-content:center; gap:8px; }
.account-table { width:100%; }
.vesting-progress > i { background:var(--control); }
.account-table td[data-label="Kind"] { white-space:nowrap; }
/* A long value in a table column (an email) stays on one line, cut with an ellipsis; its title holds the
   whole value. Above phones the cell takes a share of the table instead of setting the table's minimum. */
@media (min-width:561px) { td.cell-truncate { max-width:0; width:34%; } }
td.cell-truncate > span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
/* The changelog keeps four columns from 561px (640px minimum, so it scrolls below 690px with the shared hint,
   app.css); phones stack it. Only record names and changed values (addresses, hashes, emails) may break anywhere
   (.break), so 640px stays the table's real minimum while ordinary words never split. */
@media (min-width:561px) { .changelog-table { min-width:640px; } }
/* A note under an account table belongs to the page, not the last row: give it room. On phones the
   rows are bordered cards that already separate it. */
@media (min-width:561px) { .account-table + .help { margin-top:20px; } }
.account-actions a:not(.btn), .account-actions button:not(.btn) { display:inline-block; white-space:nowrap; margin:4px 12px 4px 0; }
.identity-page form p:has(> input:not([type=checkbox],[type=radio],[type=hidden])) { display:flex; flex-direction:column; align-items:stretch; gap:8px; }
.identity-page form p > input:not([type=checkbox],[type=radio],[type=hidden]) { width:100%; }
@media (max-width:560px) { .identity-page form p > input:not([type=checkbox],[type=radio],[type=hidden]) { font-size:16px; } }
.maincol .identity-page button:not([class]) { margin:4px 4px 4px 0; }
.auth-entry .field { margin:0; }
@media (max-width: 560px) {
  .tabs { flex-wrap:wrap; overflow:visible; gap:0; }
  .tabs a { flex:1 0 45%; justify-content:center; padding:12px 8px; }
  .kv { grid-template-columns:minmax(0,1fr); gap:6px; }
  .kv dd { margin-bottom:12px; }
  .kv dt { white-space:normal; }
  .notification-row { grid-template-columns:minmax(0,1fr); gap:14px; padding:18px; }
  .notification-meta { flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:center; }
  .account-table, .account-table tbody { display:block; }
  .account-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .account-table tr { display:block; border-bottom:1px solid var(--line-soft); }
  .account-table tr:last-child { border-bottom:0; }
  table.data.account-table td { display:block; width:auto; height:auto; border:0; text-align:left; }
  .account-table td[data-label]::before { content:attr(data-label); display:block; margin-bottom:4px; }
  .account-table .account-actions { line-height:2; }
  .account-table .mono { overflow-wrap:anywhere; }
  .identity-page { padding:0; margin:18px auto; }
  .shell.nosidebar .identity-page { padding:0 24px; }
  /* When and who share a line; a record with no field changes drops its empty Changed cell. */
  .changelog-table > tbody > tr { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; }
  .changelog-table > tbody > tr > td:nth-child(n+3), .changelog-table > tbody > tr > td[colspan] { grid-column:1 / -1; }
  table.data.changelog-table td[data-label="Changed"]:empty { display:none; }
}
/* Invoices stack whenever their card is narrower than the six columns (~670px): phones and small tablets. */
.sheet:has(> table.invoice-table) { container:invoices / inline-size; }
@container invoices (max-width: 679px) {
  .invoice-table, .invoice-table > tbody { display:block; width:100%; }
  .invoice-table > thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .invoice-table > tbody > tr:not([hidden]) { display:block; border-bottom:1px solid var(--line-soft); }
  .invoice-table > tbody > tr > td { display:block; height:auto; text-align:left; white-space:normal; border:0; }
  .invoice-table > tbody > tr > td[data-label]::before { content:attr(data-label); display:block; margin-bottom:4px; }
  .invoice-table table { width:100%; min-width:0; }
  .invoice-table table th, .invoice-table table td { white-space:normal; }
}

/* Account security shares the same controls and rhythm as product forms. */
.skip-link { position:fixed; left:16px; top:-100px; z-index:100; padding:12px 20px; background:var(--ink); color:white; border-radius:8px; }
.skip-link:focus { top:12px; }
.identity-page h1 { margin:0 0 24px; }
.identity-page h2 { font:500 18px/1.3 var(--font-d); letter-spacing:-.015em; margin:0 0 12px; }
.identity-page p { line-height:1.65; }
.identity-page > h2 { margin-top:32px; }
.security-panel { margin:16px 0; }
.security-panel p { color:var(--mute); margin:0 0 16px; }
/* One button row for the whole app (.form-actions; .setup-actions and .form-foot are the same row under
   older names). Actions sit together in source order, start-aligned, 12px apart, never pushed to opposite
   edges. Help or status text after a row starts 12px below it. On phones the buttons stack full width. */
.form-actions, .setup-actions, .form-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:12px; margin:24px 0 8px; }
/* A live action row collapses while all of its controls are hidden. */
:is(.form-actions, .setup-actions, .form-foot):not(:has(> :not([hidden]))) { display:none; }
:is(.form-actions, .setup-actions, .form-foot) + :is(p, .help, .note),
form:has(> :is(.form-actions, .setup-actions, .form-foot):last-child) + :is(p, .help, .note) { margin-top:12px; }
:is(.form-actions, .setup-actions, .form-foot):first-child { margin-top:0; }  /* nothing above it to space from */
@media (max-width:560px) {
  :is(.form-actions, .setup-actions, .form-foot) { flex-direction:column; align-items:stretch; }
  :is(.form-actions, .setup-actions, .form-foot) > :is(.btn, form),
  :is(.form-actions, .setup-actions, .form-foot) > form .btn { width:100%; justify-content:center; }
}
.identity-form > p:has(input[type=radio]) { padding:14px; border:1px solid var(--line); border-radius:10px; display:flex; align-items:flex-start; gap:8px; }
.identity-form > p:has(input[type=radio]) input { flex:none; margin-top:6px; }
.identity-form > p:has(input[type=radio]) label { overflow-wrap:anywhere; min-width:0; }
.identity-page textarea { max-width:100%; width:100%; padding:16px; border:1px solid var(--line); border-radius:10px; font:15px/1.7 var(--font-m); background:var(--fog); }
.identity-page .errorlist { list-style:none; }
.identity-page form { margin-bottom:24px; }
.identity-page label { font-size:12.5px; font-weight:600; }
.identity-page img, .identity-page svg { max-width:100%; height:auto; }
@media (max-width: 560px) {
  .identity-page .form-actions { gap:10px; }
}
.error-page { max-width:660px; padding:72px 24px; margin:0 auto; }
.error-page h1 { margin:18px 0; }
.error-description { color:var(--mute); line-height:1.7; margin:0; }
@media (max-width: 560px) { .error-page { padding:48px 24px; } }
.identity-back { padding-top:20px; margin-top:28px; border-top:1px solid var(--line); font-size:13px; }
.channel-table td { overflow-wrap:anywhere; }
.channel-table .help { display:block; margin-top:6px; max-width:340px; }
.preference-choice { display:flex; align-items:center; justify-content:center; min-height:44px; cursor:pointer; }
/* Each channel heading sits over its centred checkboxes. */
.notification-preferences th:not(:first-child) { text-align:center; }
.preference-choice input { width:18px; height:18px; accent-color:var(--control); }
.preference-choice span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
/* Both tables wrap their text and fit a tablet card; the shared 520px scroll minimum only hid their last column. */
.table-scroll > .channel-table, .table-scroll > .notification-preferences { min-width:0; }
@media (max-width: 560px) {
  .notification-preferences, .notification-preferences tbody { display:block; }
  .notification-preferences thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .notification-preferences tr { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-bottom:1px solid var(--line); }
  table.data.notification-preferences td { display:block; height:auto; border:0; }
  .notification-preferences td:first-child { grid-column:1/-1; font-weight:600; }
  .preference-choice { flex-direction:column; gap:6px; padding:8px 2px; font-size:11px; }
  .preference-choice span { position:static; width:auto; height:auto; overflow:visible; clip-path:none; }
}

@media (max-width:560px) {
  .sheet > table.data.position-table { min-width:0; }
  .position-table tr { margin:12px; }
  .position-table .position-identity { min-width:0; }
  .position-table .position-identity .mono { white-space:normal; overflow-wrap:anywhere; }
}
.session-table td { overflow-wrap:anywhere; }
@media (max-width:560px) { .identity-page .session-table { min-width:0; } }
/* Status is readable as text as well as color, including small mobile labels. */
.sheet-head .mono { min-width:0; max-width:100%; overflow-wrap:anywhere; }
.break { overflow-wrap:anywhere; }
.mast h1, .mast p { overflow-wrap:anywhere; }
.field { min-width:0; }
/* WebKit otherwise includes the native option text in document scroll overflow, even
   when the select's own bounding box fits. The native option menu remains available. */
.field select { max-width:100%; min-width:0; overflow:hidden; text-overflow:ellipsis; }

/* Wallet transaction hashes must fit narrow review screens. */
#joinStatus, .transaction-status { overflow-wrap:anywhere; }

.channel-table .account-actions form { display:flex; flex-wrap:wrap; gap:8px 16px; }

.invitation-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; }
.account-actions .invitation-actions a, .account-actions .invitation-actions button { margin:0; }
/* A note in place of an action button keeps the row as tall as the rows with buttons. */
.account-actions-note { display:inline-flex; align-items:center; min-height:var(--action-height); }

.session-table td:last-child { white-space:nowrap; overflow-wrap:normal; }

/* Keep the desktop shell within the viewport below the development notice. */
@media (min-width: 961px) {
  .development-banner + .shell { min-height:calc(100dvh - var(--development-banner-height, 0px)); }
}


/* Desktop tables share a stable grid; numeric headings follow their values. */
table.data th.r { text-align:right; }
.addr-line { overflow-wrap:anywhere; }
.validator-address { display:flex; align-items:center; gap:6px; }
.validator-address > span { min-width:0; overflow-wrap:anywhere; }
/* On a phone the 42 characters do not fit beside the 44px button; one line cut with an ellipsis reads
   better than a lone last character, and the button still copies the whole address. */
@media (max-width:560px) { .validator-address > span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; } }
.mast-left > .help { margin-block:4px; }
.mast + .board { margin-top:22px; }
@media (min-width:561px) {
  table.data.position-table th { white-space:normal; line-height:1.45; }
  .position-table .position-identity { overflow-wrap:anywhere; }
  .position-table .account-actions a { margin:0; }
  .position-table .position-identity .mono { font-size:11px; white-space:normal; }
}

/* Portfolio overview: balances, account tools, then comparable position rows. */
.view { max-width:1400px; }
.workspace-tools { display:flex; align-items:flex-start; flex-wrap:wrap; gap:12px 24px; padding:8px 0 0; font-size:12px; }
.workspace-tools a, .history-link { color:var(--ink); text-underline-offset:3px; }
.workspace-tools a:hover, .history-link:hover { color:var(--ink); }
.wallet-disclosure summary, .address-disclosure summary, .position-history summary { cursor:pointer; }
/* Your GEN linked wallets (task-20261103-101508): the summary carries the app's disclosure chevron and Link another
   wallet stays right next to it, closed or open. Open, each wallet is the app's wallet card with its funds on the
   balances' three columns (the cards start where At work, Self-stake and Delegated do), one on a phone: the list adds no
   width to the disclosure (inline-size containment and a matching negative margin) and spans the row (container width),
   so the link never moves. */
.wallet-disclosure > summary .chev { margin-right:4px; color:var(--mute); }
.workspace-tools:has(> .wallet-disclosure) { container-type:inline-size; }
.wallet-disclosure__cards { contain:inline-size; width:100cqw; margin-right:-100cqw; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:4px 0 6px; }
.wallet-disclosure__cards > .funding-card { margin-right:12px; }
.wallet-disclosure__cards > .funding-card:nth-child(3n) { margin-right:0; }
@media (max-width:560px) {
  .wallet-disclosure__cards { grid-template-columns:minmax(0,1fr); }
  .wallet-disclosure__cards > .funding-card { margin-right:0; }
}
/* A header's name stays on one line; only its unit line wraps, so a header is at most three lines. */
.position-table .position-identity > strong { font-size:14px; margin-bottom:5px; }
.address-disclosure { font:400 11px var(--font-m); color:var(--mute); }
.address-disclosure > span { margin-top:6px; overflow-wrap:anywhere; }
.position-table .position-identity .help { font-size:11px; color:var(--mute); }
.history-link { margin-left:auto; font-size:12px; }
.position-history > summary { font:600 15px var(--font-b); }
.position-history > summary > span { margin-left:8px; font-size:12px; color:var(--mute); }
.position-history[open] > summary { margin-bottom:20px; }
@media (max-width:560px) {
  .workspace-tools { gap:12px 18px; }
}


/* Native disclosures retain the prototype's menu/reveal motion. */
details[open] > :not(summary) { animation:m-rise var(--t) var(--ease) both; }
.btn { justify-content:center; }
.view:has(.vesting-progress) .bstats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
@media (max-width:560px) {
  .view:has(.vesting-progress) .bstats { grid-template-columns:1fr; gap:18px; }
}

.view.enter .bar-row .fill { transform-origin:left; animation:m-fillx 600ms var(--ease) both; }

/* UX audit: shared navigation, deliberate form measure, compact mobile shell. */
.tabs { flex-wrap:nowrap; overflow-x:auto; }
.tabs a { flex:0 0 auto; white-space:nowrap; }
/* Account navigation (workspace tabs, Changelog filter) is one row at every width, like .tabs: it scrolls
   sideways when it does not fit, rather than leaving one tab alone on a second line. */
.account-navigation { display:flex; gap:8px; flex-wrap:nowrap; overflow-x:auto; margin:16px 0 24px; border-bottom:1px solid var(--line); }
.account-navigation a { flex:0 0 auto; white-space:nowrap; }
.account-navigation { scroll-padding-inline:20px; }
/* tabs.js sets data-overflow (tabs past the right edge) and data-overflow-start (past the left edge): a pinned
   chevron over a 32px fade on that side says the row scrolls. Neither takes taps; each goes at its end of the row. */
.account-navigation[data-overflow]::after { content:"›"; position:sticky; right:0; flex:0 0 56px; margin-left:-56px;
  display:flex; align-items:center; justify-content:flex-end; padding-right:2px; color:var(--ink); font:600 20px/1 var(--font-b);
  background:linear-gradient(to right, transparent, var(--canvas) 32px); pointer-events:none; }
.account-navigation[data-overflow-start]::before { content:"‹"; position:sticky; left:0; flex:0 0 56px; margin-right:-56px;
  display:flex; align-items:center; justify-content:flex-start; padding-left:2px; color:var(--ink); font:600 20px/1 var(--font-b);
  background:linear-gradient(to left, transparent, var(--canvas) 32px); pointer-events:none; z-index:1; }
/* A filter bar (Changelog) keeps every choice visible: it wraps instead of scrolling. */
.account-navigation.is-wrapping { flex-wrap:wrap; overflow-x:visible; }
/* A date (staking/templatetags/dates.py) reads as one unit: day, month, year, time and zone stay on one line. */
.date-day, .date-instant { white-space:nowrap; }
/* A money figure in a table reads in the body font with tabular figures, like every other amount. */
td.money { font-variant-numeric:tabular-nums; white-space:nowrap; }
.sheet.pad:has(> .form) { max-width:640px; }
.form { max-width:560px; }
.form > .btn { justify-self:start; min-width:160px; }
.reward-chart { margin:0 0 16px; }
.reward-chart figcaption { font-weight:600; margin-bottom:14px; }
.reward-chart figcaption .help { margin-left:12px; }
.reward-chart-row { display:grid; grid-template-columns:85px minmax(40px,1fr) 140px; gap:16px; align-items:center; padding:5px 0; font-size:12px; }
.reward-chart-row .num { text-align:right; }
.reward-chart .track { height:8px; background:var(--fog); border-radius:4px; }
.reward-chart .fill { height:100%; background:var(--ink); border-radius:4px; }
.reward-chart .fill.loss { background:var(--crit); }
@media (max-width:560px) {
  .position-table tbody tr { display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; }
  .position-table tbody td:first-child { grid-column:1 / -1; }
  .position-table tbody td { min-width:0; }
  .reward-chart-row { grid-template-columns:65px minmax(30px,1fr) 115px; gap:8px; }
  .tabs a { width:auto; }
}

@media (max-width:560px) { .position-table tbody td::before { white-space:normal; line-height:1.5; } }

/* Shared by address and other copy controls; the clipboard handler lives in motion.js. */
.copy-btn { display:inline-flex; align-items:center; justify-content:center; flex:none; width:32px; height:32px; padding:0; color:var(--mute); background:transparent; border:1px solid transparent; border-radius:6px; cursor:pointer; }
.copy-btn:hover { color:var(--ink); border-color:var(--line); background:var(--white); }
@media (max-width:560px), (pointer:coarse) { .copy-btn { width:44px; height:44px; } }
/* Funding addresses wrap within the space left beside their copy control. */
.stake-source-address { display:flex; align-items:center; gap:8px; min-width:0; }
.stake-source-address > span { min-width:0; }
/* How will you sign with this wallet? (accounts/partials/_sign_way.html) One row per way; the chosen row takes the
   ink border, as a chosen wallet does. The extension list (partials/_wallet_extensions.html) sits under Browser
   wallet, only there: a sign step never asks which extension. */
.sign-way { display:grid; gap:8px; min-width:0; max-width:560px; margin:0; padding:0; border:0; }
.sign-way > legend { margin:0 0 8px; padding:0; font-size:12.5px; font-weight:600; color:var(--ink); }
.sign-way-option { display:flex; align-items:flex-start; gap:12px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:var(--white); cursor:pointer; }
.sign-way-option:has(input:checked) { border-color:var(--ink); }
.sign-way-option:has(input:disabled) { cursor:default; opacity:.6; }
.sign-way-option input { flex:none; margin:3px 0 0; accent-color:var(--ink); }
.sign-way-option > span { display:grid; gap:2px; min-width:0; }
.sign-way-option strong { font:500 14px var(--font-b); color:var(--ink); }
.sign-way-option small { font-size:12px; line-height:1.5; color:var(--mute); }
.sign-way > .help { margin:0; }
.sign-way--row { max-width:none; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); }
/* The validator size cards in the create wizard's Node step (signed task-20261125-083708). */
@media (min-width:1100px) { [data-node-size-section] .sign-way--row { grid-template-columns:repeat(5, minmax(0,1fr)); } }  /* the five sizes on one row */
[data-node-size-section] { margin-top:16px; }  /* Size follows the automatic-updates row */
[data-node-size-section] > .sign-way > legend { margin:0 0 4px; }
[data-node-size-help] { grid-column:1 / -1; margin:0 0 4px; }
[data-node-size-section] .sign-way-option { display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 10px; padding:12px 14px; }  /* radio and name on the first row; the figures use the card's full inner width */
[data-node-size-section] .sign-way-option > span { display:contents; }
[data-node-size-section] .sign-way-option small { grid-column:1 / -1; }
[data-node-size-section] .sign-way-option strong { display:flex; flex-wrap:wrap; align-items:center; gap:4px 6px; min-width:0; }  /* the Default chip wraps inside its card */
[data-node-size-section] .sign-way-option strong .vp-chip { margin-block:-4px; }  /* the Default chip does not push the figures down */
[data-node-size-section] .sign-way-option small > span { display:block; white-space:nowrap; }  /* one fact per line; an amount and its unit never split */
.sign-way-extensions { display:grid; gap:8px; margin:0 0 0 28px; }
.sign-way-extensions[hidden] { display:none; }
.sign-way-sub { margin:0; font-size:12.5px; font-weight:600; color:var(--ink); }
.sign-way-icon { flex:none; display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; overflow:hidden; border-radius:6px; background:var(--fog); border:1px solid var(--line); font:600 12px var(--font-b); color:var(--ink); }
.sign-way-icon img { width:100%; height:100%; object-fit:contain; }
/* The same icon inline, before a wallet's name or its 'Signs with …' (task-20261106-144500). */
.sign-way-icon--inline { width:18px; height:18px; border-radius:5px; margin:-4px 6px -4px 0; vertical-align:middle; line-height:0; color:var(--mute); }
.sign-way-extension { align-items:center; padding:10px 14px; }
.sign-way-extensions > .help { margin:0; }
/* The sign step's line naming the signing wallet's way. */
.sign-way-line { margin:16px 0 0; font-size:13px; color:var(--mute); }
.sign-way-line strong { font-weight:500; color:var(--ink); }
/* The Ledger (USB) device steps under a Ledger wallet's sign button (partials/_sign_ledger_steps.html). */
.sign-device-steps { display:grid; gap:6px; margin:0 0 8px; padding-left:20px; font-size:13px; line-height:1.5; color:var(--ink); }
.sign-device-steps[hidden] { display:none; }
/* By hand (partials/_sign_by_hand.html): what to sign, the command and the paste box. */
.sign-by-hand { display:grid; gap:12px; margin:16px 0 0; }
.sign-by-hand[hidden] { display:none; }
.sign-by-hand > .kv, .sign-by-hand > .help { margin:0; }
.sign-by-hand textarea { box-sizing:border-box; width:100%; padding:12px; resize:vertical; border:1px solid var(--line); border-radius:10px; background:var(--white); color:var(--ink); font:13px/1.6 var(--font-m); overflow-wrap:anywhere; }
.sign-by-hand textarea[readonly] { background:var(--fog); }
.sign-hand-copy { display:flex; margin-top:-4px; }
.form-actions > [data-by-hand-not-signed][hidden] { display:none; }
/* The recorded extension is not in this browser (validator-transactions.js); hidden stays the funds check's. */
.form-actions[data-sign-absent] { display:none; }
