/* =============================================================
   papyrus-help.css
   Shared stylesheet for the Papyrus Cloud Help Centre (HelpV2)
   All help pages reference this file instead of inline styles.
   © 2026 Parity Software CC
   ============================================================= */


/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --primary:       #1a4a7a;
  --primary-light: #e6f1fb;
  --primary-mid:   #378add;
  --accent:        #0f6e56;
  --accent-light:  #e1f5ee;
  --warn:          #854f0b;
  --warn-light:    #faeeda;
  --danger:        #a32d2d;
  --danger-light:  #fcebeb;
  --text:          #1a1a1a;
  --text-secondary:#555;
  --border:        #d3d1c7;
  --bg:            #f8f8f6;
  --white:         #ffffff;
  --step-bg:       #f1efe8;
  --nav-width:     240px;
}


/* ── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

p  { margin-bottom: 0.85rem; }
h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.35rem;
}


/* ── SITE HEADER ─────────────────────────────────────────────── */
.site-header {
  background: var(--primary);
  color: white;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.site-header .logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: white;
  text-decoration: none;
}
.site-header .logo span { color: #9fe1cb; }
.site-header .doc-title {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  border-left: 1px solid rgba(255,255,255,0.25);
  padding-left: 1.25rem;
  margin-left: 0.25rem;
}


/* ── LAYOUT ──────────────────────────────────────────────────── */
.layout {
  display: flex;
  min-height: calc(100vh - 60px);
  max-width: 1100px;
  margin: 0 auto;
}


/* ── SIDEBAR NAV ─────────────────────────────────────────────── */
nav {
  width: var(--nav-width);
  flex-shrink: 0;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
nav .nav-section {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.75rem 1.25rem 0.4rem;
}
nav a {
  display: block;
  padding: 0.4rem 1.25rem;
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.15s;
}
nav a:hover  { color: var(--primary); background: var(--primary-light); }
nav a.active {
  color: var(--primary);
  border-left-color: var(--primary-mid);
  background: var(--primary-light);
  font-weight: 500;
}


/* ── MAIN CONTENT ────────────────────────────────────────────── */
main {
  flex: 1;
  padding: 2.5rem 3rem;
  max-width: 820px;
  min-width: 0;
}


/* ── INTRO BLOCK ─────────────────────────────────────────────── */
.guide-intro {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.guide-intro h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.guide-intro .subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 1.25rem;
}
.guide-intro .overview-box {
  background: var(--primary-light);
  border: 1px solid #b5d4f4;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 14px;
  color: var(--primary);
}


/* ── HELP SECTIONS ───────────────────────────────────────────── */
.help-section { margin-bottom: 2.75rem; scroll-margin-top: 80px; }
.section-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem; }
.section-header h2 { font-size: 20px; font-weight: 600; color: var(--primary); }
.section-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--primary-light);
  border: 1px solid #b5d4f4;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}


/* ── UTILITY ─────────────────────────────────────────────────── */
.mono {
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  background: var(--step-bg);
  padding: 1px 5px;
  border-radius: 3px;
}
.section-divider { border: none; border-top: 1px solid var(--border); margin: 2.25rem 0; }

.breadcrumb { font-size: 12.5px; color: var(--text-secondary); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--primary-mid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.4rem; }


/* ── FIELD TABLE ─────────────────────────────────────────────── */
.field-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 0.75rem 0 1.5rem;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.field-table thead { background: var(--step-bg); }
.field-table th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid var(--border);
}
.field-table td {
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.55;
}
.field-table tr:last-child td { border-bottom: none; }
.field-table td:first-child { font-weight: 600; color: var(--primary); white-space: nowrap; width: 170px; }


/* ── CALLOUTS ────────────────────────────────────────────────── */
.callout {
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  margin: 1rem 0;
  font-size: 14px;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.callout-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.callout.tip  { background: var(--accent-light);   border: 1px solid #9fe1cb; color: #085041; }
.callout.note { background: var(--primary-light);  border: 1px solid #b5d4f4; color: #0c447c; }
.callout.warn { background: var(--warn-light);     border: 1px solid #fac775; color: var(--warn); }


/* ── EXAMPLE BOX ─────────────────────────────────────────────── */
.example-box {
  background: var(--step-bg);
  border-left: 3px solid var(--primary-mid);
  border-radius: 0 6px 6px 0;
  padding: 0.85rem 1.1rem;
  margin: 0.85rem 0;
  font-size: 14px;
}
.example-box .example-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-mid);
  margin-bottom: 0.35rem;
}
.example-box p { margin-bottom: 0.3rem; }


/* ── FORM MOCKUP ─────────────────────────────────────────────── */
.form-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  max-width: 560px;
  margin: 1rem 0 1.5rem;
}
.form-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.form-row:last-child { margin-bottom: 0; }

/* filter-mockup is an alias used on the stock take page */
.filter-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  max-width: 560px;
  margin: 1rem 0 1.5rem;
}
.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.filter-row:last-child { margin-bottom: 0; }

.mock-label { font-size: 13px; color: var(--text-secondary); width: 120px; flex-shrink: 0; }
.mock-input {
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}
.mock-input.short  { width: 90px; }
.mock-input.medium { width: 160px; }
.mock-input.long   { flex: 1; min-width: 180px; }

.mock-select {
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--bg);
  padding: 0 10px;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 160px;
}
.mock-select::after { content: '▾'; font-size: 10px; color: var(--text-secondary); margin-left: 8px; }

.mock-btn {
  height: 32px;
  padding: 0 14px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  background: var(--primary);
  color: white;
  border: none;
  cursor: default;
}
.mock-btn.secondary { background: var(--step-bg); color: var(--text); }
.mock-btn.export    { background: var(--accent);  color: white; }
.mock-btn.danger    { background: var(--danger-light); color: var(--danger); border: 1px solid #f5b7b7; }
.mock-sep { width: 1px; height: 24px; background: var(--border); margin: 0 4px; }


/* ── MEMBER TYPES GRID MOCKUP ────────────────────────────────── */
.mt-grid {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
  max-width: 600px;
}
.mt-grid table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.mt-grid th {
  background: var(--primary);
  color: white;
  text-align: left;
  padding: 0.45rem 0.75rem;
  font-size: 11px;
  font-weight: 500;
}
.mt-grid td { padding: 0.42rem 0.75rem; border-bottom: 1px solid var(--border); }
.mt-grid tr:last-child td { border-bottom: none; }
.mt-grid tr:nth-child(even) td { background: var(--bg); }
.mt-btn {
  display: inline-block;
  font-size: 11.5px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #b5d4f4;
  border-radius: 4px;
  padding: 2px 10px;
  cursor: default;
  font-weight: 600;
}
.mt-btn.unset { background: var(--step-bg); color: var(--text-secondary); border-color: var(--border); }


/* ── PROMOTE FLOW ────────────────────────────────────────────── */
.promote-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0.75rem 0 1.25rem;
  font-size: 13px;
}
.pf-box {
  background: var(--primary-light);
  border: 1px solid #b5d4f4;
  border-radius: 5px;
  padding: 4px 10px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}
.pf-box.end { background: var(--step-bg); border-color: var(--border); color: var(--text-secondary); }
.pf-arrow   { color: var(--text-secondary); font-size: 14px; }


/* ── FLOW DIAGRAM (Reading Lists) ────────────────────────────── */
.flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0.75rem 0 1.25rem;
  font-size: 13px;
}
.flow-box {
  background: var(--primary-light);
  border: 1px solid #b5d4f4;
  border-radius: 5px;
  padding: 5px 12px;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}
.flow-box.opac   { background: var(--accent-light); border-color: #9fe1cb; color: var(--accent); }
.flow-box.member { background: var(--step-bg); border-color: var(--border); color: var(--text-secondary); }
.flow-arrow      { color: var(--text-secondary); font-size: 14px; }


/* ── VIEW MODE BUTTONS (Stock Take Enquiry) ──────────────────── */
.view-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 1.5rem; }
.vm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 5px;
  border: 1px solid;
  cursor: default;
  white-space: nowrap;
}
.vm-btn.all              { background: var(--primary-light); border-color: #b5d4f4;  color: var(--primary); }
.vm-btn.scanned          { background: var(--accent-light);  border-color: #9fe1cb;  color: var(--accent); }
.vm-btn.not-scanned      { background: var(--warn-light);    border-color: #fac775;  color: var(--warn); }
.vm-btn.issued           { background: var(--step-bg);       border-color: var(--border); color: var(--text-secondary); }
.vm-btn.not-scanned-issued { background: var(--danger-light); border-color: #f5b7b7; color: var(--danger); }
.vm-btn.active-indicator { box-shadow: 0 0 0 2px var(--primary-mid); }


/* ── STATUS TAGS ─────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  border-radius: 3px;
  padding: 1px 7px;
}
.tag-scanned    { background: var(--accent-light);  color: var(--accent); }
.tag-not-scanned{ background: var(--warn-light);    color: var(--warn); }
.tag-issued     { background: var(--step-bg);       color: var(--text-secondary); }
.tag-ns-issued  { background: var(--danger-light);  color: var(--danger); }

/* Reading List targeting tags */
.tag-opt {
  display: inline-block;
  font-size: 11px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #b5d4f4;
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 3px;
}
.tag-blank { display: inline-block; font-size: 11px; color: var(--text-secondary); font-style: italic; }


/* ── RESULTS GRID (Stock Take Enquiry) ───────────────────────── */
.results-grid {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}
.results-grid table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.results-grid th {
  background: var(--primary);
  color: white;
  text-align: left;
  padding: 0.45rem 0.75rem;
  font-size: 11px;
  font-weight: 500;
}
.results-grid td { padding: 0.42rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.results-grid tr:last-child td { border-bottom: none; }
.results-grid tr:nth-child(even) td { background: var(--bg); }
.results-grid tr:nth-child(even) .tag-scanned     { background: var(--accent-light); }
.results-grid tr:nth-child(even) .tag-not-scanned { background: #fde8c8; }
.results-grid tr:nth-child(even) .tag-issued      { background: #e8e8e8; }
.rec-link {
  display: inline-block;
  font-size: 11px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #b5d4f4;
  border-radius: 4px;
  padding: 1px 8px;
  cursor: default;
  font-weight: 600;
}


/* ── STAT CARDS (Stock Take Enquiry) ─────────────────────────── */
.stat-cards { display: flex; flex-wrap: wrap; gap: 10px; margin: 1rem 0 1.5rem; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1.1rem;
  min-width: 120px;
  flex: 1;
}
.stat-card .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}
.stat-card .stat-value { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat-card.green .stat-value { color: var(--accent); }
.stat-card.amber .stat-value { color: var(--warn); }
.stat-card.red   .stat-value { color: var(--danger); }


/* ── READING LIST GRIDS ──────────────────────────────────────── */
.rl-grid {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}
.rl-grid table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.rl-grid th {
  background: var(--primary);
  color: white;
  text-align: left;
  padding: 0.45rem 0.75rem;
  font-size: 11px;
  font-weight: 500;
}
.rl-grid td { padding: 0.42rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rl-grid tr:last-child td { border-bottom: none; }
.rl-grid tr:nth-child(even) td { background: var(--bg); }
.rl-action { display: inline-block; font-size: 11.5px; color: var(--primary-mid); text-decoration: underline; cursor: default; margin-right: 8px; }
.rl-delete { display: inline-block; font-size: 11.5px; color: var(--danger); cursor: default; }

.pub-grid {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 1rem 0 1.5rem;
}
.pub-grid table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pub-grid th {
  background: var(--step-bg);
  color: var(--text-secondary);
  text-align: left;
  padding: 0.45rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.pub-grid td { padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.5; }
.pub-grid tr:last-child td { border-bottom: none; }
.pub-grid tr:nth-child(even) td { background: var(--bg); }
.pub-isbd { font-size: 12px; color: var(--text); }
.pub-date  { font-size: 11.5px; color: var(--text-secondary); white-space: nowrap; }


/* ── FOOTER ──────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 1.25rem 3rem;
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer a { color: var(--primary); text-decoration: none; }
footer a:hover { text-decoration: underline; }


/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { display: none; }
  main { padding: 1.5rem; }
  .mt-grid,
  .form-mockup,
  .filter-mockup,
  .results-grid,
  .rl-grid,
  .pub-grid    { max-width: 100%; overflow-x: auto; }
  .stat-cards  { gap: 8px; }
}


/* =============================================================
   OLD-TEMPLATE COMPONENT STYLES
   Used by: EasyCAT, QuickCAT, FastCAT, AdvanceCAT,
            Barcode Labels, Stock Take, Interlibrary Loans
   ============================================================= */

/* These pages use a sidebar+main-content layout rather than
   the sticky left-nav layout used by the parameter pages.    */

a { color: #1a6bbf; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Breadcrumb bar */
.breadcrumb-bar {
  background: #f0f4f8;
  border-bottom: 1px solid #dde3ec;
  padding: 8px 24px;
  font-size: 12.5px;
  color: #5a6a7e;
}
.breadcrumb-bar a { color: #1a4a7a; }
.breadcrumb-bar span { margin: 0 5px; }

/* Page layout */
.page-body {
  display: flex;
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  gap: 40px;
}

/* Sidebar */
.sidebar {
  width: 200px;
  flex-shrink: 0;
  align-self: flex-start;
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c5d0df transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: #c5d0df; border-radius: 4px; }
.sidebar-box { margin-bottom: 24px; }
.sidebar-box h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #7a8a9e;
  margin-bottom: 8px;
  border-bottom: none;
  padding-bottom: 0;
}
.sidebar-box ul { list-style: none; }
.sidebar-box ul li { margin-bottom: 2px; }
.sidebar-box ul li a {
  font-size: 13px;
  color: #2c4a6e;
  display: block;
  padding: 3px 6px;
  border-radius: 4px;
  transition: background .15s;
}
.sidebar-box ul li a:hover,
.sidebar-box ul li a.active { background: #e8f0fb; text-decoration: none; }
.sidebar-box ul li a.active { font-weight: 600; color: #1a4a7a; }

/* Main content area */
.main-content { flex: 1; min-width: 0; }

/* Page title block */
.page-title-block { margin-bottom: 28px; }
.page-title-block h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 6px;
}
.page-title-block .lead {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 0;
}

/* Content sections */
.content-section { margin-bottom: 0; }
.content-section h2,
.content-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 32px 0 12px;
}
.content-section h3,
.content-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #2c4a6e;
  margin: 20px 0 8px;
  border-bottom: none;
  padding-bottom: 0;
}
.content-section p,
.content-card p { margin-bottom: 12px; }

/* Field table — old-template variant */
.field-table td code {
  background: #eef2f7;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12.5px;
  font-family: 'Consolas', monospace;
}

/* Compare table (FastCAT) */
.compare-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14px; }
.compare-table th {
  background: #1a4a7a;
  color: #fff;
  text-align: center;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
}
.compare-table th:first-child { text-align: left; }
.compare-table td { padding: 8px 13px; border-bottom: 1px solid #eaeff5; text-align: center; font-size: 14px; }
.compare-table td:first-child { text-align: left; color: #1a3a5c; }
.compare-table tr:nth-child(even) td { background: #f7f9fc; }
.compare-table .tick  { color: #2f855a; font-weight: 700; }
.compare-table .cross { color: #a0aec0; }
.compare-table .current-col { background: #ebf4ff !important; font-weight: 600; }

/* Mode table (Interlibrary Loans) */
.mode-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14px; }
.mode-table th {
  background: #1a4a7a;
  color: #fff;
  text-align: left;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
}
.mode-table td { padding: 9px 13px; border-bottom: 1px solid #eaeff5; vertical-align: top; }
.mode-table tr:last-child td { border-bottom: none; }
.mode-table tr:nth-child(even) td { background: #f7f9fc; }

/* Overview table (Barcode Labels) */
.overview-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 14px; }
.overview-table th {
  background: #1a4a7a;
  color: #fff;
  text-align: left;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
}
.overview-table td { padding: 9px 13px; border-bottom: 1px solid #eaeff5; vertical-align: top; }
.overview-table tr:last-child td { border-bottom: none; }
.overview-table td:first-child { font-weight: 600; color: #1a3a5c; white-space: nowrap; width: 28%; }

/* Tab pills */
.tab-list  { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tab-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tab-pill  {
  background: #eaf1fb;
  border: 1px solid #b8d0ee;
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1a4a7a;
}

/* Step list */
.step-list { list-style: decimal; margin: 12px 0 12px 20px; }
.step-list li { margin-bottom: 8px; font-size: 14px; padding-left: 4px; }
.step-list li::before { display: none; }

/* Method boxes (Barcode Labels) */
.method-box        { border: none; margin-bottom: 8px; }
.method-box-header { background: none; padding: 0; display: block; }
.method-box-header .method-num { display: none; }
.method-box-header h3 { font-size: 18px; font-weight: 700; color: #1a3a5c; margin: 28px 0 10px; }
.method-box-body   { padding: 0; }
.sub-method        { border: none; background: none; padding: 0; margin-bottom: 16px; }
.sub-method-header { margin-bottom: 6px; }
.sub-method-header strong { font-size: 15px; color: #1a3a5c; font-weight: 700; }

/* Button label */
.btn-label { font-weight: 700; color: #1a3a5c; }

/* Module badge — hidden */
.module-badge { display: none; }

/* UNIMARC / AdvanceCAT specific */
.unimarc-example {
  background: #f7f9fc;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  padding: 12px 16px;
  font-family: 'Consolas', monospace;
  font-size: 13px;
  margin: 12px 0;
  overflow-x: auto;
}
.seg {
  display: inline-block;
  background: #eaf1fb;
  border: 1px solid #b8d0ee;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 12px;
  font-family: 'Consolas', monospace;
  color: #1a4a7a;
  margin: 1px;
}
.arn-link { color: #1a6bbf; text-decoration: underline; cursor: default; }
.new-link { color: #2f855a; font-weight: 600; }
.highlight-row td { background: #fffbeb !important; }
.section-box {
  background: #f7f9fc;
  border: 1px solid #dde3ec;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 14px 0;
}
.section-diagram {
  background: #f0f4f8;
  border: 1px solid #dde3ec;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 12px 0;
  font-size: 13px;
  color: #2c4a6e;
}

/* Site footer — old-template variant */
.site-footer {
  background: #1a3a5c;
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: 12.5px;
  padding: 18px;
}
.site-footer a { color: rgba(255,255,255,.85); }

/* Responsive */
@media (max-width: 768px) {
  .page-body { flex-direction: column; }
  .sidebar { width: 100%; position: static; max-height: none; overflow-y: visible; }
}

form#form1 {
    margin: 0;
    padding: 0;
    display: contents; /* makes the form invisible to layout */
}