/* This collection is loaded by Recommend.html only. All component rules are scoped. */
.cs-stamp-section { --stamp-blue:#5679d0; --stamp-ink:#294291; --stamp-line:#b9c9eb; margin:5rem 0 1.5rem; color:var(--stamp-ink); }
.cs-stamp-section *, .cs-stamp-dialog * { box-sizing:border-box; }
.cs-stamp-section button, .cs-stamp-section input, .cs-stamp-section select, .cs-stamp-dialog button { font:inherit; }
.cs-stamp-intro { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:2rem; }
.cs-stamp-intro .cs-stamp-eyebrow { font: .875rem/1.5 Arial,sans-serif; letter-spacing:.16em; margin:0 0 .75rem; }
.cs-stamp-intro h2 { font-family:var(--site-display,serif); font-size:clamp(2rem,3.4vw,3.5rem); font-weight:400; line-height:1.25; margin:0; }
.cs-stamp-intro > p { max-width:26rem; margin:0; line-height:1.8; font-size:1rem; color:#52648c; }
.cs-stamp-filterbar { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; margin-bottom:1rem; }
.cs-stamp-search { display:flex; align-items:center; gap:.75rem; border:1px solid var(--stamp-line); background:#fff9; padding:.75rem 1rem; flex:1; min-width:200px; max-width:27rem; border-radius:4px; }
.cs-stamp-search svg { width:19px; height:19px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.7; }
.cs-stamp-search input { border:0; outline:0; color:var(--stamp-ink); background:transparent; width:100%; min-width:0; font-size:1rem; }
.cs-stamp-search:focus-within { outline:2px solid var(--stamp-blue); outline-offset:2px; }
.cs-stamp-filterbar select { max-width:13rem; border:1px solid var(--stamp-line); border-radius:4px; min-height:46px; padding:.65rem 2.3rem .65rem .8rem; color:var(--stamp-ink); background:#fff9; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23294291' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right .7rem center; }
.cs-stamp-all { border:1px solid var(--stamp-line); min-height:46px; padding:.7rem 1.1rem; background:transparent; border-radius:4px; color:var(--stamp-ink); cursor:pointer; }
.cs-stamp-all[aria-pressed=true] { background:var(--stamp-ink); color:white; border-color:var(--stamp-ink); }
.cs-stamp-total { margin-left:auto; font-size:.875rem; letter-spacing:.05em; }
.cs-stamp-notebook { position:relative; padding-left:35px; }
.cs-stamp-notebook::before { content:""; position:absolute; left:5px; top:2.5rem; bottom:2rem; width:12px; background:radial-gradient(ellipse 5px 8px at center,#cbd6ec 95%,transparent 100%) center top/12px 117px repeat-y; }
.cs-stamp-desk { position:relative; border:1px solid var(--stamp-line); padding-right:74px; background-color:#edf4fe; background-image:linear-gradient(#5679d01c 1px,transparent 1px),linear-gradient(90deg,#5679d01c 1px,transparent 1px); background-size:36px 36px; overflow:hidden; }
.cs-stamp-toolbar { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:1.5rem; padding:1.5rem 1rem .75rem; position:relative; z-index:2; }
.cs-stamp-toolbar button { display:inline-flex; align-items:center; gap:.5rem; padding:.4rem .55rem; color:var(--stamp-ink); background:#edf4fece; border:1px solid transparent; border-radius:4px; font-size:1.125rem; cursor:pointer; }
.cs-stamp-toolbar button:hover, .cs-stamp-toolbar button[aria-pressed=true] { border-color:var(--stamp-line); background:#fff; }
.cs-stamp-toolbar svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.6; }
.cs-stamp-layout-label { position:absolute; left:1.3rem; font-size:.875rem; letter-spacing:.08em; }
.cs-stamp-canvas { position:relative; height:800px; width:100%; touch-action:pan-y; }
.cs-stamp-canvas:empty { min-height:500px; }
.cs-stamp-tabs { position:absolute; right:0; top:0; bottom:0; width:74px; display:grid; grid-template-rows:repeat(8,minmax(0,1fr)); z-index:15; background:#edf4fee8; border-left:1px solid var(--stamp-line); }
.cs-stamp-tab { position:relative; display:flex; justify-content:center; align-items:center; gap:.5rem; border:0; border-bottom:1px dashed #9daed5; background:#eef3fe; color:#526da9; padding:10px 8px; font-size:1rem; writing-mode:vertical-rl; letter-spacing:.15em; cursor:pointer; transition:background .2s,color .2s; }
.cs-stamp-tab:nth-child(2n) { background:#e4edfb; }
.cs-stamp-tab:last-child { border-bottom:0; }
.cs-stamp-tab small { font-size:.875rem; opacity:.75; letter-spacing:0; }
.cs-stamp-tab:hover { background:#d9e5fa; color:#294291; }
.cs-stamp-tab[aria-pressed=true] { background:#5679d0; color:#fff; box-shadow:inset 4px 0 #294291; }
.cs-stamp-card { position:absolute; left:var(--card-x,0px); top:var(--card-y,0px); width:var(--card-width,180px); aspect-ratio:var(--card-ratio,.74); display:block; border:0; padding:0; background:none; color:#294291; text-align:left; cursor:grab; transform:rotate(var(--card-angle,0deg)); transform-origin:center; transition:left .65s cubic-bezier(.2,.75,.2,1),top .65s cubic-bezier(.2,.75,.2,1),transform .35s,filter .3s; filter:drop-shadow(0 5px 6px #29429120); touch-action:none; -webkit-user-select:none; user-select:none; }
.cs-stamp-card:hover { transform:rotate(0deg) translateY(-7px) scale(1.055); filter:drop-shadow(0 12px 12px #29429135); z-index:12 !important; }
.cs-stamp-card:focus-visible { outline:3px solid #294291; outline-offset:7px; z-index:13 !important; }
.cs-stamp-card[data-dragging] { transition:none; cursor:grabbing; transform:rotate(0deg) scale(1.04); z-index:14 !important; }
.cs-stamp-paper { position:relative; display:flex; flex-direction:column; align-items:center; width:100%; height:100%; padding:16px 15px; background:#fff; color:#294291; mask:linear-gradient(#000 0 0) center/calc(100% - 12px) calc(100% - 12px) no-repeat,radial-gradient(circle at top,transparent 4px,#000 4.6px) top/12px 7px repeat-x,radial-gradient(circle at bottom,transparent 4px,#000 4.6px) bottom/12px 7px repeat-x,radial-gradient(circle at left,transparent 4px,#000 4.6px) left/7px 12px repeat-y,radial-gradient(circle at right,transparent 4px,#000 4.6px) right/7px 12px repeat-y; }
.cs-stamp-paper::before { content:""; position:absolute; inset:11px; border:1px solid #5679d050; pointer-events:none; }
.cs-stamp-card:nth-child(3n+2) .cs-stamp-paper { background:#f9fbff; }
.cs-stamp-card:nth-child(3n) .cs-stamp-paper { background:#f0f5ff; }
.cs-stamp-paper .cs-stamp-card-top { display:flex; justify-content:space-between; width:100%; gap:4px; font-family:Arial,sans-serif; font-size:11px; letter-spacing:.08em; line-height:1.5; opacity:.75; }
.cs-stamp-paper img { display:block; width:100%; height:46%; object-fit:contain; margin:.7rem 0 .45rem; pointer-events:none; }
.cs-stamp-paper .cs-stamp-card-name { display:block; width:100%; margin:auto 0 .35rem; text-align:center; font-family:var(--site-display,serif); font-weight:400; font-size:clamp(1rem,1.5vw,1.5rem); line-height:1.25; overflow-wrap:anywhere; }
.cs-stamp-paper .cs-stamp-card-name[data-long] { font-size:1rem; }
.cs-stamp-card-area { font-size:.875rem; text-align:center; line-height:1.3; }
.cs-stamp-card-bottom { display:flex; width:100%; justify-content:space-between; gap:.25rem; margin-top:.6rem; padding-top:.4rem; border-top:1px solid #5679d03c; font-size:10px; letter-spacing:.08em; font-family:Arial,sans-serif; }
.cs-stamp-empty { position:absolute; inset:15% 5% auto; text-align:center; padding:4rem 1rem; color:#52648c; }
.cs-stamp-empty p { font-size:1.125rem; }
.cs-stamp-empty button { background:#294291; color:#fff; border:0; border-radius:4px; padding:.75rem 1rem; cursor:pointer; }
.cs-stamp-footer { display:flex; align-items:center; flex-wrap:wrap; gap:1rem; padding:1rem 0 0 35px; font-size:.875rem; }
.cs-stamp-footer p { margin:0; color:#62759e; }
.cs-stamp-pager { margin-left:auto; display:flex; align-items:center; gap:.75rem; }
.cs-stamp-pager button { min-width:44px; min-height:44px; background:#f7fcff; border:1px solid var(--stamp-line); border-radius:50%; color:#294291; cursor:pointer; font-size:1.5rem; }
.cs-stamp-pager button:disabled { opacity:.35; cursor:default; }
.cs-stamp-pager span { min-width:4rem; text-align:center; }
.cs-stamp-sources { margin:1rem 0 0 35px; font-size:.875rem; color:#62759e; }
.cs-stamp-sources summary { cursor:pointer; width:fit-content; min-height:32px; }
.cs-stamp-sources p { line-height:1.65; }
.cs-stamp-sources a { color:#526da9; margin-right:1.2rem; display:inline-block; line-height:2.2; text-underline-offset:4px; }
.cs-stamp-section button:focus-visible, .cs-stamp-section select:focus-visible, .cs-stamp-dialog button:focus-visible { outline:3px solid #5679d0; outline-offset:4px; }
.cs-stamp-dialog { --stamp-ink:#294291; width:100vw !important; height:100dvh !important; max-width:none !important; max-height:none !important; padding:0 !important; margin:0 !important; border:0 !important; border-radius:0 !important; inset:0; background:#f7fcff; color:#294291; overflow:auto; }
.cs-stamp-dialog::backdrop { background:#102354a8; backdrop-filter:blur(8px); }
.cs-stamp-dialog[open] { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); }
.cs-stamp-dialog .cs-stamp-close { position:fixed; top:1.25rem; right:1.25rem; z-index:5; width:48px; height:48px; border:1px solid #9db2df; border-radius:50%; background:#f7fcfff0; color:#294291; font-size:2rem; cursor:pointer; }
.cs-stamp-detail-art { display:flex; align-items:center; justify-content:center; flex-direction:column; padding:5rem 2rem 2rem; background-color:#e8f0ff; background-image:linear-gradient(#5679d020 1px,transparent 1px),linear-gradient(90deg,#5679d020 1px,transparent 1px); background-size:40px 40px; min-height:100dvh; }
.cs-stamp-detail-paper { display:block; width:min(390px,85%); aspect-ratio:.74; filter:drop-shadow(0 22px 30px #29429126); transition:transform .4s; }
.cs-stamp-detail-paper .cs-stamp-paper { padding:28px; }
.cs-stamp-detail-paper .cs-stamp-card-top { font-size:.875rem; }
.cs-stamp-detail-paper .cs-stamp-card-name, .cs-stamp-detail-paper .cs-stamp-card-name[data-long] { font-size:clamp(1.5rem,2.6vw,2.5rem); margin-top:auto; }
.cs-stamp-detail-paper .cs-stamp-card-area { font-size:1rem; }
.cs-stamp-detail-paper .cs-stamp-card-bottom { font-size:.875rem; }
.cs-stamp-detail-paper img { height:49%; }
.cs-stamp-zoom { margin-top:1.5rem; border:0; border-bottom:1px solid #9db2df; padding:.65rem 0; background:transparent; color:#294291; font-size:1rem; cursor:pointer; }
.cs-stamp-detail-copy { align-self:center; padding:5rem clamp(2rem,5vw,5rem) 3rem; }
.cs-stamp-detail-copy .cs-stamp-eyebrow { font-size:.875rem; letter-spacing:.12em; margin:0 0 1.5rem; }
.cs-stamp-detail-copy h2 { font-size:clamp(2rem,3.5vw,3.25rem); font-family:var(--site-display,serif); font-weight:400; line-height:1.35; margin:0 0 1.5rem; }
.cs-stamp-detail-copy > p { font-size:1.125rem; line-height:1.9; }
.cs-stamp-detail-copy dl { margin-top:2.5rem; }
.cs-stamp-detail-copy dl > div { display:grid; grid-template-columns:5rem 1fr; gap:1.5rem; padding:1rem 0; border-top:1px solid #bdcdef; font-size:1rem; line-height:1.7; }
.cs-stamp-detail-copy dt { color:#62759e; }
.cs-stamp-detail-copy dd { margin:0; }
.cs-stamp-detail-tags { display:flex; gap:.5rem; flex-wrap:wrap; }
.cs-stamp-detail-tags span { padding:.15rem .5rem; background:#e6edfb; border-radius:3px; }
.cs-stamp-maplink { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:.75rem 1.5rem; background:#294291; color:#fff; border-radius:30px; text-decoration:none; margin:1.5rem 0; }
.cs-stamp-detail-nav { display:flex; gap:1rem; align-items:center; justify-content:space-between; margin-top:1.5rem; border-top:1px solid #bdcdef; padding-top:1.25rem; }
.cs-stamp-detail-nav button { border:0; background:transparent; color:#294291; padding:.6rem 0; cursor:pointer; font-size:1rem; }
.cs-stamp-detail-nav button:disabled { opacity:.3; cursor:default; }
.cs-stamp-detail-note { font-size:.875rem !important; color:#62759e; }
.cs-stamp-dialog.cs-stamp-zoomed { grid-template-columns:1fr; }
.cs-stamp-dialog.cs-stamp-zoomed .cs-stamp-detail-copy { display:none; }
.cs-stamp-dialog.cs-stamp-zoomed .cs-stamp-detail-paper { width:min(500px,76vw); max-height:78dvh; aspect-ratio:.74; }
html:has(.cs-stamp-dialog[open]) { overflow:hidden; }
@media (max-width:1100px) {
 .cs-stamp-layout-label { position:static; }
 .cs-stamp-toolbar { gap:.8rem; }
 .cs-stamp-intro { align-items:start; }
 .cs-stamp-canvas { height:760px; }
}
@media (max-width:700px) {
 .cs-stamp-intro { flex-direction:column; gap:1rem; }
 .cs-stamp-intro h2 { font-size:2rem; }
 .cs-stamp-total { width:100%; margin:.25rem 0; }
 .cs-stamp-notebook { padding-left:0; }
 .cs-stamp-notebook::before { display:none; }
 .cs-stamp-desk { padding-right:48px; background-size:28px 28px; }
 .cs-stamp-tabs { width:48px; }
 .cs-stamp-tab { font-size:.875rem; letter-spacing:.12em; padding:8px 4px; }
 .cs-stamp-tab small { font-size:12px; }
 .cs-stamp-toolbar { padding:1rem .5rem; gap:.3rem; }
 .cs-stamp-toolbar button { font-size:1rem; padding:.4rem; }
 .cs-stamp-layout-label { display:none; }
 .cs-stamp-canvas { height:1020px; }
 .cs-stamp-paper { padding:14px 12px; }
 .cs-stamp-paper img { margin:.4rem 0; }
 .cs-stamp-paper .cs-stamp-card-name { font-size:1.125rem; }
 .cs-stamp-paper .cs-stamp-card-name[data-long] { font-size:1rem; }
 .cs-stamp-card-area { font-size:.875rem; }
 .cs-stamp-card-top { font-size:10px !important; }
 .cs-stamp-footer, .cs-stamp-sources { padding-left:0; margin-left:0; }
 .cs-stamp-footer p { max-width:18rem; }
 .cs-stamp-pager { margin-left:0; }
 .cs-stamp-dialog[open] { grid-template-columns:1fr; }
 .cs-stamp-detail-art { min-height:auto; padding:5rem 1.5rem 2rem; }
 .cs-stamp-detail-paper { width:min(300px,82vw); }
 .cs-stamp-detail-copy { padding:2rem 1.5rem; }
 .cs-stamp-dialog.cs-stamp-zoomed .cs-stamp-detail-art { min-height:100dvh; }
}
@media (prefers-reduced-motion:reduce) {
 .cs-stamp-card, .cs-stamp-detail-paper { transition:none !important; }
}

.cs-stamp-search input { padding:0; min-height:0; height:auto; line-height:1.5; box-shadow:none; }
.cs-stamp-tab { writing-mode:horizontal-tb; flex-direction:column; gap:4px; padding:6px 4px; }
.cs-stamp-tab-name { writing-mode:vertical-rl; white-space:nowrap; letter-spacing:.12em; }
.cs-stamp-tab small { font-size:12px; line-height:1.2; }
@media(max-width:700px) { .cs-stamp-card .cs-stamp-paper img { flex:1; height:auto; min-height:0; margin:.25rem 0; } }
