/* Dress Up editor — a Capture One-style dark workspace. */
:root {
  --bg: #1d1d1f; --panel: #2b2b2d; --panel-2: #333336; --line: #3b3b3f; --deep: #151516;
  --text: #e7e7ea; --muted: #9b9ba3; --accent: #f39a2b; --blue: #3e8bff;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text);
  font: 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, sans-serif;
  overflow: hidden; -webkit-user-select: none; user-select: none; }
button, select, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
#app { display: grid; grid-template-rows: auto 1fr; height: 100vh; }

/* ---------- top toolbar ---------- */
#toolbar { display: flex; align-items: flex-end; gap: 14px; padding: 8px 14px 6px; background: #2e2e31;
  border-bottom: 1px solid #0d0d0e; -webkit-app-region: drag; }
#toolbar button { -webkit-app-region: no-drag; }
.tbgroup { display: flex; gap: 2px; align-items: flex-end; }
.tb { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 54px; padding: 4px 7px;
  border-radius: 6px; background: none; border: 0; cursor: pointer; font-size: 11.5px; color: #d8d8dc; }
.tb:hover { background: #3b3b40; }
.tb.on { color: var(--accent); }
.tb:disabled { opacity: .35; cursor: default; background: none; }
.ico { display: inline-flex; }
.ico svg { width: 22px; height: 22px; }
.tools { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0 auto; }
.tools .row { display: flex; gap: 2px; background: #232325; border: 1px solid #3a3a3e; border-radius: 8px; padding: 2px; }
.tool { width: 40px; height: 28px; border: 0; background: none; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #d8d8dc; }
.tool .ico svg { width: 18px; height: 18px; }
.tool:hover { background: #3b3b40; }
.tool.on { background: #47474d; color: var(--accent); }
.tblabel { font-size: 11.5px; color: #d8d8dc; }

/* ---------- layout ---------- */
#main { display: grid; grid-template-columns: 350px minmax(0, 1fr) 270px; min-height: 0; }
#left { display: flex; flex-direction: column; background: var(--panel); border-right: 1px solid #0d0d0e; min-height: 0; }
#tabs { display: flex; background: #262628; border-bottom: 1px solid #0d0d0e; }
.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 0 7px;
  border: 0; background: none; cursor: pointer; font-size: 10.5px; letter-spacing: .4px; color: #d0d0d5; }
.tab .ico svg { width: 20px; height: 20px; }
.tab:hover { background: #2f2f32; }
.tab.on { color: var(--accent); background: #303034; }
#panels { flex: 1; overflow-y: auto; overflow-x: hidden; }
#panels::-webkit-scrollbar, #strip::-webkit-scrollbar, #grid::-webkit-scrollbar { width: 9px; }
#panels::-webkit-scrollbar-thumb, #strip::-webkit-scrollbar-thumb, #grid::-webkit-scrollbar-thumb { background: #48484d; border-radius: 5px; }

/* ---------- tool panels ---------- */
.panel { border-bottom: 1px solid #1c1c1e; }
.panel-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: pointer; font-size: 14px; }
.panel-head:hover { background: #303033; }
.chev { display: inline-block; width: 10px; transition: transform .12s; color: var(--muted); }
.panel.open .chev { transform: rotate(90deg); }
.panel-body { display: none; padding: 2px 12px 12px; }
.panel.open .panel-body { display: block; }
.badge { font-size: 10px; letter-spacing: 1px; border: 1px solid #77777e; border-radius: 3px; padding: 1px 5px; color: #b9b9bf; }
.spacer { flex: 1; }
.icon-btn { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 15px; padding: 0 3px; }
.icon-btn:hover { color: var(--text); }
.icon-btn .ico svg { width: 18px; height: 18px; }
.srow, .frow { display: grid; grid-template-columns: 92px 1fr 58px; align-items: center; gap: 9px; margin: 7px 0; }
.frow { grid-template-columns: 92px 1fr; }
.fctl { display: flex; gap: 6px; align-items: center; }
.slabel { color: #cfcfd4; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
input[type=range] { -webkit-appearance: none; appearance: none; height: 3px; background: #57575d; border-radius: 2px; width: 100%; outline: none; margin: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 2px; background: #cfcfd5; border: 0; cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 13px; height: 13px; border-radius: 2px; background: #cfcfd5; border: 0; }
input[type=range].kelvin { background: linear-gradient(90deg, #3e7bff, #e8e8e8, #ffc53e); }
input[type=range].tint { background: linear-gradient(90deg, #3fbf5a, #e8e8e8, #d24bd2); }
input[type=range]:disabled { opacity: .4; }
.num { width: 58px; background: #1f1f21; border: 1px solid #3a3a3d; border-radius: 4px; padding: 2px 5px; text-align: right; font-size: 12px; }
.num::-webkit-inner-spin-button { display: none; }
.sel { flex: 1; min-width: 0; background: #3a3a3e; border: 1px solid #47474c; border-radius: 5px; padding: 3px 6px; }
.btn { background: #3a3a3e; border: 1px solid #47474c; border-radius: 5px; padding: 4px 10px; cursor: pointer; }
.btn:hover { background: #45454a; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1a1104; font-weight: 600; }
.btn:disabled { opacity: .4; cursor: default; }
.btnrow { display: flex; gap: 6px; margin: 8px 0 2px; flex-wrap: wrap; }
.muted { color: var(--muted); }
.note { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 6px 0; }
.check { display: flex; gap: 8px; align-items: center; margin: 6px 0 6px 101px; cursor: pointer; }
.check input { accent-color: var(--accent); margin: 0; }
.seg { display: flex; border-bottom: 1px solid var(--line); margin: 2px 0 8px; }
.seg button { flex: 1; background: none; border: 0; padding: 6px; cursor: pointer; color: #cfcfd4; border-bottom: 2px solid transparent; }
.seg button.on { color: var(--accent); border-bottom-color: var(--accent); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 6px; }
.chip { width: 26px; height: 26px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.chip.on { border-color: #fff; }
.chip.skin { width: auto; border-radius: 13px; padding: 0 10px; background: #c58b6c; color: #1d1d1f; font-size: 11px; font-weight: 600; }
#hist { width: 100%; height: 110px; display: block; background: #222224; border-radius: 3px; }
.exif { display: flex; justify-content: space-between; color: #cfcfd4; font-size: 12px; margin-top: 6px; min-height: 16px; }

/* library tab */
.list { display: flex; flex-direction: column; }
.li { display: flex; align-items: center; gap: 8px; padding: 5px 8px 5px 22px; border-radius: 4px; cursor: pointer; }
.li:hover { background: #343437; }
.li.on { background: #3f3f44; }
.li .count { margin-left: auto; background: #3a3a3e; border-radius: 9px; padding: 0 8px; font-size: 11.5px; color: #cfcfd4; }
.li .sw { width: 12px; height: 12px; border-radius: 2px; }
.li .sw.none { border: 1px solid #77777e; }
.sub { color: var(--muted); font-size: 12px; margin: 10px 0 2px 8px; }
.session { display: flex; gap: 8px; align-items: center; background: #3a3a3e; border-radius: 5px; padding: 5px 9px; }
.session b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.styles .li { padding-left: 10px; }

/* ---------- center viewer ---------- */
#center { display: grid; grid-template-rows: auto 1fr; min-width: 0; min-height: 0; background: var(--deep); }
#viewbar { display: flex; align-items: center; gap: 10px; padding: 5px 10px; background: #232325; border-bottom: 1px solid #0d0d0e; font-size: 12px; min-height: 36px; }
#viewbar .vb { background: none; border: 0; cursor: pointer; padding: 3px 5px; border-radius: 4px; color: #cfcfd4; display: flex; }
#viewbar .vb.on { color: var(--accent); }
#viewbar .vb:hover { background: #333336; }
#viewbar .vb .ico svg { width: 18px; height: 18px; }
#viewbar .title { flex: 1; text-align: center; color: #cfcfd4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#viewbar input[type=range] { width: 120px; }
#viewer { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 0; }
#viewer.zoomed { overflow: auto; display: block; }
#viewer.zoomed #stage { margin: 20px auto; }
#viewer.tool-pan.zoomed { cursor: grab; }
#viewer.tool-wb #stage { cursor: crosshair; }
#stage { position: relative; flex: none; overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,.6); }
#stage canvas { display: block; width: 100%; height: 100%; }
.thirds-bg {
  background-image:
    linear-gradient(90deg, transparent calc(33.333% - .5px), rgba(255,255,255,.5) 0, rgba(255,255,255,.5) calc(33.333% + .5px), transparent 0,
      transparent calc(66.666% - .5px), rgba(255,255,255,.5) 0, rgba(255,255,255,.5) calc(66.666% + .5px), transparent 0),
    linear-gradient(180deg, transparent calc(33.333% - .5px), rgba(255,255,255,.5) 0, rgba(255,255,255,.5) calc(33.333% + .5px), transparent 0,
      transparent calc(66.666% - .5px), rgba(255,255,255,.5) 0, rgba(255,255,255,.5) calc(66.666% + .5px), transparent 0);
}
#thirds { position: absolute; inset: 0; pointer-events: none; }
#crop { position: absolute; border: 1px solid #fff; box-shadow: 0 0 0 9999px rgba(0,0,0,.6); cursor: move; touch-action: none; }
#crop i { position: absolute; width: 16px; height: 16px; border: 3px solid #fff; }
#crop i[data-h=nw] { left: -3px; top: -3px; border-right: 0; border-bottom: 0; cursor: nwse-resize; }
#crop i[data-h=ne] { right: -3px; top: -3px; border-left: 0; border-bottom: 0; cursor: nesw-resize; }
#crop i[data-h=sw] { left: -3px; bottom: -3px; border-right: 0; border-top: 0; cursor: nesw-resize; }
#crop i[data-h=se] { right: -3px; bottom: -3px; border-left: 0; border-top: 0; cursor: nwse-resize; }
#split { position: absolute; top: 0; bottom: 0; width: 18px; margin-left: -9px; cursor: ew-resize; touch-action: none; }
#split span { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 6px #0008; }
#split span::before, #split span::after { content: ""; position: absolute; top: 7px; border: 4px solid transparent; }
#split span::before { left: 1px; border-right-color: #333; }
#split span::after { right: 1px; border-left-color: #333; }
#grid { position: absolute; inset: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px; padding: 24px; align-content: start; }
#busy { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: #000b; padding: 4px 12px; border-radius: 12px; font-size: 12px; }
#empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; max-width: 460px; padding: 20px; }
#empty h2 { margin: 0; font-size: 22px; font-weight: 600; }
#empty p { margin: 0; color: var(--muted); }
#empty .btnrow { justify-content: center; }
#viewer.drop::after { content: "Drop photos to import"; position: absolute; inset: 12px; border: 2px dashed var(--accent);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; background: #0008; }

/* ---------- browser (filmstrip + grid) ---------- */
#right { display: flex; flex-direction: column; background: #232325; border-left: 1px solid #0d0d0e; min-height: 0; }
#stripbar { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-bottom: 1px solid #0d0d0e; min-height: 36px; }
#stripbar .count { font-variant-numeric: tabular-nums; }
#stripbar select { flex: 0 1 auto; }
#strip { flex: 1; overflow-y: auto; padding: 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.card { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; border-radius: 6px; padding: 6px; }
.card:hover { background: #29292c; }
.card.sel { background: #2f2f34; }
.card .thumb { position: relative; width: 100%; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; }
.card.big .thumb { aspect-ratio: 1 / 1; }
.card .thumb img { max-width: 100%; max-height: 100%; display: block; box-shadow: 0 1px 6px #000a; }
.card .thumb img:not([src]) { width: 60%; height: 60%; background: #2a2a2d; }
.card.cur .thumb img { outline: 2px solid #f0f0f2; outline-offset: 2px; }
.cbar { display: flex; align-items: center; gap: 7px; }
.stars { display: flex; }
.stars i { font-style: normal; font-size: 11px; color: #4d4d53; cursor: pointer; padding: 0 1px; }
.stars i.on { color: #ececef; }
.stars i:hover { color: var(--accent); }
.tagdot { width: 11px; height: 11px; border-radius: 2px; cursor: pointer; }
.tagdot.none { border: 1px solid #66666c; }
.chk { margin: 0; accent-color: var(--accent); cursor: pointer; }
.cname { font-size: 12px; color: #d5d5da; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edited { position: absolute; right: 4px; bottom: 4px; font-size: 10px; background: #000b; border-radius: 3px; padding: 0 4px; display: none; }
.card.is-edited .edited { display: block; }

/* ---------- overlays ---------- */
.popover { position: fixed; z-index: 50; min-width: 200px; background: #2e2e31; border: 1px solid #47474c; border-radius: 8px;
  padding: 5px; box-shadow: 0 8px 28px #000a; display: flex; flex-direction: column; }
.pop-item { display: flex; align-items: center; gap: 8px; background: none; border: 0; text-align: left; padding: 6px 10px; border-radius: 5px; cursor: pointer; }
.pop-item:hover:not(:disabled) { background: var(--blue); }
.pop-item:disabled { opacity: .4; }
.pop-item .hint { margin-left: auto; color: var(--muted); font-size: 11px; }
.pop-item .swatch { width: 12px; height: 12px; border-radius: 2px; }
.popover hr { border: 0; border-top: 1px solid #47474c; margin: 4px 0; }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #2e2e31; border: 1px solid #4a4a50;
  padding: 9px 16px; border-radius: 8px; box-shadow: 0 6px 24px #000a; z-index: 60; max-width: 70vw; }
.modal-back { position: fixed; inset: 0; background: #0009; z-index: 40; display: flex; align-items: center; justify-content: center; }
.modal { background: #2b2b2d; border: 1px solid #47474c; border-radius: 10px; width: 420px; padding: 18px 20px; box-shadow: 0 16px 50px #000c; }
.modal h3 { margin: 0 0 12px; font-size: 16px; }
.modal .frow, .modal .srow { grid-template-columns: 110px 1fr; }
.modal .srow { grid-template-columns: 110px 1fr 58px; }

/* ---------- Auto + Quick tab ---------- */
.srow { border-radius: 4px; }
.srow.flash { animation: flash 1.4s ease-out; }
@keyframes flash { 0% { background: rgba(243, 154, 43, .38); } 100% { background: transparent; } }
.auto-a { font-weight: 700; font-size: 11px; border: 1px solid #6a6a70; border-radius: 3px; padding: 0 4px; line-height: 16px; margin-right: 4px; }
.auto-a:hover { border-color: var(--accent); color: var(--accent); }
.btn.big { width: 100%; padding: 10px; font-size: 14px; margin: 4px 0 2px; }
.check.tight { margin: 6px 0; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.qstars { display: flex; gap: 2px; }
.qstars button { background: none; border: 0; font-size: 18px; color: #4d4d53; cursor: pointer; padding: 0 2px; }
.qstars button.on { color: #ececef; }
.qstars button:hover { color: var(--accent); }

/* ---------- curve, colour balance, layers ---------- */
canvas.curve { width: 100%; aspect-ratio: 1; display: block; border-radius: 4px; cursor: crosshair; touch-action: none; margin-top: 4px; }
input[type=range].hue { background: linear-gradient(90deg, #f44, #fa3, #ee4, #4d4, #4dd, #46f, #c4f, #f44); }
.layers .li { padding-left: 10px; }
.layers .li input { margin: 0; accent-color: var(--accent); }
.layerctl { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 4px; }
.layerctl .btnrow .check { margin: 0 12px 0 0; }
#maskGuide { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
#viewer.tool-mask #stage, #viewer.tool-heal #stage { cursor: crosshair; }
.recent { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.recent .btn { min-width: 220px; }

/* ---------- styles, dialogs ---------- */
.styles .li .mine { margin-left: auto; }
.styles .li .icon-btn { font-size: 12px; }
.text { flex: 1; min-width: 0; background: #1f1f21; border: 1px solid #3a3a3d; border-radius: 5px; padding: 5px 8px; -webkit-user-select: text; user-select: text; }
.modal .checks { margin: 8px 0; }

/* ---------- before canvas, compare, cull, navigator ---------- */
#viewB { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#split::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 4px #0008; }
#viewer.comparing { gap: 16px; }
#stage2 { position: relative; flex: none; overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,.6); }
#stage2 canvas { display: block; width: 100%; height: 100%; }
.stage-label { position: absolute; left: 8px; top: 8px; background: #000b; padding: 2px 8px; border-radius: 10px; font-size: 12px; pointer-events: none; }
#hud { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px;
  background: #1c1c1ee6; border: 1px solid #3a3a3e; padding: 7px 14px; border-radius: 22px; box-shadow: 0 6px 24px #000a; z-index: 5; }
.hud-stars i { font-style: normal; font-size: 20px; color: #4d4d53; cursor: pointer; padding: 0 2px; }
.hud-stars i.on { color: #f2f2f4; }
.hud-stars i:hover { color: var(--accent); }
body.culling #main { grid-template-columns: 0 minmax(0, 1fr) 220px; }
body.culling #left { visibility: hidden; overflow: hidden; }
#center { position: relative; }
#nav { position: absolute; right: 14px; bottom: 14px; z-index: 6; background: #1c1c1ee6; border: 1px solid #3a3a3e; border-radius: 8px; padding: 6px; box-shadow: 0 6px 24px #000a; cursor: crosshair; touch-action: none; }
.nav-box { position: relative; }
.nav-box img { display: block; max-width: 200px; max-height: 150px; }
.nav-rect { position: absolute; border: 2px solid var(--accent); box-shadow: 0 0 0 999px #0006; pointer-events: none; }
.nav-box { overflow: hidden; }
.modal.wide { width: 640px; }
.sheet { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.sk { display: flex; gap: 10px; align-items: center; margin: 4px 0; }
kbd { min-width: 64px; display: inline-block; text-align: center; background: #3a3a3e; border: 1px solid #4a4a50; border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; font: 12px ui-monospace, Menlo, monospace; }
/* The center column must never grow past its grid track (the view bar has many
   controls): pin the column and let the bar's title shrink instead. */
#center { grid-template-columns: minmax(0, 1fr); }
#viewbar { overflow: hidden; }
#viewbar .title { min-width: 0; }
#viewbar .sel { flex: 0 1 auto; max-width: 160px; }
.share { padding: 6px 0 8px; border-bottom: 1px solid var(--line, #2a2a2a); }
.share-title { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.share-title b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.comments-list { max-height: 300px; overflow: auto; font-size: 12px; display: grid; gap: 6px; margin: 8px 0; }
.banner { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: #5a2a14; color: #ffd9c2; font-size: 12.5px; border-bottom: 1px solid #7a3a1c; }
.banner span { flex: 1; }
/* centre column: banner · view bar · job strip · viewer · auto row */
#center { display: flex; flex-direction: column; }
#center > #viewer { flex: 1; }
/* job strip: the session's state + the next action */
#jobstrip { display: flex; align-items: center; gap: 4px; padding: 5px 12px; border-bottom: 1px solid var(--line, #2a2a2a); font-size: 12.5px; color: var(--muted, #9a9a9f); white-space: nowrap; overflow: hidden; }
#jobstrip[hidden] { display: none; }
#jobstrip .jsession { color: var(--text, #e8e8ea); font-weight: 600; margin-right: 8px; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
#jobstrip .jstat { background: none; border: 0; color: inherit; font: inherit; padding: 2px 7px; border-radius: 4px; cursor: pointer; }
#jobstrip .jstat:hover { background: rgba(255,255,255,.06); color: var(--text, #e8e8ea); }
#jobstrip .jstat b { color: var(--text, #e8e8ea); font-weight: 600; }
#jobstrip .spacer, #autorow .spacer { flex: 1; }
#jobstrip .next { padding: 4px 14px; }
/* auto row: the switches that really run */
#autorow { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-top: 1px solid var(--line, #2a2a2a); font-size: 12px; overflow-x: auto; white-space: nowrap; }
#autorow[hidden] { display: none; }
#autorow .alabel { color: var(--muted, #9a9a9f); margin-left: 8px; }
#autorow .sel { max-width: 150px; }
.atog { background: transparent; border: 1px solid #3a3a3e; color: var(--muted, #9a9a9f); border-radius: 12px; padding: 3px 10px; font: inherit; cursor: pointer; }
.atog:hover { color: var(--text, #e8e8ea); }
.atog.on { border-color: var(--accent, #f0a030); color: var(--accent, #f0a030); background: rgba(240,160,48,.08); }
/* picks */
.thumb { position: relative; }
.pickmark { position: absolute; left: 4px; top: 4px; min-width: 16px; height: 16px; border-radius: 8px; font-size: 11px; line-height: 16px; text-align: center; cursor: pointer; color: #fff; background: rgba(0,0,0,.35); opacity: 0; }
.card:hover .pickmark, .pickmark.pick, .pickmark.reject { opacity: 1; }
.pickmark.pick { background: #2f8f46; }
.pickmark.reject { background: #b8383d; }
.card.rejected img { opacity: .4; }
.clientmark { position: absolute; right: 4px; bottom: 4px; font-size: 10.5px; padding: 1px 5px; border-radius: 8px; background: rgba(20,20,22,.8); color: #ff8fb1; }
.clientmark[hidden] { display: none; }
.hud-picks { display: inline-flex; gap: 4px; }
.hud-picks .pk { width: 26px; height: 22px; border-radius: 4px; border: 1px solid #444; background: transparent; color: #ccc; cursor: pointer; }
.hud-picks .pk.pick.on { background: #2f8f46; border-color: #2f8f46; color: #fff; }
.hud-picks .pk.reject.on { background: #b8383d; border-color: #b8383d; color: #fff; }
#autorow { flex-wrap: wrap; row-gap: 4px; overflow: visible; }
#autorow .sel { min-width: 120px; flex: 0 0 auto; }
#jobstrip .jstat, #jobstrip .next { flex: 0 0 auto; }
#jobstrip { flex-wrap: wrap; row-gap: 4px; }
#jobstrip .jsession { flex: 0 1 auto; min-width: 48px; }
