/*
 * Canonical site shell styles.
 * Keep global chrome here; page-specific article styles remain in each page.
 */
:root {
  --site-shell-ink: #1b1f23;
  --site-shell-ink-soft: #4a5056;
  --site-shell-paper: #fbfaf7;
  --site-shell-paper-alt: #f2efe8;
  --site-shell-line: #d8d3c7;
  --site-shell-green: #0b5;
  --site-shell-brown: #6b3f2a;
  --site-shell-sidebar-width: 274px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.site-shell {
  max-width: none !important;
  min-height: 100vh;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--site-shell-paper);
}

body.site-shell > .site-shell-topbar,
body.site-shell > .site-shell-header,
body.site-shell > .site-shell-page,
body.site-shell > .site-shell-footer {
  margin-left: var(--site-shell-sidebar-width);
}

.site-shell-topbar {
  background: var(--site-shell-ink);
  color: #eee;
  font: 0.78rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.site-shell-topbar-inner,
.site-shell-brand-row,
.site-shell-top-nav,
.site-shell-footer-inner,
.site-shell-footer-honesty {
  max-width: 78rem;
  margin: 0 auto;
}

.site-shell-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5em 1.2em;
  padding: 0.42em 1.3em;
}

.site-shell-stamp {
  color: #e7c9a9;
}

.site-shell-stamp b,
.site-shell-footer-honesty b {
  color: #fff;
}

.site-shell-site {
  color: #c9c2b3;
}

.site-shell-header {
  background: var(--site-shell-paper);
  border-bottom: 1px solid var(--site-shell-line);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.site-shell-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4em;
  padding: 0.9em 1.3em 0.55em;
}

.site-shell-brand {
  color: var(--site-shell-ink);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.site-shell-brand:hover {
  color: var(--site-shell-brown);
  text-decoration: none;
}

.site-shell-tag {
  color: var(--site-shell-ink-soft);
  font: italic 0.86rem/1.4 Georgia, "Times New Roman", serif;
}

.site-shell-top-nav {
  padding: 0 1.3em;
}

.site-shell-top-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15em;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--site-shell-line);
  list-style: none;
}

.site-shell-top-nav li {
  margin: 0;
}

.site-shell-top-nav a {
  display: block;
  padding: 0.66em 0.78em;
  border-bottom: 3px solid transparent;
  color: var(--site-shell-ink);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-shell-top-nav a:hover {
  border-bottom-color: var(--site-shell-brown);
  color: var(--site-shell-brown);
  text-decoration: none;
}

.site-shell-top-nav a.site-shell-current {
  border-bottom-color: var(--site-shell-green);
  color: var(--site-shell-green);
}

.site-shell-sidebar {
  position: fixed;
  z-index: 1000;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--site-shell-sidebar-width);
  max-height: 100vh;
  overflow: auto;
  padding: 18px 14px 24px;
  border-right: 1px solid #ddd;
  background: #fcfcfc;
  color: var(--site-shell-ink);
  font: 13px/1.4 "Helvetica Neue", Arial, sans-serif;
}

.site-shell-sidebar a {
  display: block;
  padding: 3px 8px;
  border-radius: 5px;
  color: var(--site-shell-ink);
  text-decoration: none;
}

.site-shell-sidebar a:hover {
  background: #eef7f1;
  text-decoration: none;
}

.site-shell-sidebar a.site-shell-current {
  background: #dff3e7;
  font-weight: 700;
}

.site-shell-nav-title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.25;
}

.site-shell-nav-title a {
  padding: 0;
  color: var(--site-shell-green);
}

.site-shell-nav-group {
  margin: 13px 0 4px;
  color: #888;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-shell-page {
  min-height: calc(100vh - 6rem);
  max-width: 84rem;
  padding: 1.35rem 1.8rem 4rem;
}

body.site-shell .site-shell-page > .anchor-layout {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-shell .site-shell-page > .anchor-layout > .anchor-content {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-shell .site-shell-page > .anchor-layout.site-shell-section-layout {
  display: grid !important;
  grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) !important;
  align-items: start;
  gap: 1.7rem;
}

body.site-shell .site-shell-section-layout > .site-shell-section-nav {
  position: sticky !important;
  top: 1rem !important;
  max-height: calc(100vh - 2rem) !important;
  overflow: auto !important;
  min-width: 0;
  padding: 0.9rem 0.8rem !important;
  border: 1px solid var(--site-shell-line);
  border-radius: 5px;
  background: var(--site-shell-paper-alt);
  font: 0.82rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

body.site-shell .site-shell-section-layout > .site-shell-section-nav a {
  display: block;
  padding: 3px 6px;
  color: var(--site-shell-ink);
  text-decoration: none;
}

body.site-shell .site-shell-section-layout > .site-shell-section-nav a:hover,
body.site-shell .site-shell-section-layout > .site-shell-section-nav a.current {
  background: #eef7f1;
  color: var(--site-shell-green);
  text-decoration: none;
}

body.site-shell .site-shell-page > .layout {
  width: auto !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.site-shell-local-nav {
  margin: 0 0 1.3rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--site-shell-line);
  border-left: 4px solid var(--site-shell-green);
  border-radius: 0 5px 5px 0;
  background: #f7fdf9;
  font: 0.86rem/1.4 "Helvetica Neue", Arial, sans-serif;
}

.site-shell-local-nav h2 {
  margin: 0 0 0.45rem;
  color: var(--site-shell-ink-soft);
  font: 700 0.72rem/1.2 "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-shell-local-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em 1.2em;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-shell-local-nav li {
  margin: 0;
}

.site-shell-local-nav a {
  color: var(--site-shell-green);
  text-decoration: none;
}

.site-shell-local-nav a:hover {
  text-decoration: underline;
}

.site-shell-footer {
  background: var(--site-shell-ink);
  color: #cfc9bd;
  font: 0.84rem/1.5 "Helvetica Neue", Arial, sans-serif;
}

.site-shell-footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.6rem 1.8rem 1.2rem;
}

.site-shell-footer h5 {
  margin: 0 0 0.45em;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-shell-footer p {
  margin: 0;
}

.site-shell-footer a {
  color: #e7c9a9;
  text-decoration: none;
}

.site-shell-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-shell-footer-honesty {
  padding: 0.75rem 1.8rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #aaa49a;
  font-size: 0.78rem;
}

.site-shell-footer-honesty span {
  color: #e7c9a9;
}

.site-shell-skip {
  position: fixed;
  z-index: 2000;
  top: 0.5rem;
  left: calc(var(--site-shell-sidebar-width) + 0.75rem);
  transform: translateY(-180%);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--site-shell-line);
  border-radius: 4px;
  background: #fff;
  color: var(--site-shell-ink);
}

.site-shell-skip:focus {
  transform: translateY(0);
}

@media (max-width: 900px) {
  body.site-shell > .site-shell-topbar,
  body.site-shell > .site-shell-header,
  body.site-shell > .site-shell-page,
  body.site-shell > .site-shell-footer {
    margin-left: 0;
  }

  .site-shell-sidebar {
    position: static;
    width: auto;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid #ddd;
  }

  .site-shell-sidebar nav {
    columns: 2 220px;
    column-gap: 1.2rem;
  }

  .site-shell-nav-title,
  .site-shell-nav-group,
  .site-shell-sidebar a {
    break-inside: avoid;
  }

  .site-shell-page {
    max-width: none;
    padding: 1.1rem 1rem 3rem;
  }

  body.site-shell .site-shell-page > .anchor-layout.site-shell-section-layout {
    display: block !important;
  }

  body.site-shell .site-shell-section-layout > .site-shell-section-nav {
    position: static !important;
    max-height: none !important;
    margin-bottom: 1.2rem;
  }

  .site-shell-footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.3rem 1rem 1rem;
  }

  .site-shell-footer-honesty {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .site-shell-skip {
    left: 0.75rem;
  }
}

@media (max-width: 560px) {
  .site-shell-sidebar nav {
    columns: 1;
  }

  .site-shell-brand-row {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .site-shell-top-nav {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
  }

  .site-shell-top-nav a {
    padding-right: 0.55em;
    padding-left: 0.55em;
    font-size: 0.78rem;
  }
}

/*
 * Canonical process-page theme
 * ----------------------------
 * These rules are the shared visual contract for the generated chrome and
 * common content furniture. They mirror /process/ while keeping the fixed
 * global left navigation used across this archive.
 */
:root {
  --site-shell-maxw: 1180px;
  --site-shell-accent: #6b3f2a;
  --site-shell-accent-2: #1f4e5f;
}

body.site-shell {
  display: flex !important;
  flex-direction: column;
  background: var(--site-shell-paper);
  color: var(--site-shell-ink);
  font-family: Georgia, "Times New Roman", Cambria, serif;
  line-height: 1.6;
  font-size: 17px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.site-shell a {
  color: var(--site-shell-accent-2);
}

body.site-shell a:hover {
  color: var(--site-shell-accent);
}

body.site-shell h1,
body.site-shell h2,
body.site-shell h3,
body.site-shell h4 {
  color: var(--site-shell-ink);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

body.site-shell code,
body.site-shell pre {
  background: var(--site-shell-paper-alt);
  border: 1px solid var(--site-shell-line);
  border-radius: 3px;
  font-family: Consolas, "Courier New", monospace;
}

body.site-shell code {
  padding: 0.05em 0.35em;
  font-size: 0.92em;
}

body.site-shell pre {
  padding: 0.9em 1em;
  overflow-x: auto;
}

body.site-shell table {
  width: 100%;
  border-collapse: collapse;
}

body.site-shell th,
body.site-shell td {
  padding: 0.5em 0.7em;
  border: 1px solid var(--site-shell-line);
  text-align: left;
  vertical-align: top;
}

body.site-shell th {
  background: var(--site-shell-paper-alt);
}

body.site-shell blockquote {
  margin: 1em 0;
  padding: 0.4em 1.1em;
  border-left: 3px solid var(--site-shell-accent);
  background: var(--site-shell-paper-alt);
  color: var(--site-shell-ink-soft);
}

body.site-shell .site-shell-topbar {
  background: var(--site-shell-ink);
  color: #eee;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 0.82rem;
}

body.site-shell .site-shell-topbar-inner,
body.site-shell .site-shell-brand-row,
body.site-shell .site-shell-top-nav,
body.site-shell .site-shell-footer-inner,
body.site-shell .site-shell-footer-honesty {
  max-width: var(--site-shell-maxw);
  margin-right: auto;
  margin-left: auto;
}

body.site-shell .site-shell-topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em 1.2em;
  padding: 0.4em 1.2em;
}

body.site-shell .site-shell-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: #e7c9a9;
  letter-spacing: 0.01em;
}

body.site-shell .site-shell-stamp b,
body.site-shell .site-shell-footer-honesty b {
  color: #fff;
  font-weight: 700;
}

body.site-shell .site-shell-site {
  color: #c9c2b3;
}

body.site-shell .site-shell-header {
  background: var(--site-shell-paper);
  border-bottom: 1px solid var(--site-shell-line);
}

body.site-shell .site-shell-brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4em;
  padding: 1.1em 1.2em 0.6em;
}

body.site-shell .site-shell-brand-row h1 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

body.site-shell .site-shell-brand,
body.site-shell .site-shell-brand:hover {
  color: var(--site-shell-ink);
  text-decoration: none;
}

body.site-shell .site-shell-tag {
  color: var(--site-shell-ink-soft);
  font-family: Georgia, serif;
  font-size: 0.95rem;
  font-style: italic;
}

body.site-shell .site-shell-top-nav {
  padding: 0 1.2em;
}

body.site-shell .site-shell-top-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2em;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--site-shell-line);
  list-style: none;
}

body.site-shell .site-shell-top-nav li {
  margin: 0;
}

body.site-shell .site-shell-top-nav a {
  display: block;
  padding: 0.8em 0.9em;
  border-bottom: 3px solid transparent;
  color: var(--site-shell-ink);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

body.site-shell .site-shell-top-nav a:hover {
  border-bottom-color: var(--site-shell-accent);
  color: var(--site-shell-accent);
  text-decoration: none;
}

body.site-shell .site-shell-top-nav a.site-shell-current {
  border-bottom-color: var(--site-shell-accent-2);
  color: var(--site-shell-accent-2);
}

body.site-shell .site-shell-page {
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--site-shell-maxw);
  min-height: 0;
  padding: 2em 1.2em 3em;
}

body.site-shell > .site-shell-topbar,
body.site-shell > .site-shell-header,
body.site-shell > .site-shell-sidebar,
body.site-shell > .site-shell-footer {
  flex: 0 0 auto;
}

body.site-shell .site-shell-page > .layout {
  padding: 0 !important;
}

body.site-shell .site-shell-page > .anchor-layout {
  padding: 0 !important;
}

body.site-shell .site-shell-local-nav {
  margin: 0 0 1.4em;
  padding: 1em 1.1em;
  border: 1px solid var(--site-shell-line);
  border-left: 4px solid var(--site-shell-accent-2);
  border-radius: 0 4px 4px 0;
  background: var(--site-shell-paper-alt);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 0.88rem;
}

body.site-shell .site-shell-local-nav h2 {
  margin: 0 0 0.6em;
  color: var(--site-shell-ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.site-shell .site-shell-local-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em 1.2em;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-shell .site-shell-local-nav li {
  margin: 0;
}

body.site-shell .site-shell-local-nav a {
  color: var(--site-shell-ink);
  text-decoration: none;
}

body.site-shell .site-shell-local-nav a:hover {
  color: var(--site-shell-accent);
  text-decoration: underline;
}

body.site-shell main {
  min-width: 0;
}

body.site-shell main h2 {
  margin-top: 1.9em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid var(--site-shell-line);
  font-size: 1.5rem;
}

body.site-shell main h2:first-child {
  margin-top: 0;
}

body.site-shell main h3 {
  margin-top: 1.5em;
  font-size: 1.18rem;
}

body.site-shell main p {
  margin: 0.9em 0;
}

body.site-shell .lede {
  color: var(--site-shell-ink-soft);
  font-size: 1.12rem;
}

body.site-shell .callout {
  margin: 1.4em 0;
  padding: 1em 1.2em;
  border: 1px solid var(--site-shell-line);
  border-left: 4px solid var(--site-shell-accent-2);
  border-radius: 0 4px 4px 0;
  background: var(--site-shell-paper-alt);
}

body.site-shell .callout h3,
body.site-shell .callout h4 {
  margin-top: 0;
}

body.site-shell .honesty-box {
  margin: 1.4em 0;
  padding: 1em 1.2em;
  border: 1px dashed var(--site-shell-accent);
  border-radius: 4px;
  background: #fbf3ea;
  font-size: 0.95rem;
}

body.site-shell .card-grid,
body.site-shell .jgrid {
  display: grid;
  gap: 1em;
  margin: 1.4em 0;
}

body.site-shell .card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

body.site-shell .jgrid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

body.site-shell .card,
body.site-shell .jcard {
  padding: 1em 1.1em;
  border: 1px solid var(--site-shell-line);
  border-radius: 4px;
  background: #fff;
}

body.site-shell .jcard {
  padding: 1.05em 1.15em;
  cursor: pointer;
  transition: box-shadow 0.15s ease;
}

body.site-shell .jcard:hover,
body.site-shell .jcard:focus {
  box-shadow: 0 4px 14px rgba(27, 31, 35, 0.14);
}

body.site-shell .jcard:focus {
  outline: 2px solid var(--site-shell-accent-2);
  outline-offset: 2px;
}

body.site-shell .card h4 {
  margin: 0 0 0.4em;
  font-size: 1.02rem;
}

body.site-shell .card p,
body.site-shell .jcard p {
  margin: 0.4em 0 0;
  color: var(--site-shell-ink-soft);
  font-size: 0.93rem;
}

body.site-shell .jcard h3 {
  display: flex;
  align-items: center;
  margin: 0 0 0.35em;
  font-size: 1.04rem;
}

body.site-shell .jcard h3 a {
  color: var(--site-shell-ink);
  text-decoration: none;
}

body.site-shell .jcard:hover h3 a {
  color: var(--site-shell-accent-2);
}

body.site-shell .jcard .after {
  margin-top: 0.65em;
  color: var(--site-shell-accent-2);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

body.site-shell .jcard-side {
  border-left: 4px solid var(--site-shell-accent);
  background: var(--site-shell-paper-alt);
}

body.site-shell .btn {
  display: inline-block;
  padding: 0.7em 1.3em;
  border: 1px solid var(--site-shell-accent-2);
  border-radius: 4px;
  background: transparent;
  color: var(--site-shell-accent-2);
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

body.site-shell .btn:hover {
  background: var(--site-shell-accent-2);
  color: #fff;
}

body.site-shell .btn-solid {
  background: var(--site-shell-accent-2);
  color: #fff;
}

body.site-shell .btn-solid:hover {
  background: var(--site-shell-accent);
}

body.site-shell .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9em;
  height: 1.9em;
  flex: none;
  margin-right: 0.5em;
  border-radius: 50%;
  background: var(--site-shell-accent-2);
  color: #fff;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

body.site-shell .step-row {
  display: flex;
  align-items: flex-start;
  gap: 0.2em;
  margin: 1.1em 0;
}

body.site-shell .step-row .step-body h4 {
  margin: 0 0 0.2em;
}

body.site-shell .step-row .step-body p {
  margin: 0.2em 0 0;
  color: var(--site-shell-ink-soft);
  font-size: 0.96rem;
}

body.site-shell .site-shell-footer {
  display: block !important;
  visibility: visible !important;
  position: relative;
  z-index: 1;
  clear: both;
  width: auto;
  background: var(--site-shell-ink);
  color: #cfc9bd;
  font-size: 0.85rem;
}

body.site-shell .site-shell-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.6em 3em;
  padding: 2em 1.2em;
}

body.site-shell .site-shell-footer p {
  margin: 0;
}

body.site-shell .site-shell-footer h5 {
  margin: 0 0 0.5em;
  color: #fff;
  font-family: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.site-shell .site-shell-footer a {
  color: #e7c9a9;
}

body.site-shell .site-shell-footer a:hover {
  color: #fff;
}

body.site-shell .site-shell-footer-honesty {
  padding: 0 1.2em 1.6em;
  border-top: 0;
  color: #a49c8c;
  font-size: 0.8rem;
}

body.site-shell .site-shell-footer-honesty span {
  color: #e7c9a9;
}

@media (max-width: 900px) {
  body.site-shell .site-shell-page {
    max-width: none;
    padding: 2em 1.2em 3em;
  }

  body.site-shell .site-shell-footer-inner {
    padding: 2em 1.2em;
  }

  body.site-shell .site-shell-footer-honesty {
    padding-right: 1.2em;
    padding-left: 1.2em;
  }
}

@media (max-width: 820px) {
  body.site-shell .site-shell-page > .layout {
    grid-template-columns: 1fr;
  }

  body.site-shell .site-shell-page > .layout .subnav {
    position: static;
  }
}
