/* 庄严宗亲网 · Heritage 1.4. Local fonts, a quiet archive, clear public services. */
@font-face{font-family:ZySans;src:url('../fonts/zyzqh-sans-v14.woff2') format('woff2');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:ZySans;src:url('../fonts/zyzqh-sans-bold-v14.woff2') format('woff2');font-style:normal;font-weight:600 900;font-display:swap}
@font-face{font-family:ZySerif;src:url('../fonts/zyzqh-serif-v14.woff2') format('woff2');font-style:normal;font-weight:600 900;font-display:swap}
:root{--ink:#242424;--muted:#666666;--line:#dedfdd;--surface:#fff;--canvas:var(--paper,#f5f5f5);--accent:var(--red,#ad2926);--deep:var(--green,#242424);--warm:#ece9e2;--focus:#7a4d35;--radius:4px;--space:clamp(1.25rem,4vw,3.5rem);color-scheme:light;font-family:ZySans,'PingFang SC','Microsoft YaHei','Noto Sans CJK SC','Heiti SC',sans-serif;font-size:var(--body-size,16px);font-synthesis:weight}
html[data-font-size=large]{font-size:calc(var(--body-size,16px)*1.125)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:2rem}body{margin:0;background:var(--canvas);color:var(--ink);font-size:1rem;line-height:1.75;-webkit-text-size-adjust:100%}body.modal-open{overflow:hidden}img,svg,video{max-width:100%}img{display:block;height:auto}svg.icon{width:1.25rem;height:1.25rem;flex:none;vertical-align:middle}a{color:inherit;text-decoration:none}a,button,input,textarea,select{touch-action:manipulation}button,input,textarea,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.55}button{border:0}h1,h2,h3,h4,p,ul,ol,dl,figure{margin:0}h1,h2,h3,h4{font-weight:700;line-height:1.5;overflow-wrap:anywhere}h1{font-size:3rem;letter-spacing:.025em}h2{font-size:1.8rem;letter-spacing:.02em}h3{font-size:1.2rem}p{overflow-wrap:anywhere}p+p{margin-top:1rem}small{font-size:.8rem}em{font-style:normal}fieldset{min-width:0;padding:0;margin:0;border:0}legend{max-width:100%}summary{cursor:pointer;list-style:none}summary::-webkit-details-marker{display:none}summary::marker{content:''}input,select,textarea{min-width:0;max-width:100%;border:1px solid #cfd2d0;border-radius:3px;background:#fff;color:var(--ink);padding:.7rem .85rem;line-height:1.5}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%}input::placeholder,textarea::placeholder{color:#666666}input[type=checkbox],input[type=radio]{width:1.1rem;height:1.1rem;padding:0;accent-color:var(--deep);flex:none}input[type=file]{padding:.6rem;background:#fafafa;font-size:.85rem}textarea{resize:vertical;min-height:6rem}input:disabled,select:disabled,textarea:disabled{background:#f0f1ee}a:hover{color:var(--accent)}:focus-visible{outline:2px solid var(--focus);outline-offset:4px;border-radius:2px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:1rem;top:-5rem;z-index:200;background:var(--ink);color:white;padding:.65rem 1.1rem}.skip-link:focus{top:1rem}.container{width:min(100% - 5rem,1280px);margin-inline:auto;min-width:0}.main-content{padding-bottom:4.5rem;min-height:55vh}.main-content>*{min-width:0}.overline{display:block;color:var(--muted);font-size:.7rem;line-height:1.7;letter-spacing:.14em;font-weight:400}.muted,.field-help{color:var(--muted)}.field-help{font-size:.82rem;line-height:1.75}.lead{font-size:1.15rem;line-height:1.9}.center{text-align:center}.button,.text-link,.text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;line-height:1.5}.button{max-width:100%;overflow-wrap:anywhere;min-height:2.95rem;padding:.75rem 1.35rem;background:var(--deep);color:#fff;border:1px solid var(--deep);border-radius:3px;font-weight:600;text-align:center;transition:background .18s,color .18s}.button:hover{background:#272727;color:#fff}.button.outline,.button.secondary{color:var(--ink);border-color:#c3c3c3;background:transparent}.button.outline:hover,.button.secondary:hover{background:#e9ece8;border-color:#838383}.button.small{min-height:2.35rem;padding:.45rem .8rem;font-size:.85rem}.button.large{padding:1rem 1.7rem}.text-link{justify-content:flex-start;max-width:100%;font-size:.9rem;border-bottom:1px solid #bdbdbd;padding-bottom:.2rem}.text-link .icon{width:1rem;height:1rem}.text-button,.link-button{background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:4px;font-size:.85rem}.icon-button{width:2.5rem;height:2.5rem;flex:none;padding:0;border:1px solid var(--line);background:#fff;border-radius:50%}.danger{color:#ad3f31}.notice{padding:.85rem 1rem;margin:1.2rem 0;background:#f1f1f1;border:1px solid #dcdcdc;border-left:3px solid #727272;font-size:.92rem;overflow-wrap:anywhere}.notice.error{background:#fcf0ec;border-color:#e9c8bf;border-left-color:#b64e37;color:#84372a}.notice:empty{display:none}.panel,.heritage-panel{padding:1.8rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.panel h2,.heritage-panel h2{font-size:1.4rem}.panel>h2,.panel>h3,.heritage-panel>h2{margin-bottom:1rem}.panel>p,.heritage-panel>p{margin-bottom:1rem}.panel+.panel,.heritage-panel+.heritage-panel{margin-top:1.5rem}.panel-icon{display:grid;place-items:center;width:3rem;height:3rem;background:#efefef;color:var(--deep);border-radius:50%;flex:none}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:10rem;gap:.8rem;background:#f1f2ee;border:1px dashed #d8d8d8;padding:2rem;color:var(--muted);text-align:center}.empty-state>.icon{width:2.2rem;height:2.2rem}.status,.project-status{display:inline-flex;align-items:center;gap:.5rem;font-size:.75rem;padding:.25rem .65rem;background:#f0f0f0;border:1px solid #dbdbdb;color:#5e5e5e;border-radius:2px}.status-pending,.status-draft{background:#f5f0e4;border-color:#e5dbc1;color:#7a6842}.status-rejected,.status-trash{background:#f6eae6;border-color:#e7ccc3;color:#98513f}

/* Shared masthead: a compact brand row and a separate search/navigation row. */
.site-header{position:relative;z-index:50;background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.4rem}.brand-cluster{display:flex;align-items:center;gap:1.1rem;min-width:0;flex-shrink:0}.brand{display:inline-flex;align-items:center;gap:.65rem;white-space:nowrap;color:#252828}.brand:hover{color:inherit}.brand>img{width:2.1rem;height:2.1rem;object-fit:contain}.brand strong{font-family:ZySerif,'Songti SC',SimSun,serif;font-size:1.45rem;font-weight:700;letter-spacing:.08em;line-height:1.25}.brand span{display:flex;align-items:center;gap:.65rem}html[lang=en] .brand strong{font-family:ZySans,'PingFang SC','Microsoft YaHei',sans-serif;font-size:1rem;letter-spacing:0;white-space:normal;max-width:11rem;line-height:1.3}.brand small{display:none;font-size:.56rem;letter-spacing:.05em;color:#666666}.brand-qr{display:flex;align-items:center;gap:.35rem;background:none;padding:.2rem 0;border:0;border-left:1px solid var(--line);padding-left:1rem;font-size:.68rem;color:#666666}.brand-qr .icon{width:1.3rem;height:1.3rem}.header-actions{display:flex;align-items:center;gap:1rem;min-width:0}.header-project{display:flex;align-items:center;gap:.35rem;font-size:.78rem;color:var(--accent);white-space:nowrap}.header-project .icon{width:.95rem;height:.95rem}.text-size-controls{display:flex;align-items:center;background:#f0f0f0;padding:3px;border-radius:30px;flex-shrink:0}.text-size-controls button{font-size:.68rem;white-space:nowrap;line-height:1.5;padding:.3rem .65rem;border-radius:25px;color:#666666;background:transparent;transition:background .15s}.text-size-controls button[aria-checked=true]{color:#494949;background:#fff;box-shadow:0 1px 3px #0000000c}.language-links{display:flex;align-items:center;gap:.55rem;font-size:.72rem;white-space:nowrap}.language-links a{color:#666666;position:relative}.language-links a[aria-current=true]{color:#222;font-weight:700}.language-links a[aria-current=true]::after{content:'';position:absolute;bottom:-.25rem;left:20%;right:20%;height:1px;background:var(--accent)}.account-link{display:flex;align-items:center;gap:.4rem;max-width:9rem;font-size:.78rem;white-space:nowrap}.account-link span{overflow:hidden;text-overflow:ellipsis}.account-link .icon{width:1rem;height:1rem}.menu-toggle{display:none}html:not(.has-js) .menu-toggle{display:none}.main-nav{border-top:1px solid #eeeeec}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:1.3rem;min-height:4.5rem}.archive-search{display:flex;align-items:center;min-width:0;width:100%;background:#f2f2f2;border:1px solid #e6e7e3;border-radius:30px;overflow:hidden}.archive-search input{border:0;border-radius:0;background:transparent;padding:.7rem 1.1rem;font-size:.85rem;min-width:0}.archive-search button{width:2.8rem;height:2.8rem;display:grid;place-items:center;flex:none;background:none;color:#666666}.archive-search input:focus{outline:0}.archive-search:focus-within{outline:2px solid #bdbdbd;outline-offset:2px}.header-search{flex:1 1 16rem;max-width:18rem}.nav-group{position:relative;flex-shrink:0}.nav-group>summary{display:flex;align-items:center;justify-content:center;gap:.32rem;padding:1.4rem 0;font-size:1.125rem;white-space:nowrap;color:#454545}.nav-group>summary .icon{width:.8rem;height:.8rem;color:#666666;transition:transform .2s}.nav-group[open]>summary{color:var(--accent)}.nav-group[open]>summary .icon{transform:rotate(180deg)}.nav-dropdown{position:absolute;top:calc(100% - 1px);left:-1.4rem;width:24rem;max-width:calc(100vw - 2rem);padding:0;background:white;border:1px solid #dddddd;box-shadow:0 12px 24px #29292914;border-radius:0 0 4px 4px;overflow:hidden}.nav-group:nth-last-child(-n+2) .nav-dropdown{left:auto;right:-1.4rem}.nav-panel-heading{display:flex;align-items:center;gap:.8rem;padding:1.2rem 1.3rem;background:#f5f6f2;border-bottom:1px solid #e7e7e7}.nav-panel-icon{display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:#eaeaea;color:var(--deep)}.nav-panel-heading strong{display:block;font-size:1rem}.nav-panel-heading small{font-size:.7rem;color:#666666}.nav-panel-links{padding:.55rem}.nav-panel-links>a{display:flex;align-items:center;gap:.8rem;padding:.8rem;border-radius:3px;transition:background .15s}.nav-panel-links>a:hover,.nav-panel-links>a[aria-current=page]{background:#f4f4f4}.nav-link-icon{color:#666666;flex:none}.nav-link-copy{min-width:0;flex:1}.nav-link-copy strong{display:block;font-size:.9rem;font-weight:600}.nav-link-copy small{display:block;font-size:.72rem;color:#666666;line-height:1.6;margin-top:.15rem;white-space:normal}.nav-link-arrow{color:#666666}.nav-link-arrow .icon{width:.9rem;height:.9rem}

/* Homepage: image catalogue and public heritage services. */
.heritage-explore{padding-top:3.35rem}.explore-heading{text-align:center;margin:0 auto 3.2rem;max-width:62rem}.explore-heading .overline{font-size:.74rem;letter-spacing:.12em;margin-bottom:.45rem}.explore-heading h1{font-size:3rem;line-height:1.5;letter-spacing:.055em}.explore-heading p{margin-top:.9rem;font-size:.95rem;color:#666666;max-width:48rem;margin-inline:auto}.heritage-category-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#fff;width:calc(100% + 5rem);margin-left:-2.5rem}.heritage-category{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;aspect-ratio:.94;overflow:hidden;isolation:isolate;background:#727272;color:#fff;padding:1rem 1.05rem}.heritage-category:hover{color:#fff}.heritage-category img,.category-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .65s,filter .35s}.category-art{background:url('../media/theme-v14/archive-cover.webp') center/cover;z-index:-3;filter:brightness(.8) saturate(.6)}.heritage-category:nth-child(4n+2) .category-art{background-position:15% 45%;filter:brightness(.82) saturate(.6) sepia(.15)}.heritage-category:nth-child(4n+3) .category-art{background-position:85% 55%;transform:scale(1.18);filter:brightness(.78) saturate(.5)}.heritage-category:nth-child(4n) .category-art{background-position:60% 45%;transform:scale(1.35);filter:brightness(.73) saturate(.6)}.heritage-category::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#21212126 0%,#22222200 32%,#202020b3 100%);z-index:-1}.heritage-category:hover>img{transform:scale(1.055);filter:saturate(.8)}.category-topline{display:flex;align-items:center;justify-content:space-between;font-size:.6rem;letter-spacing:.12em;opacity:.85}.category-arrow{width:1.7rem;height:1.7rem;display:grid;place-items:center;border:1px solid #ffffff65;border-radius:50%}.category-arrow .icon{width:.8rem;height:.8rem}.category-copy{margin-top:1.4rem}.category-copy h2{font-size:1.5rem;font-weight:600;line-height:1.4;letter-spacing:.025em}.category-en{display:block;font-size:.59rem;line-height:1.5;margin-top:.4rem;opacity:.78;letter-spacing:.02em}.catalog-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--line);padding:1rem 0;font-size:.74rem;color:#666666}.catalog-footer>a{display:flex;align-items:center;gap:.6rem}.catalog-footer .icon{width:.95rem;height:.95rem}.heritage-context{display:grid;grid-template-columns:1.8fr 1fr;gap:3.5rem;padding:2.7rem 0;border-block:1px solid var(--line);margin-block:3rem}.lineage-overview h2{font-size:1.8rem;margin:.4rem 0 1rem}.lineage-overview p{font-size:.92rem;color:#666666;line-height:1.95;max-width:44rem}.lineage-overview .text-link{margin-top:1.4rem}.heritage-almanac{padding:1.45rem 1.7rem;background:#eeeeee;border:1px solid #e0e0e0;display:flex;flex-direction:column;justify-content:center}.heritage-almanac:hover{color:inherit;border-color:#b7b7b7}.almanac-title{display:flex;align-items:center;gap:.6rem;margin:.5rem 0}.almanac-title h2{font-size:1.35rem;flex:1}.heritage-almanac time{font-size:1.65rem;letter-spacing:.08em;line-height:1.5}.heritage-almanac [data-lunar-text]{font-size:.8rem;color:#666666;margin-top:.5rem}.almanac-caption{font-size:.73rem;color:#666666;margin-top:.9rem}.home-discovery{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-block:2.8rem}.home-discovery-panel{position:relative;padding:1.8rem 2rem;background:#fff;border:1px solid var(--line)}.home-discovery-panel h2{font-size:1.4rem;margin:.4rem 0}.home-discovery-panel p{font-size:.84rem;color:var(--muted)}.discovery-actions{display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1.2rem}.discovery-region-links,.discovery-topic-links{display:flex;flex-wrap:wrap;gap:.55rem;margin-top:1rem}.discovery-region-links a,.discovery-topic-links a{font-size:.75rem;padding:.25rem .65rem;background:#f3f3f3;border:1px solid #e7e7e7;border-radius:2px}.official-channels{display:grid;grid-template-columns:13rem 1fr;align-items:center;gap:2rem;padding-block:2rem;margin-block:2rem;border-bottom:1px solid var(--line)}.official-heading h2{font-size:1.3rem;line-height:1.5;margin:.4rem 0}.official-heading p{color:var(--muted);font-size:.85rem}.social-channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}.social-channel{display:flex;align-items:center;gap:.9rem;min-width:0}.social-qr{width:5.4rem;height:5.4rem;flex:none;background:#fff;border:1px solid var(--line);padding:.4rem;display:grid;place-items:center}.social-qr img{width:100%;height:100%;object-fit:contain}.qr-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.12rem;color:#666666;text-align:center}.qr-placeholder>.icon{width:2rem;height:2rem}.qr-placeholder>span{font-size:.55rem}.qr-placeholder>small{font-size:.4rem;letter-spacing:.03em}.social-channel-copy h3{font-size:.9rem}.social-channel-copy p{font-size:.7rem;color:#666666;line-height:1.7;margin:.3rem 0}.social-channel-copy .text-link{font-size:.65rem}.social-pending{font-size:.62rem;color:#666666}.heritage-statistics{margin:3.5rem 0;display:grid;grid-template-columns:1.3fr 2fr;gap:2.5rem;align-items:center;padding:2.4rem 0;border-block:1px solid var(--line)}.heritage-statistics h2{font-size:1.5rem;margin:.4rem 0}.heritage-statistics header p{font-size:.82rem;color:var(--muted)}.heritage-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}.heritage-stat-grid a{display:grid;gap:.3rem;border-left:1px solid #d9d9d9;padding-left:1.2rem;align-content:start}.heritage-stat-grid strong{font-size:2rem;font-weight:400;line-height:1.2}.heritage-stat-grid span{font-size:.7rem;color:var(--muted)}.heritage-stat-grid .icon{width:1rem;height:1rem;color:#666666;margin-top:.5rem}.next-conference{margin-block:2rem}.next-conference .button{margin-top:1rem}.section{margin-block:3.5rem}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.section-heading h2{font-size:1.8rem;line-height:1.5}.section-heading .overline{margin-bottom:.4rem}.section-heading>span{font-size:.8rem;color:var(--muted)}.story-grid,.listing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.65rem}.story-card{display:flex;flex-direction:column;min-width:0}.story-image{position:relative;display:block;aspect-ratio:1.5;overflow:hidden;background:#e9e9e2}.story-image>img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.story-card:hover .story-image>img{transform:scale(1.025)}.archive-cover{position:absolute;inset:0;display:block;overflow:hidden;background:#e9e9e2}.archive-cover>img{width:100%;height:100%;object-fit:cover;filter:saturate(.6)}.cover-kicker{position:absolute;bottom:.7rem;left:.7rem;padding:.2rem .6rem;background:#ffffffde;border:1px solid #ffffff90;color:#626262;font-size:.64rem;letter-spacing:.07em;border-radius:2px}.story-copy{display:flex;flex:1;flex-direction:column;padding:1rem .1rem .6rem}.eyebrow{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;font-size:.65rem;color:#666666;line-height:1.5}.eyebrow>span:first-child{color:#8a604d}.story-copy h3{font-size:1.1rem;line-height:1.65;margin:.45rem 0;font-weight:600}.story-copy>p{font-size:.8rem;color:#666666;line-height:1.85;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:.8rem}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:.7rem;margin-top:auto;padding-top:.7rem;border-top:1px solid #e2e2e2;font-size:.64rem;color:#666666}.card-foot>span{display:flex;align-items:center;gap:.3rem;min-width:0}.card-foot>.card-details{margin-left:auto}.card-foot .icon{width:.8rem;height:.8rem}.card-details{display:flex;align-items:center;gap:.45rem;flex-shrink:0;color:#666666}.card-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:2.6rem;height:2.6rem;border:1px solid #ffffffd1;border-radius:50%;background:#29292990;color:#fff}.card-play>.icon{width:1.1rem;height:1.1rem;margin-left:.1rem}.archive-band{display:grid;grid-template-columns:1fr 1.8fr;gap:4rem;background:#ebebeb;padding:2.75rem 3rem}.archive-title h2{font-size:2rem;margin:.6rem 0 1rem}.archive-title p{font-size:.9rem;color:#666666;line-height:1.9;margin-bottom:1.3rem}.archive-row{display:flex;gap:1.3rem;align-items:center;border-top:1px solid #d6d6d6;padding:1.3rem 0}.archive-row:first-child{border-top:0;padding-top:.2rem}.archive-row>div{flex:1;min-width:0}.archive-number{font-size:.8rem;color:#666666}.archive-row small{font-size:.65rem;color:#666666}.archive-row h3{font-size:1.05rem;margin:.2rem 0}.archive-row p{font-size:.75rem;color:#666666;line-height:1.6}.archive-row>.icon{color:#666666;width:1rem;height:1rem}.roots-intro{display:grid;grid-template-columns:1fr 1.5fr auto;gap:2rem;padding:2rem 0}.roots-intro h2{font-size:2rem}.roots-copy p{font-size:.9rem;color:#666666}.roots-copy .text-link{margin-top:1rem}.origin-seal{font-family:ZySans,'PingFang SC','Microsoft YaHei',sans-serif;display:flex;gap:.5rem;align-items:center;color:#9e4033}.origin-seal>span{font-size:2.6rem}.origin-seal i{font-style:normal;font-size:.7rem;writing-mode:vertical-rl}

/* Archive, atlas, topic and association indexes. */
.page-heading{padding:3.4rem 0 2rem;border-bottom:1px solid var(--line);margin-bottom:2rem;display:flex;align-items:flex-end;justify-content:space-between;gap:2rem}.page-heading h1{font-size:2.6rem;margin-top:.35rem}.page-heading>p{max-width:33rem;color:var(--muted);font-size:.92rem;line-height:1.9}.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem;margin:1.8rem 0;font-size:.75rem;color:#666666}.breadcrumb .icon{width:.75rem;height:.75rem}.filter-bar,.archive-toolbar,.atlas-filter{display:flex;align-items:end;gap:1rem;flex-wrap:wrap;margin-block:1.8rem}.filter-bar>form,.archive-toolbar>form,.atlas-filter>form{display:flex;align-items:end;gap:.8rem;flex:1;min-width:0;flex-wrap:wrap}.filter-bar .field,.archive-toolbar .field,.atlas-filter .field{margin:0;flex:1;min-width:8rem}.filter-bar input,.filter-bar select,.archive-toolbar input,.archive-toolbar select{font-size:.85rem;padding:.65rem}.filter-bar .search-input,.atlas-search{flex:2;min-width:12rem}.filter-bar>.search-input{position:relative;display:flex;align-items:center;flex:2 1 13rem;min-width:0}.filter-bar>.search-input>.icon{position:absolute;left:.8rem;width:1rem;height:1rem;color:#666}.filter-bar>.search-input>input{padding-left:2.3rem}.filter-bar>.filter-region,.filter-bar>.category-filter{display:flex;flex-direction:column;gap:.3rem;flex:1 1 8rem;min-width:0;margin:0}.filter-bar>.filter-region>span,.filter-bar>.category-filter>span{font-size:.72rem;color:#666}.filter-bar>button{align-self:flex-end}.archive-toolbar>.archive-search{max-width:32rem}.category-filter,.content-categories{display:flex;gap:.6rem;flex-wrap:wrap;margin:1.2rem 0 1.7rem}.category-filter a,.content-categories a,.filter-reset{font-size:.78rem;padding:.35rem .8rem;border:1px solid var(--line);border-radius:2px;background:#fff}.category-filter a[aria-current],.category-filter a.active,.content-categories a[aria-current]{color:#fff;background:var(--deep);border-color:var(--deep)}.results-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1.8rem 0;font-size:.85rem;color:var(--muted)}.results-heading h2{font-size:1.3rem;color:var(--ink)}.pagination{display:flex;gap:.5rem;justify-content:center;margin-top:2.8rem}.pagination a,.pagination span{display:grid;place-items:center;min-width:2.5rem;min-height:2.5rem;border:1px solid var(--line);background:#fff;font-size:.85rem}.pagination a[aria-current=page],.pagination a.current{color:#fff;background:var(--deep);border-color:var(--deep)}.region-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.region-card{display:flex;flex-direction:column;padding:1.3rem;background:#fff;border:1px solid var(--line);gap:.5rem;min-width:0;transition:border-color .2s}.region-card:hover{border-color:#a6a6a6;color:inherit}.region-card-top{display:flex;align-items:center;justify-content:space-between;color:#666666;font-size:.7rem}.region-card h3{font-size:1.1rem}.region-card p{color:var(--muted);font-size:.78rem}.region-card-count{display:flex;align-items:center;gap:.6rem;color:#666666;font-size:.68rem}.region-card .icon{width:1rem;height:1rem}.atlas-group,.atlas-region-section{margin:2.5rem 0}.atlas-group h2,.atlas-region-section>h2{font-size:1.45rem;margin-bottom:1.25rem}.atlas-region-summary{display:grid;grid-template-columns:1.5fr 1fr;gap:2rem;align-items:center;padding:2rem;background:#efefef;border:1px solid #dfdfdf}.atlas-region-summary p{color:#666666;font-size:.9rem}.atlas-region-summary h2{margin:.3rem 0 .8rem;font-size:1.6rem}.atlas-empty{padding:2rem;background:#f1f1f1;border:1px dashed #d9d9d9;color:var(--muted)}.atlas-organizations,.atlas-records,.topic-records{margin-top:2.5rem}.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.topic-card{min-width:0;border:1px solid var(--line);background:#fff}.topic-card>a{display:block}.topic-card .story-image{aspect-ratio:1.9}.topic-card-copy{padding:1.3rem}.topic-card-copy h2,.topic-card-copy h3{font-size:1.25rem;margin:.4rem 0}.topic-card-copy p{font-size:.82rem;color:#666666}.topic-card-copy .text-link{margin-top:1rem;font-size:.8rem}.topic-introduction{background:#fff;padding:2rem;border:1px solid var(--line);margin-bottom:2rem}.topic-introduction p{max-width:65rem;color:#666666}.organization-grid,.channel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.organization-card,.channel-card{display:flex;flex-direction:column;align-items:flex-start;padding:1.65rem;background:white;border:1px solid var(--line);min-width:0}.organization-card h3,.channel-card h3{font-size:1.2rem;margin:.6rem 0}.organization-card p,.channel-card p{font-size:.8rem;color:#666666}.organization-label,.organization-scope{font-size:.7rem;color:#666666}.organization-actions,.organization-sources{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem;font-size:.78rem}.organization-sources a{text-decoration:underline;text-underline-offset:3px}.channel-card .text-link{margin-top:auto;padding-top:1rem;font-size:.78rem}.channel-symbol{display:grid;place-items:center;width:3.2rem;height:3.2rem;background:#f1f1f1;border:1px solid #e6e6e6;border-radius:50%;color:#666666;font-family:ZySans,'PingFang SC','Microsoft YaHei',sans-serif;font-size:1.5rem}.channel-heading{display:flex;align-items:center;gap:1.3rem;padding:2.8rem 0 2rem;border-bottom:1px solid var(--line);margin-bottom:2rem}.channel-heading h1{font-size:2.4rem}.channel-heading>div{min-width:0;flex:1}.channel-heading p{color:var(--muted);font-size:.9rem;margin-top:.5rem}.social-links{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1rem;font-size:.8rem}.social-links a{border-bottom:1px solid #c3c3c3}.tags{display:flex;gap:.5rem;flex-wrap:wrap;margin-block:1rem}.tags a,.tags span{font-size:.72rem;padding:.2rem .65rem;background:#f0f0f0;color:#666666;border-radius:2px}.roots-intro,.business-intro{margin-bottom:2rem}.business-intro{padding:1.7rem;background:#efefef;border:1px solid #e0e0e0}.business-intro h2{font-size:1.4rem}.business-intro p{font-size:.88rem;color:var(--muted);margin-top:.6rem}

/* Records: text, video, genealogy documents and trees. */
.article-heading{padding:2.5rem 0 2rem;max-width:66rem}.article-heading h1{font-size:2.5rem;line-height:1.65;margin:.7rem 0 1rem}.article-heading .eyebrow{justify-content:flex-start;gap:1rem}.article-deck{font-size:1.1rem;color:#666666;line-height:1.95;margin-top:1rem}.article-byline{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.75rem;color:#666666;margin-top:1.2rem}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:3rem;align-items:start}.article-main{min-width:0}.article-sidebar{min-width:0}.article-sidebar>.heritage-panel,.article-sidebar>.panel{padding:1.4rem;margin-bottom:1.4rem}.sidebar-label{font-size:.67rem;letter-spacing:.08em;color:#666666}.sidebar-action{display:block;margin-top:.75rem}.related-link{display:block;padding:.8rem 0;border-bottom:1px solid #e5e5e5;font-size:.85rem;line-height:1.75}.related-link:last-child{border:0}.record-facts,.event-facts,.member-contacts{margin:1.2rem 0;display:grid;grid-template-columns:auto 1fr;gap:.7rem 1rem;font-size:.83rem}.record-facts dt,.event-facts dt,.member-contacts dt{color:#666666}.record-facts dd,.event-facts dd,.member-contacts dd{margin:0;min-width:0;overflow-wrap:anywhere}.record-facts dd a,.event-facts dd a{text-decoration:underline;text-underline-offset:3px}.rich-content{font-size:1rem;line-height:2;color:#4b4b4b;overflow-wrap:anywhere;background:#fff;padding:2.5rem;border:1px solid #e3e3e3}.rich-content:empty{display:none}.rich-content p{margin:0 0 1.25rem}.rich-content p:last-child{margin-bottom:0}.rich-content h2{font-size:1.7rem;margin:2.1rem 0 1rem;line-height:1.6}.rich-content h3{font-size:1.3rem;margin:1.8rem 0 .8rem}.rich-content h4{font-size:1.1rem;margin:1.5rem 0 .6rem}.rich-content a{color:#8d5839;text-decoration:underline;text-underline-offset:3px;word-break:break-word}.rich-content img{height:auto;max-width:100%;margin:1.2rem auto}.rich-content blockquote{border-left:3px solid #a9a9a9;padding:1.1rem 1.3rem;margin:1.5rem 0;background:#f3f3f3;color:#666666}.rich-content ul,.rich-content ol{padding-left:1.6rem;margin-block:1rem}.rich-content li+li{margin-top:.5rem}.rich-content table{display:block;max-width:100%;overflow:auto;border-collapse:collapse;margin:1.5rem 0;font-size:.85rem}.rich-content td,.rich-content th{border:1px solid #dfdfdf;padding:.6rem .8rem;min-width:4rem}.rich-content th{background:#f3f3f3}.rich-content pre{overflow:auto;padding:1.2rem;background:#f2f2f2;line-height:1.6;font-size:.8rem;max-width:100%}.translation-notice{background:#f2f2f2;border:1px solid #e3e3e3;padding:.8rem 1rem;font-size:.8rem;color:#666666;margin-bottom:1.5rem}.access-gate{display:flex;flex-direction:column;align-items:center;text-align:center;padding:3rem;background:#efefef;border:1px solid #e1e1e1;gap:1rem}.access-gate>.icon{width:2.5rem;height:2.5rem;color:#666666}.access-gate h2{font-size:1.6rem}.access-gate p{max-width:35rem;color:#666666}.access-gate>div{display:flex;gap:.8rem;flex-wrap:wrap;justify-content:center}.video-block{margin:1.5rem 0 2.5rem}.video-frame{width:100%;aspect-ratio:16/9;background:#202020}.video-frame iframe{display:block;width:100%;height:100%;border:0}.video-consent,.video-unavailable{padding:2rem;min-height:15rem;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#ececec;border:1px solid #dcdcdc;gap:1rem}.video-consent p,.video-unavailable p{font-size:.9rem;color:#666666;max-width:40rem}.video-consent>.icon{width:2.6rem;height:2.6rem;color:#666666}.video-source-bar{padding:.8rem 1rem;background:#f2f2f2;border:1px solid #e4e4e4;display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;font-size:.78rem}.video-help{font-size:.75rem;color:#666666;padding:.6rem 0;line-height:1.8}.additional-videos{margin-block:2rem}.additional-video{margin-bottom:1.6rem}.additional-video>summary{padding:.9rem 1rem;background:#f0f0f0;border:1px solid #e2e2e2;font-size:.9rem}.additional-video[open]>summary{border-bottom:0}.article-gallery,.family-tree-section,.comments,.downloads{margin-top:2.7rem}.article-gallery .section-heading h2,.family-tree-section .section-heading h2,.comments h2,.downloads h2{font-size:1.55rem}.reader-help{display:flex;align-items:flex-start;gap:.8rem;padding:1rem 1.2rem;background:#f1f1f1;color:#666666;font-size:.8rem;margin-bottom:1.2rem}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.gallery-grid figure{min-width:0;border:1px solid #e4e4e4;background:#fff}.gallery-grid figure>a{display:block;aspect-ratio:1.1;overflow:hidden;background:#ebebeb}.gallery-grid figure img{width:100%;height:100%;object-fit:cover}.gallery-grid.genealogy-pages figure>a{aspect-ratio:.8;padding:.4rem;background:#ebe8df}.gallery-grid.genealogy-pages figure img{object-fit:contain}.gallery-grid figcaption{padding:.6rem .8rem;font-size:.68rem;color:#666666;display:flex;gap:.5rem;overflow-wrap:anywhere}.file-row{grid-column:1/-1;display:flex;align-items:center;gap:.8rem;padding:1rem;background:white;border:1px solid #e4e4e4;font-size:.8rem}.file-row>span{flex:1;min-width:0;overflow-wrap:anywhere}.download-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:1rem 0;border-bottom:1px solid #e4e4e4;font-size:.85rem}.download-row>div{flex:1;min-width:0}.download-row p{font-size:.75rem;color:#666666}.genealogy-download-panel{margin-top:2rem}.genealogy-resource-list{display:grid;gap:.9rem}.genealogy-request-form{margin-top:1rem}.consult-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-top:1.2rem}.family-tree{overflow:auto;max-width:100%;background:#f1f1f1;border:1px solid #dfdfdf;padding:1.5rem}.tree-generation{display:flex;align-items:flex-start;gap:1.3rem;padding:1rem 0;border-bottom:1px solid #e1e1e1;min-width:max-content}.tree-generation:last-child{border:0}.generation-label{font-size:.78rem;width:5rem;flex:none;color:#666666;padding-top:.7rem}.tree-generation>div{display:flex;gap:1rem;align-items:start}.tree-person{width:10rem;background:white;border:1px solid #dbdbdb}.tree-person summary{padding:.8rem 1rem}.tree-person summary>span{display:block;font-weight:600;font-size:1rem}.tree-person summary small{display:block;color:#666666;font-size:.67rem;margin-top:.25rem}.tree-person dl{padding:.8rem 1rem;border-top:1px solid #e5e5e5;font-size:.75rem}.tree-person dt{color:#666666}.tree-person dd{margin:0 0 .5rem}.family-tree.expanded{position:fixed;inset:1rem;z-index:110;max-width:none;background:#f5f5f5;box-shadow:0 0 0 100vmax #262626aa}.comment-form{margin:1.3rem 0;padding:1.5rem;background:white;border:1px solid #e4e4e4}.comment{padding:1.1rem 0;border-bottom:1px solid #e2e2e2}.comment header{display:flex;gap:.8rem;align-items:center;font-size:.8rem;margin-bottom:.5rem}.comment small{font-size:.7rem;color:#666666}.comment p{font-size:.9rem;color:#666666}.product-summary{display:grid;grid-template-columns:1fr 1fr;gap:1.7rem;margin-block:1.5rem}.product-summary .price{font-size:1.8rem;font-weight:600;color:#924f31}.product-specifications{border-collapse:collapse;width:100%;font-size:.85rem}.product-specifications th,.product-specifications td{padding:.6rem .8rem;border:1px solid #e2e2e2;text-align:left}.product-specifications th{color:#666666;background:#f3f3f3}

/* Forms and member services. */
.field{display:flex;flex-direction:column;gap:.45rem;margin-bottom:1.1rem;font-size:.85rem;min-width:0}.field>span:first-child{color:#666666;font-weight:500}.field b{color:#a35b3c;font-weight:400}.field>small{font-size:.73rem;color:#666666;line-height:1.75}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.1rem}.checkbox,.check{display:flex;align-items:flex-start;gap:.65rem;font-size:.8rem;line-height:1.85;margin:1.1rem 0}.checkbox>input,.check>input{margin-top:.25rem}.checkbox a,.check a{text-decoration:underline;text-underline-offset:3px;color:#666666}.form-section{margin-bottom:1.7rem;padding-top:1.5rem;border-top:1px solid var(--line)}.form-section:first-of-type{padding-top:0;border:0}.form-section legend{font-size:1rem;font-weight:600;padding:0 .5rem 0 0;margin-bottom:1rem}.section-number{display:inline-block;color:#666666;font-size:.72rem;font-weight:400;margin-right:.6rem}.form-section>p{font-size:.8rem;margin-bottom:1rem}.form-submit{display:flex;align-items:center;gap:1.2rem;margin-top:1.7rem;flex-wrap:wrap}.form-submit p,.form-submit small{color:#666666;flex:1;min-width:10rem;font-size:.75rem}.form-layout{display:grid;grid-template-columns:19rem minmax(0,1fr);gap:3.5rem;align-items:start}.form-intro{padding:1rem 0}.form-intro h2{font-size:1.7rem;margin:1rem 0}.form-intro p{font-size:.85rem;color:#666666;line-height:1.95}.seal-small,.large-seal{display:inline-flex;align-items:center;justify-content:center;width:3.4rem;height:3.4rem;border:1px solid #ad5a42;color:var(--accent);font-family:ZySans,'PingFang SC','Microsoft YaHei',sans-serif;font-size:1.2rem;letter-spacing:.1em}.step-list{list-style:none;padding:0;margin:1.8rem 0;counter-reset:steps}.step-list li{display:flex;align-items:center;gap:.8rem;margin:1.2rem 0;font-size:.82rem;color:#666666;counter-increment:steps}.step-list li::before{content:'0' counter(steps);font-size:.7rem;color:#666666;border:1px solid #e1e1e1;border-radius:50%;width:1.8rem;height:1.8rem;display:grid;place-items:center;flex:none}.inquiry-item{padding:1.2rem;background:#f1f1f1;border:1px solid #e1e1e1}.inquiry-item h3{font-size:1rem;margin-top:.5rem}.membership-picker{margin:1.5rem 0}.membership-options{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}.membership-choice{display:flex;align-items:flex-start;gap:.6rem;border:1px solid #dddddd;background:#fff;padding:1rem;cursor:pointer;border-radius:3px;min-width:0}.membership-choice:has(input:checked){border-color:#747474;background:#f3f3f3;box-shadow:inset 0 0 0 1px #747474}.membership-choice>input{margin:.2rem 0 0}.membership-choice>span{display:block;min-width:0;flex:1}.membership-choice strong{font-size:.9rem;font-weight:600}.membership-choice small{display:block;font-size:.73rem;color:#666666;margin-top:.25rem;line-height:1.7}.membership-choice>span>.icon{width:.95rem;height:.95rem;margin-right:.5rem;color:#666666}.company-fields{background:#f5f5f5;padding:1.1rem 1.2rem 0;border:1px solid #e1e1e1!important;margin-top:.9rem;border-radius:3px}.company-fields legend{padding-inline:.4rem;margin-bottom:.5rem}.auth-layout{display:grid;grid-template-columns:1fr 1fr;max-width:64rem;gap:5rem;margin:4rem auto 2rem;align-items:start}.auth-story{padding-top:2rem}.auth-story h1{font-size:2.7rem;line-height:1.6;margin:.5rem 0 1rem}.auth-story>p{font-size:.95rem;color:#666666;line-height:1.95}.auth-illustration{margin:2rem 0;overflow:hidden;aspect-ratio:1.6;background:#ededed}.auth-illustration img{width:100%;height:100%;object-fit:cover;filter:saturate(.6)}.auth-form{padding:2.1rem}.auth-form h2{font-size:1.8rem;margin:.4rem 0}.auth-form>p.muted{font-size:.83rem;margin-bottom:1.5rem}.auth-form>.button{width:100%;margin-top:.4rem}.auth-switch{font-size:.8rem;color:#666666;text-align:center;margin-top:1.4rem}.auth-switch a{color:#666666;text-decoration:underline;text-underline-offset:3px}.auth-form .company-fields .field{margin-bottom:1rem}.auth-form .membership-choice{padding:.8rem}.account-heading{display:flex;align-items:center;gap:1.3rem;padding:2.8rem 0 2rem;margin-bottom:2rem;border-bottom:1px solid var(--line)}.profile-avatar,.initial-avatar{width:4.2rem;height:4.2rem;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#ededed;color:#666666;font-size:1.7rem;flex:none;font-family:ZySans,'PingFang SC','Microsoft YaHei',sans-serif}.profile-avatar img{width:100%;height:100%;object-fit:cover}.account-heading>div:nth-child(2){flex:1;min-width:0}.account-heading h1{font-size:2rem}.account-heading p{font-size:.83rem;color:#666666}.account-layout{display:grid;grid-template-columns:13rem minmax(0,1fr);gap:2rem;align-items:start}.account-nav{background:#fff;border:1px solid var(--line);padding:.5rem;position:sticky;top:1rem}.account-nav>a{display:flex;align-items:center;justify-content:space-between;gap:.7rem;font-size:.83rem;padding:.8rem .9rem;border-bottom:1px solid #efefef}.account-nav>a[aria-current=page]{background:#eeeeee;color:#666666;font-weight:600}.account-nav .icon{width:.8rem;height:.8rem;color:#666666}.account-nav form{margin:.8rem .9rem}.account-nav button{background:none;border:0;padding:0;font-size:.8rem;color:#a46c42}.account-content{min-width:0}.account-content>.section-heading h2{font-size:1.4rem}.account-record{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;padding:1.2rem 0;border-bottom:1px solid #e5e5e5}.account-record:first-child{padding-top:0}.account-record:last-child{padding-bottom:0;border:0}.account-record>div:first-child{flex:1;min-width:0}.account-record h3{font-size:1rem;margin:.35rem 0}.account-record small{font-size:.7rem;color:#666666}.record-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;font-size:.8rem}.record-actions .text-link,.record-actions .text-button{font-size:.75rem}.table-scroll{max-width:100%;overflow:auto}.table-scroll table{border-collapse:collapse;min-width:30rem;width:100%;font-size:.8rem}.table-scroll th,.table-scroll td{text-align:left;padding:.8rem;border-bottom:1px solid #e5e5e5}.table-scroll th{background:#f3f3f3;color:#666666;font-weight:500}.request-row{padding:1.2rem 0;border-bottom:1px solid #e5e5e5;display:flex;gap:1rem;justify-content:space-between;align-items:center;font-size:.85rem}.request-row>div{min-width:0}.request-row p{font-size:.8rem;color:#666666}.request-row form{display:flex;gap:.5rem;flex-wrap:wrap}.profile-photo{width:5rem;height:5rem;object-fit:cover;border-radius:50%;margin:1rem 0}.member-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.4rem}.member-card{position:relative;background:#fff;border:1px solid var(--line);padding:1.7rem;text-align:center;min-width:0}.member-card .member-avatar{margin:0 auto 1rem}.member-avatar{width:4.8rem;height:4.8rem;object-fit:cover;border-radius:50%;background:#efefef;overflow:hidden;display:grid;place-items:center;font-family:ZySans,'PingFang SC','Microsoft YaHei',sans-serif;font-size:1.6rem;color:#666666}.member-avatar img{width:100%;height:100%;object-fit:cover}.member-avatar.is-blurred img,.member-avatar.blurred img,.member-avatar img.blurred{filter:blur(8px);transform:scale(1.08)}.member-card h3{font-size:1.05rem}.member-location{font-size:.73rem;color:#666666;margin:.5rem 0}.member-card>p{font-size:.8rem;color:#666666}.member-card .text-link{margin-top:1rem;font-size:.75rem}.member-profile{max-width:54rem;margin:2.5rem auto;background:#fff;border:1px solid var(--line)}.member-profile-cover{background:#efefef;padding:2rem;display:flex;align-items:center;gap:1.5rem}.member-profile-cover h1{font-size:2rem}.member-profile-cover .member-avatar{width:6rem;height:6rem;flex:none}.member-profile-body{padding:2rem}.member-profile-body h2{font-size:1.35rem;margin:1.5rem 0 1rem}.member-profile-body p{font-size:.9rem;color:#666666}.member-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.5rem}.card-privacy-notice{padding:1rem;background:#f5f5f5;border:1px solid #e5e5e5;font-size:.8rem;color:#666666;margin:1rem 0}

/* Editors retain the application’s native upload, ordering and publication hooks. */
.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 21rem;gap:1.7rem;align-items:start}.editor-layout>div,.editor-layout>aside{min-width:0}.editor-layout>.panel{min-width:0}.editor-layout aside{position:sticky;top:1rem}.editor-layout .panel{padding:1.5rem}.editor-layout .panel+.panel{margin-top:1.5rem}.editor-layout h2{font-size:1.3rem}.editor-shortcuts{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.2rem 0}.editor-shortcuts a{font-size:.75rem;border:1px solid #e3e3e3;padding:.35rem .8rem;border-radius:2px;background:#fff}.upload-zone{position:relative;padding:1.8rem;border:1px dashed #d2d2d2;background:#f4f4f4;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:.7rem;text-align:center}.upload-zone input[type=file]{max-width:24rem}.upload-zone p{color:#666666;font-size:.85rem}.upload-limit{font-size:.73rem;color:#666666;margin-top:.6rem}.editor-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;margin:1.2rem 0}.media-tile{position:relative;border:1px solid #e0e0e0;background:#fff;min-width:0;padding:.6rem;cursor:grab}.media-tile[draggable=true]:active{cursor:grabbing}.media-tile img{width:100%;height:8rem;object-fit:contain;background:#f1f1f1}.media-tile span,.media-tile p,.media-tile label,.media-tile small{font-size:.7rem;overflow-wrap:anywhere}.media-tile input:not([type=checkbox]):not([type=radio]){font-size:.72rem;padding:.4rem}.media-tile button{font-size:.68rem;background:#f3f3f3;border:1px solid #e2e2e2;padding:.2rem .45rem}.media-tile label{display:flex;gap:.35rem;align-items:center;margin-top:.4rem}.drag-handle{display:inline-flex;padding:.3rem;color:#666666}.media-tile.dragging{opacity:.45;outline:2px dashed #919191}.new-file-preview{font-size:.78rem;color:#666666}.download-fields{display:grid;gap:.8rem;padding:1rem;background:#f5f5f5;border:1px solid #e4e4e4;margin-bottom:1rem}.download-fields .field{margin:0}.download-fields input{font-size:.8rem}.editor-categories{margin:1rem 0}.editor-categories>div{display:flex;gap:.5rem;flex-wrap:wrap}.editor-categories label{font-size:.75rem;display:flex;align-items:center;gap:.35rem}.seo-editor{margin:1.4rem 0;border:1px solid #e3e3e3}.seo-editor>summary{display:flex;justify-content:space-between;align-items:center;background:#f3f3f3;padding:.75rem;font-size:.8rem}.seo-editor>div{padding:1rem}.seo-editor>div>p{font-size:.75rem;margin-bottom:1rem}.publish-actions{display:grid;gap:.7rem;margin:1.4rem 0 1rem}.tree-preview{max-width:100%;overflow:auto;margin-top:1.5rem}.tree-preview .tree-person{width:8rem}.tree-editor-panel [data-tree-editor]>div{border-bottom:1px solid #e4e4e4;padding:1rem 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}.tree-editor-panel [data-tree-editor] input,.tree-editor-panel [data-tree-editor] select{font-size:.8rem}.tox-tinymce{max-width:100%!important;border-radius:3px!important;border-color:#d9d9d9!important}.channel-edit-form{max-width:65rem;margin:2rem auto}.editor-form>p.muted{font-size:.85rem;margin-bottom:1.5rem}

/* Sponsorship and the AI genealogy project. */
.sponsor-hero{display:grid;grid-template-columns:1.3fr 1fr;gap:4.5rem;align-items:center;padding:3.8rem 0 3rem}.sponsor-hero h1{font-size:2.75rem;line-height:1.55;margin:.5rem 0 1.2rem}.sponsor-hero>div>p{font-size:1rem;line-height:1.95;color:#666666;max-width:39rem}.sponsor-hero .text-link{margin-top:1.4rem}.sponsor-art{position:relative;aspect-ratio:1.25;overflow:hidden;background:#ebebeb;border:1px solid #dedede}.sponsor-art img{width:100%;height:100%;object-fit:cover;filter:saturate(.65)}.sponsor-art>span{position:absolute;bottom:1rem;left:1rem;background:#ffffffcf;padding:.4rem .7rem;font-size:.62rem;letter-spacing:.12em;color:#666666}.support-purposes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--line);margin-bottom:3rem}.support-purposes article{padding:1.7rem 2rem 1.8rem 0}.support-purposes article+article{border-left:1px solid var(--line);padding-left:2rem}.support-purposes article>span{font-size:.75rem;color:#666666}.support-purposes h2{font-size:1.1rem;margin:.4rem 0 .65rem}.support-purposes p{color:#666666;font-size:.82rem;line-height:1.85}.sponsor-selection{padding:2rem}.sponsor-selection .section-heading h2{font-size:1.65rem}.sponsor-amounts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.sponsor-amount{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;border:1px solid #dedede;background:#fafbf7;padding:1.1rem 1.3rem;min-height:6rem;border-radius:3px;text-align:left;position:relative}.sponsor-amount:hover{border-color:#9e9e9e}.sponsor-amount[aria-pressed=true]{background:#f0f0f0;border-color:#848484;box-shadow:inset 0 0 0 1px #848484}.sponsor-amount[aria-pressed=true]::after{content:'✓';position:absolute;right:.7rem;top:.6rem;font-size:.9rem;color:#666666}.sponsor-amount>strong{font-size:1.7rem;line-height:1.4;font-weight:600}.sponsor-amount strong>small{font-size:.85rem;vertical-align:baseline;margin-right:.3rem;color:#666666}.sponsor-amount>span{font-size:.78rem;margin-top:.3rem;color:#666666}.sponsor-amount>small{font-size:.68rem;color:#666666;line-height:1.6;margin-top:.3rem}.sponsor-custom{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;flex-wrap:wrap;margin:1.4rem 0 1rem}.sponsor-custom>.field{max-width:24rem;flex:1;margin-bottom:0;min-width:12rem}.amount-input{display:flex;align-items:center;gap:.5rem;border:1px solid #dbdbdb;padding-left:.9rem;background:#fff;border-radius:3px}.amount-input>span{color:#666666}.amount-input>input{border:0}.sponsor-selection>.field-help{max-width:60rem}.donation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.donation-grid .panel+.panel{margin-top:0}.donation-grid h3{font-size:1.1rem;margin-bottom:.7rem}.donation-grid p{font-size:.83rem;color:#666666}.donation-qr{width:11rem;height:11rem;object-fit:contain;margin:1rem 0}.payment-contact{grid-column:1/-1;display:flex;align-items:center;gap:1.5rem}.payment-contact>div{flex:1;min-width:0}.payment-contact .text-link{white-space:nowrap}.levels-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:2rem 0}.levels-grid>div{padding:1.4rem;border:1px solid var(--line);background:white}.levels-grid p{font-size:.8rem;color:var(--muted)}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sponsor-form .form-submit{align-items:center}.sponsor-form .form-submit .button{flex-shrink:0}.sponsor-form .form-submit small{min-width:8rem}.ai-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:3rem;align-items:center;margin:3.8rem 0 4.5rem}.ai-hero-copy>.overline{margin:1.8rem 0 .6rem}.ai-hero-copy h1{font-size:2.8rem;line-height:1.55;max-width:35rem;letter-spacing:.025em}.ai-hero-copy .lead{font-size:1rem;color:#666666;margin-top:1.5rem}.ai-actions{display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap;margin-top:1.8rem}.ai-hero-copy>.field-help{margin-top:1.3rem;max-width:34rem}.ai-hero-art{position:relative;background:#ededed;overflow:hidden;min-width:0}.ai-hero-art img{width:100%;aspect-ratio:1.02;object-fit:cover}.ai-hero-art figcaption{padding:1rem 1.25rem;font-size:.62rem;letter-spacing:.08em;color:#666666;background:#f3f3f3;border:1px solid #e3e3e3;border-top:0}.project-status{background:#f2f2f2;color:#666666;padding:.35rem .7rem;font-size:.68rem;border-color:#e0e0e0}.project-status .icon{width:.9rem;height:.9rem}.ai-introduction{display:grid;grid-template-columns:1fr 1.6fr;gap:5rem;border-block:1px solid var(--line);padding:3rem 0}.ai-introduction h2{font-size:1.9rem;margin-top:.6rem;line-height:1.6}.ai-introduction p{font-size:.95rem;line-height:2;color:#666666}.ai-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e3e3e3;background:#fff}.ai-step{padding:1.8rem 1.5rem;min-width:0}.ai-step+.ai-step{border-left:1px solid #e3e3e3}.ai-step-top{display:flex;align-items:center;justify-content:space-between;font-size:1.6rem;font-weight:400;color:#666666;margin-bottom:1.8rem}.ai-step-top .icon{width:1.7rem;height:1.7rem;color:#666666}.ai-step h3{font-size:1.1rem;line-height:1.65;margin-bottom:.7rem}.ai-step p{font-size:.8rem;line-height:1.95;color:#666666}.ai-principles{display:grid;grid-template-columns:1fr 1.5fr;gap:4rem;background:#ededed;padding:2.6rem 3rem;margin:3rem 0}.ai-principles-heading h2{font-size:1.9rem;margin-top:.7rem;line-height:1.6}.ai-principles article{padding:1.1rem 0;border-bottom:1px solid #d6d6d6}.ai-principles article:first-child{padding-top:0}.ai-principles article:last-child{padding-bottom:0;border:0}.ai-principles h3{font-size:1rem;margin-bottom:.5rem}.ai-principles p{font-size:.84rem;color:#666666;line-height:1.9}.ai-support{display:grid;grid-template-columns:1.65fr 1fr;gap:4rem;padding:3rem 0 1rem;align-items:center}.ai-support h2{font-size:2.1rem;margin:.7rem 0 1rem}.ai-support>div>p{color:#666666;font-size:.95rem;line-height:2}.ai-support-note{padding:2rem;border-left:1px solid #e1e1e1}.ai-support-note>span{font-size:.7rem;color:#666666;letter-spacing:.08em}.ai-support-note>strong{display:block;font-size:3rem;line-height:1.3;font-weight:400;margin:.75rem 0 1rem;color:#666666}.ai-support-note strong small{display:block;font-size:.72rem;color:#666666;margin-top:.4rem}.ai-support-note p{font-size:.8rem!important;color:#666666!important}

/* Native modals, share QR and full-screen image reader. */
dialog{border:1px solid #dadada;color:var(--ink);border-radius:6px;background:#fff;padding:0}dialog::backdrop{background:#1f1f1f80;backdrop-filter:blur(3px)}.consult-dialog{width:min(42rem,calc(100vw - 2rem));max-height:calc(100dvh - 3rem);overflow:auto;padding:1.8rem 2rem;margin:auto}.consult-dialog:target:not([open]){display:block;position:fixed;inset:0;z-index:120;box-shadow:0 0 0 100vmax #1f1f1f80}.consult-dialog[data-dialog-fallback][open]{position:fixed;inset:0;z-index:120;display:block;box-shadow:0 0 0 100vmax #1f1f1f80}.dialog-head,.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.dialog-head h2,.dialog-heading h2{font-size:1.65rem;margin-top:.3rem}.dialog-close{display:inline-flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;flex:none;border:1px solid #ddd;border-radius:50%;font-size:1.5rem;line-height:1;background:#fff}.dialog-heading>.icon-button{margin-top:.15rem}.consult-dialog>p.muted{font-size:.83rem;margin-bottom:1.3rem}.consult-dialog .form-submit{margin-top:1.1rem}.consult-dialog .notice{margin-top:0}.site-qr-dialog{width:min(28rem,calc(100vw - 2rem));padding:1.7rem;max-height:calc(100dvh - 2rem);overflow:auto}.site-qr-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.site-qr-heading h2{font-size:1.5rem;margin:.3rem 0}.site-qr-heading p{color:#666666;font-size:.8rem}.site-qr-output{margin:1.2rem auto;width:min(100%,18rem);min-height:12rem;display:grid;place-items:center;background:#fff}.site-qr-output img{width:100%;height:auto;image-rendering:pixelated}.site-qr-output p{font-size:.85rem;color:#666666;text-align:center;padding:1rem}.site-qr-address{display:block;text-align:center;font-size:.8rem;overflow-wrap:anywhere;color:#666666}.site-qr-actions{display:flex;justify-content:center;gap:.7rem;margin:1.2rem 0}.site-qr-tip{font-size:.73rem;text-align:center;color:#666666}.site-share-noscript{font-size:.75rem;line-height:1.8;margin-top:1rem}.site-qr-fallback-open .site-qr-dialog[open]{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:140;margin:0;box-shadow:0 0 0 100vmax #1f1f1f80}.image-viewer{width:calc(100vw - 2rem);height:calc(100dvh - 2rem);max-width:none;max-height:none;overflow:hidden;background:#2c2c2c;color:#fff;margin:auto;border:0;border-radius:3px}.image-viewer[open]{display:flex;flex-direction:column}.viewer-bar{padding:.7rem 1rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;border-bottom:1px solid #ffffff25;background:#272727}.viewer-bar>span{font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewer-bar>div{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.viewer-bar button,.viewer-bar a{display:inline-flex;align-items:center;justify-content:center;min-width:2.2rem;min-height:2.2rem;background:#ffffff12;color:#fff;border:1px solid #ffffff30;border-radius:3px}.viewer-bar [data-zoom-label]{font-size:.75rem;min-width:2.6rem;text-align:center}.viewer-canvas{flex:1;overflow:hidden;display:grid;place-items:center;touch-action:none;min-height:0;cursor:grab;position:relative}.viewer-canvas img{max-width:100%;max-height:100%;object-fit:contain;user-select:none;transform-origin:center;will-change:transform}.viewer-canvas:active{cursor:grabbing}.viewer-nav{display:flex;justify-content:space-between;align-items:center;padding:.7rem 1rem;border-top:1px solid #ffffff25;background:#272727;font-size:.8rem}.viewer-nav button{display:flex;align-items:center;gap:.5rem;color:#fff;background:none;padding:.4rem}.floating-tools{position:fixed;z-index:70;bottom:2rem;right:1.1rem}.floating-tools>summary{display:flex;align-items:center;justify-content:center;flex-direction:column;width:3.1rem;height:3.1rem;border:1px solid #d6d6d6;border-radius:50%;background:#fff;color:#666666;box-shadow:0 3px 15px #32323212;font-size:.55rem}.floating-tools>summary .icon{width:1.1rem;height:1.1rem}.floating-tools[open]>summary>.icon{transform:rotate(45deg)}.floating-tools-panel{position:absolute;bottom:3.7rem;right:0;width:10rem;padding:.5rem;background:white;border:1px solid #dcdcdc;border-radius:4px;box-shadow:0 6px 20px #32323212}.floating-tools-panel a,.floating-tools-panel button{display:flex;align-items:center;gap:.6rem;padding:.65rem .75rem;width:100%;background:none;border:0;font-size:.78rem;text-align:left}.floating-tools-panel a:hover,.floating-tools-panel button:hover{background:#f2f2f2;color:#666666}.floating-tools-panel .icon{width:1rem;height:1rem}

/* Standalone tools. The seven-column calendar never exceeds its own container. */
.tools-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.utility-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:#fff;border:1px solid var(--line);padding:1.8rem}.utility-card>.icon,.utility-card-icon{width:2.5rem;height:2.5rem;padding:.5rem;background:#f1f1f1;color:#666666;border-radius:50%;margin-bottom:1rem}.utility-card-symbol{display:flex;align-items:center;justify-content:space-between;width:100%;color:#666;font-size:.7rem;margin-bottom:1rem}.utility-card-symbol>.icon{width:2.4rem;height:2.4rem;padding:.5rem;background:#f2f2f2;border-radius:50%;color:#444}.utility-card h2{font-size:1.35rem;margin:.3rem 0 .7rem}.utility-card p{color:#666666;font-size:.85rem;line-height:1.9;margin-bottom:1.3rem}.utility-card .text-link{margin-top:auto;font-size:.8rem}.utility-shell{max-width:70rem;margin-inline:auto}.utility-layout{display:grid;grid-template-columns:minmax(0,1fr) 20rem;gap:1.5rem;align-items:start}[data-tool-page=auspicious-date] .utility-layout{grid-template-columns:20rem minmax(0,1fr)}.utility-panel{min-width:0}.utility-panel h2{font-size:1.45rem;margin-bottom:1rem}.utility-panel form{min-width:0}.utility-note{font-size:.82rem;color:#666666;background:#f2f2f2;border:1px solid #e2e2e2;padding:1.2rem;margin:1.2rem 0;line-height:1.9}.utility-result{display:block;background:#f2f2f2;border:1px solid #e0e0e0;padding:1.4rem;margin-top:1.4rem;min-width:0;overflow-wrap:anywhere}.utility-result:empty{display:none}.utility-result strong{font-size:1.6rem;font-weight:600}.utility-result p{font-size:.9rem;line-height:1.9}.utility-status{font-size:.82rem;color:#666666;margin:1rem 0}.utility-empty{padding:1.5rem;border:1px dashed #d8d8d8;background:#f6f6f6;font-size:.85rem;color:#666666;text-align:center}.utility-related{margin-top:2.5rem;border-top:1px solid var(--line);padding-top:1.5rem;display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.utility-related h2{font-size:1.1rem}.utility-related a{font-size:.8rem;border:1px solid #dddddd;background:#fff;padding:.4rem .8rem}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap;margin-bottom:1.4rem}.calendar-toolbar>div{display:flex;align-items:center;gap:.5rem;min-width:0}.calendar-toolbar>.field{flex:1;min-width:7rem;max-width:12rem;margin:0}.calendar-toolbar>button{align-self:flex-end}.calendar-table caption{font-size:1.35rem;text-align:left;font-weight:600;padding:.75rem 0 1rem;color:#242424}[data-tools-calendar-date-form]{margin-top:1rem}[data-tool-page=auspicious-date] .form-grid{grid-template-columns:1fr}.calendar-activities>section>h3{margin:0;font-size:.85rem;flex:none}.calendar-ji>h3{color:var(--accent)!important}.calendar-toolbar h2{font-size:1.5rem;margin:0}.calendar-toolbar select{width:auto;max-width:8rem;padding:.5rem;font-size:.85rem}.calendar-toolbar button{font-size:.8rem;min-height:2.4rem;padding:.45rem .75rem}.calendar-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(14rem,1fr);gap:1.5rem;align-items:start}.calendar-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;background:#fff;border:1px solid #e2e2e2}.calendar-table th{padding:.6rem .1rem;color:#666666;font-size:.75rem;font-weight:400;border-bottom:1px solid #e2e2e2;background:#f4f4f4;text-align:center}.calendar-table td{padding:0;min-width:0;width:calc(100%/7);height:4.8rem;border:1px solid #eaeaea;vertical-align:top}.calendar-day{display:flex;width:100%;height:100%;min-height:4.8rem;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:.05rem;background:#fff;border:0;position:relative;padding:.35rem .1rem;font-size:1.1rem;line-height:1.6;color:#545454}.calendar-day:hover{background:#f3f3f3}.calendar-day[aria-pressed=true]{background:#ebebeb;color:#535353;box-shadow:inset 0 0 0 2px #939393}.calendar-day.is-today::after{content:'';width:4px;height:4px;background:#a45835;border-radius:50%;position:absolute;top:.35rem;right:.4rem}.calendar-day.is-outside{opacity:.35;background:#f5f5f5;cursor:default}.calendar-day-lunar,.calendar-day-label{font-size:.72rem;line-height:1.45;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#666666;padding:0 .1rem}.calendar-day-label{color:#9c653f}.calendar-detail{padding:1.4rem;background:#fff;border:1px solid #e0e0e0;min-width:0}.calendar-detail h2{font-size:1.3rem}.calendar-detail h3{font-size:1rem;margin:1rem 0 .6rem}.calendar-detail p{font-size:.85rem;color:#666666;margin-top:.5rem}.calendar-facts{display:grid;grid-template-columns:1fr;gap:.5rem;font-size:.78rem;margin:1rem 0}.calendar-facts>div{display:grid;grid-template-columns:auto 1fr;gap:.8rem}.calendar-facts dt{color:#666666}.calendar-facts dd{margin:0;overflow-wrap:anywhere}.calendar-activities{display:grid;gap:.75rem;margin-top:1rem;font-size:.8rem}.calendar-activities>div,.calendar-activities>section{display:flex;align-items:start;gap:.6rem}.calendar-activities strong,.calendar-activities>section>h3{display:inline-grid;place-items:center;min-width:1.7rem;min-height:1.7rem;font-weight:500;background:#f1f1f1;color:#666666}.calendar-activities p{margin:0;font-size:.78rem;line-height:1.9}.date-search-results>.utility-empty{grid-column:1/-1}.date-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem}.date-result-card{padding:1.2rem;border:1px solid #dfdfdf;background:#fff;min-width:0}.date-result-card h3{font-size:1.15rem;margin-bottom:.6rem}.date-result-card p{font-size:.8rem;color:#666666;margin-top:.4rem}.date-result-card .text-link{margin-top:.8rem;font-size:.75rem}.calculator-keys{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:1rem}.calculator-keys button{min-height:3rem;border:1px solid #dfdfdf;background:#f5f5f5;font-size:1.1rem;border-radius:2px}.calculator-keys button:hover{background:#ebebeb}.utility-panel output{display:block;font-size:1.2rem;margin-top:1rem;overflow-wrap:anywhere}.utility-panel .checkbox{font-size:.8rem}

/* Music, informational, handoff and error pages. */
.music-topic{max-width:66rem;margin-inline:auto}.song-introduction{display:grid;grid-template-columns:1fr 1.3fr;gap:2rem;align-items:center;margin:2rem 0}.song-title-art{min-height:15rem;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#ececec;color:#646464;border:1px solid #dddddd;padding:2rem}.song-title-art h2,.song-title-art strong{font-family:ZySans,'PingFang SC','Microsoft YaHei',sans-serif;font-size:2.8rem;letter-spacing:.15em}.song-title-art small{color:#666666;margin-top:.7rem;letter-spacing:.1em}.song-introduction p{color:#666666;font-size:.9rem;line-height:1.95}.music-platforms{display:grid;gap:1.2rem;margin:2rem 0}.music-platform{background:white;border:1px solid var(--line);padding:1.5rem}.music-platform-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.music-platform-heading h2{font-size:1.25rem}.music-platform-heading p,.music-link-caption{font-size:.8rem;color:#666666}.music-embed-consent{background:#f3f3f3;padding:1.3rem;border:1px solid #e2e2e2;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.music-embed-consent p{font-size:.85rem;color:#666666}.music-frame iframe{border:0;width:100%;max-width:100%;height:175px}.song-link{display:inline-flex;align-items:center;gap:.7rem;font-size:.85rem;text-decoration:underline;text-underline-offset:3px}.prose-page{max-width:58rem;margin:3rem auto}.prose-page h1{font-size:2.5rem;margin:.4rem 0 2rem}.out-panel{max-width:42rem;margin:4rem auto;background:#fff;border:1px solid var(--line);padding:2.5rem}.out-panel h1{font-size:1.9rem;margin:.6rem 0 1.2rem}.out-panel p{font-size:.95rem;color:#666666;line-height:1.95}.out-panel code{font-size:.8rem;display:block;padding:.9rem;background:#f3f3f3;overflow-wrap:anywhere;margin:1rem 0;color:#666666}.out-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.7rem}.error-page{text-align:center;max-width:42rem;margin:4rem auto;padding:2rem}.error-number{font-size:5rem;line-height:1.3;color:#666666;font-weight:400}.error-page h1{font-size:2rem;margin:.5rem 0 1rem}.error-page p{color:#666666}.error-page .button{margin-top:1.7rem}

/* Footer and viewport adaptations. */
.community-banner{background:#eeeeee;border-block:1px solid #e0e0e0;padding:2.1rem 0}.community-banner>.container{display:flex;align-items:center;justify-content:space-between;gap:2rem}.community-banner h2{font-size:1.6rem;margin-top:.4rem}.banner-actions{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap;flex-shrink:0}.banner-actions .button{font-size:.85rem}.site-footer{background:#fff;padding:3rem 0 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;padding-bottom:2.5rem}.footer-identity .brand strong{font-size:1.35rem}.footer-identity p{font-size:.78rem;color:#666666;margin:1rem 0 1.2rem;line-height:1.9}.footer-identity .overline{font-size:.62rem}.footer-grid h3{font-size:.85rem;font-weight:600;margin-bottom:1rem}.footer-grid>div:not(:first-child)>a{display:block;font-size:.76rem;color:#666666;margin-bottom:.65rem}.footer-grid>div:not(:first-child)>a:hover{color:var(--accent)}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1.1rem 0;border-top:1px solid #e5e5e5;font-size:.7rem;color:#666666}.footer-bottom small{font-size:.65rem}.footer-bottom>a{display:flex;align-items:center;gap:.5rem}.footer-bottom .icon{width:.8rem;height:.8rem}.mobile-nav{display:none}
@media(min-width:1400px){.heritage-category-grid{width:calc(100vw - 16px);margin-left:calc((1280px - 100vw + 16px)/2)}.heritage-category{aspect-ratio:1.02;min-height:13rem}.nav-group>summary{font-size:1.125rem}.brand strong{font-size:1.5rem}}
@media(max-width:1200px){.container{width:calc(100% - 3rem)}.header-inner{gap:.7rem}.header-actions{gap:.75rem}.brand-cluster{gap:.6rem}.brand-qr{padding-left:.6rem}.brand-qr>span{display:none}.header-project{font-size:.7rem}.account-link span{display:none}.nav-inner{gap:1rem}.header-search{max-width:15rem;flex-basis:12rem}.nav-group>summary{font-size:.9rem}.heritage-category-grid{width:calc(100% + 3rem);margin-left:-1.5rem}.heritage-category{padding:.9rem;aspect-ratio:.84}.category-copy h2{font-size:1.3rem}.category-en{font-size:.53rem}.official-channels{grid-template-columns:1fr;gap:1.3rem}.official-heading{display:flex;align-items:baseline;gap:1.2rem;flex-wrap:wrap}.official-heading .overline{display:none}.official-heading h2{margin:0}.social-channel-grid{gap:1rem}.story-grid,.listing-grid{gap:1.25rem}.article-layout{gap:2rem;grid-template-columns:minmax(0,1fr) 16rem}.form-layout{gap:2rem;grid-template-columns:16rem minmax(0,1fr)}.auth-layout{gap:3rem}.sponsor-hero{gap:3rem}.ai-hero{gap:2rem}.ai-hero-copy h1{font-size:2.6rem}.ai-introduction{gap:3rem}.ai-principles{gap:2.5rem;padding:2.3rem}.ai-step{padding:1.5rem 1.2rem}.editor-layout{grid-template-columns:minmax(0,1fr) 18rem}.footer-grid{gap:2rem}}
@media(max-width:1000px){.header-inner{padding-block:.6rem;flex-wrap:wrap;row-gap:.6rem}.header-actions{margin-left:auto}.text-size-controls button{font-size:.63rem}.brand strong{font-size:1.3rem}.header-project{display:none}.nav-inner{gap:.8rem;min-height:4rem}.header-search{max-width:13rem}.header-search input{font-size:.75rem}.nav-group>summary{font-size:.84rem}.nav-group>summary .icon{width:.6rem}.heritage-category-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.heritage-category{aspect-ratio:.7;padding:.75rem}.category-copy h2{font-size:1.15rem;line-height:1.5}.category-en{font-size:.5rem}.category-number{font-size:.55rem}.category-arrow{width:1.3rem;height:1.3rem}.heritage-context{gap:2rem;grid-template-columns:1.4fr 1fr}.story-grid,.listing-grid,.member-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.story-grid>.story-card:nth-child(4){display:flex}.archive-band{gap:2rem;padding:2.2rem}.topic-grid,.organization-grid,.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.region-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.heritage-statistics{grid-template-columns:1fr;gap:1.5rem}.heritage-stat-grid a:first-child{border:0;padding-left:0}.page-heading{display:block;padding-top:2.5rem}.page-heading>p{margin-top:1rem;max-width:52rem}.article-layout{grid-template-columns:minmax(0,1fr)}.article-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.article-sidebar>.panel,.article-sidebar>.heritage-panel{margin:0}.article-heading{max-width:100%}.article-heading h1{font-size:2.3rem}.editor-layout{grid-template-columns:minmax(0,1fr)}.editor-layout aside{position:static}.editor-layout aside .sticky-panel{display:block}.sponsor-hero h1{font-size:2.3rem}.sponsor-hero{gap:2rem}.support-purposes article{padding-right:1.3rem}.support-purposes article+article{padding-left:1.3rem}.ai-hero-copy h1{font-size:2.3rem}.ai-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.ai-step:nth-child(3){border-left:0;border-top:1px solid #e3e3e3}.ai-step:nth-child(4){border-top:1px solid #e3e3e3}.ai-introduction{gap:2rem;grid-template-columns:1fr 1.3fr}.ai-introduction h2{font-size:1.7rem}.ai-support{gap:2rem}.utility-layout,[data-tool-page=auspicious-date] .utility-layout{grid-template-columns:1fr}.utility-related{font-size:.8rem}.calendar-layout{grid-template-columns:minmax(0,1.6fr) minmax(13rem,1fr)}.calendar-detail{padding:1.1rem}.tools-directory{gap:1rem}.utility-card{padding:1.4rem}.community-banner>.container{align-items:flex-start}.community-banner h2{font-size:1.4rem}.banner-actions{flex-direction:column;align-items:stretch}.footer-grid{grid-template-columns:1.5fr 1fr 1fr 1fr;gap:1.5rem}.footer-identity .brand strong{font-size:1.15rem}}
@media(max-width:800px){.container{width:calc(100% - 2rem)}.header-inner{display:grid;grid-template-columns:1fr auto;min-height:3.5rem;gap:.45rem;padding-block:.65rem}.brand-cluster{grid-column:1}.header-actions{display:contents}.header-project{display:none}.text-size-controls{grid-column:1;grid-row:2;justify-self:start;display:flex!important}.language-links{grid-column:2;grid-row:2}.menu-toggle{grid-column:2;grid-row:1;justify-self:end}.brand-cluster{gap:.5rem;flex-shrink:1;min-width:0}.brand strong{font-size:1.25rem;letter-spacing:.04em}.brand>img{width:1.8rem;height:1.8rem}.brand-qr{padding-left:.5rem}.brand-qr>.icon{width:1.1rem;height:1.1rem}.header-actions{gap:.6rem;flex-shrink:0}.language-links{font-size:.65rem;gap:.4rem}.text-size-controls{display:flex}.account-link{display:none}.menu-toggle{display:inline-flex;width:2rem;height:2rem;background:transparent;border:0}.main-nav{display:block;background:white}.has-js .main-nav{display:none}.main-nav.open{display:block}.nav-inner{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:1rem 0}.header-search{max-width:none;flex:auto;margin-bottom:.8rem;min-height:2.7rem}.header-search input{font-size:.85rem}.nav-group{border-top:1px solid #ebebeb}.nav-group>summary{font-size:1rem;justify-content:space-between;padding:.9rem .2rem}.nav-group>summary .icon{width:.85rem}.nav-dropdown,.nav-group:nth-last-child(-n+2) .nav-dropdown{position:static;width:100%;max-width:100%;box-shadow:none;border:1px solid #e3e3e3;border-radius:3px;margin-bottom:1rem}.nav-panel-heading{padding:.9rem 1rem}.nav-panel-links>a{padding:.75rem}.nav-panel-heading strong{font-size:.9rem}.main-nav.open::after{content:'';display:block;border-top:1px solid #ebebeb}.heritage-explore{padding-top:2.5rem}.explore-heading{margin-bottom:2.2rem}.explore-heading h1{font-size:2.5rem;line-height:1.5}.explore-heading p{font-size:.85rem;max-width:36rem}.heritage-category-grid{width:calc(100% + 2rem);margin-left:-1rem;grid-template-columns:repeat(4,minmax(0,1fr))}.heritage-category{aspect-ratio:1.03;padding:1rem}.heritage-category:nth-last-child(-n+2){grid-column:span 2;aspect-ratio:2.05}.category-copy h2{font-size:1.4rem}.category-en{font-size:.6rem}.category-arrow{width:1.5rem;height:1.5rem}.catalog-footer{font-size:.68rem}.home-discovery{gap:1rem;margin:2rem 0}.home-discovery-panel{padding:1.4rem}.home-discovery-panel h2{font-size:1.2rem}.official-channels{margin:1.7rem 0}.social-channel{flex-direction:column;align-items:flex-start;gap:.8rem}.social-qr{width:5.5rem;height:5.5rem}.social-channel-copy h3{font-size:.9rem}.heritage-context{margin:2rem 0;padding:2rem 0;gap:1.5rem}.lineage-overview h2{font-size:1.45rem}.lineage-overview p{font-size:.85rem}.heritage-almanac{padding:1.3rem}.heritage-almanac .overline{font-size:.6rem}.almanac-title h2{font-size:1.15rem}.heritage-almanac time{font-size:1.4rem}.section{margin-block:2.5rem}.section-heading h2{font-size:1.55rem}.section-heading .text-link{font-size:.78rem}.story-grid,.listing-grid,.member-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.3rem}.story-copy h3{font-size:1rem}.archive-band{grid-template-columns:1fr;gap:1rem;padding:1.7rem}.archive-title h2{font-size:1.7rem}.archive-title p{max-width:36rem}.archive-title h2 br{display:none}.archive-records{margin-top:1rem}.roots-intro{grid-template-columns:1fr}.origin-seal{display:none}.page-heading h1{font-size:2.15rem}.page-heading .overline{font-size:.64rem}.page-heading>p{font-size:.85rem}.form-layout{grid-template-columns:1fr;gap:1.5rem}.form-intro{display:none}.application-form{padding:1.5rem}.auth-layout{gap:2rem;margin:2.5rem auto;grid-template-columns:.9fr 1.1fr}.auth-story h1{font-size:2.05rem}.auth-story p{font-size:.86rem}.auth-form{padding:1.5rem}.auth-form h2{font-size:1.6rem}.auth-form .membership-choice>span>.icon{display:none}.auth-form .membership-choice{padding:.65rem;gap:.4rem}.auth-form .membership-choice strong{font-size:.78rem}.account-layout{grid-template-columns:1fr;gap:1.5rem}.account-nav{position:static;display:flex;flex-wrap:wrap;gap:.2rem;padding:.6rem}.account-nav>a{font-size:.75rem;padding:.5rem .7rem;border:0;white-space:nowrap}.account-nav .icon{display:none}.account-nav form{margin:0;display:flex;align-items:center;padding:.5rem .7rem}.account-nav button{font-size:.75rem}.account-heading{padding-top:2rem}.account-heading h1{font-size:1.75rem}.account-heading .overline{font-size:.6rem}.account-heading>.button{font-size:.8rem;padding:.65rem 1rem}.sponsor-hero{grid-template-columns:1.2fr 1fr;gap:1.7rem;padding:2.8rem 0 2rem}.sponsor-hero h1{font-size:2rem}.sponsor-hero>div>p{font-size:.9rem}.sponsor-art{aspect-ratio:.9}.sponsor-art>span{font-size:.52rem;left:.6rem;bottom:.6rem;padding:.3rem .5rem}.support-purposes h2{font-size:1rem}.support-purposes p{font-size:.75rem}.sponsor-selection{padding:1.5rem}.sponsor-selection .section-heading{align-items:start;flex-direction:column;gap:.5rem}.sponsor-selection .section-heading h2{font-size:1.45rem}.sponsor-amounts{gap:.6rem}.sponsor-amount{padding:1rem;min-height:5.7rem}.sponsor-amount>strong{font-size:1.4rem}.sponsor-amount>span{font-size:.7rem}.donation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-contact{flex-wrap:wrap}.payment-contact>.text-link{margin-left:4.5rem}.ai-hero{gap:1.7rem;margin-top:2.7rem;margin-bottom:3rem}.ai-hero-copy h1{font-size:2.05rem}.ai-hero-copy .lead{font-size:.9rem}.ai-hero-art img{aspect-ratio:.8}.ai-actions{gap:1rem}.ai-actions .button{font-size:.82rem;padding:.7rem 1rem}.ai-actions .text-link{font-size:.78rem}.ai-hero-copy>.field-help{font-size:.73rem}.ai-introduction{grid-template-columns:1fr;gap:1.5rem;padding:2rem 0}.ai-introduction h2 br{display:none}.ai-introduction h2{font-size:1.7rem}.ai-introduction p{font-size:.9rem}.ai-principles{padding:1.8rem;gap:2rem;grid-template-columns:1fr}.ai-principles-heading h2{font-size:1.7rem}.ai-support{grid-template-columns:1.4fr 1fr;gap:1.5rem}.ai-support h2{font-size:1.8rem}.ai-support>div>p{font-size:.85rem}.ai-support-note{padding:1.2rem}.ai-support-note>strong{font-size:2.5rem}.tools-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.utility-card h2{font-size:1.2rem}.calendar-layout{grid-template-columns:1fr}.calendar-table td,.calendar-day{min-height:4.9rem;height:4.9rem}.calendar-detail{padding:1.4rem}.calendar-detail>div{min-width:0}.utility-related{gap:.7rem}.song-introduction{grid-template-columns:1fr 1fr}.song-title-art{min-height:13rem;padding:1.5rem}.song-title-art h2,.song-title-art strong{font-size:2.2rem}.music-embed-consent{flex-direction:column;align-items:flex-start;gap:1rem}.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.footer-identity{grid-column:1/-1;border-bottom:1px solid #e5e5e5;padding-bottom:1.5rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}.footer-identity p{margin:0}.footer-identity>.overline{display:none}.site-footer{padding-top:2rem}.community-banner h2{font-size:1.2rem}.community-banner .overline{font-size:.55rem}.banner-actions{gap:.6rem;flex-direction:row}.banner-actions .button{font-size:.75rem;padding:.6rem .9rem}.community-banner>.container{flex-direction:column;gap:1.2rem}.footer-bottom small{font-size:.6rem}.floating-tools{bottom:5rem;right:.7rem}.floating-tools>summary{width:2.8rem;height:2.8rem}.mobile-nav{position:fixed;z-index:65;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e3e3e3;background:#ffffffed;backdrop-filter:blur(12px);padding:.45rem .4rem calc(.4rem + env(safe-area-inset-bottom));box-shadow:0 -2px 20px #26262610}.mobile-nav a{display:flex;flex-direction:column;align-items:center;gap:.15rem;color:#666666;font-size:.6rem}.mobile-nav .icon{width:1.15rem;height:1.15rem}.mobile-nav a[aria-current=page]{color:#555555}.site-footer{padding-bottom:4.8rem}.main-content{padding-bottom:3rem}}
@media(max-width:560px){.container{width:calc(100% - 2rem)}.header-inner{min-height:3.65rem}.brand strong{font-size:1.08rem;letter-spacing:.025em}.brand>img{width:1.65rem;height:1.65rem}.brand{gap:.4rem}.brand-qr{border:0;padding-left:0}.header-actions{gap:.35rem}.language-links{font-size:.59rem;gap:.35rem}.menu-toggle{width:1.6rem}.menu-toggle>.icon{width:1.25rem}.brand-cluster{gap:.45rem}.explore-heading h1{font-size:2rem;line-height:1.5;letter-spacing:.035em}.explore-heading .overline{font-size:.57rem;letter-spacing:.08em}.explore-heading p{font-size:.78rem;margin-top:.75rem;line-height:1.9;max-width:25rem}.heritage-explore{padding-top:2.2rem}.explore-heading{margin-bottom:1.8rem}.heritage-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html[lang=en] .heritage-category{min-height:11rem}.heritage-category{aspect-ratio:1.35;min-height:9rem;padding:1rem}.heritage-category:nth-last-child(-n+2){grid-column:auto;aspect-ratio:1.35}.category-copy h2{font-size:1.35rem}.category-en{font-size:.56rem}.category-copy{margin-top:1rem}.catalog-footer{padding:.9rem 0;font-size:.65rem}.catalog-footer>span{display:none}.catalog-footer>a{margin-left:auto}.home-discovery{grid-template-columns:1fr;gap:1rem}.home-discovery-panel{padding:1.4rem}.home-discovery-panel .overline{font-size:.6rem}.official-heading{gap:.4rem 1rem}.official-heading h2{font-size:1.15rem}.official-heading p{font-size:.72rem}.social-channel-grid{gap:.65rem}.social-channel{gap:.6rem}.social-qr{width:4.5rem;height:4.5rem;padding:.35rem}.social-channel-copy h3{font-size:.78rem}.social-channel-copy p{font-size:.63rem;line-height:1.75}.social-channel-copy .text-link{font-size:.58rem;gap:.25rem;line-height:1.7}.social-channel-copy .text-link .icon{width:.7rem;height:.7rem}.social-pending{font-size:.57rem}.heritage-context{grid-template-columns:1fr;gap:1.4rem;padding:1.7rem 0}.lineage-overview h2{font-size:1.45rem}.lineage-overview p{font-size:.85rem}.lineage-overview .text-link{font-size:.8rem;margin-top:1rem}.heritage-almanac{padding:1.25rem 1.4rem;display:grid;grid-template-columns:1.3fr 1fr;gap:.1rem 1rem;align-items:center}.heritage-almanac>.overline{grid-column:1/-1}.almanac-title{margin:.3rem 0}.almanac-title>.icon:last-child{display:none}.heritage-almanac time{font-size:1.25rem;text-align:right}.heritage-almanac [data-lunar-text]{grid-column:1/-1;font-size:.75rem}.almanac-caption{grid-column:1/-1;margin-top:.5rem;font-size:.65rem}.section{margin:2rem 0}.section-heading{gap:.7rem;align-items:flex-end;margin-bottom:1.2rem}.section-heading h2{font-size:1.35rem;line-height:1.6}.section-heading .overline{font-size:.55rem;letter-spacing:.09em}.section-heading .text-link{font-size:.7rem;gap:.4rem;white-space:nowrap;flex-shrink:0}.section-heading>span{font-size:.7rem}.story-grid,.listing-grid{gap:1rem .8rem}.story-image{aspect-ratio:1.25}.story-copy{padding:.75rem 0 .5rem}.story-copy h3{font-size:.93rem;line-height:1.7;margin:.4rem 0}.story-copy>p{font-size:.7rem;-webkit-line-clamp:2;margin-bottom:.6rem}.eyebrow{font-size:.55rem;gap:.2rem;align-items:flex-start}.eyebrow time{font-size:.52rem}.card-foot{font-size:.55rem;padding-top:.6rem;gap:.3rem;flex-wrap:wrap}.card-foot>.card-details{margin-left:0}.card-foot>span{font-size:.55rem}.card-details{gap:.25rem}.card-foot .icon{width:.7rem;height:.7rem}.cover-kicker{left:.45rem;bottom:.45rem;padding:.15rem .4rem;font-size:.52rem}.card-play{width:2rem;height:2rem}.card-play .icon{width:.85rem;height:.85rem}.archive-band{padding:1.4rem;gap:.3rem}.archive-title h2{font-size:1.55rem}.archive-title p{font-size:.82rem;line-height:1.9}.archive-row{gap:.8rem;padding:1rem 0}.archive-row h3{font-size:.95rem}.archive-row p{font-size:.69rem}.archive-number{font-size:.65rem}.heritage-statistics{padding:1.7rem 0;margin:2rem 0}.heritage-statistics h2{font-size:1.35rem}.heritage-stat-grid{grid-template-columns:repeat(2,1fr);gap:1.2rem}.heritage-stat-grid a{padding-left:1rem}.heritage-stat-grid a:nth-child(3){border:0;padding-left:0}.heritage-stat-grid strong{font-size:1.85rem}.heritage-stat-grid span{font-size:.68rem}.page-heading{padding:2rem 0 1.5rem;margin-bottom:1.5rem}.page-heading h1{font-size:1.9rem;line-height:1.6;margin-top:.4rem}.page-heading>p{font-size:.82rem;margin-top:.85rem;line-height:1.9}.page-heading .overline{font-size:.57rem}.filter-bar,.archive-toolbar,.atlas-filter{gap:.7rem;margin:1.3rem 0}.filter-bar>.button,.archive-toolbar>.button{font-size:.75rem}.filter-bar>form,.archive-toolbar>form,.atlas-filter>form{gap:.6rem}.filter-bar .field{min-width:6.5rem}.filter-bar .search-input{flex-basis:100%}.category-filter{gap:.4rem}.category-filter a{font-size:.7rem;padding:.3rem .6rem}.results-heading{font-size:.75rem}.region-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.region-card{padding:1rem;gap:.4rem}.region-card h3{font-size:1rem}.region-card p{font-size:.7rem}.region-card-count{font-size:.6rem;gap:.35rem;flex-wrap:wrap}.region-card-top{font-size:.6rem}.atlas-region-summary{grid-template-columns:1fr;gap:1rem;padding:1.4rem}.atlas-region-summary h2{font-size:1.4rem}.topic-grid,.organization-grid,.channel-grid{grid-template-columns:1fr;gap:1rem}.topic-card{display:block}.topic-card .story-image{aspect-ratio:2}.topic-card-copy{padding:1.2rem}.topic-card-copy h2,.topic-card-copy h3{font-size:1.2rem}.organization-card,.channel-card{padding:1.4rem}.topic-introduction{padding:1.4rem}.topic-introduction p{font-size:.85rem}.channel-heading{padding:2rem 0 1.5rem;gap:1rem;flex-wrap:wrap}.channel-heading h1{font-size:1.75rem}.channel-heading>div{flex-basis:70%}.channel-heading p{font-size:.8rem}.channel-symbol{width:2.7rem;height:2.7rem;font-size:1.3rem}.breadcrumb{font-size:.65rem;gap:.4rem;margin:1.4rem 0}.article-heading{padding:1.4rem 0 1.5rem}.article-heading h1{font-size:1.8rem;line-height:1.65;margin:.65rem 0}.article-deck{font-size:.95rem;line-height:1.9}.article-byline{gap:.5rem 1rem;font-size:.68rem}.article-layout{gap:1.8rem}.article-sidebar{grid-template-columns:1fr;gap:1rem}.rich-content{padding:1.3rem;font-size:.95rem;line-height:2}.rich-content h2{font-size:1.4rem;margin-top:1.7rem}.rich-content h3{font-size:1.2rem}.rich-content blockquote{margin:1.2rem 0;padding:1rem}.article-gallery .section-heading h2,.family-tree-section .section-heading h2{font-size:1.3rem}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.gallery-grid figcaption{font-size:.58rem;padding:.5rem}.video-source-bar{font-size:.7rem;padding:.7rem}.video-consent,.video-unavailable{min-height:12rem;padding:1.3rem}.video-consent p,.video-unavailable p{font-size:.8rem}.video-consent .button{font-size:.8rem}.reader-help{font-size:.72rem;padding:.9rem}.family-tree{padding:1rem}.family-tree-section>.section-heading .button{font-size:.7rem;padding:.4rem .6rem}.access-gate{padding:1.7rem;gap:.85rem}.access-gate h2{font-size:1.35rem}.access-gate p{font-size:.85rem}.product-summary{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.panel,.heritage-panel{padding:1.35rem}.panel h2,.heritage-panel h2{font-size:1.3rem}.field{font-size:.8rem}.field input,.field textarea,.field select{font-size:1rem}.form-section{margin-bottom:1.4rem}.form-section legend{font-size:.95rem}.membership-options{gap:.6rem}.membership-choice{padding:.85rem;gap:.5rem}.membership-choice strong{font-size:.83rem}.membership-choice small{font-size:.65rem}.company-fields{padding:1rem 1rem 0}.form-submit{flex-direction:column;align-items:stretch;gap:.8rem}.form-submit p,.form-submit small{min-width:0}.form-submit .button{width:100%}.checkbox{font-size:.75rem}.auth-layout{grid-template-columns:1fr;gap:1.5rem;margin:2rem auto}.auth-story{padding-top:0}.auth-story .overline{font-size:.6rem}.auth-story h1{font-size:1.8rem;line-height:1.6;margin:.4rem 0 .75rem}.auth-story h1 br{display:none}.auth-story>p{font-size:.83rem}.auth-illustration,.auth-story>.text-link{display:none}.auth-form{padding:1.5rem}.auth-form h2{font-size:1.5rem}.auth-form .membership-choice{padding:.85rem}.auth-form .membership-choice strong{font-size:.85rem}.auth-form .membership-choice>span>.icon{display:inline}.account-heading{gap:.9rem;flex-wrap:wrap}.account-heading h1{font-size:1.6rem}.account-heading>.button{width:100%;margin-top:.3rem}.account-heading .overline{font-size:.52rem}.profile-avatar{width:3.4rem;height:3.4rem;font-size:1.5rem}.account-nav{gap:.1rem;padding:.4rem}.account-nav>a{font-size:.72rem;padding:.5rem .55rem}.account-record{align-items:flex-start;flex-direction:column;gap:.8rem}.record-actions{gap:1rem}.request-row{align-items:flex-start;flex-direction:column}.member-grid{gap:.8rem}.member-card{padding:1.2rem .9rem}.member-card .member-avatar{width:3.6rem;height:3.6rem}.member-card h3{font-size:1rem}.member-profile-cover{padding:1.5rem;gap:1rem}.member-profile-cover h1{font-size:1.65rem}.member-profile-cover .member-avatar{width:4.5rem;height:4.5rem}.member-profile-body{padding:1.5rem}.member-actions .button{font-size:.8rem}.editor-layout .panel{padding:1.2rem}.editor-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.media-tile img{height:7rem}.upload-zone{padding:1.3rem}.editor-layout h2{font-size:1.2rem}.tree-editor-panel [data-tree-editor]>div{grid-template-columns:1fr}.sponsor-hero{grid-template-columns:1fr;gap:1.5rem;padding:2.2rem 0 2rem}.sponsor-hero h1{font-size:2rem;line-height:1.6}.sponsor-hero>div>p{font-size:.9rem}.sponsor-hero .overline{font-size:.6rem}.sponsor-art{aspect-ratio:2;max-height:14rem}.support-purposes{grid-template-columns:1fr;margin-bottom:2rem}.support-purposes article{padding:1.3rem 0}.support-purposes article+article{padding:1.3rem 0;border-left:0;border-top:1px solid var(--line)}.support-purposes article>span{float:left;width:2rem;line-height:1.8}.support-purposes h2{font-size:1.05rem;margin:0 0 .6rem 2rem}.support-purposes p{font-size:.8rem;margin-left:2rem}.sponsor-selection{padding:1.3rem}.sponsor-amounts{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.sponsor-amount{padding:1rem;min-height:5.6rem}.sponsor-amount>strong{font-size:1.5rem}.sponsor-amount>span{font-size:.73rem}.sponsor-custom{gap:1rem;align-items:stretch}.sponsor-custom>.field{max-width:none;flex-basis:100%;min-width:0}.sponsor-custom>.button{width:100%;font-size:.85rem}.sponsor-selection>.field-help{font-size:.75rem}.donation-grid{grid-template-columns:1fr}.payment-contact{gap:1rem;align-items:flex-start}.payment-contact>.panel-icon{width:2.5rem;height:2.5rem}.payment-contact>.text-link{margin-left:3.5rem;font-size:.75rem}.payment-contact h3{font-size:1rem}.payment-contact p{font-size:.8rem}.levels-grid{grid-template-columns:1fr}.ai-hero{grid-template-columns:1fr;margin-top:2rem;gap:1.5rem}.ai-hero-copy>.overline{font-size:.6rem;margin-top:1.5rem}.ai-hero-copy h1{font-size:2.1rem;line-height:1.6;max-width:100%}.project-status{font-size:.6rem}.ai-hero-copy .lead{font-size:.9rem;line-height:1.95;margin-top:1rem}.ai-hero-art img{aspect-ratio:1.7}.ai-hero-art figcaption{font-size:.55rem;padding:.75rem 1rem}.ai-hero-copy>.field-help{font-size:.72rem;margin-top:1rem}.ai-actions{gap:1rem;margin-top:1.4rem}.ai-introduction h2{font-size:1.5rem}.ai-introduction h2 br{display:block}.ai-introduction p{font-size:.85rem}.ai-steps{grid-template-columns:1fr}.ai-step{padding:1.4rem;display:grid;grid-template-columns:2.8rem 1fr;gap:.5rem 1rem}.ai-step+.ai-step{border-left:0;border-top:1px solid #e3e3e3}.ai-step-top{grid-row:span 2;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1.1rem;margin:0;font-size:1.5rem}.ai-step-top .icon{width:1.4rem;height:1.4rem}.ai-step h3{font-size:1.05rem;margin-bottom:0}.ai-step p{font-size:.8rem}.ai-principles{padding:1.5rem;gap:1.5rem}.ai-principles-heading h2{font-size:1.5rem}.ai-principles h3{font-size:.95rem}.ai-principles p{font-size:.8rem}.ai-support{grid-template-columns:1fr;padding-top:1.5rem;gap:1.5rem}.ai-support h2{font-size:1.7rem}.ai-support-note{border-left:0;border-top:1px solid #e0e0e0;padding:1.5rem 0}.ai-support-note>strong{font-size:2.5rem}.ai-support-note strong small{display:inline;margin-left:.8rem;font-size:.65rem}.consult-dialog{padding:1.4rem;width:calc(100vw - 1.2rem);max-height:calc(100dvh - 1.2rem)}.dialog-head h2,.dialog-heading h2{font-size:1.45rem}.dialog-heading .overline{font-size:.57rem}.consult-dialog>p.muted{font-size:.78rem}.consult-dialog .form-grid{grid-template-columns:1fr}.site-qr-dialog{padding:1.3rem}.site-qr-heading h2{font-size:1.35rem}.viewer-bar{padding:.6rem;gap:.5rem;flex-wrap:wrap}.viewer-bar>span{width:100%;font-size:.68rem}.viewer-bar>div{width:100%;justify-content:flex-end}.image-viewer{width:100vw;height:100dvh;border-radius:0}.viewer-nav{font-size:.72rem;padding:.6rem}.tools-directory{grid-template-columns:1fr;gap:1rem}.utility-card{padding:1.4rem}.utility-card h2{font-size:1.2rem}.utility-card p{font-size:.8rem;margin-bottom:1rem}.utility-result{padding:1.2rem}.utility-note{font-size:.75rem;padding:1rem}.calendar-toolbar{gap:.6rem;margin-bottom:1rem;align-items:flex-start}.calendar-toolbar h2{font-size:1.3rem}.calendar-toolbar>div{flex-wrap:wrap;gap:.4rem}.calendar-toolbar select{font-size:.8rem;max-width:6.5rem;padding:.4rem}.calendar-toolbar button{font-size:.72rem;padding:.4rem .6rem;min-height:2.1rem}.calendar-table th{font-size:.65rem;padding:.45rem .05rem}.calendar-table td,.calendar-day{min-height:4.1rem;height:4.1rem}.calendar-day{font-size:1.1rem;padding:.25rem .03rem}.calendar-day-lunar,.calendar-day-label{font-size:.72rem;line-height:1.4}.calendar-detail{padding:1.2rem}.calendar-detail h2{font-size:1.2rem}.calendar-facts{font-size:.75rem}.date-search-results{grid-template-columns:1fr}.date-result-card{padding:1.2rem}.utility-related h2{flex-basis:100%}.utility-related a{font-size:.73rem}.song-introduction{grid-template-columns:1fr;gap:1.3rem}.song-title-art{min-height:11rem}.song-introduction p{font-size:.85rem}.music-platform{padding:1.3rem}.music-platform-heading{flex-direction:column;align-items:flex-start;gap:.6rem}.music-platform-heading h2{font-size:1.15rem}.music-embed-consent{padding:1.1rem}.music-embed-consent p{font-size:.78rem}.music-embed-consent .button{font-size:.78rem}.prose-page{margin:2rem auto}.prose-page h1{font-size:1.9rem}.out-panel{margin:2rem auto;padding:1.5rem}.out-panel h1{font-size:1.6rem}.out-panel p{font-size:.85rem}.out-actions{flex-direction:column}.error-page{margin:2.5rem auto;padding:1.5rem}.error-number{font-size:4rem}.error-page h1{font-size:1.7rem}.error-page p{font-size:.85rem}.community-banner{padding:1.6rem 0}.community-banner h2{font-size:1.2rem;line-height:1.6}.footer-grid{gap:1.3rem .9rem;padding-bottom:1.7rem}.footer-identity{display:block;padding-bottom:1.4rem}.footer-identity p{font-size:.7rem;margin-top:.8rem}.footer-grid h3{font-size:.72rem;margin-bottom:.8rem}.footer-grid>div:not(:first-child)>a{font-size:.65rem;line-height:1.7;margin-bottom:.6rem}.footer-bottom{gap:.5rem;align-items:flex-start;font-size:.62rem}.footer-bottom>small:nth-child(2){display:none}.floating-tools{right:.6rem;bottom:4.8rem}.floating-tools>summary{width:2.6rem;height:2.6rem}.main-content{padding-bottom:2rem}}
@media(max-width:370px){.brand strong{font-size:1rem;letter-spacing:0}.brand>img{width:1.5rem;height:1.5rem}.brand-qr{display:flex}.header-actions{gap:.3rem}.language-links{font-size:.57rem}.container{width:calc(100% - 1.5rem)}.heritage-category-grid{width:calc(100% + 1.5rem);margin-left:-.75rem}.explore-heading h1{font-size:1.8rem}.heritage-category{padding:.8rem;aspect-ratio:1.17;min-height:9rem}.heritage-category:nth-last-child(-n+2){aspect-ratio:1.17}.category-copy h2{font-size:1.25rem}.category-en{font-size:.5rem}.story-grid,.listing-grid{gap:.85rem .65rem}.story-copy h3{font-size:.87rem}.eyebrow time{display:block;width:100%}.social-qr{width:4rem;height:4rem}.social-channel-copy h3{font-size:.72rem}.social-channel-copy p{font-size:.6rem}.social-channel-copy .text-link{font-size:.53rem}.membership-options{grid-template-columns:1fr}.auth-form .membership-options{grid-template-columns:1fr 1fr}.auth-form .membership-choice>span>.icon{display:none}.sponsor-amount>strong{font-size:1.35rem}.calendar-day-lunar,.calendar-day-label{font-size:.72rem}.calendar-table td,.calendar-day{height:3.9rem;min-height:3.9rem}.ai-hero-copy h1{font-size:1.9rem}.ai-support-note strong small{display:block;margin-left:0}.footer-grid{gap:.8rem}.footer-grid>div:not(:first-child)>a{font-size:.62rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{.site-header,.site-footer,.community-banner,.mobile-nav,.floating-tools,.article-sidebar,.record-actions,.button,.viewer-bar,.viewer-nav{display:none!important}.container{width:100%;max-width:none}.main-content{padding:0}.article-layout{display:block}.rich-content{border:0;padding:0}.article-heading h1{font-size:24pt}.article-gallery img{max-height:80vh;object-fit:contain}body{background:#fff;font-size:11pt;color:#000}a{color:inherit}dialog{display:none!important}}
