:root { color-scheme: light; font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; color: #13212b; background: #fff; font-size: 16px; line-height: 1.55; }
* { box-sizing: border-box; }
body { margin: 0; }
header { border-bottom: 1px solid #d9e0e5; }
header > div, main, footer, .loading { width: min(1360px, 100%); margin: auto; padding: 18px 24px; }
header > div, nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
header .brand { font: italic 28px Georgia, serif; text-decoration: none; color: #13212b; }
/* isoharness 0.29.0: Sign in, at the top right */
header .signin { margin-left: auto; display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border: 1px solid #13212b; border-radius: 4px; color: #13212b; font-weight: 600; text-decoration: none; }
header .signin:hover { background: #f4f6f8; }
nav a { min-height: 44px; display: inline-flex; align-items: center; }
a { color: #0b5e8e; text-underline-offset: 3px; }
nav [aria-current] { font-weight: 700; }
main { padding-top: 32px; padding-bottom: 56px; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 14px; }
h2 { font-size: 27px; margin: 0 0 16px; }
h3 { font-size: 18px; margin: 0 0 12px; }
p { margin: 8px 0 16px; }
.intro { max-width: 800px; font-size: 18px; color: #3b4a55; }
section { margin: 24px 0; padding: 24px; border: 1px solid #d9e0e5; border-radius: 5px; min-width: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.grid > *, .field, .card { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
label, legend { font-weight: 600; }
input, select, textarea, button { font: inherit; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { width: 100%; min-width: 0; max-width: 100%; padding: 9px 10px; border: 1px solid #aebcc6; border-radius: 4px; background: #fff; color: #13212b; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: middle; }
textarea { min-height: 130px; resize: vertical; }
button { min-height: 44px; padding: 9px 17px; border: 1px solid #13212b; border-radius: 4px; color: #fff; background: #13212b; cursor: pointer; white-space: normal; }
button.secondary { background: #fff; color: #13212b; }
button:disabled { cursor: default; opacity: .6; }
button:hover:not(:disabled) { background: #24476a; color: #fff; }
:focus-visible { outline: 3px solid #0b5e8e; outline-offset: 3px; }
small, .muted { color: #4a5a66; }
small { font-size: 14px; font-weight: 400; }
.note, .status { padding: 12px 15px; border-radius: 4px; background: #f2f6f9; }
.error { color: #7a2e0b; background: #fdf1ec; border: 1px solid #e3b3a0; }
.stale { background: #fff5dd; color: #644800; border: 1px solid #d7b75a; }
.sample-peak-alert { background: #fdf1ec; color: #7a2e0b; border: 2px solid #a34c24; margin: 16px 0; }
.sample-peak-alert p { margin-bottom: 0; }
.status:empty { display: none; }
.form-block { margin-top: 22px; }
details { margin: 18px 0; }
summary { cursor: pointer; font-weight: 600; min-height: 40px; padding: 6px 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { margin-bottom: 8px; }
.choice { display: inline-flex; align-items: center; min-height: 44px; margin-right: 24px; }
.switch { display: flex; align-items: start; gap: 3px; }
.switch input { flex: 0 0 auto; margin-top: 5px; }
.suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.suggestions button { font-size: 14px; }
.table-scroll { overflow: auto; max-height: 680px; width: 100%; border: 1px solid #d9e0e5; margin-top: 18px; }
table { border-collapse: collapse; min-width: 1450px; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #d9e0e5; vertical-align: top; }
th { position: sticky; top: 0; z-index: 2; background: #eef3f6; }
td { min-width: 65px; max-width: 245px; }
td.sample-id { min-width: 150px; }
td.decision { min-width: 210px; }
td.report { min-width: 210px; }
td.volume { min-width: 125px; }
td .field + .field { margin-top: 8px; }
td small { display: block; margin-top: 5px; }
tr.excluded { background: #f6f7f8; }
.flag { display: inline-block; position: relative; padding: 2px 6px; margin: 2px; border-radius: 3px; background: #fff1d3; font-size: 12px; cursor: help; }
.flag .tooltip { display: none; position: absolute; left: 0; top: 100%; width: 230px; z-index: 4; background: #13212b; color: #fff; padding: 8px; border-radius: 3px; font-size: 13px; }
.flag:hover .tooltip, .flag:focus .tooltip { display: block; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.card { border: 1px solid #d9e0e5; padding: 16px; border-radius: 4px; }
dl { margin: 0; display: grid; grid-template-columns: minmax(100px, 1fr) minmax(0, 2fr); gap: 7px 14px; }
dt { font-weight: 600; }
dd { margin: 0; }
.qc-list { padding-left: 20px; }
.qc-list li { margin: 5px 0; }
main, header, footer, .card, dd, p, td, li, label, small, .status { overflow-wrap: anywhere; }
.n2o-number { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
footer { font-size: 14px; color: #4a5a66; border-top: 1px solid #d9e0e5; }
@media (max-width: 600px) {
  header > div, main, footer { padding-left: 16px; padding-right: 16px; }
  section { padding: 16px; margin: 20px 0; }
  .actions { gap: 10px; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 10px; }
}
.organic-table { min-width: 100%; width: max-content; }
.organic-table th, .organic-table td { max-width: 220px; }
#organic-sheet-table input { width: 150px; }
#organic-sheet-table td:first-child input { width: 210px; }
#organic-result-table td { min-width: 90px; }
#organic-result-table td:not(.n2o-number) { min-width: 140px; }
/* Step-by-step view, after the EA-IRMS page (isoharness 0.17.0). */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main.n2o-main-flow { width: min(1440px, 100%); }
.n2o-flow { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.n2o-aside { flex: 1 1 250px; max-width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.n2o-step { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.n2o-run-card { padding: 14px 16px; border: 1px solid #d9e0e5; border-radius: 4px; display: flex; flex-direction: column; gap: 4px; }
.n2o-run-card p { margin: 6px 0 0; }
.n2o-run-card details { margin: 6px 0 0; }
.n2o-run-label { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #56646f; }
.n2o-run-file { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 13.5px; overflow-wrap: anywhere; }
.n2o-calc { padding: 12px 14px; background: #f5f7f9; border-radius: 4px; }
.n2o-calc .actions { gap: 8px; }
.n2o-calc-state { margin: 0 0 10px; font-weight: 600; }
.n2o-calc-state.waiting { color: #8a5a00; }
.n2o-rail ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.n2o-rail button { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 9px 10px; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 4px; color: #13212b; }
.n2o-rail button:hover:not(:disabled) { background: #fff; color: #13212b; border-color: #b9c4cc; }
.n2o-rail button[aria-current] { background: #fff; border-color: #13212b; }
.n2o-rail-n { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 13px "IBM Plex Mono", ui-monospace, Menlo, monospace; border: 1.5px solid #9aa8b5; background: #fff; }
.n2o-rail button[aria-current] .n2o-rail-n { background: #13212b; color: #fff; border-color: #13212b; }
.n2o-rail-text { display: flex; flex-direction: column; min-width: 0; }
.n2o-rail-title { font-size: 15px; font-weight: 600; }
.n2o-rail-sub { font-size: 13px; line-height: 1.4; color: #4a5a66; }
.n2o-step-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.n2o-kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c2510a; }
.n2o-step-head h2 { margin: 4px 0 0; font-size: clamp(28px, 3vw, 38px); }
.n2o-step-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.n2o-step-intro { max-width: 820px; font-size: 16px; color: #3b4a55; margin: 0; }
section.n2o-decisions { margin: 0; padding: 16px 18px; background: #f5f7f9; border: 0; border-radius: 4px; }
section.n2o-checks { margin: 0; padding: 0; border: 1px solid #d9e0e5; border-radius: 4px; }
.n2o-check { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid #ecf0f3; }
.n2o-check:last-child { border-bottom: 0; }
.n2o-check-label { flex: 0 0 auto; min-width: 84px; padding: 3px 10px; border-radius: 3px; font-size: 13px; font-weight: 600; text-align: center; align-self: flex-start; }
.n2o-check-ok .n2o-check-label { background: #ddf2ea; color: #0b6e4f; }
.n2o-check-note .n2o-check-label { background: #fbefd6; color: #8a5a00; }
.n2o-check-caution .n2o-check-label { background: #fadfd2; color: #a33a00; }
.n2o-check > div { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.n2o-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 22px; }
.n2o-figure { margin: 0; min-width: 0; border-top: 2px solid #13212b; padding: 14px 2px 6px; display: flex; flex-direction: column; gap: 8px; }
.n2o-figure-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; }
.n2o-figure-head h3 { margin: 0; font-family: Georgia, serif; font-weight: 400; font-size: 19px; line-height: 1.3; }
.n2o-fig-num { font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif; font-size: 15px; font-weight: 700; color: #c2510a; }
.n2o-fig-sub { margin: 2px 0 0; font-size: 13.5px; color: #56646f; }
.n2o-badge { flex: 0 0 auto; align-self: flex-start; padding: 4px 10px; border-radius: 3px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.n2o-badge-ok { background: #ddf2ea; color: #0b6e4f; }
.n2o-badge-note { background: #fbefd6; color: #8a5a00; }
.n2o-badge-plain { background: #eef1f4; color: #3b4a55; }
.n2o-axis-label { font-size: 13px; color: #3b4a55; }
.n2o-plot { position: relative; width: calc(100% - 46px); margin: 0 0 18px 46px; }
.n2o-plot svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; }
.n2o-tick { position: absolute; font: 12px "IBM Plex Mono", ui-monospace, Menlo, monospace; color: #56646f; white-space: nowrap; pointer-events: none; }
.n2o-tick-y { transform: translate(calc(-100% - 7px), -50%); }
.n2o-tick-x { transform: translate(-50%, 6px); }
button.n2o-hit { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); padding: 0; min-height: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
button.n2o-hit:hover:not(:disabled), button.n2o-hit:focus-visible { background: rgba(14, 26, 38, .1); }
.n2o-figure-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; }
.n2o-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.n2o-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #3b4a55; }
.n2o-figure-empty { display: grid; place-items: center; min-height: 180px; padding: 24px; border: 1px dashed #b9c4cc; border-radius: 4px; background: #f6f8fa; color: #3b4a55; text-align: center; }
.n2o-how { border-top: 1px solid #d9e0e5; padding-top: 8px; margin: 0; }
.n2o-how p { max-width: 820px; }
/* Equations (web/mathml.js) in a math font, left-aligned, and scrolling sideways when wider than the screen. */
.n2o-how math { font-family: "STIX Two Math", "Cambria Math", "Latin Modern Math", "DejaVu Math TeX Gyre", math; }
.n2o-math { margin: 12px 0 16px; }
.n2o-how .n2o-where-lead, dl.n2o-where { max-width: 820px; }
.n2o-eqs { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; overflow-x: auto; overflow-y: hidden; padding: 2px 0 6px;
  /* a shadow at the edge it scrolls toward, as on the EA-IRMS page */
  background: linear-gradient(to right, #fff 30%, transparent) 0 0 / 40px 100% no-repeat local,
    linear-gradient(to left, #fff 30%, transparent) 100% 0 / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(19, 33, 43, .22), rgba(19, 33, 43, 0)) 0 0 / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(19, 33, 43, .22), rgba(19, 33, 43, 0)) 100% 0 / 14px 100% no-repeat scroll; }
.n2o-eqs math { font-size: 1.1em; }
.n2o-how p.n2o-where-lead { margin: 6px 0 4px; }
dl.n2o-where { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 16px; margin: 0; }
dl.n2o-where dt { margin: 0; white-space: nowrap; }
dl.n2o-where dd { margin: 0; }
/* On a phone each symbol stands above its meaning. */
@media (max-width: 600px) {
  dl.n2o-where { grid-template-columns: minmax(0, 1fr); gap: 0; }
  dl.n2o-where dd { margin: 0 0 6px 14px; }
}
section.n2o-selected { margin: 0; padding: 14px 16px; border: 2px solid #13212b; border-radius: 4px; }
.n2o-selected-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.n2o-selected-head h3 { margin: 0; }
table.n2o-trace { min-width: 0; width: auto; margin-top: 8px; }
table.n2o-trace th { position: static; }
section.n2o-sheet { margin: 0; }
section.n2o-overview { border: 0; padding: 0; }
.n2o-overview-list { list-style: none; padding: 0; margin: 0; max-width: 900px; }
.n2o-overview-list li { display: flex; gap: 18px; padding: 12px 0; border-top: 1px solid #d9e0e5; }
.n2o-overview-n { font: 26px Georgia, serif; color: #0b5e8e; min-width: 28px; line-height: 1; }
.n2o-chooser.compact { display: flex; flex-direction: column; gap: 10px; }
.n2o-advanced { margin: 12px 0 0; }
.n2o-waiting { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.n2o-waiting p { margin: 0; }
fieldset.n2o-methods { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
fieldset.n2o-methods legend { padding: 0; margin: 0 0 8px; font-weight: 600; }
.n2o-method-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 10px; }
.n2o-method { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 10px 12px 12px; background: #fff; border: 1.5px solid #d9e0e5; border-radius: 4px; }
.n2o-method.chosen { border-color: #13212b; box-shadow: inset 0 0 0 1px #13212b; }
.n2o-method-pick { display: flex; align-items: center; gap: 4px; font-weight: 600; cursor: pointer; }
.n2o-method-name { flex: 1 1 auto; }
.n2o-method-values { margin: 0; font: 14px "IBM Plex Mono", ui-monospace, Menlo, monospace; overflow-wrap: anywhere; }
.n2o-method-basis { margin: 0; font-size: 13px; line-height: 1.4; color: #56646f; }
.n2o-method-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: end; }
.n2o-method-inputs .field { gap: 2px; }
.n2o-method-inputs label { font-size: 13px; line-height: 1.3; }
.n2o-method-inputs input:not([type="checkbox"]):not([type="radio"]) { padding: 6px 8px; }
section.n2o-compare { margin: 0; }
section.n2o-compare h3 { margin: 0 0 4px; }
section.n2o-compare > p { margin: 0 0 8px; max-width: 820px; color: #3b4a55; }
th.n2o-reported, td.n2o-reported { background: #e8edf1; }
@media (max-width: 999px) {
  .n2o-rail ol { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .n2o-rail li { flex: 0 0 auto; }
  .n2o-rail button { width: auto; align-items: center; }
  .n2o-rail-sub { display: none; }
  .n2o-rail-title { white-space: nowrap; }
}
@media (max-width: 600px) {
  .n2o-plot { width: calc(100% - 40px); margin-left: 40px; }
}
