:root {
  color-scheme: light dark;
  --line: #8885;
}
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; line-height: 1.45; max-width: 76rem; margin: 2rem auto 4rem; padding: 0 1rem; }
h1 { margin-bottom: 0.25rem; }
.lede { margin-top: 0; max-width: 44rem; }
.nav { font-size: 14px; }
.note { font-size: 13px; opacity: 0.75; max-width: 44rem; }
.notes { font-size: 13px; line-height: 1.55; margin: 0.75rem 0; max-width: 56rem; }
.notes div { margin: 4px 0; }
section, .prose { max-width: 44rem; }
.prose h2, section h2 { margin-top: 2rem; }
table { border-collapse: collapse; margin: 0.75rem 0; font-size: 14px; }
th, td { border: 1px solid var(--line); padding: 4px 10px; text-align: left; vertical-align: top; }

.wf { position: relative; display: flex; gap: 56px; align-items: flex-start; padding: 22px 14px 30px; overflow-x: auto; font-size: 13px; background: #f0f2f4; border-radius: 8px; color: #222; }
.wf svg { position: absolute; left: 0; top: 0; pointer-events: none; }
.wcol { display: flex; flex-direction: column; gap: 16px; z-index: 1; flex: none; }
.wcol.c0 { width: 110px; padding-top: 4px; }
.wcol.c1, .wcol.c2, .wcol.c3 { width: 215px; }
.wcol.c1 { margin-top: 170px; }

.wcard { background: #fff; color: #222; border: 1px solid #d5d9de; border-radius: 4px; box-shadow: 0 1px 2px #0001; position: relative; }
.wcard .head { padding: 11px 12px 12px; position: relative; min-height: 64px; }
.wcard h4 { margin: 0 22px 3px 0; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.wcard p { margin: 0; color: #444; font-size: 12px; line-height: 1.4; }
.wcard .ed { position: absolute; right: 10px; top: 9px; color: #9aa4ad; font-size: 13px; }
.wcard .rw { border-top: 1px solid #e3e6e9; padding: 8px 12px; font-weight: 600; font-size: 12.5px; display: flex; align-items: center; gap: 4px; position: relative; min-height: 34px; }
.wcard .rw.grp { background: #fafbfc; }
.wcard .rw.opt { padding-left: 26px; font-weight: 500; color: #444; }
.wcard .add { border-top: 1px solid #e3e6e9; background: #f6f9fc; color: #8a949d; padding: 7px 12px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; }
.wcard .add i { font-style: normal; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; display: flex; align-items: center; justify-content: center; color: #222; font-size: 14px; }
.wcard.no { border-top: 3px solid #c0504d; }
.wcard.ok { border-top: 3px solid #2e9e6b; }
.wcard.botc { border-top: 3px solid #5b8def; }
.wcard.free { border-top: 3px solid #2e9e6b; }
.wcard.paym { border-top: 3px solid #5b8def; }
.wcard.workc { border-top: 3px solid #e8a317; }
.typ { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: #7a8a96; margin-bottom: 2px; }

.start { background: #fff; color: #222; border: 2px solid #6fae3c; border-radius: 4px; padding: 12px; font-weight: 700; font-size: 14px; position: relative; }
.start small { display: block; font-weight: 400; color: #555; font-size: 11px; margin-top: 2px; }

.dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 1.5px solid #7a8a96; top: 50%; margin-top: -5.5px; }
.dot.out { right: -6px; }
.dot.in { left: -6px; top: 24px; margin-top: 0; }

.pill { font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 8px; border: 1px solid #bbb; background: #fff; }
.pill.work { border-color: #d98f00; color: #a86f00; background: #fff6e0; }
.pill.pay { border-color: #5b8def; color: #3c6fd0; background: #eef3ff; }
.nb { position: absolute; top: -9px; left: -9px; width: 19px; height: 19px; border-radius: 50%; background: #333; color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.lk { margin-left: auto; font-size: 10px; font-weight: 500; color: #6b5bd6; border: 1px solid #6b5bd6; border-radius: 4px; padding: 0 5px; }
.sh { margin-left: auto; font-size: 10px; font-weight: 500; color: #555; border: 1px solid #bbb; border-radius: 4px; padding: 0 5px; }
