/* A validator's Edit page (templates/staking/validator_edit.html) and the view page's pointers to it
   (validator view/edit v2.1). Uses the app tokens and the vp- classes of validator.css; its own classes are vv-. */

/* View page: where a moved action was, a pointer to the Edit page. */
.vv-moved { margin:10px 0 0; font-size:13.5px; line-height:1.5; color:var(--ink); }
.vv-moved a, .vp-timeline a { color:var(--ink); text-decoration:underline; text-underline-offset:2px; }
.vp > .vp-tabs-anchor > .vp-tabs { margin-top:24px; }

/* Edit page */
.vv-edit { max-width:1240px; }
.vv-edit-head { padding:8px 0 20px; }
.vv-edit-head h1 { margin:0; overflow-wrap:anywhere; }
.vv-edit-head .vp-sub { margin-top:10px; }
.vv-back { display:inline-flex; align-items:center; gap:6px; margin-bottom:10px; font-size:13.5px; font-weight:600; color:var(--ink); text-decoration:none; }
.vv-back:hover { text-decoration:underline; }
.vv-card { margin-top:16px; min-width:0; }
.vv-card-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:4px 12px; }
.vv-card > p { margin:8px 0 0; font-size:13.5px; line-height:1.55; color:var(--mute); }
.vv-card .form { margin-top:8px; }
.vv-note { margin-top:10px; font-size:12.5px; color:var(--mute); }
.vv-draftnote { margin:12px 0 0; padding:10px 14px; border:1px dashed var(--line); border-radius:10px; font-size:13px; line-height:1.5; color:var(--mute); }
.vv-draftnote b { color:var(--ink); }

/* Action rows: text left, the button that opens the existing review right. */
.vv-act { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 16px; align-items:center; margin-top:14px; padding-top:14px; border-top:1px solid var(--line-soft); }
.vv-act b { font-size:14px; color:var(--ink); }
.vv-act p, .vv-act .vv-action-balance { margin:4px 0 0; font-size:13.5px; line-height:1.5; color:var(--ink); overflow-wrap:anywhere; }
.vv-act small { display:block; margin-top:4px; font-size:12px; line-height:1.45; color:var(--mute); }
.vv-act small a { color:inherit; text-decoration:underline; }
.vv-act .btn { white-space:nowrap; }
.vv-act .btn[disabled] { opacity:.45; cursor:not-allowed; }
.vv-danger { border-color:color-mix(in srgb,var(--crit) 45%,var(--line)); }
.vv-danger :is(.vv-card-head, .vp-card-head) h2 { color:var(--crit); }
.vv-steps { margin:12px 0 0; padding-left:20px; display:flex; flex-direction:column; gap:10px; font-size:13.5px; line-height:1.55; color:var(--ink); }
.vv-confirm { margin-top:16px; }
.vv-confirm > summary { list-style:none; display:inline-flex; cursor:pointer; }
.vv-confirm > summary::-webkit-details-marker { display:none; }
.vv-confirm[open] > summary { display:none; }
.vv-confirm p { margin:0 0 12px; font-size:13.5px; line-height:1.55; color:var(--ink); }

/* Node shares the action row; Public now stays within the profile row. */
.vv-edit-row { display:grid; grid-template-columns:minmax(0,1fr); gap:20px; align-items:start; }
.vv-edit-form { min-width:0; }
.vv-edit-row > .vv-card, .vv-edit-form > .vv-card:first-child { margin-top:0; }
.vv-edit-row + .vv-edit-row { margin-top:16px; }
.vv-edit-top { align-items:stretch; }
.vv-edit-top > .content-stack { gap:var(--page-gap); }
.vv-edit-top #node .vv-card-head h2 { display:flex; align-items:center; gap:6px; }
.vv-edit-top #node > .content-stack { margin-top:var(--section-gap); }
.vv-edit-profile .vv-pub-d { margin:16px 0; }
.vv-node-version { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.vv-pub { display:none; }
.vv-pub-d { margin:0 0 16px; border:1px solid var(--line); border-radius:12px; background:var(--white); }
.vv-pub-d summary { cursor:pointer; padding:14px 16px; font:600 14px var(--font-b); color:var(--ink); }
.vv-pub-d summary span { font-weight:400; color:var(--mute); font-size:13px; }
.vv-pub-body { padding:0 16px 16px; display:flex; flex-direction:column; }
.vv-pub-head span { font-size:12.5px; color:var(--mute); }
.vv-pub-k { display:flex; flex-direction:column; gap:2px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line-soft); font:var(--label); letter-spacing:0; text-transform:none; color:var(--mute); }
.vv-pub-k span { font:400 12px/1.45 var(--font-b); letter-spacing:0; text-transform:none; }
.vv-pub-dl { display:grid; grid-template-columns:auto minmax(0,1fr); gap:6px 12px; margin:8px 0 0; font-size:13px; }
.vv-pub-dl dt { color:var(--mute); }
.vv-pub-dl dd { margin:0; color:var(--ink); overflow-wrap:anywhere; }
.vv-pub .btn, .vv-pub-body .btn { align-self:flex-start; margin-top:14px; }
@media (min-width:1100px) {
  .vv-edit-row { grid-template-columns:minmax(0,1fr) 340px; }
  .vv-pub { display:flex; flex-direction:column; position:sticky; top:20px; }
  .vv-pub-d { display:none; }
}
@media (max-width:760px) {
  .vv-act { grid-template-columns:minmax(0,1fr); }
  .vv-act .btn { justify-self:stretch; justify-content:center; }
}

/* My workspace › Secrets: keys of providers no longer in the release, a group of their own in the same table, so the columns line up (task-20261105-095842).
   The hidden Set key keeps each Remove under the Remove buttons above, as gen-status.css keeps its action column. */
/* No intrinsic width: the heading row fills the table without widening its columns, so the rows above stay put. */
.workspace-llm-retired-head { width:0; min-width:100%; }
.workspace-llm-retired h3 { margin:var(--section-gap) 0 0; }
.workspace-llm-retired p.help { margin:6px 0 0; }
.workspace-llm-gap { visibility:hidden; }
@media (max-width:560px) { .workspace-llm-gap { display:none; } }
