.art-room-dialog{box-sizing:border-box;width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:24px;background:#f7ecd1;color:#312216;border:1px solid #c39135;border-radius:12px;overflow:auto;scrollbar-width:thin;box-shadow:0 22px 80px #0009}
dialog.art-room-dialog, .reader-realm-page>dialog.art-room-dialog{position:fixed;inset:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.art-room-dialog::backdrop{background:#100b08bd}.art-room-dialog header{display:flex;justify-content:space-between;gap:20px;align-items:start}.art-room-dialog h2{margin:5px 0 18px}.art-room-dialog label{display:grid;gap:7px;margin:15px 0}.art-room-dialog input:not([type=checkbox]),.art-room-dialog select,.art-room-dialog textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:44px;padding:10px;color:#312216;background:#fffaf0;border:1px solid #a99270;border-radius:6px;font:inherit}.art-room-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.art-room-dialog .art-room-check{display:flex;align-items:flex-start;gap:12px}.art-room-check input{width:20px;height:20px;flex-shrink:0}.art-room-dialog img,.art-office img{display:block;max-width:100%;max-height:440px;object-fit:contain;margin:15px auto}.art-room-note{font-size:.94rem;line-height:1.55;padding:14px;background:#eadabb;border-left:3px solid #ab7527}.art-room-dialog details{margin:15px 0;border:1px solid #ba9e72;border-radius:6px;padding:14px}.art-room-dialog summary,.art-office summary{cursor:pointer;font-weight:bold}.art-room-history article{padding:16px 0;border-top:1px solid #cbb991}.art-room-history nav,.art-office nav,.art-office-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.art-room-preview{background:#e8f0f4;color:#23475d;padding:12px;border:1px solid #53718b}.art-office article{padding:18px 0;border-bottom:1px solid #86603b}.art-office-actions{margin:14px 0}.art-office select{max-width:100%;padding:10px;font:inherit}.art-office-status{font-weight:bold}.art-office small{display:block}.art-office-history li{margin:8px 0}.art-office p[role=status]{min-height:1.5em}.art-office button,.art-room-dialog button{min-height:40px}.art-office [data-art-image-slot]{max-width:700px}.art-room-file{border:1px dashed #a67d42;padding:12px}.art-room-dialog button:disabled{opacity:.6;cursor:wait}
.art-office .art-office-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;align-items:start}.art-office-action{padding:12px;border:1px solid #98764866;border-radius:8px;min-width:0}.art-office-action button{width:100%;white-space:normal;box-sizing:border-box}.art-office-action p{margin:10px 0 0;font-size:.95rem;line-height:1.55}.art-office-action-notifies{border-color:#d3a74e;background:#b88a2320}.art-office-filter{display:grid;gap:8px;font-weight:bold}.art-office-filter select{width:100%;min-width:0;box-sizing:border-box}.art-office-help{font-size:.95rem;line-height:1.5}
[data-art-book-results]{display:grid;gap:5px;max-height:220px;overflow:auto}.art-room-dialog .art-book-result{width:100%;min-height:44px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:10px 12px;background:#fffaf0;color:#312216;border:1px solid #a99270;border-radius:6px;font:inherit}.art-book-result:focus-visible{outline:3px solid #86603b;outline-offset:-3px}[data-art-book-hint]{font-size:.9rem;margin:4px 0 8px}
@media(max-width:600px),(max-height:500px) and (pointer:coarse){.art-room-dialog{padding:16px;max-height:calc(100dvh - 12px);width:calc(100vw - 12px)}.art-room-dialog h2{font-size:1.7rem}.art-room-pair{grid-template-columns:1fr;gap:0}.art-room-dialog header{gap:10px}.art-room-dialog img{max-height:45dvh}.art-office-actions button{flex:1 1 130px}}
.art-office-batch{padding:18px;margin:16px 0;border:1px solid #a78b57;background:#0d2223;border-radius:8px}.art-office-batch button{min-height:44px;white-space:normal;margin:4px;max-width:100%}.art-publication-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.art-publication-dialog section{padding:18px 0;border-bottom:1px solid #b79b6f}.art-publication-dialog [data-art-publication-review]{overflow-wrap:anywhere}.art-publication-dialog button{white-space:normal;max-width:100%}.art-publication-dialog img{max-height:300px}.art-office [data-art-select-label]{display:flex;align-items:center;gap:10px;min-height:44px}.art-office [data-art-select-label] input{width:20px;height:20px}
.art-publication-dialog [data-art-publication-status]:not(:empty){padding:14px;border:1px solid #94733e;background:#fffbec;font-weight:bold;scroll-margin:20px}.art-publication-dialog [data-art-publication-status].is-error{background:#fff0e9;border:2px solid #943c26;color:#702619}.art-publication-dialog [data-art-publication-review]{scroll-margin:20px}
.art-gallery-preview-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.art-gallery-preview figure{margin:0;min-width:0}.art-gallery-preview figcaption{font-weight:bold;margin:10px 0}.art-gallery-card-crop{position:relative;aspect-ratio:4/3;overflow:hidden;background:#181612}.art-publication-dialog .art-gallery-card-crop img{position:absolute;max-width:none;max-height:none;margin:0;object-fit:fill}.art-gallery-preview{padding:20px 0;border-top:1px solid #b79b6f}.art-gallery-preview a{display:inline-block;padding:12px;border:1px solid #82653b;color:#432718}.art-publication-dialog .art-selected-previews img{max-height:350px}.art-publication-dialog .art-gallery-card-crop img{max-height:none}@media(max-width:600px){.art-gallery-preview-pair{grid-template-columns:1fr}}
