/*
 * Payrexx Migrations — "Backend family" theme.
 *
 * Loaded after every other stylesheet. Re-points the shared intranet styles (styles.css,
 * app.css, migrations.css) at the tokens of the Payrexx merchant backend
 * (Frontend/DesignSystem/design-tokens.css): Roboto 14px, white panels with
 * a 1px border and no shadow on #F9F9F9, Payrexx cyan as the primary (tenant colours), radius 6 (controls) / 10 (panels) / 12 (alerts),
 * and the backend shell with a 250px sidebar instead of the floating "Sky" topbar.
 */
:root {
  /* palette steps used below */
  --neutral-100: #F9F9F9; --neutral-200: #E5E7EB; --neutral-300: #DEDEDE; --neutral-500: #8B929E;
  --neutral-700: #4D525C; --neutral-800: #383A3C; --neutral-900: #2C2E2F;
  --green-100: #E7FFD6; --green-200: #D2FFB0; --green-300: #BAFE7F; --green-700: #477900; --green-800: #315600; --green-900: #1D3600;
  --cyan-50: #E5F7FD; --cyan-100: #C5EEF9; --cyan-400: #00AFF0; --cyan-800: #176580; --cyan-900: #1F5C7A;
  --blue-100: #F6F6F9; --blue-200: #D2E1F2; --blue-400: #2181E0; --blue-600: #0C5EB0; --blue-700: #1F3C7A;
  --orange-50: #FDECD1; --orange-400: #E69500; --orange-800: #98520F;
  --red-100: #FBE4E3; --red-500: #CC3F44; --red-700: #A32A2E; --red-800: #91211E;

  /* shared intranet variables, re-pointed */
  --bg: var(--neutral-100);
  --surface: #FFFFFF;
  --border: var(--neutral-300);
  --text: var(--neutral-900);
  --muted: var(--neutral-700);
  --ink: var(--neutral-900);
  /* Payrexx tenant primary, as the backend derives it (TenantTokenStyleSheetService):
     #00AFF0, hover #4EC3F0, tints on white, text darkened to 4.5:1, accent to 3:1 */
  --cyan-tint: #E0F5FD; --cyan-tint-hover: #CCEFFC; --cyan-tint-active: #BFEBFB;
  --cyan-text: #166E8F; --cyan-accent: #079CD3;
  --primary: var(--cyan-400);
  --primary-dark: var(--cyan-text);
  --primary-soft: var(--cyan-tint);
  --primary-soft-hover: var(--cyan-tint-hover);
  --lime: var(--green-300);
  --dark-blue: var(--blue-700);
  --link: var(--blue-600);
  --row-hover: var(--blue-100);

  --pass: var(--green-700);  --pass-soft: var(--green-100); --pass-text: var(--green-700);
  --fail: var(--red-500);    --fail-soft: var(--red-100);   --fail-text: var(--red-800);
  --blocked: var(--orange-400); --blocked-soft: var(--orange-50); --blocked-text: var(--orange-800);
  --skipped: var(--neutral-500); --skipped-soft: var(--blue-100);
  --pending: var(--neutral-200);

  --radius: 10px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-xl: 12px;
  --shadow: none;
  --shadow-lg: none;
  --shadow-md: 0 4px 12px -2px rgba(44, 46, 47, 0.18);
  --shadow-modal: 0 12px 32px -4px rgba(44, 46, 47, 0.18);
  --focus-ring: var(--blue-400);
  --ring: 0 0 0 3px rgba(33, 129, 224, 0.35);

  --btn-primary: var(--cyan-400);
  --btn-primary-hover: #4EC3F0;
  --btn-primary-active: #4EC3F0;
  --btn-primary-label: #FFFFFF;
  --btn-secondary: var(--cyan-tint);
  --btn-secondary-hover: var(--cyan-tint-hover);
  --btn-secondary-active: var(--cyan-tint-active);
  --btn-secondary-label: var(--cyan-text);
  --btn-segment-active-border: var(--cyan-accent);

  /* selected navigation / tab / chip */
  --selected-bg: var(--cyan-tint);
  --selected-text: var(--cyan-text);
  --selected-border: var(--cyan-accent);

  --sidebar-w: 250px;
}

/* ── Base ─────────────────────────────────────────────────── */
body {
  font-family: Roboto, "Source Sans Pro", Arimo, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg);
  display: block;
}
body::before { display: none; }
a { color: var(--link); }
code, pre, .pl-stamp, .pl-name { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ── Shell: sidebar + content ─────────────────────────────── */
.shell { min-height: 100vh; }
.shell.has-sidebar { display: flex; align-items: stretch; }
.shell-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }

.sidebar {
  flex: 0 0 var(--sidebar-w);
  width: var(--sidebar-w);
  /* own stacking level above the content, so its menus (user, tool switcher) cover the page */
  position: sticky; top: 0; z-index: 40;
  height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
  padding: 20px 16px;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; text-decoration: none; }
.sidebar .brand-logo { height: 22px; width: auto; display: block; }
.sidebar .brand-mark { display: none; }
.brand-divider { width: 1px; height: 20px; background: var(--border); flex: none; }
.brand-tool { font-size: 15px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-tag {
  font-size: 11px; font-weight: 600; line-height: 16px; padding: 2px 8px;
  border-radius: 999px; background: var(--blue-100); color: var(--neutral-800);
}

/* tool switcher (other intranet apps) */
.tool-switch { position: relative; }
.tool-switch > summary {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border: 1px solid var(--neutral-500); border-radius: var(--radius-md);
  background: var(--surface); cursor: pointer; list-style: none; font-size: 13px;
}
.tool-switch > summary::-webkit-details-marker { display: none; }
.tool-switch > summary:hover { background: var(--neutral-100); }
.tool-switch > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.tool-switch > summary > .ti { color: var(--muted); font-size: 16px; }
.tool-icon {
  flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: var(--radius-md); background: var(--cyan-400); color: #fff; font-size: 16px;
}
.tool-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.tool-meta span { font-size: 12px; color: var(--muted); }
.tool-menu {
  position: absolute; z-index: 20; left: 0; right: 0; bottom: calc(100% + 4px);
  list-style: none; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.tool-menu a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-sm);
  color: var(--text); text-decoration: none; font-size: 13px;
}
.tool-menu a:hover { background: var(--row-hover); }
.tool-menu .ti { color: var(--cyan-800); font-size: 16px; }

/* navigation */
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: var(--radius-md); color: var(--text); text-decoration: none; font-size: 13px;
}
.side-nav a .ti { font-size: 16px; color: var(--cyan-800); }
.side-nav a:hover { background: var(--row-hover); }
.side-nav a.active { background: var(--selected-bg); color: var(--selected-text); font-weight: 700; }
.side-nav a.active .ti { color: var(--selected-text); }
.side-nav a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

.side-foot { margin-top: auto; border-top: 1px solid var(--border); padding-top: 12px; }
/* user block on top, like the backoffice */
.sidebar .user {
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; font-size: 13px;
  background: var(--neutral-100); border: 1px solid var(--border); border-radius: var(--radius);
}
.sidebar .user img, .sidebar .small-avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; }
.sidebar .user-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.sidebar .user-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.sidebar .user-role { font-size: 12px; color: var(--muted); }
/* user menu: click on the user opens My account / Sign out (like the backoffice) */
.user-menu { position: relative; }
.user-menu > summary { list-style: none; cursor: pointer; }
.user-menu > summary::-webkit-details-marker { display: none; }
.user-menu > summary:hover { border-color: var(--neutral-500); }
.user-menu > summary:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.user-chevron { margin-left: auto; color: var(--muted); font-size: 16px; transition: transform 0.15s ease; }
.user-menu[open] .user-chevron { transform: rotate(180deg); }
.user-dropdown {
  position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px);
  display: flex; flex-direction: column; padding: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}
.user-dropdown form { margin: 0; }
.user-dropdown a, .user-dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px;
  border: 0; border-radius: var(--radius-sm); background: none; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--text); text-decoration: none; text-align: left;
}
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--row-hover); }
.user-dropdown a:focus-visible, .user-dropdown button:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.user-dropdown a.active { color: var(--selected-text); font-weight: 700; }
.user-dropdown .ti { font-size: 16px; color: var(--cyan-800); }

/* "More" (settings + tool switcher): always open in the sidebar, a sheet on phones */
.side-more { display: block; }
.side-more-body { display: flex; flex-direction: column; gap: 12px; }
.more-btn { display: none; }
.more-user { display: none; }
.side-nav-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; border: 0; border-radius: var(--radius-md);
  background: none; font: inherit; font-size: 13px; color: var(--text); cursor: pointer; text-align: left;
}
.side-nav-btn .ti { font-size: 16px; color: var(--cyan-800); }
.side-nav-btn:hover { background: var(--row-hover); }
.side-nav-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }


/* content area */
/* centred content column, like the backoffice (.content-layout-limited-width: 1135px) */
.container { width: 100%; max-width: calc(1135px + 60px); margin: 0 auto; padding: 30px 30px 48px; }
.footer { width: 100%; max-width: calc(1135px + 60px); margin: 0 auto; text-align: left; padding: 0 30px 24px; color: var(--muted); }

/* ── Page head ────────────────────────────────────────────── */
.on-sky { color: var(--link); }
.page-head { margin-bottom: 24px; align-items: flex-end; }
.page-head h1, .rel-detail-title h1 {
  font-size: 28px; font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; margin: 0 0 4px; color: var(--text);
}
.page-head p, .page-head p.muted { font-size: 14px; color: var(--muted); max-width: 680px; }
/* page-head buttons get their normal variants back (the sky band forced the tonal look) */
.page-head .btn, .page-head .btn-primary, .page-head .btn-navy { background: var(--btn-primary); border-color: var(--btn-primary); color: var(--btn-primary-label); }
.page-head .btn:hover { background: var(--btn-primary-hover); border-color: var(--btn-primary-hover); color: var(--btn-primary-label); }
.page-head .btn-secondary, .page-head .btn-light { background: var(--btn-secondary); border-color: transparent; color: var(--btn-secondary-label); }
.page-head .btn-secondary:hover, .page-head .btn-light:hover { background: var(--btn-secondary-hover); color: var(--btn-secondary-label); }
.page-head .btn-outline { background: var(--btn-outline); border-color: var(--btn-outline-border); color: var(--btn-outline-label); }
.page-head .btn-outline:hover { background: var(--btn-outline-hover); color: var(--btn-outline-label); }

/* headings: Roboto bold, slight positive tracking (backend h1–h4) */
.sub-h, .section-head h2, .section-title, .phase-title h2, .pattern-head h2, .form h1, .form h3,
.toolbar-title, .account-card h2, .blockers-box h2, .subject-head h3 {
  font-weight: 700; letter-spacing: 0.01em;
}
.sub-h { font-size: 16px; }
.phase-title h2, .pattern-head h2 { font-size: 16px; }

/* ── Panels: white, 1px border, radius 10, no shadow ──────── */
.card, .rail-card, .list-card, .kpi, .pl-card, .pl-alert, .account-card, .blockers-box,
.wb-toolbar, .schedule-hint, .install-card, .profile-card, .tpl-card,
.rel-rows, .rel-card, .run, .case, .rt-table, .rt-strip, .md, .type-toggle, .new-token code, .new-token pre {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}
.card { padding: 20px 24px; }
.empty { border-radius: var(--radius); font-size: 14px; }
.wb-toolbar, .schedule-hint { border-radius: var(--radius); }
.wb-main .account-card:first-child { box-shadow: none; }

/* KPI tiles */
.kpi { border-radius: var(--radius); padding: 16px 20px; }
.kpi:hover { box-shadow: none; border-color: var(--neutral-500); }
.kpi-n { font-size: 28px; font-weight: 700; letter-spacing: 0; }
.kpi-l { font-weight: 400; }

/* rows: subtle tertiary hover like backend tables */
.ph-row:hover, .ch-row:hover, .rel-row:hover, a.tl-body:hover, .mywork:hover,
.setup-item:hover, .rt-table .run-main:hover, .tpl-card > summary:hover, .tpl-child > summary:hover {
  background: var(--row-hover);
}
.ph-row, .ch-row, .rl-row { padding: 12px 15px; }
/* status pills in list rows keep their own width instead of filling the grid column */
.ph-row > .badge, .ch-row > .badge, .rl-row > .badge { justify-self: start; }
.rail-card { padding: 16px 20px; }

/* tabs: segmented, radius 4 inside a radius-6 frame */
.tabs { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: none; padding: 4px; }
.tabs a { border-radius: var(--radius-sm); font-size: 13px; padding: 6px 12px; }
.tabs a:hover { background: var(--row-hover); color: var(--text); }
.tabs a.active { background: var(--selected-bg); color: var(--selected-text); font-weight: 700; }
.tabs a.active .tab-n { background: var(--surface); color: var(--selected-text); }
.tabs a:focus-visible { box-shadow: 0 0 0 2px var(--focus-ring); }

/* chips / filter buttons */
.chip-btn { border-radius: var(--radius-sm); }
.chip-btn.active, .chip-btn.active:hover { background: var(--selected-bg); color: var(--selected-text); border-color: var(--selected-border); }

/* ── Badges: 11px/600, sentence case ──────────────────────── */
.badge, .pill { font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 16px; padding: 2px 8px; }
.badge-lg { font-size: 13px; padding: 4px 12px; }

/* phase kinds: Add new = info (cyan), Move code = blue, Fill data = neutral, Remove old = danger */
.kind-expand   { background: var(--cyan-50);  color: var(--cyan-900); }
.kind-switch   { background: var(--blue-200); color: var(--blue-700); }
.kind-backfill { background: var(--blue-100); color: var(--neutral-800); }
.kind-contract { background: var(--red-100);  color: var(--red-800); }
/* phase / change status */
.ph-planned, .cs-planned, .status-draft { background: var(--blue-100); color: var(--neutral-800); }
.ph-merged, .cs-in_progress, .status-active, .type-patch { background: var(--cyan-50); color: var(--cyan-900); }
.tl-has .tl-dot, .assignee-av.is-mine { background: var(--cyan-400); }
.ph-skipped { background: var(--blue-100); color: var(--neutral-700); }
.type-full { background: var(--green-100); color: var(--green-900); }
.track-step { border-radius: var(--radius-sm); }

/* ── Forms: input frame neutral-500, radius 6, blue focus ─── */
.form label { font-weight: 700; gap: 5px; }
.form input[type=text], .form input[type=email], .form input[type=date], .form input[type=number],
.form input[type=search], .form textarea, .form select,
.status-form select, .attach-phase select, .filters .search, .inline select, .inline input[type=text] {
  border: 1px solid var(--neutral-500);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: 14px;
}
.form input:hover, .form textarea:hover, .form select:hover { border-color: var(--neutral-700); }
.form input:focus, .form textarea:focus, .form select:focus,
.status-form select:focus, .filters .search:focus, .inline select:focus, .inline input[type=text]:focus {
  outline: none; border-color: var(--focus-ring); box-shadow: var(--ring);
}
.pattern-card { border-radius: var(--radius); }
.pattern-opt:hover .pattern-card { border-color: var(--neutral-500); }
.pattern-opt input:checked + .pattern-card { border-color: var(--selected-border); box-shadow: 0 0 0 1px var(--selected-border); background: var(--selected-bg); }

/* alerts: radius 12 */
.alert { border-radius: var(--radius-xl); padding: 14px 16px; }

/* ── Migrations board ─────────────────────────────────────── */
.pl-col { background: var(--blue-100); border-radius: var(--radius); }
.pl-col-prod .pl-col-head::before { background: var(--green-700); }
.pl-n { border: 1px solid var(--border); }
.pl-alert { border-left-width: 1px; }
.pl-alert > .ti { color: var(--fail); }

/* ── Login / connect: plain backend background ────────────── */
body:has(.auth-wrap) { background: var(--bg); }
.login-card, .connect-card {
  border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-modal);
}
.login-card h1, .connect-card h1 { font-weight: 700; letter-spacing: 0.01em; }
.shell:not(.has-sidebar) .footer { text-align: center; }

/* ── Filter controls (search, chips): field frame, radius 6 ── */
.fsearch, .fchip { border: 1px solid var(--neutral-500); border-radius: var(--radius-md); box-shadow: none; }
.fsearch:focus-within { border-color: var(--focus-ring); box-shadow: var(--ring); }
.fchip:has(input:checked) { background: var(--selected-bg); color: var(--selected-text); border-color: var(--selected-border); }
.blockers-box { box-shadow: none; }

/* ── Dropdowns (dropdown.js): backend select look ─────────── */
.dd-button {
  height: 38px; border: 1px solid var(--neutral-500); border-radius: var(--radius-md);
  box-shadow: none; font-weight: 500; padding: 0 10px 0 12px;
}
.dd-button:hover { background: var(--neutral-100); }
.dd-button:focus-visible, .dd.is-open .dd-button { outline: none; border-color: var(--focus-ring); box-shadow: var(--ring); }
.dd-button:disabled { background: var(--neutral-100); color: var(--neutral-500); cursor: not-allowed; }
.dd.is-set .dd-button { background: var(--selected-bg); color: var(--selected-text); border-color: var(--selected-border); box-shadow: none; }
.dd.is-set .dd-button .ti { color: var(--selected-text); }
.dd-panel {
  top: calc(100% + 4px); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); padding: 4px;
}
/* search inside the list: one row (icon + input), never the form-label / form-input look */
.dd-panel .dd-search {
  display: flex; flex-direction: row; align-items: center; gap: 8px; height: 34px; margin: 0 0 4px; padding: 0 10px;
  font-weight: 400; background: var(--surface); border: 1px solid var(--neutral-300); border-radius: var(--radius-sm);
}
.dd-panel .dd-search:focus-within { border-color: var(--focus-ring); box-shadow: var(--ring); }
.dd-panel .dd-search .ti { font-size: 14px; color: var(--muted); }
.dd-panel .dd-search input[type=search] {
  flex: 1; min-width: 0; width: auto; height: 100%; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; font-size: 13px; font-weight: 400;
}
.dd-panel .dd-search input[type=search]:focus { border: 0; box-shadow: none; outline: none; }
.dd-option { border-radius: var(--radius-sm); font-size: 14px; padding: 7px 12px 7px 8px; }
.dd-option.is-active { background: var(--row-hover); }
.dd-check, .dd-option.is-selected .dd-label { color: var(--selected-text); }
.dd-group { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; }

/* overlay variant (<select data-dd="overlay">): invisible button over its own trigger */
.dd-overlay { position: absolute; inset: 0; }
.dd-overlay .dd-button { width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.dd-overlay .dd-panel { top: calc(100% + 6px); min-width: 220px; color: var(--text); font-size: 13px; font-weight: 400; text-align: left; line-height: 1.4; }

/* form-field variant: full width, field height, text left, chevron right */
.dd-field { display: flex; width: 100%; }
.dd-field .dd-button {
  width: 100%; max-width: none; height: 40px; justify-content: space-between;
  background: var(--surface); color: var(--text); font-size: 14px; font-weight: 400; text-align: left;
}
.dd-field .dd-button:hover { border-color: var(--neutral-700); background: var(--surface); }
.dd-field .dd-panel { min-width: 100%; max-width: min(420px, calc(100vw - 32px)); }
.dd-field .dd-option { white-space: normal; }
.form label > .dd-field { font-weight: 400; }

/* person picker: same field frame */
.pp { min-height: 40px; border: 1px solid var(--neutral-500); border-radius: var(--radius-md); }
.pp:hover { border-color: var(--neutral-700); }
.pp.is-open, .pp:focus-within { border-color: var(--focus-ring); box-shadow: var(--ring); }
.pp-input, .form .pp-input { font-size: 14px; font-weight: 400; }
.pp-pop { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

/* ── Search: field in the top bar, results in a central modal (search.js) ── */
.topbar-search {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; min-height: 56px;
  padding: 9px max(30px, calc((100% - 1135px) / 2));
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.search-trigger {
  display: flex; align-items: center; gap: 10px; width: 100%; max-width: 480px; height: 38px; padding: 0 8px 0 12px;
  border: 1px solid var(--neutral-500); border-radius: var(--radius-md); background: var(--surface);
  font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-align: left;
}
.search-trigger:hover { border-color: var(--neutral-700); }
.search-trigger:focus-visible { outline: none; border-color: var(--focus-ring); box-shadow: var(--ring); }
.search-trigger .ti-search { font-size: 16px; }
.search-trigger-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-trigger-keys { display: inline-flex; gap: 3px; }
.search-modal kbd, .search-trigger kbd {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  font: inherit; font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--neutral-100); border: 1px solid var(--border); border-radius: var(--radius-sm);
}

.search-modal {
  width: min(640px, calc(100vw - 32px)); max-height: min(70vh, 640px); margin: 12vh auto auto; padding: 0;
  display: none; flex-direction: column; overflow: hidden;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-modal);
}
.search-modal[open] { display: flex; }
.search-modal::backdrop { background: rgba(44, 46, 47, 0.4); }
.search-box { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.search-box > .ti { font-size: 20px; color: var(--muted); }
.search-input {
  flex: 1; min-width: 0; height: 56px; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--text);
}
.search-input::-webkit-search-cancel-button { display: none; }
.search-results { flex: 1; overflow-y: auto; padding: 6px; }
.search-group + .search-group { margin-top: 6px; }
.search-group-label { padding: 8px 10px 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.search-hit {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--radius-md);
  color: var(--text); text-decoration: none;
}
.search-hit > .ti:first-child { flex: none; font-size: 18px; color: var(--cyan-800); }
.search-hit-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.search-hit-title { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit-sub { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-hit-enter { visibility: hidden; color: var(--muted); font-size: 16px; }
.search-hit.is-active { background: var(--row-hover); }
.search-hit.is-active .search-hit-title { color: var(--selected-text); }
.search-hit.is-active .search-hit-enter { visibility: visible; }
.search-empty { margin: 0; padding: 28px 16px; text-align: center; color: var(--muted); }
.search-foot { display: flex; gap: 16px; padding: 8px 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); background: var(--neutral-100); }
.search-foot span { display: inline-flex; align-items: center; gap: 4px; }

/* ── Date picker (datepicker.js): field + calendar popover ── */
.dp { position: relative; display: flex; align-items: stretch; width: 100%; }
.dp .dp-input, .form .dp .dp-input {
  flex: 1; min-width: 0; height: 40px; padding: 0 40px 0 12px; border: 1px solid var(--neutral-500); border-radius: var(--radius-md);
  background: var(--surface); font: inherit; font-size: 14px; color: var(--text); font-variant-numeric: tabular-nums;
}
.dp .dp-input:hover { border-color: var(--neutral-700); }
.dp .dp-input:focus, .dp.is-open .dp-input { outline: none; border-color: var(--focus-ring); box-shadow: var(--ring); }
.dp.is-invalid .dp-input { border-color: var(--red-500); }
.dp-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%); display: inline-grid; place-items: center;
  width: 32px; height: 32px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); cursor: pointer;
}
.dp-btn:hover { background: var(--row-hover); color: var(--text); }
.dp-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 0; }
.dp-btn .ti { font-size: 18px; }
.dp-hint { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--red-700); }
.dp-pop {
  position: fixed; z-index: 70; width: 288px; padding: 8px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md); font-weight: 400;
}
.dp-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-bottom: 4px; }
.dp-nav, .dp-title {
  border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer; font: inherit; color: var(--text);
}
.dp-nav { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--muted); }
.dp-nav .ti { font-size: 18px; }
.dp-title { flex: 1; height: 32px; font-size: 14px; font-weight: 700; }
.dp-nav:hover, .dp-title:hover { background: var(--row-hover); color: var(--text); }
.dp-grid { width: 100%; border-collapse: collapse; table-layout: fixed; }
.dp-grid th { padding: 4px 0; font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; }
.dp-grid td { padding: 1px; text-align: center; }
.dp-day {
  width: 100%; height: 34px; border: 0; border-radius: var(--radius-sm); background: none; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--text); font-variant-numeric: tabular-nums;
}
.dp-day:hover { background: var(--row-hover); }
.dp-day.is-out { color: var(--neutral-500); }
.dp-day.is-today { box-shadow: inset 0 0 0 1px var(--cyan-accent); font-weight: 700; }
.dp-day.is-selected, .dp-day.is-selected:hover { background: var(--cyan-400); color: #fff; font-weight: 700; box-shadow: none; }
.dp-day:disabled { color: var(--neutral-300); cursor: not-allowed; background: none; }
.dp-day:focus-visible, .dp-cell:focus-visible, .dp-quick:focus-visible, .dp-nav:focus-visible, .dp-title:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }
.dp-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px 0; }
.dp-cell { height: 40px; border: 0; border-radius: var(--radius-sm); background: none; cursor: pointer; font: inherit; font-size: 13px; color: var(--text); }
.dp-cell:hover { background: var(--row-hover); }
.dp-cell.is-selected { background: var(--cyan-tint); color: var(--cyan-text); font-weight: 700; }
.dp-foot { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--border); }
.dp-quick {
  padding: 5px 10px; border: 0; border-radius: var(--radius-sm); background: var(--cyan-tint); color: var(--cyan-text);
  font: inherit; font-size: 12px; font-weight: 600; cursor: pointer;
}
.dp-quick:hover { background: var(--cyan-tint-hover); }
.dp-quick:disabled { opacity: 0.5; cursor: not-allowed; }
.dp-clear { margin-left: auto; background: none; color: var(--muted); }
.dp-clear:hover { background: var(--row-hover); color: var(--text); }

/* filter dropdowns match the segmented tabs: same height, light frame */
.dd:not(.dd-field):not(.dd-overlay) .dd-button { height: 40px; border-color: var(--neutral-300); }
.dd:not(.dd-field):not(.dd-overlay) .dd-button:hover { border-color: var(--neutral-500); background: var(--surface); }
.tabs { min-height: 40px; box-sizing: border-box; }
.tabs a { padding-top: 5px; padding-bottom: 5px; }

/* links in the page head were white on the old sky band */
.page-head p a, .page-head .muted a { color: var(--link); text-decoration: underline; }
.page-head p a:hover { color: var(--blue-700); }

/* type toggle (e.g. Draft release: Patch / Full) looks like the segmented tabs */
.type-toggle { gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: none; background: var(--surface); }
.type-toggle a { padding: 6px 12px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500; color: var(--text); }
.type-toggle a:hover { background: var(--row-hover); color: var(--text); }
.type-toggle a.active, .type-toggle a.active:hover { background: var(--selected-bg); color: var(--selected-text); font-weight: 700; }
.type-toggle a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -2px; }

/* ── Back link: like the backoffice (transparent button, arrow, muted until hover) ── */
.back {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px -12px; padding: 7px 12px;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 700; line-height: 1.2;
  color: var(--muted); text-decoration: none; background: transparent;
}
.back:hover { color: var(--text); background: rgba(44, 46, 47, 0.04); }
.back:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.back .ti { font-size: 16px; }

/* bare option icons (e.g. Jira issue types) in dropdowns */
.dd-av.dd-av-plain { background: none; color: var(--muted); width: 18px; height: 18px; }
.dd-av.dd-av-plain .ti { font-size: 16px; }
.dd-field .dd-button .dd-av-plain { margin-left: 0; width: 18px; height: 18px; }

/* ── Checkboxes and radios like the backoffice (.cbr-replaced): 15x15, 1px input frame,
   radius 4; checked = primary fill with a white check / a primary dot; 10px to the label ── */
input[type=checkbox], input[type=radio] {
  -webkit-appearance: none; appearance: none; flex: none; display: inline-grid; place-content: center;
  width: 15px; height: 15px; margin: 0; padding: 0; vertical-align: -2px; cursor: pointer;
  border: 1px solid var(--neutral-500); border-radius: var(--radius-sm); background: var(--surface);
}
input[type=radio] { border-radius: 50%; }
input[type=checkbox]:checked { border-color: var(--btn-primary); background: var(--btn-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat; }
input[type=checkbox]:indeterminate { border-color: var(--btn-primary); background: var(--btn-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23fff' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 11px no-repeat; }
input[type=radio]:checked::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--btn-primary); }
input[type=checkbox]:hover:not(:disabled), input[type=radio]:hover:not(:disabled) { border-color: var(--neutral-700); }
input[type=checkbox]:checked:hover:not(:disabled) { border-color: var(--btn-primary-hover); background-color: var(--btn-primary-hover); }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
input[type=checkbox]:disabled, input[type=radio]:disabled { opacity: 0.5; cursor: not-allowed; }
label:has(> input[type=checkbox]), label:has(> input[type=radio]) { cursor: pointer; }
.form label.check, label.check { gap: 10px; font-weight: 400; }

/* taps on pickers fire at once (no wait for a possible double-tap zoom) */
.dd-button, .dd-option, .dd-sheet-close, .assignee-av, .rt-person, .pp-list li { touch-action: manipulation; }

/* ── Person pickers as a bottom sheet on phones (dropdown.js moves the list to <body>) ── */
.dd-sheet-head { display: none; }
.dd-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(44, 46, 47, 0.4); }
.dd-backdrop[hidden] { display: none; }
.dd-panel.is-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 91; width: auto; min-width: 0; max-width: none;
  max-height: 75vh; display: flex; flex-direction: column; padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  border: 0; border-radius: 12px 12px 0 0; box-shadow: var(--shadow-modal); background: var(--surface);
  font-size: 15px; color: var(--text); animation: dd-sheet-in 0.14s ease-out;
}
.dd-panel.is-sheet .dd-sheet-head { display: flex; align-items: center; gap: 8px; position: relative; padding: 18px 4px 10px; }
.dd-sheet-grab { position: absolute; top: 6px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 999px; background: var(--neutral-300); }
.dd-sheet-title { flex: 1; font-size: 16px; font-weight: 700; }
.dd-sheet-close { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: var(--radius-md); background: none; color: var(--muted); cursor: pointer; }
.dd-sheet-close:hover { background: var(--row-hover); color: var(--text); }
.dd-panel.is-sheet .dd-search { height: 40px; margin-bottom: 6px; }
.dd-panel.is-sheet .dd-list { flex: 1; max-height: none; overflow-y: auto; }
.dd-panel.is-sheet .dd-option { min-height: 44px; font-size: 15px; }
.dd-panel.is-sheet .dd-av { width: 28px; height: 28px; font-size: 11px; }
html.dd-sheet-open, html.dd-sheet-open body { overflow: hidden; }
@keyframes dd-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .dd-panel.is-sheet { animation: none; } }

/* ── Code fields (codefield.js): highlighted copy behind a transparent textarea ── */
.code-field { position: relative; display: block; width: 100%; }
.code-field .code-hl, .code-field textarea, .form .code-field textarea {
  box-sizing: border-box; margin: 0; padding: 9px 12px; border: 1px solid var(--neutral-500); border-radius: var(--radius-md);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.55; letter-spacing: 0;
  tab-size: 2; white-space: pre-wrap; overflow-wrap: anywhere; word-break: normal;
}
.code-field .code-hl {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; color: var(--text); background: var(--surface);
  border-color: transparent;
}
.code-field textarea, .form .code-field textarea {
  position: relative; display: block; width: 100%; min-height: 96px; resize: vertical;
  color: transparent; caret-color: var(--text); background: transparent;
}
.code-field textarea::placeholder { color: var(--neutral-500); }
.code-field textarea::selection { background: rgba(33, 129, 224, 0.25); color: transparent; }
.code-field textarea:focus { outline: none; border-color: var(--focus-ring); box-shadow: var(--ring); }
.code-field.is-invalid textarea { border-color: var(--red-500); }
.code-hint { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--red-700); }
.tk-kw { color: #1F3C7A; font-weight: 600; }
.tk-fn { color: #0C5EB0; }
.tk-var { color: #166E8F; }
.tk-str { color: #477900; }
.tk-num, .tk-lit { color: #98520F; }
.tk-com { color: #4D525C; font-style: italic; }
.tk-tag { color: #4D525C; font-weight: 600; }
.tk-key { color: #1F3C7A; font-weight: 600; }
.tk-punc { color: #4D525C; }

/* ── Tablet / small desktop: collapsed 80px sidebar (icons only), rails stack ── */
@media (min-width: 768px) and (max-width: 1199px) {
  :root { --sidebar-w: 80px; }
  .sidebar { padding: 20px 12px; align-items: stretch; }
  .sidebar .brand { justify-content: center; padding: 0; }
  .sidebar .brand-logo { display: none; }
  .sidebar .brand-mark { display: block; width: 32px; height: 32px; border-radius: var(--radius-md); }
  .brand-tag, .brand-divider, .brand-tool, .tool-meta, .tool-switch > summary > .ti-selector, .sidebar .user-meta { display: none; }
  .tool-switch > summary { justify-content: center; padding: 6px; }
  .tool-menu { right: auto; width: 200px; }
  .side-nav a { justify-content: center; padding: 10px; }
  .side-nav a .ti { font-size: 18px; }
  .nav-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }
  .user-menu > summary { flex-direction: column; padding: 8px 0; gap: 4px; }
  .user-chevron { margin: 0; font-size: 14px; }
  /* the rail is narrow: menus open to the right of it instead of being clipped */
  .sidebar { overflow: visible; }
  .user-dropdown { left: calc(100% + 8px); right: auto; top: 0; width: 200px; }
  .tool-menu { top: auto; bottom: 0; }
  .tool-menu { left: 0; bottom: 0; left: calc(100% + 8px); }
}
@media (max-width: 1000px) {
  .wb, .wb.wb-right { grid-template-columns: minmax(0, 1fr); }
  .wb > * { min-width: 0; }
  .wb-rail { position: static; max-height: none; overflow: visible; }
}

/* ── Mobile: top bar + bottom navigation (backend < 768px) ── */
@media (max-width: 767px) {
  .shell.has-sidebar { flex-direction: column; }
  .shell-main { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .sidebar {
    position: sticky; top: 0; z-index: 40; width: auto; height: auto; flex: none; overflow: visible;
    flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
    border-right: 0; border-bottom: 1px solid var(--border); padding: 8px 15px;
  }
  /* the user moves into the "More" sheet */
  .user-menu { display: none; }
  .more-user { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
  .more-user-head { display: flex; align-items: center; gap: 10px; padding: 4px 12px 8px; font-size: 13px; }
  .more-user-head img, .more-user-head .small-avatar { width: 32px; height: 32px; border-radius: 50%; flex: none; }
  .more-user .user-meta { display: flex; flex-direction: column; line-height: 1.3; }
  .more-user .user-name { display: block; font-weight: 700; }
  .more-user .user-role { font-size: 12px; color: var(--muted); }

  /* bottom bar: main navigation + More */
  .sidebar > .side-nav {
    position: fixed; left: 0; right: 72px; bottom: 0; z-index: 40;
    flex-direction: row; gap: 0; background: var(--surface); border-top: 1px solid var(--border);
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  }
  .sidebar > .side-nav a {
    flex: 1 1 0; min-width: 0; flex-direction: column; justify-content: center; gap: 2px;
    padding: 6px 2px; font-size: 11px; text-align: center;
  }
  .sidebar > .side-nav a .ti { font-size: 20px; }
  .sidebar > .side-nav .nav-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .side-more { margin: 0; padding: 0; border: 0; }
  .more-btn {
    display: flex; position: fixed; right: 0; bottom: 0; z-index: 41; width: 72px;
    flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 10px 2px calc(8px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--border);
    font-size: 11px; color: var(--text); cursor: pointer; list-style: none;
  }
  .more-btn::-webkit-details-marker { display: none; }
  .more-btn .ti { font-size: 20px; color: var(--cyan-800); }
  .side-more[open] .more-btn, .side-more[open] .more-btn .ti { color: var(--selected-text); font-weight: 700; }
  .side-more-body {
    position: fixed; left: 8px; right: 8px; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 42;
    padding: 12px; background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); box-shadow: var(--shadow-modal);
  }
  .tool-menu { position: static; margin-top: 4px; box-shadow: none; }

  .topbar-search { position: static; padding: 8px 15px; min-height: 0; }
  .search-trigger { max-width: none; }
  .search-trigger-keys, .search-foot { display: none; }
  .search-modal { margin-top: 8px; max-height: calc(100vh - 16px - 64px); }
  .container { padding: 20px 15px 40px; }
  .footer { padding: 0 15px 20px; }
  .page-head h1, .rel-detail-title h1 { font-size: 24px; letter-spacing: 0.01em; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Modal dialogs (modal.js): replace confirm() / alert() / prompt() ── */
.px-modal {
  width: min(440px, calc(100vw - 32px)); max-width: none; padding: 0; margin: auto;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  background: var(--surface); color: var(--text); box-shadow: var(--shadow-modal);
}
.px-modal::backdrop { background: rgba(44, 46, 47, 0.4); }
.px-modal-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; margin: 0; }
.px-modal-title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.px-modal-text { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.px-modal-field { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 500; }
.px-modal-field input { width: 100%; box-sizing: border-box; }
.px-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.px-modal .btn-danger:not(.btn-secondary) { background: var(--btn-danger); border-color: var(--btn-danger); color: #FFFFFF; }
.px-modal .btn-danger:not(.btn-secondary):hover { background: var(--btn-danger-hover); border-color: var(--btn-danger-hover); }
.px-modal .btn-danger:not(.btn-secondary):active { background: var(--btn-danger-active); border-color: var(--btn-danger-active); }
@media (max-width: 767px) {
  .px-modal {
    width: 100%; max-height: calc(100vh - 32px); margin: auto 0 0;
    border-width: 1px 0 0; border-radius: 12px 12px 0 0;
  }
  .px-modal-body { padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
  .px-modal-actions { flex-direction: column-reverse; }
  .px-modal-actions .btn { width: 100%; justify-content: center; }
}
/* drawer whose whole content is one form (Add epic): head, scrolling body, footer */
.drawer > form { display: flex; flex-direction: column; flex: 1; min-height: 0; max-width: none; gap: 0; }
.drawer > form > .drawer-body { display: flex; flex-direction: column; gap: 14px; }
.drawer > form > .drawer-foot { position: static; margin: 0; display: flex; justify-content: flex-end; gap: 8px; }

/* ── Sliding active marker (slider.js): nav, tabs, segmented switches ── */
.has-slide { position: relative; }
.has-slide > .slide-ind {
  position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; padding: 0; margin: 0;
  background: var(--selected-bg); pointer-events: none; opacity: 0; will-change: transform;
}
.has-slide > :not(.slide-ind) { position: relative; z-index: 1; }
.has-slide > .active, .has-slide > .active:hover { background: transparent; }

/* ── Change page: status pill next to the title, actions in the header ── */
.ch-head-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
.ch-head-title h1 { margin: 0; }
.page-head .actions form.inline { display: inline-flex; }

/* destructive button in a page header keeps its red tone */
.page-head .btn-secondary.btn-danger { background: var(--btn-danger-soft); border-color: transparent; color: var(--btn-danger-soft-label); }
.page-head .btn-secondary.btn-danger:hover { background: var(--btn-danger-soft-hover); color: var(--btn-danger-soft-label); }

/* Filters (tabs) in a page head sit on the left, below the title and description */
.page-head > div > .tabs { display: inline-flex; margin-top: 14px; }

/* ── Releases as a table ── */
.rel-table-card { border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: none; overflow-x: auto; }
.rel-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rel-table th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.rel-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rel-table tbody tr:last-child td { border-bottom: 0; }
.rel-table tbody tr:hover { background: var(--row-hover); }
.rel-table tr.is-archived td { color: var(--muted); }
.rel-table .rel-version { color: var(--text); text-decoration: none; font-size: 15px; }
.rel-table .rel-version:hover { color: var(--link, var(--cyan-800)); text-decoration: underline; }
.rel-table .rel-note { display: block; margin-top: 2px; }
.rel-table .nowrap { white-space: nowrap; }
.rel-table .rel-act { text-align: right; white-space: nowrap; }
.rel-table .rel-act form.inline { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.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; }
@media (max-width: 767px) {
  .rel-table th:nth-child(3), .rel-table td:nth-child(3) { display: none; }
  .rel-table th, .rel-table td { padding: 10px 12px; }
}
