/* Public policy pages: /policies hub and /policies/{slug} documents
   (templ page.PoliciesHub / page.PolicyDoc). Base marketing styles come from
   pages/index_sections.css (.ix-*); this file adds the .pl-* layer. */

:root {
	--pl-ink: var(--ix-ink, #0f2038);
	--pl-body: var(--ix-body, #55657a);
	--pl-muted: var(--ix-muted, #8a99a8);
	--pl-line: rgba(15, 32, 56, 0.08);
	--pl-blue: var(--ix-blue, #2196f3);
	--pl-blue-deep: var(--ix-blue-deep, #1565c0);
	--pl-cyan: var(--ix-cyan, #00bcd4);
	--pl-mint: var(--ix-mint, #69f0ae);
	--pl-navy: var(--ix-navy-900, #081a2e);
	--pl-surface: #ffffff;
	--pl-surface-2: #f4f8fd;
	--pl-radius: 18px;
	--pl-shadow: 0 10px 30px rgba(13, 46, 84, 0.06);
	--pl-shadow-hover: 0 26px 52px rgba(13, 46, 84, 0.14);
	--pl-nav-h: 78px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--pl-nav-h) + 24px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.pl-body { background: #fff; color: var(--pl-body); font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; }
body.pl-body a { transition: color .15s ease; }

/* ---- Hero ---- */
.pl-hero {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(1200px 500px at 15% -10%, rgba(33, 150, 243, 0.35), transparent 60%),
		radial-gradient(900px 420px at 95% 10%, rgba(0, 188, 212, 0.28), transparent 60%),
		linear-gradient(180deg, var(--pl-navy) 0%, #0e2a49 60%, #103154 100%);
	padding: calc(var(--pl-nav-h) + 56px) 0 56px;
}
.pl-hero-hub { padding-bottom: 96px; }
.pl-grid-bg {
	position: absolute; inset: 0; pointer-events: none; opacity: .35;
	background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.pl-hero .container { position: relative; z-index: 1; }
.pl-hero h1 { color: #fff; font-weight: 800; letter-spacing: -1.2px; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 14px 0 14px; }
.pl-hero h1 .grad { background: linear-gradient(90deg, #7fd3ff, var(--pl-mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pl-hero-lead { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.7; max-width: 720px; margin: 0; }
.pl-hero .ix-badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #dbeafe; }
.pl-crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; flex-wrap: wrap; }
.pl-crumbs a { color: rgba(255,255,255,.75); text-decoration: none; }
.pl-crumbs a:hover { color: #fff; }
.pl-crumbs span[aria-current] { color: #fff; font-weight: 600; }

.pl-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: rgba(255,255,255,.7); font-size: 13.5px; }
.pl-hero-meta i { color: var(--pl-mint); margin-right: 6px; }

.pl-search-wrap {
	position: relative; max-width: 640px; margin-top: 30px;
	background: rgba(255,255,255,.98); border-radius: 16px;
	box-shadow: 0 24px 60px -20px rgba(2, 18, 41, .7), 0 0 0 1px rgba(255,255,255,.4);
	display: flex; align-items: center; padding: 0 16px; height: 60px;
	transition: box-shadow .2s ease, transform .2s ease;
}
.pl-search-wrap:focus-within { box-shadow: 0 24px 60px -18px rgba(2, 18, 41, .8), 0 0 0 3px rgba(33,150,243,.45); transform: translateY(-1px); }
.pl-search-wrap > i { color: var(--pl-blue); font-size: 17px; margin-right: 12px; }
.pl-search-wrap input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--pl-ink); font-family: inherit; min-width: 0; }
.pl-search-wrap input::placeholder { color: #9aa8b8; }
.pl-search-wrap kbd { font-family: inherit; font-size: 11px; font-weight: 700; color: #7b8a9b; background: #eef3f9; border: 1px solid #dbe4ee; border-bottom-width: 2px; border-radius: 6px; padding: 2px 8px; }

/* ---- Quick actions ---- */
.pl-quick { position: relative; z-index: 2; margin-top: -48px; }
.pl-quick-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pl-quick-card {
	display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
	background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: 16px; padding: 16px 18px;
	box-shadow: 0 18px 40px -18px rgba(13, 46, 84, .35); color: var(--pl-ink); text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pl-quick-card:hover { transform: translateY(-3px); box-shadow: var(--pl-shadow-hover); border-color: rgba(33,150,243,.35); color: var(--pl-ink); text-decoration: none; }
.pl-quick-card .ic { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(33,150,243,.14), rgba(105,240,174,.18)); color: var(--pl-blue-deep); font-size: 18px; }
.pl-quick-card strong { font-size: 14.5px; font-weight: 700; }
.pl-quick-card small { color: var(--pl-muted); font-size: 12.5px; }

/* ---- Hub groups and cards ---- */
.pl-hub { padding: 64px 0 40px; }
.pl-group { margin-bottom: 52px; }
.pl-group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pl-group-head h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--pl-ink); margin: 0; position: relative; padding-left: 16px; }
.pl-group-head h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--pl-blue), var(--pl-mint)); }
.pl-group-head p { margin: 0; color: var(--pl-muted); font-size: 14px; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.pl-cards.compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pl-card {
	position: relative; display: flex; flex-direction: column; gap: 14px;
	background: var(--pl-surface); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: 22px 22px 18px;
	box-shadow: var(--pl-shadow); color: inherit; text-decoration: none; overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pl-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(33,150,243,.55), rgba(105,240,174,.55)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.pl-card:hover { transform: translateY(-4px); box-shadow: var(--pl-shadow-hover); color: inherit; text-decoration: none; }
.pl-card:hover::after { opacity: 1; }
.pl-card:focus-visible { outline: 3px solid rgba(33,150,243,.5); outline-offset: 2px; }
.pl-card-icon { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 19px; color: var(--pl-blue-deep); background: linear-gradient(135deg, rgba(33,150,243,.12), rgba(0,188,212,.14)); }
.pl-card-body h3 { text-transform: none; font-size: 17px; font-weight: 700; color: var(--pl-ink); margin: 0 0 6px; letter-spacing: -.2px; }
.pl-card-body p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--pl-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pl-card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--pl-muted); margin-top: auto; padding-top: 6px; border-top: 1px dashed var(--pl-line); }
.pl-card-arrow { position: absolute; right: 18px; top: 20px; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--pl-blue-deep); background: #eef5fd; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; }
.pl-card:hover .pl-card-arrow { opacity: 1; transform: none; }
.pl-card[hidden] { display: none; }
.pl-group[hidden] { display: none; }
.pl-empty { text-align: center; padding: 60px 0; color: var(--pl-muted); }
.pl-empty i { font-size: 40px; color: var(--pl-blue); margin-bottom: 14px; display: block; }
.pl-empty[hidden] { display: none; }

/* ---- Contact band ---- */
.pl-contact-band { padding: 20px 0 80px; }
.pl-contact-inner {
	display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
	background: linear-gradient(135deg, #0e2a49, #103154 60%, #14406a); color: #fff; border-radius: 24px; padding: 34px 38px;
	box-shadow: 0 30px 60px -30px rgba(2,18,41,.7);
}
.pl-contact-inner h2 { color: #fff; font-weight: 800; font-size: 24px; margin: 0 0 6px; letter-spacing: -.4px; }
.pl-contact-inner p { margin: 0; color: rgba(255,255,255,.7); }
.pl-contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pl-contact-links a { color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; transition: background .15s ease; white-space: nowrap; }
.pl-contact-links a:hover { background: rgba(255,255,255,.16); color: #fff; }
.pl-contact-links i { color: var(--pl-mint); }

/* ---- Document hero ---- */
.pl-hero-doc { padding-bottom: 44px; }
.pl-doc-head { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.pl-doc-icon { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, rgba(33,150,243,.9), rgba(0,188,212,.85)); box-shadow: 0 16px 34px -12px rgba(33,150,243,.75), inset 0 1px 0 rgba(255,255,255,.35); }
.pl-hero-doc h1 { margin-top: 2px; font-size: clamp(30px, 4.2vw, 46px); }
.pl-doc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pl-pill { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85); border-radius: 999px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; }
.pl-pill i { color: var(--pl-mint); font-size: 11px; }
.pl-pill a { color: #fff; text-decoration: underline dotted; }
.pl-doc-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pl-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.pl-btn.ghost { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff; }
.pl-btn.ghost:hover { background: rgba(255,255,255,.16); color: #fff; text-decoration: none; }
.pl-btn.ghost.admin { border-color: var(--pl-mint); color: var(--pl-mint); }
.pl-btn:active { transform: translateY(1px); }

/* ---- Reading progress + preview banner ---- */
.pl-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1041; background: transparent; pointer-events: none; }
.pl-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--pl-blue), var(--pl-cyan), var(--pl-mint)); transition: width .1s linear; }
.pl-preview-banner { position: sticky; top: var(--pl-nav-h); z-index: 1030; display: flex; align-items: center; gap: 12px; padding: 10px 18px; background: #fff7e6; color: #7a4b00; border-bottom: 1px solid #f5d89a; font-size: 13.5px; }
.pl-preview-banner a { margin-left: auto; color: #7a4b00; font-weight: 700; }

/* ---- Two-column layout ---- */
.pl-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding-top: 44px; padding-bottom: 60px; }
.pl-aside { align-self: stretch; }
.pl-aside-sticky { position: sticky; top: calc(var(--pl-nav-h) + 20px); max-height: calc(100vh - var(--pl-nav-h) - 40px); overflow: auto; scrollbar-width: thin; padding-right: 4px; }
.pl-toc { background: var(--pl-surface-2); border: 1px solid var(--pl-line); border-radius: 16px; padding: 4px 0 8px; }
.pl-toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--pl-muted); }
.pl-toc summary::-webkit-details-marker { display: none; }
.pl-toc summary i.chev { transition: transform .2s ease; font-size: 11px; }
.pl-toc[open] summary i.chev { transform: rotate(180deg); }
.pl-toc ol { list-style: none; margin: 0; padding: 0 8px; }
.pl-toc li a { display: flex; align-items: flex-start; gap: 10px; padding: 7px 10px; border-radius: 9px; font-size: 13.5px; line-height: 1.4; color: var(--pl-body); text-decoration: none; border-left: 2px solid transparent; transition: background .15s ease, color .15s ease; }
.pl-toc li a .n { flex: 0 0 auto; min-width: 22px; font-size: 11px; font-weight: 800; color: var(--pl-blue); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pl-toc li.lvl3 a { padding-left: 26px; font-size: 12.5px; color: var(--pl-muted); }
.pl-toc li a:hover { background: #fff; color: var(--pl-ink); }
.pl-toc li a.active { background: #fff; color: var(--pl-ink); font-weight: 600; border-left-color: var(--pl-blue); box-shadow: 0 6px 16px -10px rgba(13,46,84,.35); }
.pl-aside-switch { margin-top: 16px; }
.pl-aside-switch label { display: block; font-size: 12px; font-weight: 700; color: var(--pl-muted); margin-bottom: 6px; letter-spacing: .04em; }
.pl-select-wrap { position: relative; }
.pl-select-wrap select { width: 100%; appearance: none; -webkit-appearance: none; border: 1px solid var(--pl-line); border-radius: 12px; padding: 10px 36px 10px 12px; background: #fff; color: var(--pl-ink); font-size: 13.5px; font-family: inherit; font-weight: 600; }
.pl-select-wrap i { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--pl-muted); font-size: 12px; }

/* ---- At a glance ---- */
.pl-glance { position: relative; border-radius: 20px; padding: 26px 28px; margin-bottom: 40px; background: linear-gradient(180deg, #f6fbff, #eef6ff); border: 1px solid rgba(33,150,243,.18); overflow: hidden; }
.pl-glance::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 200px at 100% 0%, rgba(105,240,174,.18), transparent 60%); pointer-events: none; }
.pl-glance-head { position: relative; display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.pl-glance-head .ic { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--pl-blue), var(--pl-cyan)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; box-shadow: 0 10px 20px -10px rgba(33,150,243,.8); }
.pl-glance h2, .pl-prose h2, .pl-prose h3, .pl-history h2, .pl-related h2, .pl-contact-card h2, .pl-group-head h2 { text-transform: none; }
.pl-glance h2 { font-size: 20px; font-weight: 800; margin: 0; color: var(--pl-ink); letter-spacing: -.3px; }
.pl-glance-head p { margin: 2px 0 0; font-size: 13px; color: var(--pl-muted); }
.pl-glance ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.pl-glance li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.55; color: var(--pl-ink); }
.pl-glance li i { color: #16a34a; margin-top: 4px; flex: 0 0 auto; }

/* ---- Prose ---- */
.pl-prose { font-size: 16px; line-height: 1.8; color: #2b3a4d; }
.pl-prose > *:first-child { margin-top: 0; }
.pl-prose .pl-lead { font-size: 17.5px; line-height: 1.75; color: var(--pl-ink); padding-left: 18px; border-left: 3px solid var(--pl-blue); margin-bottom: 30px; }
.pl-prose h2 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; color: var(--pl-ink); margin: 52px 0 14px; padding-top: 8px; position: relative; scroll-margin-top: calc(var(--pl-nav-h) + 24px); }
.pl-prose h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--pl-blue), var(--pl-mint)); margin-bottom: 14px; }
.pl-prose h3 { font-size: 18px; font-weight: 700; color: var(--pl-ink); margin: 30px 0 10px; scroll-margin-top: calc(var(--pl-nav-h) + 24px); }
.pl-prose h2 .pl-anchor, .pl-prose h3 .pl-anchor { margin-left: 8px; color: var(--pl-blue); opacity: 0; font-size: .75em; text-decoration: none; transition: opacity .15s ease; vertical-align: middle; }
.pl-prose h2:hover .pl-anchor, .pl-prose h3:hover .pl-anchor, .pl-prose .pl-anchor:focus-visible { opacity: 1; }
.pl-prose p { margin: 0 0 16px; }
.pl-prose a { color: var(--pl-blue-deep); text-decoration: underline; text-decoration-color: rgba(21,101,192,.35); text-underline-offset: 3px; }
.pl-prose a:hover { text-decoration-color: currentColor; }
.pl-prose ul, .pl-prose ol { padding-left: 26px; margin: 0 0 18px; }
.pl-prose ul { list-style: disc; }
.pl-prose ol { list-style: decimal; }
.pl-prose ol ol, .pl-prose ul ol { list-style: lower-alpha; }
.pl-prose li a, .pl-prose p a { display: inline; padding: 0; margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.pl-prose li { margin-bottom: 8px; }
.pl-prose li::marker { color: var(--pl-blue); font-weight: 700; }
.pl-prose strong { color: var(--pl-ink); font-weight: 700; }
.pl-prose em { color: #3d4c60; }
.pl-prose blockquote { margin: 22px 0; padding: 16px 20px; background: var(--pl-surface-2); border-left: 3px solid var(--pl-cyan); border-radius: 0 12px 12px 0; color: var(--pl-ink); }
.pl-prose hr { border: 0; border-top: 1px solid var(--pl-line); margin: 34px 0; }
.pl-prose code { font-size: .9em; background: #f1f5f9; padding: 2px 6px; border-radius: 6px; color: #0f172a; }
.pl-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.pl-prose table, .pl-prose .pl-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0 26px; font-size: 14px; line-height: 1.55; border: 1px solid var(--pl-line); border-radius: 14px; overflow: hidden; }
.pl-prose thead th { background: #f4f8fd; color: var(--pl-ink); font-weight: 700; text-align: left; padding: 12px 14px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--pl-line); }
.pl-prose tbody td { padding: 12px 14px; border-bottom: 1px solid var(--pl-line); vertical-align: top; }
.pl-prose tbody tr:last-child td { border-bottom: 0; }
.pl-prose tbody tr:nth-child(even) td { background: #fbfdff; }
.pl-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0 26px; }
.pl-table-wrap table { margin: 0; }

/* ---- Version history ---- */
.pl-history { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--pl-line); scroll-margin-top: calc(var(--pl-nav-h) + 24px); }
.pl-history h2 { font-size: 22px; font-weight: 800; color: var(--pl-ink); letter-spacing: -.3px; display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.pl-history h2 i { color: var(--pl-blue); font-size: 18px; }
.pl-history-lead { color: var(--pl-muted); font-size: 14px; margin-bottom: 22px; }
.pl-timeline { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.pl-timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--pl-blue), rgba(33,150,243,.08)); }
.pl-timeline li { position: relative; padding: 0 0 22px 34px; }
.pl-timeline .dot { position: absolute; left: 3px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #b6cde6; }
.pl-timeline li.current .dot { border-color: var(--pl-blue); box-shadow: 0 0 0 5px rgba(33,150,243,.15); }
.pl-timeline .row1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.pl-timeline strong { color: var(--pl-ink); font-size: 15px; }
.pl-timeline time { color: var(--pl-muted); font-size: 13px; }
.pl-timeline .tag { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0d7a45; background: #d9f7e6; padding: 2px 8px; border-radius: 999px; }
.pl-timeline p { margin: 0; font-size: 14.5px; color: var(--pl-body); }
.pl-timeline small { color: var(--pl-muted); font-size: 12.5px; }

/* ---- Contact card, related ---- */
.pl-contact-card { margin-top: 44px; }
.pl-contact-card-inner { display: flex; gap: 18px; align-items: flex-start; background: var(--pl-surface-2); border: 1px solid var(--pl-line); border-radius: 18px; padding: 22px 24px; }
.pl-contact-card .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; background: #fff; color: var(--pl-blue-deep); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: var(--pl-shadow); }
.pl-contact-card h2 { font-size: 18px; font-weight: 800; color: var(--pl-ink); margin: 0 0 6px; }
.pl-contact-card p { margin: 0; font-size: 14.5px; line-height: 1.7; }
.pl-related { margin-top: 48px; }
.pl-related h2 { font-size: 20px; font-weight: 800; color: var(--pl-ink); margin: 0 0 16px; letter-spacing: -.3px; }
.pl-print-note { display: none; }

.pl-backtop { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--pl-ink); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 14px 30px -10px rgba(2,18,41,.6); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 1030; }
.pl-backtop.show { opacity: 1; transform: none; pointer-events: auto; }
.pl-backtop:hover { color: #fff; background: var(--pl-blue-deep); }
/* The marketing footer ships its own back-top control; ours replaces it. */
body.pl-body .back-top { display: none !important; }

/* ---- Search highlight ---- */
.pl-card mark { background: #fff2b3; color: inherit; padding: 0 2px; border-radius: 3px; }

/* ---- Responsive ---- */
@media (max-width: 1199px) {
	.pl-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 991px) {
	.pl-quick-row { grid-template-columns: 1fr 1fr; }
	.pl-layout { grid-template-columns: 1fr; gap: 22px; padding-top: 22px; }
	.pl-aside { position: sticky; top: var(--pl-nav-h); z-index: 1020; }
	.pl-aside-sticky { position: static; max-height: none; overflow: visible; padding: 0; }
	.pl-toc { box-shadow: 0 10px 24px -14px rgba(13,46,84,.35); background: #fff; }
	.pl-toc:not([open]) { border-radius: 14px; }
	.pl-toc ol { max-height: 46vh; overflow: auto; }
	.pl-aside-switch { display: none; }
	.pl-glance ul { grid-template-columns: 1fr; }
	.pl-contact-links { grid-template-columns: 1fr; width: 100%; }
}
@media (max-width: 575px) {
	.pl-hero { padding-top: calc(var(--pl-nav-h) + 32px); }
	.pl-quick-row { grid-template-columns: 1fr; }
	.pl-doc-head { grid-template-columns: 52px 1fr; gap: 14px; }
	.pl-doc-icon { width: 52px; height: 52px; font-size: 22px; border-radius: 15px; }
	.pl-search-wrap kbd { display: none; }
	.pl-prose { font-size: 15.5px; }
	.pl-prose h2 { font-size: 21px; margin-top: 40px; }
	.pl-glance { padding: 20px 18px; }
	.pl-contact-inner { padding: 26px 22px; }
}

/* ---- Print ---- */
@media print {
	.ix-nav, .pl-progress, .pl-aside, .pl-doc-actions, .pl-preview-banner, .pl-backtop, .pl-related, .pl-contact-card, .ix-footer, .back-top, .pl-crumbs { display: none !important; }
	.pl-hero { background: none !important; color: #000; padding: 0 0 12px; border-bottom: 2px solid #000; }
	.pl-hero h1 { color: #000; font-size: 26pt; }
	.pl-hero h1 .grad { color: #000; background: none; }
	.pl-hero-lead, .pl-pill, .pl-pill a { color: #333 !important; border-color: #999 !important; background: none !important; }
	.pl-doc-icon { display: none; }
	.pl-doc-head { grid-template-columns: 1fr; }
	.pl-layout { display: block; padding: 0; }
	.pl-glance { border: 1px solid #999; background: none; break-inside: avoid; }
	.pl-glance ul { grid-template-columns: 1fr; }
	.pl-prose { font-size: 11pt; line-height: 1.5; color: #000; }
	.pl-prose h2 { break-after: avoid; margin-top: 22pt; }
	.pl-prose h2::before { display: none; }
	.pl-prose a { color: #000; text-decoration: none; }
	.pl-prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
	.pl-prose table { break-inside: auto; }
	.pl-prose tr { break-inside: avoid; }
	.pl-history { break-before: auto; }
	.pl-print-note { display: block; margin-top: 30pt; font-size: 9pt; color: #555; border-top: 1px solid #999; padding-top: 8pt; }
	@page { margin: 18mm 16mm; }
}
