:root {
  --ink: #19241e;
  --text: #26382c;
  --muted: #69736c;
  --line: #e4e9e3;
  --paper: #f5f7f3;
  --lime: #c1ed89;
  --green: #315a40;
  --white: #fff;
  --radius: 14px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #7db74d;
  outline-offset: 4px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #7db74d;
  outline-offset: 1px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(29px, 3vw, 43px);
  letter-spacing: -1.8px;
  line-height: 1.15;
  font-weight: 650;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.7px;
  line-height: 1.3;
  font-weight: 620;
}
h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 620;
}
p {
  font-size: 14px;
  line-height: 1.65;
}
small {
  font-size: 12px;
}
strong {
  font-weight: 620;
}
ul {
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.65;
}
.muted {
  color: var(--muted);
}
.muted-heading {
  color: #869087;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 10px;
}
.subheading {
  color: var(--muted);
  margin-top: 12px;
  max-width: 680px;
}
.skip-link {
  position: fixed;
  top: -80px;
  padding: 12px;
  background: white;
  z-index: 999;
}
.skip-link:focus {
  top: 10px;
}
.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;
}
.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #18211d;
  color: #b8c3bb;
  padding: 38px 20px 22px;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  font-size: 29px;
  letter-spacing: 3px;
  font-weight: 850;
  display: flex;
  align-items: center;
  color: #fff;
  gap: 9px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 29px;
  height: 32px;
  background: var(--lime);
  color: #18211d;
  transform: skew(-8deg);
  font-size: 29px;
  letter-spacing: -2px;
}
.beta {
  font-size: 8px;
  letter-spacing: 1px;
  color: #a4b19f;
  border: 1px solid #3b473c;
  border-radius: 4px;
  padding: 4px;
  margin-left: 1px;
}
.season-label {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #798c7f;
  margin: 47px 13px 18px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sidebar nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 12px;
  font-weight: 550;
  padding: 14px 13px;
  border-radius: 7px;
  transition:
    background 0.15s,
    color 0.15s;
}
.sidebar nav a:hover {
  background: #253129;
  color: white;
}
.sidebar nav a.active {
  background: #c1ed89;
  color: #18211d;
}
.nav-icon {
  font-size: 20px;
  width: 20px;
  line-height: 1;
}
.sidebar-bottom {
  margin-top: auto;
}
.driver-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  margin-bottom: 12px;
  color: #7e8e81;
}
.driver-select {
  background: #253128;
  border: 1px solid #3e4b40;
  color: #e3e9df;
  font-size: 12px;
  width: 100%;
  min-height: 40px;
  padding: 8px;
  border-radius: 7px;
}
.switch-button {
  border: 0;
  background: transparent;
  color: #a6c195;
  font-size: 11px;
  padding: 10px 0;
}
.account {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #334035;
  padding-top: 22px;
  margin-top: 10px;
}
.account strong {
  display: block;
  color: #eef1eb;
  font-size: 12px;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account small {
  display: block;
  color: #819284;
  font-size: 10px;
  margin-top: 4px;
}
.account form {
  margin-left: auto;
}
.avatar {
  background: #334237;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #c8dfb6;
}
.logout {
  background: none;
  color: #91a08f;
  border: 0;
  font-size: 22px;
  padding: 4px;
}
.workspace {
  margin-left: 232px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #68766b;
  background: #fafbf8;
}
.topbar-slash {
  color: #bcc5b9;
  margin: 0 12px;
}
.season-chip {
  border: 1px solid #dfe6d8;
  border-radius: 20px;
  padding: 8px 12px;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.season-chip i {
  height: 5px;
  width: 5px;
  display: inline-block;
  background: #4c7a3c;
  border-radius: 50%;
}
main {
  max-width: 1490px;
  margin: 0 auto;
  padding: 35px 42px 28px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 29px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: #24382b;
  color: #fff;
  border: 1px solid #24382b;
  border-radius: 7px;
  min-height: 44px;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #3d5444;
  transform: translateY(-1px);
}
.button.lime {
  background: var(--lime);
  color: #243022;
  border-color: var(--lime);
}
.button.lime:hover {
  background: #d0f5a1;
}
.button.secondary {
  background: #fff;
  color: #334534;
  border-color: #d8e0d4;
}
.button.secondary:hover {
  background: #eef4e9;
}
.button.small,
.small.button {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 11px;
}
/* forer-13: on a phone a small button is still tapped with a finger. */
@media (max-width: 900px), (pointer: coarse) {
  .button.small,
  .small.button {
    min-height: 44px;
  }
}
.button.danger {
  background: #8a352e;
  border-color: #8a352e;
}
.text-link,
.text-button {
  font-size: 12px;
  color: #3f5b41;
  font-weight: 620;
  line-height: 1.5;
}
.text-link:hover {
  text-decoration: underline;
}
.text-button {
  background: none;
  border: 0;
  padding: 5px 0;
  text-align: left;
}
.text-button:hover {
  text-decoration: underline;
}
/* Utforskende test 28.10 (forer-13): a back link is tapped with gloves too.
   44 px high with the text where it was: the extra height is the space
   around it, so the heading does not move. */
.back-link {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  margin: -16px 0 -4px;
  padding-right: 16px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #1c2a22;
  color: #fff;
  border-radius: var(--radius);
  min-height: 290px;
  display: flex;
  margin-bottom: 24px;
}
.hero-copy {
  padding: 31px 35px;
  position: relative;
  z-index: 2;
  width: 65%;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 550;
  letter-spacing: 1.7px;
  color: #bdcbb8;
  margin-bottom: 22px;
}
.live-dot {
  background: var(--lime);
  height: 5px;
  width: 5px;
  display: inline-block;
  border-radius: 50%;
}
.hero h2 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.22;
  max-width: 450px;
  margin-bottom: 13px;
  color: #f4f6f0;
}
.hero p {
  color: #a8b6a7;
  font-size: 12px;
  max-width: 390px;
  margin-bottom: 21px;
}
.hero .button {
  min-height: 39px;
  padding: 11px 15px;
}
.hero-note {
  display: block;
  font-size: 10px;
  color: #83967f;
  margin-top: 14px;
}
.track-art {
  width: 48%;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: grid;
  align-items: center;
  opacity: 0.9;
}
.track-art svg {
  width: 100%;
  height: auto;
  max-height: 100%;
}
.track-shadow {
  stroke: #354d39;
  stroke-width: 19;
  stroke-linejoin: round;
}
.track-line {
  stroke: #89a57b;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-dasharray: 5 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 23px 24px;
}
.stat-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 9px;
  color: #6e796b;
  letter-spacing: 1.3px;
  font-weight: 650;
}
.stat-label > span {
  font-size: 16px;
  line-height: 10px;
  color: #8d9c83;
}
.stat-number {
  font-size: 39px;
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 620;
  margin: 17px 0 10px;
  font-variant-numeric: tabular-nums;
}
.stat-number small {
  font-size: 10px;
  letter-spacing: 0;
  color: #6e7868;
  margin-left: 8px;
  font-weight: 400;
  white-space: nowrap;
}
.stat p {
  font-size: 10px;
  color: #6e796b;
}
.empty-number {
  color: #c5cfc0;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
  min-width: 0;
  scroll-margin-top: 20px;
}
.dashboard-grid > .card {
  margin-bottom: 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 23px;
}
.section-head .eyebrow {
  font-size: 9px;
  margin-bottom: 8px;
}
.section-head .text-link {
  font-size: 10px;
  white-space: nowrap;
}
.section-head h2 {
  font-size: 18px;
}
.round-icon {
  height: 31px;
  width: 31px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.empty-state {
  padding: 40px 10px 32px;
  text-align: center;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid #e7ede1;
  border-radius: 50%;
  background: #f6f9f0;
  font-size: 25px;
  color: #8ba478;
  margin: 0 auto 19px;
}
.empty-state h3 {
  font-size: 17px;
  margin-bottom: 9px;
}
.empty-state p {
  font-size: 12px;
  color: #6e7968;
  margin-bottom: 18px;
}
.empty-state.compact {
  padding: 25px 10px;
}
.journey {
  list-style: none;
  padding: 0;
  margin: 0;
}
.journey li {
  display: flex;
  gap: 18px;
  position: relative;
  padding: 0 0 23px;
}
.journey li:last-child {
  padding-bottom: 14px;
}
.journey li:not(:last-child):before {
  content: "";
  position: absolute;
  left: 13px;
  top: 28px;
  bottom: 0;
  width: 1px;
  background: #e2e9da;
}
.journey li > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5eb;
  border: 1px solid #e4ebda;
  display: grid;
  place-items: center;
  color: #62745a;
  font-size: 9px;
  flex: none;
}
.journey strong {
  font-size: 12px;
}
.journey p {
  font-size: 10px;
  color: #6d7867;
  margin-top: 4px;
}
.quiet-note {
  padding: 15px 17px;
  background: #f4f7f0;
  border: 1px solid #e9eee2;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.7;
  color: #64745a;
}
.quiet-note p {
  font-size: 12px;
  margin-top: 6px;
}
.journey-card .quiet-note {
  font-size: 10px;
}
.session-list {
  margin: 0 -5px;
}
.session-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 19px 3px;
  border-bottom: 1px solid #edf0e8;
  transition: background 0.15s;
}
.session-row:hover {
  background: #f7f9f3;
}
.session-row:last-child {
  border-bottom: 0;
}
.date-square {
  background: #f1f5eb;
  border: 1px solid #e6ebdd;
  width: 43px;
  height: 46px;
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: none;
}
.date-square strong {
  font-size: 17px;
  letter-spacing: -1px;
}
.date-square small {
  font-size: 7px;
  margin-top: 2px;
  letter-spacing: 1px;
  color: #657358;
}
.session-name {
  flex: 1;
  min-width: 0;
}
.session-name strong {
  font-size: 12px;
  display: block;
}
.session-name small {
  font-size: 10px;
  color: #6b7866;
  display: block;
  margin-top: 6px;
  line-height: 1.5;
}
.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e1e9d8;
  background: #f4f8ed;
  color: #617654;
  padding: 5px 8px;
  font-size: 9px;
  border-radius: 5px;
  line-height: 1.4;
  font-weight: 550;
  white-space: nowrap;
}
.badge.large {
  padding: 9px 12px;
}
.arrow {
  font-size: 20px;
  color: #92a284;
}
.footer {
  max-width: 1490px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0 42px 28px;
  font-size: 9px;
  color: #697362;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: auto;
}
.footer-brand svg {
  display: block;
}
.demo-prompt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 28px 0 0;
  padding: 22px;
  border: 1px dashed #d3ddc8;
  border-radius: 12px;
}
.demo-prompt strong {
  font-size: 12px;
}
.demo-prompt p {
  font-size: 11px;
  color: #85917b;
  margin-top: 4px;
}
.demo-banner {
  font-size: 11px;
  background: #fff5d9;
  border: 1px solid #ecdeaa;
  color: #87702d;
  padding: 13px 16px;
  margin-bottom: 22px;
  border-radius: 8px;
}
.message,
.notice {
  padding: 13px 16px;
  border: 1px solid #d3dfc7;
  background: #eff7e7;
  color: #466132;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 12px;
  line-height: 1.6;
}
.message.error,
.notice.error {
  border-color: #ead1c9;
  background: #fcf0eb;
  color: #9d4b37;
}
.error-text,
.errorlist {
  color: #aa4935;
  font-size: 12px;
}
.errorlist {
  padding-left: 18px;
}
.required {
  color: #8ba374;
}
.form-card {
  max-width: 900px;
  padding: 30px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 12px;
  color: #52634d;
}
.field label,
.field legend {
  font-size: 12px;
  color: #52634d;
  font-weight: 550;
}
.field small {
  font-size: 10px;
  color: #6c7867;
  line-height: 1.6;
}
.full-width {
  grid-column: 1/-1;
}
.field input,
.field textarea,
.field select,
input.input,
select.input,
textarea.input {
  width: 100%;
  min-height: 43px;
  background: #fafcf7;
  border: 1px solid #dce4d5;
  border-radius: 6px;
  padding: 11px 12px;
  font-size: 13px;
  color: #24382b;
}
.field textarea {
  resize: vertical;
  line-height: 1.6;
}
.field input[type="checkbox"],
.field input[type="radio"],
.checkbox-row input {
  width: 17px;
  height: 17px;
  min-height: 0;
  flex: none;
  accent-color: #426a35;
}
.checkbox-row {
  display: flex !important;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #627359;
}
.field:has(input[type="checkbox"]) label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.6;
}
.field:has(input[type="checkbox"]) input {
  margin-top: 2px;
}
.form-footer {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
}
legend {
  padding: 0 6px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid .card {
  margin-bottom: 0;
}
.grid + section,
.grid + .grid {
  margin-top: 24px;
}
.grid .form-stack .card {
  margin: 0;
}
.card > h2 {
  margin-bottom: 15px;
}
.card > h3 {
  margin: 22px 0 9px;
}
.card > p {
  margin-bottom: 14px;
}
.card .evidence {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.card .evidence p {
  margin: 8px 0;
}
.card .evidence h3 {
  font-size: 14px;
}
.evidence a {
  color: #416b37;
}
.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0;
}
.divider {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.divider h3 {
  margin-bottom: 14px;
}
.danger-zone {
  border-color: #ecd9cf;
}
.danger-zone .eyebrow {
  color: #a46652;
}
.auth-workspace {
  min-height: 100vh;
}
.auth-workspace main {
  max-width: 1100px;
  padding-top: 65px;
}
.auth-workspace .topbar {
  padding: 0 max(30px, calc((100vw - 1016px) / 2));
}
.auth-workspace .topbar > span:first-child:before {
  content: "TIDEL";
  font-size: 21px;
  letter-spacing: 3px;
  color: #243e2c;
  margin-right: 25px;
  font-weight: 850;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.auth-intro h1 {
  font-size: 55px;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
}
.auth-intro .badge {
  margin-top: 24px;
}
.auth-card {
  padding: 34px;
  margin-bottom: 35px;
}
.auth-card h2 {
  font-size: 25px;
  margin: 12px 0;
}
.auth-card .form-stack {
  margin: 24px 0;
}
.auth-card .small {
  font-size: 11px;
}
.auth-card a {
  text-decoration: underline;
  color: #456c34;
}
/* forer-13: «Opprett konto», «Logg inn» and «Glemt passordet?» are 44 px to tap. */
.auth-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.auth-workspace .footer {
  max-width: 1100px;
}
.tabs {
  display: flex;
  gap: 24px;
  padding: 0 0 17px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 25px;
  overflow-x: auto;
}
.tabs a {
  font-size: 11px;
  font-weight: 600;
  color: #65755c;
  white-space: nowrap;
}
.tabs a:hover {
  color: #1f4c2c;
}
.context-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 0 24px;
  margin-bottom: 0;
}
.context-grid dt,
.evidence-grid dt {
  font-size: 10px;
  color: #6c7764;
  margin-bottom: 7px;
}
.context-grid dd,
.evidence-grid dd {
  font-size: 12px;
  margin: 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.upload-box {
  border: 1px dashed #cfdbc2;
  border-radius: 10px;
  padding: 22px;
  background: #fafcf7;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.upload-symbol {
  font-size: 26px;
  color: #749b5b;
}
.upload-box strong {
  display: block;
  font-size: 13px;
  margin-bottom: 7px;
}
.upload-box small {
  display: block;
  font-size: 10px;
  line-height: 1.6;
  color: #6a7760;
}
.upload-box input {
  font-size: 11px;
  max-width: 100%;
}
input[type="file"]::file-selector-button {
  border: 1px solid #d6e1cc;
  background: white;
  border-radius: 5px;
  padding: 8px 10px;
  font: inherit;
  color: #526e42;
  margin-right: 10px;
  cursor: pointer;
}
/* forer-13: the summary carries the disclosure's height (44 px to tap), so the
   padding around it is what is left of the former 15 px. */
details {
  font-size: 12px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
  padding: 3px 0;
}
details:where([open]) {
  padding-bottom: 15px;
}
details[open] > summary {
  margin-bottom: 4px;
}
summary {
  cursor: pointer;
  color: #58734a;
  font-weight: 550;
  min-height: 44px;
  padding-block: 12px;
  line-height: 20px;
}
details p {
  font-size: 12px;
  color: #788970;
  margin-bottom: 9px;
}
.import-help {
  margin: 20px 0 0;
  padding-bottom: 0;
}
code {
  font-size: 11px;
  background: #edf2e7;
  border-radius: 4px;
  padding: 2px 5px;
  color: #557344;
  overflow-wrap: anywhere;
}
.file-list {
  margin-top: 22px;
}
.file-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.file-row > div:first-child {
  min-width: 0;
  flex: 1;
}
.file-row strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.file-row small {
  display: block;
  font-size: 10px;
  color: #6d7a62;
  margin-top: 6px;
}
.file-row details {
  border: 0;
  padding: 10px 0 0;
  font-size: 10px;
}
.file-row details p {
  font-size: 10px;
}
.file-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hash {
  word-break: break-all;
  font-family: monospace;
}
.quality-note {
  font-size: 11px;
  color: #826e44;
  background: #fbf8ed;
  border: 1px solid #eee7cf;
  border-radius: 6px;
  padding: 10px 13px;
  margin: 12px 0;
  line-height: 1.6;
}
.jobs {
  padding: 0 0 14px;
}
.job-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #f7f9f3;
  padding: 13px;
  border-radius: 7px;
  margin: 7px 0;
  font-size: 11px;
  color: #67765d;
}
.job-row strong {
  color: #466337;
  font-size: 11px;
}
.job-row small {
  font-size: 10px;
}
.status-dot {
  height: 6px;
  width: 6px;
  display: inline-block;
  border-radius: 50%;
  background: #c7ba7e;
}
.status-dot.succeeded {
  background: #7ca35d;
}
.status-dot.failed {
  background: #c37b68;
}
.status-dot.running {
  background: #9abb65;
  animation: pulse 1s ease infinite alternate;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 20px 0;
}
.chart-header strong {
  display: block;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-top: 7px;
  font-variant-numeric: tabular-nums;
}
.chart-header strong small {
  font-size: 11px;
  letter-spacing: 0;
  color: #93a285;
  font-weight: 400;
}
.chart-header > .muted {
  font-size: 10px;
}
.chart svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #95a38a;
  margin-bottom: 20px;
  padding: 0 20px;
}
.analysis-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
  color: #67745d;
  padding: 20px 0;
}
.finding {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}
.finding-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.finding-number {
  width: 31px;
  height: 31px;
  flex: none;
  background: #eef4e5;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #5e734d;
  font-size: 11px;
}
.finding-heading .eyebrow {
  font-size: 8px;
  margin-bottom: 5px;
}
.finding h3 {
  font-size: 15px;
}
.finding p,
.finding ul {
  font-size: 12px;
  color: #65755a;
}
.finding .quiet-note {
  margin-top: 14px;
}
.finding details {
  margin-top: 15px;
}
.evidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 15px;
  background: #fafcf7;
  border-radius: 8px;
  margin-bottom: 17px;
}
.evidence-grid dd {
  font-size: 11px;
}
.ai-panel {
  background: #f3f6ed;
  border: 1px solid #e1ead7;
  border-radius: 10px;
  padding: 21px;
  margin: 15px 0 22px;
}
.ai-panel .section-head {
  margin-bottom: 10px;
}
.ai-panel p {
  font-size: 12px;
  color: #66735c;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  padding: 10px 13px;
  border-bottom: 1px solid var(--line);
}
th {
  color: #6a7960;
  font-weight: 500;
}
td {
  color: #526b43;
}
video {
  display: block;
  width: 100%;
  max-height: 540px;
  border-radius: 10px;
  background: #18211d;
}
.observation {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.observation p {
  font-size: 12px;
}
.observation small {
  color: #92a086;
  font-size: 10px;
}
.timecode {
  background: #eef4e5;
  border: 1px solid #dfe9d3;
  border-radius: 5px;
  padding: 8px 10px;
  color: #64834d;
  font-size: 10px;
  white-space: nowrap;
  align-self: flex-start;
  font-variant-numeric: tabular-nums;
}
.form-grid > .button {
  align-self: end;
  justify-self: start;
}
.form-grid > p {
  font-size: 11px;
}
.form-grid .field > label:has(input[type="checkbox"]) {
  font-weight: 400;
}
.field > input::placeholder,
.field > textarea::placeholder {
  font-size: 12px;
  color: #9aa68f;
}
.card h2 > a:hover {
  color: #5c853e;
}
@keyframes pulse {
  to {
    opacity: 0.3;
  }
}
@media (min-width: 1550px) {
  .hero {
    min-height: 320px;
  }
  .hero-copy {
    padding: 40px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .track-art {
    width: 45%;
  }
  .hero p {
    font-size: 13px;
  }
  .sidebar {
    width: 250px;
  }
  .workspace {
    margin-left: 250px;
  }
  .dashboard-grid {
    grid-template-columns: 1.6fr 1fr;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 205px;
    padding: 32px 15px 20px;
  }
  .brand {
    font-size: 25px;
    gap: 7px;
    letter-spacing: 2px;
  }
  .brand-mark {
    width: 25px;
    height: 28px;
    font-size: 25px;
  }
  .sidebar nav a {
    font-size: 11px;
    padding: 13px 10px;
    gap: 10px;
  }
  .workspace {
    margin-left: 205px;
  }
  main {
    padding: 30px 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .footer {
    padding: 0 28px 26px;
  }
  .hero-copy {
    padding: 28px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .track-art {
    opacity: 0.65;
  }
  .hero p {
    max-width: 330px;
  }
  .stat {
    padding: 21px 18px;
  }
  .stats-grid {
    gap: 15px;
  }
  .stat-number {
    font-size: 32px;
  }
  .stat-number small {
    font-size: 9px;
    margin-left: 5px;
  }
  .dashboard-grid {
    gap: 18px;
    grid-template-columns: 1.2fr 1fr;
  }
  .card {
    padding: 22px;
  }
  .section-head h2 {
    font-size: 16px;
  }
  .context-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  /* Tablets and phones: the sidebar becomes a top bar. Row one holds the brand
     and navigation; row two keeps the driver switcher and logout reachable. */
  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    inset: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 16px 28px 14px;
  }
  .brand {
    font-size: 23px;
    gap: 7px;
    letter-spacing: 2px;
    flex: none;
  }
  .brand-mark {
    width: 24px;
    height: 27px;
    font-size: 23px;
  }
  .beta,
  .season-label {
    display: none;
  }
  .sidebar nav {
    flex-direction: row;
    margin: 0;
    width: auto;
    gap: 4px;
  }
  .sidebar nav a {
    font-size: 0;
    gap: 0;
    justify-content: center;
    padding: 9px;
    border-radius: 6px;
  }
  .nav-icon {
    font-size: 20px;
    width: 20px;
  }
  .sidebar-bottom {
    flex: 1 1 100%;
    display: flex;
    align-items: center;
    gap: 10px 14px;
    margin-top: 0;
    padding-top: 12px;
    border-top: 1px solid #334035;
    min-width: 0;
  }
  .driver-label {
    flex: none;
    margin: 0;
  }
  .sidebar-bottom > form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 440px;
  }
  .driver-select {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 44px;
  }
  .switch-button {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #3e4b40;
    border-radius: 7px;
    white-space: nowrap;
  }
  .account {
    flex: none;
    margin: 0 0 0 auto;
    padding-top: 0;
    border-top: 0;
  }
  .account form {
    margin-left: 4px;
  }
  .logout {
    min-width: 44px;
    min-height: 44px;
  }
  .workspace {
    margin-left: 0;
  }
  .track-art {
    width: 50%;
    opacity: 0.4;
  }
  .hero-copy {
    width: 85%;
  }
  .auth-intro h1 {
    font-size: 43px;
  }
  .auth-layout {
    gap: 35px;
  }
  .auth-workspace main {
    padding: 45px 30px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    padding: 20px;
  }
  .session-row {
    gap: 10px;
  }
  .session-row .badge {
    display: none;
  }
  .hero-note {
    font-size: 9px;
  }
  .form-grid {
    gap: 17px;
  }
  .grid {
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    padding: 16px 20px 12px;
  }
  .sidebar-bottom {
    gap: 8px;
  }
  .driver-label,
  .account > div {
    display: none;
  }
  /* Without a driver profile there is room to show who is logged in. */
  .sidebar-bottom:not(:has(.driver-select)) .account {
    flex: 1 1 auto;
    margin-left: 0;
  }
  .sidebar-bottom:not(:has(.driver-select)) .account > div {
    display: block;
  }
  .sidebar-bottom:not(:has(.driver-select)) .account form {
    margin-left: auto;
  }
  .topbar {
    height: 51px;
    padding: 0 20px;
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .topbar-slash {
    margin: 0 5px;
  }
  .season-chip {
    font-size: 8px;
    padding: 6px 8px;
  }
  .season-chip i {
    height: 4px;
    width: 4px;
  }
  main {
    padding: 27px 20px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
  }
  .page-heading h1 {
    font-size: 30px;
    letter-spacing: -1.1px;
  }
  .page-heading .button {
    min-height: 37px;
    padding: 10px 12px;
    font-size: 10px;
    gap: 5px;
  }
  .subheading {
    font-size: 12px;
    margin-top: 10px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .hero {
    min-height: 298px;
    border-radius: 12px;
    margin-bottom: 18px;
  }
  .hero-copy {
    padding: 26px 24px;
    width: 100%;
  }
  .hero h2 {
    font-size: 28px;
    max-width: 340px;
  }
  .hero p {
    font-size: 12px;
    max-width: 300px;
  }
  .hero-kicker {
    font-size: 8px;
    margin-bottom: 20px;
  }
  .track-art {
    width: 80%;
    top: auto;
    opacity: 0.16;
  }
  .hero-note {
    font-size: 9px;
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 22px;
  }
  .stat {
    padding: 15px 12px;
    border-radius: 10px;
  }
  .stat-label {
    font-size: 7px;
    letter-spacing: 0.7px;
    line-height: 1.7;
    min-height: 24px;
  }
  .stat-label > span {
    display: none;
  }
  .stat-number {
    font-size: 28px;
    letter-spacing: -1px;
    margin: 10px 0 8px;
  }
  .stat-number small {
    display: block;
    font-size: 8px;
    letter-spacing: 0;
    margin: 5px 0 0;
  }
  .stat p {
    font-size: 8px;
    line-height: 1.7;
  }
  .dashboard-grid,
  .grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .dashboard-grid .card {
    margin-bottom: 0;
  }
  .card {
    padding: 21px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .section-head {
    gap: 12px;
    margin-bottom: 20px;
  }
  .section-head h2 {
    font-size: 17px;
  }
  .section-head .button {
    font-size: 10px;
    padding: 10px 12px;
    min-height: 35px;
    gap: 7px;
  }
  .section-head .badge {
    white-space: normal;
    max-width: 120px;
  }
  .session-row .badge {
    display: inline-flex;
    font-size: 8px;
  }
  .empty-state {
    padding: 27px 0;
  }
  .journey {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 13px;
  }
  .journey li {
    padding: 0 !important;
    gap: 10px;
  }
  .journey li:before {
    display: none;
  }
  .journey strong {
    font-size: 11px;
  }
  .journey p {
    font-size: 9px;
    margin-top: 5px;
  }
  .journey li > span {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }
  .journey-card .quiet-note {
    margin-top: 22px;
  }
  .footer {
    padding: 0 20px 25px;
    font-size: 8px;
    line-height: 1.5;
  }
  .demo-prompt {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .demo-prompt p {
    font-size: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .form-footer {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .form-footer .text-link {
    margin-right: auto;
  }
  .form-footer .muted {
    font-size: 11px;
  }
  .field input,
  .field textarea,
  .field select {
    font-size: 16px;
  }
  .field label,
  .field legend {
    font-size: 12px;
  }
  .form-card {
    padding: 23px;
  }
  .auth-workspace .topbar {
    padding: 0 20px;
  }
  .auth-workspace .topbar > span:first-child {
    font-size: 0;
  }
  .auth-workspace .topbar > span:first-child:before {
    font-size: 21px;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .auth-workspace main {
    padding: 34px 20px;
  }
  .auth-intro h1 {
    font-size: 39px;
    margin-bottom: 15px;
  }
  .auth-intro .badge {
    margin-top: 16px;
  }
  .auth-card {
    padding: 25px;
    margin-bottom: 0;
  }
  .auth-card .form-stack {
    gap: 18px;
  }
  .tabs {
    gap: 20px;
    padding-bottom: 15px;
  }
  .tabs a {
    font-size: 10px;
  }
  .context-grid {
    gap: 20px 14px;
  }
  .context-grid dt {
    font-size: 9px;
  }
  .context-grid dd {
    font-size: 11px;
  }
  .upload-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .upload-box {
    padding: 19px;
  }
  .upload-box input {
    font-size: 12px;
  }
  .file-row {
    flex-direction: column;
    gap: 12px;
  }
  .file-actions {
    flex-direction: row;
    gap: 22px;
  }
  .file-row details {
    padding-top: 9px;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .analysis-meta {
    gap: 9px;
    padding: 17px 0;
  }
  .finding-heading {
    gap: 11px;
  }
  .finding h3 {
    font-size: 14px;
  }
  .chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .chart-header strong {
    font-size: 27px;
  }
  .observation {
    gap: 12px;
    flex-direction: column;
  }
  .timecode {
    font-size: 11px;
  }
  .demo-banner {
    font-size: 10px;
  }
  .row-between {
    align-items: flex-start;
  }
  .row-between > span {
    font-size: 12px;
  }
  .card > h2 {
    font-size: 21px;
  }
  .topbar span:first-child {
    max-width: 70%;
  }
  .page-heading > .badge.large {
    max-width: 90px;
    font-size: 8px;
    white-space: normal;
  }
  .section-head > div {
    min-width: 0;
  }
  video {
    min-height: 180px;
  }
  .evidence p {
    overflow-wrap: anywhere;
  }
  .grid + .grid {
    margin-top: 20px;
  }
  .grid > section.card {
    margin: 0;
  }
  .full-width {
    grid-column: auto;
  }
  .auth-workspace .footer {
    padding: 0 20px 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.focus-panel {
  border: 1px solid #d9e6c9;
  background: #f5f9ed;
  padding: 20px;
  border-radius: 10px;
  margin: 20px 0;
}
.focus-panel h3 {
  margin: 5px 0 12px;
}
.focus-panel p {
  font-size: 12px;
  margin-bottom: 12px;
}
.focus-panel small {
  font-size: 10px;
  line-height: 1.7;
  display: block;
  overflow-wrap: anywhere;
}

.icon-arrow {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  flex: none;
}
.brand-mark .icon-arrow {
  width: 25px;
  height: 25px;
}
.nav-icon .icon-arrow {
  width: 19px;
  height: 19px;
}
.round-icon .icon-arrow {
  width: 17px;
  height: 17px;
}
.arrow .icon-arrow {
  width: 17px;
  height: 17px;
}

.error-page {
  max-width: 640px;
  margin: 24px auto 40px;
  padding: 40px;
}
.error-page h1 {
  margin-bottom: 16px;
}
.error-page p {
  margin-bottom: 26px;
}
@media (max-width: 700px) {
  .error-page {
    margin-top: 0;
    padding: 26px 22px;
  }
  .error-page h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }
}

/* === W2: import og analyse === */
.paste-laps {
  margin-top: 20px;
}
.paste-laps textarea,
.paste-form textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
}
.import-flag {
  display: inline-block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.4px;
  color: #3f5b41;
  background: #eef4e5;
  border-radius: 999px;
  padding: 3px 10px;
  margin: 8px 6px 0 0;
}
.import-flag.experimental {
  color: #7a5320;
  background: #fbf1df;
}
.mapping-lines {
  margin: 0 0 8px;
  font-size: 10px;
}
.stale-warning {
  border: 1px solid #e8c9a6;
  background: #fdf5ea;
  color: #6d4a1f;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 18px;
}
.stale-warning strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.stale-warning ul {
  font-size: 12px;
  margin: 6px 0;
}
.stale-warning p {
  font-size: 12px;
  margin-bottom: 12px;
}
.stale-inline {
  color: #7a5320;
  font-weight: 600;
}
.summary-item .summary-tag-stale {
  color: #7a5320;
  font-weight: 600;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 10px;
}
.metric {
  background: #f7f9f3;
  border-radius: 8px;
  padding: 12px;
  min-width: 0;
}
.metric dt {
  font-size: 10px;
  color: #677560;
  margin-bottom: 6px;
}
.metric dd {
  margin: 0;
  font-size: 18px;
  font-weight: 620;
  color: #24382b;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.metric dd small {
  font-size: 10px;
  font-weight: 400;
  color: #67745d;
}
.metric-note,
.excluded-note {
  font-size: 11px;
  color: #65755a;
  margin: 0 0 12px;
}
.excluded-note {
  border-left: 3px solid #d6a35c;
  padding-left: 10px;
}
.lap-chart {
  margin: 16px 0 6px;
}
.lap-chart-svg,
.trend-chart {
  display: block;
  width: 100%;
  height: auto;
  font-family: inherit;
}
.lap-chart-wide {
  display: none;
}
.chart-grid line {
  stroke: #e5eae4;
  stroke-width: 1;
}
.chart-grid .chart-axis {
  stroke: #c9d3c3;
}
.chart-y-label,
.chart-x-label,
.chart-axis-title {
  fill: #677560;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.chart-axis-title {
  font-size: 9px;
}
.chart-median {
  stroke: #869087;
  stroke-width: 1.2;
  stroke-dasharray: 5 4;
}
.chart-line {
  fill: none;
  stroke: #305f44;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chart-point {
  fill: #305f44;
}
.chart-point.chart-excluded,
.chart-clipped {
  fill: #fff;
  stroke: #b07a3c;
  stroke-width: 1.6;
}
.chart-point.chart-best {
  fill: #9bd15f;
  stroke: #19241e;
  stroke-width: 1.6;
}
.chart-best-label {
  fill: #24382b;
  font-size: 10px;
  font-weight: 650;
}
.chart-clipped-label {
  fill: #8a5a24;
  font-size: 9px;
}
.chart-best-label,
.chart-clipped-label {
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 3px;
  stroke-linejoin: round;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 10px;
  color: #677560;
  margin: 8px 0 14px;
}
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #305f44;
  display: inline-block;
}
.legend-dot.excluded {
  background: #fff;
  border: 1.6px solid #b07a3c;
}
.legend-dot.best {
  background: #9bd15f;
  border: 1.6px solid #19241e;
}
.legend-line {
  width: 18px;
  border-top: 2px dashed #869087;
  display: inline-block;
}
.legend-line.solid {
  border-top: 2px solid #305f44;
}
tr.is-excluded td {
  color: #a0aa98;
}
tr.is-top td,
tr.is-current td {
  background: #f3f8ea;
  font-weight: 620;
}
td.is-best {
  background: #e3f2cf;
  color: #24382b;
  font-weight: 650;
}
.sector-table th,
.sector-table td {
  padding: 10px 8px;
  font-variant-numeric: tabular-nums;
}
table.wrap-last td:last-child,
table.wrap-last td:nth-last-child(2) {
  white-space: normal;
  min-width: 90px;
}
.sector-table td small {
  display: block;
  font-size: 9px;
  color: #67745d;
}
.file-actions .text-link,
.file-actions .text-button,
.form-footer > .text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.sector-block,
.trend-block {
  border-top: 1px solid var(--line);
  padding: 20px 0 6px;
  margin-top: 8px;
}
.sector-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
  margin-bottom: 8px;
}
.sector-head .muted {
  font-size: 11px;
}
.sector-block > p,
.trend-block > p {
  font-size: 11px;
  margin-bottom: 10px;
}
.ideal-lap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 8px;
}
.ideal-lap div {
  background: #f7f9f3;
  border-radius: 8px;
  padding: 10px 12px;
}
.ideal-lap dt {
  font-size: 10px;
  color: #677560;
  margin-bottom: 4px;
}
.ideal-lap dd {
  margin: 0;
  font-size: 15px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
}
.ideal-lap dd small {
  font-size: 10px;
  font-weight: 400;
  color: #67745d;
}
.trend-chart {
  max-width: 560px;
  margin: 6px 0 4px;
}
.trend-best {
  fill: none;
  stroke: #305f44;
  stroke-width: 2.2;
}
.trend-median {
  fill: none;
  stroke: #869087;
  stroke-width: 1.6;
  stroke-dasharray: 5 4;
}
.trend-dot.best {
  fill: #305f44;
}
.trend-dot.median {
  fill: #fff;
  stroke: #869087;
  stroke-width: 1.4;
}
.trend-dot.best.current {
  fill: #9bd15f;
  stroke: #19241e;
  stroke-width: 1.6;
}
.confounders {
  margin-top: 14px;
}
.confounders strong {
  font-size: 12px;
}
.confounders ul {
  font-size: 12px;
  margin: 6px 0 10px;
}
.confounders li {
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}
.confounders p {
  font-size: 11px;
}
.confounder-date {
  font-weight: 620;
  margin-right: 6px;
}
.focus-potential {
  font-weight: 620;
  color: #2f4a33;
}
.focus-limits {
  font-size: 11px;
  color: #65755a;
  margin: 0 0 10px;
}
.focus-gaps ul {
  font-size: 12px;
  margin: 6px 0 0;
}
.experimental-warning {
  border: 1px solid #e8c9a6;
  background: #fdf5ea;
  color: #6d4a1f;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 18px;
}
.experimental-warning p {
  font-size: 12px;
  margin-top: 6px;
}
.file-lines {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.file-lines li {
  padding: 3px 0;
  border-bottom: 1px solid #eef2ea;
}
.line-number {
  display: inline-block;
  min-width: 2.5em;
  color: #9aa68f;
}
.suggestion {
  font-size: 9px;
  font-weight: 650;
  color: #3f5b41;
  background: #e3f2cf;
  border-radius: 999px;
  padding: 2px 7px;
  margin-left: 4px;
}
.columns-table td:last-child {
  white-space: normal;
  min-width: 160px;
}
.kind-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.kind-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d8e0d4;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #334534;
  background: #fff;
}
.kind-switch a.active {
  background: #24382b;
  border-color: #24382b;
  color: #fff;
}
.sub-label {
  margin-top: 4px;
  font-weight: 400 !important;
  font-size: 11px !important;
}
.checkbox-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.checkbox-columns .checkbox-row {
  min-height: 44px;
}
.mapping-form > .checkbox-row,
.paste-form .checkbox-row {
  min-height: 44px;
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.format-list {
  font-size: 12px;
  color: #627359;
  margin: 0;
}
@media (min-width: 701px) {
  .lap-chart-compact {
    display: none;
  }
  .lap-chart-wide {
    display: block;
    max-width: 960px;
  }
}
@media (max-width: 900px) {
  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric dd {
    font-size: 16px;
  }
  .ideal-lap {
    gap: 6px;
  }
  .ideal-lap div {
    padding: 8px;
  }
  .ideal-lap dd {
    font-size: 13px;
  }
  .kind-switch a {
    flex: 1 1 100%;
  }
  .button-row,
  .button-row .button {
    width: 100%;
  }
}

/* === W3: konto, deling og personvern === */
.settings-section {
  scroll-margin-top: 20px;
}
.settings-heading {
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #617654;
  margin: 30px 0 14px;
}
.settings-section:first-of-type .settings-heading {
  margin-top: 6px;
}
.settings-actions,
.heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.settings-actions {
  margin-top: 14px;
}
.heading-actions {
  justify-content: flex-end;
}
.settings-actions .button,
.heading-actions .button,
.team-row .button {
  min-height: 44px;
}
.button.danger-link {
  color: #8a352e;
}
.team-row {
  flex-wrap: wrap;
  padding: 6px 0;
}
.team-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.shared-note {
  margin-top: 10px;
  font-size: 12px;
  color: #617654;
}
.consent-row {
  align-items: flex-start !important;
  min-height: 44px;
  line-height: 1.6;
}
.consent-row input {
  margin-top: 3px;
}
.invitation-link .invitation-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.narrow-card {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.consequence-list {
  margin: 18px 0 22px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.8;
}
.prose-page {
  max-width: 820px;
  margin: 0 auto 24px;
}
.prose-page h1 {
  margin-bottom: 18px;
}
.prose-page h2 {
  font-size: 18px;
  margin: 28px 0 10px;
}
.prose-page p,
.prose-page li {
  font-size: 13px;
  line-height: 1.75;
}
.prose-page p + p {
  margin-top: 10px;
}
.prose-page ul {
  padding-left: 18px;
}
.prose-page li + li {
  margin-top: 6px;
}
.prose-facts {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 8px 18px;
  font-size: 13px;
  line-height: 1.6;
}
.prose-facts dt {
  color: #617654;
}
.prose-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: inherit;
}
.help-text,
.help-text li {
  font-size: 11px;
  color: #6c7867;
  line-height: 1.6;
}
.help-text ul {
  padding-left: 16px;
}
@media (max-width: 700px) {
  .page-heading:has(.heading-actions) {
    flex-wrap: wrap;
  }
  .heading-actions {
    justify-content: flex-start;
  }
  .heading-actions .button {
    min-height: 44px;
  }
  .prose-facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .prose-facts dd {
    margin-bottom: 8px;
  }
  .team-row form,
  .team-row .settings-actions {
    width: 100%;
  }
}

/* === W1: treningsoppgaver og utvikling === */
.task-head h1 {
  overflow-wrap: anywhere;
}
.task-timeline {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.task-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-top: 10px;
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
.task-step.is-done {
  border-top-color: var(--green);
  color: var(--text);
}
.task-step.is-current {
  border-top-color: #9cc66a;
  color: var(--ink);
}
.task-step-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 10px;
  flex: none;
}
.task-step.is-done .task-step-dot {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.task-step.is-current .task-step-dot {
  background: var(--lime);
  border-color: #9cc66a;
}
.task-step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.task-step-text small {
  font-size: 10px;
  color: var(--muted);
}
.task-now.is-waiting {
  border-left: 4px solid #9cc66a;
}
.task-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.task-actions .button,
.practice-link-form .button {
  white-space: normal;
  text-align: center;
}
.task-due,
.task-flag {
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin: 12px 0;
}
.task-due {
  background: #fff5d9;
  border: 1px solid #ecdeaa;
  color: #77621f;
}
.task-flag {
  background: #fcf0eb;
  border: 1px solid #ead1c9;
  color: #8d4532;
}
.task-tag {
  display: inline-block;
  margin-right: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #eef4e5;
  color: #4c6b3b;
  font-size: 11px;
}
.task-facts {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 12px;
}
.task-facts div {
  display: grid;
  grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
  gap: 10px;
}
.task-facts dt {
  color: var(--muted);
}
.task-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.task-form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.task-counts {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.task-counts li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.task-counts li.is-due {
  background: #fff5d9;
  border-color: #ecdeaa;
}
.task-waiting {
  font-size: 12px;
}
.task-waiting.is-waiting strong {
  color: #4c6b3b;
}
.development-task .row-between {
  flex-wrap: wrap;
}
.development-task h3 {
  min-width: 0;
  overflow-wrap: anywhere;
}
.development-task .task-timeline {
  margin: 14px 0;
}
.practice-links {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 8px;
  font-size: 12px;
}
.practice-links li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.practice-waiting {
  margin-bottom: 20px;
}
.practice-link-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}
.practice-link-form span {
  min-width: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .task-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .task-step {
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
    border-top: 0;
    border-left: 3px solid var(--line);
    padding-left: 10px;
  }
  .task-step.is-done {
    border-left-color: var(--green);
  }
  .task-step.is-current {
    border-left-color: #9cc66a;
  }
  .task-facts div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .task-actions .button,
  .practice-link-form .button {
    width: 100%;
    min-height: 44px;
  }
}
/* Tap targets of at least 44 px for the training forms and disclosures. */
#practice .checkbox-row,
.task-page .checkbox-row {
  min-height: 44px;
  padding: 6px 0;
}
/* The summary already gives each disclosure its height: no extra padding, and
   no divider above a disclosure that is alone in its card. */
.task-page details.evidence {
  padding-block: 0;
}
.task-page .card > details:only-child {
  border-top: 0;
  padding-block: 0;
}
#practice > .quiet-note,
#practice > .task-flag {
  margin-bottom: 18px;
}

/* === W4: arbeidsflate, video, mobil og oversikt === */
[hidden] {
  display: none !important;
}
.danger-text {
  color: #8a352e;
}
.session-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  min-height: 44px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.15s;
}
.summary-item:hover {
  border-color: #c9d8bb;
}
.summary-primary {
  background: #1c2a22;
  border-color: #1c2a22;
  color: #f4f6f0;
}
.summary-primary:hover {
  border-color: var(--lime);
}
.summary-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #6e796b;
}
.summary-primary .summary-label,
.summary-item.summary-primary small {
  color: #a8b6a7;
}
.summary-item strong {
  font-size: 24px;
  font-weight: 620;
  letter-spacing: -0.8px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.summary-item strong small {
  font-size: 12px;
  letter-spacing: 0;
}
.summary-primary strong {
  color: var(--lime);
}
.summary-item .summary-text {
  font-size: 15px;
  letter-spacing: -0.2px;
}
.summary-item .summary-empty {
  color: #c5cfc0;
}
.summary-item .is-warning {
  color: #8a5a1c;
}
.summary-item > small {
  font-size: 10px;
  line-height: 1.5;
  color: #6e7968;
  overflow-wrap: anywhere;
}
.section-nav {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  gap: 4px;
  margin: 0 0 18px;
  padding: 6px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 620;
  color: #64755b;
  white-space: nowrap;
}
.section-nav a:hover {
  background: #edf2e7;
}
.section-nav a.is-current {
  background: #24382b;
  color: #fff;
}
.workspace-section {
  scroll-margin-top: 72px;
}
.section-toggle {
  display: none;
}
.upload-grid .paste-laps {
  margin-top: 0;
}
.upload-box .form-stack {
  width: 100%;
  gap: 12px;
}
.upload-box label strong {
  display: block;
}
.upload-box textarea {
  width: 100%;
  min-height: 86px;
  background: #fff;
  border: 1px solid #dce4d5;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #24382b;
  resize: vertical;
}
.upload-box .button {
  min-height: 44px;
}
.upload-box .form-stack .button {
  align-self: flex-start;
}
.upload-progress {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  width: 100%;
  font-size: 12px;
  color: #466132;
}
.upload-progress progress {
  flex: 1 1 100%;
  height: 10px;
  accent-color: #426a35;
}
.upload-progress.is-error {
  color: #9d4b37;
}
.upload-progress .text-button {
  min-height: 44px;
}
.file-row .file-actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0 18px;
}
.file-actions .text-link,
.file-actions .text-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.section-head .button,
.stale-warning .button {
  min-height: 44px;
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 540px;
  border-radius: 10px;
  background: #18211d;
}
.video-frame video {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  object-fit: contain;
}
.video-dock {
  height: 100%;
}
.dock-bar {
  display: none;
}
.video-frame.has-docked::after {
  content: "Videoen spilles i det lille vinduet nederst.";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: #a8b6a7;
}
.video-dock.is-docked {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: min(420px, calc(100vw - 32px));
  height: auto;
  padding: 6px;
  border-radius: 12px;
  background: #18211d;
  box-shadow: 0 12px 40px rgb(10 20 14 / 35%);
}
.video-dock.is-docked video {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}
.video-dock.is-docked .dock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 4px 0 8px;
  color: #c8d4c3;
  font-size: 11px;
}
.dock-bar span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dock-close {
  flex: none;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #3e4b40;
  border-radius: 7px;
  background: transparent;
  color: #e3e9df;
  font-size: 11px;
}
.video-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 12px 0 6px;
}
.video-time {
  font-size: 15px;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  color: #24382b;
}
.step-buttons,
.nudge-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.step-button {
  min-width: 56px;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #d8e0d4;
  border-radius: 7px;
  background: #fff;
  color: #334534;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step-button:hover {
  background: #eef4e9;
}
.field .use-time {
  align-self: flex-start;
  min-height: 44px;
}
.video-list {
  margin: 18px 0 6px;
}
.video-list .eyebrow {
  margin-bottom: 4px;
}
.video-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0 12px 12px;
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.video-row.is-active {
  border-left-color: #8fbf5c;
}
.video-row.single {
  margin-top: 14px;
}
.video-row > div:first-child {
  min-width: 0;
}
.video-row strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.video-row small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #6d7a62;
}
.video-row .file-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  justify-content: flex-end;
}
.active-badge {
  background: #24382b;
  border-color: #24382b;
  color: #fff;
}
.video-upload {
  margin-top: 22px;
}
.timecode {
  min-height: 44px;
}
.status-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid #e3e8dd;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  color: #6d7964;
  background: #fff;
}
.status-chip.is-on {
  border-color: #d3e3c3;
  background: #eef6e4;
  color: #4d6d3a;
}
.status-chip.is-stale {
  border-color: #ecdeaa;
  background: #fff5d9;
  color: #7a5320;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -6px 0 18px;
  font-size: 12px;
  color: #52634d;
}
.filter-bar select {
  min-height: 44px;
  min-width: 0;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid #dce4d5;
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
  color: #24382b;
}
.month-group {
  padding-top: 20px;
  padding-bottom: 8px;
}
.month-heading {
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 4px;
}
.month-heading .muted {
  font-weight: 450;
}
.dashboard-shared {
  margin: -16px 0 22px;
}
.next-actions {
  margin-bottom: 24px;
}
.next-actions .section-head {
  margin-bottom: 8px;
}
.action-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.action-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 16px 14px;
  border-top: 1px solid var(--line);
  border-left: 3px solid transparent;
}
.action-item:first-child {
  border-top: 0;
}
.action-item.is-mine {
  border-left-color: #8fbf5c;
}
.action-item > div {
  min-width: 0;
}
.action-item strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.action-item p {
  font-size: 12px;
  color: #65755a;
  margin-top: 2px;
}
.waits-on {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5eb;
  color: #5d7650;
  font-size: 10px;
  font-weight: 600;
}
.action-item.is-mine .waits-on {
  background: #24382b;
  color: #fff;
}
.following-card {
  margin-top: 24px;
}
.follow-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.follow-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  min-height: 44px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.follow-list strong {
  font-size: 13px;
}
.follow-list small {
  color: #6e7968;
  font-size: 11px;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.overview-grid > .card {
  margin-bottom: 0;
}
.overview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.overview-row > span:first-child {
  min-width: 0;
}
.overview-row strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.overview-row small {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: #6e7968;
}
.due-chip {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f5eb;
  color: #4d6d3a;
  font-size: 10px;
  font-weight: 650;
}
.due-chip.is-late {
  background: #fcf0eb;
  color: #9d4b37;
}
.driver-card {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.driver-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.driver-card-head > div {
  min-width: 0;
}
.driver-card strong {
  font-size: 15px;
}
.driver-card small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #6e7968;
  overflow-wrap: anywhere;
}
.driver-card .help-text {
  margin-top: 10px;
}
@media (max-width: 900px) {
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 700px) {
  .session-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .summary-item {
    padding: 12px;
  }
  .summary-item strong {
    font-size: 20px;
  }
  .summary-item .summary-text {
    font-size: 13px;
  }
  .section-nav {
    margin: 0 -20px 16px;
    padding: 6px 20px;
    gap: 2px;
  }
  .section-nav a {
    flex: 1 0 auto;
    justify-content: center;
    padding: 0 10px;
  }
  .workspace-section {
    scroll-margin-top: 64px;
  }
  .section-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    min-width: 64px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d8e0d4;
    border-radius: 7px;
    background: #fff;
    color: #334534;
    font-size: 12px;
    font-weight: 600;
  }
  /* Title and show/hide toggle share the first row; badges and actions follow. */
  .workspace-section > .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }
  .workspace-section > .section-head > div:first-child {
    grid-row: 1;
    grid-column: 1;
  }
  .workspace-section > .section-head > .section-toggle {
    grid-row: 1;
    grid-column: 2;
  }
  .workspace-section > .section-head > :not(:first-child):not(.section-toggle) {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: none;
  }
  /* The session form's number fields in pairs. Not «Neste økt», where each
     field is a stepper with two 56 px buttons (pilot-3: the value was hidden). */
  .form-grid:not(.depot-change-grid):has([name="sprocket_front"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-grid:not(.depot-change-grid):has([name="sprocket_front"]) > * {
    grid-column: 1 / -1;
  }
  .form-grid:not(.depot-change-grid):has([name="sprocket_front"])
    > .field:has(input[type="number"]) {
    grid-column: auto;
  }
  .workspace-section.is-collapsed > :not(.section-head) {
    display: none !important;
  }
  .workspace-section.is-collapsed > .section-head {
    margin-bottom: 0;
  }
  .section-head .button {
    min-height: 44px;
  }
  .video-frame {
    border-radius: 8px;
  }
  .video-dock.is-docked {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
  .video-tools {
    justify-content: flex-start;
  }
  .step-buttons,
  .nudge-buttons {
    width: 100%;
  }
  .step-button {
    flex: 1 1 0;
    min-width: 0;
  }
  .video-row {
    flex-direction: column;
    gap: 8px;
  }
  .video-row .file-actions {
    justify-content: flex-start;
  }
  .file-row .file-actions {
    justify-content: flex-start;
    gap: 0 22px;
  }
  .action-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .action-item .button {
    align-self: flex-start;
  }
  .dashboard-shared {
    margin: -10px 0 18px;
  }
  .driver-card .settings-actions .button {
    flex: 1 1 calc(50% - 10px);
  }
}

/* === gate0: påstandsregister ({% claim %} fra core/claims.py) === */
.claim-status {
  display: inline-block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.5px;
  line-height: 1.4;
  padding: 1px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  vertical-align: 1px;
  white-space: nowrap;
}
.claim-status-bekreftet {
  color: #2f5a3a;
  background: #eef6e8;
}
.claim-status-eksperimentell {
  color: #7a5320;
  background: #fbf1df;
}
.claim-status-ikke-verifisert {
  color: #8a352e;
  background: #fcf0eb;
}
.claim-status-ukjent {
  color: #4f5a52;
  background: #f1f3ef;
}
.claim-label {
  font-weight: 650;
}
.claim-lines {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: #4f5a52;
}
.claim-lines .claim {
  display: block;
}

/* ------------------------------------------------------------------------- */
/* === seam:sammenlign === */
/* Stiler fra «sammenlign» legges her, med klasseprefiks «sammenlign-». */
.sammenlign-fieldset {
  min-width: 0;
  margin: 0;
}
.sammenlign-fieldset > legend {
  font-size: 13px;
  font-weight: 620;
  color: #24382b;
}
.sammenlign-fieldset > .form-grid {
  margin-top: 6px;
}
.sammenlign-fieldset > p,
.sammenlign-hint {
  margin: 12px 0 0;
  line-height: 1.6;
}
.sammenlign-hint {
  align-self: end;
}
.sammenlign-section {
  margin-bottom: 18px;
}
.sammenlign-section h2 {
  margin-bottom: 8px;
}
.sammenlign-track {
  border-top: 1px solid var(--line);
  padding: 12px 0 4px;
}
.sammenlign-track .row-between {
  flex-wrap: wrap;
  margin: 0 0 6px;
}
.sammenlign-track h3 {
  font-size: 15px;
  margin: 0;
}
.sammenlign-layouts,
.sammenlign-corner-list,
.sammenlign-history {
  margin: 8px 0 4px;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 12px;
}
.sammenlign-layouts li a,
.sammenlign-layouts li .text-link {
  margin-right: 6px;
}
.sammenlign-badge {
  white-space: normal;
}
.sammenlign-badge.is-verified {
  background: #e6f3d6;
  border-color: #c9e0ac;
  color: #315a40;
}
.sammenlign-badge.is-proposed {
  background: #fff5d9;
  border-color: #ecdeaa;
  color: #6b4a1c;
}
.sammenlign-submit {
  justify-content: flex-end;
}
.sammenlign-submit .button,
.sammenlign-link-form .button,
.sammenlign-compare-form .button {
  min-height: 44px;
}
.sammenlign-corners input {
  min-height: 44px;
  width: 100%;
  min-width: 3.5em;
  border: 1px solid #dce4d5;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fafcf7;
}
.sammenlign-corners td:first-child {
  width: 5em;
}
.sammenlign-corners td,
.sammenlign-corners th {
  white-space: normal;
}
.sammenlign-corners .button {
  margin-top: 12px;
}
.sammenlign-group form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}
.sammenlign-link-form .field {
  flex: 1 1 260px;
}
.sammenlign-propose-form {
  margin-top: 8px;
}
.sammenlign-propose-form .text-button {
  min-height: 44px;
  white-space: normal;
}
.sammenlign-tyre > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.sammenlign-tyre-meta {
  flex-basis: 100%;
}
.sammenlign-changes .sammenlign-change-list {
  margin: 10px 0;
  padding-left: 20px;
  line-height: 1.9;
  font-size: 13px;
}
.sammenlign-unknown {
  font-size: 12px;
  margin: 0 0 12px;
}
.sammenlign-compare-form {
  margin: 16px 0 0;
}
.sammenlign-laps th,
.sammenlign-laps td {
  white-space: normal;
  vertical-align: top;
}
.sammenlign-laps tr.is-excluded th,
.sammenlign-laps tr.is-excluded td {
  color: #56624f;
  background: #fafbf7;
}
.sammenlign-laps td:nth-child(2) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sammenlign-laps td:last-child {
  min-width: 12em;
}
.sammenlign-chips {
  margin-top: 4px;
}
.sammenlign-chips [role="group"] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sammenlign-more {
  margin-top: 2px;
}
.sammenlign-more > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 620;
  color: #3f5b41;
  cursor: pointer;
}
.sammenlign-more[open] > summary {
  margin-bottom: 6px;
}
.sammenlign-tag-by {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #5f4118;
}
.sammenlign-chip {
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid #cfdac6;
  border-radius: 22px;
  background: #fff;
  color: #2f4a34;
  font-size: 12px;
  font-weight: 560;
  cursor: pointer;
}
.sammenlign-chip[aria-pressed="true"] {
  background: #315a40;
  border-color: #315a40;
  color: #fff;
}
.sammenlign-chip:focus-visible {
  outline: 3px solid #8ba374;
  outline-offset: 2px;
}
.sammenlign-chip:disabled {
  opacity: 0.6;
}
.sammenlign-tag {
  display: inline-block;
  margin: 0 6px 4px 0;
  padding: 4px 9px;
  border-radius: 12px;
  background: #fff5d9;
  color: #5f4118;
  font-size: 11px;
  font-weight: 600;
}
.sammenlign-tag small {
  font-weight: 400;
}
.sammenlign-job-live {
  font-size: 12px;
  color: #3f5b41;
  margin: 0 0 8px;
}
.sammenlign-job-live:empty {
  display: none;
}
.sammenlign-job-reload {
  margin-bottom: 10px;
  min-height: 44px;
}
@media (max-width: 700px) {
  .sammenlign-laps th,
  .sammenlign-laps td {
    padding: 8px 6px;
  }
  .sammenlign-laps td:last-child {
    min-width: 0;
  }
  .sammenlign-link-form .field {
    flex-basis: 100%;
  }
  .sammenlign-fieldset .sammenlign-setup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
  .sammenlign-setup-grid > .field:first-child,
  .sammenlign-setup-grid > .full-width,
  .sammenlign-setup-grid > .sammenlign-hint {
    grid-column: 1 / -1;
  }
}
/* === slutt seam:sammenlign === */

/* ------------------------------------------------------------------------- */
/* === seam:trening === */
/* Stiler fra «trening» legges her, med klasseprefiks «trening-». */
/* trening.js hides unused fields with [hidden]; .field's display must not win. */
.trening-picker-new[hidden],
[data-trening-sector][hidden],
[data-trening-print][hidden] {
  display: none !important;
}
.trening-picker,
.trening-picker-new {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.trening-plan,
.trening-focus-fields {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  margin: 0;
}
.trening-plan > p {
  font-size: 13px;
}
.trening-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px 16px;
  margin-top: 12px;
}
.trening-baseline {
  margin-top: 8px;
  font-weight: 620;
  color: var(--green);
}
.trening-skill-line {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.trening-conflict {
  margin-top: 10px;
  border-left: 3px solid #a35f00;
  padding: 6px 10px;
  background: #fff6e5;
  color: #5c3a00;
  font-size: 13px;
}
.trening-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.trening-filter a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid #c9d3c4;
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
}
.trening-filter a[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  font-weight: 620;
}
.trening-group .muted {
  overflow-wrap: anywhere;
}
.trening-text-grouped {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 10px;
  border: 1px dashed #8a968b;
  border-radius: 999px;
  font-size: 12px;
  color: #4b564d;
}
.trening-stages {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 4px;
  font-size: 14px;
}
.trening-link {
  margin: 12px 0;
}
.trening-link summary,
.trening-catalogue summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
.trening-skill .row-between {
  gap: 10px;
  align-items: flex-start;
}
.trening-logistics {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.trening-measure p {
  font-size: 14px;
}
.trening-stored-measure {
  margin: 10px 0;
  padding: 8px 12px;
  border-left: 3px solid var(--green);
  background: #f2f6ef;
}
.trening-result h3 {
  margin-top: 14px;
}
.trening-table-wrap {
  max-width: 100%;
}
.trening-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
  /* The global table rule keeps cells on one line; these cells wrap. */
  white-space: normal;
}
.trening-table th,
.trening-table td {
  text-align: left;
  padding: 6px 6px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--text);
  font-weight: 400;
  overflow-wrap: break-word;
  hyphens: auto;
}
.trening-table thead th {
  font-size: 12px;
  color: #4b564d;
}
.trening-table .is-excluded th,
.trening-table .is-excluded td {
  color: #5d665f;
  font-style: italic;
}
.trening-report-section {
  margin-bottom: 18px;
}
.trening-report-section h2 {
  margin-bottom: 12px;
}
.trening-report-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 10px 18px;
  margin: 0;
}
.trening-report-facts dt {
  font-size: 12px;
  color: var(--muted);
}
.trening-report-facts dd {
  margin: 2px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.trening-report-assessment {
  margin-top: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--line);
}
.trening-report-actions {
  margin-top: 14px;
}
.trening-report-foot {
  margin: 24px 0 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 560px) {
  .trening-table {
    font-size: 12px;
  }
  .trening-table th,
  .trening-table td {
    padding: 5px 3px;
  }
}
/* === slutt seam:trening === */

/* ------------------------------------------------------------------------- */
/* === seam:depot === */
/* Stiler fra «depot» legges her, med klasseprefiks «depot-». */
/* Pit flows: big targets (≥ 56 px) for cold hands and gloves. */
.depot-big-button {
  min-height: 56px;
  padding: 14px 20px;
  font-size: 15px;
  white-space: normal;
  text-align: center;
}
.depot-note {
  margin: 10px 0 14px;
  font-size: 12px;
}
.depot-claim {
  margin: 0 0 8px;
  font-size: 12px;
  color: #4f5a52;
}
.depot-facts .form-grid {
  margin-top: 14px;
}
.depot-copied-list,
.depot-answers,
.depot-timeline-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 18px;
  margin: 16px 0 10px;
}
.depot-copied-list div,
.depot-answers div,
.depot-timeline-facts div {
  min-width: 0;
}
.depot-copied-list dt,
.depot-answers dt,
.depot-timeline-facts dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #5b6758;
}
.depot-copied-list dd,
.depot-answers dd,
.depot-timeline-facts dd {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.depot-copied-list small,
.depot-answers small {
  display: block;
  font-size: 10px;
  color: #5b6758;
}
.depot-change > summary,
.depot-history > summary,
.depot-plan-more > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 620;
  cursor: pointer;
}
.depot-change-grid {
  margin: 16px 0 20px;
}
.depot-stepper {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.field .depot-stepper input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 56px;
  text-align: center;
  font-size: 17px;
}
.depot-step-button {
  flex: none;
  min-width: 56px;
  min-height: 56px;
  padding: 0;
  font-size: 22px;
}
/* Choice chips: real radio and checkbox inputs, the label is the target. */
.depot-question {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.depot-question > legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 650;
  color: #26382c;
}
.depot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.depot-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #c9d4c3;
  border-radius: 10px;
  background: #fff;
  color: #24382b;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.depot-chip input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.depot-chip span {
  position: relative;
  pointer-events: none;
}
.depot-chip:has(input:checked) {
  background: #24382b;
  border-color: #24382b;
  color: #fff;
}
.depot-chip:has(input:checked) span::before {
  content: "✓ ";
}
.depot-chip:has(input:focus-visible) {
  outline: 3px solid #7db74d;
  outline-offset: 2px;
}
/* Debrief steps. Without JavaScript every step is visible. */
.depot-step > legend {
  float: left;
  width: 100%;
  margin-bottom: 14px;
  padding: 0;
}
.depot-step > legend + * {
  clear: both;
}
.depot-step-title {
  font-size: 18px;
  font-weight: 650;
}
.depot-step:focus {
  outline: none;
}
.depot-stepnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.depot-stepnav-status {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #4f5a52;
}
.depot-stepnav .button {
  flex: 1 1 0;
  min-height: 56px;
}
.depot-actions {
  margin: 0 0 24px;
}
.depot-task {
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 620;
}
/* Reports */
.depot-byline {
  margin-bottom: 10px;
  font-size: 12px;
  color: #4f5a52;
}
small.depot-byline {
  display: block;
  margin: 4px 0 0;
}
.depot-answer-chips,
.depot-board-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}
.depot-answer-chips li {
  padding: 4px 10px;
  border: 1px solid #d3e3c3;
  border-radius: 999px;
  background: #eef6e4;
  color: #3c5a2c;
  font-size: 12px;
  font-weight: 600;
}
.depot-quote {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--lime);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.depot-card-coach {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.depot-card-coach h3 {
  margin-bottom: 8px;
}
.depot-card .button,
.depot-report .text-link {
  margin-top: 4px;
}
.depot-visible {
  margin: 0 0 24px;
  font-size: 12px;
  color: #4f5a52;
}
.depot-history ul {
  margin: 6px 0 0;
  font-size: 12px;
}
.depot-subhead {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
}
.depot-evidence {
  margin: 4px 0 12px;
}
.depot-check {
  min-height: 44px;
}
.depot-evidence-choices {
  border: 0;
  padding: 0;
}
/* Dashboard and session page */
.depot-pit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 12px;
}
.depot-pit-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0;
}
.depot-im-in {
  border-color: #c1ed89;
  background: #f6fbef;
}
/* Utforskende test 28.10 (forer-6): earlier sessions today without a report. */
.depot-im-in-earlier > p {
  margin: 6px 0 0;
  font-size: 13px;
}
.depot-im-in-earlier ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.depot-im-in-earlier .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.depot-next-card strong {
  font-size: 17px;
  line-height: 1.35;
}
.depot-next-card small {
  font-size: 12px;
  color: #4f5a52;
}
.depot-next-card:hover {
  border-color: #b5d39a;
}
.depot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  margin: 0 0 18px;
}
.depot-links .text-link,
.depot-timeline-title,
.depot-board-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.hero .depot-focus-button {
  min-height: 44px;
  margin-left: 8px;
}
.depot-session-line {
  margin: -8px 0 14px;
}
.depot-session-line p {
  font-size: 13px;
}
.depot-session-line .depot-copied-line {
  font-size: 12px;
  color: #4f5a52;
}
/* Days */
.depot-day-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.depot-day-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.depot-day-kind {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4a6638;
}
.depot-day-row small,
.depot-timeline-when,
.depot-timeline-track {
  font-size: 12px;
  color: #4f5a52;
}
.depot-timeline {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.depot-timeline-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.depot-timeline-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 12px;
}
.depot-timeline-title,
.depot-board-title {
  font-size: 15px;
  font-weight: 650;
  color: #24382b;
}
.depot-detach .text-button {
  min-height: 44px;
}
.depot-attach {
  margin-top: 16px;
}
.depot-next-planned {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #c1ed89;
  border-radius: 10px;
  background: #f6fbef;
  font-size: 16px;
  font-weight: 650;
}
.depot-summary-form {
  margin: 8px 0 14px;
}
.depot-summary-form .button {
  align-self: flex-start;
}
.depot-plan {
  margin-top: 24px;
}
.depot-plan-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 10px;
  align-items: end;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.depot-plan-number {
  grid-column: 1/-1;
  font-size: 11px;
  font-weight: 700;
  color: #4f5a52;
}
.depot-plan-list {
  margin: 0 0 10px;
}
/* The coach's board */
.depot-day-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.depot-date-form {
  display: flex;
  flex: 1 1 220px;
  gap: 8px;
}
.depot-date-form input {
  flex: 1 1 auto;
  min-width: 0;
}
.depot-board-session {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.depot-status {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #d9e0d4;
  border-radius: 999px;
  background: #f6f7f4;
  color: #4a5547;
  font-size: 12px;
  font-weight: 620;
}
.depot-status.is-on {
  border-color: #c9ddb6;
  background: #eef6e4;
  color: #3c5a2c;
}
.depot-status.is-on::before {
  content: "✓";
  margin-right: 4px;
}
.depot-status.is-stale {
  border-color: #ecdeaa;
  background: #fff5d9;
  color: #6e4a1a;
}
.depot-status:hover {
  border-color: #9fb98a;
}
@media (max-width: 700px) {
  .depot-plan-row {
    grid-template-columns: 1fr 1fr;
  }
  .depot-big-button,
  .depot-actions .button {
    width: 100%;
  }
  .hero .depot-focus-button {
    margin: 10px 0 0;
  }
}
/* === slutt seam:depot === */

/* ------------------------------------------------------------------------- */
/* === seam:video === */
/* Stiler fra «video» legges her, med klasseprefiks «video-». */
.video-claim {
  font-size: 11px;
  color: #52634d;
}
/* Utforskende test 28.10: this video's sync in the head (forer-15) and why a
   jump did nothing (forer-9). */
.video-sync-badge {
  align-self: start;
  white-space: nowrap;
}
.video-sync-badge.is-verified {
  color: #315a40;
}
.video-seek-status {
  margin: 4px 0 0;
  font-size: 13px;
  color: #9d4b37;
}
.video-seek-status:empty {
  display: none;
}
/* Lap strip under the player (T1-12). */
.video-strip {
  margin: 14px 0 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafcf7;
}
.video-strip-head h3 {
  font-size: 14px;
}
.video-strip-source,
.video-strip-note {
  margin-top: 4px;
  font-size: 11px;
  color: #52634d;
}
.video-laps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.video-lap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 44px;
  padding: 4px 10px;
  border: 1px solid #c9d6c0;
  border-radius: 7px;
  background: #fff;
  color: #24382b;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.video-lap small {
  font-size: 9px;
  font-weight: 600;
  color: #52634d;
}
button.video-lap:hover {
  background: #eef4e9;
}
.video-lap.is-best {
  border-width: 2px;
  border-color: #426a35;
}
.video-lap.is-typical {
  border-style: dashed;
  border-color: #426a35;
}
.video-lap.is-excluded {
  background: #eef0ec;
  border-color: #d5dbd1;
  color: #5b665e;
}
.video-lap.is-disabled {
  border-style: dotted;
}
.video-lap:disabled {
  opacity: 1;
  cursor: not-allowed;
  border-style: dotted;
}
.video-lap.is-playing {
  background: #24382b;
  border-color: #24382b;
  color: #fff;
}
.video-lap.is-playing small {
  color: #e3eadd;
}
.video-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.video-jumps .button.small {
  min-height: 44px;
  white-space: normal;
}
.video-strip-details,
.video-anchor {
  margin-top: 12px;
  font-size: 12px;
}
.video-strip-details ul {
  margin: 8px 0;
  font-size: 12px;
}
.video-anchor-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
  margin-top: 10px;
}
.video-anchor-form .field {
  flex: 1 1 160px;
}
.video-anchor-list {
  margin-top: 12px;
}
.video-anchor-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.video-anchor-row .text-button {
  min-height: 44px;
  padding: 0 4px;
}
/* Tag chips: radio buttons that look like chips; state is shown by a tick
   and a heavier border as well as colour. */
.video-tag-fields {
  display: grid;
  gap: 12px;
}
.video-chips {
  min-width: 0;
  margin: 0;
}
.video-chips legend {
  font-size: 12px;
  font-weight: 600;
  color: #52634d;
}
.video-optional {
  font-weight: 400;
  color: #69736c;
}
.video-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.video-chip {
  position: relative;
  display: inline-flex;
}
.video-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.video-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #c9d6c0;
  border-radius: 7px;
  background: #fff;
  color: #24382b;
  font-size: 13px;
  font-weight: 600;
}
.video-chip input:checked + span {
  border: 2px solid #24382b;
  background: #24382b;
  color: #fff;
}
.video-chip input:checked + span::before {
  /* Empty alternative text: the tick is not part of the chip's name. */
  content: "✓ " / "";
  white-space: pre;
}
.video-chip input:focus-visible + span {
  outline: 3px solid #7db74d;
  outline-offset: 2px;
}
.video-other-corner {
  max-width: 220px;
  margin-top: 10px;
}
.video-big .video-chip span {
  min-width: 56px;
  min-height: 56px;
  font-size: 15px;
}
.video-tags {
  font-size: 11px;
  font-weight: 600;
  color: #426a35;
}
[data-resilient-status] {
  font-size: 12px;
  min-height: 1em;
}
[data-resilient-status].is-error {
  color: #9d4b37;
  font-weight: 600;
}
[data-resilient-status].is-draft {
  color: #87702d;
  font-weight: 600;
}
[data-resilient-status].is-sent {
  color: #315a40;
  font-weight: 600;
}
[data-resilient-status] .text-button {
  min-height: 44px;
  padding: 0 6px;
}
/* Utforskende test 28.10 (forer-2): the answer stands under the pressed button. */
.depot-submit [data-resilient-status] {
  margin: 8px 0 0;
  font-size: 14px;
}
.depot-submit [data-resilient-status]:empty {
  margin: 0;
}
/* Observation filter chips (links; video.js filters in place). */
.video-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 18px 0 4px;
}
.video-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #c9d6c0;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: #24382b;
}
.video-filter-chip[aria-current="true"] {
  border: 2px solid #24382b;
  background: #24382b;
  color: #fff;
}
/* Trackside notes on the session page and the svinglogg (T1-14). */
.video-trackside {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.video-trackside-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 6px;
}
.video-trackside-head .button.small {
  min-height: 44px;
}
.video-trackside-item {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.video-trackside-item p {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.video-trackside-item small {
  font-size: 10px;
  color: #69736c;
}
.video-trackside-item.is-superseded > p {
  color: #69736c;
}
.video-trackside-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}
.video-trackside-actions .button.small {
  min-height: 44px;
}
.video-trackside-card {
  margin-bottom: 20px;
}
.video-trackside-form {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}
.video-trackside-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}
.video-trackside-row .field {
  flex: 0 1 200px;
}
.video-save {
  min-height: 56px;
  width: 100%;
  max-width: 360px;
  font-size: 15px;
}
.video-driver-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.video-driver-chip {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid #c9d6c0;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.video-driver-chip[aria-current="true"] {
  border: 2px solid #24382b;
  background: #24382b;
  color: #fff;
}
.video-coach-link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: -12px 0 22px;
}
.video-coach-link .help-text {
  /* On the page background, not a white card: darker for 4.5:1. */
  color: #5a6656;
}
/* The observation list is part of the video section: darker timecode and
   byline text (axe colour contrast, 4.5:1 at 10–11 px). */
.timecode {
  color: #45663a;
}
.observation small {
  color: #5f6b58;
}
@media (max-width: 700px) {
  .video-save {
    max-width: none;
  }
  .video-chip-row {
    gap: 6px;
  }
}
/* === slutt seam:video === */

/* ------------------------------------------------------------------------- */
/* === seam:pilot === */
/* Stiler fra «pilot» legges her, med klasseprefiks «pilot-». */
.pilot-intro {
  font-size: 12px;
  margin: 0 0 14px;
}
.pilot-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.pilot-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.pilot-step-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #c9d4c4;
  font-size: 12px;
  font-weight: 700;
  color: #3f5b41;
}
.pilot-step.is-done .pilot-step-mark {
  background: var(--lime);
  border-color: var(--lime);
  color: #18211d;
}
.pilot-step.is-next .pilot-step-mark {
  background: #24382b;
  border-color: #24382b;
  color: #fff;
}
.pilot-step-body p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.pilot-step-state {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 650;
  color: #4b5d4f;
}
.pilot-step.is-done .pilot-step-state {
  color: #3f5b41;
}
/* Done steps take one line: the title and «Ferdig» (text, not only colour). */
.pilot-step.is-done {
  padding: 6px 0;
}
.pilot-step.is-done .pilot-step-body p {
  display: none;
}
.pilot-step.is-done .pilot-step-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
}
.pilot-step.is-done .pilot-step-state {
  margin-top: 0;
}
.pilot-step-link {
  justify-self: end;
}
a.text-link.pilot-step-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.pilot-actions {
  margin: 0 0 24px;
}
.pilot-waiting h2,
.pilot-roles h2 {
  margin-bottom: 10px;
}
.pilot-waiting > p {
  margin-bottom: 14px;
  max-width: 720px;
}
.pilot-todo {
  margin: 0 0 16px;
  padding-left: 22px;
  font-size: 13px;
}
.pilot-todo li + li {
  margin-top: 10px;
}
.pilot-todo strong,
.pilot-todo span {
  display: block;
}
.pilot-todo span {
  color: var(--muted);
  font-size: 12px;
}
.pilot-todo .pilot-username {
  display: inline;
  font-family: ui-monospace, monospace;
  color: inherit;
  font-size: inherit;
  overflow-wrap: anywhere;
}
.pilot-role-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.pilot-role {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 56px;
  padding: 16px;
  text-align: left;
  background: #fff;
  border: 1px solid #c9d4c4;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.pilot-role:hover,
.pilot-role:focus-visible {
  border-color: #24382b;
  background: #f3f8ee;
}
.pilot-role.is-current {
  border-color: #24382b;
  border-width: 2px;
}
.pilot-role strong {
  font-size: 15px;
}
.pilot-role small {
  font-size: 11px;
  color: #3f5b41;
}
.pilot-role span {
  font-size: 12px;
  line-height: 1.55;
  color: #4f5c52;
}
.pilot-change-role summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 620;
}
.pilot-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 14px 0 6px;
}
.pilot-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.pilot-glossary {
  margin: 12px 0 0;
}
.pilot-glossary > div {
  display: grid;
  grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
  gap: 4px 18px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}
.pilot-glossary dt {
  font-weight: 650;
}
.pilot-glossary dd {
  margin: 0;
}
.prose-page .pilot-limitations {
  list-style: none;
  padding: 0;
}
.pilot-limitations li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.pilot-pre {
  margin: 10px 0 0;
  padding: 12px;
  background: var(--paper);
  border-radius: 8px;
  font-size: 13px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.pilot-example summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 13px;
  font-weight: 620;
}
.pilot-meter {
  width: 100%;
  height: 14px;
  margin: 14px 0 8px;
  accent-color: #315a40;
}
.notice.pilot-warning {
  border-color: #e3d39a;
  background: #fbf6e3;
  color: #5c4a12;
}
.pilot-sample-note {
  font-size: 12px;
  margin-bottom: 10px;
}
.pilot-files {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pilot-file {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.pilot-file-main {
  min-width: 0;
  flex: 1 1 260px;
}
.pilot-file-main strong,
.pilot-file-main small {
  display: block;
  overflow-wrap: anywhere;
}
.pilot-shared {
  color: #3f5b41;
  font-weight: 650;
  margin-top: 4px;
}
.pilot-file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pilot-file-actions .button {
  white-space: normal;
  text-align: center;
}
.pilot-sidebar-links {
  display: flex;
  flex-direction: column;
  margin: 14px 0 0;
}
.pilot-sidebar-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 13px;
  border-radius: 7px;
  font-size: 12px;
  color: #c9d3cc;
}
.pilot-sidebar-links a:hover {
  background: #253129;
  color: #fff;
}
.pilot-help-mark {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #5d6d61;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.pilot-quota-check {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #5c4a12;
}
.pilot-quota-check.is-error {
  color: #9d4b37;
}
@media (max-width: 900px) {
  .pilot-sidebar-links {
    flex-direction: row;
    margin: 0;
    flex: none;
  }
  .pilot-sidebar-links a {
    padding: 0 10px;
    border: 1px solid #3e4b40;
  }
  .pilot-sidebar-links .pilot-feedback-link {
    display: none;
  }
}
@media (max-width: 700px) {
  .pilot-role-form {
    grid-template-columns: 1fr;
  }
  .pilot-step {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .pilot-step-link {
    grid-column: 2;
    justify-self: start;
  }
  .pilot-step .button {
    white-space: normal;
  }
  .pilot-glossary > div {
    grid-template-columns: 1fr;
  }
  .pilot-sidebar-links a {
    min-width: 44px;
    justify-content: center;
    padding: 0;
  }
  .pilot-help-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
/* === slutt seam:pilot === */

/* ------------------------------------------------------------------------- */
/* === seam:tillit === */
/* Stiler fra «tillit» legges her, med klasseprefiks «tillit-». */
/* Innboks */
.tillit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tillit-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.tillit-item:first-child {
  border-top: 0;
}
.tillit-item-link {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.tillit-item-link:hover strong {
  text-decoration: underline;
}
.tillit-item-text {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tillit-item-text small {
  color: var(--muted);
}
.tillit-item.is-unread .tillit-item-text strong {
  font-weight: 750;
}
.tillit-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}
.tillit-seen-form {
  flex: none;
}
.tillit-seen {
  min-height: 44px;
}
.tillit-read {
  flex: none;
}
.tillit-email {
  margin-bottom: 18px;
}
/* Menyens uleste-merke: synlig også når menyen bare viser ikoner på mobil. */
.tillit-nav-inbox {
  position: relative;
}
.tillit-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  margin-left: auto;
  border-radius: 10px;
  background: var(--lime);
  color: #18211d;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}
.sidebar nav a.active .tillit-badge {
  background: #18211d;
  color: var(--lime);
}
@media (max-width: 900px) {
  /* tillit: menyen får egen rad, 44 px trykkflater og bryter heller enn å
     flyte over ved 320 px (WCAG 1.4.10). */
  .sidebar nav {
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .sidebar nav a {
    min-width: 44px;
    min-height: 44px;
  }
  .tillit-badge {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }
}
@media (forced-colors: active) {
  .tillit-dot,
  .tillit-badge {
    forced-color-adjust: none;
    background: CanvasText;
    color: Canvas;
  }
}
/* Innsynslogg */
.tillit-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px 16px;
  margin-bottom: 18px;
}
.tillit-filter .field {
  flex: 1 1 180px;
  min-width: 0;
}
.tillit-filter select {
  width: 100%;
  min-height: 44px;
}
.tillit-filter .button {
  min-height: 44px;
}
.tillit-log {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tillit-log li {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.tillit-log li:first-child {
  border-top: 0;
}
.tillit-log small {
  color: var(--muted);
}
.tillit-day {
  margin-bottom: 14px;
}
/* «Synlig for» ved fritekstfelt */
.tillit-visible {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}
/* Ny aksept av personvernerklæringen */
.tillit-accept {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
  border: 2px solid var(--green);
}
.tillit-accept .button {
  justify-self: start;
  min-height: 44px;
}
/* Oversikt for trener: «Venter på deg» */
.tillit-waiting-more {
  margin: 10px 0 0;
}
/* Data og innsyn under innstillinger */
.tillit-links {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tillit-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* M8: chosen chips show a tick as well as a colour, and keep a visible
   state when the system forces its own colours (Windows high contrast). */
.sammenlign-chip[aria-pressed="true"]::before {
  content: "✓ " / "";
  white-space: pre;
}
@media (forced-colors: active) {
  .sammenlign-chip[aria-pressed="true"],
  .depot-chip:has(input:checked),
  .video-chip input:checked + span {
    outline: 3px solid Highlight;
    outline-offset: 1px;
  }
  .tillit-item.is-unread {
    border-left: 4px solid CanvasText;
    padding-left: 8px;
  }
}
.tillit-coach-notice {
  max-width: 62ch;
  margin: 12px 0 24px;
  font-size: 13px;
  line-height: 1.5;
}
/* === slutt seam:tillit === */

/* Final review: short visible labels under the icons on phones and tablets,
   so the menu is not icons only. The full name stays the link's accessible
   name; the short label is aria-hidden. */
.nav-short {
  display: none;
}
@media (max-width: 900px) {
  .sidebar {
    padding-left: 16px;
    padding-right: 16px;
  }
  .sidebar nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 2px;
  }
  .sidebar nav a {
    position: relative;
    flex: 1 1 0;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 6px 2px;
  }
  .nav-short {
    display: block;
    max-width: 100%;
    overflow: hidden;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* Utforskende test 28.10 (trener-12, foresatt-15): with seven or eight
     items (shared drivers, the coach's Banedag) one row left 35–45 px per
     item and cut the labels («Utvi…»). Two rows of four keep whole words and
     targets of at least 44 px. */
  .sidebar nav:has(> a:nth-child(7)) {
    flex-wrap: wrap;
    row-gap: 2px;
  }
  .sidebar nav:has(> a:nth-child(7)) > a {
    flex: 1 1 calc(25% - 2px);
    min-height: 44px;
  }
}
/* The session's task form in a disclosure: keep the form's own sizes and
   colours (the generic details rules are for short notes). */
details.practice-new {
  font-size: inherit;
  line-height: inherit;
  border-top: 0;
  padding: 0;
}
details.practice-new > summary {
  font-size: 15px;
}
details.practice-new p {
  color: inherit;
  font-size: inherit;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .sidebar nav {
    min-width: 0;
    max-width: 100%;
  }
  .sidebar nav a {
    overflow: hidden;
  }
}

/* Utforskende test 28.10 (trener-4): what a revision changed. */
.trening-changes {
  margin: 4px 0 8px;
  padding-left: 18px;
  font-size: 13px;
}
.trening-approval-changes p {
  margin: 0;
}
.import-waiting {
  color: #7a5320;
  font-weight: 600;
}

/* === testmiljø: banner når TIDEL_ENVIRONMENT=test (docs/TESTSERVER.md) === */
/* Top of every page on a public test server. Dark text on yellow (about
   12:1); the forced-colors border keeps it apart in Windows high contrast.
   Not printed (print.css), like the other notices. */
.environment-banner {
  background: #ffd84d;
  color: #18211d;
  border-bottom: 2px solid #18211d;
  padding: 10px 42px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.environment-banner strong {
  font-weight: 800;
  letter-spacing: 1px;
}
@media (max-width: 900px) {
  .environment-banner {
    padding: 10px 16px;
  }
}
@media (forced-colors: active) {
  .environment-banner {
    border: 2px solid CanvasText;
  }
}
/* === slutt testmiljø === */
