/* Culture uses the platform's shared paper, navy, red, panel, chip and tab tokens. */
.cp-page{color:var(--ink)}.cp-page .page-head{margin-bottom:22px}
.cp-filter{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.cp-categories{flex:1}.cp-categories .chip{font-size:13px;min-height:42px;padding:8px 14px}.cp-search{flex:0 1 280px;min-width:180px}.cp-search input{width:100%;min-height:44px;border:1px solid #cfc1b1;border-radius:99px;background:#fffaf4;color:var(--ink);padding:10px 16px;font-size:13px}
.cp-workbench{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:18px;align-items:start;scroll-margin-top:20px}.cp-object{margin:0;padding:18px;background:var(--paper);min-width:0}.cp-object-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.cp-art{display:block;width:100%;border:0;padding:0;margin:16px 0;background:transparent;cursor:zoom-in;border-radius:5px;overflow:hidden}.cp-specimen{position:relative;display:block;overflow:hidden;width:100%;aspect-ratio:var(--motif-ratio);background:#f3eee4}.cp-specimen img{position:absolute;display:block;max-width:none;object-fit:fill;pointer-events:none}.cp-object figcaption{display:flex;align-items:baseline;justify-content:space-between;gap:12px;font-family:serif;padding-top:2px}.cp-object figcaption strong{font-size:20px;color:var(--navy)}.cp-object figcaption>span{font-family:sans-serif;font-size:12px;color:var(--muted)}
.cp-reading{padding:22px 25px;min-width:0;background:var(--paper)}.cp-reading-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.cp-reading-top .button{min-height:36px;font-size:12px;padding:7px 12px}.cp-reading h2{font:700 30px/1.4 "Noto Serif CJK SC","Songti SC",serif;color:var(--navy);margin:15px 0 0}.cp-tibetan{font:36px/1.7 "Microsoft Himalaya","Noto Serif Tibetan",serif;overflow-wrap:anywhere;margin:0;color:var(--ink)}.cp-phonetic{font-size:12px;color:var(--muted);margin:0 0 13px}.cp-lead{font-size:15px;line-height:1.9;color:var(--ink);margin:0 0 17px}.cp-correction{font-size:12px;line-height:1.8;color:#856142}.cp-tabs{border-bottom:1px solid var(--line);gap:12px}.cp-tabs .tab{font-size:13px;min-height:42px}.cp-fields{padding-top:16px}.cp-fields h3{font-size:14px;font-family:serif;color:var(--navy);margin:0 0 7px}.cp-fields p{font-size:14px;line-height:1.9;margin:0 0 17px;color:var(--ink)}.cp-fields section:last-child p:last-child{margin-bottom:4px}.cp-fields img,.cp-original img{display:block;max-width:100%;height:auto;margin:12px 0}.cp-original{border-top:1px solid var(--line);margin-top:18px}.cp-original summary,.cp-whole summary{min-height:44px;padding:12px 0;cursor:pointer;font-size:13px;color:var(--navy)}.cp-original p,.cp-whole p{font-size:14px;line-height:1.9;overflow-wrap:anywhere}.cp-source-note{font-size:12px!important;line-height:1.8;color:var(--muted)}
.cp-catalogue-heading{margin-top:26px}.cp-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px}.cp-card{position:relative;padding:12px;text-align:left;min-width:0;color:var(--ink);background:var(--paper);transition:border-color .18s,box-shadow .18s}.cp-card-number{display:block;font:11px Georgia,serif;color:var(--muted);margin-bottom:9px}.cp-thumb{height:110px;display:grid;place-items:center;margin-bottom:12px}.cp-thumb .cp-specimen{width:min(100%,calc(110px * var(--motif-ratio)))}.cp-card strong{display:block;font:700 16px/1.5 serif;color:var(--navy)}.cp-card-tibetan{display:block;overflow-wrap:anywhere;font:23px/1.7 "Microsoft Himalaya","Noto Serif Tibetan",serif;color:#79573e;min-height:38px}.cp-card[aria-pressed=true]{border-color:var(--red);box-shadow:inset 0 -3px var(--red),var(--shadow)}.cp-card:hover{border-color:var(--gold)}.cp-whole{margin-top:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:7px 0}.cp-whole[open]{padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:12px}.cp-whole img{display:block;max-width:100%;height:auto;margin:12px 0}.cp-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0;font-size:12px;color:var(--muted);line-height:1.8}.cp-footer a{font-size:14px;color:var(--red)}.cp-zoom{width:min(100%,500px);margin:18px auto 8px}.cp-page button:focus-visible,.cp-page input:focus-visible,.cp-page summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.cp-empty{font-size:14px;padding:16px}.cp-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
/* Keep the document-photo treatment used by the digital archive. */
.archive-document{margin:0;display:flex;flex-direction:column;min-width:0;background:#eee8db}.archive-document img{display:block;width:100%;object-fit:cover;min-height:0;height:100%;max-height:540px}.archive-document figcaption{padding:10px 14px;font-size:11px;line-height:1.7;color:#645b4e;background:#f1eadf}.archive-card .archive-document img{height:190px;max-height:none;object-fit:contain;background:#eee8db}.archive-card .archive-document figcaption{font-size:10px}.modal .archive-document img{max-height:350px;object-fit:contain}.archive-feature>.archive-document{height:100%}.archive-feature>.archive-document img{flex:1;min-height:280px}
@media(min-width:1600px){.cp-workbench{grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr)}}
@media(max-width:1200px){.cp-filter{align-items:start;flex-direction:column}.cp-search{flex:auto;width:100%}.cp-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.cp-reading{padding:20px}.cp-workbench{gap:15px}}
@media(max-width:850px){.cp-workbench{grid-template-columns:1fr}.cp-object{width:100%}.cp-art{max-width:420px;margin:15px auto}.cp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.cp-catalogue-heading>span{display:none}}
@media(max-width:500px){.cp-object{padding:15px}.cp-reading{padding:18px 16px}.cp-reading-top{align-items:start}.cp-reading h2{font-size:29px}.cp-lead,.cp-fields p,.cp-original p{font-size:16px}.cp-fields h3{font-size:16px}.cp-tabs{gap:8px}.cp-tabs .tab{font-size:12px;padding:9px 3px}.cp-categories .chip{font-size:12px;padding:8px 11px}.cp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.cp-thumb{height:120px}.cp-thumb .cp-specimen{width:min(100%,calc(120px * var(--motif-ratio)))}.cp-footer{align-items:start;flex-direction:column;gap:10px}.cp-object figcaption>span{font-size:11px}.archive-feature>.archive-document img{min-height:180px}}
@media(prefers-reduced-motion:reduce){.cp-card{transition:none}}

/* Three-part reading board: specimen, cultural relationships and complete source reading. */
.cp-workbench{grid-template-columns:minmax(220px,.72fr) minmax(300px,.95fr) minmax(350px,1.22fr);gap:18px;align-items:stretch}.cp-object,.cp-map,.cp-reading{height:clamp(560px,calc(100dvh - 180px),720px)}.cp-object{display:flex;flex-direction:column}.cp-object .cp-art{flex:1;display:grid;place-items:center;min-height:0;margin:16px 0}.cp-object .cp-specimen{max-height:100%;aspect-ratio:var(--motif-ratio);width:min(100%,calc((100dvh - 300px) * var(--motif-ratio)))}.cp-map{padding:20px 17px;background:linear-gradient(145deg,#fffdf9,#f8f1e7);min-width:0;overflow:hidden}.cp-map-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;border-left:3px solid var(--red);padding-left:11px}.cp-map-heading h2{margin:0;font:700 19px/1.3 "Noto Serif CJK SC","Songti SC",serif;color:var(--navy)}.cp-map-heading p{margin:0;color:var(--muted);font-size:11px;white-space:nowrap}.cp-map-body{position:relative;min-height:calc(100% - 38px);max-width:420px;margin:auto}.cp-map-links{position:absolute;inset:25px 12px 16px;width:calc(100% - 24px);height:calc(100% - 41px);stroke:#b99a67;stroke-width:1.25;fill:none;opacity:.8}.cp-map-center{position:absolute;left:50%;top:50%;z-index:1;display:grid;place-items:center;width:96px;height:96px;padding:8px;border:1px solid #cda96d;border-radius:50%;background:#fffaf1;box-shadow:0 0 0 8px #f5ead9,0 6px 18px #7c553217;transform:translate(-50%,-50%);text-align:center}.cp-map-center .cp-specimen{width:43px;height:39px;aspect-ratio:auto;background:transparent}.cp-map-center strong{margin-top:2px;color:#6d402e;font:700 12px/1.2 "Noto Serif CJK SC","Songti SC",serif}.cp-map-node{position:absolute;z-index:2;display:flex;align-items:center;gap:7px;width:calc(50% - 8px);min-width:0}.cp-map-node-0{top:23px;left:0}.cp-map-node-1{top:23px;right:0;flex-direction:row-reverse;text-align:right}.cp-map-node-2{top:calc(50% - 24px);left:0}.cp-map-node-3{top:calc(50% - 24px);right:0;flex-direction:row-reverse;text-align:right}.cp-map-node-4{bottom:15px;left:0}.cp-map-node-5{bottom:15px;right:0;flex-direction:row-reverse;text-align:right}.cp-map-icon{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid #cda96d;border-radius:50%;background:#fffaf1;color:#a44e3f}.cp-map-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.cp-map-node h3{margin:0;color:var(--navy);font:700 14px/1.35 "Noto Serif CJK SC","Songti SC",serif}.cp-map-node p{display:-webkit-box;overflow:hidden;margin:2px 0 0;color:#766d63;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.cp-map-node-2 p,.cp-map-node-3 p{display:none}.cp-reading{margin:0}.cp-reading .cp-fields{padding-top:16px}.cp-reading .cp-fields:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:1240px){.cp-workbench{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cp-reading{grid-column:1/-1}.cp-object,.cp-map{height:500px}.cp-reading{height:clamp(500px,calc(100dvh - 180px),650px)}}
@media(max-width:850px){.cp-workbench{grid-template-columns:1fr}.cp-object,.cp-map,.cp-reading{height:auto}.cp-object .cp-art{min-height:0}.cp-map{min-height:510px}.cp-reading{grid-column:auto}.cp-fields{overflow:visible!important;padding-right:0!important}.cp-map-body{min-height:455px}}
@media(max-width:480px){.cp-map{padding:17px 12px;min-height:550px}.cp-map-heading{display:block}.cp-map-heading p{margin-top:4px;white-space:normal}.cp-map-center{width:82px;height:82px}.cp-map-icon{flex-basis:38px;width:38px;height:38px}.cp-map-icon svg{width:20px;height:20px}.cp-map-node{gap:5px;width:calc(50% - 4px)}.cp-map-node h3{font-size:13px}.cp-map-node p{font-size:10px}.cp-map-node-0,.cp-map-node-1{top:17px}.cp-map-node-4,.cp-map-node-5{bottom:9px}}

/* Reference-style diagram: quiet circular choices first, one explanation only after selection. */
.cp-map-body{min-height:calc(100% - 38px)}.cp-map-links{inset:24px 10px 106px;width:calc(100% - 20px);height:calc(100% - 130px);stroke:#c1a16d;stroke-width:1.05;opacity:.76}.cp-map-center{top:43%;width:96px;height:96px}.cp-map-node{appearance:none;position:absolute;z-index:2;display:grid;justify-items:center;gap:7px;width:78px;padding:0;border:0;background:transparent;color:var(--navy);cursor:pointer}.cp-map-node-0{top:18px;left:10px}.cp-map-node-1{top:18px;right:10px;flex-direction:unset;text-align:center}.cp-map-node-2{top:calc(43% - 29px);left:2px}.cp-map-node-3{top:calc(43% - 29px);right:2px;flex-direction:unset;text-align:center}.cp-map-node-4{bottom:104px;left:10px}.cp-map-node-5{bottom:104px;right:10px;flex-direction:unset;text-align:center}.cp-map-icon{width:54px;height:54px;flex-basis:54px;border-color:#c9a564;background:#fffdf8;transition:border-color .18s,background-color .18s,box-shadow .18s,color .18s}.cp-map-node-label{font:700 14px/1.2 "Noto Serif CJK SC","Songti SC",serif}.cp-map-node:hover .cp-map-icon,.cp-map-node[aria-pressed=true] .cp-map-icon{border-color:var(--red);background:#fff4e7;color:var(--red);box-shadow:0 0 0 4px #f5e6d2}.cp-map-node:focus-visible{outline:3px solid var(--gold);outline-offset:4px;border-radius:50%}.cp-map-detail{position:absolute;z-index:3;top:103px;right:26px;left:26px;min-height:70px;max-height:92px;overflow:auto;border:1px solid #ead9bd;border-radius:8px;padding:9px 11px;background:rgba(255,252,247,.96);box-shadow:0 7px 18px #7c55320d}.cp-map-detail strong{display:block;color:#8d493a;font:700 14px/1.3 "Noto Serif CJK SC","Songti SC",serif}.cp-map-detail p{margin:4px 0 0;color:#5e5a53;font-size:12px;line-height:1.65}.cp-map-node h3,.cp-map-node p{display:none}@media(max-width:480px){.cp-map-center{top:42%;width:82px;height:82px}.cp-map-node{width:66px}.cp-map-node-0{left:0}.cp-map-node-1{right:0}.cp-map-node-2{left:-3px}.cp-map-node-3{right:-3px}.cp-map-node-4{bottom:105px;left:0}.cp-map-node-5{bottom:105px;right:0}.cp-map-icon{width:48px;height:48px;flex-basis:48px}.cp-map-node-label{font-size:12px}.cp-map-detail{top:102px;right:15px;left:15px;min-height:80px;max-height:104px}.cp-map-detail p{font-size:11px}}

/* Keep all interpretation fields in the reading flow rather than a separate source dump. */
.cp-field-group{padding:15px 0;border-top:1px solid var(--line)}.cp-field-group:first-child{padding-top:0;border-top:0}.cp-field-group h3{font-size:16px;margin:0 0 11px}.cp-field{padding:0 0 11px}.cp-field:last-child{padding-bottom:0}.cp-field h4{margin:0 0 5px;color:#856142;font-size:12px;letter-spacing:.08em}.cp-field p:last-child{margin-bottom:0}.archive-image-source{display:block;margin-top:4px;color:#756b5f;line-height:1.6}
@media(min-width:851px){.cp-reading{height:clamp(560px,calc(100dvh - 180px),720px);display:flex;flex-direction:column}.cp-fields{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-right:14px;scrollbar-width:thin;scrollbar-color:#b9a386 transparent}.cp-fields::-webkit-scrollbar{width:8px}.cp-fields::-webkit-scrollbar-thumb{background:#b9a386;border-radius:99px}.cp-fields:focus-visible{outline:3px solid var(--gold);outline-offset:3px}}

/* Fixed parchment artwork with a live, replaceable centre motif and six precise hit areas. */
.cp-map{background:#fbf4e7}.cp-map-body{isolation:isolate;min-height:calc(100% - 38px);background:url("./culture-relationship-map.png?v=20261018-mature8") center center/100% 100% no-repeat}.cp-map-links{display:none}.cp-map-center{z-index:2;top:47%;width:86px;height:86px;padding:8px;border:0;border-radius:50%;background:transparent;box-shadow:none}.cp-map-center .cp-specimen{width:37px;height:33px}.cp-map-center strong{font-size:11px}.cp-map-node{z-index:3;width:96px;height:102px;transform:translate(-50%,-50%);gap:0}.cp-map-node-0{top:22%;left:29%}.cp-map-node-1{top:22%;right:auto;left:71%}.cp-map-node-2{top:47%;left:17%}.cp-map-node-3{top:47%;right:auto;left:83%}.cp-map-node-4{top:71%;bottom:auto;left:29%}.cp-map-node-5{top:71%;right:auto;bottom:auto;left:71%}.cp-map-icon{position:absolute;top:24px;left:35px;width:28px;height:28px;flex-basis:28px;border:0;background:transparent;color:#a64b38;box-shadow:none}.cp-map-icon svg{width:27px;height:27px;stroke-width:1.5}.cp-map-node-label{position:absolute;top:66px;right:0;left:0;color:#4c4035;font-size:14px}.cp-map-node:hover .cp-map-icon,.cp-map-node[aria-pressed=true] .cp-map-icon{border:0;background:transparent;color:#8f332d;box-shadow:none}.cp-map-node:hover .cp-map-node-label,.cp-map-node[aria-pressed=true] .cp-map-node-label{color:#8f332d}.cp-map-node:focus-visible{outline:3px solid var(--gold);outline-offset:-4px;border-radius:50%}.cp-map-detail{z-index:5;width:min(168px,48%);min-height:0;max-height:108px;border:1px solid #dfc59e;border-radius:7px;padding:8px 10px;background:#fffdf8;box-shadow:0 8px 18px #7c55321c}.cp-map-detail strong{font-size:13px}.cp-map-detail p{font-size:11px;line-height:1.55}.cp-map-detail-0{top:30%;left:2%}.cp-map-detail-1{top:30%;right:2%;left:auto}.cp-map-detail-2{top:36%;left:2%}.cp-map-detail-3{top:36%;right:2%;left:auto}.cp-map-detail-4{top:77%;left:2%}.cp-map-detail-5{top:77%;right:2%;left:auto}@media(max-width:480px){.cp-map{min-height:570px}.cp-map-body{background-size:100% 100%}.cp-map-center{width:72px;height:72px}.cp-map-center .cp-specimen{width:31px;height:28px}.cp-map-node{width:76px;height:88px}.cp-map-icon{top:19px;left:25px}.cp-map-node-label{top:56px;font-size:12px}.cp-map-detail{width:min(148px,52%);max-height:100px;padding:7px 8px}.cp-map-detail p{font-size:10px}.cp-map-detail-0,.cp-map-detail-2{left:0}.cp-map-detail-1,.cp-map-detail-3{right:0}.cp-map-detail-4,.cp-map-detail-5{top:78%}}

/* A transparent embroidered frame softens the live pattern swatch without giving it a white tile. */
.cp-map-center{overflow:visible}.cp-map-center::before{content:"";position:absolute;z-index:2;inset:-7px;pointer-events:none;background:url("./culture-center-medallion-overlay.png?v=20261019-mature9") center/contain no-repeat;mix-blend-mode:multiply;opacity:.46}.cp-map-center .cp-specimen{position:relative;z-index:1;width:34px;height:34px;border:1px solid #b88f60;border-radius:50%;clip-path:circle(50%);background:transparent;filter:saturate(.76) contrast(.9) brightness(1.04);mix-blend-mode:multiply}.cp-map-center strong{position:relative;z-index:3;text-shadow:0 1px 0 #fff8}@media(max-width:480px){.cp-map-center .cp-specimen{width:29px;height:29px}.cp-map-center::before{inset:-6px}}

/* The relationship map is a transparent overlay: only linework remains, never a rectangular paper tile. */
.cp-map{background:rgba(255,253,249,.76)}.cp-map-body{background:none}.cp-map-body::before{content:"";position:absolute;z-index:0;inset:0;pointer-events:none;background:url("./culture-relationship-overlay-transparent.png?v=20261019-mature10") center/100% 100% no-repeat;opacity:.78}.cp-map-center{top:45.2%;z-index:2}.cp-map-center::before{content:none}.cp-map-node-0{top:16.1%;left:24.4%}.cp-map-node-1{top:16.1%;left:76.4%}.cp-map-node-2{top:45.4%;left:13.8%}.cp-map-node-3{top:45.4%;left:86.1%}.cp-map-node-4{top:71.3%;left:24.3%}.cp-map-node-5{top:71.5%;left:76.2%}

/* The four lower controls sit as centred icon-and-label pairs within their circles. */
.cp-map-node-2 .cp-map-icon,.cp-map-node-3 .cp-map-icon,.cp-map-node-4 .cp-map-icon,.cp-map-node-5 .cp-map-icon{top:17px}.cp-map-node-2 .cp-map-node-label,.cp-map-node-3 .cp-map-node-label,.cp-map-node-4 .cp-map-node-label,.cp-map-node-5 .cp-map-node-label{top:56px}
