:root {
  color-scheme: light;
  --night: #172a32;
  --night-soft: #243b43;
  --paper: #f4f3ed;
  --white: #fffefa;
  --ink: #1c2c32;
  --muted: #5b6b70;
  --rule: #d9ded9;
  --orange: #ef8753;
  --orange-light: #f9e0cf;
  --sage: #dbe9df;
  --blue-light: #e2edf0;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid #bc4c20; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; background: var(--orange); color: var(--night); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.demo-banner { display: flex; min-height: 34px; align-items: center; justify-content: center; gap: 9px; padding: 6px 12px; background: var(--orange); color: #2d211d; font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: center; }
.demo-banner__symbol { font-size: 9px; }
.topbar { display: flex; height: 82px; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 6vw, 96px); background: var(--night); color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand__mark { display: grid; width: 32px; height: 32px; grid-template-columns: repeat(2, 1fr); gap: 3px; padding: 5px; border: 1px solid #91a5a1; border-radius: 9px 2px 9px 2px; transform: rotate(-6deg); }
.brand__mark i { display: block; border-radius: 2px; background: var(--orange); }
.brand__mark i:nth-child(2), .brand__mark i:nth-child(3) { background: #e7ede6; }
.brand__name { font-size: 19px; font-weight: 780; letter-spacing: -.055em; }
.brand__name span { color: var(--orange); }
.brand__divider { height: 25px; margin-inline: 7px 1px; border-left: 1px solid #5b6c70; }
.brand__sub { color: #bbc7c5; font-family: var(--mono); font-size: 8px; line-height: 1.3; letter-spacing: .11em; }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.demo-tag { display: flex; align-items: center; gap: 8px; color: #d3dcda; font-size: 11px; }
.demo-tag span { width: 7px; height: 7px; border-radius: 50%; background: #b8d6ba; }
.operator-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #607278; border-radius: 50%; color: #e7ede6; font-family: var(--mono); font-size: 10px; }
.operator-mark b { color: var(--orange); }
main { overflow: hidden; }
.intro { position: relative; display: flex; min-height: 349px; align-items: center; justify-content: space-between; gap: 36px; padding: 65px clamp(24px, 8vw, 128px) 69px; background: var(--night); color: var(--white); }
.intro::after { position: absolute; right: 0; bottom: 0; width: 39%; height: 7px; background: var(--orange); content: ""; }
.intro__copy { max-width: 780px; }
.kicker { display: flex; align-items: center; gap: 9px; margin: 0 0 19px; color: var(--orange); font-family: var(--mono); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.kicker > span { width: 22px; height: 2px; background: currentColor; }
.kicker b { color: #708287; font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
.intro h1 { margin: 0; font-size: clamp(43px, 6.1vw, 76px); font-weight: 570; letter-spacing: -.072em; line-height: .99; }
.intro h1 em, .workflow h2 em { color: #f39b6d; font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.intro__lead { max-width: 620px; margin: 21px 0 0; color: #c1ccca; font-size: 15px; }
.intro__stamp { display: flex; width: 150px; height: 150px; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #6b7d7e; border-radius: 50%; color: #c5d0cc; text-align: center; transform: rotate(7deg); }
.intro__stamp span:first-child { color: var(--orange); font-family: Georgia, serif; font-size: 36px; font-weight: 700; letter-spacing: -.1em; }
.intro__stamp span:nth-child(2) { font-family: var(--mono); font-size: 8px; letter-spacing: .13em; line-height: 1.4; }
.intro__stamp b { margin-top: 4px; color: #9eadaa; font-family: var(--mono); font-size: 7px; font-weight: 500; letter-spacing: .1em; }
.workspace { max-width: 1440px; margin-inline: auto; padding: 70px clamp(22px, 6.2vw, 100px) 83px; }
.workspace__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.kicker--small { margin-bottom: 7px; color: #8d4a2d; font-size: 9px; }
.workspace__head h2 { margin: 0; font-size: 35px; font-weight: 650; letter-spacing: -.055em; }
.sample-note { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.sample-note span { color: #a85331; font-size: 15px; }
.sample-note b { color: #b0b9b6; font-weight: 400; }
.metrics { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 13px; margin-bottom: 49px; }
.metric { position: relative; display: grid; min-height: 126px; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; overflow: hidden; padding: 18px 21px 15px; border: 1px solid var(--rule); background: var(--white); }
.metric--total { background: var(--orange-light); border-color: #efd0bf; }
.metric--active { background: var(--blue-light); border-color: #cbdadd; }
.metric--ready { background: var(--sage); border-color: #c9dbce; }
.metric__label { color: var(--muted); font-size: 11px; font-weight: 650; }
.metric strong { align-self: center; grid-row: 2 / 4; color: var(--night); font-size: 44px; font-weight: 650; letter-spacing: -.075em; line-height: 1; }
.metric__foot { align-self: end; padding-bottom: 2px; color: #53656a; font-size: 10px; }
.metric__mark { grid-column: 2; grid-row: 1 / 4; align-self: end; color: #8d9b97; font-family: var(--mono); font-size: 10px; }
.list-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 15px; }
.list-toolbar__title { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.list-toolbar__title h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.03em; }
.list-icon { display: flex; width: 24px; flex-direction: column; gap: 4px; }
.list-icon i { height: 2px; background: var(--night); }
.list-icon i:nth-child(2) { width: 75%; background: #8d4a2d; }
.list-icon i:nth-child(3) { width: 50%; }
.result-count { padding: 4px 8px; border-radius: 2px; background: #e5e8e2; color: #43545a; font-family: var(--mono); font-size: 9px; }
.list-controls { display: flex; align-items: end; justify-content: flex-end; gap: 12px; }
.control { display: grid; gap: 5px; }
.control label { color: #4c5d61; font-size: 10px; font-weight: 680; }
.control select, .search-box { height: 40px; border: 1px solid #cbd2cd; border-radius: 3px; background: var(--white); }
.control select { min-width: 172px; padding: 0 29px 0 10px; color: var(--ink); font-size: 11px; }
.control--search { width: 235px; }
.search-box { display: flex; align-items: center; gap: 7px; padding: 0 10px; }
.search-box > span { color: #8d4a2d; font-size: 22px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #5b6b70; }
.search-box:focus-within { outline: 3px solid #bc4c20; outline-offset: 3px; }
.undo-button { display: inline-flex; height: 40px; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #b7c2bd; border-radius: 3px; background: transparent; color: #35484d; font-size: 10px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.undo-button span { color: #8d4a2d; font-size: 17px; }
.undo-button:hover:not(:disabled) { border-color: #8d4a2d; background: #fbede5; }
.undo-button:disabled { color: #7b8585; cursor: not-allowed; opacity: .75; }
.table-frame { overflow: hidden; border: 1px solid #d7ddd7; background: var(--white); }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
thead { background: #e8ece6; }
th { height: 43px; padding: 0 12px; color: #4f6063; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .045em; text-align: left; }
th:first-child { padding-left: 19px; width: 12%; }
th:nth-child(2) { width: 16%; }
th:nth-child(3) { width: 17%; }
th:nth-child(4) { width: 12%; }
th:nth-child(5) { width: 32%; }
th:nth-child(6) { width: 11%; }
td { padding: 14px 12px; border-top: 1px solid #e8ebe6; color: #435259; font-size: 11px; vertical-align: middle; }
td:first-child { padding-left: 19px; }
.job-id span { color: #293b41; font-family: var(--mono); font-size: 10px; font-weight: 750; }
.job-service span { color: #23363c; font-weight: 700; }
.job-date span { color: #5e6e72; font-size: 10px; white-space: nowrap; }
.job-note span { color: #5d6b6c; line-height: 1.4; }
.job-status { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.status-badge { display: inline-flex; min-height: 22px; align-items: center; padding: 3px 7px; border: 1px solid transparent; border-radius: 2px; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-badge--new { background: #f9e0cf; border-color: #efd0bf; color: #713b23; }
.status-badge--diagnosis { background: #e2edf0; border-color: #d0dfe2; color: #24444e; }
.status-badge--waiting { background: #f5edcf; border-color: #e8ddb3; color: #625425; }
.status-badge--ready { background: #dbe9df; border-color: #cadacf; color: #2d513a; }
.status-badge--collected { background: #e7e8e2; border-color: #d9dbd4; color: #46504c; }
.status-select { width: 100%; min-width: 132px; max-width: 100%; height: 30px; padding: 0 20px 0 7px; border: 1px solid #cbd2cd; border-radius: 2px; background: #fff; color: #3e5054; font-size: 9px; }
.save-button { min-height: 30px; padding: 0 10px; border: 0; border-radius: 2px; background: var(--night); color: var(--white); font-size: 10px; font-weight: 700; cursor: pointer; }
.save-button:hover:not(:disabled) { background: #8d4a2d; }
.save-button:disabled { background: #e3e7e2; color: #7b8583; cursor: not-allowed; }
.empty-state { padding: 47px 20px; color: #657475; text-align: center; }
.empty-state > span { display: block; color: #8d4a2d; font-size: 30px; }
.empty-state strong { display: block; margin-top: 5px; color: var(--ink); font-size: 16px; }
.empty-state p { margin: 4px 0 0; font-size: 12px; }
.table-foot { display: flex; align-items: center; gap: 11px; margin: 12px 0 0; color: #667477; font-size: 10px; }
.table-foot span { color: #8d4a2d; font-family: var(--mono); font-size: 9px; }
.workflow { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(45px, 9vw, 130px); padding: 70px clamp(24px, 8vw, 128px) 76px; background: var(--night-soft); color: var(--white); }
.kicker--light { color: #f3a17b; }
.workflow h2 { margin: 0; font-size: clamp(37px, 4.4vw, 56px); font-weight: 580; letter-spacing: -.065em; line-height: 1.02; }
.workflow__intro > p:last-child { max-width: 390px; margin: 15px 0 0; color: #c1ceca; font-size: 12px; }
.workflow__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; margin: 0; padding: 9px 0 0; list-style: none; }
.workflow__steps li { display: flex; flex-direction: column; gap: 29px; padding: 13px 18px 0; border-top: 1px solid #70817f; border-right: 1px solid #506468; }
.workflow__steps li:first-child { padding-left: 0; }
.workflow__steps li:last-child { border-right: 0; }
.workflow__steps li > span { color: #f3a17b; font-family: var(--mono); font-size: 10px; }
.workflow__steps strong { font-size: 13px; }
.workflow__steps p { margin: 6px 0 0; color: #bfcbc8; font-size: 10px; line-height: 1.5; }
.footer { display: flex; min-height: 83px; align-items: center; justify-content: space-between; gap: 20px; padding: 17px clamp(22px, 6vw, 96px); background: #101f26; color: #bbc6c3; }
.brand--footer .brand__mark { width: 26px; height: 26px; padding: 4px; }
.brand--footer .brand__name { font-size: 16px; }
.footer > span { font-size: 10px; }
.footer__code { color: #f3a17b; font-family: var(--mono); }
@media (max-width: 980px) {
  .intro { min-height: 320px; padding-inline: 6vw; }
  .intro__stamp { width: 124px; height: 124px; }
  .workspace { padding-inline: 4vw; }
  .table-frame { overflow: visible; border: 0; background: transparent; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  tbody { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border: 1px solid #d7ddd7; background: var(--white); }
  td, td:first-child { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 11px; border: 0; }
  td::before { color: #657477; content: attr(data-label); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .job-id { grid-column: 1; }
  .job-service { grid-column: 2; }
  .job-status { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .job-status::before { width: 100%; }
  .job-date { grid-column: 1 / -1; }
  .job-note { grid-column: 1 / -1; }
  .job-action { grid-column: 1 / -1; align-items: flex-end; border-top: 1px solid #e8ebe6 !important; }
  .status-select { min-width: 132px; max-width: 100%; }
  .list-toolbar { align-items: start; flex-direction: column; }
  .list-controls { width: 100%; justify-content: flex-start; }
  .control--search { flex: 1; max-width: 330px; }
  .workflow { grid-template-columns: 1fr; gap: 33px; padding-inline: 6vw; }
}
@media (max-width: 760px) {
  .topbar { height: 70px; padding-inline: 20px; }
  .demo-tag { font-size: 0; }
  .demo-tag span { width: 9px; height: 9px; }
  .intro { min-height: auto; align-items: flex-start; padding: 54px 22px 58px; }
  .intro__stamp { display: none; }
  .intro__lead { max-width: 560px; font-size: 14px; }
  .workspace { padding: 49px 20px 57px; }
  .workspace__head { align-items: flex-start; flex-direction: column; gap: 11px; }
  .workspace__head h2 { font-size: 31px; }
  .metrics { gap: 9px; margin-bottom: 37px; }
  .metric { min-height: 112px; padding: 13px 13px 11px; }
  .metric__label { font-size: 10px; }
  .metric strong { font-size: 39px; }
  .metric__foot { max-width: 125px; font-size: 9px; line-height: 1.3; }
  .metric__mark { display: none; }
  .list-toolbar { gap: 16px; }
  .list-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(155px,.9fr); gap: 10px; }
  .control--search { width: auto; max-width: none; }
  .control select { width: 100%; min-width: 0; }
  .undo-button { grid-column: 1 / -1; justify-self: start; }
  .table-frame { overflow: visible; border: 0; background: transparent; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  tbody { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border: 1px solid #d7ddd7; background: var(--white); }
  td, td:first-child { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 11px; border: 0; }
  td::before { color: #657477; content: attr(data-label); font-family: var(--mono); font-size: 8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .job-id { grid-column: 1; }
  .job-service { grid-column: 2; }
  .job-status { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .job-status::before { width: 100%; }
  .job-date { grid-column: 1 / -1; }
  .job-note { grid-column: 1 / -1; }
  .job-action { grid-column: 1 / -1; align-items: flex-end; border-top: 1px solid #e8ebe6 !important; }
  .status-select { max-width: 100%; }
  .save-button { min-width: 81px; }
  .empty-state { border: 1px solid #d7ddd7; background: var(--white); }
  .table-foot { align-items: flex-start; line-height: 1.45; }
  .workflow { padding: 53px 22px 58px; }
  .workflow__steps li { gap: 20px; padding-inline: 12px; }
  .workflow__steps li:first-child { padding-left: 0; }
  .footer { flex-wrap: wrap; gap: 12px 20px; padding: 18px 20px; }
  .footer > span:nth-child(2) { order: 3; width: 100%; }
}
@media (max-width: 480px) {
  .demo-banner { min-height: 31px; font-size: 8px; letter-spacing: .045em; }
  .brand__name { font-size: 17px; }
  .brand__mark { width: 28px; height: 28px; }
  .brand__divider { margin-inline: 3px 0; }
  .brand__sub { font-size: 7px; }
  .topbar__right { gap: 10px; }
  .operator-mark { width: 30px; height: 30px; }
  .intro { padding: 47px 19px 51px; }
  .intro h1 { font-size: 43px; }
  .intro__lead { margin-top: 17px; font-size: 13px; }
  .kicker { font-size: 8px; }
  .workspace { padding-inline: 16px; }
  .sample-note { align-items: flex-start; flex-wrap: wrap; font-size: 10px; }
  .metrics { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .metric { display: flex; min-height: 122px; flex-direction: column; align-items: flex-start; gap: 3px; padding: 10px 9px; }
  .metric__label { min-height: 0; font-size: 9px; line-height: 1.2; }
  .metric strong { align-self: auto; grid-row: auto; font-size: 35px; }
  .metric__foot { max-width: none; margin-top: auto; font-size: 8px; }
  .list-controls { grid-template-columns: 1fr; }
  .undo-button { grid-column: 1; }
  tbody { grid-template-columns: 1fr; }
  tbody tr { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .workflow__steps { grid-template-columns: 1fr; gap: 12px; }
  .workflow__steps li, .workflow__steps li:first-child { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 0; padding: 13px 0; border-right: 0; }
  .workflow__steps li > span { grid-row: 1 / 3; }
  .workflow__steps strong { font-size: 12px; }
  .workflow__steps p { margin-top: 3px; }
  .footer__code { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
