/* Biotech Cockpit — biotechcockpit.makeitdaune.com */

@font-face { font-family: "Sora"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }

:root {
  --ink: #16153A;
  --ink-2: #3D3A66;
  --muted: #5B5880;
  --line: #E4E2F0;
  --soft: #EEEDF8;
  --bg: #F5F4FA;
  --white: #FFFFFF;
  --indigo: #3B35B5;
  --indigo-dark: #2E2A8C;
  --coral: #E8574B;
  --coral-dark: #C23D30;
  --on-dark: #F5F4FA;
  --on-dark-muted: #C9C7E6;
  --display: "Sora", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --radius: 18px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: var(--indigo); }
a:hover { color: var(--indigo-dark); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--coral-dark); color: var(--white); }
.btn-primary:hover { background: #A8321F; color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9C7DD; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark { color: var(--on-dark); border-color: #4A4790; }
.btn-ghost-dark:hover { color: var(--white); border-color: var(--on-dark); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 244, 250, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 19px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0; }
.nav { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--white); min-height: 44px; padding: 10px 18px; }

/* Hero */
.hero { padding: 88px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 20px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 64px); font-weight: 700; }
.hero .lede { font-size: 20px; color: var(--ink-2); margin-top: 24px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.proof { display: flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 15px; color: var(--muted); font-weight: 500; }
.proof-dot { width: 10px; height: 10px; border-radius: 50%; background: #1F9A7E; box-shadow: 0 0 0 4px #D3F0E7; flex-shrink: 0; }

/* App mock */
.mock { background: var(--white); border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(22, 21, 58, .35), 0 0 0 1px var(--line); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #FBFAFE; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #DCDAEA; }
.mock-bar em { margin-left: 12px; font-style: normal; font-size: 13px; color: var(--muted); }
.mock-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 380px; }
.mock-side { background: var(--ink); color: var(--on-dark-muted); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.mock-side div { padding: 8px 10px; border-radius: 8px; }
.mock-side .on { background: rgba(255,255,255,.1); color: var(--white); font-weight: 600; }
.mock-main { padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; min-width: 0; }
.row b { font-weight: 600; }
.row .name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row.prog { background: var(--ink); color: var(--on-dark); }
.row.pp { background: var(--soft); margin-left: 16px; }
.row.ps { margin-left: 32px; border-bottom: 1px solid var(--soft); border-radius: 0; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.t-ok { background: #DDF2EC; color: #135E4E; }
.t-run { background: #E3E1FA; color: var(--indigo-dark); }
.t-wait { background: #FCE3D3; color: #8A3A0F; }
.t-risk { background: #FBDCD9; color: #8E1F16; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.kpi { background: var(--bg); border-radius: 12px; padding: 12px; }
.kpi small { display: block; font-size: 12px; color: var(--muted); }
.kpi strong { font-family: var(--display); font-size: 20px; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 700; }
.section-head p { font-size: 19px; color: var(--ink-2); margin-top: 18px; }
.white { background: var(--white); }

/* Replaces */
.replace-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.replace .file span { overflow: hidden; text-overflow: ellipsis; }
.replace.replace-end { background: var(--ink); border-color: var(--ink); color: var(--on-dark); justify-content: center; }
.replace.replace-end p { color: var(--on-dark-muted); }

/* Excel sprawl illustration */
.sprawl { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 40px; }
.explorer { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 50px -30px rgba(22, 21, 58, .35); overflow: hidden; position: relative; transform: rotate(-0.6deg); }
.explorer-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #FBFAFE; border-bottom: 1px solid var(--line); }
.explorer-bar span { width: 10px; height: 10px; border-radius: 50%; background: #DCDAEA; }
.explorer-bar em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.explorer-scroll { overflow-x: auto; }
.explorer table { width: 100%; border-collapse: collapse; font-size: 14px; }
.explorer-bar small { margin-left: auto; font-size: 11px; color: var(--muted); }
.replace.replace-end h3 { color: var(--white); }
.explorer th { text-align: left; font-weight: 600; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.explorer td { padding: 8px 16px; border-bottom: 1px solid #F1F0F7; color: var(--ink-2); white-space: nowrap; }
.explorer td:first-child { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.explorer tr.dup td { background: #FFF6E8; }
.explorer tr.lock td { background: #FDF0EF; }
.xl { width: 20px; height: 20px; border-radius: 4px; background: #1F7A45; color: #fff; font: 700 11px/20px var(--body); text-align: center; flex-shrink: 0; display: inline-block; }
.fname { overflow: hidden; text-overflow: ellipsis; }
.flag { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.flag.dup { background: #FCE3D3; color: #8A3A0F; }
.flag.lock { background: #FBDCD9; color: #8E1F16; }
.explorer figcaption { position: absolute; right: 12px; bottom: 8px; font-size: 11px; color: var(--muted); }
.sprawl-side { display: flex; flex-direction: column; gap: 22px; }
.mail { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 18px 40px -28px rgba(22, 21, 58, .35); transform: rotate(0.8deg); }
.mail-subject { font-weight: 600; font-size: 15px; }
.mail-body { font-size: 15px; color: var(--ink-2); margin-top: 8px; font-style: italic; }
.mail-att { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mail-att > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; }
.mail-att .xl { width: 16px; height: 16px; font-size: 9px; line-height: 16px; }
.pains { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pains li { padding-left: 18px; position: relative; color: var(--ink-2); font-size: 16px; }
.pains li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.pains strong { color: var(--ink); }
.sprawl-to { display: flex; align-items: center; gap: 14px; color: var(--coral-dark); margin-bottom: 20px; }
.sprawl-to h3 { color: var(--ink); font-size: 24px; }
.replace { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.file { display: flex; align-items: center; gap: 8px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12.5px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--coral); text-decoration-thickness: 2px; white-space: nowrap; }
.file svg { flex-shrink: 0; }
.replace .arrow { color: var(--coral-dark); }
.replace h3 { font-size: 20px; font-weight: 600; }
.replace p { font-size: 15px; color: var(--ink-2); }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.module { padding: 26px !important; }
.module { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 14px; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.module h3 { font-size: 22px; font-weight: 600; }
.module p { color: var(--ink-2); font-size: 16px; }
.module ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink-2); }
.module li { display: flex; gap: 10px; }
.module li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-top: 9px; flex-shrink: 0; }
.legend { margin-top: 24px; font-size: 15px; color: var(--muted); }

/* Flows (dark) */
.dark { background: var(--ink); color: var(--on-dark); }
.dark .section-head p { color: var(--on-dark-muted); }
.dark .eyebrow { color: #F08A80; }
.flows { display: flex; flex-direction: column; gap: 18px; }
.flow { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; padding: 26px 28px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.flow-name { font-family: var(--display); font-weight: 600; font-size: 18px; color: #F08A80; }
.steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step { background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 10px 14px; font-size: 15px; font-weight: 500; }
.step.end { background: var(--on-dark); color: var(--ink); }
.steps svg { color: var(--on-dark-muted); flex-shrink: 0; }

/* Microsoft 365 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.feature-list { display: flex; flex-direction: column; gap: 16px; }
.feature { display: flex; gap: 20px; align-items: flex-start; background: var(--bg); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.feature h3 { font-size: 19px; font-weight: 600; }
.feature p { font-size: 16px; color: var(--ink-2); margin-top: 4px; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checks svg { margin-top: 3px; flex-shrink: 0; }

/* Start */
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.start { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); position: relative; }
.start .num { font-family: var(--display); font-weight: 700; font-size: 44px; color: var(--coral); line-height: 1; }
.start h3 { font-size: 22px; margin-top: 18px; }
.start .meta { font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.start p { color: var(--ink-2); margin-top: 12px; font-size: 16px; }

/* Demo form */
.demo .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.demo h2 { font-size: clamp(32px, 4vw, 46px); }
.demo .intro p { color: var(--on-dark-muted); font-size: 19px; margin-top: 18px; }
.signature { margin-top: 36px; display: flex; flex-direction: column; gap: 2px; }
.signature strong { font-family: var(--display); font-size: 18px; }
.signature span { color: var(--on-dark-muted); font-size: 15px; }
form.card { background: var(--white); color: var(--ink); border-radius: 22px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 15px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1px solid #CFCDE2; border-radius: 10px; padding: 12px 14px; min-height: 48px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(59, 53, 181, .35); border-color: var(--indigo); }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--indigo); }
.consent label { font-weight: 400; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.card .btn { grid-column: 1 / -1; width: 100%; }
.form-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); text-align: center; }
.alert { grid-column: 1 / -1; background: #FBDCD9; color: #8E1F16; border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 500; }

/* Footer */
.site-footer { background: #0F0E2A; color: var(--on-dark-muted); padding: 48px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--white); }
.site-footer strong { color: var(--on-dark); font-family: var(--display); font-weight: 600; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }

/* Booking (overrides the two-column demo layout) */
.demo .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 40px; }
.demo .intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.demo .intro > div:first-child { max-width: 640px; }
.demo .signature { margin-top: 0; }
.booking { background: var(--white); color: var(--ink); border-radius: 22px; overflow: hidden; }
.tabs { display: flex; border-bottom: 1px solid var(--line); background: #FBFAFE; }
.tab { flex: 1; min-height: 56px; padding: 14px 18px; font: 600 16px var(--display); color: var(--muted); background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--coral-dark); background: var(--white); }
.panel { padding: 32px; }
.panel[hidden] { display: none; }
.booking form.card { padding: 0; border-radius: 0; }
.cal-gate { max-width: 560px; margin: 0 auto; padding: 24px 0 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.cal-gate[hidden] { display: none; }
.cal-gate h3 { font-size: 24px; }
.cal-gate > p { color: var(--ink-2); }
.cal-gate .gate-note { font-size: 13.5px; color: var(--muted); }
.cal-gate .alert { text-align: left; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--indigo); text-decoration: underline; cursor: pointer; }
.linklike:hover { color: var(--indigo-dark); }
.cal-inline { width: 100%; min-height: 620px; overflow: auto; }
.cal-inline[hidden] { display: none; }

/* Simple pages */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 24px; }
.page h2 { font-size: 24px; margin: 40px 0 12px; }
.page p, .page li { color: var(--ink-2); }
.page p + p { margin-top: 14px; }
.page ul { padding-left: 22px; }

/* Responsive */
@media (max-width: 1040px) {
  .replace-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sprawl { grid-template-columns: minmax(0, 1fr); }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .hero .wrap, .split, .demo .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 56px 0 72px; }
  section { padding: 72px 0; }
  .start-grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .panel { padding: 22px 16px; }
  .tab { font-size: 15px; padding: 12px 10px; }
  .replace-grid, .modules { grid-template-columns: minmax(0, 1fr); }
  .mock-body { grid-template-columns: minmax(0, 1fr); }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi strong { font-size: 17px; }
  .row.ps { margin-left: 20px; }
  .row.pp { margin-left: 10px; }
  form.card { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .hero .lede, .section-head p { font-size: 17px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; min-height: 44px; padding: 8px 14px; font-size: 14px; }
  .site-header .wrap { flex-wrap: nowrap; gap: 12px; }
  .brand { font-size: 17px; gap: 10px; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Spotlights: actions & timesheets */
.split.rev { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.panel-mock { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -36px rgba(22, 21, 58, .35); }
.spotlight.white .panel-mock { background: var(--bg); }
.pm-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.pm-head strong { font-family: var(--display); font-size: 18px; }
.pm-head span { font-size: 12px; color: var(--muted); }
.al-filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.al-filters span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); }
.al-filters .on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.al-list { display: flex; flex-direction: column; gap: 8px; }
.al-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 30px 50px 92px; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.src { font-size: 11.5px; font-weight: 600; color: var(--indigo-dark); background: var(--soft); border-radius: 6px; padding: 3px 7px; text-align: center; white-space: nowrap; }
.al-act { min-width: 0; line-height: 1.35; }
.al-owner { width: 30px; height: 30px; border-radius: 50%; background: #DCDAF0; color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.al-due { font-size: 13px; color: var(--muted); white-space: nowrap; }
.al-due.late { color: #B42318; font-weight: 600; }
.al-row .tag { text-align: center; }
.t-todo { background: #ECEBF1; color: #4A4766; }
.ts-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.ts-step { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 10px; background: var(--bg); color: var(--muted); }
.ts-step b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--white); }
.ts-step.done { color: var(--ink); }
.ts-step.done b { background: var(--ink); color: var(--white); }
.ts-step.now { background: #DDF2EC; color: #135E4E; }
.ts-step.now b { background: #1F7A65; color: var(--white); }
.ts-bars { display: flex; flex-direction: column; gap: 12px; }
.ts-bar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 14px; }
.ts-bar .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-bar .bar { height: 12px; background: var(--soft); border-radius: 999px; overflow: hidden; }
.ts-bar .bar i { display: block; height: 100%; background: var(--indigo); border-radius: 999px; }
.ts-bar .h { text-align: right; font-weight: 600; }
.ts-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
@media (max-width: 880px) {
  .split.rev { grid-template-columns: minmax(0, 1fr); }
  .split.rev > figure { order: 2; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .al-row { grid-template-columns: minmax(0, 1fr) auto; }
  .al-row .src { grid-column: 1 / -1; justify-self: start; }
  .al-row .al-owner, .al-row .al-due { display: none; }
  .modules { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 880px) { .explorer, .mail { transform: none; } }

/* Screens gallery */
.screens { background: var(--white); }
.g-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.g-tab { font: 600 15px var(--display); color: var(--ink-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.g-tab:hover { border-color: var(--ink); }
.g-tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.g-panel[hidden] { display: none; }
.g-cap { color: var(--ink-2); font-size: 17px; margin-bottom: 18px; max-width: 760px; }
.g-scroll { overflow-x: auto; border-radius: 16px; }
.g-hint { display: none; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* App mockup (mirrors the Biotech Cockpit UI) */
.a-frame { min-width: 1060px; border-radius: 14px; overflow: hidden; border: 1px solid #dfe2ea; box-shadow: 0 30px 70px -40px rgba(22, 21, 58, .45); background: #f7f8fb; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1a1c2e; font-size: 12px; line-height: 1.4; }
.a-chrome { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: #eef0f5; border-bottom: 1px solid #dfe2ea; }
.a-chrome span { width: 10px; height: 10px; border-radius: 50%; background: #d3d6e0; }
.a-chrome em { font-style: normal; margin-left: 10px; background: #fff; border-radius: 6px; padding: 3px 12px; color: #8a8f9c; font-size: 11px; }
.a-chrome small { margin-left: auto; color: #8a8f9c; font-size: 11px; }
.a-app { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 540px; }
.a-side { background: #fff; border-right: .5px solid #e3e6ee; padding: 0 8px 12px; }
.a-logo { padding: 14px 8px 12px; border-bottom: .5px solid #eceef3; margin: 0 -8px 8px; padding-left: 16px; }
.a-logo-box { height: 34px; width: 110px; border: 1px dashed #cfd3de; border-radius: 6px; display: grid; place-items: center; color: #8a8f9c; font-size: 10px; }
.a-logo b { display: block; color: #2b2f9e; font-size: 16px; margin-top: 6px; }
.a-nav { display: flex; align-items: center; gap: 8px; padding: 6px 9px; border-radius: 8px; color: #8a8f9c; font-size: 11.5px; margin-bottom: 1px; white-space: nowrap; }
.a-nav.on { background: linear-gradient(135deg, rgba(43,47,158,.10), rgba(123,63,160,.10) 55%, rgba(233,75,60,.08)); color: #2b2f9e; font-weight: 600; }
.a-main { min-width: 0; display: flex; flex-direction: column; }
.a-top { height: 40px; background: #fff; border-bottom: .5px solid #e3e6ee; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 0 16px; }
.a-me { display: flex; align-items: center; gap: 7px; font-size: 11.5px; }
.a-av3 { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: #2b2f9e; background: linear-gradient(135deg, rgba(43,47,158,.10), rgba(123,63,160,.10) 55%, rgba(233,75,60,.08)); }
.a-page { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.a-ph { display: flex; justify-content: space-between; align-items: flex-start; }
.a-ph h4 { margin: 0; font-size: 19px; font-weight: 700; font-family: inherit; letter-spacing: 0; }
.a-ph p { color: #8a8f9c; font-size: 11.5px; margin-top: 2px; }
.a-acts { display: flex; gap: 6px; }
.a-btn { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 7px; color: #fff; font-weight: 600; font-size: 11px; background: linear-gradient(135deg, #2b2f9e 0%, #7b3fa0 55%, #e94b3c 100%); box-shadow: 0 6px 16px -6px rgba(43,47,158,.35); white-space: nowrap; }
.a-obtn { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: #fff; border: .5px solid #d7dae3; font-size: 11px; font-weight: 500; white-space: nowrap; }
.a-tabs { display: inline-flex; gap: 2px; background: #f1f3f8; padding: 3px; border-radius: 8px; align-self: flex-start; }
.a-tabs span { padding: 4px 10px; border-radius: 6px; color: #8a8f9c; font-size: 11px; font-weight: 500; }
.a-tabs .on { background: #fff; color: #1a1c2e; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.a-card { background: #fff; border: .5px solid #e3e6ee; border-radius: 10px; padding: 12px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.a-card.a-p0 { padding: 0; overflow: hidden; }
.a-ct { font-weight: 600; font-size: 12.5px; margin-bottom: 8px; }
.a-row { display: flex; align-items: center; justify-content: space-between; }
.a-t { width: 100%; border-collapse: collapse; }
.a-t th { text-align: left; font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; color: #8a8f9c; font-weight: 600; padding: 7px 8px; background: rgba(241,243,248,.6); border-bottom: .5px solid #eceef3; white-space: nowrap; }
.a-t td { padding: 6px 8px; border-bottom: .5px solid #eceef3; vertical-align: middle; white-space: nowrap; }
.a-t td.b, .b { font-weight: 600; }
.a-badge { display: inline-block; font-size: 10px; font-weight: 600; padding: 1px 7px; border-radius: 6px; border: .5px solid; white-space: nowrap; }
.a-pill { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.a-code { font-family: ui-monospace, Menlo, monospace; font-size: 10px; background: #f1f3f8; border-radius: 4px; padding: 1px 5px; color: #2b2f9e; }
.a-av { display: inline-grid; place-items: center; border-radius: 50%; color: #fff; font-size: 8.5px; font-weight: 700; flex-shrink: 0; }
.a-stack { display: inline-flex; }
.a-stack .a-av { border: 1.5px solid #fff; margin-left: -3px; font-size: 7.5px; }
.a-stack .a-av:first-child { margin-left: 0; }
.a-more { font-size: 10px; color: #8a8f9c; margin-left: 4px; align-self: center; }
.a-kpis { display: flex; gap: 6px; flex-wrap: wrap; }
.a-kpi { min-width: 86px; border-radius: 8px; padding: 6px 10px; }
.a-kpi small { display: block; font-size: 10px; font-weight: 500; }
.a-kpi b { font-size: 17px; }
.a-tool { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.a-search { flex: 0 1 260px; height: 26px; border: .5px solid #d7dae3; background: #fff; border-radius: 7px; padding: 0 10px; color: #8a8f9c; font-size: 11px; display: flex; align-items: center; }
.a-sp { flex: 1; }
.a-mut { color: #8a8f9c; }
.a-type { width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 9.5px; font-weight: 700; }
.a-tim { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; }
.a-task { border-left: 3px solid; padding-left: 7px; font-weight: 600; white-space: normal; display: inline-block; max-width: 300px; }
.a-pri { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; }
.a-pri i { width: 6px; height: 6px; border-radius: 50%; }
.a-oto { font-size: 10px; font-weight: 600; color: #7b3fa0; background: rgba(123,63,160,.1); border: .5px solid rgba(123,63,160,.4); border-radius: 6px; padding: 1px 6px; }
.a-seg { display: inline-flex; border: .5px solid #d7dae3; border-radius: 7px; overflow: hidden; background: #fff; }
.a-seg > * { padding: 4px 10px; font-size: 11px; }
.a-seg b { background: #2b2f9e; color: #fff; font-weight: 600; }
.a-nav2 { font-size: 11px; color: #4a4f63; }
.a-pend { display: flex; align-items: center; gap: 8px; background: #fff8eb; border: .5px solid #f3d9a7; color: #8a4b00; border-radius: 8px; padding: 6px 10px; font-size: 11px; font-weight: 500; }
.a-dot { width: 7px; height: 7px; border-radius: 50%; background: #f59e0b; }
.a-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.a-grid th { font-size: 10px; font-weight: 600; color: #4a4f63; padding: 6px; background: #f7f8fb; border-bottom: .5px solid #e3e6ee; text-align: left; }
.a-grid th.a-wk { background: #eef0f7; color: #2b2f9e; }
.a-grid th:nth-child(1) { width: 104px; } .a-grid th:nth-child(2) { width: 84px; }
.a-grid td { border: .5px solid #eceef3; padding: 4px 6px; height: 36px; vertical-align: top; }
.a-grid tr.sep td { border-top: 4px solid #e3e6ee; }
.a-op b { display: block; font-size: 11px; }
.a-op small { color: #8a8f9c; font-size: 9px; }
.a-time { background: #eef0f7; font-weight: 600; font-size: 10px; vertical-align: middle !important; }
.a-pc { font-size: 10px; }
.a-pc.off { background: #e5e7eb; color: #6b7280; font-style: italic; }
.a-pc.hw { background: #dbeafe; box-shadow: inset 3px 0 0 #2563eb; color: #1e40af; }
.a-rs { display: inline-block; font-size: 9px; font-weight: 700; border: .5px solid rgba(26,28,46,.35); border-radius: 4px; padding: 0 4px; margin-right: 4px; background: rgba(255,255,255,.55); }
.a-act { font-size: 10px; }
.a-tsr { display: flex; align-items: center; gap: 9px; padding: 8px 4px; border-top: .5px solid #eceef3; }
.a-tsr.open { background: #fafbfd; }
.a-chev { font-size: 9px; color: #8a8f9c; width: 10px; }
.a-sw { font-size: 11px; color: #8a8f9c; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.a-sw i { width: 24px; height: 14px; border-radius: 999px; background: #d7dae3; display: inline-block; }
.a-tsx { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; padding: 8px 4px 12px 24px; background: #fafbfd; }
.a-tsweek { display: flex; flex-direction: column; gap: 4px; }
.a-mini { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.a-mini span { height: 28px; border-radius: 4px; background: #f1f3f8; font-size: 9.5px; padding: 3px 5px; overflow: hidden; }
.a-mini .hw { background: #dbeafe; box-shadow: inset 3px 0 0 #2563eb; }
.a-mini .off { background: #e5e7eb; font-style: italic; color: #6b7280; }
.a-hrs td, .a-hrs th { text-align: right; } .a-hrs td:first-child, .a-hrs th:first-child { text-align: left; }
.a-hrs tr.tot td { font-weight: 700; background: #f7f8fb; }
.a-bt { font-size: 12.5px; }
.a-scroll { overflow-x: auto; }
.a-bud { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.a-bud th { font-size: 9.5px; color: #8a8f9c; font-weight: 600; padding: 5px 4px; border-bottom: .5px solid #eceef3; background: #fafbfd; text-align: right; }
.a-bud th.a-line, .a-bud td.a-line { text-align: left; }
.a-bud td { padding: 5px 4px; border-bottom: .5px solid #eceef3; text-align: right; font-size: 10.5px; white-space: nowrap; }
.a-bud td.note { position: relative; } .a-bud td.note::after { content: ""; position: absolute; top: 0; right: 0; border: 4px solid transparent; border-top-color: #e94b3c; border-right-color: #e94b3c; }
.a-bud td.a-mut, .a-bud td:nth-child(2) { text-align: left; }
.a-line { min-width: 190px; }
.a-kind { font-size: 8.5px; border: .5px solid #c9ccd8; border-radius: 4px; padding: 0 4px; margin-right: 5px; color: #4a4f63; }
.a-sub td { background: #f1f3f8; font-weight: 700; text-align: left !important; font-size: 10.5px; }
.a-tot td { background: #eef0f7; font-weight: 700; color: #2b2f9e; }
.a-tot td:first-child { text-align: left; }
.a-legend { color: #8a8f9c; font-size: 10.5px; }
.a-kts { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.a-kt { background: #fff; border-radius: 8px; padding: 7px 10px; box-shadow: 0 1px 2px rgba(16,24,40,.06); }
.a-kt small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .04em; color: #8a8f9c; font-weight: 600; }
.a-kt b { font-size: 14px; }
.a-rsn { font-size: 10px; font-weight: 700; background: #ede9fe; color: #5b21b6; padding: 1px 7px; border-radius: 999px; }
.a-tagm { font-family: ui-monospace, Menlo, monospace; font-size: 8.5px; color: #8a8f9c; border: .5px solid #d7dae3; border-radius: 3px; padding: 0 3px; margin-right: 6px; }
@media (max-width: 1100px) { .g-hint { display: block; } }

/* AI section */
.ai { background: var(--bg); }
.ai-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.ai-tools span { font-family: var(--display); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.chat { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px -36px rgba(22, 21, 58, .35); }
.chat-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.chat-head small { margin-left: auto; font-weight: 400; color: var(--muted); font-size: 12px; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #1F9A7E; box-shadow: 0 0 0 3px #D3F0E7; }
.msg { font-size: 15px; line-height: 1.5; border-radius: 14px; padding: 12px 14px; max-width: 88%; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 4px; }
.msg.bot { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.bot p + p, .msg.bot ul + p { margin-top: 8px; }
.msg.bot ul { margin: 8px 0 0; padding-left: 18px; }
.msg.bot li { margin-bottom: 4px; }
.chat-input { margin-top: 4px; border: 1px solid #CFCDE2; border-radius: 12px; padding: 12px 14px; color: var(--muted); font-size: 14px; }

/* Grant justification */
.grant { display: flex; gap: 16px; align-items: flex-start; margin-top: 28px; padding: 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--indigo); }
.grant-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; flex-shrink: 0; }
.grant h3 { font-size: 18px; margin-bottom: 6px; }
.grant p { font-size: 15.5px; color: var(--ink-2); }
.ts-export { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--soft); font-size: 13px; color: var(--ink-2); flex-wrap: wrap; }
.ts-export span { flex: 1; min-width: 180px; font-weight: 500; }
.ts-export b { font-size: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; color: var(--ink); }

/* Hero: real app screen below the text */
.hero .wrap { grid-template-columns: minmax(0, 1fr) !important; gap: 48px; }
.hero .wrap > div:first-child { max-width: 760px; }
.hero-shot { margin: 0; }
.hero-zoom { width: 1062px; }
.hero-zoom .a-frame { min-width: 0; width: 1060px; }

/* Footer brand */
.foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 18px; }
.foot-brand svg { flex-shrink: 0; }

/* App-faithful spotlight screens */
.spot-shot { margin: 0; min-width: 0; }
.a-frame.a-compact { min-width: 0; position: relative; }
.a-compact .a-page { position: relative; }
.ul-card { padding: 12px 14px; }
.ul-head { gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.ul-subj { border: .5px solid #e3e6ee; border-radius: 8px; margin-top: 8px; overflow: hidden; }
.ul-sh { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #fafbfd; flex-wrap: wrap; }
.ul-t th { font-size: 9px; }
.ul-t td { white-space: normal; vertical-align: top; }
.ul-txt { max-width: 260px; }
.ul-link { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; max-width: 250px; }
.ul-link b { font-weight: 600; }
.ul-hl td { background: #fff8eb; }
.ul-create { border-color: #2b2f9e; color: #2b2f9e; font-weight: 600; box-shadow: 0 0 0 3px rgba(43,47,158,.12); }
.a-dlg { position: absolute; background: #fff; border-radius: 12px; box-shadow: 0 24px 60px -12px rgba(26,28,46,.45), 0 0 0 .5px #d7dae3; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.a-dlg label { font-size: 10.5px; font-weight: 600; color: #4a4f63; margin-top: 4px; }
.a-dlg-t { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.a-in { border: .5px solid #d7dae3; border-radius: 7px; padding: 6px 8px; font-size: 11.5px; display: flex; align-items: center; gap: 6px; background: #fff; }
.a-in2 { min-height: 38px; align-items: flex-start; }
.a-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a-dlg-b { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.ul-dlg { width: 300px; right: 18px; bottom: 16px; }
.mp-head { gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.mp-grid th { vertical-align: top; }
.mp-grid th.mp-slot { width: 84px; }
.mp-tg { display: flex; gap: 3px; margin-top: 4px; }
.mp-tg span { font-size: 9px; font-weight: 600; padding: 1px 5px; border-radius: 5px; border: .5px solid #d7dae3; color: #8a8f9c; background: #fff; }
.mp-tg .on { background: #2b2f9e; color: #fff; border-color: #2b2f9e; }
.mp-tg .hwon { background: #2563eb; color: #fff; border-color: #2563eb; }
.mp-hw { box-shadow: inset 3px 0 0 #2563eb; }
.a-hrs td.mono { font-family: ui-monospace, Menlo, monospace; text-align: left; }
.ts-dlg { width: 230px; right: 26px; top: 120px; align-items: center; text-align: center; }
.ts-big { font-size: 30px; font-weight: 700; color: #2b2f9e; }
#actions .split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
#timesheets .split.rev { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
@media (max-width: 880px) { #actions .split, #timesheets .split.rev { grid-template-columns: minmax(0, 1fr); } }
/* Spotlights: text above, full-width screen below */
#actions .split, #timesheets .split.rev { grid-template-columns: minmax(0, 1fr) !important; gap: 36px; }
#actions .split > div:first-child, #timesheets .split.rev > div { max-width: 1112px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: start; }
#actions .checks, #timesheets .checks { margin-top: 0; }
#timesheets .split.rev > figure { order: 2; }
#timesheets .grant { grid-column: 1 / -1; }
.ul-dlg { top: auto; bottom: 14px; right: 18px; }
.a-compact .a-page { padding-bottom: 18px; }
.ul-card { margin-bottom: 150px; }
.ts-dlg { top: auto; bottom: 18px; right: 26px; }
.ts-sum { max-width: 64%; }
@media (max-width: 880px) { #actions .split > div:first-child, #timesheets .split.rev > div { grid-template-columns: minmax(0, 1fr); } }
.mp-grid th:nth-child(1) { width: 96px; }
.mp-grid th:nth-child(2) { width: auto; }
/* Action table */
.at-shot { margin-top: -8px; }
.at-t td { white-space: normal; vertical-align: middle; }
.at-subj { font-size: 11px; color: #4a4f63; max-width: 120px; }
.at-lu { font-size: 10.5px; max-width: 170px; }
.at-new td:first-child { position: relative; }
.at-t .a-task { max-width: 260px; }
.at-new { outline: 2px solid rgba(43,47,158,.35); outline-offset: -2px; }
#actions .split { gap: 28px; }
/* Extract actions screen */
.x-frame .a-page { padding-bottom: 250px; }
.x-mm { display: flex; flex-direction: column; gap: 8px; }
.x-meet { border: .5px solid #e3e6ee; border-radius: 8px; padding: 9px 11px; display: flex; flex-direction: column; gap: 4px; background: #fff; }
.x-link { color: #2b2f9e; text-decoration: underline; font-size: 11px; }
.x-extract { border-color: #2b2f9e; color: #2b2f9e; font-weight: 600; box-shadow: 0 0 0 3px rgba(43,47,158,.12); }
.x-dlg { left: 90px; right: 30px; top: 150px; padding: 16px 18px; }
.x-steps { display: flex; gap: 6px; flex-wrap: wrap; margin: 2px 0 6px; }
.x-steps span { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #f1f3f8; color: #8a8f9c; }
.x-steps .done { background: #eef0f7; color: #2b2f9e; }
.x-steps .now { background: #2b2f9e; color: #fff; }
.x-tools { gap: 6px; margin-bottom: 4px; }
.x-t td { white-space: normal; vertical-align: middle; }
.x-task { font-weight: 600; max-width: 230px; }
.x-quote { color: #6b6f80; font-style: italic; font-size: 11px; max-width: 250px; }
.x-own { display: inline-flex; align-items: center; gap: 5px; border: .5px solid #d7dae3; border-radius: 6px; padding: 2px 6px; background: #fff; white-space: nowrap; }
.x-empty { color: #b0b4c0; }
.x-cb { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; border: 1px solid #c3c7d4; font-size: 10px; color: #fff; }
.x-cb.on { background: #2b2f9e; border-color: #2b2f9e; }
.x-off td { opacity: .55; }

/* Phones: readable app screens, swipe sideways */
.zoom-box.swipe { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; scroll-snap-type: x proximity; }
.zoom-box.swipe::after { content: "← Swipe to see the whole screen →"; display: block; position: sticky; left: 0; width: calc(100vw - 32px); text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.zoom-box.swipe .a-frame { box-shadow: 0 10px 30px -20px rgba(22, 21, 58, .45); }
@media (max-width: 640px) {
  .a-app { grid-template-columns: minmax(0, 1fr); }
  .a-side { display: none; }
  .hero-zoom .a-frame { width: 880px !important; }
  .fit-zoom .a-frame { width: 880px !important; }
  .x-dlg { left: 20px; right: 20px; }
  .g-scroll .a-frame { zoom: .82; min-width: 880px; }
  .g-scroll { margin: 0 -16px; padding: 0 16px 6px; }
  .g-hint { display: block; text-align: center; }
  .a-kts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
