.artist-settings { margin-bottom: 12px; }
.artist-settings label { display: block; margin-bottom: 6px; }
.artist-settings select { width: 100%; }
.form-group[hidden] { display: none; }
.sidebar-section[hidden] { display: none; }
.a4-page.artist-page { width: 794px; height: 560px; display: block; border: 0; }
.artist-page .artist-board { width: 100%; height: 100%; border: 0; display: block; background: #faf7ef; }
.artist-board.washi { background: #faf7ef url('assets/artist-board-washi.jpg') center / 100% 100% no-repeat; }
.artist-board.washi-simple { background: #faf7ef url('assets/artist-board-washi-simple.png') center / 100% 100% no-repeat; }
.artist-board::before { display: none; }
.artist-board .artist-content { position: absolute; inset: 86px 95px 74px; display: flex; flex-direction: column; }
.artist-board .artist-header { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.artist-board .artist-heading-text { flex: 1; min-width: 0; }
.artist-board .artist-portrait { width: 112px; height: 112px; flex-shrink: 0; background-size: cover; background-repeat: no-repeat; }
.artist-photo-preview { width: 72px; height: 72px; background-size: cover; background-repeat: no-repeat; border: 1px solid var(--border); margin: 6px 0; }
.artist-photo-drop .hint { margin-top: 5px; }
.artist-photo-drop.is-disabled { opacity: 0.55; cursor: not-allowed; }
.artist-photo-drop.is-disabled:hover { border-color: var(--border); background: transparent; }
.artist-photo-drop.is-disabled input[type="file"] { cursor: not-allowed; }
.artist-board .artist-title-line { line-height: 1.35; }
.artist-board .board-title { font-size: calc(var(--fs-title, 28px) * 1.25); line-height: 1.35; font-weight: 400; display: inline; overflow: visible; }
.artist-board .board-name { margin-top: 22px; max-width: 100%; font-size: calc(var(--fs-name, 16px) * 1.3); }
.artist-board .board-year { position: static; display: inline-block; margin-left: 10px; max-width: 100%; font-size: calc(var(--fs-title, 28px) * 0.75); line-height: 1.35; vertical-align: -0.12em; color: #555; }
.artist-board .artist-divider { height: 1px; flex-shrink: 0; background: #b78d52; margin: 28px 0 35px; }
.artist-board .artist-details { display: flex; align-items: flex-start; gap: 28px; flex: 1; min-height: 0; }
.artist-board .artist-profile { flex: 1; min-width: 0; }
.artist-board .artist-profile-heading,
.artist-board .artist-qr-label { font-family: Georgia, 'Yu Mincho', 'YuMincho', '游明朝', 'Hiragino Mincho ProN', 'MS PMincho', serif; font-weight: 600; font-style: italic; font-size: 18px; letter-spacing: 0.03em; line-height: 1.3; color: var(--board-accent, #ac3125); }
.artist-board .artist-profile-heading { margin-bottom: 17px; }
.artist-board .board-profile { font-size: var(--fs-comment, 20px); line-height: 1.8; overflow-wrap: anywhere; }
.artist-board .artist-qr { width: 130px; flex-shrink: 0; margin-top: 22px; text-align: center; }
.artist-board .artist-qr img { display: block; width: 130px; height: 130px; background: #fff; border: 8px solid #fff; }
.artist-board .artist-qr-label { margin-top: 6px; overflow-wrap: anywhere; }
.artist-board .board-org-block { top: 24px; right: 24px; max-width: 360px; padding: 6px 0; background: transparent; }
.artist-board .board-org-block:empty { display: none; }
.artist-board .board-logo { max-width: 100%; }
.board-footer { position: absolute; bottom: 6px; left: 12px; right: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; text-align: center; font-size: 9px; line-height: 1.4; color: #555; overflow-wrap: anywhere; }
.board-footer .footer-logo { width: auto; max-width: 40%; object-fit: contain; flex-shrink: 0; }
.board-footer span { min-width: 0; }
.caption-board.has-footer .board-lower { padding-bottom: 28px; }
.caption-board.has-footer .board-comment { max-height: 100%; }
.artist-board .board-footer { bottom: 16px; left: 95px; right: 95px; font-size: 10px; }
.exporting .caption-board { box-shadow: none !important; }
@media print {
  body.artist-mode .page-scale-wrap { width: 210mm !important; height: 148mm !important; }
  body.artist-mode .a4-page.artist-page { width: 210mm !important; height: 148mm !important; transform: none; break-after: page; }
  body.artist-mode .artist-board { max-height: none !important; }
  .artist-board { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
