.exhibition-manager[hidden]{display:none}
.exhibition-settings{display:grid;grid-template-columns:2fr 2fr 1fr;gap:1rem}
.exhibition-selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;margin-top:1.5rem}
.exhibition-selection-grid>section{min-width:0}
.exhibition-small-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0}
.exhibition-small-actions button,.exhibition-order button{background:#28241f;color:#f7eee0;border:1px solid #8e8270;padding:.65rem;font:inherit;cursor:pointer;min-height:44px}
.exhibition-choices{max-height:460px;overflow:auto;border-block:1px solid #655c50}
.manage-panel .exhibition-choice{display:flex;align-items:center;gap:.8rem;padding:.7rem;margin:0;border-bottom:1px solid #45413b;cursor:pointer}
.manage-panel .exhibition-choice input{width:20px;height:20px;flex:none;accent-color:#c8a260}
.exhibition-choice img{width:48px;height:48px;object-fit:contain}
.exhibition-choice span{overflow-wrap:anywhere}
.exhibition-choice small{display:block;color:#d0c5b5;font-size:.875rem;margin-top:.25rem}
.exhibition-order{padding:0;list-style:none;max-height:550px;overflow:auto}
.exhibition-order li{display:grid;grid-template-columns:2rem 1fr auto;align-items:center;gap:.5rem;padding:.75rem 0;border-bottom:1px solid #655c50}
.exhibition-order li>span{overflow-wrap:anywhere}
.exhibition-order li>div{display:flex;gap:.3rem}
.exhibition-order button{min-width:40px}
.exhibition-order-number{color:#dfc28b}
.exhibition-notice{border-left:3px solid #dfc28b;padding:.8rem 1rem;background:#312b20}
.exhibition-preview{margin-top:2rem}
.exhibition-preview>h2{font-size:1.6rem;margin-bottom:1rem}
.exhibition-preview-pages{overflow:auto;padding:.5rem}
.exhibition-sheet{box-sizing:border-box;width:186mm;min-height:270mm;margin:0 auto 24px;padding:8mm;display:flex;flex-direction:column;background:#fff;color:#24201a;font-family:Georgia,'Times New Roman',serif;font-size:10pt;line-height:1.4;text-align:left;letter-spacing:normal;box-shadow:0 4px 22px #0004}
.exhibition-heading{display:flex;align-items:center;gap:6mm;border-bottom:1px solid #9e824a;padding-bottom:5mm;margin-bottom:5mm}
.exhibition-logo{width:27mm;height:27mm;object-fit:contain;flex:none}
.exhibition-heading>div{min-width:0}
.exhibition-sheet .exhibition-artist{font-size:16pt;letter-spacing:.1em;margin:0 0 2mm;line-height:1.2;color:#282019}
.exhibition-artist span{font-size:8pt;display:block;letter-spacing:.28em;margin-top:1mm}
.exhibition-sheet h2{font-size:15pt;line-height:1.3;margin:0;font-weight:normal;overflow-wrap:anywhere;color:#24201a}
.exhibition-sheet .exhibition-date{font-size:10pt;margin:2mm 0 0;overflow-wrap:anywhere;color:#443a2c}
.exhibition-table{border-collapse:collapse;width:100%;table-layout:fixed}
.exhibition-number-col{width:9mm}.exhibition-photo-col{width:35mm}.exhibition-price-col{width:28mm}
.exhibition-table th{font-family:Arial,sans-serif;font-size:8pt;font-weight:600;letter-spacing:.04em;padding:2mm 1mm;border-bottom:1px solid #9e824a;text-align:left;color:#524633}
.exhibition-table th:last-child{text-align:right}
.exhibition-table td{padding:4mm 1mm;border-bottom:1px solid #ded8cf;vertical-align:middle;overflow-wrap:anywhere;font-size:10pt}
.exhibition-thumb{width:32mm;height:27mm;object-fit:contain;display:block}
.exhibition-work-title{font-size:11pt;line-height:1.35;display:block;font-weight:bold;margin-bottom:1.5mm}
.exhibition-work-detail{display:block;font-size:9pt;line-height:1.4;color:#4c453a}
.exhibition-price{text-align:right;font-variant-numeric:tabular-nums}
.exhibition-footer{margin-top:auto;padding-top:6mm;display:flex;justify-content:space-between;gap:3mm;font-family:Arial,sans-serif;font-size:8pt;line-height:1.6;color:#4c453a}
.exhibition-print-root{position:fixed;left:-12000px;top:0;width:186mm;visibility:hidden}
@media(max-width:760px){.exhibition-settings,.exhibition-selection-grid{grid-template-columns:1fr}.exhibition-order li{grid-template-columns:1.5rem 1fr}.exhibition-order li>div{grid-column:2}}
@media print{
 @page{size:A4 portrait;margin:12mm}
 body.exhibition-printing{margin:0!important;background:white!important}
 body.exhibition-printing> :not(.exhibition-print-root){display:none!important}
 body.exhibition-printing .exhibition-print-root{position:static;width:auto;visibility:visible;display:block}
 .exhibition-print-root .exhibition-sheet{width:100%;min-height:270mm;margin:0;padding:0;box-shadow:none;break-after:page;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .exhibition-print-root .exhibition-sheet:last-child{break-after:auto;page-break-after:auto}
 .exhibition-print-root tr,.exhibition-heading,.exhibition-footer{break-inside:avoid;page-break-inside:avoid}
 .exhibition-print-root thead{display:table-header-group}
}
