/* =====================================================================
   Plutino EPS — Builder talent-selection workspace (prototype)
   Tokens follow plutino-eps/docs/plutino-website-style-guide.md:
   cream #efeee9, white surface, black text, no colour accents.
   ===================================================================== */

:root {
  --cream:        #efeee9;
  --surface:      #ffffff;
  --ink:          #000000;
  --ink-soft:     #3a3833;
  --muted:        #75726a;
  --muted-2:      #97948b;
  --line:         #dddbd3;
  --line-strong:  #b6b3a8;
  --hover:        #f5f4f0;
  --pick:         #e7e5dc;   /* highlighted (staged) row */
  --sunk:         #f7f6f2;

  --r:            4px;
  --font:         'Barlow', Arial, Helvetica, sans-serif;
  --font-cond:    'Barlow Semi Condensed', 'Barlow Condensed', Arial, sans-serif;

  --row-h:        38px;
  --thumb-w:      26px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body {
  margin: 0;
  height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

button { font: inherit; color: inherit; }

kbd {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  padding: 0 4px;
  color: var(--ink-soft);
}

/* =====================================================================
   Builder page behind the dialog — context only
   ===================================================================== */

.builder { position: fixed; inset: 0; overflow: hidden; background: var(--cream); }

.builder__masthead {
  height: 62px; background: var(--surface); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-cond); font-weight: 700; letter-spacing: .26em; font-size: 15px;
}
.builder__logoright { font-weight: 500; }

.builder__body { max-width: 1180px; margin: 0 auto; padding: 26px 32px; }
.builder__crumb { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.builder__title { font-family: var(--font-cond); text-transform: uppercase; font-size: 30px; font-weight: 600; letter-spacing: .01em; margin: 8px 0 22px; }
.builder__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 22px; }
.builder__panel { background: var(--surface); border: 1px solid var(--line); padding: 18px; }
.builder__label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.builder__field { border: 1px solid var(--line); padding: 9px 11px; font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.builder__field--tall { min-height: 84px; }
.builder__addrow { margin-bottom: 16px; }
.builder__ghostbtn { display: inline-block; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 8px 16px; }
.builder__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.builder__card { aspect-ratio: 3/4; background: var(--sunk); border: 1px solid var(--line); }

/* =====================================================================
   Dialog shell
   ===================================================================== */

.scrim {
  position: fixed; inset: 0; z-index: 10;
  background: rgba(24, 23, 20, .48);
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
}

.picker {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  width: min(1080px, 100%);
  height: min(720px, 100%);
  min-width: 0;                 /* never let nowrap content widen the dialog */
  display: flex; flex-direction: column;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
}

.picker__head {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--line);
}
.picker__headtext { flex: 1 1 auto; min-width: 0; }
.picker__head h2 {
  margin: 0; font-family: var(--font-cond); text-transform: uppercase;
  font-size: 22px; font-weight: 600; letter-spacing: .04em; line-height: 1;
}
.picker__sub { margin: 5px 0 0; font-size: 12px; color: var(--muted); }

.iconbtn {
  flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; display: grid; place-items: center; padding: 0;
}
.iconbtn svg { width: 11px; height: 11px; }
.iconbtn:hover { border-color: var(--ink); }

/* =====================================================================
   Controls row
   ===================================================================== */

.controls {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.search { position: relative; flex: 0 1 268px; display: flex; align-items: center; }
.search__icon { position: absolute; left: 9px; width: 13px; height: 13px; color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; font: inherit; font-size: 13px; padding: 7px 28px 7px 28px;
  border: 1px solid var(--line-strong); border-radius: 0; background: var(--surface); color: var(--ink);
  appearance: none;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.search__clear {
  position: absolute; right: 5px; width: 20px; height: 20px; border: 0; background: none;
  cursor: pointer; color: var(--muted); display: grid; place-items: center; padding: 0;
}
.search__clear svg { width: 9px; height: 9px; }
.search__clear:hover { color: var(--ink); }

.seg { display: flex; border: 1px solid var(--line-strong); }
.seg button {
  border: 0; background: var(--surface); cursor: pointer; padding: 7px 12px;
  font-family: var(--font-cond); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  border-right: 1px solid var(--line);
}
.seg button:last-child { border-right: 0; }
.seg button:hover { background: var(--hover); }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }

.filterbtn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer;
  padding: 7px 10px; font-size: 12px; font-weight: 500;
}
.filterbtn:hover { border-color: var(--ink); }
.filterbtn[aria-expanded="true"] { border-color: var(--ink); }
.filterbtn__caret { width: 11px; height: 11px; transition: transform .12s; }
.filterbtn[aria-expanded="true"] .filterbtn__caret { transform: rotate(180deg); }
.filterbtn__count {
  min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--ink); color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}

/* specialty chips (collapsed by default so the modal stays quiet) */
.chiprow {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  padding: 11px 20px; background: var(--sunk); border-bottom: 1px solid var(--line);
}
.chiprow__label {
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-right: 2px;
}
.chiprow__label + .chip { margin-left: 0; }
.chiprow__break { flex-basis: 100%; height: 0; }
.chip {
  border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer;
  padding: 4px 9px; font-size: 11.5px; font-weight: 500; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip__n { font-size: 10px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip__n { color: rgba(255,255,255,.65); }
.chiprow .linkbtn { margin-left: auto; }

/* =====================================================================
   Body / panes
   ===================================================================== */

.panetabs { display: none; }

.body { flex: 1 1 auto; display: flex; min-height: 0; }

.pane { display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: 1 1 0; }
.pane--available { border-right: 1px solid var(--line); }
.pane--selected { flex: 0 0 388px; }

.pane__head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 9px; border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.pane__spacer { flex: 1 1 auto; }
.pane__title {
  margin: 0; font-family: var(--font-cond); font-size: 13px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.pane__count {
  min-width: 22px; height: 18px; padding: 0 6px; border: 1px solid var(--line-strong);
  font-size: 11px; font-weight: 600; display: grid; place-items: center;
  font-variant-numeric: tabular-nums;
}
.pane__count--filled { background: var(--ink); color: #fff; border-color: var(--ink); }

.orderpill {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--muted); padding: 2px 7px;
}
.orderpill[data-mode="manual"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.linkbtn {
  border: 0; background: none; cursor: pointer; padding: 2px 0;
  font-size: 12px; color: var(--ink-soft); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.linkbtn:hover:not(:disabled) { color: var(--ink); }
.linkbtn:disabled { color: #c3c0b7; cursor: default; text-decoration: none; }
.linkbtn--strong { color: var(--ink-soft); font-weight: 600; }
.pane__head .linkbtn + .linkbtn { margin-left: 12px; }

.pane__scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; }
.pane__scroll:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.pane__foot {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 14px; border-top: 1px solid var(--line); background: var(--sunk);
  min-height: 40px;
}
.pane__status { font-size: 12px; color: var(--muted); }
.pane__status[data-live="true"] { color: var(--ink); font-weight: 600; }

.pane__note {
  margin: 0; padding: 9px 14px; border-top: 1px solid var(--line);
  background: var(--sunk); font-size: 11.5px; line-height: 1.45; color: var(--muted);
}

/* =====================================================================
   Group headers (division → primary specialty)
   ===================================================================== */

.ghead-div {
  position: sticky; top: 0; z-index: 3;
  background: var(--ink); color: #fff;
  font-family: var(--font-cond); font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.ghead-div__n { font-weight: 500; opacity: .7; letter-spacing: .08em; }

.ghead-spec {
  position: sticky; top: 23px; z-index: 2;
  background: var(--sunk); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 4px 14px 4px 10px;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
}
.ghead-spec:hover { background: var(--hover); }
.ghead-spec__name {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.ghead-spec__n { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ghead-spec__all {
  margin-left: auto; font-size: 11px; color: var(--muted); text-decoration: underline;
  text-underline-offset: 2px;
}
.ghead-spec:hover .ghead-spec__all { color: var(--ink); }

/* checkbox */
.cbx {
  flex: 0 0 auto; width: 14px; height: 14px; border: 1px solid var(--line-strong);
  background: var(--surface); display: grid; place-items: center;
}
.cbx svg { width: 9px; height: 9px; color: #fff; stroke-width: 2.4; opacity: 0; }
[aria-selected="true"] > .cbx,
.ghead-spec[data-state="all"] .cbx { background: var(--ink); border-color: var(--ink); }
[aria-selected="true"] > .cbx svg,
.ghead-spec[data-state="all"] .cbx svg { opacity: 1; }
.ghead-spec[data-state="some"] .cbx { background: var(--surface); border-color: var(--ink); }
.ghead-spec[data-state="some"] .cbx::after { content: ""; width: 8px; height: 2px; background: var(--ink); position: absolute; }
.ghead-spec .cbx { position: relative; }

/* =====================================================================
   Available row — high density
   ===================================================================== */

.row {
  display: flex; align-items: center; gap: 9px;
  padding: 0 14px 0 10px; height: var(--row-h);
  border-bottom: 1px solid #f0efe9;
  cursor: pointer; user-select: none;
}
.row:hover { background: var(--hover); }
.row[aria-selected="true"] { background: var(--pick); }
.row:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.row__thumb {
  flex: 0 0 auto; width: var(--thumb-w); aspect-ratio: 3/4; object-fit: cover;
  border-radius: 2px; background: var(--sunk); display: block;
}
.mono {
  flex: 0 0 auto; width: var(--thumb-w); aspect-ratio: 3/4; border-radius: 2px;
  background: var(--sunk); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 9px; font-weight: 700;
  letter-spacing: .04em; color: var(--ink-soft);
}
.row__name { min-width: 0; font-size: 13.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__meta {
  margin-left: auto; font-size: 11px; color: var(--muted-2); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 42%; text-align: right;
}
.row__flag {
  margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong);
  padding: 1px 6px; white-space: nowrap;
}
.row--added { color: var(--muted-2); cursor: default; background: repeating-linear-gradient(135deg, transparent 0 6px, #fbfaf7 6px 12px); }
.row--added:hover { background: repeating-linear-gradient(135deg, transparent 0 6px, #fbfaf7 6px 12px); }
.row--added .row__thumb, .row--added .mono { opacity: .45; }
.row--added .cbx { opacity: .35; }

/* =====================================================================
   Selected row — position, lead, move, remove
   ===================================================================== */

.srow {
  display: flex; align-items: center; gap: 9px;
  padding: 0 8px 0 10px; height: 44px;
  border-bottom: 1px solid #f0efe9;
}
.srow:hover { background: var(--hover); }
.srow--moved { animation: flash 1.1s ease-out 1; }
@keyframes flash { from { background: var(--pick); } to { background: transparent; } }

.srow__pos {
  flex: 0 0 18px; text-align: right; font-size: 11.5px; font-weight: 700;
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.srow__thumb {
  flex: 0 0 auto; width: var(--thumb-w); aspect-ratio: 3/4; object-fit: cover;
  border-radius: 2px; background: var(--sunk); display: block;
}

/* =====================================================================
   Alternative: circle avatars. Toggled with ?avatars=circle so the
   rectangular 3:4 default (the shipped decision, see IMPLEMENTATION-NOTES
   §5) stays intact and both are comparable side by side.
   ===================================================================== */
.avatars-circle .row__thumb,
.avatars-circle .srow__thumb,
.avatars-circle .mono {
  aspect-ratio: 1/1;
  border-radius: 50%;
}
.srow__body { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 1px; }
.srow__name { font-size: 13.5px; font-weight: 500; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow__spec { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srow__spec b { font-weight: 600; color: var(--ink-soft); }

.srow__lead {
  flex: 0 0 auto; border: 1px solid transparent; background: none; cursor: pointer;
  width: 26px; height: 26px; display: grid; place-items: center; color: var(--muted-2); padding: 0;
}
.srow__lead svg { width: 13px; height: 13px; }
.srow__lead:hover { color: var(--ink); border-color: var(--line-strong); }
.srow__lead[aria-pressed="true"] { color: var(--ink); }
.srow__lead[aria-pressed="true"] svg { fill: var(--ink); }

.srow__move { flex: 0 0 auto; display: flex; flex-direction: column; }
.srow__move button {
  width: 22px; height: 15px; border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; display: grid; place-items: center; padding: 0; color: var(--ink-soft);
}
.srow__move button + button { border-top: 0; }
.srow__move button svg { width: 9px; height: 9px; }
.srow__move button:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.srow__move button:disabled { color: #d2cfc6; cursor: default; }

.srow__remove {
  flex: 0 0 auto; width: 24px; height: 24px; border: 1px solid transparent; background: none;
  cursor: pointer; display: grid; place-items: center; color: var(--muted); padding: 0;
}
.srow__remove svg { width: 10px; height: 10px; }
.srow__remove:hover { color: var(--ink); border-color: var(--ink); }

/* lead badge inside the selected pane */
.leadtag {
  font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); padding: 0 4px; margin-left: 6px; white-space: nowrap;
}

/* =====================================================================
   Move action column
   ===================================================================== */

.mover {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 0 14px; border-right: 1px solid var(--line); background: var(--sunk);
}
.mover__hint { margin: 0; font-size: 11px; color: var(--muted-2); text-align: center; max-width: 100px; line-height: 1.3; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--ink); background: var(--surface); color: var(--ink);
  cursor: pointer; padding: 9px 16px;
  font-family: var(--font-cond); font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover:not(:disabled) { background: #262421; }
.btn--ghost { border-color: var(--line-strong); color: var(--ink-soft); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 6px 12px; font-size: 11.5px; }
.btn:disabled { background: var(--surface); color: #b8b5ac; border-color: var(--line); cursor: default; }
.btn__arrow { width: 14px; height: 14px; }
.btn--move { width: 158px; padding: 11px 10px; white-space: normal; line-height: 1.25; }
.btn--move .btn__arrow { flex: 0 0 auto; }
.btn--move:disabled .btn__arrow { opacity: .5; }

/* =====================================================================
   Empty / no-result states
   ===================================================================== */

.blank { padding: 34px 24px; text-align: center; color: var(--muted); }
.blank__mark {
  width: 40px; height: 52px; margin: 0 auto 14px; border: 1px dashed var(--line-strong);
  border-radius: 2px; position: relative;
}
.blank__mark::after {
  content: ""; position: absolute; inset: 8px 8px auto; height: 1px; background: var(--line-strong);
  box-shadow: 0 8px 0 var(--line-strong), 0 16px 0 var(--line-strong);
}
.blank__title { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin: 0 0 5px; }
.blank__body { font-size: 12.5px; line-height: 1.5; margin: 0 auto; max-width: 300px; }
.blank__body code { font-family: var(--font); font-weight: 600; color: var(--ink); }
.blank__actions { margin-top: 14px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   Clear-all confirmation (inline — never a modal inside a modal)
   ===================================================================== */

.confirm {
  border-bottom: 1px solid var(--ink); background: var(--sunk);
  padding: 12px 14px; display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  box-shadow: inset 3px 0 0 var(--ink);
}
.confirm__text { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.confirm__actions { display: flex; gap: 8px; justify-content: flex-end; }

/* =====================================================================
   Footer
   ===================================================================== */

.picker__foot {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface);
}
.picker__keys { margin: 0; font-size: 11.5px; color: var(--muted); }
.picker__footbtns { margin-left: auto; display: flex; gap: 10px; }

/* =====================================================================
   Mobile — 640px and below
   ===================================================================== */

@media (max-width: 640px) {
  .builder__body { padding: 16px; }
  .builder__grid { grid-template-columns: 1fr; }

  .scrim { padding: 0; align-items: stretch; }
  .picker { width: 100%; height: 100%; border: 0; box-shadow: none; }

  .picker__head { padding: 14px 14px 12px; }
  .picker__head h2 { font-size: 19px; }

  .controls { padding: 10px 12px; gap: 8px; }
  .search { flex: 1 1 100%; }
  .seg { flex: 1 1 100%; }
  .seg button {
    flex: 1 1 0; min-width: 0; padding: 7px 4px; font-size: 11px; letter-spacing: .04em;
    white-space: normal; line-height: 1.05;
  }
  .filterbtn { flex: 0 0 auto; }
  .chiprow { padding: 10px 12px; }

  /* pane tabs replace the side-by-side layout */
  .panetabs { display: flex; border-bottom: 1px solid var(--line); }
  .panetab {
    flex: 1 1 0; border: 0; border-bottom: 2px solid transparent; background: var(--surface);
    cursor: pointer; padding: 11px 8px;
    font-family: var(--font-cond); font-size: 12.5px; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted);
  }
  .panetab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
  .panetab__n {
    min-width: 20px; height: 17px; padding: 0 5px; border: 1px solid var(--line-strong);
    font-size: 11px; display: grid; place-items: center; font-variant-numeric: tabular-nums;
  }
  .panetab[aria-selected="true"] .panetab__n { background: var(--ink); color: #fff; border-color: var(--ink); }

  .body { display: block; position: relative; min-height: 0; flex: 1 1 auto; overflow: hidden; }
  .pane { display: none; position: absolute; inset: 0; }
  .pane--available { border-right: 0; }
  .pane--selected { flex: none; }
  body[data-pane="available"] .pane--available,
  body[data-pane="selected"]  .pane--selected { display: flex; }

  .pane__head { padding: 9px 12px; }
  .pane__title { display: none; }        /* the tab already names the pane */
  .pane__head .pane__count { display: none; }
  .pane--available .pane__spacer { display: none; }

  /* the single move action becomes a sticky bar above the footer */
  .mover {
    position: fixed; left: 0; right: 0; bottom: 57px; z-index: 12;
    flex-direction: row; gap: 12px; padding: 10px 12px;
    border-top: 1px solid var(--line); border-right: 0;
    display: none;
  }
  body[data-pane="available"] .mover { display: flex; }
  .btn--move { flex: 1 1 auto; width: auto; padding: 13px 12px; }
  .mover__hint { display: none; }        /* double-click is not a touch gesture */

  body[data-pane="available"] .pane--available .pane__foot { margin-bottom: 62px; }

  /* bigger tap targets for reordering */
  .srow { height: 52px; padding-right: 6px; }
  .srow__move button { width: 30px; height: 21px; }
  .srow__remove { width: 30px; height: 30px; }
  .srow__lead { width: 30px; height: 30px; }
  .row { height: 44px; }

  .picker__foot { padding: 10px 12px; position: sticky; bottom: 0; }
  .picker__keys { display: none; }
  .picker__footbtns { margin-left: 0; flex: 1 1 auto; }
  .picker__footbtns .btn { flex: 1 1 auto; padding: 11px 10px; }

  .confirm { flex-direction: column; align-items: stretch; gap: 10px; }
  .confirm__actions { margin-left: 0; }
  .confirm__actions .btn { flex: 1 1 0; }

  .pane__note { font-size: 11px; }
}
