:root {
  --bg: #F3F4F1; --card: #FFFFFF; --ink: #16191D; --muted: #5A6169; --line: #DADDD8; --line2: #EDEFEA;
  --blue: #1F4FA8; --blue-bg: #E1E9F7; --blue-ink: #163A7D;
  --ok: #17734F; --ok-bg: #DDF0E6; --ok-ink: #0F5539;
  --warn: #A35400; --warn-bar: #E8A04A; --warn-bg: #FBEBD6; --warn-ink: #7A3F00;
  --idle: #E3E6E0; --dark: #16191D;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: 'IBM Plex Sans Thai', 'Noto Sans Myanmar', system-ui, sans-serif; font-size: 15px; line-height: 1.45; }
a { color: var(--blue); }
a:hover { color: var(--blue-ink); }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.wrap { max-width: 1360px; margin: 0 auto; padding: 20px 16px 48px; display: flex; flex-direction: column; gap: 18px; }
.narrow { max-width: 560px; }

/* top bar */
.top { background: var(--dark); color: #fff; }
.top .in { max-width: 1360px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.top .brand { font-weight: 700; font-size: 17px; color: #fff; text-decoration: none; margin-right: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px; }
.top nav a { white-space: nowrap; color: #C9CDC6; text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.top nav a.on { background: #2A2F35; color: #fff; font-weight: 600; }
.seg { display: inline-flex; border: 1px solid #3A4047; border-radius: 8px; overflow: hidden; }
.seg button { font: inherit; font-size: 14px; font-weight: 600; min-width: 48px; min-height: 40px; padding: 0 10px; border: 0; background: var(--dark); color: #C9CDC6; cursor: pointer; }
.seg button.on { background: #fff; color: var(--ink); }
.seg button:disabled { color: #6B7178; cursor: not-allowed; }

/* generic */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
h1 { font-size: 26px; margin: 0; }
h2 { font-size: 18px; margin: 0; font-weight: 600; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } }
label.f { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
select, input[type=text], input[type=password], input[type=number], input[type=search], input[type=date], input:not([type]) {
  font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid #C9CDC6; border-radius: 8px; padding: 0 10px; min-height: 44px; }
.btn { font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 16px; border-radius: 8px; border: 1px solid #C9CDC6; background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.go { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.big { min-height: 60px; font-size: 18px; border-radius: 12px; width: 100%; }
.btn:disabled { background: var(--idle); border-color: var(--idle); color: var(--muted); cursor: not-allowed; }
.chip { display: inline-block; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok-ink); }
.chip.warn { background: var(--warn-bg); color: var(--warn-ink); }
.chip.blue { background: var(--blue-bg); color: var(--blue-ink); }
.chip.idle { background: var(--idle); color: #3A4047; }
.tag { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 4px; background: var(--bg); color: #3A4047; }
.bar { height: 12px; border-radius: 3px; background: var(--idle); overflow: hidden; }
.bar > i { display: block; height: 100%; }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 10px 8px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.scroll { overflow-x: auto; }
.empty { padding: 24px; text-align: center; color: var(--muted); }
.msg { padding: 12px 14px; border-radius: 8px; font-weight: 600; }
.msg.ok { background: var(--ok-bg); color: var(--ok-ink); }
.msg.err { background: var(--warn-bg); color: var(--warn-ink); }
.hidden { display: none !important; }

.pin { text-align: center; font-size: 22px !important; letter-spacing: 8px; }

/* daily plan rows (today + report) — finished rows turn solid green so they read from across the floor */
.list { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.pr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line2); }
.pr:last-child { border-bottom: 0; }
.aseq { font-family: var(--mono); font-weight: 700; font-size: 18px; min-width: 52px; height: 52px; padding: 0 6px; border-radius: 10px; background: var(--dark); color: #fff; display: flex; align-items: center; justify-content: center; }
.aseq small { font-size: 11px; opacity: .7; margin-right: 1px; }
.pn { font-family: var(--mono); font-size: 21px; font-weight: 700; line-height: 1.2; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; margin-top: 2px; color: var(--muted); }
.meta b { font-family: var(--mono); font-weight: 600; color: var(--ink); }
.crates { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.crates span { font-size: 14px; font-weight: 600; padding: 4px 10px; border-radius: 7px; background: var(--blue-bg); color: var(--blue-ink); }
.crates span b { font-family: var(--mono); font-size: 18px; margin-left: 4px; }
.crates.big span { background: var(--blue); color: #fff; font-size: 15px; padding: 6px 12px; }
.crates.big span b { font-size: 22px; }
.pr.done { background: var(--ok); color: #fff; border-bottom-color: #0F5539; }
.pr.done .meta, .pr.done .meta b { color: #E3F3EA; }
.pr.done .aseq { background: #fff; color: var(--ok); }
.pr.done .crates span { background: rgba(255,255,255,.18); color: #fff; }
.pr.done .crates.big span { background: #fff; color: var(--ok-ink); }
.act { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 120px; }
.act .btn { min-height: 52px; min-width: 124px; font-size: 16px; }
.ok-tag { font-weight: 700; font-size: 17px; white-space: nowrap; }
.who { font-size: 12px; opacity: .85; }
.undo { font: inherit; font-size: 12px; border: 0; background: transparent; color: inherit; opacity: .85; text-decoration: underline; cursor: pointer; min-height: 32px; }
.pick { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; background: var(--blue-bg); border-radius: 10px; padding: 10px; }
.pick label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--blue-ink); font-weight: 600; }
.pick select { min-height: 48px; font-size: 17px; font-family: var(--mono); }
.pick .go-row { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
@media (max-width: 480px) {
  .pr { grid-template-columns: auto minmax(0, 1fr); }
  .pr .act { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .pr .act .btn { flex: 1; }
}

@media (max-width: 640px) {
  .top .in { padding: 8px 12px; gap: 6px 10px; }
  .top .seg { order: 2; }
  .top nav { order: 3; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
  .top nav a { justify-content: center; white-space: normal; text-align: center; }
  .top nav a { padding: 8px 10px; }
  h1 { font-size: 22px; }
  .wrap { padding: 14px 12px 40px; gap: 14px; }
}
.seg.light { border-color: #C9CDC6; }
.seg.light button { background: #fff; color: var(--ink); }
.seg.light button.on { background: var(--dark); color: #fff; }
/* v3 scale tuning */
.narrow { max-width: 720px; }
.btn.big { min-height: 54px; font-size: 17px; }
@media (max-width: 640px) {
  body { font-size: 14px; }
  h1 { font-size: 20px; }
  h2 { font-size: 16px; }
  .btn { min-height: 44px; font-size: 14px; padding: 0 12px; }
  .btn.big { min-height: 52px; font-size: 16px; }
  .card { padding: 12px 14px; }
  .top .brand { font-size: 15px; }
  .top nav a { font-size: 14px; min-height: 40px; }
  .seg button { min-height: 36px; min-width: 42px; font-size: 13px; }
}

/* ---- Drawing Status additions */
.pr:has(> .ck) { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.pr .ck { width: 26px; height: 26px; accent-color: var(--blue); }
.qty { font-size: 15px; font-weight: 600; color: var(--muted); }
.pr.done .qty { color: #E3F3EA; }
.more { font-size: 12px; }
.tm { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 5px; background: var(--idle); color: #3A4047; }
.tm-PTCC { background: #E1E9F7; color: #163A7D; }
.tm-BK { background: #DDF0E6; color: #0F5539; }
.tm-CM { background: #FBEBD6; color: #7A3F00; }
.tm-PH { background: #EFE3F5; color: #5A2477; }
.tm-MIXED { background: #F8DADA; color: #8A1C1C; }
.pr.done .tm { background: rgba(255,255,255,.2); color: #fff; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { font: inherit; font-weight: 600; min-height: 44px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.tabs button.on { background: var(--dark); border-color: var(--dark); color: #fff; }
.tabs button .n { font-family: var(--mono); font-size: 13px; opacity: .75; margin-left: 4px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .v { font-family: var(--mono); font-size: 26px; font-weight: 700; }
.stat .l { font-size: 13px; color: var(--muted); }
.modal-bg { position: fixed; inset: 0; background: rgba(22,25,29,.55); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal { background: #fff; border-radius: 14px; padding: 18px; width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 12px; }
.modal .mt { font-weight: 700; font-size: 18px; }
.modal .pin { min-height: 54px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ok); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 600; z-index: 60; max-width: calc(100% - 32px); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.toast.bad { background: var(--warn); }
.daycol { display: flex; flex-direction: column; gap: 8px; }
.dayhead { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; padding: 4px 2px; }
.dayhead.today { color: var(--blue); }
.dayhead .c { font-family: var(--mono); font-size: 13px; color: var(--muted); font-weight: 600; }
.sticky-bar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; z-index: 5; border-radius: 10px 10px 0 0; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
.cap { width: 64px; text-align: center; font-family: var(--mono); font-size: 17px !important; }
.plan-t td, .plan-t th { text-align: center; }
.plan-t td:first-child, .plan-t th:first-child { text-align: left; }
.plan-t .sub { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.plan-t th.today { color: var(--blue); }
.rn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; margin-top: 8px; padding: 10px; background: var(--bg); border-radius: 8px; }
.rn input { min-height: 40px; font-family: var(--mono); }
.pr.done .rn { color: var(--ink); }

.cmb { font: inherit; font-size: 13px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 6px; padding: 2px 8px; cursor: pointer; min-height: 28px; }
.pr.done .cmb { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.35); }
.cmbox { margin-top: 8px; padding: 10px; background: var(--bg); border-radius: 8px; color: var(--ink); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.cm { border-left: 3px solid var(--blue); padding-left: 8px; }
.cmf { display: flex; gap: 6px; }
.cmf input { flex: 1; min-width: 0; }
/* Mon–Sat across, like Short Bar */
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: start; }
@media (max-width: 1100px) { .days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .days { grid-template-columns: 1fr; } }
.day { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.day.today { border: 2px solid var(--blue); }
.day .dh { padding: 8px 10px; background: var(--bg); border-bottom: 1px solid var(--line); }
.day .dn { font-weight: 700; }
.day.today .dn { color: var(--blue); }
.day .dc { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; }
.pp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 6px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--line2); font-size: 14px; }
.pp:last-child { border-bottom: 0; }
.pp .s { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pp .n { font-family: var(--mono); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp.done { background: var(--ok-bg); }
.pp.done .n { color: var(--ok-ink); }
.pp .fin { font: inherit; font-size: 12px; font-weight: 700; border: 0; border-radius: 6px; background: var(--ok); color: #fff; padding: 4px 8px; cursor: pointer; min-height: 30px; }
.pp .ck2 { color: var(--ok); font-weight: 700; }
.tchips { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px 8px; }
.target { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 12px 14px; border-radius: 10px; background: var(--dark); color: #fff; }
.target .tl { font-size: 13px; opacity: .8; }
.target .td { font-family: var(--mono); font-size: 24px; font-weight: 700; }
.target.late { background: var(--warn); }
.target.done { background: var(--ok); }

/* Target Date tags */
.tg { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.tg-upcoming { background: var(--blue-bg); color: var(--blue-ink); }
.tg-today { background: #FFF1C2; color: #6B4E00; }
.tg-late { background: #F8DADA; color: #8A1C1C; }
.tg-done { background: var(--ok-bg); color: var(--ok-ink); }
.tg-none { background: var(--idle); color: #3A4047; font-weight: 600; }
.pr.done .tg { background: rgba(255,255,255,.2); color: #fff; }
.pp .n small { display: block; font-family: 'IBM Plex Sans Thai', sans-serif; font-weight: 600; font-size: 11px; color: var(--muted); }
.pp.st-late { background: #FCEBEB; }
.pp.st-late .n small { color: #8A1C1C; }
.pp.st-today .n small { color: #6B4E00; }
.pp.st-done { background: var(--ok-bg); }
.pp.st-done .n { color: var(--ok-ink); }
/* donut charts */
.donuts { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.donut { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.donut .c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.15; }
.donut .c b { font-family: var(--mono); }
.donut .c span { font-size: 12px; color: var(--muted); }
.tm-ALL { background: var(--dark); color: #fff; }

/* ===== Andy version: professional look ===== */
:root { --late: #B42318; --late-bg: #FDECEA; --today: #8A6100; --today-bg: #FFF4D6; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.08); }
.top .brand { display: flex; flex-direction: column; line-height: 1.1; }
.top .brand .b1 { font-size: 11px; letter-spacing: .14em; color: #9AA1A9; font-weight: 600; }
.top .brand .b2 { font-size: 17px; }
.page-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 16px; }
.page-h h1 { font-size: 24px; letter-spacing: -.01em; }
.page-h .sub { color: var(--muted); font-size: 13px; margin-top: 2px; }
.ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ctl select, .ctl input { min-height: 40px; font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow); }
.kpi .l { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font-family: var(--mono); font-size: 30px; font-weight: 700; margin-top: 4px; line-height: 1.1; }
.kpi .s { font-size: 13px; color: var(--muted); margin-top: 2px; }
.kpi.late .v { color: var(--late); }
.kpi.warn .v { color: var(--warn); }
.kpi.ok .v { color: var(--ok); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow); }
.panel h3 { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ov-main { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 12px; }
@media (max-width: 900px) { .ov-main { grid-template-columns: 1fr; } }
.ov-teams { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .ov-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ov-teams { grid-template-columns: 1fr; } }
.tcard2 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.tcard2 .nm { font-weight: 700; font-size: 18px; }
.tcard2 .ln { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line2); padding-top: 4px; margin-top: 4px; }
.tcard2 .ln b { font-family: var(--mono); color: var(--ink); }
.tcard2 .ln b.late { color: var(--late); }
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge.late { background: var(--late-bg); color: var(--late); }
.badge.blue { background: var(--blue-bg); color: var(--blue-ink); }
.badge.dark { background: var(--dark); color: #fff; }
/* sheet */
.sheet-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: auto; max-height: calc(100vh - 230px); }
table.sheet { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 14px; }
table.sheet th { position: sticky; top: 0; z-index: 2; background: #F7F8F6; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.sheet td { padding: 6px 10px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
table.sheet tr:hover td { background: #FAFBF9; }
table.sheet td.seq { font-family: var(--mono); font-weight: 700; white-space: nowrap; border-left: 3px solid transparent; }
table.sheet tr.late td.seq { border-left-color: var(--late); }
table.sheet tr.done td.seq { border-left-color: var(--ok); }
table.sheet td.pn { font-family: var(--mono); font-size: 14px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
table.sheet td.cr { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
table.sheet td.tg2 { white-space: nowrap; font-size: 13px; }
table.sheet tr.late td.tg2 { color: var(--late); font-weight: 700; }
table.sheet tr.today td.tg2 { color: var(--today); font-weight: 700; }
table.sheet td.upd { font-size: 12px; color: var(--muted); white-space: nowrap; }
table.sheet select, table.sheet input { min-height: 34px; font-size: 13px; border-radius: 6px; width: 100%; }
table.sheet select.by { min-width: 104px; font-weight: 600; }
table.sheet select.stv { min-width: 116px; font-weight: 700; }
table.sheet select.stv.fin { background: var(--ok-bg); color: var(--ok-ink); border-color: #A9D8BF; }
table.sheet select.stv.nf { background: #fff; }
table.sheet input.cmt { min-width: 220px; }
table.sheet .saved { outline: 2px solid var(--ok); outline-offset: -1px; transition: outline-color 1s; }

/* login icon */
.loginic { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; border: 1px solid #3A4047; border-radius: 999px; padding: 4px 12px 4px 8px; min-height: 40px; font-size: 13px; font-weight: 600; }
.loginic:hover { background: #2A2F35; color: #fff; }
.loginic .av { font-family: var(--mono); font-size: 12px; font-weight: 700; background: #fff; color: var(--dark); border-radius: 999px; padding: 3px 8px; }
.loginic.pulse { animation: pulse 0.6s ease-in-out 4; background: var(--warn-bar); color: var(--dark); border-color: var(--warn-bar); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,160,74,.9); } 50% { box-shadow: 0 0 0 10px rgba(232,160,74,0); transform: scale(1.06); } }
/* read-only cells in the table */
.ro { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 6px; font-size: 13px; font-weight: 700; cursor: not-allowed; border: 1px dashed transparent; }
.ro:hover { border-color: #C9CDC6; }
.ro.by { background: #F1F2EF; color: #3A4047; min-width: 70px; }
.ro.fin { background: var(--ok-bg); color: var(--ok-ink); }
.ro.nf { background: #fff; color: var(--muted); border: 1px solid var(--line); }
.manual { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-left: 4px; vertical-align: 2px; }
.cmcell { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 34px; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); background: #fff; }
.cmcell:hover { border-color: var(--blue); }
.cmcell .tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.cmcell .n { font-size: 12px; color: var(--muted); white-space: nowrap; }
.cmlist { max-height: 300px; overflow: auto; display: flex; flex-direction: column; gap: 8px; }
.cmlist .cm { font-size: 14px; }
.cmlist .cm .m { font-size: 12px; color: var(--muted); }
table.sheet td.ck input { width: 18px; height: 18px; min-height: 0; }
