/* ==========================================================================
           基础重置与变量 (继承首页视觉家族)
           ========================================================================== */
        :root {
            --color-brand: #f64067;
            --color-brand-light: #ff6b8b;
            --color-brand-dark: #d42249;
            --color-bg-dark: #0f0a14;
            --color-bg-surface: #ffffff;
            --color-bg-alt: #f8f9fa;
            --color-text-main: #1f2329;
            --color-text-muted: #646a73;
            --color-text-inverse: #ffffff;
            
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 21px;
            
            --shadow-sm: 0 4px 20px rgba(0,0,0,0.03);
            --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
            --shadow-glow: 0 4px 15px rgba(246, 64, 103, 0.4);
            
            --transition: all 0.35s ease;
            --layout-max: 1280px;
        }

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            min-width: 0; /* Flexbox safety */
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            color: var(--color-text-main);
            background-color: var(--color-bg-alt);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        img, svg {
            display: block;
            max-width: 100%;
            height: auto;
        }

        /* ==========================================================================
           排版系统 (Typography)
           ========================================================================== */
        .topic-gigantic {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            color: var(--color-text-inverse);
            line-height: 1.1;
            font-weight: 800;
            letter-spacing: -0.02em;
            white-space: normal;
            margin-bottom: 1.5rem;
        }

        .topic-large {
            font-size: clamp(2rem, 4vw, 2.75rem);
            color: var(--color-text-main);
            line-height: 1.25;
            font-weight: 700;
            letter-spacing: -0.01em;
            white-space: normal;
            margin-bottom: 1.25rem;
        }

        .topic-medium {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--color-text-main);
            margin-bottom: 0.75rem;
            white-space: normal;
        }

        .prose-lead {
            font-size: clamp(1.125rem, 2vw, 1.375rem);
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.6;
            margin-bottom: 2.5rem;
            max-width: 800px;
        }

        .prose {
            font-size: 1.0625rem;
            color: var(--color-text-muted);
            line-height: 1.7;
            word-break: keep-all;
        }

        /* ==========================================================================
           强制导航栏样式 (复用首页基因)
           ========================================================================== */
        .heel {
            background-color: var(--color-bg-surface);
            border-bottom: 1px solid rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .ribbon {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: var(--layout-max);
            margin: 0 auto;
            padding: 1rem 2rem;
        }

        .glyph {
            height: 32px;
            display: flex;
            align-items: center;
        }
        
        .glyph img {
            height: 100%;
            width: auto;
        }

        .rule-bullets {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

        .xref-bullet {
            font-size: 1rem;
            font-weight: 500;
            color: var(--color-text-main);
            position: relative;
        }

        .xref-bullet:hover {
            color: var(--color-brand);
        }

        .xref-bullet.active {
            color: var(--color-brand);
        }

        .xref-bullet.active::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--color-brand);
            border-radius: 2px;
        }

        @media (max-width: 768px) {
            .rule-bullets {
                display: none; /* Mobile menu behavior simplified for layout focus */
            }
        }

        /* ==========================================================================
           组件语法 (Components)
           ========================================================================== */
        .stamp-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2.5rem;
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--color-text-inverse);
            background: var(--color-brand);
            border-radius: 50px;
            box-shadow: var(--shadow-glow);
            border: 1px solid rgba(255,255,255,0.1);
            cursor: pointer;
        }

        .stamp-primary:hover {
            background: var(--color-brand-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(246, 64, 103, 0.5);
        }

        .sheet {
            background: var(--color-bg-surface);
            border-radius: var(--radius-md);
            padding: 2.5rem 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(0,0,0,0.04);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
        }

        .sheet:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .ink-box {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: linear-gradient(135deg, rgba(246, 64, 103, 0.1), rgba(246, 64, 103, 0.02));
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: var(--color-brand);
        }

        .ink-box svg {
            width: 28px;
            height: 28px;
            stroke-width: 1.5;
        }

        /* ==========================================================================
           页面结构路线 (Layout & Sections)
           ========================================================================== */
        .batch-core {
            display: block; /* Section wrapper */
        }

        /* 1. Hero / Intro */
        .canvas {
            width: 100%;
            min-height: 85vh;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            background-color: var(--color-bg-dark);
            background-image: radial-gradient(circle at 50% 0%, rgba(246, 64, 103, 0.15) 0%, transparent 60%);
            padding: clamp(3rem, 8vw, 6rem) 2rem;
            position: relative;
            overflow: hidden;
        }

        .canvas-batch {
            max-width: var(--layout-max);
            margin: 0 auto;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            text-align: center;
            z-index: 2;
        }

        .sheet-mock {
            margin-top: 4rem;
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--radius-lg);
            padding: 1.5rem 2rem;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            width: 100%;
            max-width: 600px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.4);
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .sheet-input {
            flex: 1 1 200px;
            font-size: 1.125rem;
            color: rgba(255,255,255,0.6);
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        /* 2. Capability (Writing) */
        .ream {
            padding: clamp(4rem, 8vw, 7rem) 2rem;
            background: var(--color-bg-alt);
        }

        .ream-batch {
            max-width: var(--layout-max);
            margin: 0 auto;
        }

        .rule-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3.5rem;
        }

        /* 3. Detail (Reading) */
        .binder {
            padding: clamp(4rem, 8vw, 7rem) 2rem;
            background: var(--color-bg-surface);
            border-top: 1px solid rgba(0,0,0,0.03);
            border-bottom: 1px solid rgba(0,0,0,0.03);
        }

        .rule-split {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            max-width: var(--layout-max);
            margin: 0 auto;
            gap: 4rem;
        }

        .batch-prose {
            flex: 1 1 400px;
        }

        .batch-media {
            flex: 1 1 500px;
            position: relative;
        }

        .case-folder {
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(0,0,0,0.05);
            width: 100%;
        }

        /* 4. Proof (Data) */
        .folder {
            padding: clamp(4rem, 8vw, 7rem) 2rem;
            background: var(--color-bg-alt);
            overflow: hidden;
        }
        
        .folder-batch {
            max-width: var(--layout-max);
            margin: 0 auto;
            text-align: center;
        }

        .rule-dialog {
            margin-top: 4rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
            text-align: left;
        }

        .prose-bubble {
            padding: 1.25rem 1.5rem;
            border-radius: var(--radius-md);
            max-width: 80%;
            font-size: 1.0625rem;
            line-height: 1.6;
            box-shadow: 0 2px 10px rgba(0,0,0,0.02);
        }

        .prose-bubble.user {
            background: var(--color-brand);
            color: var(--color-text-inverse);
            align-self: flex-end;
            border-bottom-right-radius: 4px;
        }

        .prose-bubble.ai {
            background: var(--color-bg-surface);
            color: var(--color-text-main);
            align-self: flex-start;
            border-bottom-left-radius: 4px;
            border: 1px solid rgba(0,0,0,0.04);
        }

        .chart-mock {
            margin-top: 1rem;
            height: 120px;
            border-radius: 8px;
            background: #f8f9fa;
            display: flex;
            align-items: flex-end;
            gap: 8px;
            padding: 12px;
            border: 1px dashed rgba(0,0,0,0.1);
        }

        .chart-brow {
            flex: 1;
            background: rgba(246, 64, 103, 0.6);
            border-radius: 4px 4px 0 0;
            animation: grow 1.5s ease-out forwards;
            transform-origin: bottom;
        }
        
        @keyframes grow {
            from { transform: scaleY(0); }
            to { transform: scaleY(1); }
        }

        /* ==========================================================================
           页脚 (Footer)
           ========================================================================== */
        .verb {
            background: var(--color-bg-surface);
            padding: 3rem 2rem;
            text-align: center;
            border-top: 1px solid rgba(0,0,0,0.05);
        }

        .verb-brand {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-text-main);
            letter-spacing: -0.02em;
            margin-bottom: 1rem;
        }

        .verb-prose {
            color: var(--color-text-muted);
            font-size: 0.875rem;
        }

.ribbon-heel{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(15, 10, 20, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            transition: all 0.35s ease;
        }

.ribbon-heel .ribbon-ribbon{
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem clamp(1.5rem, 5vw, 4rem);
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

.ribbon-heel .ribbon-ribbon > *{
            min-width: 0;
        }

.ribbon-heel .ribbon-glyph img{
            height: 32px;
            width: auto;
            display: block;
            filter: drop-shadow(0 2px 4px rgba(246, 64, 103, 0.3));
        }

.ribbon-heel .ribbon-rule-bullets{
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

.ribbon-heel .ribbon-rule-bullets > *{ min-width: 0; }

.ribbon-heel .ribbon-xref-bullet{
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.ribbon-heel .ribbon-xref-bullet:hover, .ribbon-heel .ribbon-xref-bullet.active{
            color: #ffffff;
        }

.ribbon-heel .ribbon-xref-bullet.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #f64067;
            border-radius: 2px;
        }

@media (max-width: 768px){.ribbon-heel .ribbon-ribbon{
                flex-direction: column;
                gap: 1rem;
            }

.ribbon-heel .ribbon-rule-bullets{
                justify-content: center;
                gap: 1rem;
            }}

.ribbon-heel {
    background: rgb(15, 10, 20);
    background-image: none;
}

.note-verb {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main);
}
.note-verb,
.note-verb *,
.note-verb *::before,
.note-verb *::after {
    box-sizing: border-box;
}

.note-verb nav,
.note-verb div,
.note-verb section,
.note-verb article,
.note-verb aside,
.note-verb p,
.note-verb h1,
.note-verb h2,
.note-verb h3,
.note-verb h4,
.note-verb h5,
.note-verb h6,
.note-verb a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.note-verb p,
.note-verb h1,
.note-verb h2,
.note-verb h3,
.note-verb h4,
.note-verb h5,
.note-verb h6 {
    text-decoration: none;
}

.note-verb img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.note-verb {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.note-verb a,
.note-verb a:hover,
.note-verb a:focus,
.note-verb a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.note-verb{
            background: #0f0a14;
            color: rgba(255,255,255,0.6);
            padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
            display: flex;
            flex-direction: column;
            gap: 3rem;
            flex-wrap: wrap;
        }

.note-verb > *{ min-width: 0; }

.note-verb .note-folder-foot{
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

.note-verb .note-folder-foot > *{ min-width: 0; }

.note-verb .note-topic-brand{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: 1px;
        }

.note-verb .note-prose-legal{
            font-size: 0.875rem;
        }