.history-more-row{margin-top:20px;display:flex;justify-content:flex-start}
.history-more{display:inline-flex;align-items:center;min-height:42px;padding:9px 14px;border:1px solid var(--red);border-radius:5px;background:white;color:var(--red-dark);font-size:14px;font-weight:600;line-height:1.4;text-align:left}
.history-more:hover{background:#fff5f3}
.history-more:focus-visible,.history-dialog-close:focus-visible{outline:3px solid #2178d5;outline-offset:3px}
.history-dialog{width:calc(100% - 32px);max-width:660px;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink);box-shadow:0 22px 70px #1e211f35;overflow-y:auto;overscroll-behavior:contain;font:16px/1.6 var(--font)}
.history-dialog::backdrop{background:#151a18a6}
.history-dialog-toolbar{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 24px;border-bottom:1px solid var(--line);background:var(--paper)}
.history-dialog-label{font-size:14px;font-weight:600;line-height:1.4;color:var(--muted)}
.history-dialog-close{flex-shrink:0;min-height:40px;padding:7px 13px;border:1px solid #c7cbc2;border-radius:5px;background:white;color:var(--ink);font-size:14px;font-weight:600;line-height:1.4}
.history-dialog-close:hover{border-color:var(--red);color:var(--red-dark)}
.history-dialog-body{padding:23px 24px 26px}
.history-dialog h2{margin:0 0 13px;font-size:28px;line-height:1.2;letter-spacing:-.025em;color:var(--ink)}
.history-dialog p{margin:0 0 12px;font-size:16px;line-height:1.6;color:var(--ink);overflow-wrap:anywhere}
.history-dialog .history-dialog-introduction{color:var(--muted)}
.history-dialog-chapter{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}
.history-dialog h3{margin:0 0 9px;font-size:17px;line-height:1.45;letter-spacing:normal;color:var(--red-dark)}
.history-dialog-chapter p:last-child{margin-bottom:0}
@media(max-width:480px){.history-more-row{margin-top:16px}.history-more{min-height:44px}.history-dialog{width:calc(100% - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:8px}.history-dialog-toolbar{padding:10px 17px}.history-dialog-close{min-height:44px}.history-dialog-body{padding:20px 17px 22px}.history-dialog h2{font-size:25px}.history-dialog-chapter{margin-top:17px;padding-top:15px}}
