/* On Agency's heading hierarchy within the AI Minutes article shell. */
html { scroll-behavior: smooth; }
.switzerland-memo {
    --baby-blue: #eaf6ff;
    --baby-green: #e9f2ed;
    --baby-yellow: #f9f3e0;
    --plot-blue: #bddbed;
    --plot-green: #c9e3d3;
    --plot-blue-line: #68879c;
    --plot-green-line: #6b8975;
    --plot-grid: #e1e6e9;
    --plot-text: #4b5961;
    --plot-muted: #697780;
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 40px;
    color: #37352f;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

.switzerland-memo,
.switzerland-memo * {
    box-sizing: border-box;
}

.switzerland-memo ::selection {
    color: #1a1a1a;
    background: var(--baby-blue);
}

.switzerland-memo .site-header {
    display: flex;
    max-width: 640px;
    align-items: baseline;
    justify-content: space-between;
    gap: 30px;
    margin: 0 auto 80px;
}

.switzerland-memo .site-brand {
    color: #37352f;
    font-size: 1.15rem;
    text-decoration: none;
}

.switzerland-memo .site-nav {
    display: flex;
    gap: 28px;
}

.switzerland-memo .site-nav a {
    color: #888;
    font-size: 0.95rem;
    text-decoration: none;
}

.switzerland-memo .memo-content {
    max-width: 640px;
    margin: 0 auto;
}

.switzerland-memo h1 {
    margin: 0 0 10px;
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}

.switzerland-memo h2,
.switzerland-memo h3 {
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    scroll-margin-top: 40px;
}

.switzerland-memo h2 {
    margin: 40px 0 15px;
    color: #1a1a1a;
    font-size: 1.15rem;
    line-height: 1.4;
}

.switzerland-memo h3 {
    margin: 30px 0 12px;
    color: #666;
    font-size: .95rem;
}

.switzerland-memo h4 {
    margin: 24px 0 8px;
    color: #777;
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.5;
    scroll-margin-top: 40px;
}

.switzerland-memo .memo-body p,
.switzerland-memo .memo-body li {
    margin: 0 0 14px;
    color: #37352f;
    font-size: 1rem;
    line-height: 1.7;
}

.switzerland-memo :where(a) {
    color: #37352f;
    text-decoration: underline;
    text-decoration-color: rgba(55, 53, 47, .35);
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.switzerland-memo :where(a:hover) {
    text-decoration-color: #37352f;
}

.switzerland-memo :is(a, button, [tabindex]):focus-visible {
    outline: 2px solid #258db7;
    outline-offset: 3px;
}

.switzerland-memo strong {
    color: #37352f;
    font-weight: 600;
}

.switzerland-memo :where(button) {
    font: inherit;
    cursor: pointer;
}

.switzerland-memo [hidden] {
    display: none !important;
}

.switzerland-memo .memo-subtitle {
    margin: 0 0 5px;
    color: #666;
    font-size: .85rem;
    line-height: 1.65;
    text-align: center;
}

.switzerland-memo .memo-status {
    margin: 0 0 40px;
    color: #888;
    font-size: .85rem;
    line-height: 1.5;
    text-align: center;
}

.switzerland-memo .memo-body > section:first-child h2 {
    margin-top: 0;
}

.switzerland-memo mark {
    color: inherit;
    background: var(--baby-blue);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.switzerland-memo .term {
    display: inline;
    padding: 1px 6px;
    border: 0;
    border-bottom: 1px dashed #ccc;
    border-radius: 4px;
    color: #444;
    background: #f0f0ee;
    font-family: "SF Mono", Menlo, monospace;
    font-size: 0.85em;
    font-weight: 500;
    line-height: inherit;
    overflow-wrap: anywhere;
}

.switzerland-memo .term:hover,
.switzerland-memo .term[aria-expanded="true"] {
    background: var(--baby-blue);
}

.switzerland-memo #term-popover {
    position: fixed;
    inset: auto;
    width: min(260px, calc(100vw - 40px));
    max-height: calc(100dvh - 32px);
    margin: 0;
    padding: 10px 14px;
    overflow-y: auto;
    border: 1px solid #00000014;
    border-radius: 8px;
    color: #666;
    background: #fff;
    box-shadow: 0 4px 20px #00000014, 0 1px 3px #0000000a;
}

.switzerland-memo .term-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.switzerland-memo .term-heading strong {
    color: #444;
    font: 600 10px "SF Mono", Menlo, monospace;
}

.switzerland-memo #term-popover p,
.switzerland-memo #term-popover a {
    margin: 0 0 8px;
    color: #666;
    font-size: 11px;
    line-height: 1.5;
}

.switzerland-memo #term-popover a {
    color: #258db7;
}

.switzerland-memo #term-popover .term-context {
    margin: 0;
    color: #888;
    font-style: italic;
}

.switzerland-memo .term-close {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    color: #777;
    background: transparent;
    font: 18px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.switzerland-memo .term-close:hover {
    background: #f0f0ee;
}

.switzerland-memo .concept-breakout {
    margin: 20px 0;
    padding: 18px 22px;
    border: 1px solid #0000000f;
    border-radius: 8px;
    background: #f8f8f6;
}

.switzerland-memo .formula-label {
    margin: 0 0 10px;
    color: #999;
    font: 10px/1.5 "SF Mono", Menlo, monospace;
    text-align: left;
}

.switzerland-memo .memo-body .concept-question {
    margin: 0 0 8px;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.switzerland-memo .memo-body .concept-breakout p:not(.concept-question) {
    margin: 0 0 10px;
    color: #666;
    font-size: 12px;
    line-height: 1.7;
}

.switzerland-memo .concept-breakout a {
    font-size: 11px;
}

.switzerland-memo figure {
    margin: 30px 0;
}

.switzerland-memo figcaption {
    margin-top: 10px;
    color: #757575;
    font: italic 12px/1.5 "Iowan Old Style", Palatino, Georgia, serif;
}

.switzerland-memo .statement-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #0000000a;
}

.switzerland-memo #notion-post {
    max-width: 360px;
    margin: 30px auto;
}

.switzerland-memo .closing-passage {
    margin: 26px 0;
}

.switzerland-memo .highlight-yellow {
    background: #fff2b3;
}

.switzerland-memo .draft-versions {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    color: #9a9a95;
    font: 11px/1.5 "SF Mono", Menlo, monospace;
}

.switzerland-memo .draft-versions a {
    color: inherit;
    text-decoration: none;
}

.switzerland-memo .draft-versions a:hover { color: #37352f; }
.switzerland-memo .draft-versions [aria-current] { color: #37352f; }
.switzerland-memo .draft-count { opacity: 1; }
.switzerland-memo .article-engagement-row { margin-top: 22px; }
.switzerland-memo .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.switzerland-memo .article-like:disabled { cursor: default; }
.switzerland-memo .article-like:disabled:hover { color: #9a9a95; }

/* Same fixed, monospace contents tracker as the AI transformation article. */
.switzerland-memo .toc {
    position: fixed;
    top: 100px;
    left: 40px;
    width: min(200px, calc((100vw - 640px) / 2 - 64px));
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    padding-right: 12px;
    font-family: "SF Mono", "Fira Code", Menlo, monospace;
    line-height: 1.7;
}

.switzerland-memo .toc-label {
    margin-bottom: 12px;
    color: #c4c4c0;
    font-size: 9.5px;
    font-weight: 500;
    text-transform: uppercase;
}

.switzerland-memo .toc ul { list-style: none; margin: 0; padding: 0; }
.switzerland-memo .toc ul ul { margin: 4px 0; padding-left: 12px; }
.switzerland-memo .toc li { margin: 0 0 5px; font-size: 12px; line-height: 1.55; }
.switzerland-memo .toc ul ul li { font-size: 11px; margin-bottom: 3px; }
.switzerland-memo .toc a {
    position: relative;
    display: block;
    padding-left: 12px;
    color: #9a9a95;
    text-decoration: none;
    overflow-wrap: normal;
    transition: color .15s ease;
}
.switzerland-memo .toc a::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #37352f;
    opacity: 0;
    transition: opacity .15s ease;
}
.switzerland-memo .toc ul ul a { color: #b8b8b2; }
.switzerland-memo .toc a:hover,
.switzerland-memo .toc li.active > a { color: #37352f; }
.switzerland-memo .toc li.active > a::before { opacity: 1; }

.switzerland-memo .audio-toggle {
    position: fixed;
    top: 28px;
    right: max(8px, calc((100vw - 760px) / 2 - 48px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #9a9a95;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    opacity: .82;
}
.switzerland-memo .audio-toggle:hover { color: #37352f; opacity: 1; }
.switzerland-memo .audio-toggle svg { display: block; width: 22px; height: 22px; }
.switzerland-memo .audio-toggle .mute-slash { display: none; }
.switzerland-memo .audio-toggle.is-muted .sound-wave { display: none; }
.switzerland-memo .audio-toggle.is-muted .mute-slash { display: block; }
.switzerland-memo .audio-toggle-label {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    padding: 3px 0;
    font-family: "SF Mono", "Fira Code", Menlo, monospace;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    background: #fff;
}
.switzerland-memo .audio-toggle.needs-activation .audio-toggle-label { display: block; }

@media (max-width: 1100px) {
    .switzerland-memo .toc { display: none; }
}

@media (max-width: 600px) {
    .switzerland-memo .audio-toggle {
        /* Keep the control in the visible viewport even if artwork overflows. */
        top: calc(100dvh - max(16px, env(safe-area-inset-bottom)) - 40px);
        left: calc(100vw - 56px);
        right: auto;
        bottom: auto;
    }
    .switzerland-memo .audio-toggle-label { top: auto; bottom: 100%; }

    .switzerland-memo {
        padding: 40px 20px;
    }

    .switzerland-memo .site-header {
        gap: 20px;
        margin-bottom: 50px;
    }

    .switzerland-memo h1 { font-size: 1.5rem; }
    .switzerland-memo h2 { font-size: 1.15rem; margin-top: 40px; }
    .switzerland-memo h3 { font-size: .95rem; margin-top: 30px; }
    .switzerland-memo .memo-body p,
    .switzerland-memo .memo-body li { font-size: .96rem; }

    .switzerland-memo .site-nav {
        gap: 18px;
    }

    .switzerland-memo .concept-breakout {
        padding: 16px;
    }

}

@media (pointer: coarse) {
    .switzerland-memo .term-close {
        width: 44px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .switzerland-memo *,
    .switzerland-memo *::before,
    .switzerland-memo *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* Disclaimer under Substack */
.switzerland-memo .article-disclaimer {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: #8e8e93;
  font-size: 0.86rem;
  line-height: 1.45;
  background: #f2f2f4;
  border-radius: 0;
  padding: 0.55rem 0.75rem;
}
.switzerland-memo .article-disclaimer em {
  font-style: italic;
  color: #6e6e73;
}
