/* 案Aの一覧と1人分。ボード共通の色を使い、ほかの欄へ影響させない。 */
#artistbios-body{display:flex;flex-direction:column;gap:24px}
.artistbios-progress{display:flex;gap:20px;flex-wrap:wrap;align-items:baseline;padding:14px 18px;border-radius:12px;background:var(--fill)}
.artistbios-progress b{font-size:24px}
.artistbios-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
.artistbios-list{display:flex;flex-direction:column}
.artistbios-sidebar{display:flex;flex-direction:column;gap:20px;min-width:0}
.artistbios-pending-row{display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:11px 14px;border-top:1px solid var(--line)}
.artistbios-pending-row:first-child{border-top:0}
.artistbios-pending-research small{white-space:nowrap;flex:none}
.artistbios-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 14px;border-top:1px solid var(--line);text-align:left;width:100%;min-height:44px}
.artistbios-row:first-child{border-top:0}
.artistbios-row[aria-current=true]{background:color-mix(in srgb,var(--accent) 10%,transparent)}
.artistbios-row-copy{min-width:0;overflow-wrap:anywhere}
.artistbios-row small{display:block;color:var(--sub);font-size:14px}
.artistbios-chip{display:inline-block;background:var(--fill);border-radius:980px;padding:3px 10px;font-size:14px;color:var(--sub);white-space:nowrap;flex:none}
.artistbios-state-pending{background:color-mix(in srgb,var(--warn) 10%,var(--card));color:var(--warn)}
.artistbios-state-ok{background:color-mix(in srgb,var(--ok) 10%,var(--card));color:var(--ok)}
.artistbios-state-fix{background:color-mix(in srgb,var(--late) 10%,var(--card));color:var(--late)}
.artistbios-detail{display:flex;flex-direction:column;gap:20px;min-width:0}
.artistbios-section{display:flex;flex-direction:column;gap:12px;min-width:0}
.artistbios-section>h2{font-size:19px;font-weight:700}
.artistbios-pending-research>h2{font-size:16px}
.artistbios-shop-wrap{background:#f6f1eb;border-radius:12px;padding:16px}
.artistbios-shop-card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:22px 24px;font-family:Georgia,"Hiragino Mincho ProN",serif;color:#1f2a33;background:#fff;border-color:#e3ddd3;max-width:440px;overflow-wrap:anywhere}
.artistbios-shop-card h3{margin:0;font-size:20px;font-weight:400}
.artistbios-shop-card p{margin-top:8px;font-size:16px;color:#5b6670;line-height:1.65;white-space:pre-line}
.artistbios-shop-link{display:inline-block;margin-top:14px;color:#7d5f24;text-decoration:underline}
.artistbios-japanese{background:var(--fill);border-radius:10px;padding:12px 14px;white-space:pre-line;overflow-wrap:anywhere}
.artistbios-label{font-size:14px;font-weight:600;letter-spacing:.02em;margin-bottom:6px}
.artistbios-why{border-left:3px solid var(--accent);padding:4px 0 4px 14px;white-space:pre-line;overflow-wrap:anywhere}
.artistbios-source-wrap{overflow-x:auto}
.artistbios-sources{width:100%;border-collapse:collapse;font-size:15px}
.artistbios-sources th{text-align:left;color:var(--sub);font-weight:600;padding:8px 10px;border-bottom:1px solid var(--line)}
.artistbios-sources td{padding:10px;border-top:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}
.artistbios-source-link{display:block;color:var(--accent);text-decoration:none}
.artistbios-source-link+.artistbios-source-link{margin-top:6px}
a.artistbios-source-link:hover{text-decoration:underline}
a.artistbios-source-link:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}
.artistbios-agree{color:var(--ok);font-weight:600}
.artistbios-split,.artistbios-old{color:var(--warn);font-weight:600}
.artistbios-fact-note{display:block;font-size:14px;margin-top:6px;white-space:pre-line}
.artistbios-fold{font-size:15px;overflow-wrap:anywhere}
.artistbios-fold summary{cursor:pointer}
.artistbios-fold li{margin:3px 0}
.artistbios-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.artistbios-ok{background:var(--ok)}
/* OK の後の「済み」の札と取り消し（store 399・A案） */
.artistbios-done{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--ok) 9%,var(--card))}
.artistbios-done-copy{flex:1;min-width:180px}
.artistbios-done-copy b{color:var(--ok);font-size:17px}
.artistbios-done-copy p{font-size:14px}
.artistbios-dialog{text-align:left}
.artistbios-dialog .row{justify-content:flex-end;gap:10px}
.artistbios-dialog p{font-size:15px}
/* 確認済みの絵師・答えた名前の区別は下にまとめて折りたたむ（オーナー指示 10/10） */
.artistbios-done-fold,.artistbios-answered{display:flex;flex-direction:column;gap:10px}
.artistbios-done-fold>summary,.artistbios-answered>summary{list-style:none;cursor:pointer;color:var(--sub);font-size:15px;font-weight:600;padding:6px 2px;min-height:44px;display:flex;align-items:center}
.artistbios-done-fold>summary:focus-visible,.artistbios-answered>summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
.artistbios-done-fold[open]>summary,.artistbios-answered[open]>summary{margin-bottom:8px}
.artistbios-done-fold>summary::-webkit-details-marker,.artistbios-answered>summary::-webkit-details-marker{display:none}
.artistbios-done-fold>summary::after,.artistbios-answered>summary::after{content:"›";display:inline-block;margin-left:8px;font-size:19px;line-height:1}
.artistbios-done-fold[open]>summary::after,.artistbios-answered[open]>summary::after{transform:rotate(90deg)}
@media (prefers-reduced-motion:no-preference){.artistbios-done-fold>summary::after,.artistbios-answered>summary::after{transition:transform .15s}}
/* 参考の文（まだ採用しない長い紹介文・#34 段3・オーナー指示 10/12）。紹介文の下の閉じた欄で、見比べるだけ（ボタンなし） */
.artistbios-reference{border:1px solid var(--line);border-radius:12px;background:var(--card);min-width:0}
.artistbios-reference>summary{list-style:none;cursor:pointer;display:flex;align-items:center;flex-wrap:wrap;gap:2px 4px;min-height:44px;padding:10px 14px;font-size:15px;font-weight:600;overflow-wrap:anywhere}
.artistbios-reference>summary::-webkit-details-marker{display:none}
.artistbios-reference>summary::after{content:"›";display:inline-block;margin-left:auto;padding-left:8px;font-size:19px;line-height:1;color:var(--sub)}
.artistbios-reference[open]>summary::after{transform:rotate(90deg)}
.artistbios-reference>summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:10px}
@media (prefers-reduced-motion:no-preference){.artistbios-reference>summary::after{transition:transform .15s}}
.artistbios-reference-status{color:var(--sub);font-weight:400}
.artistbios-reference-body{display:flex;flex-direction:column;gap:14px;padding:2px 16px 16px;min-width:0}
.artistbios-reference-lead{font-size:14px;overflow-wrap:anywhere}
.artistbios-reference-text,.artistbios-reference-note{min-width:0;overflow-wrap:anywhere}
.artistbios-reference-text p,.artistbios-reference-note p{line-height:1.7;white-space:pre-line}
.artistbios-reference-text p+p{margin-top:10px}
.artistbios-reference-text .artistbios-label+p{margin-top:0}
.artistbios-reference-text .artistbios-label,.artistbios-reference-note .artistbios-label{line-height:1.45}
.artistbios-reference-ja,.artistbios-reference-note{background:var(--fill);border-radius:10px;padding:12px 14px}
.artistbios-reference-sources ul{padding-left:20px}
.artistbios-reference-sources li{margin:4px 0}
.artistbios-who{font-size:14px;overflow-wrap:anywhere}
.artistbios-note{display:block;white-space:pre-line;margin-top:4px}
.artistbios-reason{display:flex;flex-direction:column;gap:10px}
.artistbios-reason label{font-size:14px;color:var(--sub)}
.artistbios-reason textarea{font:inherit;width:100%;min-height:80px;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text);resize:vertical}
.artistbios-name-row{display:grid;grid-template-columns:64px minmax(0,1fr);gap:14px;align-items:start;padding:12px 16px;border-top:1px solid var(--line)}
.artistbios-name-row:first-child{border-top:0}
.artistbios-photo{width:64px;height:80px;object-fit:contain;border-radius:6px;background:var(--fill)}
.artistbios-name-copy{min-width:0;overflow-wrap:anywhere}
.artistbios-name-copy .artistbios-who{margin-top:6px}
.artistbios-ai{font-size:14px;margin-top:6px}
.artistbios-name-choices{grid-column:2;display:flex;justify-self:start;background:var(--fill);padding:3px;border-radius:10px;gap:2px;flex-wrap:wrap;max-width:100%}
.artistbios-name-choices button{padding:6px 12px;border-radius:8px;font-size:15px;min-height:44px;overflow-wrap:anywhere}
.artistbios-name-choices button[aria-pressed=true]{background:var(--card);box-shadow:0 1px 3px color-mix(in srgb,var(--text) 15%,transparent);font-weight:600}
@media(max-width:720px){.artistbios-grid{grid-template-columns:1fr}.artistbios-name-row{grid-template-columns:48px minmax(0,1fr);gap:10px;padding:12px}.artistbios-photo{width:48px;height:64px}.artistbios-shop-card{padding:22px 20px}.artistbios-sources thead{display:none}.artistbios-sources,.artistbios-sources tbody,.artistbios-sources tr,.artistbios-sources td{display:block;width:100%}.artistbios-sources tr{padding:6px 0;border-top:1px solid var(--line)}.artistbios-sources tr:first-child{border-top:0}.artistbios-sources td{border-top:0;padding:4px 12px}.artistbios-sources td::before{content:attr(data-label);display:block;font-size:14px;color:var(--sub);font-weight:600}}

.artistbios-who:empty{display:none}
