:root { color-scheme: light; --ink: #17252b; --muted: #607078; --paper: #fbfaf6; --panel: #ffffff; --line: #dfe5e4; --teal: #126e70; --teal-dark: #0b4c4e; --coral: #c8664d; --shadow: 0 18px 55px rgba(23, 37, 43, .08); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing: border-box; }
html { background: var(--paper); }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 85% 0%, #e5f2ef 0, transparent 35rem), var(--paper); line-height: 1.65; }
a { color: var(--teal-dark); text-underline-offset: .18em; }
a:hover { color: var(--coral); }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--ink); color: white; padding: .7rem 1rem; border-radius: .5rem; z-index: 2; }
.skip:focus { top: 1rem; }
.topbar { min-height: 4.75rem; padding: 1rem clamp(1.1rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(251, 250, 246, .86); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 1; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: .65rem; background: var(--teal); color: white; }
.header-actions { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.25rem); }
.home-link { color: var(--teal-dark); font-size: .86rem; font-weight: 800; text-decoration: none; padding: .45rem .7rem; border-radius: .5rem; }
.home-link:hover { background: #e7f1ef; color: var(--coral); }
.language-picker { display: flex; align-items: center; gap: .55rem; color: var(--muted); font-size: .8rem; font-weight: 800; }
.language-picker select { min-width: 10.5rem; border: 1px solid var(--line); border-radius: .55rem; background: var(--panel); color: var(--ink); padding: .55rem .7rem; font: inherit; }
.language-status { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.page-loading { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; align-content: center; gap: 1rem; background: rgba(251, 250, 246, .78); opacity: 0; pointer-events: none; visibility: hidden; transition: opacity 180ms ease, visibility 180ms ease; }
.page-loading.is-visible { opacity: 1; visibility: visible; }
.loading-orb { position: relative; display: block; width: clamp(7rem, 32vw, 10rem); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 32% 27%, #fff8e9 0 7%, #ffd0a5 17%, #efae85 31%, var(--coral) 60%, #8e3d39 100%); box-shadow: 0 0 1.25rem rgba(200, 102, 77, .7), 0 0 4rem rgba(200, 102, 77, .32), inset -.7rem -.9rem 1.2rem rgba(91, 37, 39, .3), inset .7rem .8rem 1rem rgba(255, 255, 255, .36); animation: language-thinking 1100ms ease-in-out infinite; }
.loading-orb::before, .loading-orb::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.loading-orb::before { inset: 8%; border: 2px solid rgba(255, 255, 255, .48); box-shadow: 0 0 1rem rgba(255, 224, 190, .4); }
.loading-orb::after { width: 18%; aspect-ratio: 1; top: 17%; left: 21%; background: rgba(255, 255, 255, .86); filter: blur(.08rem); box-shadow: 0 0 .8rem rgba(255, 255, 255, .6); }
.loading-message { color: var(--teal-dark); font-size: .95rem; font-weight: 750; text-align: center; }
@keyframes language-thinking { 0%, 100% { transform: scale(.94) translateY(0); opacity: .78; } 50% { transform: scale(1.04) translateY(-.35rem); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .page-loading { transition: none; } .loading-orb { animation: none; } }
.shell { width: min(1180px, calc(100% - 2.2rem)); margin: 0 auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); padding: clamp(2rem, 6vw, 5rem) 0; }
.index-shell { width: min(1120px, calc(100% - 2.2rem)); grid-template-columns: 170px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding: clamp(1.4rem, 3vw, 2.5rem) 0; }
.index-shell .sidebar { top: 6rem; }
.index-shell .content { max-width: none; }
.sidebar { align-self: start; position: sticky; top: 7rem; }
.eyebrow, .kicker { color: var(--coral); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.sidebar label { display: block; color: var(--muted); font-size: .82rem; margin: 1.7rem 0 .45rem; }
button:focus, a:focus, select:focus { outline: 3px solid #f1b39f; outline-offset: 3px; }
.doc-nav { display: grid; gap: .3rem; margin-top: 1.5rem; }
.doc-link { display: block; padding: .65rem .75rem; border-radius: .5rem; text-decoration: none; color: var(--muted); font-size: .92rem; }
.doc-link:hover, .doc-link.active { color: var(--teal-dark); background: #e7f1ef; }
.page-nav { margin: 1.7rem 0; }
.page-nav-links { display: grid; gap: .25rem; }
.page-nav-links a { color: var(--muted); font-size: .86rem; text-decoration: none; padding: .3rem 0; }
.page-nav-links a:hover { color: var(--coral); }
.page-nav-select-label, .page-nav select { display: none; }
.content { min-width: 0; max-width: 780px; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; margin: 0 0 1rem; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 10ch; }
.index-shell h1 { font-size: clamp(2.7rem, 5.5vw, 4.5rem); margin-bottom: .6rem; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
.lede { max-width: 58ch; color: var(--muted); font-size: 1.12rem; margin: 1.4rem 0 2.2rem; }
.index-shell .lede { font-size: .98rem; margin: .5rem 0 1.35rem; }
.draft-banner { border: 1px solid #efc0b1; border-left: .35rem solid var(--coral); background: #fff3ee; padding: .75rem 1rem; border-radius: .55rem; margin-bottom: 2rem; color: #783d2f; font-weight: 700; }
.metadata { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 2rem 0; }
.metadata div { border: 1px solid var(--line); background: rgba(255,255,255,.72); border-radius: .6rem; padding: .7rem .8rem; }
.metadata dt { color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.metadata dd { margin: .2rem 0 0; font-weight: 700; font-size: .9rem; overflow-wrap: anywhere; }
.actions { display: flex; align-items: center; gap: .8rem; margin: 1rem 0; }
button { border: 0; border-radius: .55rem; padding: .7rem 1rem; background: var(--teal); color: white; font: inherit; font-weight: 800; cursor: pointer; }
button:hover { background: var(--teal-dark); }
[data-copy-status] { color: var(--teal-dark); font-size: .85rem; font-weight: 700; }
.copy-source { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: pre-wrap; }
.document-body { border-top: 1px solid var(--line); padding-top: 1rem; }
.document-body details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.document-body summary { cursor: pointer; color: var(--teal-dark); font-size: 1.15rem; font-weight: 800; }
.document-body p, .document-body ul { max-width: 70ch; color: #33444a; }
.document-body li { margin: .35rem 0; }
.callout { border-left: .25rem solid var(--teal); background: #eaf5f2; color: var(--teal-dark) !important; padding: 1rem 1.1rem; border-radius: .4rem; font-weight: 650; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.doc-card { position: relative; min-height: 8.8rem; padding: 1.05rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(255,255,255,.82); box-shadow: var(--shadow); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.doc-card:hover { transform: translateY(-.18rem); border-color: #a7c9c5; box-shadow: 0 14px 35px rgba(23, 37, 43, .12); }
.doc-card h2 { font-size: 1.5rem; }
.doc-card h2 a { text-decoration: none; }
.doc-card p:last-child { color: var(--muted); font-size: .92rem; }
.card-arrow { position: absolute; right: 1rem; bottom: .8rem; color: var(--coral); font-size: 1.3rem; font-weight: 800; }
[dir=rtl] .card-arrow { right: auto; left: 1rem; }
.footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1.1rem, 4vw, 4rem); font-size: .8rem; }
[dir=rtl] { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
[dir=rtl] .callout { border-left: 0; border-right: .25rem solid var(--teal); }
[dir=rtl] .document-body, [dir=rtl] .metadata { text-align: right; }
@media (max-width: 760px) { .shell { display: block; padding-top: 1.5rem; } .sidebar { position: static; margin-bottom: 2rem; } .card-grid, .metadata { grid-template-columns: 1fr; } .index-shell { padding-top: 1.2rem; } .index-shell .sidebar { margin-bottom: 1.1rem; } h1 { font-size: clamp(2.6rem, 15vw, 4.3rem); } .content > h1 { max-width: 16ch; font-size: clamp(2.1rem, 10vw, 3.3rem); line-height: 1.06; margin-bottom: .75rem; overflow-wrap: anywhere; text-wrap: balance; } .content > .metadata { margin-top: 1.25rem; } .page-nav-links { display: none; } .page-nav-select-label { display: block; color: var(--muted); font-size: .78rem; margin-bottom: .45rem; } .page-nav select { display: block; width: 100%; border: 1px solid var(--line); border-radius: .6rem; background: var(--panel); color: var(--ink); padding: .7rem; font: inherit; } .footer { display: block; } .footer span { display: block; margin: .25rem 0; } }
@media (max-width: 520px) { .topbar { align-items: flex-start; gap: .8rem; } .header-actions { align-items: flex-end; flex-direction: column-reverse; gap: .25rem; } .language-picker { align-items: flex-start; flex-direction: column; gap: .25rem; } .language-picker select { min-width: 8.5rem; max-width: 11rem; } .content > h1 { max-width: 13ch; font-size: clamp(1.85rem, 9.5vw, 2.7rem); line-height: 1.08; } }
