/*
 * The kind of an investment, set right by a person (8 Oct 2026;
 * screens/record-kind-sheet.js): the dashboard masthead's Change control and
 * the sheet it opens.
 *
 * Kept apart from record-dashboard.css, which is generated from the approved
 * mockup and never edited by hand. The control reads as the Record card's own
 * Change (a button dressed as the mockup's link); the sheet uses the app's
 * sheet classes (.sheetlab, .sheetbtns, .btn) and only adds the radio list.
 * Concept D through the shell's variables: navy for the chosen kind and its
 * ring, slate behind it. No coloured bars.
 */

/* The masthead: beside the kind in the eyebrow, in sentence case, not the eyebrow's spaced capitals. */
.v2 .ks-change{border:0; background:none; padding:0; margin:0; font-size:11px; font-weight:500; letter-spacing:0; text-transform:none; color:var(--c-navy);}
.v2 .ks-change:hover{background:none; text-decoration:underline; text-underline-offset:3px;}

/* The sheet. */
#sheet-body .ks-now{margin:0; font-size:14px; color:var(--ink);}
#sheet-body .ks-word{margin-left:6px; font-size:12.5px; font-weight:400; color:var(--mut);}
#sheet-body .ks-src{margin:4px 0 0; font-size:13.5px; line-height:1.6; color:var(--grey);}
#sheet-body .ks-why{margin:0; padding-left:18px; font-size:13.5px; line-height:1.7; color:var(--ink);}
#sheet-body .ks-grp{border:0; margin:0 0 12px; padding:0; min-width:0;}
#sheet-body .ks-grp legend{padding:0; margin:0 0 6px; font-size:12px; font-weight:600; color:var(--ink);}
#sheet-body .ks-opts{display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:6px;}
#sheet-body .ks-opt{display:flex; gap:9px; align-items:center; padding:8px 11px; border:1px solid var(--line); border-radius:9px;
  background:var(--card); font-size:13px; color:var(--ink); cursor:pointer;}
#sheet-body .ks-opt:has(input:checked){border-color:var(--navy); background:var(--slate);}
#sheet-body .ks-opt input{margin:0; accent-color:var(--navy);}
#sheet-body .ks-err{margin:12px 0 0; padding:9px 12px; border-radius:8px; background:var(--red-soft); color:var(--red-text); font-size:13px; line-height:1.6;}
#sheet-body .ks-err[hidden]{display:none;}
#sheet-body .ks-back{display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; margin-top:14px; font-size:12.5px; color:var(--grey);}
#sheet-body .ks-back .text-button{padding:0; font-size:12.5px; font-weight:500; color:var(--navy);}
#sheet-body .ks-back .text-button:hover{text-decoration:underline; text-underline-offset:3px;}

/* 9 Nov 2026: a kind of the office's own, typed under the list; and the office's kinds marked in it. */
#sheet-body .ks-own{font-style:normal; margin-left:4px; font-size:11.5px; color:var(--mut);}
#sheet-body .ks-own-add{margin-top:4px; padding-top:12px; border-top:1px solid var(--line);}
#sheet-body .ks-own-row{display:grid; grid-template-columns:92px minmax(0,1fr); align-items:center; gap:10px; margin:0 0 8px;}
#sheet-body .ks-own-lab{font-size:12.5px; font-weight:500; color:var(--ink);}
#sheet-body .ks-own-row .sheetinput{margin:0; min-height:40px; width:100%;}
#sheet-body .ks-own-note{margin:2px 0 0; font-size:12.5px; line-height:1.6; color:var(--grey);}
@media (max-width:520px){ #sheet-body .ks-own-row{grid-template-columns:minmax(0,1fr); gap:4px;} }
