/* SiteOps — high-contrast, glove-friendly, readable in sunlight. Mobile first; sidebar layout on desktop. */
:root {
  --ink: #111111; --ink2: #3a3c3f; --muted: #686b70;
  --bg: #e4e5e7; --card: #ffffff; --line: #cbcdd0;
  --amber: #ff6a13; --amber-d: #d4540a; --amber-bg: #ffe6d6;
  --ok: #2a2c2f; --ok-bg: #d3d5d8; --bad: #d4540a; --bad-bg: #ffe0cc; --warn-bg: #ffe3cf; --blue: #c44d08; --blue-bg: #ffe6d6;
  --r: 12px; --nav-h: 62px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
body { min-height: 100vh; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h1 { font-size: 1.55rem; letter-spacing: -.01em; }
h2 { font-size: 1.1rem; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
[hidden] { display: none !important; }

/* ---------- shell ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 10px;
  padding: calc(8px + env(safe-area-inset-top)) 14px 8px; min-height: 54px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 1rem; flex: 1; }
.logo { width: 26px; height: 26px; background: var(--amber); border-radius: 6px; position: relative; flex: none; }
.logo::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 6px; height: 12px; background: var(--ink); clip-path: polygon(0 100%, 38% 0, 58% 45%, 76% 20%, 100% 100%); }
.sync { border: 0; border-radius: 99px; padding: 6px 12px; font-weight: 700; font-size: .8rem; background: #2a2c2f; color: #fff; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.sync i { width: 9px; height: 9px; border-radius: 50%; background: #d6d8db; display: inline-block; }
.sync.off i { background: var(--amber); } .sync.busy i { background: #ffffff; animation: pulse 1s infinite; } .sync.err i { background: #ff6a13; box-shadow: 0 0 0 2px #fff; }
@keyframes pulse { 50% { opacity: .25; } }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--amber); background: transparent; color: var(--amber); font-weight: 800; font-size: .95rem; cursor: pointer; }

.nav { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: var(--ink); display: flex; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid #000; }
.nav a { flex: 1; min-width: 0; text-align: center; color: #b4b7bb; font-size: .72rem; font-weight: 700; padding: 9px 2px 8px; position: relative; letter-spacing: .02em; }
.nav a .gl { display: block; font-size: 1.25rem; line-height: 1.1; margin-bottom: 2px; font-weight: 800; }
.nav a.on { color: var(--amber); }
.nav a.on::before { content: ""; position: absolute; top: 0; left: 22%; right: 22%; height: 3px; background: var(--amber); border-radius: 0 0 3px 3px; }
.nav .dot { position: absolute; top: 4px; left: calc(50% + 8px); background: var(--bad); color: #fff; border-radius: 99px; min-width: 18px; height: 18px; font-size: .7rem; line-height: 18px; padding: 0 5px; }
main { padding: 16px 14px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); max-width: 880px; margin: 0 auto; }
.page-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.page-h h1 { flex: 1; min-width: 0; }
.back { font-weight: 700; color: var(--ink2); padding: 8px 0; display: inline-block; }

@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: auto 1fr; min-height: 100vh; }
  .top { grid-column: 1 / -1; }
  .nav { position: sticky; top: 54px; align-self: start; height: calc(100vh - 54px); flex-direction: column; justify-content: flex-start; padding: 14px 10px; border-top: 0; gap: 4px; }
  .nav a { flex: none; text-align: left; font-size: .95rem; padding: 12px 14px; border-radius: 10px; display: flex; align-items: center; gap: 12px; }
  .nav a .gl { display: inline-block; width: 26px; text-align: center; margin: 0; font-size: 1.1rem; }
  .nav a.on { background: #2a2c2f; } .nav a.on::before { display: none; }
  .nav .dot { position: static; margin-left: auto; }
  main { padding: 26px 30px 60px; width: 100%; max-width: 1000px; margin: 0; }
}

/* ---------- controls ---------- */
.btn { appearance: none; border: 2px solid var(--ink); background: var(--card); color: var(--ink); font: inherit; font-weight: 800; border-radius: var(--r); padding: 0 18px; min-height: 48px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--amber); border-color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.good { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.bad { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.ghost { border-color: var(--line); }
.btn.sm { min-height: 38px; padding: 0 12px; font-size: .88rem; border-width: 1.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; }
.stack > * + * { margin-top: 12px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.card + .card, .card + .list, .list + .card { margin-top: 12px; }
.sect { margin: 22px 0 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sect h2 { text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: var(--ink2); }
.sect a { font-weight: 700; font-size: .88rem; color: var(--blue); }

/* forms */
.fld { margin-bottom: 14px; }
.fld > label, .lbl { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 5px; color: var(--ink2); }
.req { color: var(--bad); margin-left: 3px; }
input[type=text], input[type=number], input[type=date], input[type=time], input[type=password], input[type=search], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid #a3a6ab; border-radius: 10px; padding: 11px 12px; min-height: 48px; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--amber); border-color: var(--ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.chk { display: flex; align-items: center; gap: 12px; padding: 12px; border: 2px solid #a3a6ab; border-radius: 10px; background: #fff; margin-bottom: 8px; font-weight: 600; cursor: pointer; }
.chk input { width: 24px; height: 24px; accent-color: var(--ink); flex: none; }
.calc { background: var(--amber-bg); border: 2px dashed var(--amber-d); border-radius: 10px; padding: 12px; font-weight: 800; margin-bottom: 14px; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 2px solid var(--line); background: #d0d2d5; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(0,0,0,.75); color: #fff; font-weight: 800; cursor: pointer; }
.addph { width: 84px; height: 84px; border-radius: 10px; border: 2px dashed #7f8286; display: flex; align-items: center; justify-content: center; text-align: center; font-weight: 800; font-size: .8rem; cursor: pointer; color: var(--ink2); background: #fff; }
.addph input { display: none; }
.formbar { position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 30%); padding: 22px 0 10px; display: flex; gap: 10px; }
.formbar .btn { flex: 1; }
@media (min-width: 900px) { .formbar { bottom: 0; } }
.err { background: var(--bad-bg); color: var(--bad); border: 1px solid #f0b68f; border-radius: 10px; padding: 10px 12px; font-weight: 700; margin-bottom: 12px; }
.notice { background: var(--warn-bg); border: 1px solid #f0b68f; border-radius: 10px; padding: 10px 12px; margin-bottom: 12px; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .tiles.t3 { grid-template-columns: repeat(3, 1fr); } .tiles.t5 { grid-template-columns: repeat(3, 1fr); } }
.tile { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 12px; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.tile .big { font-size: 1.1rem; font-weight: 800; }
.tile .ic { width: 38px; height: 38px; border-radius: 9px; background: var(--amber); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: .85rem; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.stat .n { font-size: 2rem; font-weight: 900; line-height: 1; }
.stat .l { font-weight: 700; color: var(--ink2); font-size: .85rem; margin-top: 4px; }
.stat.alert { border: 2px solid var(--bad); } .stat.alert .n { color: var(--bad); }
.stat.warn { border: 2px solid var(--amber-d); }

/* lists */
.list { display: flex; flex-direction: column; gap: 8px; }
.rec { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.rec:active { background: #f2f3f4; }
.rec-ic { width: 40px; height: 40px; border-radius: 9px; flex: none; display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 900; background: var(--amber); color: var(--ink); }
.rec-ic.t-timesheet { background: #d3d5d8; } .rec-ic.t-equipment_log { background: #b9bcc1; } .rec-ic.t-material_load { background: #ffd2b3; } .rec-ic.t-precheck { background: #ffb98a; } .rec-ic.t-part_request { background: #c9ccd0; }
.rec-ic.t-safety { background: #111; color: #ff6a13; } .rec-ic.t-problem { background: #111; color: #ff6a13; } .rec-ic.t-maintenance { background: #9ea2a7; } .rec-ic.t-equipment { background: #dcdee1; }
.rec-main { flex: 1; min-width: 0; }
.rec-title { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-sub { color: var(--muted); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-side { text-align: right; flex: none; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.b-submitted { background: var(--warn-bg); color: #8a3a00; } .b-approved { background: var(--ok-bg); color: var(--ok); } .b-rejected { background: var(--bad-bg); color: var(--bad); }
.b-overdue { background: var(--bad); color: #fff; } .b-soon { background: var(--amber); color: var(--ink); } .b-ok { background: var(--ok-bg); color: var(--ok); } .b-none { background: #d6d8db; color: var(--ink2); }
.b-open { background: var(--blue-bg); color: var(--blue); } .b-sync { background: #d6d8db; color: var(--ink2); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin: 0 -14px 10px; padding-left: 14px; padding-right: 14px; scrollbar-width: none; }
.chip { border: 2px solid var(--line); background: #fff; border-radius: 99px; padding: 7px 14px; font-weight: 800; font-size: .85rem; white-space: nowrap; cursor: pointer; font-family: inherit; color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.filters .wide { grid-column: 1 / -1; }
@media (min-width: 700px) { .filters { grid-template-columns: repeat(4, 1fr); } .filters .wide { grid-column: span 2; } }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; border: 2px dashed var(--line); border-radius: var(--r); }

/* detail */
.kv { display: grid; grid-template-columns: 1fr; gap: 0; }
.kv > div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.kv > div:last-child { border: 0; }
.kv dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 2px; }
.kv dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
@media (min-width: 640px) { .kv > div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; } .kv dt { margin: 3px 0 0; } }
.review { border: 2px solid var(--ink); border-radius: var(--r); padding: 14px; background: #fff; margin-top: 14px; }
.note { padding: 10px 12px; border-radius: 10px; margin-top: 10px; font-weight: 600; }
.note.rej { background: var(--bad-bg); color: var(--bad); } .note.ok { background: var(--ok-bg); color: var(--ok); }
.meter { height: 10px; background: #d6d8db; border-radius: 99px; overflow: hidden; margin-top: 8px; }
.meter > i { display: block; height: 100%; background: var(--ok); } .meter.soon > i { background: var(--amber); } .meter.overdue > i { background: var(--bad); }

/* login */
.login { max-width: 420px; margin: 0 auto; padding: calc(40px + env(safe-area-inset-top)) 18px 40px; }
.login .brand { color: var(--ink); font-size: 1.3rem; margin-bottom: 6px; }
.login .logo { width: 38px; height: 38px; } .login .logo::after { left: 6px; right: 6px; bottom: 9px; height: 18px; }

/* misc */
#toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700; opacity: 0; pointer-events: none; transition: .25s; z-index: 100; max-width: 92vw; text-align: center; border: 2px solid var(--amber); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { #toast { bottom: 30px; } }
#lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
#lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.userrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.userrow .grow { flex: 1; min-width: 160px; }

/* strict palette: black / grey / orange (status shown by weight, not hue) */
.btn.good { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.bad { background: var(--amber-d); border-color: var(--amber-d); color: #fff; }
.b-approved { background: #2a2c2f; color: #fff; }
.b-rejected { background: var(--amber); color: #111; }
.b-ok { background: #2a2c2f; color: #fff; }
.note.ok { background: #d3d5d8; color: #111; }
.note.rej { background: var(--bad-bg); color: #8a3a00; }
.meter > i { background: #2a2c2f; } .meter.soon > i { background: var(--amber-d); } .meter.overdue > i { background: var(--amber); }
.nav .dot { background: var(--amber); color: #111; }
/* mobile nav scrolls when there are many items */
.nav { overflow-x: auto; scrollbar-width: none; }
.nav a { flex: 1 0 64px; }
@media (min-width: 900px) { .nav { overflow: visible; } .nav a { flex: none; } }
/* easy operator controls */
.tile.hot { background: var(--amber); border-color: #111; }
.tile.hot .ic { background: #111; color: var(--amber); }
.tile.hot .muted { color: #111; }
.bigcta { display: block; background: var(--amber); color: #111; border: 2px solid #111; border-radius: var(--r); padding: 18px 16px; margin-bottom: 14px; }
.bigcta b { display: block; font-size: 1.2rem; } .bigcta span { font-weight: 700; }
.seg { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .seg { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.segbtn { appearance: none; font: inherit; font-weight: 800; min-height: 52px; border: 2px solid #a3a6ab; background: #fff; border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--ink); }
.segbtn.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ck { display: flex; align-items: center; gap: 10px; justify-content: space-between; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.ck-l { font-weight: 700; flex: 1; min-width: 0; }
.ck-b { display: flex; gap: 8px; flex: none; }
.ck-b button { appearance: none; font: inherit; font-weight: 800; min-width: 74px; min-height: 50px; border-radius: 10px; border: 2px solid #a3a6ab; background: #fff; cursor: pointer; color: var(--ink); }
.ck.is-ok { border-color: #111; } .ck.is-ok .okb { background: #111; color: #fff; border-color: #111; }
.ck.is-bad { border-color: var(--amber); background: var(--amber-bg); } .ck.is-bad .pb { background: var(--amber); color: #111; border-color: #111; }
.rec.big { padding: 16px 14px; } .rec.big .rec-title { font-size: 1.1rem; }
.bigstat { display: block; background: #111; color: #fff; border-color: #111; margin-bottom: 12px; } .bigstat .n { color: var(--amber); font-size: 2.4rem; } .bigstat .l { color: #d6d8db; }
.tbl { width: 100%; border-collapse: collapse; font-size: .88rem; } .tbl th, .tbl td { text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; } .tbl th:first-child, .tbl td:first-child { text-align: left; } .tbl th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.scrollx { overflow-x: auto; }
.cl { padding: 10px 0; border-bottom: 1px solid var(--line); } .cl:last-child { border: 0; }
.rolesel { width: auto; min-height: 38px; padding: 4px 8px; font-size: .9rem; }
.rec.shop .btn { white-space: nowrap; }

/* fleet tabs, products, employee cost, schedule */
.tabs { display: flex; gap: 8px; margin: 0 0 14px; }
.tabs a { flex: 1; text-align: center; font-weight: 800; padding: 11px 10px; border: 2px solid var(--line); background: #fff; border-radius: 10px; color: var(--ink2); }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chk.dis { opacity: .55; } .chk > span { flex: 1; min-width: 0; }
.prodrow { display: grid; grid-template-columns: 1fr 1fr 44px; gap: 8px; margin-bottom: 8px; }
.prodrow .pn { grid-column: 1 / -1; }
.prm { appearance: none; border: 2px solid var(--line); background: #fff; border-radius: 10px; font-size: 1.3rem; font-weight: 800; cursor: pointer; min-height: 48px; color: var(--ink2); }
@media (min-width: 640px) { .prodrow { grid-template-columns: 1fr 120px 120px 44px; } .prodrow .pn { grid-column: auto; } }
.five { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
@media (min-width: 640px) { .five { grid-template-columns: repeat(5, 1fr); } }
.five label { display: block; font-weight: 700; color: var(--ink2); margin-bottom: 3px; }
.staff { padding: 14px 0; border-bottom: 1px solid var(--line); } .staff:last-of-type { border-bottom: 0; }
.allin { margin-top: 8px; background: var(--amber-bg); border-radius: 8px; padding: 8px 10px; font-weight: 700; }
.rec-main .meter { margin-top: 6px; }
.gantt { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.g-row { display: grid; grid-template-columns: 150px repeat(42, 30px); align-items: center; min-height: 50px; border-bottom: 1px solid var(--line); width: max-content; }
.g-row:last-child { border-bottom: 0; }
.g-row > * { grid-row: 1; }
.g-l { grid-column: 1; position: sticky; left: 0; z-index: 3; background: #fff; padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; align-self: stretch; border-right: 1px solid var(--line); overflow: hidden; }
.g-l b { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-l span { font-size: .72rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-bg { grid-column: 2 / -1; align-self: stretch; background: repeating-linear-gradient(90deg, transparent 0 150px, rgba(0,0,0,.06) 150px 210px); }
.g-today { align-self: stretch; justify-self: center; width: 2px; background: var(--amber); z-index: 1; }
.g-bar { z-index: 2; height: 30px; margin: 0 1px; border-radius: 7px; padding: 0 8px; display: flex; align-items: center; font-size: .76rem; font-weight: 800; overflow: hidden; white-space: nowrap; }
.st-active { background: var(--amber); color: #111; } .st-planned { background: #2a2c2f; color: #fff; } .st-hold { background: #b4b7bb; color: #111; } .st-done { background: #d3d5d8; color: #111; }
.g-head { min-height: 46px; background: #f2f3f4; }
.g-head .g-l { background: #f2f3f4; }
.g-h { text-align: center; font-size: .72rem; font-weight: 700; line-height: 1.15; padding: 5px 0; }
.g-h b { display: block; font-size: .65rem; color: var(--muted); }
.g-h.we { background: rgba(0,0,0,.06); } .g-h.td { background: var(--amber); color: #111; }

/* payroll + delete */
[hidden] { display: none !important; }
.pt { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.pt th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #6b6f76; padding: 4px 6px; border-bottom: 2px solid #111; }
.pt td { padding: 7px 6px; border-bottom: 1px solid #d5d7da; vertical-align: top; }
.payc { margin-top: 10px; overflow-x: auto; }
.btn.danger { background: #fff; color: #111; border: 2px solid #ff6a13; }

/* draggable schedule bars */
.g-bar.drag { touch-action: none; user-select: none; -webkit-user-select: none; position: relative; }
.g-bar.drag::before, .g-bar.drag::after { content: ''; position: absolute; top: 25%; bottom: 25%; width: 3px; border-radius: 2px; background: rgba(0,0,0,.45); }
.g-bar.drag::before { left: 4px; } .g-bar.drag::after { right: 4px; }
.g-bar.dragging { opacity: .85; outline: 2px solid #111; z-index: 3; }

/* signature, wear parts, plan chart */
.sigpad { width: 100%; max-width: 480px; height: auto; aspect-ratio: 3 / 1; background: #fff; border: 2px solid #111; border-radius: 10px; touch-action: none; display: block; }
.sigwrap { margin-top: 10px; } .sigimg { display: block; max-width: 240px; width: 100%; background: #fff; border: 1px solid #c9ccd0; border-radius: 8px; margin-top: 4px; }
.wearrow { margin-bottom: 10px; }
.pchart { width: 100%; height: auto; display: block; }
.pc-grid { stroke: #d5d7da; stroke-width: 1; } .pc-lbl { fill: #6b6f76; font-size: 11px; font-family: inherit; }
.pc-act { fill: none; stroke: #ff6a13; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.pc-plan, .pc-need { stroke: #6b6f76; stroke-width: 2; stroke-dasharray: 6 5; } .pc-today { stroke: #111; stroke-width: 1.5; }
.pc-key { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; margin-top: 6px; } .pc-key i { display: inline-block; width: 18px; height: 0; border-top: 3px solid; vertical-align: middle; margin-right: 4px; }
.k-act { border-color: #ff6a13; } .k-plan, .k-need { border-color: #6b6f76; border-top-style: dashed !important; } .k-today { border-color: #111; border-top-width: 2px !important; }

/* FLHA rows + quick review */
.flrow { display: grid; grid-template-columns: 1fr 44px; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid #d5d7da; }
.flrow .fs, .flrow .fh, .flrow .fc { grid-column: 1 / -1; } .flrow .fr { grid-column: 1; } .flrow .frm { grid-column: 2; }
.bigbtn { min-height: 56px; font-size: 1.1rem; }

/* invite QR */
.qrbox { max-width: 220px; margin: 12px auto 0; } .qrbox svg { width: 100%; height: auto; display: block; border: 1px solid #c9ccd0; border-radius: 10px; }

/* parts on hand */
.rec.part { align-items: center; }
.pthumb { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; border: 2px solid var(--line); flex: none; background: #f3f3f3; }
#pq { width: 100%; }
