/* AI generated: Customer frontend pages — shares the homepage palette and fonts on clean,
   responsive layouts for account/service/flow pages (not the artwork-matched homepage). */

:root {
    /* AI generated: Complete CJK heading fonts avoid mixing homepage subset glyphs. */
    --font-heading: 'Noto Serif SC', 'Songti SC', SimSun, serif;
    --paper: #f8eee2;
    --ink: #24211b;
    --ink-soft: #555047;
    --dark: #211505;
    --cream: #faf1e6;
    --cream-deep: #f3e6d3;
    --border: #d8b988;
    --border-soft: #e7d3b9;
    --accent: #aa215b;
    --accent-deep: #8c1a4a;
    --ok: #2f7d4f;
    --warn: #b0721d;
}

body {
    background: var(--paper) url('../assets/paper.webp') repeat;
    color: var(--ink);
    /* AI generated: Homepage font subsets omit account text; use complete system CJK fonts. */
    font-family: 'Noto Sans SC', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* AI generated: Full-width shell — inner pages reuse the homepage .topbar / footer markup
   (styled by style.css + responsive.css), with only the content area constrained. */
.site-page { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }
/* AI generated: Match the homepage content width and symmetric gutters. */
.site-container { width: 100%; max-width: 1480px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { border-bottom: 1px solid var(--border-soft); background: rgba(255, 250, 243, .6); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.site-brand {
    width: 150px; height: 96px; display: inline-block;
    /* AI generated: Reuse the homepage transparent high-resolution logo. */
    background: url('../assets/temple-logo-hd.png') center/contain no-repeat;
}
.site-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 16px; }
.site-nav a, .site-nav .linklike { color: var(--ink); }
.site-nav a:hover, .site-nav .linklike:hover { color: var(--accent); }
.site-nav .nav-cta {
    border: 1px solid var(--accent); color: var(--accent);
    padding: 6px 16px; border-radius: 6px;
}
.site-nav .nav-cta:hover { background: var(--accent); color: #fff; }

.inline-form { display: inline; }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: inherit; }

/* Layout blocks */
/* AI generated: Faint single-colour lotus watermark on inner pages (5% opacity, tile 460px). */
.site-main {
    flex: 1 0 auto; padding-top: 8px; padding-bottom: 40px;
}
.page-head { margin: 18px 0 20px; }
.page-head h1 { font-family: var(--font-heading); font-size: 30px; letter-spacing: 2px; margin: 0 0 6px; color: var(--dark); }
.page-sub { margin: 0; color: var(--ink-soft); }
.breadcrumb { margin: 0 0 8px; font-size: 14px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

.panel {
    /* AI generated: Solid warm paper keeps content readable across inner pages. */
    background: #fffaf3;
    border: 1px solid rgba(216, 185, 136, .55);
    border-radius: 10px;
    padding: 22px 24px;
    box-shadow: 0 3px 12px #4025080c;
}
.panel-title { font-family: var(--font-heading); font-size: 19px; letter-spacing: 1.5px; margin: 0 0 10px; color: var(--dark); }
.panel-sub { margin: -4px 0 14px; color: var(--ink-soft); font-size: 14px; }
.group-title { font-family: var(--font-heading); font-size: 15px; letter-spacing: 1px; color: var(--ink-soft); margin: 0 0 10px; }
.panel-wide { margin-top: 16px; }
.empty-note { color: var(--ink-soft); font-size: 14px; }

.dash-actions { display: flex; gap: 12px; margin: 0 0 18px; flex-wrap: wrap; }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

/* Forms */
.form-stack { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field-check { flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; }
.field-row .field { flex: 1 1 180px; }
.field-row .field-qty { flex: 0 0 90px; }
.field-row .field-grow { flex: 2 1 220px; }
.field-grow { flex: 2 1 220px; }
.field label { font-size: 14px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    font: inherit; color: var(--ink);
    border: 1px solid var(--border); border-radius: 6px;
    background: #fffaf3; padding: 8px 10px; min-height: 40px; width: 100%; box-sizing: border-box;
}
.field-check input[type="checkbox"] { width: 18px; height: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-hint { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.field-error { margin: 0; font-size: 13px; color: var(--accent-deep); font-weight: 700; }
.req { color: var(--accent); }
.field-group { border: 1px dashed var(--border-soft); border-radius: 8px; padding: 14px; margin: 0; }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-actions.center { justify-content: center; }
.form-hint { font-size: 12.5px; color: var(--ink-soft); margin: 8px 0 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    font: inherit; font-size: 15px; cursor: pointer;
    border-radius: 6px; padding: 10px 22px; min-height: 42px;
    border: 1px solid transparent; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent-deep); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-outline { background: #fffaf3; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: none; color: var(--ink-soft); border-color: var(--border); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-danger { background: none; color: var(--accent-deep); border-color: var(--accent-deep); }
.btn-danger:hover { background: var(--accent-deep); color: #fff; }
.btn-small { padding: 6px 14px; min-height: 34px; font-size: 13.5px; }
.btn-large { padding: 12px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* Alerts */
.alert { border-radius: 8px; padding: 12px 16px; margin: 14px 0; font-size: 14.5px; }
.alert-success { background: #e8f4ec; border: 1px solid #bcdcc7; color: #24583a; }

/* Auth */
.auth-wrap { display: flex; justify-content: center; padding: 26px 0; }
.auth-panel { width: min(460px, 100%); }
.auth-links { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 14px; }
.auth-links a { color: var(--accent); }
.auth-links a:hover { text-decoration: underline; }

/* Profile & members */
.profile-list { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.profile-list > div { display: flex; gap: 12px; font-size: 14.5px; }
.profile-list dt { flex: 0 0 108px; color: var(--ink-soft); }
.profile-list dd { margin: 0; }
.member-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.member-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.member-name { font-weight: 700; }
.member-meta { color: var(--ink-soft); font-size: 12.5px; }
.badge {
    display: inline-block; font-size: 12px; border-radius: 999px; padding: 2px 10px;
    border: 1px solid var(--border); background: #fffaf3; color: var(--ink-soft);
}
.badge-accent { border-color: var(--accent); color: var(--accent); background: #fdeef4; }
.badge-ok { border-color: var(--ok); color: var(--ok); background: #e8f4ec; }
.badge-warn { border-color: var(--warn); color: var(--warn); background: #fdf3e4; }

.member-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.member-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.member-card-name { margin: 0; font-family: var(--font-heading); font-size: 18px; letter-spacing: 1px; }
.member-card-actions { display: flex; gap: 8px; }

/* Tables */
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border-soft); white-space: nowrap; }
.data-table th { font-family: var(--font-heading); color: var(--ink-soft); font-weight: 700; letter-spacing: 1px; }
.data-table td:last-child, .data-table th:last-child { text-align: right; }
.subtotal-row td { font-weight: 700; border-top: 1px solid var(--border); }
.annual-table td, .annual-table th { white-space: normal; }
.linklike-danger { color: var(--accent-deep); }
.linklike-danger:hover { color: var(--accent); }

/* Catalog */
.catalog-section { margin: 22px 0; }
.section-title {
    font-family: var(--font-heading); font-size: 21px; letter-spacing: 2px; color: var(--dark);
    margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--border-soft);
}
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.service-tile { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.service-tile:hover { border-color: var(--accent); box-shadow: 0 6px 18px #40250822; }
.service-tile-name { margin: 0; font-family: var(--font-heading); font-size: 16.5px; letter-spacing: 1px; color: var(--dark); }
.service-tile-desc { margin: 0; font-size: 13px; color: var(--ink-soft); flex: 1; }
.service-tile-price { margin: 0; font-size: 14px; color: var(--accent); font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.service-intro { font-size: 14.5px; line-height: 1.9; }
.detail-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.option-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.option-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; border-bottom: 1px dashed var(--border-soft); padding-bottom: 6px; }

/* Quick check */
.quick-check-result { background: #fffaf3; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; }
.qc-message { margin: 0 0 8px; font-size: 14.5px; }
.qc-items { margin: 0; padding-left: 18px; }
.qc-items li { color: var(--accent-deep); font-weight: 700; }

/* Flow wizard */
.progress-steps {
    list-style: none; display: flex; gap: 6px; margin: 8px 0 4px; padding: 0; flex-wrap: wrap;
}
.progress-steps li {
    flex: 1 1 130px; display: flex; align-items: center; gap: 8px;
    background: var(--cream-deep); border: 1px solid var(--border-soft); border-radius: 6px;
    padding: 8px 12px; font-size: 14px; color: var(--ink-soft);
}
.progress-steps li.current { background: var(--accent); border-color: var(--accent-deep); color: #fff; }
.progress-steps li.done { background: #fffaf3; border-color: var(--accent); color: var(--accent); }
.step-index {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; font-size: 12.5px;
    background: #fffaf3; color: var(--ink-soft); border: 1px solid currentColor; flex: 0 0 auto;
}
.progress-steps li.current .step-index { background: #fff; color: var(--accent); }
.step-counter { font-size: 12.5px; color: var(--ink-soft); margin: 6px 0 14px; }
.flow-cancel { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }
.flow-cancel:hover { color: var(--accent); }
.inline-add { border-top: 1px dashed var(--border-soft); padding-top: 14px; margin-top: 4px; }
.member-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.member-check {
    display: flex; align-items: flex-start; gap: 10px;
    border: 1px solid var(--border-soft); border-radius: 8px; background: #fffaf3;
    padding: 10px 12px; cursor: pointer;
}
.member-check:has(input:checked) { border-color: var(--accent); background: #fdeef4; }
.member-check input { margin-top: 3px; }
.member-check span { display: flex; flex-direction: column; gap: 2px; }
.grand-total { font-size: 17px; text-align: right; margin: 16px 0; }
.confirm-bar { margin-top: 18px; display: flex; justify-content: flex-end; }
.order-no-box { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; }
.order-no-box strong { font-size: 20px; font-family: var(--font-heading); color: var(--accent); letter-spacing: 1px; }
.done-panel { width: min(720px, 100%); }

/* Responsive */
@media (max-width: 860px) {
    .dash-grid, .detail-grid, .member-grid, .form-grid { grid-template-columns: 1fr; }
    .site-nav { gap: 14px; font-size: 14.5px; }
    .convert-grid { flex-direction: column; }
}
@media (max-width: 600px) {
    /* AI generated: Retain readable gutters and wrap account details on mobile. */
    .site-container { padding-left: 16px; padding-right: 16px; }
    .site-brand { width: 104px; height: 88px; }
    .payment-list li { flex-wrap: wrap; gap: 8px 12px; }
    .profile-list dd { min-width: 0; overflow-wrap: anywhere; }
    .panel { padding: 16px; }
    .progress-steps li { flex-basis: 100%; }
    .field-row { flex-direction: column; }
    .field-row .field { width: 100%; }
}

.form-actions.end { justify-content: flex-end; margin-top: 16px; }
.convert-grid { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.convert-box { flex: 1 1 220px; display: flex; flex-direction: column; gap: 10px; }
.convert-results { background: #fffaf3; border: 1px dashed var(--border-soft); border-radius: 8px; padding: 12px; }
.convert-message { min-height: 18px; margin: 0; color: var(--accent-deep); font-size: 13px; }

/* Dashboard sidebar layout (A8) */
/* AI generated: Keep long tables inside their scroll container instead of widening the grid. */
.dash-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 24px; align-items: start; }
.dash-main { min-width: 0; }
.dash-sidebar { background: var(--dark); border-radius: 10px; padding: 20px 16px; position: sticky; top: 14px; }
.dash-sidebar-title { color: #ece7e0; font-family: var(--font-heading); font-size: 16px; letter-spacing: 1px; margin: 0 0 12px; padding: 0 8px; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav a { color: #cfc8bd; padding: 8px 10px; border-radius: 6px; font-size: 14.5px; }
.dash-nav a:hover { background: #37281499; color: #fff; }
.dash-nav a.current { background: var(--accent); color: #fff; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi-card { background: #eef3f8; border: 1px solid #d5e0ea; border-radius: 8px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi-card span { font-size: 13px; color: var(--ink-soft); }
.kpi-card strong { font-size: 24px; font-family: var(--font-heading); }
.payment-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.payment-list li { display: flex; gap: 18px; align-items: center; font-size: 14.5px; border-bottom: 1px dashed var(--border-soft); padding-bottom: 8px; }
.payment-list li span:nth-child(2) { color: var(--ink-soft); }
.payment-list li span:last-child { margin-left: auto; }
.section-subtotal { text-align: right; margin: 10px 4px; font-size: 15px; }
.addon-progress { font-size: 12.5px; color: var(--ink-soft); margin-left: 8px; }
@media (max-width: 860px) { .dash-layout { grid-template-columns: 1fr; } .dash-sidebar { position: static; } .kpi-grid { grid-template-columns: 1fr; } }

/* Light lamp (光明灯) frontend */
.lamp-row { border: 1px solid var(--border-soft); border-radius: 8px; padding: 12px; display: grid; gap: 10px; }
.renew-note { margin: 0 0 6px; font-size: 14px; color: var(--ink-soft); }
.order-summary { background: #fffaf3; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; }
.summary-lines { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.summary-total { text-align: right; margin: 0; }
.lamp-search-link { align-self: flex-start; }
.lamp-search-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.lamp-state.found, .lamp-found { border-color: var(--ok); }
.lamp-not-found { border-color: var(--warn); background: #fdf3e4; }
.locate-grid { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.locate-row { display: flex; align-items: center; gap: 10px; }
.locate-row-label { flex: 0 0 64px; font-size: 12.5px; color: var(--ink-soft); }
.locate-cells { display: flex; gap: 4px; flex-wrap: wrap; }
.locate-cell { display: inline-block; border: 1px solid var(--border); border-radius: 4px; padding: 3px 7px; font-size: 12px; color: var(--ink-soft); background: #fffaf3; }
.locate-cell.occupied { background: var(--cream-deep); }
.locate-cell.selected { background: var(--accent); border-color: var(--accent-deep); color: #fff; font-weight: 700; }
.locate-legend { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

/* Clickable wizard progress steps */
.progress-steps a { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.progress-steps a:hover { color: var(--accent); }
.progress-steps li.current a { color: inherit; }

/* Inner-page main menu (shared with the homepage markup) */
.site-nav-region { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.site-nav-toggle { display: none; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 6px; padding: 8px 14px; min-height: 40px; font-size: 15px; background: #fffaf3; cursor: pointer; }
.site-nav-toggle span { font-size: 18px; }
.site-menu .navigation { position: static; display: flex; align-items: stretch; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-menu .nav-item { position: relative; }
.site-menu .nav-link { display: flex; align-items: center; min-height: 44px; padding: 0 11px; font-family: 'Temple Serif', serif; font-size: 15px; letter-spacing: .5px; border-radius: 6px; }
.site-menu .nav-item.active .nav-link { color: var(--accent); font-weight: 700; }
.site-menu .dropdown { position: absolute; top: 100%; left: 0; z-index: 60; min-width: 250px; padding: 10px 14px; }
.site-menu .services-menu .dropdown { min-width: 300px; }
.site-menu .menu-group + .menu-group { border-top: 1px dashed var(--border-soft); margin-top: 8px; padding-top: 8px; }
.site-menu .menu-group > a { display: block; font-weight: 700; font-size: 14px; padding: 6px 4px; }
.site-menu .menu-child { display: block; font-size: 13.5px; padding: 4px 4px 4px 16px; color: var(--ink-soft); }
.site-menu .menu-group a:hover, .site-menu .menu-child:hover { color: var(--accent); }
.site-auth-nav { display: flex; align-items: center; gap: 16px; font-size: 15px; flex-shrink: 0; margin-left: auto; }
.site-auth-nav .nav-cta { border: 1px solid var(--accent); color: var(--accent); padding: 6px 16px; border-radius: 6px; }
.site-auth-nav .nav-cta:hover { background: var(--accent); color: #fff; }

@media (max-width: 1023px) {
    .site-nav-toggle { display: inline-flex; }
    .site-header-inner { position: relative; }
    /* AI generated: Keep the expanded drawer within the viewport and match the navigation toggle target. */
    .site-menu { position: absolute; top: 100%; left: 0; right: 0; z-index: 55; }
    .site-menu .navigation { display: none; flex-direction: column; align-items: stretch; background: #fcf3e8; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px #4025081f; padding: 12px 20px; }
    .site-menu.is-open .navigation { display: flex; }
    .site-menu .dropdown { position: static; min-width: 0; box-shadow: none; border: 0; border-top: 1px dashed var(--border-soft); border-radius: 0; margin: 4px 0 8px; padding: 6px 8px; }
}

/* Placeholder pages: generous height with a centred muted note. */
.placeholder-page { min-height: min(56vh, 480px); display: flex; align-items: center; justify-content: center; }
.placeholder-note { color: var(--ink-soft); font-size: 15px; letter-spacing: 4px; margin: 0; opacity: .75; }

/* AI generated: Extend the homepage paper palette without a photographic backdrop. */
.site-header { position: relative; z-index: 90; background: #fffaf3 url('../assets/paper.webp') repeat; }

/* AI generated: Quiet lotus artwork stays behind the heading and clear of its text. */
.catalog-head, .illustrated-head { position: relative; isolation: isolate; padding: 24px 0 30px; }
.catalog-head::before, .illustrated-head::before,
.catalog-head::after, .illustrated-head::after {
    content: ''; position: absolute; inset: -8px 0 -8px 45%; z-index: -1;
    background: url('../assets/inner-lotus-leaves.png') right center/contain no-repeat;
    --lotus-opacity: .38;
    opacity: var(--lotus-opacity); pointer-events: none;
    transform-origin: 85% 95%;
    /* AI generated: Fade the exposed stem ends before they reach the content panel. */
    mask-image: linear-gradient(to right, transparent, #000 35%),
        linear-gradient(to bottom, #000 72%, transparent 90%);
    mask-composite: intersect;
}
/* AI generated: Lower, lighter leaves support the flowers while retaining independent sway. */
.catalog-head::before, .illustrated-head::before {
    z-index: -2; --lotus-motion: lotus-leaf-sway; --lotus-period: 6.5s;
    top: 4px; bottom: -20px; --lotus-opacity: .22;
    /* AI generated: Keep leaves smaller in both the static and animated states. */
    --lotus-leaf-scale: .8;
    transform: scale(var(--lotus-leaf-scale));
}
.catalog-head::after, .illustrated-head::after {
    /* AI generated: Flowers remain above the leaf layer throughout both animations. */
    z-index: -1;
    background-image: url('../assets/inner-lotus-flowers.png');
    --lotus-motion: lotus-flower-sway; --lotus-period: 8s;
}
.catalog-section .section-title { border-bottom-color: var(--border-soft); }
.catalog-section .service-tile { min-height: 96px; }
.catalog-section .service-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) {
    .catalog-head::before, .illustrated-head::before,
    .catalog-head::after, .illustrated-head::after { inset-inline-start: 55%; --lotus-opacity: .22; }
    /* AI generated: Keep the lowered leaf layer subtle within compact headings. */
    .catalog-head::before, .illustrated-head::before {
        top: 0; bottom: -16px; --lotus-opacity: .13;
    }
}

/* AI generated: Animate on desktop and touch devices while respecting reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    .lotus-revealed::before, .lotus-revealed::after {
        animation: lotus-arrive 1.6s ease-out both, var(--lotus-motion) var(--lotus-period) ease-in-out 1.6s infinite;
        animation-play-state: paused;
    }
    .lotus-revealed.lotus-visible::before, .lotus-revealed.lotus-visible::after { animation-play-state: running; }
}
@keyframes lotus-arrive {
    from { opacity: 0; }
    to { opacity: var(--lotus-opacity); }
}
/* AI generated: Flowers follow a slower breeze; leaves flex further at different points in their cycle. */
@keyframes lotus-flower-sway {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(2px) rotate(1.8deg); }
    75% { transform: translateX(-2px) rotate(-1.8deg); }
}
@keyframes lotus-leaf-sway {
    0%, 100% { transform: translateX(0) rotate(0deg) scale(var(--lotus-leaf-scale)); }
    35% { transform: translateX(3px) rotate(2.8deg) scale(var(--lotus-leaf-scale)); }
    80% { transform: translateX(-3px) rotate(-2.8deg) scale(var(--lotus-leaf-scale)); }
}

/* Page content maintained via admin website_contents (wysiwyg HTML). */
.placeholder-page { align-items: flex-start; }
.page-prose { max-width: 72ch; line-height: 1.95; font-size: 15px; }
.page-prose p { margin: 0 0 12px; }
.page-prose h2, .page-prose h3 { font-family: 'Temple Serif', serif; color: var(--dark); margin: 18px 0 10px; }
.page-prose ul, .page-prose ol { margin: 0 0 12px; padding-left: 22px; }
.page-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.page-prose a { color: var(--accent); }
