#app[data-page="file"] {
    --page-bg: #FAEBD7;
    --card-bg: #FAEBD7;
    --ink: #1f2a36;
    --muted: #5a6776;
    --brand: #0f5f87;
    --brand-soft: #d8ecf7;
    --border: #d3d8de;
    --code-bg: #1f2732;
    --code-text: #ecf3fb;
    --shadow: 0 16px 36px rgba(24, 38, 54, 0.06);

    max-width: 900px;
    margin: 2.5rem auto;
    padding: 2.25rem clamp(1rem, 2.8vw, 2.5rem);
    border-radius: 22px;
    border: 1px solid #e3e7ec;
    background: var(--page-bg);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    line-height: 1.75;
}

#app[data-page="file"] h1 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    letter-spacing: 0.02em;
    line-height: 1.18;
    color: #0a2f45;
}

#app[data-page="file"] > form {
    margin: 1rem 0 1.8rem;
}

#app[data-page="file"] button {
    border: 1px solid #0f5f87;
    border-radius: 999px;
    padding: 0.45rem 1.05rem;
    background: #fff;
    color: #0a4968;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

#app[data-page="file"] button:hover {
    background: #eff8fd;
    box-shadow: 0 7px 18px rgba(15, 95, 135, 0.22);
    transform: translateY(-1px);
}

#app[data-page="file"] p,
#app[data-page="file"] ul,
#app[data-page="file"] ol,
#app[data-page="file"] pre,
#app[data-page="file"] table,
#app[data-page="file"] blockquote {
    margin-top: 1.05rem;
    margin-bottom: 1.05rem;
}

#app[data-page="file"] h2,
#app[data-page="file"] h3,
#app[data-page="file"] h4,
#app[data-page="file"] h5,
#app[data-page="file"] h6 {
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    line-height: 1.3;
    color: #11374f;
}

#app[data-page="file"] h2 {
    font-size: clamp(1.45rem, 3vw, 2rem);
    border-bottom: 2px solid rgba(15, 95, 135, 0.22);
    padding-bottom: 0.35rem;
}

#app[data-page="file"] h3 {
    font-size: clamp(1.22rem, 2.5vw, 1.6rem);
}

#app[data-page="file"] p {
    color: var(--ink);
}

#app[data-page="file"] a {
    color: var(--brand);
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

#app[data-page="file"] a:hover {
    color: #0b3f5b;
}

#app[data-page="file"] ul,
#app[data-page="file"] ol {
    padding-left: 1.35rem;
}

#app[data-page="file"] li::marker {
    color: #2f6788;
}

#app[data-page="file"] blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 0.9rem 1rem 0.9rem 1.1rem;
    border-left: 4px solid #3a7ea6;
    border-radius: 8px;
    background: rgba(216, 236, 247, 0.55);
    color: var(--muted);
}

#app[data-page="file"] hr {
    border: 0;
    height: 1px;
    margin: 1.8rem 0;
    background: linear-gradient(to right, transparent, #accadf, transparent);
}

#app[data-page="file"] code {
    font-family: "Iosevka", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
    font-size: 0.92em;
}

#app[data-page="file"] :not(pre) > code {
    padding: 0.15rem 0.45rem;
    border: 1px solid rgba(15, 95, 135, 0.2);
    border-radius: 6px;
    background: var(--brand-soft);
    color: #08344d;
}

#app[data-page="file"] pre {
    overflow-x: auto;
    padding: 1rem 1.15rem;
    border-radius: 12px;
    border: 1px solid #202938;
    background: var(--code-bg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#app[data-page="file"] pre code {
    color: var(--code-text);
    font-size: 0.92rem;
}

#app[data-page="file"] table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}

#app[data-page="file"] th,
#app[data-page="file"] td {
    padding: 0.62rem 0.72rem;
    border-bottom: 1px solid #e2e7ed;
    text-align: left;
    white-space: nowrap;
}

#app[data-page="file"] th {
    color: #0f3f5c;
    background: #edf5fb;
    font-weight: 700;
}

#app[data-page="file"] tr:nth-child(even) td {
    background: #fafcfe;
}

#app[data-page="file"] img {
    max-width: 100%;
    display: block;
    margin: 1.2rem auto;
    border-radius: 10px;
    border: 1px solid #d4dbe4;
    box-shadow: 0 8px 20px rgba(20, 40, 66, 0.12);
}

@media (max-width: 700px) {
    #app[data-page="file"] {
        margin: 1rem;
        padding: 1.1rem;
        border-radius: 14px;
        line-height: 1.63;
    }

    #app[data-page="file"] h1 {
        font-size: 1.7rem;
    }

    #app[data-page="file"] button {
        width: 100%;
    }
}

#app[data-page="file"] .banner {
	display: flex;
	justify-content: end;
	align-items: center;
}

#app[data-page="file"] .banner h1 {
	color: white;
}
