/* ============ Issues ============ */
.is-page .tip { margin-bottom: 12px; }
.is-bar { margin-bottom: 12px; }
.is-sysrow { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.is-sysrow .fchip .i { color: var(--text-2); }
.is-fh { margin-bottom: 12px; }

/* status colours: blue new, teal answered (both = admin's turn), purple question (team's turn), orange working, green solved */
.lblc.is-new { background: #579bfc; color: #fff; }
.lblc.is-answered { background: #0086c0; color: #fff; }
.lblc.is-question { background: var(--s-review); color: #fff; }
.lblc.is-working { background: var(--s-progress); color: #323338; }
.lblc.is-solved { background: var(--s-done); color: #323338; }
.menu.picker .pk.is-new { background: #579bfc; } .menu.picker .pk.is-answered { background: #0086c0; } .menu.picker .pk.is-question { background: var(--s-review); }
.menu.picker .pk.is-working { background: var(--s-progress); color: #323338; } .menu.picker .pk.is-solved { background: var(--s-done); color: #323338; }
.tag.is-new-t { background: #e6f1ff; color: #1d5fbf; border-color: #b9d6fb; }
.tag.is-answered-t { background: #e3f3fa; color: #005f88; border-color: #a9d8ec; }
.tag.is-question-t { background: var(--review-bg); color: #5c2a85; border-color: var(--review-line); }
.tag.is-working-t { background: #fff4e0; color: #8a5300; border-color: #fed59e; }
.tag.is-solved-t { background: #e5f9ef; color: #00854d; border-color: #bbdbc9; }

.is-tbl { table-layout: fixed; min-width: 1000px; }
.is-tbl th .i { width: 13px; height: 13px; vertical-align: -2px; color: var(--text-3); }
.is-tbl td { vertical-align: top; padding-top: 10px; padding-bottom: 10px; }
.is-tbl td.mc-lbl { padding: 0; vertical-align: middle; }
.is-tbl .is-row { cursor: pointer; }
.is-tbl .is-row.me td:first-child { box-shadow: inset 3px 0 0 var(--primary); }
.is-tbl .is-row.sel td { background: var(--primary-hl); }
.is-tbl .is-row.done td:not(.mc-lbl) { color: var(--text-2); }
.is-grp td { height: 40px !important; padding: 0 14px !important; vertical-align: middle !important; }
.is-gh { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.is-gh .c { font-weight: 500; font-size: 12px; color: var(--text-2); background: #e7e9ef; border-radius: 9px; padding: 0 7px; line-height: 18px; }
.is-gh .i { color: var(--text-2); }
.is-gdot { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

.is-t { display: flex; gap: 6px; font-weight: 500; line-height: 20px; }
.is-hi { color: var(--danger); flex: none; display: inline-flex; padding-top: 3px; }
.is-sub { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--text-2); flex-wrap: wrap; min-width: 0; }
.is-sub .time { color: var(--text-2); }
.is-stag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; height: 20px; white-space: nowrap; }
.is-code { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.is-txt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 20px; }
.is-q { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: #5c2a85; background: var(--review-bg); border: 1px solid var(--review-line); border-radius: 4px; padding: 3px 8px; min-width: 0; }
.is-q .i { flex: none; }
.is-q .n { margin-left: auto; flex: none; font-size: 12px; font-weight: 600; }
.c-aud .voice { padding: 4px 10px 4px 4px; gap: 8px; max-width: 100%; }
.c-aud .voice + .voice { margin-top: 6px; }
.c-aud .voice .play { width: 28px; height: 28px; }
.c-aud .voice .wave { min-width: 40px; height: 20px; }
.c-aud .voice .vby { display: none; }
.is-thumb { position: relative; display: block; width: 104px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); background: #f5f6f8; padding: 0; cursor: zoom-in; }
.is-thumb:hover { border-color: var(--border-2); }
.is-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.is-thumb .ph { padding: 6px; }
.is-thumb .more { position: absolute; right: 4px; bottom: 4px; background: rgba(41,47,76,.85); color: #fff; font-size: 12px; font-weight: 600; border-radius: 10px; padding: 1px 7px; }
.is-fix { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 20px; }
.is-fixby { font-size: 12px; color: var(--text-2); margin-top: 4px; }
.is-wait { font-size: 13px; }
.is-addfix { color: var(--primary-text); border-style: dashed; }

/* side panel */
.is-scrim { position: fixed; inset: 0; z-index: 70; background: rgba(41,47,76,.25); }
.is-panel.no-anim { animation: none; }
.is-panel .lblc.is-pst { width: auto; height: 30px; padding: 0 14px; border-radius: 4px; flex: none; }
.is-ptitle { font-size: 20px; line-height: 28px; font-weight: 600; margin-bottom: 8px; }
.is-pmeta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.is-pmeta b { color: var(--text); font-weight: 500; }
.is-pmeta .lblc.is-ppri { width: auto; height: 22px; font-size: 12px; padding: 0 8px; border-radius: 4px; }
.is-sec { border-top: 1px solid var(--line); padding: 14px 0 6px; margin-top: 10px; }
.is-sec h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.is-sec h3 .i { color: var(--text-2); }
.is-sec h3 .hint { font-weight: 400; margin-left: auto; }
.is-sec h3 .c { font-size: 12px; font-weight: 500; color: var(--text-2); background: #e7e9ef; border-radius: 9px; padding: 0 7px; line-height: 18px; }
.is-ptext { white-space: pre-wrap; line-height: 22px; }
.is-pimgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.is-fixin { height: auto; padding: 10px 12px; line-height: 20px; resize: vertical; }
.is-fixacts { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.is-fixro { background: var(--ok-bg); border: 1px solid #bbdbc9; border-radius: 6px; padding: 10px 12px; line-height: 20px; white-space: pre-wrap; }
.is-msg { display: flex; gap: 10px; margin-bottom: 12px; }
.is-mb { flex: 1; min-width: 0; }
.is-mh { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 2px; }
.is-mh .time { font-size: 12px; color: var(--text-2); }
.is-mt { line-height: 20px; white-space: pre-wrap; }
.is-mb .voice { margin-top: 6px; }
.is-mimgs { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.is-mthumb { width: 84px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); padding: 0; cursor: zoom-in; background: #f5f6f8; }
.is-mthumb img { width: 100%; height: 100%; object-fit: cover; }
.is-mthumb .ph { padding: 4px; }
.is-comp { border: 1px solid var(--border-2); border-radius: 4px; margin-top: 6px; }
.is-comp:focus-within { border-color: var(--primary); }
.is-comp textarea { width: 100%; border: 0; outline: none; resize: vertical; padding: 10px 12px 4px; font-size: 14px; min-height: 48px; background: transparent; display: block; }
.is-comp #iss-rec:not(:empty) { padding: 0 8px; }
.is-ctools { display: flex; align-items: center; gap: 4px; padding: 4px 6px 6px; flex-wrap: wrap; }
.is-ctools label { cursor: pointer; }
.is-pend { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 10px; }
.is-pend:empty { display: none; }
#isn-form .is-pend { padding: 0; }
.is-pv { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 4px 0 8px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12px; max-width: 220px; }
.is-pv button { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); }
.is-pv button:hover { background: var(--hover); }

/* report form */
.is-new-m { width: min(620px, 100%); }
#isn-form { gap: 8px; }
.is-fl { font-size: 14px; font-weight: 500; margin-top: 6px; display: block; }
.is-f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.is-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.is-chips .fchip { height: 30px; padding: 0 10px; font-size: 13px; }
.is-ta { height: auto; padding: 10px 12px; line-height: 20px; resize: vertical; }
#isn-form .is-ctools { padding: 4px 0 0; gap: 8px; }

/* image slides */
.lightbox.ss { display: flex; flex-direction: column; align-items: stretch; justify-content: center; padding: 0; gap: 0; }
.ss-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: #e4e7ec; font-size: 14px; }
.ss-top .ss-n { font-variant-numeric: tabular-nums; font-weight: 600; background: rgba(255,255,255,.12); border-radius: 12px; padding: 2px 10px; flex: none; }
.ss-top .ss-name { flex: 1; }
.lightbox.ss .ss-top .btn-icon { position: static; color: #fff; background: rgba(255,255,255,.15); flex: none; }
.ss-stage { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 64px 16px 12px; flex: 1; min-height: 0; }
.ss-stage .lb-img { width: min(1000px, 80vw); max-height: 100%; }
.ss-nav { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: grid; place-items: center; flex: none; }
.ss-nav:hover { background: rgba(255,255,255,.3); }
.ss-nav[hidden] { visibility: hidden; display: grid; }
.ss-strip { display: flex; justify-content: center; gap: 8px; padding: 8px 16px 20px; overflow-x: auto; flex: none; }
.ss-th { width: 72px; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; border: 2px solid transparent; opacity: .55; padding: 0; background: #f5f6f8; flex: none; }
.ss-th:hover { opacity: .85; }
.ss-th.on { border-color: #fff; opacity: 1; }
.ss-th img { width: 100%; height: 100%; object-fit: cover; }
.ss-th .ph { padding: 4px; }

/* ============ Channels ============ */
.cs-sec-a { display: flex; align-items: center; padding-right: 4px; }
.cs-sec-a .btn-icon { margin-left: auto; }
.ch-item.ch-new { color: var(--text-2); }
.ch-item.ch-new .i { width: 16px; height: 16px; }
button.ch-mem { padding: 2px; border-radius: 16px; }
button.ch-mem:hover { background: var(--hover); }
.ch-priv { flex: none; }
.ch-desc { padding: 6px 20px; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--line); flex: none; }
.chn-name { position: relative; }
.chn-name .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-2); }
.chn-name .input { padding-left: 34px; }
.chn-who { display: flex; flex-direction: column; gap: 8px; }
.chn-who input[type=radio] { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.chn-who .i { width: 13px; height: 13px; color: var(--text-2); }
.field[hidden] { display: none; }
.chn-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; max-height: 280px; overflow-y: auto; }
.chn-p { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.chn-p:last-child { border-bottom: 0; }
.chn-p:hover { background: var(--row-hover); }
.chn-p input { width: 16px; height: 16px; margin: 0; accent-color: var(--primary); }
.chn-p > span:not(.av) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.chn-p b { font-weight: 500; font-size: 14px; }
.chn-p small { font-size: 12px; color: var(--text-2); }

/* ============ Search ============ */
.sr-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.sr-q { font-size: 14px; color: var(--text-2); }
.sr-q b { color: var(--text); }
.sr-card { margin-bottom: 12px; }
.sr-list { border-top: 1px solid var(--line); }
.sr-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.sr-row:last-child { border-bottom: 0; }
.sr-row:hover { background: var(--row-hover); }
.sr-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--text-2); flex: none; }
.sr-ic .av { --s: 32px; }
.sr-pdot { width: 14px; height: 14px; border-radius: 3px; display: block; }
.sr-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sr-t { font-size: 14px; line-height: 20px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-s { font-size: 13px; line-height: 18px; color: var(--text-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sr-meta { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: var(--text-3); }
.sr-side { flex: none; font-size: 12px; color: var(--text-2); }
.sr-side .time { font-size: 12px; }
mark { background: #fff3b0; color: inherit; border-radius: 2px; padding: 0 1px; }

/* ============ phone ============ */
@media (max-width: 767px) {
  .is-tbl, .is-tbl tbody, .is-tbl tr, .is-tbl td { display: block; width: 100%; }
  .is-tbl colgroup, .is-tbl thead { display: none; }
  .is-tbl .is-row { border-bottom: 1px solid var(--line); padding: 10px 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
  .is-tbl .is-row td { border: 0; padding: 0; height: auto; }
  .is-tbl .is-row td.c-is { grid-column: 1; }
  .is-tbl .is-row td.c-st { grid-column: 2; grid-row: 1; width: 112px; height: 30px; border-radius: 4px; overflow: hidden; }
  .is-tbl .is-row td.c-txt, .is-tbl .is-row td.c-fix { grid-column: 1 / -1; }
  .is-tbl .is-row td.c-aud, .is-tbl .is-row td.c-img { grid-column: auto; }
  .is-tbl .is-row td .faint { display: none; }
  .is-tbl .is-row td.c-fix:has(.is-addfix), .is-tbl .is-row td.c-fix:has(.is-wait) { display: none; }
  .is-tbl .is-grp td { display: block; }
  .is-gl { display: none; }
  .is-f2 { grid-template-columns: 1fr; }
  .ss-nav { position: absolute; bottom: 92px; width: 44px; height: 44px; }
  .ss-prev { left: 16px; } .ss-next { right: 16px; }
  .ss-stage .lb-img { width: 100%; }
  .sr-row { padding: 10px 12px; }
  .sr-side { display: none; }
}

/* ============ Daily report: small project cell, big "What I did" ============ */
.rep-tbl col.rc-task { width: 168px; }
.rep-tbl col.rc-hrs { width: 72px; }
.rep-tbl col.rc-st { width: 124px; }
.rep-tbl col.rc-lnk { width: 104px; }
.rep-proj { flex-direction: row; align-items: center; justify-content: flex-start; }
.rp-n { display: flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; font-size: 13px; color: var(--text-2); }
.rp-n .dd-dot { flex: none; }
.rep-tbl .rep-work, .rep-tbl .rep-txt, .rep-tbl input.rep-add { font-size: 15px; line-height: 22px; }
.rep-tbl .rep-work { min-height: 44px; padding: 10px 8px; }
/* no hover boxes on the Hours cells */
.rep-tbl .hrs-in:hover, .rep-tbl input.num-in:hover { border-color: transparent; }
@media (max-width: 767px) {
  .rp-n { font-size: 14px; }
}
.rep-adm .rep-wbig { font-size: 15px; line-height: 22px; color: var(--text); }
.rep-chip .rp-n { color: inherit; }
.rep-tbl col.rc-del { width: 84px; }
.rep-add-r td.c-addgo { padding: 0 8px; text-align: center; }
.rep-tbl td.c-del { text-align: center; }

/* daily report: real-time + voice notes */
.rep-tbl col.rc-del { width: 136px; }
.rep-tbl td.c-del, .rep-add-r td.c-addgo { white-space: nowrap; }
.rep-add-r td.c-addgo { display: table-cell; }
.rep-add-r td.c-addgo .rep-mic { margin-right: 4px; vertical-align: middle; }
.rep-mic { color: var(--text-2); }
.rep-mic:hover { color: var(--primary); }
.rep-tbl td.c-del .rep-mic { margin-right: 4px; }
.ed-tag { display: inline-block; margin-left: 8px; padding: 0 6px; height: 18px; line-height: 18px; border-radius: 3px; background: var(--ui-bg, #eef0f4); color: var(--text-2); font-size: 11px; font-weight: 500; vertical-align: 1px; }
td.c-task .ed-tag { margin: 4px 0 0; }
.rep-voice { display: flex; align-items: center; gap: 6px; margin: 4px 0 6px; max-width: 360px; }
.rep-voice .voice { flex: 1 1 auto; min-width: 0; }
.rep-rec-slot:empty { display: none; }
.rep-rec-slot { margin: 6px 0; }
.rep-rec-r td { border: 0; padding-top: 0; padding-bottom: 0; }
.rep-rec-r:has(.rep-rec-slot:empty) { display: none; }
.mrep-add .rep-mic { flex: none; }
.mr-vo { display: inline-flex; align-items: center; gap: 3px; margin-left: 6px; font-size: 12px; color: var(--primary); }
@media (max-width: 767px) {
  .rep-tbl td.c-del { display: flex; justify-content: flex-end; gap: 6px; }
}
.rep-mic-l { gap: 4px; }
.rep-tbl col.rc-del { width: 176px; } .rep-tbl td.c-del { text-align: right; padding-right: 12px; }

/* daily report: big writing box under the entries */
.rep-tbl col.rc-del { width: 96px; }
.rep-comp { margin: 16px; padding: 14px 16px; border: 1px solid var(--border-2, #d0d4e4); border-radius: 8px; background: #fff; }
.rep-comp:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,115,234,.12); }
.rep-comp .rc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.rep-comp .rc-l { font-size: 13px; font-weight: 600; color: var(--text-2); }
.rep-comp .rep-task { width: auto; min-width: 200px; max-width: 280px; margin: 0; min-height: 34px; padding: 0 30px 0 10px; border: 1px solid var(--border-2, #d0d4e4); border-radius: 6px; background-color: #fff; flex-direction: row; align-items: center; }
.rep-comp textarea.rc-text { display: block; width: 100%; min-height: 120px; max-height: 360px; padding: 10px 12px; border: 1px solid var(--border, #e6e9ef); border-radius: 6px; resize: vertical; font: inherit; font-size: 15px; line-height: 22px; color: var(--text); outline: none; field-sizing: content; background: #fbfbfd; }
.rep-comp textarea.rc-text:focus { background: #fff; border-color: var(--primary); }
.rep-comp .rc-bar { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.rep-comp .rc-voice { gap: 6px; }
.rep-comp .rc-bar .btn-primary { gap: 6px; padding: 0 16px; }
.rep-card .rep-quick { padding-top: 0; }
@media (max-width: 767px) {
  .rep-comp { margin: 12px 0; padding: 12px; }
  .rep-comp .rc-top { flex-wrap: wrap; }
  .rep-comp .rep-task { flex: 1 1 auto; max-width: none; min-height: 44px; }
  .rep-comp textarea.rc-text { min-height: 140px; font-size: 16px; }
  .rep-comp .rc-bar .btn { height: 44px; flex: 1 1 0; justify-content: center; }
  .rep-comp .rc-bar .sp { display: none; }
}

/* date picker beside the page title (Daily report) */
.tb-title:has(.tb-x) { display: flex; align-items: center; gap: 16px; }
.tb-x .ra-date { display: inline-flex; align-items: center; gap: 8px; }
.tb-x .tag { white-space: nowrap; }
.tb-title:has(.tb-x) h1 { flex: none; overflow: visible; }
.tb-title:has(.tb-x) { flex: 1 1 auto; min-width: 0; }
.tb-x { min-width: 0; }
.tb-x .ra-date { flex-wrap: nowrap; white-space: nowrap; }

/* Day picker: Today | Yesterday | Pick a date */
.dseg { display: inline-flex; align-items: center; padding: 3px; gap: 2px; border-radius: 8px; background: var(--ui-bg, #eef0f4); white-space: nowrap; }
.dseg-b { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; font: inherit; font-size: 14px; color: var(--text-2); cursor: pointer; }
.dseg-b:hover { color: var(--text); background: rgba(255,255,255,.6); }
.dseg-b.on { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.dseg-cal.on { color: var(--primary); }
.cal-menu { padding: 12px; }
.cal-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-h b { font-size: 14px; }
.cal-w, .cal-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-w span { text-align: center; font-size: 11px; color: var(--text-3, #8a8fa3); padding: 2px 0 4px; }
.cal-d { position: relative; height: 34px; border: 0; border-radius: 6px; background: transparent; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; }
.cal-d:hover:not(:disabled) { background: var(--hover, #f0f2f7); }
.cal-d.off { color: var(--text-3, #8a8fa3); }
.cal-d.today { box-shadow: inset 0 0 0 1px var(--primary); }
.cal-d.on { background: var(--primary); color: #fff; font-weight: 600; }
.cal-d:disabled { opacity: .3; cursor: default; }
.cal-d i, .cal-f i { position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--s-done, #00c875); }
.cal-d.on i { background: #fff; }
.cal-f { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 8px; padding-left: 10px; font-size: 12px; color: var(--text-2); }
.cal-f i { left: 0; bottom: auto; top: 50%; margin: -2px 0 0; }
@media (max-width: 767px) {
  .dseg { width: 100%; }
  .dseg-b { flex: 1 1 auto; justify-content: center; height: 38px; padding: 0 8px; }
}

/* missed update reminder + leave */
.miss-modal { max-width: 460px; }
.miss-modal .modal-h h3 { display: flex; align-items: center; gap: 8px; }
.miss-b p { margin: 0 0 8px; font-size: 15px; line-height: 22px; }
.miss-b .hint { font-size: 14px; color: var(--text-2); }
.miss-f { gap: 8px; }
.cal-d.lv { background: #f3effc; color: #6250d6; }
.cal-d.lv.on { background: var(--primary); color: #fff; }
.wk-cell.s-leave { background: #f3effc; color: #6250d6; font-weight: 500; }
@media (max-width: 767px) {
  .miss-f { flex-wrap: wrap; }
  .miss-f .btn { flex: 1 1 auto; height: 44px; justify-content: center; }
  .miss-f .sp { display: none; }
  .miss-f .btn-primary { order: -1; flex-basis: 100%; }
}

/* Issues: simple top row with one big Report button */
.is-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.btn.is-add { height: 40px; padding: 0 18px; font-size: 15px; gap: 8px; }
.is-filt { margin: 0; }
/* report form: 4 steps */
.is-new-m { max-width: 640px; }
.isn-b { display: flex; flex-direction: column; gap: 18px; }
.isn-l { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.isn-n { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; }
.isn-opt { font-weight: 400; color: var(--text-2); font-size: 13px; }
.isn-site { gap: 6px; }
.isn-b .is-ta { min-height: 110px; font-size: 15px; line-height: 22px; }
.isn-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.isn-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 12px; border: 1.5px dashed var(--border-2, #c3c6d4); border-radius: 8px; background: #fafbfd; color: var(--text-2); cursor: pointer; font: inherit; text-align: center; }
.isn-drop .i { width: 22px; height: 22px; color: var(--primary); }
.isn-drop b { font-size: 14px; color: var(--text); }
.isn-drop span { font-size: 12px; }
.isn-drop:hover, .isn-drop.over { border-color: var(--primary); background: #f0f6ff; }
.isn-ths { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.isn-th { position: relative; width: 84px; height: 64px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.isn-th img, .isn-th > *:first-child { width: 100%; height: 100%; object-fit: cover; }
.isn-th button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.isn-vo { display: flex; align-items: center; gap: 6px; margin-top: 10px; max-width: 380px; }
.isn-vo .voice { flex: 1 1 auto; }
.isn-urg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.isn-u { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--border, #e6e9ef); border-radius: 8px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.isn-u b { font-size: 14px; }
.isn-u span { font-size: 12px; color: var(--text-2); }
.isn-u:hover { border-color: var(--border-2, #c3c6d4); }
.isn-u-high.on { border-color: #e2445c; background: #fdeef0; }
.isn-u-medium.on { border-color: #fdab3d; background: #fff6e8; }
.isn-u-low.on { border-color: #579bfc; background: #eef5ff; }
@media (max-width: 767px) {
  .is-top { flex-direction: column; align-items: stretch; }
  .btn.is-add { height: 48px; justify-content: center; }
  .is-top .sp { display: none; }
  .isn-media { grid-template-columns: 1fr; }
  .isn-urg { grid-template-columns: 1fr; }
}
.is-turn { display: inline-block; margin-bottom: 4px; padding: 1px 8px; border-radius: 10px; background: #fdeef0; color: #c4314b; font-size: 11px; font-weight: 600; }
.is-tbl { min-width: 860px; }
.isn-u { align-items: center; justify-content: center; padding: 10px; } .isn-u b { font-size: 15px; } @media (max-width: 767px) { .isn-urg { grid-template-columns: repeat(3, 1fr); } }

/* voice players never spill out of their box (any width) */
.voice { overflow: hidden; min-width: 0; box-sizing: border-box; }
.voice .wave { overflow: hidden; }
/* Issues table: compact player that fits the 150px Audio column */
.c-aud .voice { width: 100%; padding: 3px 8px 3px 3px; gap: 6px; }
.c-aud .voice .wave { flex: 1 1 0; min-width: 0; gap: 1px; }
.c-aud .voice .wave i { min-width: 1px; }
.c-aud .voice .vt { font-size: 12px; }
.c-img .is-thumb { width: 72px; height: 56px; }
.is-tbl td.mc-lbl .lblc, .is-tbl .lblc { font-size: 13px; padding: 0 6px; text-align: center; white-space: normal; line-height: 16px; }

/* voice player: back 5 s + seekable wave */
.voice .vback { position: relative; flex: none; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }
.voice .vback:hover { background: var(--hover, #f0f2f7); color: var(--primary); }
.voice .vback .i { width: 18px; height: 18px; }
.voice .vback span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 8px; font-weight: 700; line-height: 1; padding-top: 1px; }
.voice .wave { cursor: pointer; touch-action: none; border-radius: 3px; outline: none; }
.voice .wave:hover i:not(.p) { background: #9cc6f6; }
.voice .wave:focus-visible { box-shadow: 0 0 0 2px var(--primary); }
.voice .wave.drag { cursor: grabbing; }
.voice.started .vt, .voice.playing .vt { color: var(--primary); }
.c-aud .voice .vback { width: 22px; height: 22px; }
.c-aud .voice .vback .i { width: 16px; height: 16px; }
@media (max-width: 767px) {
  .voice .vback { width: 36px; height: 36px; }
  .voice .wave { min-height: 32px; }
}

/* Requests (simple) */
.rq2 .c-req, .rq2 .c-rep { vertical-align: top; padding-top: 12px; padding-bottom: 12px; }
.rq2-t { font-size: 15px; line-height: 22px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.rq2-vo { margin-top: 6px; max-width: 340px; }
.rq2 .rq-sub { margin-top: 6px; }
.rq2-rep { font-size: 14px; line-height: 21px; color: var(--text); }
.rq2-by { margin-top: 4px; font-size: 12px; color: var(--text-2); }
.lblc.rq2-open { background: #fdab3d; color: #fff; }
.lblc.rq2-done { background: #00c875; color: #fff; }
.rqn-m .rqn-mic { width: 100%; flex-direction: row; gap: 10px; min-height: 56px; }
.rqn-m .rqn-mic span { margin-left: 4px; }
.rqn-m .isn-vo { max-width: none; }

/* Issues: voice under the text */
.c-txt .is-vo { margin-top: 8px; max-width: 320px; }
.c-txt .is-vo .voice + .voice { margin-top: 6px; }
.c-txt .is-vo .voice { padding: 3px 10px 3px 3px; gap: 6px; }
.c-txt .is-vo .voice .play { width: 28px; height: 28px; }
.c-txt .is-vo .voice .wave { min-width: 0; height: 20px; }
.c-txt .is-vo .voice .vby { display: none; }
.c-fix .is-addfix { white-space: nowrap; }

/* small, quiet status labels (instead of big coloured status cells) */
.is-tags { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.is-tags .is-turn { margin: 0; }
.st-pill { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: #eef0f4; color: #4b5064; }
.st-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-new { background: #eaf2ff; color: #1f6fd1; }
.st-working { background: #fff4e5; color: #b36b00; }
.st-question { background: #f3effc; color: #6a4fc7; }
.st-answered { background: #e8f6fb; color: #0b7aa3; }
.st-solved { background: #e7f8ef; color: #0f8a4f; }
.st-waiting { background: #fff4e5; color: #b36b00; }
/* issue panel header: same small label, still clickable for the admin */
.is-panel .is-pst { position: static; display: inline-flex; align-items: center; width: auto; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12px; font-weight: 600; border: 0; }
.is-panel .is-pst.is-new { background: #eaf2ff; color: #1f6fd1; }
.is-panel .is-pst.is-working { background: #fff4e5; color: #b36b00; }
.is-panel .is-pst.is-question { background: #f3effc; color: #6a4fc7; }
.is-panel .is-pst.is-answered { background: #e8f6fb; color: #0b7aa3; }
.is-panel .is-pst.is-solved { background: #e7f8ef; color: #0f8a4f; }
.is-panel .is-pst:not(:disabled)::after { content: "▾"; margin-left: 5px; font-size: 10px; }
.is-panel .is-ppri { position: static; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 10px; font-size: 11.5px; }

/* ===== Voice player v2: play | slim bar with dot | time | -5s ===== */
.voice.v2 { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border: 1px solid var(--line, #e6e9ef); border-radius: 999px; background: #fff; max-width: 380px; }
.voice.v2 .play { width: 32px; height: 32px; }
.voice.v2 .vtrack { flex: 1 1 auto; min-width: 60px; height: 24px; display: flex; align-items: center; cursor: pointer; padding: 0; gap: 0; overflow: visible; }
.voice.v2 .vrail { position: relative; display: block; width: 100%; height: 4px; border-radius: 2px; background: #dde3ee; }
.voice.v2 .vfill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--primary); }
.voice.v2 .vknob { position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px #fff, 0 1px 3px rgba(0,0,0,.25); transform: scale(0); transition: transform .12s; }
.voice.v2.started .vknob, .voice.v2.playing .vknob, .voice.v2 .vtrack:hover .vknob, .voice.v2 .vtrack:focus-visible .vknob, .voice.v2 .vtrack.drag .vknob { transform: scale(1); }
.voice.v2 .vtrack:hover .vrail { background: #cdd6e6; }
.voice.v2 .vt { font-size: 12.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.voice.v2.started .vt, .voice.v2.playing .vt { color: var(--text); }
.voice.v2 .vback { position: static; width: auto; height: 24px; padding: 0 8px; border: 0; border-radius: 12px; background: #f1f3f8; color: var(--text-2); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; flex: none; }
.voice.v2 .vback:hover { background: #e4ecfb; color: var(--primary); }
.voice.v2 .vby { font-size: 12px; color: var(--text-3, #8a8fa3); }
/* compact inside tables (Issues text cell) */
.c-txt .is-vo .voice.v2 { padding: 4px 10px 4px 4px; gap: 8px; }
.c-txt .is-vo .voice.v2 .play { width: 28px; height: 28px; }
.c-txt .is-vo .voice.v2 .vtrack { height: 20px; }
@media (max-width: 767px) {
  .voice.v2 { max-width: none; }
  .voice.v2 .play { width: 38px; height: 38px; }
  .voice.v2 .vtrack { height: 36px; }
  .voice.v2 .vback { height: 32px; padding: 0 10px; font-size: 13px; }
}

/* replay-5 icon button (replaces the "-5s" text) */
.voice.v2 .vback { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border-radius: 50%; background: transparent; color: var(--text-2); }
.voice.v2 .vback:hover { background: #eef3fd; color: var(--primary); }
.voice.v2 .vback .r5 { width: 22px; height: 22px; fill: currentColor; }
.c-txt .is-vo .voice.v2 .vback { width: 26px; height: 26px; }
.c-txt .is-vo .voice.v2 .vback .r5 { width: 20px; height: 20px; }
@media (max-width: 767px) { .voice.v2 .vback { width: 38px; height: 38px; } .voice.v2 .vback .r5 { width: 26px; height: 26px; } }

/* reply window (requests) */
.rqr-q { display: flex; gap: 10px; padding: 12px; border-radius: 8px; background: #f6f7fb; }
.rqr-qt { font-size: 15px; line-height: 22px; color: var(--text); white-space: pre-wrap; }
.rqr-qm { margin-top: 4px; font-size: 12px; color: var(--text-2); }
.rqr-link { display: flex; align-items: center; gap: 8px; padding: 0 0 0 12px; border: 1px solid var(--border, #e6e9ef); border-radius: 6px; background: #fff; color: var(--text-2); }
.rqr-link:focus-within { border-color: var(--primary); }
.rqr-link .input { border: 0; box-shadow: none; flex: 1; height: 40px; padding-left: 0; font-size: 14px; }
.rqr-m .modal-f { gap: 8px; }
/* reply shown in the list */
.rq2-link { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; margin-top: 6px; padding: 4px 10px; border: 1px solid var(--border, #e6e9ef); border-radius: 14px; font-size: 13px; color: var(--primary); text-decoration: none; background: #fff; }
.rq2-link:hover { border-color: var(--primary); }
.rq2-link span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-rep .rq2-vo { margin-top: 6px; }
.c-rep .rq2-again { margin-top: 8px; }
@media (max-width: 767px) { .rqr-m .modal-f { flex-wrap: wrap; } .rqr-m .modal-f .btn { flex: 1 1 auto; justify-content: center; height: 44px; } .rqr-m .modal-f .sp { display: none; } }
/* attached files in replies */
.rq2-files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.rq2-file { display: inline-flex; align-items: center; gap: 6px; max-width: 260px; height: 30px; padding: 0 10px; border: 1px solid var(--border, #e6e9ef); border-radius: 6px; background: #fff; color: var(--text); font-size: 13px; text-decoration: none; }
.rq2-file:hover { border-color: var(--primary); color: var(--primary); }
.rq2-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rq2-file em { font-style: normal; color: var(--text-3, #8a8fa3); font-size: 11.5px; flex: none; }
.rq2-fimg { display: block; width: 64px; height: 48px; border-radius: 6px; overflow: hidden; border: 1px solid var(--border, #e6e9ef); }
.rq2-fimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rq2-fdel { margin-left: -4px; }
.rqr-drop.over { border-color: var(--primary); background: #f0f6ff; }
.rq2-rep a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }

/* ===== Tasks: simple list grouped Pending / Working on it / Done ===== */
.tl-group { margin-bottom: 18px; }
.tl-gh { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px; margin-bottom: 6px; border: 0; background: transparent; font: inherit; cursor: pointer; color: var(--gc); }
.tl-gh b { font-size: 16px; font-weight: 600; }
.tl-gh .cnt { font-size: 13px; color: var(--text-2); }
.tl-gh .chev { width: 16px; height: 16px; transition: transform .15s; }
.tl-group.closed .tl-gh .chev { transform: rotate(-90deg); }
.tl-tbl { border: 1px solid var(--line, #e6e9ef); border-left: 4px solid var(--gc); border-radius: 8px; background: #fff; overflow: hidden; }
.tl-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px 96px 120px 140px; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line, #eef0f4); cursor: pointer; }
.tl-row:hover { background: #f7f9fc; }
.tl-head { border-top: 0; padding-top: 8px; padding-bottom: 8px; font-size: 12.5px; color: var(--text-2); cursor: default; background: #fafbfd; }
.tl-head:hover { background: #fafbfd; }
.tl-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14.5px; line-height: 20px; color: var(--text); }
.tl-row.done .tl-title { color: var(--text-2); }
.tl-sub { display: flex; align-items: center; gap: 10px; margin-top: 3px; font-size: 12px; color: var(--text-2); }
.tl-sub .m { display: inline-flex; align-items: center; gap: 3px; }
.tl-sub .m .i { width: 13px; height: 13px; }
.tl-who { display: flex; align-items: center; gap: 6px; font-size: 13.5px; min-width: 0; }
.tl-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-due { font-size: 13px; }
.tl-empty { padding: 10px 16px; font-size: 13px; color: var(--text-3, #8a8fa3); border: 1px dashed var(--line, #e6e9ef); border-radius: 8px; }
.st-btn { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; height: 26px; padding: 0 10px; border-radius: 13px; }
.st-btn:disabled { cursor: default; }
.st-btn:not(:disabled)::after { content: "▾"; margin-left: 2px; font-size: 9px; opacity: .7; }
.st-g-pending { background: #eef0f4; color: #4b5064; }
.st-g-working { background: #fff4e5; color: #b36b00; }
.st-g-done { background: #e7f8ef; color: #0f8a4f; }
.st-stuck { background: #fdeef0; color: #c4314b; }
.pri-high { background: #f1ebff; color: #5b2bb8; }
.pri-medium { background: #eef0fb; color: #5559b8; }
.pri-low { background: #eef5ff; color: #3d73b8; }
.pri-high::before, .pri-medium::before, .pri-low::before { display: none; }
.tf-who { gap: 6px; }
.tf-m .isn-b { gap: 16px; }
@media (max-width: 900px) { .tl-row { grid-template-columns: minmax(0, 1fr) 110px 120px; } .tl-pri, .tl-row .tl-pri, .tl-head > div:nth-child(3), .tl-due, .tl-head > div:nth-child(4) { display: none; } }
@media (max-width: 767px) { .tl-row { grid-template-columns: minmax(0, 1fr) auto; } .tl-who, .tl-head { display: none; } }
.board.board3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== Pending work ===== */
.wk-day { margin-bottom: 20px; }
.wk-dh { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--text); }
.wk-dh .cnt { font-size: 12px; font-weight: 500; color: var(--text-2); background: #eef0f4; border-radius: 10px; padding: 1px 8px; }
.wk-list { border: 1px solid var(--line, #e6e9ef); border-radius: 8px; background: #fff; overflow: hidden; }
.wk-row { display: flex; align-items: flex-start; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line, #eef0f4); }
.wk-row:first-child { border-top: 0; }
.wk-row.done { background: #fbfdfc; }
.wk-main { flex: 1 1 auto; min-width: 0; }
.wk-text { font-size: 15px; line-height: 22px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.wk-text a { color: var(--primary); }
.wk-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; font-size: 12.5px; color: var(--text-2); }
.wk-meta b { font-weight: 600; color: var(--text); }
.wk-done-l { display: inline-flex; align-items: center; gap: 4px; color: #0f8a4f; font-weight: 500; }
.wk-done-l .i { width: 13px; height: 13px; }
.wk-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: none; }
.wk-ok { white-space: nowrap; }
.wk-shots { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.wk-shot { width: 92px; height: 66px; padding: 0; border: 1px solid var(--line, #e6e9ef); border-radius: 6px; overflow: hidden; background: #f6f7fb; cursor: zoom-in; }
.wk-shot img, .wk-shot > * { width: 100%; height: 100%; object-fit: cover; display: block; }
.wk-row .rq2-vo { max-width: 360px; }
.wp-vh { background: #f1ebff; color: #5b2bb8; }
.wp-h { background: #e7f8ef; color: #0f8a4f; }
.wp-m { background: #fff1e6; color: #b85c00; }
.wp-l { background: #eaf2ff; color: #1f6fd1; }
.wp-f { background: #2b2d33; color: #fff; }
.wk-urg { grid-template-columns: repeat(5, 1fr); }
.wk-u-vhigh.on { border-color: #6a3fd1; background: #f1ebff; }
.wk-u-high.on { border-color: #00a35c; background: #e7f8ef; }
.wk-u-medium.on { border-color: #e8892b; background: #fff1e6; }
.wk-u-low.on { border-color: #579bfc; background: #eaf2ff; }
.wk-u-future.on { border-color: #2b2d33; background: #ededf0; }
.menu .pk.wk-pk-notstarted { background: #c4c4c4; } .menu .pk.wk-pk-working { background: #fdab3d; } .menu .pk.wk-pk-done { background: #00c875; }
@media (max-width: 767px) {
  .wk-row { flex-direction: column; gap: 10px; }
  .wk-side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .wk-urg { grid-template-columns: repeat(3, 1fr); }
}

/* link + copy button */
.wk-link { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.wk-link .rq2-link { margin-top: 0; }
.wk-copy { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; border: 1px solid var(--border, #e6e9ef); border-radius: 14px; background: #fff; color: var(--text-2); font: inherit; font-size: 12.5px; cursor: pointer; }
.wk-copy:hover { border-color: var(--primary); color: var(--primary); }
.wk-copy.ok { border-color: #00a35c; color: #0f8a4f; background: #e7f8ef; }

/* replies on pending work */
.wk-reps { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding-left: 12px; border-left: 2px solid #e4e8f1; }
.wk-rp { display: flex; gap: 8px; align-items: flex-start; }
.wk-rpb { flex: 1 1 auto; min-width: 0; padding: 8px 12px; border-radius: 8px; background: #f6f7fb; }
.wk-rp.adm .wk-rpb { background: #eef4ff; }
.wk-rph { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.wk-rph b { color: var(--text); font-weight: 600; }
.wk-rpt { margin-top: 2px; font-size: 14px; line-height: 21px; color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; }
.wk-rpt a { color: var(--primary); }
.wk-rep { white-space: nowrap; }
button.rq2-fimg { padding: 0; cursor: zoom-in; background: #f6f7fb; } button.rq2-fimg:hover { border-color: var(--primary); }

/* Pending work: compact header line + tighter rows */
.wk-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 4px; font-size: 12.5px; color: var(--text-2); }
.wk-by { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.wk-by .av { width: 18px; height: 18px; font-size: 9px; }
.wk-head .wk-done-l { white-space: nowrap; }
.wk-row { padding: 10px 14px; gap: 12px; }
.wk-text { font-size: 14.5px; line-height: 21px; }
.wk-link { margin-top: 4px; }
.wk-shots { margin-top: 6px; }
.wk-shot { width: 76px; height: 54px; }
.wk-row .rq2-vo { margin-top: 6px; }
.wk-reps { margin-top: 8px; }
.wk-side { gap: 6px; }
.wk-day { margin-bottom: 14px; }
.wk-dh { margin-bottom: 6px; font-size: 14px; }
/* Solved: one line per item, click to expand */
.wk-mini { display: flex; align-items: center; gap: 10px; padding: 8px 14px; cursor: pointer; font-size: 13.5px; color: var(--text-2); }
.wk-mini:hover { background: #f7f9fc; }
.wk-mini-ok { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e7f8ef; color: #0f8a4f; flex: none; }
.wk-mini-ok .i { width: 12px; height: 12px; }
.wk-mini-t { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: 14px; }
.wk-mini-has { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3, #8a8fa3); font-size: 12px; flex: none; }
.wk-mini-has .i { width: 13px; height: 13px; }
.wk-mini .pchip, .wk-mini-by, .wk-mini-d { flex: none; white-space: nowrap; }
.wk-mini-by { display: inline-flex; align-items: center; gap: 5px; }
.wk-mini-by .av { width: 18px; height: 18px; font-size: 9px; }
.wk-mini-d { font-size: 12.5px; min-width: 96px; text-align: right; }
.wk-mini-c { color: var(--text-3, #8a8fa3); flex: none; }
.wk-fold .i { transform: rotate(180deg); }
@media (max-width: 767px) { .wk-mini { flex-wrap: wrap; } .wk-mini-t { flex-basis: calc(100% - 30px); white-space: normal; } }
.wk-side { flex-direction: row; align-items: center; gap: 6px; } .wk-row:not(.wk-mini) { align-items: center; } .wk-side .wk-rep { padding: 0 8px; }

/* ===== Future work ===== */
.fut-item .i { width: 14px; height: 14px; color: var(--text-2); margin: 0 2px; }
.fw-add { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--border-2, #d0d4e4); border-radius: 10px; background: #fff; }
.fw-add:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,115,234,.12); }
.fw-in { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 10px; border: 0; outline: none; font: inherit; font-size: 15px; background: transparent; color: var(--text); }
.fw-s { width: auto; max-width: 170px; flex: none; }
.fw-mic { flex: none; color: var(--text-2); }
.fw-mic:hover { color: var(--primary); }
.fw-go { flex: none; gap: 6px; }
.fw-pend { display: flex; gap: 6px; margin-top: 6px; }
.fw-pv { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 4px 0 8px; border-radius: 12px; background: #eef4ff; color: var(--primary); font-size: 12px; }
.fw-pv button { border: 0; background: transparent; color: inherit; cursor: pointer; display: grid; place-items: center; }
.fw-bar { display: flex; align-items: center; gap: 12px; margin: 14px 0 8px; }
.fw-n { font-size: 14px; color: var(--text-2); }
.fw-n b { color: var(--text); }
.fw-f { margin: 0; }
.fw-list { border: 1px solid var(--line, #e6e9ef); border-radius: 8px; background: #fff; overflow: hidden; }
.fw-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 80px 120px 28px; align-items: center; gap: 12px; padding: 9px 14px; border-top: 1px solid var(--line, #eef0f4); }
.fw-row:first-child { border-top: 0; }
.fw-row:hover { background: #fafbfd; }
.fw-ck { display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1.5px solid #b8bdcc; border-radius: 50%; background: #fff; color: transparent; cursor: pointer; }
.fw-ck:hover { border-color: #00a35c; color: #00a35c; }
.fw-ck.on { border-color: #00c875; background: #00c875; color: #fff; }
.fw-ck .i { width: 12px; height: 12px; }
.fw-t { font-size: 14.5px; line-height: 21px; color: var(--text); overflow-wrap: anywhere; }
.fw-t a { color: var(--primary); }
.fw-row.done .fw-t { color: var(--text-2); text-decoration: line-through; text-decoration-color: #c4c8d4; }
.fw-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; margin-top: 2px; font-size: 12px; color: var(--text-2); }
.fw-dl { color: #0f8a4f; }
.fw-vo { margin-top: 4px; max-width: 340px; }
.fw-who { display: flex; align-items: center; gap: 6px; font-size: 13px; min-width: 0; }
.fw-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fw-del { color: var(--text-3, #8a8fa3); opacity: 0; }
.fw-row:hover .fw-del { opacity: 1; }
.fw-dt { display: inline-flex; align-items: center; gap: 6px; margin: 14px 0 6px; padding: 4px 6px; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: #0f8a4f; cursor: pointer; }
.fw-dt .cnt { font-weight: 500; color: var(--text-2); }
@media (max-width: 900px) { .fw-add { flex-wrap: wrap; } .fw-in { flex-basis: 100%; } .fw-row { grid-template-columns: 22px minmax(0, 1fr) auto; } .fw-who, .fw-del { display: none; } }

/* accounts: password fields, My profile */
.acc-f { display: flex; flex-direction: column; gap: 12px; }
.acc-f .field { margin: 0; }
.pw-row { display: flex; gap: 8px; align-items: center; }
.pw-row .pw { flex: 1 1 auto; }
.acc-err { color: var(--danger-text, #c4314b); min-height: 18px; }
.acc-me { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 8px; background: #f6f7fb; }
.acc-me b { display: block; font-size: 15px; }
.acc-me span { font-size: 13px; color: var(--text-2); }
.acc-h { font-size: 14px; font-weight: 600; margin-top: 4px; }
.acc-open { display: flex; flex: 1 1 auto; min-width: 0; padding: 4px 6px; margin: -4px 0; border: 0; border-radius: 6px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.acc-open:hover { background: rgba(0,0,0,.05); }
.acc-open .who { min-width: 0; }
.fw-page .is-top { margin-bottom: 8px; } .fw-del2 { color: var(--text-3, #8a8fa3); } .fw-del2:hover { color: var(--danger, #df2f4a); } .wk-by .i { width: 13px; height: 13px; }
/* quiet Done button (Future work) */
.fw-mk { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border: 1px solid var(--line, #e2e5ec); border-radius: 13px; background: #fff; color: var(--text-2); font: inherit; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.fw-mk .i { width: 12px; height: 12px; }
.fw-mk:hover { border-color: #00a35c; color: #0f8a4f; background: #e7f8ef; }
.fw-mk.undo:hover { border-color: var(--border-2, #c3c6d4); color: var(--text); background: #f6f7fb; }
.fw-page .wk-side .fw-del2 { width: 26px; height: 26px; }
.nav-item.fut-item { position: relative; margin-top: 21px; } .nav-item.fut-item::before { content: ""; position: absolute; left: 10px; right: 10px; top: -11px; height: 1px; background: var(--line, #e2e5ec); }
