/* Keep the dark landing hero and header; give every inner page a reading surface. */
main[data-page]:not([data-page="home"]){--ink:#202630;--muted:#535d6b;--line:#dce1e7;--paper:#fff;--red:#984222;--orange:#994321;background:#f7f8fa;color:var(--ink);color-scheme:light}
main[data-page]:not([data-page="home"]) .page-heading p{font-size:17px;line-height:1.8}
main[data-page]:not([data-page="home"]) .eyebrow{color:#805234}
main[data-page]:not([data-page="home"]) .empty{background:#fff;color:#535d6b}
main[data-page]:not([data-page="home"]) .empty strong{color:#303b49}
main[data-page]:not([data-page="home"]) .empty p{color:#535d6b}
main[data-page]:not([data-page="home"]) .info-card{background:#fff}
main[data-page]:not([data-page="home"]) .notice-box{color:#5e4939;background:#fff3e8}
main[data-page]:not([data-page="home"]) .button{background:#974523;color:#fff;border-color:#974523}
main[data-page]:not([data-page="home"]) .button.secondary{background:#fff;color:#804021;border-color:#be967e}
main[data-page]:not([data-page="home"]) .button:hover{background:#fae7da;color:#653017;border-color:#ab6f4f}
main[data-page]:not([data-page="home"]) .public-list{background:#fff;border:1px solid var(--line);border-radius:14px}
main[data-page]:not([data-page="home"]) .public-row:last-child{border-bottom:0}
main[data-page]:not([data-page="home"]) .public-row:hover{background:#faf5f0}
main[data-page]:not([data-page="home"]) .gallery-card{box-shadow:0 4px 16px #24324805}
main[data-page]:not([data-page="home"]) .gallery-card:hover{border-color:#b8815f}
main[data-page]:not([data-page="home"]) .public-detail .detail-images>a{background:#e9edf2;border-color:#d4dce5}
main[data-page]:not([data-page="home"]) .schedule-row:hover{background:#fff}
main[data-page]:not([data-page="home"]) .schedule-date{background:#fff1e6;border-color:#e9c9b2;color:#8b421f}
main[data-page]:not([data-page="home"]) .day-badge{background:#ffebda;color:#86401d}
main[data-page]:not([data-page="home"]) .day-badge.today{background:#93441f;color:#fff}
main[data-page]:not([data-page="home"]) .day-badge.past{background:#e8ebef;color:#515b69}
main[data-page]:not([data-page="home"]) .schedule-row.past .schedule-date{background:#edf0f4;border-color:#d6dce4;color:#515b69}
main[data-page]:not([data-page="home"]) .schedule-row.past h3{color:#374150}
main[data-page]:not([data-page="home"]) .about-tabs{border-color:#d4dbe3}
main[data-page]:not([data-page="home"]) .about-tabs a{color:#586270}
main[data-page]:not([data-page="home"]) .about-tabs a:hover,main[data-page]:not([data-page="home"]) .about-tabs a[aria-current="page"]{color:#8a3f20}
main[data-page]:not([data-page="home"]) .about-tabs a[aria-current="page"]:after{background:#994321}
main[data-page]:not([data-page="home"]) .chair-directory{background:#fff;border-color:#d9dfe6}
main[data-page]:not([data-page="home"]) .chair-directory-heading{border-color:#e0e4e9}
main[data-page]:not([data-page="home"]) .chair-directory-heading h2{color:#26313e}
main[data-page]:not([data-page="home"]) .chair-directory-heading span{color:#5d6774}
main[data-page]:not([data-page="home"]) .chair-switcher button{color:#28323e}
main[data-page]:not([data-page="home"]) .chair-switcher button:hover{border-color:#c9d1da;background:#f8fafc}
main[data-page]:not([data-page="home"]) .chair-switcher button[aria-selected="true"]{background:#fff1e7;border-color:#bc7b56;box-shadow:0 7px 22px #51351d0b}
main[data-page]:not([data-page="home"]) .chair-profile{border-color:#d9dfe6}
main[data-page]:not([data-page="home"]) .chair-portrait{background:#e6e9ee}
main[data-page]:not([data-page="home"]) .chair-load-note,main[data-page]:not([data-page="home"]) .chair-history-note{color:#596371}
main[data-page]:not([data-page="home"]) .org-chair{background:#fff0e4;color:#282b29;border-color:#bf8a68}
main[data-page]:not([data-page="home"]) .org-chair>span{color:#854421}
main[data-page]:not([data-page="home"])+footer{background:#eef1f5;color:#303b49;border-color:#d6dce4}
main[data-page]:not([data-page="home"])+footer .footer-bottom{border-color:#d6dce4;color:#566170}
main[data-page]:not([data-page="home"])+footer .footer-inner p,main[data-page]:not([data-page="home"])+footer .footer-inner a{color:#566170}

/* Budget figures, authentication states, and tables share the same light palette. */
main[data-page="budget"] .budget-report{--budget-bg:#fff;--budget-ink:#202630;--budget-muted:#505b6a;--budget-line:#d6dde5;--budget-soft:#fff3e8;--budget-accent:#984222}
main[data-page="budget"] .budget-cards section{box-shadow:0 4px 16px #24324805}
main[data-page="budget"] .budget-cards .budget-accent{border-color:#d9b393;border-top:3px solid #a75630}
main[data-page="budget"] .budget-cards span{font-size:15px}
main[data-page="budget"] .budget-summary p,main[data-page="budget"] .budget-note{font-size:14px}
main[data-page="budget"] .budget-selector select{background:#fff;color:#293543;border-color:#b9c3cf;padding:12px}
main[data-page="budget"] .budget-asof{background:#fff3e8;border-color:#dec0a8}
main[data-page="budget"] .budget-table-wrap,main[data-page="budget"] .budget-month-details .table-scroll{background:#fff}
main[data-page="budget"] .budget-table{font-size:15px}
main[data-page="budget"] .budget-table thead{background:#eaf0f5;color:#3a485a;font-size:13px}
main[data-page="budget"] .budget-table tbody tr:nth-child(even){background:#f6f8fb}
main[data-page="budget"] .budget-table tbody tr.budget-changed{background:#fff3e8}
main[data-page="budget"] .budget-table tbody td{color:#394555}
main[data-page="budget"] .budget-table td.budget-emphasis{color:#93401d;font-weight:650}
main[data-page="budget"] .budget-table td.budget-negative{color:#b12623;font-weight:650}
main[data-page="budget"] .budget-table tfoot{background:#eaf0f5;font-size:15px}
main[data-page="budget"] .budget-table th small{font-size:12px}
main[data-page="budget"] .budget-change{border-color:#dbb89b;border-left-color:#a75630}
main[data-page="budget"] .budget-change p{font-size:16px;line-height:1.8}
main[data-page="budget"] .budget-months{background:#fff}
main[data-page="budget"] .budget-month{font-size:14px}
main[data-page="budget"] .budget-month-track{background:#edf0f4}
main[data-page="budget"] .budget-month-track i{background:#a65932}
main[data-page="budget"] .budget-source,main[data-page="budget"] .member-sharing{color:#596372;font-size:13px}
main[data-page="budget"] .member-toolbar{color:#46515f}
main[data-page="budget"] .member-gate{background:#fff;border-color:#d6dde5;box-shadow:0 8px 30px #24324806}
main[data-page="budget"] .member-gate .member-intro{color:#535d6b}
main[data-page="budget"] .member-gate .member-footnote,main[data-page="budget"] .member-gate .member-admin-link{color:#596372}
main[data-page="budget"] .member-gate .kakao-login{background:#fee500;color:#191600;border-color:#e4cc00}
main[data-page="budget"] .member-gate .kakao-login:hover{background:#f3d900}
main[data-page="budget"] .member-gate button:disabled{opacity:.55}
@media(max-width:600px){
 main[data-page]:not([data-page="home"]) .page-heading p{font-size:15px}
 main[data-page="budget"] .budget-summary strong{font-size:clamp(17px,5vw,23px)}
 main[data-page="budget"] .budget-cards.financial strong{font-size:clamp(16px,4.7vw,21px)}
 main[data-page="budget"] .budget-cards span{font-size:13px}
 main[data-page="budget"] .budget-month{grid-template-columns:58px 1fr 98px;gap:9px;font-size:12px}
 main[data-page="budget"] .budget-table{display:block;min-width:0;text-align:left}
 main[data-page="budget"] .budget-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 main[data-page="budget"] .budget-table tbody,main[data-page="budget"] .budget-table tfoot{display:block}
 main[data-page="budget"] .budget-table tbody tr,main[data-page="budget"] .budget-table tfoot tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;padding:20px;border-bottom:1px solid #d6dde5}
 main[data-page="budget"] .budget-table tr:last-child{border-bottom:0}
 main[data-page="budget"] .budget-table th,main[data-page="budget"] .budget-table td{min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}
 main[data-page="budget"] .budget-table th{grid-column:1/-1;font-size:17px;padding-bottom:10px;border-bottom:1px solid #d6dde5}
 main[data-page="budget"] .budget-table th small{max-width:none}
 main[data-page="budget"] .budget-table td:before{content:attr(data-label);display:block;color:#596574;font-size:12px;font-weight:500;margin-bottom:3px}
 main[data-page="budget"] .budget-table td{font-variant-numeric:tabular-nums;font-weight:550}
 main[data-page="budget"] .budget-table tfoot{border-top:2px solid #c8d2de}
 main[data-page="budget"] .budget-meter{margin:7px 0 0}
}
