/* Kwanza onboarding (Oct 2026) — a light, calm new-hire portal: charcoal and warm greys, Kwanza green only for what is done */
:root {
  --g: #2b3330; --g-d: #222926; --g-dd: #161b19; --g-l: #f1f0ec; --g-l2: #e2e0da;
  --ok: #3f7a22; --ok-l: #eef5e8; --ok-l2: #d5e8c6; --brand: #1f4a0f;
  --gold: #e3b21b; --gold-l: #fdf6dc;
  --bg: #f6f5f2; --card: #fff; --line: #e6e4df; --line-2: #efeeea; --tint: #faf9f7;
  --ink: #1a1f1c; --ink-2: #4f5551; --ink-3: #8a8f8b;
  --blue: #2f6f9f; --blue-l: #e4eff8; --amber: #b7791f; --amber-l: #fdf3e1; --rose: #c2410c; --rose-l: #fff1ea;
  --r: 14px; --r-lg: 20px;
  --sh: 0 1px 2px rgba(20,32,22,.04), 0 4px 14px -6px rgba(20,32,22,.08);
  --sh-2: 0 2px 4px rgba(20,32,22,.05), 0 18px 40px -18px rgba(20,32,22,.25);
  --e: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, sans-serif; color: var(--ink); background: var(--bg); font-size: 14.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1 { font-size: 28px; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
h2 { font-size: 16.5px; font-weight: 750; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
h3 { font-size: 14.5px; font-weight: 750; display: flex; align-items: center; gap: 8px; }
.muted { color: var(--ink-2); } .small { font-size: 12.5px; }
.empty { padding: 26px; text-align: center; color: var(--ink-3); display: flex; gap: 8px; justify-content: center; align-items: center; }

/* ---------- shell */
.app { display: block; }
.side { position: fixed; inset: 0 auto 0 0; width: 268px; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 16px; z-index: 30; transition: transform .25s var(--e); }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; }
.kwz { display: inline-flex; align-items: center; gap: 8px; }
.kwz img { height: 26px; width: auto; }
.kwz span { display: grid; font-weight: 800; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); line-height: 1.05; }
.kwz small { font-size: 6.6px; letter-spacing: .16em; font-weight: 700; color: var(--ink-2); margin-top: 3px; }
.brand .kkl { height: 27px; width: auto; }
.brand { gap: 10px; padding-left: 4px; padding-right: 0; }
.bsep { width: 1px; height: 26px; background: var(--line); }
.brand.big .kwz img { height: 42px; } .brand.big .kwz span { font-size: 17px; } .brand.big .kwz small { font-size: 9.5px; } .brand.big .kkl { height: 44px; } .brand.big .bsep { height: 36px; }
.me { display: flex; align-items: center; gap: 11px; padding: 12px; background: var(--tint); border: 1px solid var(--line-2); border-radius: 14px; transition: border-color .15s; }
a.me:hover { border-color: var(--line); }
.me b { display: block; font-size: 14px; } .me span { font-size: 12.5px; color: var(--ink-3); }
.ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, #4a524e, #232927); overflow: hidden; }
.ava.pic { background: var(--line-2); } .ava.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ava.xl { width: 96px; height: 96px; font-size: 30px; }
.ava .ic { width: 18px; height: 18px; }
.ava.lg { width: 52px; height: 52px; font-size: 17px; }
.sprog { padding: 16px 8px 6px; }
.sprog-t { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 7px; }
.sprog-t b { color: var(--ink); }
.bar { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--ok); transition: width .8s var(--e); }
.side nav { display: grid; gap: 2px; margin-top: 14px; }
.side nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: var(--ink-2); font-weight: 600; font-size: 14px; transition: background .15s, color .15s; }
.side nav a span { flex: 1; }
.side nav a:hover { background: var(--tint); color: var(--ink); }
.side nav a.on { background: var(--g-l); color: var(--g-dd); }
.side nav a.on .ic { color: var(--g-d); }
.side nav a.locked { color: var(--ink-3); }
.side nav .lk { width: 15px; height: 15px; color: var(--ink-3); }
.cnt { font-style: normal; font-size: 11.5px; font-weight: 800; background: var(--g); color: #fff; border-radius: 99px; padding: 1px 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--gold-l); }
.side-f { margin-top: auto; padding: 14px 8px 0; border-top: 1px solid var(--line-2); }
.side-f a { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink-2); padding: 6px 4px; }
.side-f p { font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.main { margin-left: 268px; min-height: 100vh; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 62px; padding: 0 34px; background: rgba(246,245,242,.88); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.crumbs { font-weight: 700; display: flex; align-items: center; gap: 8px; min-width: 0; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; }
.crumbs b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crumbs .sep { color: var(--ink-3); }
.top-r { margin-left: auto; } .org { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.menu { display: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px; cursor: pointer; }
.page { padding: 10px 34px 60px; max-width: 1400px; margin: 0 auto; animation: in .45s var(--e); }
@keyframes in { from { transform: translateY(6px); } }
.pvbar { display: flex; gap: 10px; align-items: center; padding: 10px 34px; background: var(--gold-l); color: #6b4f05; font-weight: 600; font-size: 13px; border-bottom: 1px solid #f1e2a8; }
.pvbar a { margin-left: auto; text-decoration: underline; }
.side-f .pv { color: #6b4f05; }

/* ---------- common */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); padding: 22px; margin-bottom: 18px; min-width: 0; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card > h2 { margin-bottom: 14px; }
.grid { display: grid; gap: 18px; } .grid > .card { margin-bottom: 0; } .grid { margin-bottom: 18px; }
.g3 { grid-template-columns: 1fr 1.15fr 1fr; } .g2q { grid-template-columns: 1fr 1.4fr; align-items: start; }
.ph { margin: 14px 0 22px; } .ph p { margin-top: 6px; }
.ph.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.phu { display: flex; align-items: center; gap: 16px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; } .acts form { display: contents; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--ink); cursor: pointer; transition: transform .15s var(--e), box-shadow .2s, background .15s; white-space: nowrap; }
.btn:hover { background: var(--tint); }
.btn.primary { background: var(--g-d); border-color: var(--g-d); color: #fff; box-shadow: 0 8px 20px -10px var(--g-d); }
.btn.primary:hover { transform: translateY(-1px); background: var(--g-dd); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.sm { padding: 6px 11px; font-size: 12.5px; border-radius: 9px; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.wide { width: 100%; padding: 13px; }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--g-d); font-size: 13.5px; }
.lnk .ic { width: 16px; height: 16px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--amber-l); color: var(--amber); white-space: nowrap; }
.pill .ic { width: 13px; height: 13px; }
.pill.ok { background: var(--ok-l); color: var(--ok); } .pill.soft { background: var(--line-2); color: var(--ink-2); }
.flash { padding: 12px 16px; border-radius: 12px; background: var(--ok-l); color: #2c5717; font-weight: 600; margin: 0 0 16px; border: 1px solid var(--ok-l2); display: flex; gap: 8px; align-items: center; }
.flash.warn { background: var(--gold-l); color: #6b4f05; border-color: #f1e2a8; margin-top: 12px; }
.err.box { padding: 12px 16px; border-radius: 12px; background: var(--rose-l); border: 1px solid #fbd5c2; margin: 0 0 16px; }
.err { color: var(--rose); font-weight: 600; font-size: 13px; margin: 6px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.eyebrow .ic { width: 15px; height: 15px; }

/* ---------- home */
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: center; padding: 34px 34px; margin: 12px 0 18px; border-radius: 26px; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #3a423e 0%, #262d2a 50%, #181d1b 100%); box-shadow: var(--sh-2); }
.hero .eyebrow { color: #e8c75a; }
.hero h1 { font-size: 36px; margin: 10px 0 10px; color: #fff; }
.hero .lead { color: #dcdfdc; font-size: 15.5px; max-width: 560px; line-height: 1.6; }
.hero-acts { margin-top: 22px; }
.hero .btn.primary { background: #fff; color: var(--g-dd); border-color: #fff; box-shadow: 0 12px 26px -12px rgba(0,0,0,.45); }
.hero .btn.primary:hover { background: #f3f2ee; }
.hero-art { position: absolute; right: 290px; bottom: -10px; width: 360px; color: rgba(255,255,255,.09); pointer-events: none; }
.hero-l { position: relative; z-index: 1; }
.countdown { position: relative; z-index: 1; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 20px 22px; backdrop-filter: blur(6px); }
.cd-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #e8c75a; }
.cd-n { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 8px; color: #fff; }
.cd-u { font-size: 14px; color: #cfd3d0; font-weight: 600; margin-bottom: 12px; }
.cd-d { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: #eceeec; padding: 5px 0; border-top: 1px solid rgba(255,255,255,.12); }
.cd-d .ic { width: 16px; height: 16px; margin-top: 1px; color: #e8c75a; }
.prog-b { display: flex; align-items: center; gap: 18px; }
.ring { flex: none; }
.prog-b p { margin-bottom: 4px; }
.ring .rt { fill: none; stroke: var(--line-2); stroke-width: 11; }
.ring .rv { fill: none; stroke: var(--ok); stroke-width: 11; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 60px 60px; transition: stroke-dashoffset 1s var(--e); }
.ring .rp { font-size: 25px; font-weight: 800; text-anchor: middle; fill: var(--ink); } .ring .rl { font-size: 10.5px; text-anchor: middle; fill: var(--ink-3); font-weight: 600; }
.jl { list-style: none; padding: 0; position: relative; }
.jl li { display: flex; gap: 12px; padding: 0 0 13px; position: relative; }
.jl li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: -2px; width: 2px; background: var(--line); }
.jl li:last-child::before { display: none; }
.jd { width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid var(--line); background: #fff; }
.jd .ic { width: 13px; height: 13px; stroke-width: 3; }
.jl b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.35; } .jl small { color: var(--ink-3); font-size: 12px; }
.j-done .jd { background: var(--ok); border-color: var(--ok); color: #fff; } .j-done::before { background: var(--ok) !important; }
.j-now .jd { border-color: var(--gold); box-shadow: 0 0 0 5px var(--gold-l); animation: pulse 2s infinite; } .j-now b { color: #7a5a02; }
.j-next b { color: var(--ink-2); font-weight: 600; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(227,178,27,.08); } }
.kcard { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line-2); border-radius: 14px; margin-bottom: 10px; transition: border-color .15s, transform .15s var(--e); }
.kcard:hover { border-color: var(--g-l2); transform: translateY(-1px); }
.kcard .kic { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--g-l); color: var(--g-d); }
.kcard b { font-size: 13.5px; } .kcard small { grid-column: 2; color: var(--ink-3); font-size: 12px; }
.kcard .go { grid-row: 1 / 3; grid-column: 3; }
.kcard.ghost .kic { background: var(--gold-l); color: #7a5a02; }
.go { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 13px; color: var(--g-d); white-space: nowrap; }
.go .ic { width: 15px; height: 15px; transition: transform .15s var(--e); }
a:hover .go .ic { transform: translateX(3px); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.person { padding: 18px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--tint); display: grid; gap: 4px; justify-items: start; }
.person .ava { margin-bottom: 8px; }
.person .role { font-size: 12px; font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.person p { color: var(--ink-2); font-size: 13px; } .person a { color: var(--g-d); font-weight: 600; font-size: 13px; }

/* ---------- tasks */
.tasks { display: grid; gap: 8px; }
.task { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .2s, transform .15s var(--e); }
a.task:hover { border-color: var(--g-l2); box-shadow: var(--sh); transform: translateY(-1px); }
.tk { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--g-l); color: var(--g-d); }
.task.done { background: var(--tint); } .task.done .tk { background: var(--ok); color: #fff; } .task.done .tk .ic { stroke-width: 3; }
.task.done b { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--line); }
.task.lock { opacity: .62; } .task.lock .tk { background: var(--line-2); color: var(--ink-3); }
.tt b { display: block; font-size: 14px; font-weight: 700; } .tt small { color: var(--ink-3); font-size: 12.5px; }
.due { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--line-2); padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.due .ic { width: 13px; height: 13px; } .due.late { background: var(--rose-l); color: var(--rose); }
.ok { display: inline-flex; gap: 5px; align-items: center; color: var(--ok); font-weight: 700; font-size: 13px; } .ok .ic { width: 15px; height: 15px; }
.lockt, .by-us { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-3); font-weight: 600; font-size: 12.5px; white-space: nowrap; } .lockt .ic { width: 14px; height: 14px; }
.tgroup h2 .num { width: 26px; height: 26px; border-radius: 50%; background: var(--g-d); color: #fff; display: inline-grid; place-items: center; font-size: 13px; }

/* ---------- NDA */
.nda-w { display: grid; grid-template-columns: minmax(0, 860px) 340px; gap: 26px; align-items: start; justify-content: center; }
.paper { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 56px 64px 60px; box-shadow: var(--sh-2); font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-size: 14.5px; line-height: 1.8; color: #2b302d; letter-spacing: .002em; }
.paper .doc-t { font-size: 19px; font-weight: 800; letter-spacing: .06em; text-align: center; display: block; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.paper h3 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 30px 0 10px; display: flex; gap: 0; align-items: baseline; }
.paper h3 .n, .paper .cl .n { flex: none; width: 44px; color: var(--ink-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.paper p { margin-bottom: 10px; }
.paper .cap { font-weight: 800; font-size: 11.5px; letter-spacing: .14em; color: var(--ink-2); margin: 24px 0 10px; }
.paper .cl { display: flex; align-items: baseline; }
.paper .cl .n { font-size: 13px; }
.paper .sub { display: flex; align-items: baseline; padding-left: 44px; margin-bottom: 6px; }
.paper .sub .n { flex: none; width: 36px; color: var(--ink-3); font-weight: 600; }
.nda-side { position: sticky; top: 80px; display: grid; gap: 16px; }
.signbox { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--sh-2); display: grid; gap: 14px; }
.tip { display: flex; gap: 12px; color: var(--ink-2); font-size: 13px; margin: 0; } .tip .ic { color: var(--ink-2); margin-top: 2px; }
.signed, .ackd, .alldone { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--ok-l); color: #24461a; border: 1px solid var(--ok-l2); margin: 10px 0; }
.signed .ic, .ackd .ic, .alldone > .ic { width: 26px; height: 26px; padding: 5px; background: var(--ok); color: #fff; border-radius: 50%; stroke-width: 3; }
.signed b, .ackd b, .alldone b { display: block; } .signed span, .ackd span, .alldone span { font-size: 12.5px; color: #3b5e2c; }

/* ---------- forms */
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.fld i { font-style: normal; font-weight: 500; color: var(--ink-3); }
input, select, textarea { font: inherit; font-size: 14px; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #9a9d99; box-shadow: 0 0 0 4px var(--g-l); }
textarea { resize: vertical; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.chk input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--g-d); flex: none; }
.chks { display: flex; gap: 18px; flex-wrap: wrap; padding: 4px 0; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fgrid .wide, .fld.wide, .chk.wide { grid-column: 1 / -1; }
.facts { display: flex; justify-content: flex-end; margin-top: 16px; } .facts.wide { grid-column: 1 / -1; margin-top: 4px; }
.info-w { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: start; }
.itabs { position: sticky; top: 80px; display: grid; gap: 2px; }
.itabs a { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: 13.5px; }
.itabs a:hover, .itabs a.on { background: #fff; color: var(--g-dd); box-shadow: var(--sh); }
.form { scroll-margin-top: 80px; }
.fi { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--g-l); color: var(--g-d); }
.upl { display: grid; gap: 8px; }
.drop { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1.5px dashed #cfccc5; border-radius: 12px; background: var(--tint); color: var(--ink-2); font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s; }
.drop:hover { background: var(--g-l); border-color: #a9a69f; }
.drop input { display: none; }
.drop.has { border-style: solid; background: var(--g-l); }
.fchip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; margin-right: 6px; }
.fchip small { color: var(--ink-3); font-weight: 500; }
.fchip .ic { width: 15px; height: 15px; color: var(--rose); }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; background: var(--line-2); gap: 2px; }
.seg input { display: none; }
.seg span { display: block; padding: 6px 12px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--g-dd); box-shadow: var(--sh); }
.nform { display: grid; gap: 10px; justify-items: start; margin-top: 12px; } .nform textarea { width: 100%; }

/* ---------- documents */
.dr { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; }
.tree { position: sticky; top: 80px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: var(--sh); }
.tree-s { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); padding: 10px 10px 4px; }
.tree a { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
.tree a span { flex: 1; } .tree a em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.tree a:hover { background: var(--tint); } .tree a.on { background: var(--g-l); color: var(--g-dd); }
.tree a .ic { color: var(--gold); }
.frow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 13px 10px; border-top: 1px solid var(--line-2); border-radius: 10px; transition: background .15s; }
.frow:hover { background: var(--tint); }
.frow > .ic { color: var(--ink-3); }
.ft { width: 36px; height: 42px; border-radius: 7px; background: #d64545; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.fn b { display: block; font-size: 14px; } .fn small { color: var(--ink-3); font-size: 12.5px; }
.viewer { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.v-pages { display: grid; gap: 18px; user-select: none; -webkit-user-select: none; }
.pg { position: relative; background: #fff; border-radius: 10px; box-shadow: var(--sh-2); overflow: hidden; border: 1px solid var(--line); }
.pg img { display: block; width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.pg span { position: absolute; right: 10px; bottom: 10px; font-size: 11px; font-weight: 700; color: var(--ink-3); background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 99px; }
.v-side { position: sticky; top: 80px; display: grid; gap: 0; }
.v-side h2 { margin: 4px 0 4px; font-size: 17px; }
.vk { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--g-d); }
.ackf { margin-top: 14px; display: grid; gap: 10px; } .ackf p { font-size: 13px; color: var(--ink-2); }
.conf { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-3); padding: 0 6px; }
.thread { display: grid; gap: 10px; max-height: 420px; overflow: auto; }
.note { padding: 12px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line-2); }
.note p { font-size: 13.5px; margin: 4px 0; white-space: pre-wrap; } .note > small { color: var(--ink-3); font-size: 11.5px; }
.nk { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; background: var(--blue-l); color: var(--blue); }
.nk.comment { background: var(--line-2); color: var(--ink-2); }
.reply { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--g-l); border-left: 3px solid var(--gold); }
.reply b { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--g-d); } .reply .ic { width: 14px; height: 14px; }
.reply small { color: var(--g-d); font-size: 11px; }
.waiting { margin-top: 8px; font-size: 12px; color: var(--amber); font-weight: 600; }
.qrow { display: grid; gap: 6px; } .qdoc { display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 700; color: var(--g-d); }

/* ---------- sign in */
body.plain { background: #fff; }
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.lg-card { align-self: center; justify-self: center; width: min(420px, 100% - 40px); display: grid; gap: 14px; padding: 40px 0; }
.lg-card h1 { margin-top: 18px; }
.lg-card form { display: grid; gap: 14px; margin-top: 8px; }
.lg-art { background: radial-gradient(120% 120% at 100% 0%, #3a423e, #171c1a); color: #fff; display: grid; place-items: center; padding: 48px; position: relative; overflow: hidden; }
.lg-art::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 420px; height: 420px; background: url(/static/brand/kig-mark.png) center/contain no-repeat; opacity: .12; }
.lg-art > div { max-width: 460px; position: relative; z-index: 1; }
.lg-art .eyebrow { color: #e8c75a; } .lg-art h2 { font-size: 30px; line-height: 1.2; margin: 14px 0 24px; display: block; }
.lg-art ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.lg-art li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #e4e6e4; padding: 12px 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
.lg-art li .ic { color: #e8c75a; }

/* ---------- admin */
.pcard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; transition: transform .15s var(--e), box-shadow .2s; }
.pcard:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.pc-m b { display: block; font-size: 15.5px; } .pc-m > span { color: var(--ink-2); font-size: 13px; } .pc-m .bar { margin: 10px 0 6px; max-width: 520px; } .pc-m small { color: var(--ink-3); font-size: 12px; }
.pw { display: flex; gap: 16px; align-items: flex-start; background: var(--gold-l); border-color: #f1e2a8; }
.pw > .ic { width: 28px; height: 28px; color: #7a5a02; }
.pw > div { display: grid; gap: 10px; flex: 1; }
.pw code { font-size: 22px; font-weight: 800; letter-spacing: .04em; background: #fff; padding: 10px 14px; border-radius: 10px; border: 1px solid #f1e2a8; justify-self: start; }
.pw textarea { font-size: 13px; background: #fff; }
.pw .btn { justify-self: start; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; color: var(--ink-3); font-weight: 700; padding: 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl td small { display: block; color: var(--ink-3); font-size: 12px; }
.tbl tr.d td { color: var(--ink-3); } .tbl .ic { width: 15px; height: 15px; color: var(--ok); }
.ainfs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ainf { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; } .ainf h3 { margin-bottom: 8px; }
.kv { width: 100%; font-size: 13px; border-collapse: collapse; } .kv td { padding: 5px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; } .kv td:first-child { color: var(--ink-3); width: 45%; padding-right: 10px; }
.jrow { display: grid; grid-template-columns: 140px 1.3fr 1fr 110px 64px auto auto; gap: 8px; align-items: center; margin-bottom: 8px; }
.jrow input, .jrow select { padding: 7px 9px; font-size: 13px; }
.jrow.add { padding-top: 10px; border-top: 1px dashed var(--line); grid-template-columns: 140px 1.3fr 1fr 110px 64px auto; }
section .jrow:has(input[name=role]) { grid-template-columns: 1fr 1fr 1.4fr 1fr 64px auto auto; }
section .jrow.add:has(input[name=role]) { grid-template-columns: 1fr 1fr 1.4fr 1fr 64px auto; }
.danger { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }

/* ---------- small screens */
.scrim { display: none; }
@media (max-width: 1100px) { .g3 { grid-template-columns: 1fr 1fr; } .g3 > .know { grid-column: 1 / -1; } .viewer, .nda-w { grid-template-columns: 1fr; } .v-side, .nda-side { position: static; } .hero { grid-template-columns: 1fr; } .hero-art { display: none; } }
@media (max-width: 860px) {
  .side { transform: translateX(-100%); box-shadow: var(--sh-2); } .side.open { transform: none; }
  .scrim.on { display: block; position: fixed; inset: 0; background: rgba(20,32,22,.35); z-index: 25; }
  .main { margin-left: 0; } .menu { display: inline-flex; } .top { padding: 0 16px; } .page { padding: 6px 16px 50px; } .pvbar { padding: 10px 16px; }
  .org { display: none; } .g3, .g2q, .dr, .info-w, .ainfs { grid-template-columns: 1fr; } .tree, .itabs { position: static; }
  .itabs { display: flex; overflow-x: auto; gap: 6px; } .itabs a { white-space: nowrap; background: #fff; }
  .fgrid { grid-template-columns: 1fr; } .paper { padding: 26px 20px; } .hero { padding: 24px; } .hero h1 { font-size: 28px; }
  .task { grid-template-columns: auto minmax(0, 1fr) auto; } .task .due { grid-column: 2; justify-self: start; grid-row: 2; }
  .login { grid-template-columns: 1fr; } .lg-art { display: none; } .jrow, .jrow.add, section .jrow:has(input[name=role]), section .jrow.add:has(input[name=role]) { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print { .v-pages, .paper { display: none !important; } }

/* ---------- our own date picker (replaces the browser's) */
.dp { position: relative; display: block; }
.dp-btn { width: 100%; display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; text-align: left; transition: border-color .15s, box-shadow .15s; }
.dp-btn:hover { border-color: #cfccc5; } .dp-btn:focus { outline: none; border-color: #9a9d99; box-shadow: 0 0 0 4px var(--g-l); }
.dp-btn .ic { color: var(--g-d); width: 17px; height: 17px; } .dp-btn.empty span { color: var(--ink-3); }
.jrow .dp-btn { padding: 7px 9px; font-size: 13px; }
.dp-pop { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; width: 296px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2); padding: 14px; animation: dpin .16s var(--e); }
@keyframes dpin { from { transform: translateY(-4px); } }
.dp-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp-h b { font-size: 14.5px; font-weight: 800; }
.dp-nav { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 20px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.dp-nav:hover { background: var(--g-l); color: var(--g-dd); border-color: var(--g-l2); }
.dp-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dp-g i { font-style: normal; text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-3); padding: 4px 0 6px; }
.dp-g button { height: 36px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.dp-g button.we { color: var(--ink-3); }
.dp-g button:hover { background: var(--g-l); color: var(--g-dd); }
.dp-g button.today { box-shadow: inset 0 0 0 1.5px #9a9d99; color: var(--ink); }
.dp-g button.on { background: var(--g-d); color: #fff; box-shadow: 0 6px 14px -8px var(--g-d); }
.dp-f { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.dp-f button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 13px; color: var(--g-d); cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.dp-f button:last-child { color: var(--ink-3); } .dp-f button:hover { background: var(--tint); }



/* position: the "Other" box sits under the list */
.pos-other { margin-top: 8px; }

/* ---------- my tasks: step 1 across the top, steps 2-4 as three boxes, the chosen one's list below */
.start { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); margin-bottom: 18px; }
.start b { display: block; font-size: 16px; } .start small { color: var(--ink-3); font-size: 13px; }
.sk { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.snum { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; background: var(--g); color: #fff; flex: none; }
.start.done .snum, .sbox.done .snum { background: var(--ok); }
.sbox.lock .snum { background: var(--line); color: var(--ink-3); }
.sboxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.sbox { display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); transition: border-color .15s, box-shadow .2s, transform .15s var(--e); }
.sbox:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.sbox.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--sh-2); }
.sbox.lock { background: var(--tint); } .sbox.lock b { color: var(--ink-2); }
.sb-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.sst { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 700; color: var(--ink-3); } .sst .ic { width: 14px; height: 14px; }
.sbox.now .sst { color: #7a5a02; } .sbox.done .sst { color: var(--ok); }
.sbox b { font-size: 16px; } .sbox small { color: var(--ink-3); font-size: 13px; min-height: 38px; }
.sbox .bar { margin-top: 8px; } .scount { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.slist { scroll-margin-top: 80px; animation: in .3s var(--e); }
.shint { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--ink-3); font-size: 13.5px; font-weight: 600; padding: 8px 0 20px; } .shint .ic { width: 15px; height: 15px; transform: rotate(-90deg); }
.tgroup h2 .num, .slist h2 .num { width: 26px; height: 26px; border-radius: 50%; background: var(--g); color: #fff; display: inline-grid; place-items: center; font-size: 13px; }
.task.lock .tt small { color: var(--ink-3); }
.frow.locked { opacity: .6; } .frow.locked .ft { background: var(--line-2); color: var(--ink-3); } .frow.locked .ft .ic { width: 16px; height: 16px; }

/* ---------- my information: steps on the left, one form at a time */
.wiz { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; align-items: start; }
.wsteps { position: sticky; top: 80px; display: grid; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--sh); }
.wst { display: flex; gap: 11px; align-items: center; padding: 9px 10px; border-radius: 11px; font-weight: 600; font-size: 13.5px; color: var(--ink-2); }
a.wst:hover { background: var(--tint); }
.wn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--line-2); color: var(--ink-2); flex: none; }
.wn .ic { width: 14px; height: 14px; stroke-width: 2.4; }
.wst.on { background: var(--g-l); color: var(--ink); } .wst.on .wn { background: var(--g); color: #fff; }
.wst.done .wn { background: var(--ok); color: #fff; }
.wst.lock { color: var(--ink-3); } .wst.lock .wn { background: transparent; color: var(--ink-3); }
.wz { padding: 30px 32px; }
.wz-k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.wz-t { font-size: 22px; margin: 4px 0 6px; }
.wz > .muted, .wz > p.muted { margin-bottom: 20px; }
.wz-form { display: grid; gap: 0; } .wz-form > .muted { margin-bottom: 18px; }
.wz-f { display: flex; gap: 10px; align-items: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.wz-f .sp { flex: 1; }
.fld.miss input, .fld.miss select, .fld.miss textarea, .fld.miss .drop { border-color: #e9a88a; background: #fffaf7; }
.fld.miss > span { color: var(--rose); }
.photo-up { display: flex; gap: 22px; align-items: center; } .photo-up .drop { flex: 1; }
.rvs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.rv { border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; }
.rv-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.lnk { color: var(--ink); }

/* ---------- my account */
.g2a { grid-template-columns: 1fr 1fr; align-items: start; }
.acc { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; } .acc b { display: block; font-size: 17px; } .acc span { display: block; color: var(--ink-3); font-size: 13px; }
.pstate { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; margin-bottom: 14px; border: 1px solid var(--line); background: var(--tint); }
.pstate b { display: block; } .pstate span { font-size: 13px; color: var(--ink-2); } .pstate > .ic { margin-top: 2px; }
.pstate.wait { background: var(--gold-l); border-color: #f1e2a8; } .pstate.wait > .ic { color: #7a5a02; }
.pstate.ok { background: var(--ok-l); border-color: var(--ok-l2); } .pstate.ok > .ic { color: var(--ok); }
.pstate.no { background: var(--rose-l); border-color: #fbd5c2; } .pstate.no > .ic { color: var(--rose); }
.pwf { margin-top: 4px; }
.pw > div > span { display: block; }

/* ---------- read only: nothing on the person's pages can be selected or copied (form fields excepted) */
body.app:not(.adm) .page, body.app:not(.adm) .side { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
body.app:not(.adm) input, body.app:not(.adm) textarea, body.app:not(.adm) select { -webkit-user-select: text; user-select: text; }
@media print { body.app:not(.adm) .page { display: none !important; } }

@media (max-width: 1100px) { .sboxes { grid-template-columns: 1fr; } .sbox small { min-height: 0; } .g2a, .rvs { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .wiz { grid-template-columns: 1fr; } .wsteps { position: static; display: flex; overflow-x: auto; } .wst { white-space: nowrap; } .wz { padding: 22px 18px; }
  .start { grid-template-columns: auto 1fr; } .start > :last-child { grid-column: 1 / -1; } .photo-up { flex-direction: column; align-items: stretch; } .paper { padding: 28px 20px; } .paper .sub { padding-left: 14px; } }

/* the step boxes open their own pages */
.sb-f { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.sgo { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 13px; color: var(--ink); } .sgo .ic { width: 15px; height: 15px; }
.sbox.lock .sgo { color: var(--ink-3); font-weight: 600; font-size: 12.5px; }
div.sbox:hover { transform: none; box-shadow: var(--sh); cursor: not-allowed; }
a.sbox:hover .sgo .ic { transform: translateX(3px); } .sgo .ic { transition: transform .15s var(--e); }
.stephead .bar { max-width: 420px; margin-top: 14px; }
.upnext { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); margin-bottom: 18px; }
.upnext b { display: block; font-size: 16px; } .upnext span { color: var(--ink-3); font-size: 13px; }
.upnext.now { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), var(--sh-2); }
.un-k { font-size: 11.5px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #7a5a02 !important; background: var(--gold-l); padding: 5px 10px; border-radius: 99px; }
.alldone .btn { margin-left: auto; }
.nextb { margin-top: 10px; }
@media (max-width: 860px) { .upnext { grid-template-columns: 1fr; } }
