.calligraphy-page>.site-header{position:relative}.calligraphy-shell{width:min(1080px,100% - 48px);margin:0 auto;padding:clamp(20px,3.6vw,44px) 0 clamp(44px,7vw,88px)}.calligraphy-shell :focus-visible{outline:2px solid var(--cinnabar);outline-offset:4px}.calligraphy-search-panel{border:1px solid var(--line);border-top:3px solid var(--cinnabar);background:var(--paper-light);text-align:center;justify-items:center;gap:16px;padding:clamp(26px,4vw,40px) clamp(18px,5vw,48px);display:grid}.calligraphy-search-panel h1,.calligraphy-detail-heading h1{margin:0;font-size:clamp(30px,5vw,52px);line-height:1.2}.calligraphy-search-panel h1{letter-spacing:.14em}.calligraphy-search-panel p,.calligraphy-detail-heading p{color:var(--muted);margin:0;font-size:16px;line-height:1.7}.calligraphy-search{width:min(100%,480px);margin-top:5px;display:flex}.calligraphy-search input{min-width:0;color:var(--ink);background:#fffdf7;border:1px solid #a58b73;border-radius:4px 0 0 4px;flex:1;padding:12px 14px;font-size:17px}.calligraphy-search input::placeholder{color:var(--muted)}.calligraphy-search input:focus-visible{outline-offset:-3px}.calligraphy-search button{border:1px solid var(--cinnabar-dark);background:var(--cinnabar-dark);color:#fff8ea;white-space:nowrap;border-radius:0 4px 4px 0;min-height:48px;padding:0 clamp(15px,3vw,28px);font-weight:700}.calligraphy-search button:hover{background:var(--cinnabar)}.calligraphy-examples{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;font-size:14px;display:flex}.calligraphy-examples a{border:1px solid var(--line);min-width:36px;min-height:36px;color:var(--wood);border-radius:3px;place-items:center;font-size:16px;text-decoration:none;display:grid}.calligraphy-examples a:hover,.calligraphy-examples a[aria-current]{color:var(--cinnabar-dark);background:#f4e1d7;border-color:#b57369}.calligraphy-browse{grid-template-columns:minmax(0,1fr);align-items:start;gap:25px;margin-top:clamp(28px,4vw,40px);display:grid}.calligraphy-section-heading{flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-bottom:16px;display:flex}.calligraphy-section-heading h2,.calligraphy-sources h2{margin:0;font-size:23px}.calligraphy-section-heading p{color:var(--muted);margin:0}.calligraphy-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:0;padding:0;list-style:none;display:grid}.calligraphy-card{border:1px solid var(--line);background:var(--paper-light);border-radius:4px;grid-template-rows:auto 1fr;height:100%;text-decoration:none;display:grid}.calligraphy-card:hover{border-color:#b57369}.calligraphy-crop{aspect-ratio:1;border:1px solid var(--line);background:#e7dbc5;width:calc(100% - 18px);max-width:208px;margin:9px auto 0;display:block;position:relative;overflow:hidden}.calligraphy-crop img{max-width:none;max-height:none;display:block;position:absolute}.calligraphy-card-info{flex-direction:column;gap:4px;padding:12px 11px 14px;line-height:1.5;display:flex}.calligraphy-card-info strong{font-size:17px}.calligraphy-card-byline,.calligraphy-edition{color:var(--muted);font-size:14px}.calligraphy-card-action{color:var(--cinnabar-dark);margin-top:auto;padding-top:6px;font-size:14px}.calligraphy-card-action span{margin-left:3px}.calligraphy-empty{border:1px solid var(--line);background:var(--paper-light);margin:0;padding:20px;line-height:1.7}.calligraphy-sources{border:1px solid var(--line);background:#f5efe2;border-radius:4px;padding:15px 17px}.calligraphy-sources ul{margin:6px 0 0;padding:0;list-style:none}.calligraphy-sources li{gap:4px;padding:9px 0;display:grid}.calligraphy-sources li+li{border-top:1px solid var(--line)}.calligraphy-sources li span{color:var(--muted);font-size:14px}.calligraphy-sources-credit{color:var(--muted);margin:9px 0 0;font-size:13px}.calligraphy-sources a,.calligraphy-breadcrumbs a,.calligraphy-plate-notes a,.calligraphy-gallery-credit a,.calligraphy-plate-navigation a{color:var(--cinnabar-dark);text-underline-offset:.2em}.calligraphy-breadcrumbs{color:var(--muted);gap:9px;margin-bottom:17px;display:flex}.calligraphy-detail-heading p{margin:9px 0 20px}.calligraphy-gallery-credit{color:var(--muted);margin:0 0 18px}.calligraphy-gallery-image{aspect-ratio:4/3;object-fit:contain;background:#e7dbc5;width:100%;height:auto;display:block}.calligraphy-gallery .calligraphy-card-info{padding-block:10px}.calligraphy-plate-layout{grid-template-columns:minmax(0,3fr) minmax(235px,1fr);align-items:start;gap:20px;display:grid}.calligraphy-plate,.calligraphy-plate-notes{border:1px solid var(--line);background:var(--paper-light);border-radius:4px;margin:0}.calligraphy-plate figcaption{flex-wrap:wrap;justify-content:space-between;gap:4px 15px;padding:11px 14px;line-height:1.5;display:flex}.calligraphy-plate figcaption span{color:var(--cinnabar-dark)}.calligraphy-plate-image{background:#e7dbc5;position:relative}.calligraphy-plate-image img{width:100%;height:auto;display:block}.calligraphy-plate-navigation{min-height:48px;color:var(--muted);grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:0 12px;display:grid}.calligraphy-plate-navigation span{grid-column:2}.calligraphy-plate-navigation [rel=next]{grid-column:3;justify-self:end}.calligraphy-plate-navigation a{padding:8px 0;display:inline-block}.calligraphy-highlight{background:#f6aa5b1c;border:2px solid #a62b24;border-radius:2px;scroll-margin-block:26vh;position:absolute;box-shadow:0 0 0 1px #fff4dd,inset 0 0 0 1px #fff4dd}.calligraphy-plate-notes{padding:17px;line-height:1.65}.calligraphy-plate-notes h2{margin:0 0 5px;font-size:17px}.calligraphy-plate-notes h2:not(:first-child){margin-top:18px}.calligraphy-plate-notes p{overflow-wrap:anywhere;margin:0 0 9px}.calligraphy-transcription{font-size:18px}.calligraphy-source-note{color:var(--muted);font-size:14px}.calligraphy-plate-glyphs{flex-wrap:wrap;gap:6px 12px;margin:0;padding:0;list-style:none;display:flex}.calligraphy-back{border:1px solid #b57369;border-radius:3px;margin-top:4px;padding:7px 12px;text-decoration:none;display:inline-block}.calligraphy-back:hover{background:#f4e1d7}@media (width>=861px){.calligraphy-browse.has-query{grid-template-columns:minmax(0,1fr) minmax(220px,24%)}.calligraphy-browse:not(.has-query) .calligraphy-sources ul{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.calligraphy-browse:not(.has-query) .calligraphy-sources li:nth-child(-n+3){border-top:0}.calligraphy-browse:not(.has-query) .calligraphy-sources li:not(:nth-child(3n+1)){border-left:1px solid var(--line);padding-left:16px}}@media (width<=700px){.calligraphy-shell{width:calc(100% - 32px)}.calligraphy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.calligraphy-card-info strong{font-size:16px}.calligraphy-plate-layout{grid-template-columns:minmax(0,1fr);gap:13px}}
