/* @ekm-tags: style, misc */
/* Device Security Setup + owner Employee Progress / HIPAA Compliance (js/ekm-device-setup.js, js/ekm-hipaa-compliance.js).
   Everything is scoped under .eds and themed from the portal tokens, so it follows every portal theme, light and dark.
   The drawn settings screens (.mock, .phone) keep their own fixed light colors on purpose: they depict the real OS. */
.eds {
  --bg: var(--c-bg, #F3EDE4); --surface: var(--c-box, #FAF6EF); --ink: var(--c-ink, #1C1814); --muted: var(--c-muted, #5A5248);
  --line: var(--c-box-border, #D9D0C4); --brand: var(--c-muted2, #72685C); --brand-soft: color-mix(in srgb, var(--c-accent, #9c9a93) 16%, var(--c-box, #FAF6EF));
  --btn: var(--btn-primary-bg, #9c9a93); --btn-ink: var(--btn-primary-fg, #1A1A1A);
  --hot: #BA7517; --hot-soft: color-mix(in srgb, #BA7517 14%, var(--c-box, #FAF6EF));
  --ok: var(--c-ok, #3B6D11); --ok-soft: color-mix(in srgb, var(--c-ok, #3B6D11) 12%, var(--c-box, #FAF6EF));
  --mock-bg: #f5f6f8; --mock-side: #e9ecf0; --mock-ink: #1c1c1e; --mock-muted: #7a7f87; --mock-line: #dcdfe4; --mock-sel: #0a64d6;
  --f: var(--font-ui, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  --fd: var(--font-display, "Playfair Display", Georgia, serif);
  --mf: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--ink); font: 17px/1.55 var(--f); max-width: 1120px; margin: 0 auto; padding-block: 8px 40px;
}
.eds *, .eds *::before, .eds *::after { box-sizing: border-box; }
.eds button { font: inherit; cursor: pointer; }
.eds :focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.eds .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.eds .crumbs { font-size: 15px; }
.eds .brand { display: flex; align-items: center; gap: 10px; font-family: var(--fd); font-weight: 400; font-size: 20px; color: var(--ink); }
.eds .brand svg { width: 28px; height: 28px; }
.eds .crumbs { font-size: 15px; color: var(--muted); }
.eds .link { background: none; border: 0; color: var(--brand); text-decoration: underline; padding: 0; font-size: 15px; }
.eds h1 { font-family: var(--fd); font-weight: 400; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; letter-spacing: 0; margin: 0 0 10px; text-wrap: balance; }
.eds h2 { font-family: var(--fd); font-weight: 400; font-size: clamp(25px, 3.4vw, 32px); line-height: 1.15; margin: 0; text-wrap: balance; }
.eds h3 { font-weight: 700; font-size: 19px; margin: 0; }
.eds p { margin: 0; }
.eds .lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.eds .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.eds .chips { gap: 0; }
.eds .chips span { font-size: 15px; font-weight: 500; color: var(--muted); }
.eds .chips span + span::before { content: "·"; margin: 0 10px; color: var(--line); }
.eds .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.eds .tile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px -12px rgba(60,48,30,.18); padding: 18px; text-align: left; color: var(--ink); display: grid; grid-template-rows: 96px auto 1fr auto; align-content: stretch; gap: 6px; transition: border-color .15s, transform .15s; }
.eds .tile:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-3px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 40px -14px rgba(60,48,30,.28); }
.eds .tile .ico { display: grid; place-items: center; background: radial-gradient(120% 120% at 30% 20%, var(--surface), var(--brand-soft)); border-radius: 14px; border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.eds .tile .ico svg { height: 64px; }
.eds .tile b { font-family: var(--fd); font-weight: 500; font-size: 22px; }
.eds .tile span { color: var(--muted); font-size: 15px; }
.eds .tile .st { justify-self: start; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; font-size: 15px; font-weight: 600; color: var(--ink); }
.eds .tile .st::after { content: " →"; }
.eds .tile:hover .st { color: var(--ink); }
.eds .tile .st.ok { color: var(--ok); }
.eds .tile .st.ok::after { content: ""; }
.eds .tile .st.nu { color: var(--muted); font-weight: 500; }
.eds .tile .st.nu::after { content: ""; }
.eds .help { margin-top: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.eds .help svg { flex: none; width: 26px; height: 26px; color: var(--brand); }
.eds .ov { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
.eds .ov > div { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 16px !important; align-items: center; }
.eds .ov .acts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 280px; }
.eds .ov .acts > button { width: 100%; min-height: 54px; text-align: center; }
@media (max-width: 640px) {
  .eds .ov > div { grid-template-columns: minmax(0, 1fr); }
}
.eds .tasklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.eds .tasklist li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.eds .tasklist .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.eds .tasklist li.done .n { background: var(--ok); color: var(--surface); }
.eds .tasklist .t { flex: 1; min-width: 0; }
.eds .tasklist .t small { display: block; color: var(--muted); font-size: 14px; }
.eds .tasklist button { flex: none; }
.eds .big { background: var(--btn); color: var(--btn-ink); border: 0; border-radius: 8px; padding: 14px 24px; font-weight: 700; font-size: 18px; }
.eds .big.ok { background: var(--ok); color: var(--surface); }
.eds .ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 20px; font-weight: 600; font-size: 17px; }
.eds .sm { padding: 6px 12px; font-size: 14px; border-radius: 8px; }
.eds .callout { background: var(--hot-soft); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
/* Heading text uses the design-system warning ink (AA in light and dark; tests/ekm-device-setup-contrast.test.mjs). */
.eds .callout b { color: var(--ekm-ds-chip-warn-ink, #92400e); }
.eds .callout.ok { background: var(--ok-soft); }
.eds .callout.ok b { color: var(--ok); }
.eds .prog { display: flex; gap: 8px; margin: 0 0 22px; }
.eds .prog i { flex: 1; height: 6px; border-radius: 2px; background: color-mix(in srgb, var(--line) 75%, transparent); transition: background var(--t, .25s); }
.eds .prog i.on { background: var(--brand); }
.eds .prog i.ok { background: var(--ok); }
.eds .stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "text fig" "nav fig" ". fig"; grid-template-rows: auto auto 1fr; gap: 20px 32px; align-items: start; }
.eds .instr { grid-area: text; display: flex; flex-direction: column; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 10px 30px -18px rgba(60,48,30,.25); }
.eds .stage > * { animation: eds-rise .32s cubic-bezier(.2,.7,.2,1) both; }
.eds .stage > .figure { animation-delay: .05s; }
@keyframes eds-rise { from { transform: translateY(8px); opacity: .5; } to { transform: none; opacity: 1; } }
.eds .stage .figure { grid-area: fig; }
.eds .navwrap { grid-area: nav; display: flex; flex-direction: column; gap: 12px; }
.eds .big, .eds .ghost { transition: transform .12s, box-shadow .12s, background .12s; }
.eds .big:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(0,0,0,.35); }
.eds .ghost:hover { background: var(--surface); }
.eds .kicker { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eds .do { font-size: 22px; line-height: 1.4; font-weight: 600; }
.eds .do em { font-style: normal; background: var(--hot-soft); color: var(--ink); padding: 0 6px; border-radius: 6px; box-shadow: inset 0 -2px 0 var(--hot); }
.eds .tip { color: var(--muted); font-size: 16px; border-left: 3px solid var(--line); padding-left: 12px; }
.eds .see { background: var(--ok-soft); border-radius: 12px; padding: 12px 14px; font-size: 16px; }
.eds .see b { color: var(--ok); }
.eds .nav { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.eds .figure { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.eds .figcap { font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.eds .figcap i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--hot); display: inline-block; }
.eds .mock { font: 13px/1.35 var(--mf); color: var(--mock-ink); background: var(--mock-bg); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 1px rgba(0,0,0,.05), 0 24px 60px -20px rgba(40,30,15,.35); border: 1px solid var(--mock-line); max-width: 100%; }
.eds .mock .chrome { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #e4e7eb; border-bottom: 1px solid var(--mock-line); font-weight: 600; font-size: 12px; color: #4a4f57; }
.eds .mock .dots { display: flex; gap: 6px; }
.eds .mock .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; display: block; }
.eds .mock .dots i:nth-child(2) { background: #febc2e; }
.eds .mock .dots i:nth-child(3) { background: #28c840; }
.eds .mock .win-x { margin-left: auto; letter-spacing: 10px; color: #6b7078; font-weight: 400; }
.eds .mock .split { display: grid; grid-template-columns: 34% 66%; min-height: 300px; }
.eds .mock .side { background: var(--mock-side); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--mock-line); }
.eds .mock .side .srch { background: #fff; border-radius: 6px; padding: 4px 8px; color: var(--mock-muted); margin-bottom: 6px; font-size: 12px; }
.eds .mock .si { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 6px; white-space: nowrap; position: relative; min-width: 0; }
.eds .mock .si .gl { width: 18px; height: 18px; border-radius: 5px; background: #8e8e93; flex: none; }
.eds .mock .si.sel { background: var(--mock-sel); color: #fff; }
.eds .mock .si.acct { padding: 8px 7px; margin-bottom: 4px; }
.eds .mock .si.acct .gl { width: 26px; height: 26px; border-radius: 50%; background: #b8bec7; }
.eds .mock .main { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.eds .mock .mt { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 6px; }
.eds .mock .mt .bk { color: var(--mock-muted); font-weight: 400; }
.eds .mock .grp { background: #fff; border-radius: 9px; border: 1px solid var(--mock-line); overflow: visible; }
.eds .mock .row { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-top: 1px solid var(--mock-line); position: relative; }
.eds .mock .row:first-child { border-top: 0; }
.eds .mock .row .l { flex: 1; min-width: 0; }
.eds .mock .row .l small { display: block; color: var(--mock-muted); font-size: 11px; }
.eds .mock .row .r { color: var(--mock-muted); white-space: nowrap; }
.eds .mock .tg { width: 34px; height: 20px; border-radius: 99px; background: #d1d3d7; position: relative; flex: none; }
.eds .mock .tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.eds .mock .tg.on { background: #34c759; }
.eds .mock .tg.on::after { left: 16px; }
.eds .mock .tg.win { background: #fff; border: 1.5px solid #5d6168; }
.eds .mock .tg.win::after { background: #5d6168; top: 2.5px; width: 12px; height: 12px; box-shadow: none; }
.eds .mock .tg.win.on { background: #005fb8; border-color: #005fb8; }
.eds .mock .tg.win.on::after { background: #fff; left: 17px; }
.eds .mock .sel-box { border: 1px solid var(--mock-line); background: #fff; border-radius: 6px; padding: 3px 8px; white-space: nowrap; display: flex; gap: 6px; align-items: center; }
.eds .mock .sel-box::after { content: "⌄"; color: var(--mock-muted); }
.eds .mock .btn { border: 1px solid #c9ccd1; background: #fff; border-radius: 6px; padding: 3px 10px; white-space: nowrap; }
.eds .mock .btn.pri { background: var(--mock-sel); color: #fff; border-color: var(--mock-sel); }
.eds .mock .chev { color: var(--mock-muted); }
.eds .mock .note { color: var(--mock-muted); font-size: 12px; padding: 0 2px; }
.eds .mock .status { display: flex; gap: 10px; align-items: center; padding: 10px 11px; }
.eds .mock .status .gl { width: 36px; height: 36px; border-radius: 9px; background: #8e8e93; flex: none; }
.eds .mock.w .chrome { background: #f3f3f3; }
.eds .mock.w .side { background: #f3f3f3; border-right: 0; }
.eds .mock.w .si.sel { background: #e5e5e5; color: var(--mock-ink); }
.eds .mock.w .si.sel::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 3px; background: #005fb8; }
.eds .mock.w .si .gl { border-radius: 3px; background: #6f7680; width: 16px; height: 16px; }
.eds .mock.w .main { background: #f9f9f9; }
.eds .mock.w .grp { border-radius: 6px; }
.eds .mock.w .btn.pri { background: #005fb8; border-color: #005fb8; }
.eds .mock .desk { position: relative; min-height: 300px; background: linear-gradient(160deg, #8fb3c9, #5a7f99); }
.eds .mock .menubar { display: flex; gap: 14px; align-items: center; padding: 4px 12px; background: rgba(255,255,255,.72); font-size: 12px; font-weight: 600; }
.eds .mock .apple { width: 14px; height: 16px; position: relative; display: inline-block; }
.eds .mock .dropdown { position: absolute; left: 8px; top: 26px; width: 230px; background: rgba(250,250,252,.97); border-radius: 9px; padding: 5px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.eds .mock .dd { padding: 5px 10px; border-radius: 5px; position: relative; }
.eds .mock .dd.sep { height: 1px; padding: 0; margin: 4px 6px; background: var(--mock-line); }
.eds .mock .start { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); width: min(380px, 92%); background: #f2f2f2; border-radius: 9px; padding: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.eds .mock .start .srch { background: #fff; border-radius: 99px; padding: 5px 12px; color: var(--mock-muted); margin-bottom: 12px; }
.eds .mock .pins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.eds .mock .pin { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; position: relative; }
.eds .mock .pin .gl { width: 30px; height: 30px; border-radius: 7px; background: #9aa3ad; }
.eds .mock .taskbar { position: absolute; left: 0; right: 0; bottom: 0; height: 36px; background: rgba(240,240,240,.92); display: flex; justify-content: center; align-items: center; gap: 10px; }
.eds .mock .taskbar i { width: 20px; height: 20px; border-radius: 4px; background: #9aa3ad; display: block; position: relative; }
.eds .mock .taskbar i.winlogo { background: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.eds .mock .taskbar i.winlogo b { background: #0078d4; display: block; border-radius: 1px; }
.eds .mock .dialog { margin: 28px auto; width: min(320px, 90%); background: #fff; border-radius: 12px; padding: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 10px; }
.eds .mock .dialog .dt { font-weight: 700; font-size: 14px; text-align: center; }
.eds .mock .dialog .db { color: #4a4f57; font-size: 12px; text-align: center; }
.eds .mock .field { border: 1px solid var(--mock-line); border-radius: 6px; padding: 6px 8px; color: var(--mock-muted); position: relative; }
.eds .mock .radio { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; padding: 6px; border-radius: 6px; position: relative; }
.eds .mock .radio i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #8e8e93; flex: none; margin-top: 1px; }
.eds .mock .radio.on i { border: 4.5px solid var(--mock-sel); }
.eds .mock .btns { display: flex; justify-content: flex-end; gap: 8px; }
.eds .mock .url { margin: 0 auto; background: #fff; border-radius: 99px; padding: 3px 14px; color: #4a4f57; font-weight: 400; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.eds .mock .gpage { background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 300px; }
.eds .mock .gpage .gt { font-size: 18px; }
.eds .mock .gtabs { display: flex; gap: 14px; font-size: 12px; color: var(--mock-muted); border-bottom: 1px solid var(--mock-line); padding-bottom: 6px; flex-wrap: wrap; }
.eds .mock .gtabs b { color: #1a73e8; border-bottom: 2px solid #1a73e8; padding-bottom: 5px; }
.eds .phone { width: min(300px, 100%); margin: 0 auto; border-radius: 38px; padding: 10px; background: #1b1d20; box-shadow: 0 14px 36px rgba(20,34,48,.25); }
.eds .phone .scr { border-radius: 30px; overflow: hidden; background: #f2f2f7; min-height: 520px; display: flex; flex-direction: column; font: 13px/1.35 var(--mf); color: #1c1c1e; }
.eds .phone .sb { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 12px; font-weight: 600; }
.eds .phone .pt { font-size: 26px; font-weight: 800; padding: 4px 16px 10px; }
.eds .phone .pt.small { font-size: 16px; text-align: center; font-weight: 700; padding: 8px 16px; position: relative; }
.eds .phone .pt.small .bk { position: absolute; left: 12px; color: #0a84ff; font-weight: 400; }
.eds .phone .grp { margin: 0 12px 14px; background: #fff; border-radius: 11px; overflow: visible; }
.eds .phone .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid #e5e5ea; position: relative; }
.eds .phone .row:first-child { border-top: 0; }
.eds .phone .row .gl { width: 26px; height: 26px; border-radius: 7px; background: #8e8e93; flex: none; }
.eds .phone .row .l { flex: 1; min-width: 0; }
.eds .phone .row .l small { display: block; color: #8a8a8e; font-size: 11px; }
.eds .phone .row .r { color: #8a8a8e; white-space: nowrap; }
.eds .phone .row .chev { color: #c4c4c7; }
.eds .phone .row .tg { width: 42px; height: 26px; border-radius: 99px; background: #e9e9ea; position: relative; flex: none; }
.eds .phone .row .tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.eds .phone .row .tg.on { background: #34c759; }
.eds .phone .row .tg.on::after { left: 18px; }
.eds .phone .foot { color: #8a8a8e; font-size: 11px; padding: 0 24px 12px; }
.eds .phone.and .scr { background: #f4f6fb; }
.eds .phone.and .grp { border-radius: 20px; }
.eds .phone.and .row .gl { border-radius: 50%; background: #c3cde6; }
.eds .phone.and .row .tg { background: #e1e3ea; border: 2px solid #7a7f8c; width: 44px; }
.eds .phone.and .row .tg::after { background: #7a7f8c; box-shadow: none; width: 14px; height: 14px; top: 4px; left: 4px; }
.eds .phone.and .row .tg.on { background: #3858c8; border-color: #3858c8; }
.eds .phone.and .row .tg.on::after { background: #fff; width: 20px; height: 20px; top: 1px; left: 20px; }
.eds .phone.and .pt.small .bk { color: #1c1c1e; }
.eds .phone .home { flex: 1; background: linear-gradient(170deg, #6d8fb0, #2f4f6e); display: grid; grid-template-columns: repeat(4, 1fr); align-content: start; gap: 18px 8px; padding: 24px 16px; }
.eds .phone .app { display: flex; flex-direction: column; align-items: center; gap: 5px; color: #fff; font-size: 10.5px; position: relative; }
.eds .phone .app i { width: 48px; height: 48px; border-radius: 13px; background: rgba(255,255,255,.35); display: block; }
.eds .phone.and .app i { border-radius: 50%; }
.eds .phone .app i.gear { background: #8e8e93; display: grid; place-items: center; }
.eds .phone .app i.gear svg { width: 30px; height: 30px; }
.eds .hot { position: relative; z-index: 1; }
.eds .hot::before { content: ""; position: absolute; inset: -4px; border: 3px solid var(--hot); border-radius: 10px; pointer-events: none; animation: eds-pulse 1.6s ease-in-out infinite; }
.eds .hot > .badge { position: absolute; right: -10px; top: -12px; background: var(--hot); color: #fff; font: 700 11px/1 var(--f); padding: 5px 8px; border-radius: 5px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.2); z-index: 2; }
@keyframes eds-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(186, 117, 23, .45); } 50% { box-shadow: 0 0 0 6px rgba(186, 117, 23, 0); } }
@media (prefers-reduced-motion: reduce) {
  .eds .hot::before, .eds .stage > * { animation: none; }
  .eds .tile, .eds .big, .eds .ghost { transition: none; }
}
.eds .done-card { background: var(--surface); border: 1px solid var(--ok); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.eds .msg { background: var(--ok-soft); border-radius: 12px; padding: 14px 16px; font-size: 17px; }
.eds .attlist { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--ink); }
.eds .attform { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.eds .lbl { font-weight: 600; font-size: 16px; }
.eds .inp { font: inherit; font-size: 18px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); max-width: 480px; }
.eds .inp:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.eds .attest { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; line-height: 1.5; cursor: pointer; }
.eds .attest input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--ok); }
.eds .daily { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.eds .daily div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 16px; }
.eds .daily b { display: block; font-size: 17px; margin-bottom: 4px; }
@media (max-width: 980px) {
  .eds .tiles, .eds .daily { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .eds .tiles, .eds .daily { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .eds .navwrap { position: sticky; bottom: 0; z-index: 15; margin: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .eds .navwrap .nav .big { flex: 1; }
  .eds .stage, .eds .ov { grid-template-columns: minmax(0, 1fr); }
  .eds .stage { grid-template-areas: "text" "fig" "nav"; grid-template-rows: auto; }
  .eds .do { font-size: 20px; }
}
@media (max-width: 460px) {
  .eds .mock .split { grid-template-columns: 38% 62%; }
  .eds .mock { font-size: 12px; }
}
/* Owner pages: Employee Progress + HIPAA Compliance (js/ekm-hipaa-compliance.js). No pill shapes; even 4-up tiles. */
.eds.hc .hc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.eds.hc .hc-tiles > div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.eds.hc .hc-tiles b { font-family: var(--fd); font-weight: 400; font-size: 32px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.eds.hc .hc-tiles span { color: var(--muted); font-size: 14px; }
.eds.hc .hc-overall { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 12px; }
.eds.hc .hc-overall b { font-family: var(--fd); font-weight: 400; font-size: 40px; line-height: 1; display: block; }
.eds.hc .hc-overall span { color: var(--muted); font-size: 14px; }
.eds.hc .hc-bar { height: 8px; border-radius: 2px; background: color-mix(in srgb, var(--line) 75%, transparent); overflow: hidden; }
.eds.hc .hc-bar i { display: block; height: 100%; background: var(--ok); }
.eds.hc .hc-sec { margin-top: 30px; display: flex; flex-direction: column; gap: 10px; }
.eds.hc .hc-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eds.hc .hc-cite { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.eds.hc .hc-secbar { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; color: var(--muted); }
.eds.hc .hc-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.eds.hc .hc-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.eds.hc .hc-table th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.eds.hc .hc-table td { padding: 12px 14px; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); vertical-align: top; }
.eds.hc .hc-table tbody tr:first-child td { border-top: 0; }
.eds.hc .hc-table td small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.eds.hc .hc-req td:nth-child(1) { width: 24%; } .eds.hc .hc-req td:nth-child(2) { width: 30%; } .eds.hc .hc-req td:nth-child(3) { width: 28%; }
.eds.hc .hc-req td:nth-child(4) { white-space: nowrap; }
.eds.hc .hc-num { font-variant-numeric: tabular-nums; text-align: center; }
.eds.hc .hc-mark { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: middle; background: var(--line); }
.eds.hc .hc-mark.ok { background: var(--ok); } .eds.hc .hc-mark.mid { background: var(--hot); } .eds.hc .hc-mark.na { background: transparent; border: 1.5px solid var(--line); }
.eds.hc .hc-ok { color: var(--ok); font-weight: 600; } .eds.hc .hc-mid { color: var(--ink); } .eds.hc .hc-none { color: var(--muted); }
.eds.hc .hc-sel { font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); color: var(--ink); }
@media (max-width: 760px) { .eds.hc .hc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .eds.hc .hc-overall { grid-template-columns: minmax(0, 1fr); } }
.eds.hc .hc-tablewrap + .tip { margin-top: 14px; }
/* Proof log + Upcoming checks (20270120090000) */
.eds.hc .hc-chk td:nth-child(1) { width: 34%; } .eds.hc .hc-chk td:nth-child(6) { width: 1%; white-space: nowrap; text-align: right; }
.eds.hc .hc-chk td:nth-child(5) { white-space: nowrap; }
.eds.hc .hc-rec { display: block; margin-top: 6px; color: var(--ink) !important; }
.eds.hc .hc-add { display: block; margin-top: 8px; font-size: 14px; }
.eds.hc .link { color: var(--ink); } /* the theme muted2 is under AA in dark; links here use the ink */
.eds .hc-dlg-card .inp { max-width: none; width: 100%; }
.eds .hc-dlg { position: fixed; inset: 0; z-index: 9000; background: rgba(20, 18, 16, .55); padding: 24px; overflow-y: auto; display: flex; }
.eds .hc-dlg-card { margin: auto; width: 100%; max-width: 520px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.45); }
.eds .hc-dlg-card h2 { margin: 0; font-family: var(--fd); font-weight: 400; font-size: 26px; }
.eds .hc-dlg-sub { margin: 0 0 4px; color: var(--muted); }
.eds .hc-dlg-card textarea.inp { resize: vertical; min-height: 96px; font: inherit; }
.eds .hc-steps { border: 1px solid var(--line); border-radius: 12px; margin: 0; padding: 10px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.eds .hc-steps legend { padding: 0 6px; }
.eds .hc-step { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; color: var(--ink); cursor: pointer; }
.eds .hc-step input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.eds .hc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.eds .hc-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.eds .hc-field:has(textarea), .eds .hc-field:last-child:nth-child(odd) { grid-column: 1 / -1; }
.eds .hc-field .lbl small, .eds .hc-hint { color: var(--muted); font-weight: 400; font-size: 12px; }
.eds .hc-preview, .eds .hc-follow { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.eds .hc-preview p { margin: 0; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.eds .hc-follow-row { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; color: var(--ink); }
.eds .hc-follow-row small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 520px) { .eds .hc-fields { grid-template-columns: 1fr; } }
.eds .hc-dlg-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.eds .hc-dlg-acts button { width: 100%; }
.eds .hc-err { margin: 0; color: var(--ekm-ds-danger, #b91c1c); font-weight: 600; }
