:root,
:root[data-theme="green"] {
    --bg: #f4faf5;
    --ink: #10251b;
    --muted: #63756b;
    --line: #d6e8dc;
    --paper: #ffffff;
    --tech: #23834f;
    --tech-dark: #105f35;
    --green: #2f9461;
    --gold: #d7a84f;
    --teal: #2aa596;
    --shadow: 0 24px 70px rgba(16, 37, 27, 0.12);
    --card-shadow: 0 16px 50px rgba(16, 37, 27, 0.08);
    --header-bg: rgba(244, 250, 245, 0.92);
    --header-border: rgba(214, 232, 220, 0.92);
    --nav-text: #30473a;
    --nav-hover-bg: #e6f3eb;
    --hero-grid-line: rgba(35, 131, 79, 0.06);
    --aside-start: rgba(16, 95, 53, 0.97);
    --aside-end: rgba(25, 118, 76, 0.95);
    --accent-light: #a5efc2;
    --metric-bg: #e8f4ec;
    --metric-border: #d3e7da;
    --tag-bg: #edf7ef;
    --tag-border: #d8eadf;
    --tag-text: #31533f;
    --dark-panel: #10251b;
    --dark-panel-border: #244b34;
    --footer-bg: #edf7ef;
    --field-bg: #f8fcf9;
    --field-border: #cfe3d5;
    --focus-ring: rgba(35, 131, 79, 0.16);
    --shell-overlay-start: rgba(255, 255, 255, 0.78);
    --shell-overlay-end: rgba(255, 255, 255, 0.5);
    --article-text: #2c3b32;
    --primary-button-bg: #10251b;
    --primary-button-text: #ffffff;
    --radius: 8px;
    --max: 1360px;
}

:root[data-theme="blue"] {
    --bg: #f7fafb;
    --ink: #10202b;
    --muted: #667887;
    --line: #d9e4ea;
    --paper: #ffffff;
    --tech: #176b91;
    --tech-dark: #0c3f5a;
    --green: #1b8a72;
    --gold: #d7a84f;
    --teal: #35b8b0;
    --shadow: 0 24px 70px rgba(16, 32, 43, 0.12);
    --card-shadow: 0 16px 50px rgba(16, 32, 43, 0.08);
    --header-bg: rgba(247, 250, 251, 0.92);
    --header-border: rgba(217, 228, 234, 0.92);
    --nav-text: #314656;
    --nav-hover-bg: #e7f1f6;
    --hero-grid-line: rgba(23, 107, 145, 0.06);
    --aside-start: rgba(12, 63, 90, 0.96);
    --aside-end: rgba(17, 100, 108, 0.95);
    --accent-light: #8ce6d7;
    --metric-bg: #e9f1f5;
    --metric-border: #d7e4eb;
    --tag-bg: #edf4f7;
    --tag-border: #d9e6ec;
    --tag-text: #355365;
    --dark-panel: #10202b;
    --dark-panel-border: #243e4f;
    --footer-bg: #edf3f6;
    --field-bg: #f8fbfc;
    --field-border: #cfdee6;
    --focus-ring: rgba(23, 107, 145, 0.14);
    --shell-overlay-start: rgba(255, 255, 255, 0.78);
    --shell-overlay-end: rgba(255, 255, 255, 0.5);
    --article-text: #2c3b32;
    --primary-button-bg: #10202b;
    --primary-button-text: #ffffff;
}

:root[data-theme="grey"] {
    --bg: #f6f7f7;
    --ink: #1f2729;
    --muted: #687173;
    --line: #dde2e2;
    --paper: #ffffff;
    --tech: #59666b;
    --tech-dark: #2f383b;
    --green: #61736a;
    --gold: #d7a84f;
    --teal: #6c8584;
    --shadow: 0 24px 70px rgba(31, 39, 41, 0.12);
    --card-shadow: 0 16px 50px rgba(31, 39, 41, 0.08);
    --header-bg: rgba(246, 247, 247, 0.94);
    --header-border: rgba(221, 226, 226, 0.94);
    --nav-text: #3e474a;
    --nav-hover-bg: #ecefef;
    --hero-grid-line: rgba(89, 102, 107, 0.06);
    --aside-start: rgba(47, 56, 59, 0.97);
    --aside-end: rgba(91, 102, 101, 0.95);
    --accent-light: #d7e0dc;
    --metric-bg: #ecefef;
    --metric-border: #d9dfdf;
    --tag-bg: #f0f2f2;
    --tag-border: #dde3e2;
    --tag-text: #495655;
    --dark-panel: #1f2729;
    --dark-panel-border: #3e4a4d;
    --footer-bg: #eef1f0;
    --field-bg: #fbfcfc;
    --field-border: #d7dddd;
    --focus-ring: rgba(89, 102, 107, 0.16);
    --shell-overlay-start: rgba(255, 255, 255, 0.78);
    --shell-overlay-end: rgba(255, 255, 255, 0.5);
    --article-text: #2c3b32;
    --primary-button-bg: #1f2729;
    --primary-button-text: #ffffff;
}

:root[data-theme="green-dark"] {
    color-scheme: dark;
    --bg: #07110c;
    --ink: #eef8f1;
    --muted: #9eb5a7;
    --line: #1e3a29;
    --paper: #0d1c14;
    --tech: #6ee7a0;
    --tech-dark: #94efb9;
    --green: #82e3a5;
    --gold: #e4b354;
    --teal: #55ccb9;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --card-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    --header-bg: rgba(7, 17, 12, 0.9);
    --header-border: rgba(30, 58, 41, 0.95);
    --nav-text: #d6e7dc;
    --nav-hover-bg: #153322;
    --hero-grid-line: rgba(110, 231, 160, 0.08);
    --aside-start: rgba(8, 58, 33, 0.97);
    --aside-end: rgba(16, 95, 53, 0.95);
    --accent-light: #b7f6cf;
    --metric-bg: #102719;
    --metric-border: #21452f;
    --tag-bg: #102719;
    --tag-border: #285338;
    --tag-text: #bcefd0;
    --dark-panel: #06120b;
    --dark-panel-border: #21452f;
    --footer-bg: #0a1710;
    --field-bg: #0a1710;
    --field-border: #284934;
    --focus-ring: rgba(110, 231, 160, 0.22);
    --shell-overlay-start: rgba(7, 17, 12, 0.88);
    --shell-overlay-end: rgba(7, 17, 12, 0.72);
    --article-text: #dceadf;
    --primary-button-bg: #6ee7a0;
    --primary-button-text: #06110b;
}

:root[data-theme="blue-dark"] {
    color-scheme: dark;
    --bg: #071019;
    --ink: #edf7ff;
    --muted: #9fb2c1;
    --line: #1d3445;
    --paper: #0d1b27;
    --tech: #62c9ff;
    --tech-dark: #9bdfff;
    --green: #5ed7bc;
    --gold: #e0b454;
    --teal: #64d9d0;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    --card-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
    --header-bg: rgba(7, 16, 25, 0.9);
    --header-border: rgba(29, 52, 69, 0.95);
    --nav-text: #d5e5ef;
    --nav-hover-bg: #142c3d;
    --hero-grid-line: rgba(98, 201, 255, 0.08);
    --aside-start: rgba(8, 45, 70, 0.97);
    --aside-end: rgba(15, 76, 91, 0.95);
    --accent-light: #a8f0e7;
    --metric-bg: #102538;
    --metric-border: #25455a;
    --tag-bg: #102538;
    --tag-border: #2a5068;
    --tag-text: #b7e5fb;
    --dark-panel: #06111b;
    --dark-panel-border: #25455a;
    --footer-bg: #0a1620;
    --field-bg: #0a1620;
    --field-border: #2a4a5f;
    --focus-ring: rgba(98, 201, 255, 0.22);
    --shell-overlay-start: rgba(7, 16, 25, 0.88);
    --shell-overlay-end: rgba(7, 16, 25, 0.72);
    --article-text: #dce8f0;
    --primary-button-bg: #62c9ff;
    --primary-button-text: #061019;
}

:root[data-theme="grey-dark"] {
    color-scheme: dark;
    --bg: #0d1112;
    --ink: #f1f4f3;
    --muted: #aeb8b7;
    --line: #2c3436;
    --paper: #171d1f;
    --tech: #b9c6c8;
    --tech-dark: #d9e0df;
    --green: #b6c7bf;
    --gold: #ddb25a;
    --teal: #9bc4c0;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
    --card-shadow: 0 16px 50px rgba(0, 0, 0, 0.3);
    --header-bg: rgba(13, 17, 18, 0.9);
    --header-border: rgba(44, 52, 54, 0.95);
    --nav-text: #d9dfde;
    --nav-hover-bg: #252d2f;
    --hero-grid-line: rgba(185, 198, 200, 0.08);
    --aside-start: rgba(24, 30, 32, 0.97);
    --aside-end: rgba(60, 70, 72, 0.95);
    --accent-light: #e1e8e5;
    --metric-bg: #202729;
    --metric-border: #343e40;
    --tag-bg: #202729;
    --tag-border: #3a4547;
    --tag-text: #d6dfde;
    --dark-panel: #101516;
    --dark-panel-border: #343e40;
    --footer-bg: #111718;
    --field-bg: #111718;
    --field-border: #3a4547;
    --focus-ring: rgba(185, 198, 200, 0.2);
    --shell-overlay-start: rgba(13, 17, 18, 0.88);
    --shell-overlay-end: rgba(13, 17, 18, 0.72);
    --article-text: #e1e8e5;
    --primary-button-bg: #d9e0df;
    --primary-button-text: #101516;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img,
iframe {
    max-width: 100%;
}

img {
    display: block;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: 2rem;
    line-height: 1.08;
    margin-bottom: 0.8rem;
    max-width: 18ch;
}

h2 {
    font-size: 1.65rem;
    line-height: 1.12;
    margin-bottom: 0.7rem;
}

h3 {
    font-size: 1.12rem;
    line-height: 1.25;
    margin-bottom: 0.55rem;
}

pre,
code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

pre {
    background: #11161b;
    border-radius: var(--radius);
    color: #f4faf5;
    overflow: auto;
    padding: 1rem;
}

.skip-link {
    background: var(--primary-button-bg);
    color: var(--primary-button-text);
    left: 1rem;
    padding: 0.6rem 0.9rem;
    position: fixed;
    top: -4rem;
    z-index: 1000;
}

.skip-link:focus {
    top: 1rem;
}

.sr-only {
    clip: rect(0, 0, 0, 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.site-header {
    align-items: center;
    backdrop-filter: blur(18px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(270px, 360px) minmax(0, 1fr) max-content;
    min-height: 76px;
    padding: 0.85rem clamp(1rem, 4vw, 3rem);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    align-items: center;
    display: inline-flex;
    gap: 0.8rem;
    min-width: 0;
    text-decoration: none;
}

.brand__mark {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    justify-content: center;
    overflow: hidden;
    width: 42px;
}

.brand__mark img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.brand__text {
    display: grid;
    line-height: 1.2;
    min-width: 0;
}

.brand__text strong,
.brand__text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand__text strong {
    font-size: 1.12rem;
}

.brand__text small {
    color: var(--muted);
    font-size: 0.76rem;
}

.site-nav,
.header-tools,
.hero__actions,
.social-strip,
.tag-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.site-nav {
    justify-content: center;
}

.site-nav a,
.header-action {
    border-radius: 999px;
    color: var(--nav-text);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 0.55rem 0.85rem;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.is-active,
.header-action:hover {
    background: var(--nav-hover-bg);
    color: var(--tech-dark);
}

.header-tools {
    flex-wrap: nowrap;
    justify-content: flex-end;
    min-width: max-content;
}

.palette-menu,
.account-menu {
    position: relative;
}

.palette-menu__toggle,
.account-menu__toggle {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 0.45rem;
    min-height: 42px;
    padding: 0 0.78rem;
    white-space: nowrap;
}

.account-menu__toggle::after {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    height: 6px;
    margin-left: 0.2rem;
    transform: rotate(45deg) translateY(-2px);
    width: 6px;
}

.palette-menu__icon {
    background: linear-gradient(135deg, var(--tech), var(--gold));
    border-radius: 50%;
    height: 16px;
    width: 16px;
}

.palette-menu__toggle:hover,
.palette-menu__toggle[aria-expanded="true"],
.account-menu__toggle:hover,
.account-menu__toggle[aria-expanded="true"] {
    border-color: var(--tech);
    color: var(--tech-dark);
}

.palette-menu__panel,
.account-menu__panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.25rem;
    opacity: 0;
    padding: 0.45rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 110;
}

.palette-menu__panel {
    min-width: 176px;
}

.account-menu__panel {
    min-width: 150px;
}

.palette-menu.is-open .palette-menu__panel,
.account-menu.is-open .account-menu__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.palette-menu__option {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: var(--ink);
    display: flex;
    font-weight: 800;
    gap: 0.55rem;
    min-height: 38px;
    padding: 0.4rem 0.5rem;
    text-align: left;
    width: 100%;
}

.account-menu__panel a {
    border-radius: 7px;
    color: var(--ink);
    display: block;
    font-size: 0.9rem;
    font-weight: 850;
    padding: 0.55rem 0.7rem;
    text-decoration: none;
}

.palette-menu__option:hover,
.palette-menu__option[aria-checked="true"],
.account-menu__panel a:hover {
    background: var(--nav-hover-bg);
    color: var(--tech-dark);
}

.palette-menu__swatch {
    background: var(--swatch);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--line);
    height: 18px;
    width: 18px;
}

.nav-toggle {
    background: transparent;
    border: 0;
    display: none;
    height: 42px;
    padding: 0;
    width: 42px;
}

.nav-toggle span {
    background: var(--ink);
    display: block;
    height: 2px;
    margin: 6px auto;
    transition: opacity 160ms ease, transform 160ms ease;
    width: 24px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    display: grid;
    grid-template-columns:
        minmax(clamp(1rem, 4vw, 3rem), 1fr)
        minmax(0, 800px)
        minmax(380px, 560px)
        minmax(clamp(1rem, 4vw, 3rem), 1fr);
    min-height: 520px;
}

.hero--integration {
    background:
        linear-gradient(90deg, var(--shell-overlay-start), var(--shell-overlay-end)),
        repeating-linear-gradient(90deg, transparent 0 34px, var(--hero-grid-line) 35px 36px),
        var(--bg);
}

.hero__content {
    align-content: center;
    display: grid;
    gap: 1rem;
    grid-column: 2;
    padding: clamp(2.2rem, 4vw, 4rem) clamp(1rem, 2.4vw, 2rem);
}

.eyebrow {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.6rem;
}

.hero__summary,
.page-hero p,
.section__intro p,
.card p,
.sidebar-panel p,
.empty-state p {
    color: var(--muted);
}

.section__intro--spaced {
    margin-top: 2.4rem;
}

.post-discussion-heading {
    margin-top: clamp(3.2rem, 5vw, 4.5rem);
}

.hero__summary {
    font-size: 1.12rem;
    max-width: 64ch;
}

.button {
    align-items: center;
    background: var(--primary-button-bg);
    border: 1px solid var(--primary-button-bg);
    border-radius: 999px;
    color: var(--primary-button-text);
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1.05rem;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.62;
}

.button--ghost {
    background: transparent;
    color: var(--ink);
}

.button--gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #16120a;
}

.button--compact {
    min-height: 42px;
    padding: 0.55rem 0.8rem;
}

.text-link {
    color: var(--tech-dark);
    display: inline-flex;
    font-weight: 900;
    margin-top: 0.4rem;
    text-decoration: none;
}

.text-link::after {
    content: "->";
    margin-left: 0.45rem;
}

.hero__aside {
    align-content: center;
    background:
        linear-gradient(135deg, var(--aside-start), var(--aside-end)),
        var(--tech-dark);
    display: grid;
    gap: 1rem;
    grid-column: 3 / 5;
    padding: clamp(1.4rem, 4vw, 3rem);
}

.command-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    color: #fff;
    padding: clamp(1.2rem, 3vw, 2rem);
}

.command-card .eyebrow {
    color: var(--accent-light);
}

.command-card h2 {
    font-size: 2.35rem;
}

.command-card p {
    color: rgba(255, 255, 255, 0.76);
}

.command-card--latest {
    max-width: 760px;
}

.command-card--latest h2 {
    font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.hero-post-list {
    display: grid;
    gap: 0.85rem;
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.hero-post-list li {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 0.2rem;
    padding-top: 0.85rem;
}

.hero-post-list a {
    color: #fff;
    font-size: 1.04rem;
    font-weight: 900;
    line-height: 1.35;
    text-decoration: none;
}

.hero-post-list a:hover {
    color: var(--accent-light);
}

.hero-post-list span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 800;
}

.hero-topic-strip {
    margin-top: 1rem;
}

.quiet-link {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    font-weight: 800;
    justify-self: start;
    padding: 0.55rem 0.8rem;
    text-decoration: none;
}

.quiet-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.section,
.page-hero {
    padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.section > *,
.page-hero__inner,
.footer-grid,
.footer-bottom {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--max);
}

.page-hero {
    background:
        linear-gradient(90deg, var(--shell-overlay-start), var(--shell-overlay-end)),
        repeating-linear-gradient(90deg, transparent 0 34px, var(--hero-grid-line) 35px 36px),
        var(--bg);
    padding-bottom: 2.5rem;
}

.page-hero h1 {
    max-width: 22ch;
}

.page-hero p {
    max-width: 74ch;
}

.post-title-shell {
    background:
        linear-gradient(90deg, var(--shell-overlay-start), var(--shell-overlay-end)),
        repeating-linear-gradient(90deg, transparent 0 34px, var(--hero-grid-line) 35px 36px),
        var(--bg);
    border-bottom: 1px solid var(--line);
    padding: clamp(2rem, 5vw, 3.4rem) clamp(1rem, 4vw, 3rem);
}

.post-title-shell__inner {
    margin: 0 auto;
    max-width: var(--max);
}

.post-title-shell h1 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.08;
    margin-bottom: 0.8rem;
    max-width: 1260px;
}

.post-title-shell p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1rem;
    max-width: 96ch;
}

.profile-title-shell .profile-title-row {
    max-width: 1260px;
}

.profile-title-shell h1 {
    margin-bottom: 0;
}

.profile-title-shell p:not(.eyebrow) {
    font-weight: 800;
    margin-top: 0.7rem;
}

.section--content {
    padding-top: 2rem;
}

.section--listing {
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

.section--profile {
    padding-top: clamp(1rem, 2.5vw, 1.6rem);
}

.compact-page-title {
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    margin-bottom: 1.25rem;
    max-width: none;
    padding-bottom: 0.85rem;
}

.content-layout {
    align-items: start;
    display: grid;
    gap: clamp(1.4rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.section--post-detail > *,
.post-title-shell__inner {
    max-width: 1460px;
}

.post-detail-layout {
    gap: clamp(1.25rem, 3vw, 2.25rem);
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
}

.single-column {
    max-width: 900px;
}

.main-column,
.sidebar,
.content-layout > * {
    min-width: 0;
}

.metric-row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-row--hero {
    margin-top: 0.5rem;
}

.metric {
    background: var(--metric-bg);
    border: 1px solid var(--metric-border);
    border-radius: var(--radius);
    padding: 1rem;
}

.metric strong {
    color: var(--tech-dark);
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.metric span {
    color: var(--muted);
    font-weight: 800;
}

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.post-card,
.sidebar-panel,
.auth-panel,
.profile-card,
.empty-state,
.form-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.card,
.post-card,
.auth-panel,
.profile-card,
.empty-state,
.form-card {
    padding: 1.2rem;
}

.post-list {
    display: grid;
    gap: 1rem;
}

.post-card {
    box-shadow: var(--card-shadow);
}

.post-card h2,
.post-card h3 {
    margin-bottom: 0.45rem;
}

.post-card h2 a,
.post-card h3 a,
.article-title a {
    text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover,
.article-title a:hover {
    color: var(--tech);
}

.meta-row {
    align-items: center;
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.88rem;
    font-weight: 750;
    gap: 0.5rem;
    margin: 0.5rem 0 0.8rem;
}

.meta-row > * + *::before {
    color: var(--line);
    content: "|";
    margin-right: 0.5rem;
}

.meta-row a {
    color: var(--tech-dark);
    text-decoration: none;
}

.status-pill {
    background: #fdf4d5;
    border: 1px solid #ead58c;
    border-radius: 999px;
    color: #72580c;
    padding: 0.16rem 0.5rem;
}

.tag {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 999px;
    color: var(--tag-text);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.25rem 0.56rem;
    text-decoration: none;
}

.tag--link:hover {
    border-color: var(--tech);
    color: var(--tech-dark);
}

.command-card .tag,
.sidebar-panel--dark .tag {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.sidebar {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 96px;
}

.sidebar-panel {
    padding: 1rem;
}

.sidebar-panel h2 {
    font-size: 1.1rem;
}

.sidebar-panel--dark {
    background: var(--dark-panel);
    border-color: var(--dark-panel-border);
    color: #fff;
}

.sidebar-panel--dark .eyebrow {
    color: var(--accent-light);
}

.sidebar-panel--dark p {
    color: rgba(255, 255, 255, 0.72);
}

.compact-form {
    display: grid;
    gap: 0.65rem;
}

.listing-search {
    align-items: end;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 1rem;
}

.listing-search__field {
    margin: 0;
}

.listing-search__actions {
    flex-wrap: nowrap;
    margin: 0;
}

.listing-search__actions .button {
    min-width: 110px;
}

.people-filter-card {
    margin-bottom: 1rem;
}

.mini-list {
    display: grid;
    gap: 0.7rem;
}

.mini-list a {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    text-decoration: none;
}

.mini-list img {
    border-radius: 50%;
    height: 42px;
    width: 42px;
}

.mini-list span {
    color: var(--tech-dark);
    font-weight: 800;
}

.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-list li + li {
    border-top: 1px solid var(--line);
}

.link-list a {
    display: block;
    padding: 0.55rem 0;
    text-decoration: none;
}

.link-list a:hover {
    color: var(--tech);
}

.sidebar-panel--help {
    background:
        linear-gradient(180deg, rgba(34, 131, 79, 0.08), rgba(226, 171, 54, 0.08)),
        var(--paper);
}

.sidebar-panel--help h2 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.help-actions {
    display: grid;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.help-actions a {
    align-items: center;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.05rem;
    padding: 0.65rem 1.6rem 0.65rem 0;
    position: relative;
    text-decoration: none;
}

.help-actions a:first-child {
    border-top: 0;
}

.help-actions a::after {
    color: var(--gold);
    content: "->";
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.help-actions a:hover span {
    color: var(--tech);
}

.help-actions span {
    color: var(--tech-dark);
    font-weight: 900;
}

.help-actions strong {
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.content-band {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.news-list {
    display: grid;
    gap: 1rem;
}

.news-item {
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
}

.topic-cloud {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.topic-cloud .tag {
    font-size: 0.9rem;
    padding: 0.45rem 0.7rem;
}

.home-overview {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.home-grid {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
}

.home-start-wide {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: clamp(1rem, 3vw, 2rem);
    grid-column: 1 / -1;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    padding: clamp(1.1rem, 3vw, 1.6rem);
}

.home-start-wide h2 {
    margin-bottom: 0.7rem;
}

.home-search {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.home-search input {
    background: var(--paper);
}

.start-links {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.start-links a {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
    display: grid;
    gap: 0.1rem;
    padding: 0.72rem 0.8rem;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.start-links a:hover {
    border-color: var(--tech);
    transform: translateY(-2px);
}

.start-links span {
    color: var(--tech-dark);
    font-weight: 900;
}

.start-links strong {
    color: var(--muted);
    font-size: 0.82rem;
}

.home-main,
.home-rail {
    display: grid;
    gap: 1rem;
    min-width: 0;
}

.home-main {
    gap: clamp(1.4rem, 3vw, 2.4rem);
}

.home-rail {
    position: sticky;
    top: 96px;
}

.value-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(1rem, 2.5vw, 1.35rem);
}

.value-card span {
    color: var(--gold);
    display: block;
    font-size: 0.82rem;
    font-weight: 950;
    margin-bottom: 0.6rem;
}

.value-card h3 {
    margin-bottom: 0.45rem;
}

.value-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.topic-cloud-block {
    border-top: 1px solid var(--line);
    padding-top: clamp(1.4rem, 3vw, 2rem);
}

.tag-cloud {
    align-content: center;
    align-items: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(35, 131, 79, 0.08), transparent 28%),
        radial-gradient(circle at 78% 34%, rgba(215, 168, 79, 0.12), transparent 26%),
        var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.95rem;
    justify-content: center;
    min-height: 190px;
    padding: clamp(1rem, 3vw, 1.8rem);
}

.cloud-tag {
    color: var(--tech-dark);
    display: inline-flex;
    font-weight: 950;
    line-height: 1.05;
    padding: 0.14rem 0.2rem;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.cloud-tag:hover {
    color: var(--gold);
    transform: translateY(-2px) scale(1.03);
}

.cloud-tag:nth-child(3n) {
    color: var(--green);
    transform: translateY(0.28rem);
}

.cloud-tag:nth-child(4n) {
    color: var(--muted);
}

.cloud-tag--level-1 {
    font-size: 0.95rem;
}

.cloud-tag--level-2 {
    font-size: 1.12rem;
}

.cloud-tag--level-3 {
    font-size: 1.35rem;
}

.cloud-tag--level-4 {
    font-size: 1.65rem;
}

.cloud-tag--level-5 {
    color: var(--tech-dark);
    font-size: 2rem;
}

.home-news .eyebrow,
.home-quick-links .eyebrow {
    margin-bottom: 0.6rem;
}

.ad-slot {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
}

.ad-slot--rail {
    min-height: 300px;
}

.ad-slot--short {
    min-height: 190px;
}

.ad-slot--short .ad-slot__placeholder {
    min-height: 140px;
}

.ad-slot--sidebar {
    min-height: 250px;
}

.ad-slot--sidebar .ad-slot__placeholder {
    min-height: 200px;
}

.ad-slot__placeholder {
    align-content: center;
    background:
        repeating-linear-gradient(135deg, transparent 0 16px, var(--hero-grid-line) 17px 18px),
        var(--bg);
    border: 1px dashed var(--field-border);
    border-radius: 7px;
    color: var(--muted);
    display: grid;
    gap: 0.25rem;
    min-height: 250px;
    padding: 1rem;
    text-align: center;
}

.ad-slot__placeholder span {
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ad-slot__placeholder strong {
    color: var(--tech-dark);
}

.disclaimer-note {
    background: var(--dark-panel);
    border: 1px solid var(--dark-panel-border);
    border-radius: var(--radius);
    color: #fff;
    padding: clamp(1rem, 3vw, 1.4rem);
}

.disclaimer-note .eyebrow,
.disclaimer-note .text-link,
.disclaimer-note .text-button {
    color: var(--accent-light);
}

.disclaimer-note p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.4rem;
}

.disclaimer-note .inline-actions {
    margin-top: 0.8rem;
}

.actual-post {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: clamp(1.1rem, 3vw, 2rem);
}

.actual-post h2,
.actual-post h3,
.actual-post h4 {
    color: var(--tech-dark);
    margin-top: 1.5rem;
}

.actual-post p,
.actual-post li {
    color: var(--article-text);
}

.actual-post img {
    border-radius: var(--radius);
    height: auto;
}

.actual-post iframe {
    border: 0;
    border-radius: var(--radius);
    min-height: 680px;
    width: 100%;
}

.table-wrap {
    overflow-x: auto;
}

.table-wrap table,
.data-table {
    border-collapse: collapse;
    min-width: 100%;
}

.table-wrap th,
.table-wrap td,
.data-table th,
.data-table td {
    border: 1px solid var(--line);
    padding: 0.65rem;
    text-align: left;
}

.action-bar {
    align-items: center;
    background: linear-gradient(135deg, var(--aside-start), var(--aside-end));
    border: 1px solid var(--dark-panel-border);
    border-radius: var(--radius);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: space-between;
    margin: 0.9rem 0;
    padding: 0.62rem 0.85rem;
}

.action-bar a,
.action-bar button {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 850;
}

.action-bar a:hover,
.action-bar button:hover {
    color: #fff;
}

.inline-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.text-button {
    background: transparent;
    border: 0;
    color: var(--tech-dark);
    font-weight: 850;
    padding: 0;
    text-decoration: underline;
}

.comment-list {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.comment {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 1rem;
}

.comment img {
    border-radius: 50%;
    height: 48px;
    width: 48px;
}

.comment h3 {
    margin-bottom: 0.2rem;
}

.comment time {
    color: var(--muted);
    display: block;
    font-size: 0.84rem;
    font-weight: 750;
}

.form-grid,
.auth-grid,
.profile-grid {
    display: grid;
    gap: 1rem;
}

.auth-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-section {
    background:
        linear-gradient(90deg, var(--shell-overlay-start), var(--shell-overlay-end)),
        repeating-linear-gradient(90deg, transparent 0 34px, var(--hero-grid-line) 35px 36px),
        var(--bg);
    border-top: 1px solid var(--line);
    padding-top: clamp(2rem, 5vw, 4rem);
}

.auth-shell {
    margin: 0 auto;
    max-width: 720px;
}

.auth-panel--account {
    box-shadow: var(--card-shadow);
    padding: clamp(1.4rem, 4vw, 2.1rem);
}

.auth-panel--account h1 {
    font-size: clamp(2.15rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.auth-lede {
    color: var(--muted);
    font-size: 1.02rem;
    margin-bottom: 1.35rem;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-form .form-actions {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.auth-submit {
    background: var(--gold);
    border-color: var(--gold);
    color: #16120a;
    min-height: 52px;
    width: 100%;
}

.auth-actions-block {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.auth-actions-block--single {
    grid-template-columns: 1fr;
}

.auth-option {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 7px;
    display: grid;
    gap: 0.12rem;
    padding: 0.9rem 1rem;
    text-decoration: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.auth-option:hover {
    border-color: var(--tech);
    transform: translateY(-2px);
}

.auth-option span {
    color: var(--tech-dark);
    font-weight: 900;
}

.auth-option strong {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 800;
}

[hidden],
.auth-panel.is-hidden,
.edit-fields.is-hidden,
.read-fields.is-hidden,
.is-hidden {
    display: none !important;
}

.field,
.form-card label,
.auth-panel label,
.profile-card label {
    display: grid;
    gap: 0.32rem;
}

.field span,
.form-card label span,
.auth-panel label span,
.profile-card label span {
    color: var(--nav-text);
    font-size: 0.84rem;
    font-weight: 900;
}

input,
select,
textarea,
.editor-surface {
    background: var(--field-bg);
    border: 1px solid var(--field-border);
    border-radius: 7px;
    color: var(--ink);
    min-height: 44px;
    outline: none;
    padding: 0.72rem 0.78rem;
    width: 100%;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.editor-surface:focus-within {
    border-color: var(--tech);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

input.is-invalid {
    border-color: #b42318;
}

.editor-surface {
    min-height: 240px;
    padding: 0.5rem;
}

.editor-surface > div,
.editor-surface .ck-editor__editable {
    min-height: 220px;
}

.composer-section {
    background:
        linear-gradient(90deg, var(--shell-overlay-start), var(--shell-overlay-end)),
        repeating-linear-gradient(90deg, transparent 0 34px, var(--hero-grid-line) 35px 36px),
        var(--bg);
    min-height: 70vh;
    padding-top: clamp(1.25rem, 3vw, 2rem);
}

.composer-column {
    max-width: 1120px;
}

.composer {
    box-shadow: var(--card-shadow);
    display: grid;
    gap: 0;
    padding: 0;
}

.composer__header {
    align-items: start;
    background: linear-gradient(135deg, var(--aside-start), var(--aside-end));
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
    color: #fff;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: clamp(1.15rem, 2.6vw, 1.65rem);
}

.composer__header .eyebrow {
    color: var(--accent-light);
}

.composer__header h1 {
    color: #fff;
    font-size: clamp(1.9rem, 3.2vw, 2.45rem);
    line-height: 1.05;
    margin-bottom: 0.55rem;
    max-width: none;
}

.composer__header p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.75);
    max-width: 68ch;
}

.composer__state {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 850;
    padding: 0.45rem 0.68rem;
    white-space: nowrap;
}

.composer__details,
.composer__writing,
.composer__finish {
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.composer__writing,
.composer__finish {
    border-top: 1px solid var(--line);
}

.composer__section-heading {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
}

.composer__section-heading--compact {
    grid-template-columns: 1fr;
}

.composer__section-heading h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.composer__section-heading > p {
    color: var(--muted);
    font-size: 0.9rem;
    justify-self: end;
    max-width: 44ch;
}

.composer__type-row {
    grid-template-columns: minmax(210px, 0.6fr) minmax(0, 1.4fr);
}

.composer__title-field input {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    font-weight: 800;
    min-height: 54px;
}

.composer label small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.composer__section-heading--editor {
    align-items: center;
}

.editor-count {
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.35rem 0.8rem;
    justify-content: flex-end;
}

.editor-count span + span {
    border-left: 1px solid var(--line);
    padding-left: 0.8rem;
}

.composer-editor {
    background: var(--paper);
    border: 1px solid var(--field-border);
    border-radius: var(--radius);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.composer-editor:focus-within {
    border-color: var(--tech);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.editor-toolbar {
    align-items: center;
    background: var(--field-bg);
    border-bottom: 1px solid var(--field-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem;
    position: sticky;
    top: 76px;
    z-index: 20;
}

.editor-toolbar:first-child {
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.editor-toolbar__style {
    display: block !important;
    flex: 0 0 auto;
}

.editor-toolbar__style select {
    background: var(--paper);
    border-color: var(--line);
    font-size: 0.82rem;
    font-weight: 800;
    min-height: 36px;
    padding: 0.42rem 2rem 0.42rem 0.62rem;
    width: auto;
}

.editor-toolbar__group {
    border-left: 1px solid var(--line);
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    padding-left: 0.4rem;
}

.editor-toolbar__group--history {
    margin-left: auto;
}

.editor-toolbar button {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--nav-text);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    min-height: 34px;
    padding: 0.38rem 0.55rem;
}

.editor-toolbar button:hover:not(:disabled),
.editor-toolbar button[aria-pressed="true"],
.editor-toolbar button.is-active {
    background: var(--paper);
    border-color: var(--line);
    color: var(--tech-dark);
}

.editor-toolbar button:focus-visible,
.editor-toolbar__style select:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 1px;
}

.editor-toolbar button:disabled {
    cursor: default;
    opacity: 0.42;
}

.editor-link-panel {
    align-items: center;
    background: var(--paper);
    border-top: 1px solid var(--field-border);
    display: grid;
    flex: 1 0 calc(100% + 1.1rem);
    gap: 0.45rem;
    grid-template-columns: minmax(220px, 1fr) auto auto auto;
    margin: 0.15rem -0.55rem -0.55rem;
    padding: 0.55rem;
}

.editor-link-panel label {
    display: block;
}

.editor-link-panel input {
    background: var(--field-bg);
    font-size: 0.84rem;
    min-height: 36px;
    padding: 0.42rem 0.62rem;
}

.editor-link-panel__apply {
    background: var(--primary-button-bg) !important;
    border-color: var(--primary-button-bg) !important;
    color: var(--primary-button-text) !important;
}

.editor-link-panel__message {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
    grid-column: 1 / -1;
}

.editor-link-panel__message.is-error {
    color: #b42318;
}

.composer-editor .editor-surface {
    background: var(--paper);
    border: 0;
    border-radius: 0;
    min-height: 500px;
    padding: 0;
}

.composer-editor .editor-surface:focus-within {
    box-shadow: none;
}

.composer-editor #postData,
.composer-editor .ck-editor__editable,
.composer-editor .editor-surface > div {
    border: 0;
    border-radius: 0;
    font-size: 1.02rem;
    line-height: 1.75;
    min-height: 500px;
    padding: clamp(1.25rem, 3vw, 2.1rem);
}

.composer-editor .ck-editor__editable.ck-focused {
    border: 0;
    box-shadow: none;
    outline: none;
}

.composer-editor .ck-placeholder::before {
    color: var(--muted);
}

.editor-footer {
    align-items: center;
    background: var(--field-bg);
    border-top: 1px solid var(--field-border);
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.65rem 1rem;
    justify-content: space-between;
    padding: 0.65rem 0.8rem;
}

.editor-footer:last-child {
    border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px);
}

.editor-footer p:last-child {
    color: var(--tech-dark);
    font-weight: 850;
    white-space: nowrap;
}

.editor-footer p:last-child.is-error {
    color: #b42318;
}

.composer__pdf-field {
    background: var(--field-bg);
    border: 1px dashed var(--field-border);
    border-radius: var(--radius);
    padding: 1rem;
}

.suggest-combobox {
    position: relative;
}

.suggest-combobox input {
    padding-right: 2.6rem;
}

.suggest-combobox::after {
    border: solid var(--ink);
    border-width: 0 2px 2px 0;
    content: "";
    height: 7px;
    pointer-events: none;
    position: absolute;
    right: 1rem;
    top: 1.15rem;
    transform: rotate(45deg);
    width: 7px;
}

.suggest-combobox__menu {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.2rem;
    left: 0;
    max-height: 220px;
    overflow-y: auto;
    padding: 0.35rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 60;
}

.suggest-combobox__option {
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
    min-height: 34px;
    padding: 0.42rem 0.55rem;
    text-align: left;
    width: 100%;
}

.suggest-combobox__option:hover,
.suggest-combobox__option:focus-visible,
.suggest-combobox__option.is-active {
    background: var(--tag-bg);
    color: var(--tech-dark);
}

.tag-composer {
    align-items: center;
    background: var(--field-bg);
    border: 1px solid var(--field-border);
    border-radius: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 52px;
    padding: 0.38rem;
    position: relative;
    width: 100%;
}

.tag-composer:focus-within {
    border-color: var(--tech);
    box-shadow: 0 0 0 4px var(--focus-ring);
}

.tag-composer__tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.tag-composer__token {
    align-items: center;
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 999px;
    color: var(--tag-text);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 850;
    gap: 0.32rem;
    line-height: 1;
    padding: 0.38rem 0.42rem 0.38rem 0.62rem;
}

.tag-composer__token button {
    align-items: center;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--tag-border);
    border-radius: 50%;
    color: var(--tag-text);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 900;
    height: 20px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 20px;
}

.tag-composer__token button:hover,
.tag-composer__token button:focus-visible {
    background: var(--paper);
    border-color: var(--tech);
}

.tag-composer input {
    background: transparent;
    border: 0;
    box-shadow: none;
    flex: 1 1 180px;
    min-height: 36px;
    padding: 0.35rem 0.35rem;
    width: auto;
}

.tag-composer input:focus {
    border-color: transparent;
    box-shadow: none;
}

.tag-composer__menu {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 7px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 0.2rem;
    left: 0;
    max-height: 220px;
    overflow-y: auto;
    padding: 0.35rem;
    position: absolute;
    right: 0;
    top: calc(100% + 0.35rem);
    z-index: 50;
}

.tag-composer__option {
    background: transparent;
    border: 0;
    border-radius: 5px;
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 800;
    min-height: 34px;
    padding: 0.42rem 0.55rem;
    text-align: left;
    width: 100%;
}

.tag-composer__option:hover,
.tag-composer__option:focus-visible {
    background: var(--tag-bg);
    color: var(--tech-dark);
}

.composer__actions {
    border-top: 1px solid var(--line);
    margin-top: 0.25rem;
    padding-top: 1.2rem;
}

.composer__actions .button {
    min-width: 160px;
}

.field-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.form-status {
    color: var(--tech-dark);
    font-weight: 800;
    margin: 0;
}

.form-status.is-error {
    color: #b42318;
}

.utility-card .form-actions {
    margin-top: 1rem;
}

.utility-tool {
    display: grid;
    gap: 1rem;
}

.utility-tool__header {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.7fr);
}

.form-card label.utility-check {
    align-items: center;
    background: var(--field-bg);
    border: 1px solid var(--field-border);
    border-radius: 7px;
    display: flex;
    flex-direction: row;
    gap: 0.55rem;
    min-height: 44px;
    padding: 0.72rem 0.78rem;
}

.utility-check input {
    flex: 0 0 auto;
    min-height: auto;
    width: auto;
}

.utility-actions {
    margin-top: 0;
}

.utility-actions .button {
    min-width: 110px;
}

.utility-tool textarea[readonly] {
    background: var(--bg);
}

.listing-intro {
    margin-bottom: 1.35rem;
}

.utility-guide {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.utility-guide h2,
.utility-guide h3 {
    margin-bottom: 0.65rem;
}

.utility-guide h3 {
    font-size: 1.22rem;
}

.utility-guide p,
.utility-guide li {
    color: var(--muted);
    line-height: 1.75;
}

.utility-guide ol {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.utility-guide code {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 4px;
    color: var(--tech-dark);
    font-size: 0.88em;
    padding: 0.1rem 0.3rem;
}

.utility-guide__intro {
    border-bottom: 1px solid var(--line);
    padding-bottom: 1.5rem;
}

.utility-guide__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.utility-guide__grid section {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 1.15rem;
}

.utility-table-wrap {
    overflow-x: auto;
}

.utility-example-table {
    border-collapse: collapse;
    min-width: 620px;
    width: 100%;
}

.utility-example-table th,
.utility-example-table td {
    border-bottom: 1px solid var(--line);
    padding: 0.8rem;
    text-align: left;
    vertical-align: top;
}

.utility-example-table th {
    color: var(--ink);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.utility-guide__footer {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
}

.utility-guide__footer a {
    color: var(--tech-dark);
    font-weight: 800;
}

.hp-field {
    height: 1px;
    left: -10000px;
    opacity: 0.01;
    pointer-events: none;
    position: absolute;
    top: auto;
    width: 1px;
}

.auth-security-note {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
}

.auth-security-note a {
    color: var(--tech-dark);
    font-weight: 800;
}

.password-field {
    display: block;
    position: relative;
}

.password-field input {
    padding-right: 5rem;
}

.password-field button {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 999px;
    color: var(--tech-dark);
    font-weight: 850;
    min-height: 32px;
    padding: 0 0.7rem;
    position: absolute;
    right: 0.42rem;
    top: 50%;
    transform: translateY(-50%);
}

.people-list {
    display: grid;
    gap: 0.72rem;
}

.person-card {
    align-items: start;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 0.72rem 0.85rem;
}

.person-card img,
.profile-photo {
    border-radius: 50%;
}

.person-card img {
    height: 54px;
    width: 54px;
}

.person-card h2 {
    font-size: 1.25rem;
    line-height: 1.15;
    margin-bottom: 0.18rem;
}

.person-card p {
    font-size: 0.94rem;
    line-height: 1.45;
    margin-bottom: 0.45rem;
}

.person-card .meta-row {
    font-size: 0.82rem;
    gap: 0.38rem;
    margin: 0;
}

.profile-grid {
    grid-template-columns: 190px minmax(0, 1fr);
}

.profile-card--account {
    box-shadow: var(--card-shadow);
}

.profile-card__header {
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
}

.profile-title-row {
    align-items: center;
    display: flex;
    gap: 0.55rem;
}

.profile-card__header h1 {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    margin-bottom: 0.2rem;
    max-width: none;
}

.profile-edit-button {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    padding: 0;
    transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
    width: 34px;
}

.profile-edit-button:hover {
    background: var(--nav-hover-bg);
    border-color: var(--tech);
    color: var(--tech-dark);
}

.profile-edit-button svg {
    fill: currentColor;
    height: 17px;
    width: 17px;
}

.profile-card__header p:last-child {
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 0;
}

.profile-avatar {
    display: flex;
    justify-content: center;
    padding-top: 0.3rem;
}

.profile-photo {
    height: 150px;
    width: 150px;
}

.profile-details {
    display: grid;
    gap: 0.75rem;
}

.profile-detail {
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.75rem;
}

.profile-detail strong {
    display: block;
}

.profile-detail a {
    color: var(--tech-dark);
    font-weight: 800;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.profile-actions {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: 1rem;
}

.profile-details--edit {
    border-top: 1px solid var(--line);
    padding-top: 0.25rem;
}

.profile-posts-header {
    margin: 1.1rem 0 0.55rem;
}

.profile-posts-header h2 {
    font-size: 1.08rem;
    margin-bottom: 0;
}

.profile-post-list {
    gap: 0.55rem;
}

.profile-post-card {
    box-shadow: none;
    padding: 0.72rem 0.85rem;
}

.profile-post-card h3 {
    font-size: 0.98rem;
    line-height: 1.35;
    margin-bottom: 0.16rem;
}

.profile-post-date {
    font-size: 0.78rem;
    font-weight: 650;
    margin-bottom: 0;
}

.historydate {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 750;
}

.site-footer {
    background: var(--footer-bg);
    padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem) 2rem;
}

.footer-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 0.55fr);
}

address {
    display: grid;
    font-style: normal;
    gap: 0.2rem;
    margin: 1.2rem 0;
}

address a,
.footer-bottom a {
    color: var(--tech-dark);
    font-weight: 850;
    text-decoration: none;
}

.social-strip--footer a {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--nav-text);
    font-size: 0.88rem;
    font-weight: 800;
    padding: 0.42rem 0.7rem;
    text-decoration: none;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid var(--line);
    color: var(--muted);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
}

.footer-legal-links {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: flex-end;
}

.footer-legal-links .text-button {
    font-size: 0.88rem;
}

.legal-document__header {
    border-bottom: 1px solid var(--line);
    margin-bottom: 1.25rem;
    padding-bottom: 0.4rem;
}

.legal-document__header .compact-page-title {
    border: 0;
    margin-bottom: 0.5rem;
    padding-bottom: 0;
}

.legal-updated {
    color: var(--muted) !important;
    font-size: 0.9rem;
}

.legal-nav {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.8rem;
    padding: 0.8rem;
}

.legal-nav a {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--tech-dark);
    font-size: 0.82rem;
    font-weight: 850;
    padding: 0.36rem 0.68rem;
    text-decoration: none;
}

.legal-nav a:hover {
    border-color: var(--tech);
}

.legal-document section {
    scroll-margin-top: 100px;
}

.legal-document h2 {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
}

.legal-document section:first-of-type h2 {
    border-top: 0;
}

.legal-table-wrap {
    margin: 1rem 0 1.5rem;
}

.legal-table {
    font-size: 0.88rem;
    line-height: 1.5;
}

.legal-table th {
    background: var(--dark-panel);
    color: #fff;
    min-width: 170px;
}

.legal-table td {
    min-width: 190px;
    vertical-align: top;
}

.legal-table code {
    overflow-wrap: anywhere;
}

.legal-contact {
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: var(--radius);
    margin-top: 2rem;
    padding: 0 1.2rem 0.35rem;
}

.inline-privacy-button {
    display: inline;
}

.legal-consent {
    align-items: flex-start;
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 7px;
    display: flex !important;
    gap: 0.65rem !important;
    padding: 0.8rem;
}

.legal-consent input {
    flex: 0 0 auto;
    margin-top: 0.18rem;
    min-height: 18px;
    width: 18px;
}

.legal-consent span {
    font-weight: 700 !important;
    line-height: 1.5;
}

.legal-consent a {
    color: var(--tech-dark);
}

.privacy-banner {
    align-items: center;
    background: linear-gradient(135deg, var(--aside-start), var(--aside-end));
    border: 1px solid var(--dark-panel-border);
    border-radius: 12px;
    bottom: 1rem;
    box-shadow: 0 24px 80px rgba(5, 18, 12, 0.34);
    color: #fff;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) auto;
    left: max(1rem, calc((100vw - 1180px) / 2));
    max-width: 1180px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.1rem;
    position: fixed;
    right: max(1rem, calc((100vw - 1180px) / 2));
    z-index: 300;
}

.privacy-banner .eyebrow {
    color: var(--accent-light);
    margin-bottom: 0.2rem;
}

.privacy-banner h2 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
}

.privacy-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.3rem;
    max-width: 72ch;
}

.privacy-banner a,
.privacy-banner .text-button {
    color: #fff;
    font-weight: 850;
}

.privacy-banner__actions {
    align-items: center;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(2, minmax(145px, 1fr));
}

.privacy-banner__actions .button {
    background: #fff;
    border-color: #fff;
    color: var(--dark-panel);
    min-height: 42px;
    padding: 0.55rem 0.8rem;
}

.privacy-banner__actions .button--ghost {
    background: #fff;
    color: var(--dark-panel);
}

.privacy-banner__actions .text-button {
    grid-column: 1 / -1;
    justify-self: center;
}

.privacy-gpc-status {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 7px;
    font-weight: 800;
    padding: 0.55rem 0.7rem;
}

.privacy-dialog {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    color: var(--ink);
    max-height: min(760px, calc(100vh - 2rem));
    max-width: 640px;
    overflow-y: auto;
    padding: 0;
    width: calc(100% - 2rem);
}

.privacy-dialog::backdrop {
    backdrop-filter: blur(4px);
    background: rgba(6, 18, 12, 0.68);
}

.privacy-dialog > * {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
}

.privacy-dialog__header {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 1.25rem;
}

.privacy-dialog__header h2 {
    margin-bottom: 0;
}

.privacy-dialog__close {
    align-items: center;
    background: var(--tag-bg);
    border: 1px solid var(--tag-border);
    border-radius: 50%;
    color: var(--ink);
    display: inline-flex;
    font-size: 1.4rem;
    height: 38px;
    justify-content: center;
    line-height: 1;
    width: 38px;
}

.privacy-dialog > p:first-of-type {
    color: var(--muted);
    margin-top: 1.15rem;
}

.privacy-choice-list {
    display: grid;
    gap: 0.75rem;
}

.privacy-choice {
    align-items: center;
    background: var(--field-bg);
    border: 1px solid var(--field-border);
    border-radius: var(--radius);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem;
}

.privacy-choice span {
    display: grid;
    gap: 0.18rem;
}

.privacy-choice small {
    color: var(--muted);
    line-height: 1.45;
}

.privacy-choice input {
    accent-color: var(--tech);
    flex: 0 0 auto;
    min-height: 22px;
    width: 22px;
}

.privacy-dialog .privacy-gpc-status {
    background: var(--tag-bg);
    border-color: var(--tag-border);
    color: var(--tech-dark);
    margin-top: 0.9rem;
}

.privacy-dialog__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.privacy-dialog__actions .button:disabled {
    cursor: not-allowed;
}

.privacy-dialog__links {
    border-top: 1px solid var(--line);
    color: var(--muted);
    margin-bottom: 0;
    padding: 1rem 0 1.2rem;
}

.privacy-dialog__links a {
    color: var(--tech-dark);
    font-weight: 800;
}

.ad-slot__placeholder--privacy .text-button {
    justify-self: center;
}

@media (max-width: 760px) {
    .privacy-banner {
        grid-template-columns: 1fr;
    }

    .privacy-banner__actions {
        grid-template-columns: 1fr;
    }

    .privacy-banner__actions .text-button {
        grid-column: 1;
    }

    .footer-legal-links {
        align-items: flex-start;
        flex-direction: column;
    }
}

.error-code {
    color: var(--tech-dark);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
}

@media (min-width: 980px) {
    h1 {
        font-size: 2.65rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1080px) {
    .site-header {
        grid-template-columns: minmax(250px, 1fr) auto;
    }

    .site-nav {
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        display: grid;
        left: 1rem;
        opacity: 0;
        padding: 0.75rem;
        pointer-events: none;
        position: fixed;
        right: 1rem;
        top: 88px;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease;
        z-index: 120;
    }

    .site-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-nav a {
        border-radius: 7px;
        width: 100%;
    }

    .nav-toggle {
        display: block;
    }
}

@media (max-width: 920px) {
    .hero,
    .content-layout,
    .footer-grid,
    .profile-grid,
    .home-grid,
    .value-grid,
    .home-start-wide {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero__content,
    .hero__aside {
        grid-column: 1;
    }

    .hero h1 {
        font-size: 2.45rem;
    }

    .hero__aside {
        min-height: 360px;
    }

    .metric-row,
    .auth-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .start-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar,
    .home-rail {
        position: static;
    }
}

@media (max-width: 640px) {
    .site-header {
        gap: 0.65rem;
        grid-template-columns: minmax(0, 1fr) max-content;
        min-height: 70px;
        padding: 0.7rem 1rem;
    }

    .header-tools {
        gap: 0.35rem;
    }

    .account-menu__toggle {
        max-width: 9rem;
    }

    .account-menu__toggle span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .brand__text small,
    .palette-menu__toggle span:not(.palette-menu__icon),
    .header-action {
        display: none;
    }

    .hero__content,
    .hero__aside,
    .section,
    .page-hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero h1 {
        font-size: 2.05rem;
    }

    .command-card h2 {
        font-size: 1.65rem;
    }

    .metric-row,
    .auth-grid,
    .field-row,
    .utility-tool__header,
    .utility-guide__grid,
    .value-grid,
    .home-search,
    .listing-search,
    .start-links {
        grid-template-columns: 1fr;
    }

    .listing-search__actions {
        flex-wrap: wrap;
    }

    .auth-actions-block {
        grid-template-columns: 1fr;
    }

    .tag-cloud {
        justify-content: flex-start;
        min-height: auto;
    }

    .cloud-tag--level-5 {
        font-size: 1.62rem;
    }

    .person-card,
    .comment {
        grid-template-columns: 1fr;
    }

    .person-card img,
    .comment img {
        height: 56px;
        width: 56px;
    }

    .composer-section {
        padding: 0.8rem;
    }

    .composer__header,
    .composer__section-heading {
        grid-template-columns: 1fr;
    }

    .composer__header,
    .composer__details,
    .composer__writing,
    .composer__finish {
        padding: 1rem;
    }

    .composer__state,
    .composer__section-heading > p {
        justify-self: start;
    }

    .composer__section-heading--editor {
        gap: 0.6rem;
    }

    .editor-count {
        justify-content: flex-start;
    }

    .editor-toolbar {
        top: 70px;
    }

    .editor-toolbar__group--history {
        margin-left: 0;
    }

    .editor-link-panel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .editor-link-panel label,
    .editor-link-panel__message {
        grid-column: 1 / -1;
    }

    .editor-link-panel button {
        width: 100%;
    }

    .composer-editor .editor-surface,
    .composer-editor #postData,
    .composer-editor .ck-editor__editable,
    .composer-editor .editor-surface > div {
        min-height: 420px;
    }

    .editor-footer {
        align-items: start;
        display: grid;
    }
}
