        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --blue: #0f766e;
            --orange: #84cc16;
            --red: #15803d;
            --ink: #102018;
            --muted: #5f7168;
            --panel: #f2fbf6;
            --line: #dbeee2;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
            color: var(--ink);
            background: #fbfefc;
            padding-top: 45px;
        }

        @keyframes gradient-shift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        .container {
            width: min(975px, calc(100% - 44px));
            margin: 0 auto;
        }

        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 45px;
            background: rgba(251, 254, 252, 0.95);
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            border-bottom: 1px solid rgba(21, 128, 61, 0.14);
        }

        .navbar nav {
            display: flex;
            align-items: center;
            overflow-x: auto;
            max-width: 100%;
        }

        .navbar nav a {
            padding: 12px 18px;
            color: #64766b;
            text-decoration: none;
            font-size: 15px;
            font-weight: 500;
            border-bottom: 3px solid transparent;
            white-space: nowrap;
            transition: color 0.2s ease, border-color 0.2s ease;
        }

        .navbar nav a:hover {
            color: #4d7c0f;
            border-bottom-color: #84cc16;
        }

        .navbar nav a.active {
            color: var(--red);
            border-bottom-color: var(--red);
        }

        header {
            padding: 34px 20px 24px;
            text-align: center;
            background: #fbfefc;
        }

        h1 {
            font-size: 2.8rem;
            margin: 0 auto 0.5rem;
            font-weight: 800;
            line-height: 1.125;
            max-width: 1050px;
            background: linear-gradient(45deg, #14532d, var(--blue), var(--orange), #22c55e, #14532d);
            background-size: 300% 100%;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: gradient-shift 5s ease infinite;
        }

        h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: #000000;
            font-weight: 700;
            line-height: 1.125;
            text-align: center;
        }

        h3 {
            font-size: 1.45rem;
            margin: 1.8rem 0 0.9rem;
            color: #000000;
            font-weight: 650;
            line-height: 1.125;
        }

        p {
            margin: 0.7rem 0;
        }

        a {
            color: #047857;
        }

        .subtitle {
            font-size: 2.05rem;
            margin-bottom: 1.4rem;
            color: #20372a;
            font-weight: 700;
            line-height: 1.125;
        }

        .authors {
            font-size: 21px;
            margin-top: 1.3rem;
            margin-bottom: 0.35rem;
            line-height: 1.6;
            color: #000000;
            font-weight: 500;
        }

        .authors a {
            color: #000000;
            text-decoration: none;
        }

        .authors a:hover {
            color: var(--red);
        }

        .authors sup {
            font-size: 0.62em;
            vertical-align: super;
            margin-left: 1px;
        }

        .affiliation {
            font-size: 21px;
            color: #006b1a;
            margin-bottom: 0.45rem;
            line-height: 1.6;
            font-weight: 800;
        }

        .links {
            margin-top: 1.35rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 0.75rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5em;
            min-height: 42px;
            padding: 0.5em 1em;
            background: #14532d;
            color: #ffffff;
            text-decoration: none;
            border-radius: 999px;
            font-weight: 450;
            font-size: 1rem;
            border: 1px solid transparent;
            white-space: nowrap;
            transition: background-color 0.2s ease, transform 0.2s ease;
            line-height: 1.5;
        }

        .btn:hover {
            background: #0f3d25;
            color: #ffffff;
            transform: translateY(-1px);
        }

        .btn svg {
            width: 17px;
            height: 17px;
            stroke-width: 2.1;
        }

        .gradient-divider {
            height: 2px;
            background: linear-gradient(90deg, transparent, #0f766e 20%, #84cc16 50%, #22c55e 80%, transparent);
            margin: 0;
            border: none;
        }

        .section,
        .section-white,
        .section-alternate {
            padding: 34px 22px;
            scroll-margin-top: 60px;
        }

        .section-white {
            background: #fbfefc;
        }

        .section-alternate {
            background: linear-gradient(180deg, rgba(236, 253, 245, 0.38) 0%, rgba(220, 252, 231, 0.8) 50%, rgba(236, 253, 245, 0.38) 100%);
        }

        .content {
            line-height: 1.7;
            font-size: 16px;
            color: #102018;
        }

        .tldr {
            background: var(--panel);
            padding: 25px;
            border-radius: 6px;
            border-left: 4px solid var(--blue);
            margin: 18px 0;
            font-size: 1rem;
            line-height: 1.7;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .highlight {
            background: linear-gradient(90deg, #dcfce7, #bef264);
            padding: 2px 6px;
            border-radius: 3px;
            font-weight: 750;
            color: #14532d;
        }

        .research-question {
            color: #166534;
            font-weight: 750;
            font-size: 1.12em;
            margin: 22px 0 15px;
            padding: 18px 22px;
            background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
            border-left: 4px solid #22c55e;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(21, 128, 61, 0.1);
        }

        .media-container {
            margin: 30px 0;
            text-align: center;
        }

        .media-container img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: #fbfefc;
        }

        .media-container img:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
        }

        .caption {
            margin-top: 15px;
            color: var(--muted);
            font-size: 0.95em;
            line-height: 1.6;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 20px 0;
        }

        .grid.two {
            grid-template-columns: repeat(2, 1fr);
        }

        .card {
            background: #ffffff;
            padding: 16px;
            border-radius: 8px;
            border: 2px solid #dbeee2;
            transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .card:hover {
            border-color: var(--blue);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(21, 128, 61, 0.18);
        }

        .card h3 {
            margin-top: 0;
            margin-bottom: 0.5rem;
            font-size: 1.05rem;
            color: #000000;
        }

        .card p {
            margin: 0.4rem 0;
            font-size: 0.93rem;
            line-height: 1.45;
        }

        ul {
            margin-left: 20px;
            margin-top: 10px;
        }

        li {
            margin: 10px 0;
            line-height: 1.7;
        }

        .table-wrap {
            overflow-x: auto;
            border-radius: 8px;
        }

        .paper-table-card {
            margin: 24px 0 30px;
        }

        .paper-table-title {
            margin: 0 0 6px;
            font-size: 1.08rem;
            font-weight: 750;
            color: #000000;
        }

        .paper-table-caption {
            margin: 0 0 10px;
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.45;
        }

        .table-note {
            color: var(--muted);
            font-size: 0.86rem;
            margin-top: 8px;
        }

        .table-image-wrap {
            padding: 10px;
            background: #ffffff;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid #dbeee2;
        }

        .paper-table-image {
            display: block;
            width: 100%;
            min-width: 980px;
            height: auto;
            max-width: none;
        }

        .citation {
            background: var(--panel);
            padding: 20px;
            border-radius: 6px;
            font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
            font-size: 0.875em;
            margin: 20px 0;
            border-left: 4px solid var(--blue);
            overflow-x: auto;
            white-space: pre-wrap;
            border: 1px solid #dbeee2;
        }

        .resource-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 14px;
            margin: 22px 0;
        }

        .resource-link {
            display: flex;
            gap: 12px;
            align-items: flex-start;
            padding: 16px;
            background: #ffffff;
            border: 2px solid var(--line);
            border-radius: 8px;
            color: #000000;
            text-decoration: none;
            transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
        }

        .resource-link:hover {
            border-color: var(--orange);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(132, 204, 22, 0.16);
        }

        .resource-link svg {
            width: 22px;
            height: 22px;
            flex: 0 0 auto;
            color: var(--blue);
            margin-top: 2px;
        }

        .resource-link strong {
            display: block;
            margin-bottom: 2px;
            font-size: 1rem;
        }

        .resource-link span {
            display: block;
            color: var(--muted);
            font-size: 0.93rem;
            line-height: 1.45;
        }

        .resource-link .resource-url {
            margin-top: 8px;
            color: var(--blue);
            font-weight: 700;
            font-size: 0.9rem;
        }

        .resource-link .resource-url::after {
            content: " \2192";
        }

        .rollout-intro {
            max-width: 760px;
            margin: 0 auto 22px;
            text-align: center;
            color: var(--muted);
            font-size: 0.98rem;
            line-height: 1.6;
        }

        .rollout-group {
            margin: 26px 0 32px;
        }

        .rollout-group:last-child {
            margin-bottom: 0;
        }

        .comparison-note-strip {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin: 0 0 26px;
        }

        .page-main:has(.comparison-layout-block) .container {
            width: min(1320px, calc(100% - 40px));
        }

        .comparison-note-chip {
            display: inline-flex;
            align-items: center;
            min-height: 34px;
            padding: 6px 12px;
            border-radius: 999px;
            border: 1px solid #cfe6d8;
            background: #ffffff;
            color: #14532d;
            font-size: 0.82rem;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(17, 24, 39, 0.045);
        }

        .comparison-disclaimer {
            max-width: 980px;
            margin: 0 auto 22px;
            padding: 12px 14px;
            border-left: 4px solid #0f766e;
            border-radius: 10px;
            background: linear-gradient(90deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.96));
            color: #214332;
            font-size: 0.88rem;
            line-height: 1.55;
            box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
        }

        .comparison-layout-block {
            --task-color: var(--line);
            margin: 22px 0 28px;
            padding: 20px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfefc 100%);
            border: 1px solid var(--line);
            border-top: 6px solid var(--task-color);
            border-radius: 16px;
            box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
        }

        .comparison-layout-block:last-child {
            margin-bottom: 0;
        }

        .comparison-layout-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--line);
        }

        .comparison-layout-header h3 {
            margin: 0 0 4px;
            font-size: 1.22rem;
            color: var(--task-color);
        }

        .comparison-layout-header p {
            margin: 0;
            color: var(--muted);
            font-size: 0.92rem;
            line-height: 1.5;
        }

        .comparison-method-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
            align-items: start;
        }

        .comparison-method-column {
            display: flex;
            flex-direction: column;
            gap: 10px;
            min-width: 0;
            padding: 10px;
            background: #ffffff;
            border: 1px solid #dbeee2;
            border-radius: 12px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .comparison-method-title {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 34px;
            padding: 6px 10px;
            border-radius: 999px;
            font-size: 0.9rem;
            font-weight: 800;
            letter-spacing: 0.01em;
            color: #ffffff;
        }

        .method-sp .comparison-method-title {
            background: linear-gradient(135deg, #475569, #334155);
        }

        .method-cole .comparison-method-title {
            background: linear-gradient(135deg, #0f766e, #0d9488);
        }

        .method-proagent .comparison-method-title {
            background: linear-gradient(135deg, #14532d, #15803d);
        }

        .method-copitree .comparison-method-title {
            background: linear-gradient(135deg, #4d7c0f, #84cc16);
            color: #0f172a;
        }

        .comparison-role-row {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .comparison-role-label {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: #102018;
            font-size: 0.78rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .comparison-role-label::before {
            content: "";
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: currentColor;
            opacity: 0.7;
        }

        .comparison-video-card {
            --task-color: var(--line);
            background: #ffffff;
            border: 1px solid #dbeee2;
            border-top: 4px solid var(--task-color);
            border-radius: 10px;
            padding: 6px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .comparison-video-card video {
            display: block;
            width: 100%;
            aspect-ratio: 0.86 / 1;
            object-fit: contain;
            object-position: center;
            border-radius: 6px;
            background: #080d15;
        }

        .comparison-video-card video:fullscreen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .comparison-video-card video:-webkit-full-screen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .comparison-video-card h4 {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 8px 0 2px;
            color: #000000;
            font-size: 0.84rem;
            line-height: 1.25;
            font-weight: 750;
        }

        .comparison-video-card h4::before {
            content: "";
            width: 8px;
            height: 8px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--task-color);
        }

        .comparison-video-card p {
            margin: 0;
            color: var(--muted);
            font-size: 0.75rem;
            line-height: 1.35;
        }

        .comparison-runtime {
            margin-top: 7px;
            display: inline-flex;
            align-items: center;
            min-height: 24px;
            padding: 4px 8px;
            border-radius: 999px;
            background: #f0fdf4;
            border: 1px solid #ccead5;
            color: #166534;
            font-size: 0.74rem;
            font-weight: 800;
            line-height: 1;
        }

        .page-main:has(.human-layout-block) .container {
            width: min(1520px, calc(100% - 36px));
        }

        .human-video-note-strip {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin: 0 0 24px;
        }

        .human-layout-block {
            --task-color: var(--line);
            margin: 22px 0 30px;
            padding: 20px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfefc 100%);
            border: 1px solid var(--line);
            border-top: 6px solid var(--task-color);
            border-radius: 16px;
            box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
        }

        .human-layout-block:last-child {
            margin-bottom: 0;
        }

        .human-role-band {
            margin-top: 16px;
        }

        .human-role-band:first-of-type {
            margin-top: 0;
        }

        .human-role-band-label {
            display: inline-flex;
            align-items: center;
            min-height: 30px;
            padding: 5px 12px;
            margin-bottom: 10px;
            border-radius: 999px;
            background: #edfdf4;
            border: 1px solid #cfe6d8;
            color: #14532d;
            font-size: 0.82rem;
            font-weight: 800;
            letter-spacing: 0.01em;
        }

        .human-method-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 12px;
        }

        .human-video-card {
            --task-color: var(--line);
            background: #ffffff;
            border: 1px solid #dbeee2;
            border-top: 4px solid var(--task-color);
            border-radius: 10px;
            padding: 6px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            min-width: 0;
        }

        .human-video-card video {
            display: block;
            width: 100%;
            aspect-ratio: 1.52 / 1;
            object-fit: contain;
            object-position: center;
            border-radius: 6px;
            background: #080d15;
        }

        .human-video-card video:fullscreen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .human-video-card video:-webkit-full-screen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .human-video-card h4 {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 8px 0 2px;
            color: #000000;
            font-size: 0.84rem;
            line-height: 1.25;
            font-weight: 750;
        }

        .human-video-card h4::before {
            content: "";
            width: 8px;
            height: 8px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--task-color);
        }

        .human-video-card p {
            margin: 0;
            color: var(--muted);
            font-size: 0.75rem;
            line-height: 1.35;
        }

        .method-pbt { --task-color: #2563eb; }
        .method-fcp { --task-color: #7c3aed; }
        .method-mep { --task-color: #ea580c; }
        .method-tree { --task-color: #65a30d; }
        .method-pi { --task-color: #0d9488; }
        .method-wop { --task-color: #94a3b8; }

        .featured-showcase {
            margin: 26px 0 0;
            padding: 18px 18px 14px;
            background: linear-gradient(180deg, #ffffff 0%, #fbfefc 100%);
            border: 1px solid var(--line);
            border-radius: 14px;
            box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
        }

        .featured-showcase-secondary {
            margin-top: 18px;
            background: linear-gradient(180deg, #fcfffd 0%, #f5fbf7 100%);
        }

        .featured-showcase-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            padding-bottom: 10px;
            margin-bottom: 14px;
            border-bottom: 1px solid var(--line);
        }

        .featured-showcase-header h3 {
            margin: 0 0 4px;
            font-size: 1.12rem;
        }

        .featured-showcase-header p {
            margin: 0;
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.45;
        }

        .rollout-group-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            padding-bottom: 9px;
            margin-bottom: 14px;
            border-bottom: 1px solid var(--line);
        }

        .rollout-group-header h3 {
            margin: 0 0 4px;
            font-size: 1.12rem;
        }

        .rollout-group-header p {
            margin: 0;
            color: var(--muted);
            font-size: 0.9rem;
            line-height: 1.45;
        }

        .rollout-group-header .rollout-view-note {
            margin-top: 4px;
            color: #047857;
            font-size: 0.84rem;
            font-weight: 650;
        }

        .rollout-count {
            flex: 0 0 auto;
            color: var(--muted);
            font-size: 0.82rem;
            white-space: nowrap;
        }

        .rollout-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
            gap: 12px;
        }

        .rollout-task-stack {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            align-items: start;
        }

        .rollout-task-block {
            --task-color: var(--line);
            padding: 12px;
            background: #ffffff;
            border: 2px solid var(--task-color);
            border-left-width: 6px;
            border-radius: 10px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
        }

        .rollout-task-heading {
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0 0 10px;
            color: var(--task-color);
            font-size: 0.98rem;
            font-weight: 800;
            line-height: 1.2;
        }

        .rollout-task-heading::before {
            content: "";
            width: 10px;
            height: 10px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--task-color);
        }

        .rollout-task-block .rollout-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            justify-content: start;
        }

        .rollout-card {
            --task-color: var(--line);
            background: #ffffff;
            border: 1px solid var(--line);
            border-top: 4px solid var(--task-color);
            border-radius: 8px;
            padding: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.045);
        }

        .rollout-card:hover {
            border-color: var(--task-color);
        }

        .rollout-card video {
            display: block;
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: contain;
            object-position: center;
            border-radius: 6px;
            background: #080d15;
        }

        .rollout-card video:fullscreen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .rollout-card video:-webkit-full-screen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .rollout-card h4 {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 8px 0 2px;
            color: #000000;
            font-size: 0.88rem;
            line-height: 1.25;
            font-weight: 750;
        }

        .rollout-card h4::before {
            content: "";
            width: 8px;
            height: 8px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--task-color);
        }

        .rollout-card p {
            margin: 0;
            color: var(--muted);
            font-size: 0.78rem;
            line-height: 1.35;
        }

        .featured-video-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 14px;
            margin: 20px 0 10px;
        }

        .featured-video-grid-five {
            grid-template-columns: repeat(5, minmax(0, 1fr));
            margin-top: 0;
        }

        .featured-video-grid-secondary {
            gap: 12px;
        }

        .featured-video-card {
            --task-color: var(--line);
            background: #ffffff;
            border: 1px solid var(--line);
            border-top: 4px solid var(--task-color);
            border-radius: 8px;
            padding: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.055);
        }

        .featured-video-card-secondary {
            background: #fbfefc;
        }

        .featured-video-card video {
            display: block;
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: contain;
            object-position: center;
            border-radius: 6px;
            background: #080d15;
        }

        .featured-video-card video:fullscreen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .featured-video-card video:-webkit-full-screen {
            width: 100vw;
            height: 100vh;
            max-width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            object-position: center;
            border-radius: 0;
            background: #000000;
        }

        .featured-video-card h3 {
            display: flex;
            align-items: center;
            gap: 6px;
            margin: 8px 0 2px;
            color: #000000;
            font-size: 0.88rem;
            line-height: 1.25;
            font-weight: 750;
        }

        .featured-video-card h3::before {
            content: "";
            width: 8px;
            height: 8px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--task-color);
        }

        .featured-video-card p {
            margin: 0;
            color: var(--muted);
            font-size: 0.78rem;
            line-height: 1.35;
        }

        .task-spread { --task-color: #0f766e; }
        .task-tag { --task-color: #16a34a; }
        .task-world { --task-color: #65a30d; }
        .task-3m { --task-color: #059669; }
        .task-8m { --task-color: #84cc16; }
        .task-2s3z { --task-color: #0d9488; }
        .task-5m6m { --task-color: #4d7c0f; }
        .task-2ant { --task-color: #047857; }
        .task-4ant { --task-color: #22c55e; }

        footer {
            text-align: center;
            padding: 40px 20px;
            color: var(--muted);
            margin-top: 50px;
            background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
            border-top: 1px solid #dbeee2;
        }

        @media (max-width: 900px) {
            h1 { font-size: 2.15rem; }
            .subtitle { font-size: 1.55rem; }
            .grid,
            .grid.two,
            .resource-list {
                grid-template-columns: 1fr;
            }
            .page-main:has(.human-layout-block) .container {
                width: min(100% - 30px, 1380px);
            }
            .page-main:has(.comparison-layout-block) .container {
                width: min(100% - 30px, 1180px);
            }
            .comparison-method-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .human-method-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .rollout-task-stack {
                grid-template-columns: 1fr;
            }
            .featured-video-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .featured-video-grid-five {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 768px) {
            body { padding-top: 76px; }
            .container { width: min(100% - 30px, 975px); }
            h1 { font-size: 1.78rem; }
            h2 { font-size: 1.65rem; }
            .subtitle { font-size: 1.32rem; }
            .authors { font-size: 18px; }
            .affiliation { font-size: 18px; }
            .section,
            .section-white,
            .section-alternate {
                padding: 24px 15px;
                scroll-margin-top: 86px;
            }
            .links { gap: 8px; }
            .btn {
                padding: 8px 14px;
                font-size: 0.86rem;
            }
            .navbar {
                height: auto;
                min-height: 76px;
                padding: 0 8px;
                justify-content: center;
            }
            .navbar nav {
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
                overflow-x: visible;
            }
            .navbar nav a {
                padding: 8px 10px;
                font-size: 12.5px;
                border-bottom-width: 2px;
            }
            .tldr,
            .research-question {
                padding: 18px;
            }
            .page-main:has(.human-layout-block) .container {
                width: min(100% - 24px, 975px);
            }
            .comparison-disclaimer {
                margin-bottom: 18px;
                padding: 10px 12px;
            }
            .page-main:has(.comparison-layout-block) .container {
                width: min(100% - 24px, 975px);
            }
            .human-layout-block {
                padding: 14px;
            }
            .human-method-grid {
                grid-template-columns: 1fr;
            }
            .comparison-layout-block {
                padding: 14px;
            }
            .comparison-layout-header {
                display: block;
            }
            .comparison-method-grid {
                grid-template-columns: 1fr;
            }
            .rollout-group-header {
                display: block;
            }
            .featured-showcase {
                padding: 14px 14px 12px;
            }
            .featured-showcase-header {
                display: block;
            }
            .rollout-count {
                display: block;
                margin-top: 6px;
            }
            .rollout-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 10px;
            }
            .rollout-task-block {
                padding: 10px;
            }
            .rollout-task-block .rollout-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .featured-video-grid {
                grid-template-columns: 1fr;
            }
            .featured-video-grid-five {
                grid-template-columns: 1fr;
            }
        }

        /* Multi-page layout */
        body {
            padding-top: 0;
            min-height: 100vh;
        }

        .page-main {
            min-height: 100vh;
            margin-left: 256px;
        }

        .navbar {
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            right: auto;
            width: 256px;
            height: auto;
            min-height: 100vh;
            padding: 18px 18px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: stretch;
            background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 46%, #ecfdf5 100%);
            border-right: 1px solid rgba(21, 128, 61, 0.22);
            border-bottom: 0;
            box-shadow: 8px 0 28px rgba(17, 24, 39, 0.1);
        }

        .navbar .nav-brand {
            display: block;
            margin-bottom: 14px;
            padding: 14px 14px;
            color: #ffffff;
            text-decoration: none;
            font-size: 1.28rem;
            font-weight: 800;
            line-height: 1.2;
            letter-spacing: 0;
            border: 0;
            border-radius: 10px;
            background: linear-gradient(135deg, #14532d, #0f766e 58%, #84cc16);
            box-shadow: 0 10px 24px rgba(21, 128, 61, 0.24);
        }

        .navbar .nav-brand:hover {
            color: #ffffff;
            border: 0;
            background: linear-gradient(135deg, #14532d, #0f766e 58%, #84cc16);
            transform: none;
        }

        .navbar nav {
            width: 100%;
            max-width: none;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 7px;
            overflow-y: auto;
        }

        .navbar nav a {
            position: relative;
            display: flex;
            align-items: center;
            min-height: 40px;
            padding: 9px 38px 9px 14px;
            color: #214332;
            background: rgba(255, 255, 255, 0.82);
            border: 1px solid rgba(21, 128, 61, 0.13);
            border-left: 5px solid transparent;
            border-bottom: 0;
            border-radius: 10px;
            font-size: 15px;
            font-weight: 700;
            line-height: 1.25;
            box-shadow: 0 3px 10px rgba(17, 24, 39, 0.055);
            transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
        }

        .navbar nav a::after {
            content: ">";
            position: absolute;
            right: 14px;
            color: currentColor;
            font-weight: 800;
            opacity: 0.42;
            transition: opacity 0.18s ease, transform 0.18s ease;
        }

        .navbar nav a:hover {
            color: #365314;
            background: #ffffff;
            border-left-color: var(--orange);
            border-bottom-color: transparent;
            box-shadow: 0 8px 18px rgba(132, 204, 22, 0.18);
            transform: translateX(4px);
        }

        .navbar nav a:hover::after {
            opacity: 0.9;
            transform: translateX(3px);
        }

        .navbar nav a.active {
            color: #14532d;
            background: #ffffff;
            border-color: rgba(21, 128, 61, 0.28);
            border-left-color: var(--red);
            border-bottom-color: transparent;
            box-shadow: 0 10px 22px rgba(21, 128, 61, 0.18);
        }

        .navbar nav a.active::after {
            opacity: 1;
        }

        @media (max-width: 768px) {
            body {
                padding-top: 0;
            }

            .page-main {
                margin-left: 0;
            }

            .navbar {
                position: sticky;
                top: 0;
                bottom: auto;
                right: 0;
                width: 100%;
                min-height: 0;
                height: auto;
                padding: 8px 12px;
                background: rgba(255, 255, 255, 0.96);
                border-right: 0;
                border-bottom: 1px solid rgba(21, 128, 61, 0.12);
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            }

            .navbar .nav-brand {
                margin-bottom: 6px;
                padding: 8px 10px;
                text-align: center;
                font-size: 0.95rem;
                border-radius: 8px;
            }

            .navbar nav {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 4px;
                overflow-x: visible;
            }

            .navbar nav a {
                padding: 7px 9px;
                min-height: 0;
                border-left: 0;
                border-bottom: 2px solid transparent;
                border-radius: 8px;
                font-size: 12.5px;
                box-shadow: none;
                transform: none;
            }

            .navbar nav a::after {
                display: none;
            }

            .navbar nav a:hover {
                border-left-color: transparent;
                border-bottom-color: var(--orange);
                transform: none;
            }

            .navbar nav a.active {
                border-left-color: transparent;
                border-bottom-color: var(--red);
            }
        }

/* Co-pi-tree page additions. These keep the local CoFlow template intact while
   adapting the media, placeholder, and paper-specific elements. */
code {
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(21, 128, 61, 0.08);
    color: #047857;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.92em;
}

header {
    padding: 30px 20px 22px;
}

h1 {
    max-width: 980px;
    font-size: clamp(2rem, 2.45vw, 2.42rem);
}

.authors {
    margin-top: 1rem;
    font-size: 19px;
}

.author-note {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.media-container.figure-wide img,
.media-container img {
    width: 100%;
}

.media-container img,
.media-container img:hover {
    border-radius: 0;
    box-shadow: none;
    transform: none;
}

.media-container.tight {
    margin: 20px 0 26px;
}

.media-container.narrow-media {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.metric-card {
    text-align: center;
}

.metric-card strong {
    display: block;
    margin-bottom: 8px;
    color: #14532d;
    font-size: clamp(1.55rem, 2.2vw, 2rem);
    line-height: 1.1;
}

.data-table-card {
    margin: 24px 0 30px;
}

.data-table-title {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 750;
    color: #000000;
}

.data-table-caption {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.data-table-wrap {
    overflow-x: auto;
    border: 1px solid #dbeee2;
    border-radius: 8px;
    background: #ffffff;
}

.data-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    font-size: 0.82rem;
    line-height: 1.35;
}

.data-table.compact {
    min-width: 640px;
}

.data-table th,
.data-table td {
    padding: 8px 9px;
    border-bottom: 1px solid #e4f5ea;
    text-align: center;
    white-space: nowrap;
}

.data-table th:first-child,
.data-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #ffffff;
    text-align: left;
    font-weight: 750;
}

.data-table thead th {
    color: #111827;
    background: #f0fdf4;
    font-weight: 800;
}

.data-table thead th:first-child {
    background: #f0fdf4;
}

.data-table tbody tr:nth-child(even) td {
    background: #fbfefc;
}

.data-table tbody tr:nth-child(even) td:first-child {
    background: #fbfefc;
}

.data-table td.best {
    color: #14532d;
    font-weight: 850;
}

.data-table td.second {
    color: #047857;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.video-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.28), rgba(132, 204, 22, 0.2)),
        #06140e;
    color: #f8fafc;
    text-align: center;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.78rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.video-error {
    border-style: solid;
    border-color: rgba(239, 68, 68, 0.32);
    background:
        linear-gradient(135deg, rgba(127, 29, 29, 0.4), rgba(239, 68, 68, 0.18)),
        #140909;
    color: #fee2e2;
}

.rollout-grid.single {
    grid-template-columns: minmax(180px, 320px);
}

.rollout-task-block .rollout-grid:has(.rollout-card:only-child) {
    grid-template-columns: minmax(180px, 1fr);
}

.task-cramped { --task-color: #0f766e; }
.task-ring { --task-color: #16a34a; }
.task-counter { --task-color: #84cc16; }
.task-asymm { --task-color: #4d7c0f; }
.task-forced { --task-color: #059669; }
.task-human { --task-color: #22c55e; }

@media (max-width: 900px) {
    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.62rem;
    }

    .authors {
        font-size: 16px;
    }

    .rollout-grid.single {
        grid-template-columns: 1fr;
    }
}
