.amendment-date{display:inline;border:0;border-bottom:1px dotted var(--hnu-wine,#a3194e);border-radius:2px;background:transparent;color:var(--hnu-wine,#a3194e);font:inherit;line-height:inherit;padding:0 2px;margin:0;cursor:pointer;text-underline-offset:3px}
.amendment-date:hover,.amendment-date:focus-visible{background:#f9eaf0;border-bottom-style:solid}
.amendment-dialog{width:min(1320px,calc(100% - 32px));max-width:none;max-height:88dvh;margin:auto;padding:0;border:1px solid #d8d8e6;border-top:4px solid var(--hnu-wine,#a3194e);border-radius:8px;background:#fff;color:#39394e;box-shadow:0 20px 80px #17172f44}
.amendment-dialog[open]{display:flex;flex-direction:column}
.amendment-dialog::backdrop{background:#17172f80}
.amendment-dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:22px 26px;border-bottom:1px solid #e1e1eb}
.amendment-dialog-heading h2{margin:7px 0 0;color:var(--hnu-indigo,#343465);font-size:1.25rem;line-height:1.6}
.amendment-dialog-date{font-size:.875rem;color:var(--hnu-wine,#a3194e);font-weight:700}
.amendment-dialog-close{flex:none;min-height:40px;padding:8px 14px;border:1px solid #d8d8e6;border-radius:4px;background:#fff;color:var(--hnu-indigo,#343465);font-size:.875rem}
.amendment-dialog-body{padding:24px 26px;overflow:auto;min-height:0;overscroll-behavior:contain}
.amendment-dialog-body .article-block{padding-top:0;border-bottom:0}
.amendment-dialog-body .article-block h3{color:var(--hnu-indigo,#343465);font-size:1.0625rem}
.amendment-dialog-body .article-body{font-size:1rem;overflow-wrap:anywhere}
.amendment-dialog-body .version-picker{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.amendment-dialog-body .version-picker select{flex:1;min-width:170px}
.amendment-dialog-meta{font-size:.875rem;color:#727283;margin:0 0 20px;line-height:1.8}
.amendment-dialog-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;border-top:1px solid #e1e1eb;padding:18px 26px;font-size:.875rem;background:#fafafd}
.amendment-dialog-actions .text-button{border:1px solid #d8d8e6;border-radius:4px;background:white;color:var(--hnu-indigo,#343465)}
.amendment-dialog-actions .amendment-dialog-meta{margin:0}
.history-clause-heading{font-size:1.0625rem;color:var(--hnu-indigo,#343465);margin:0 0 14px}
.history-comparison-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:.875rem;margin-bottom:12px}.history-comparison-controls label{display:flex;align-items:center;gap:8px}
.history-diff-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:.8125rem;line-height:1.9;margin:0 0 18px}.history-diff-legend span{padding:1px 5px}
.amendment-dialog .diff-removed{background:#f9d3d0;color:#842a25;font-weight:700;text-decoration:line-through;text-decoration-thickness:1.5px;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:2px;padding:2px 1px}
.amendment-dialog .diff-added{background:#cdebd9;color:#175132;font-weight:700;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:2px;padding:2px 1px}
.history-later-removed{background:#fff0c5;color:#795816;text-decoration:line-through;text-decoration-thickness:1px}.history-later-added{background:#e1eaff;color:#294d8a;text-decoration:underline;text-underline-offset:3px}
.amendment-dialog .diff-added.history-later-removed{background:linear-gradient(#dbefdf 50%,#fff0c5 50%);text-decoration:line-through}
.history-three-way{border:1px solid #d8d8e6;border-radius:5px;overflow:hidden}
.history-grid-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #e1e1eb}.history-grid-row:last-child{border-bottom:0}
.history-column-heading,.history-cell{min-width:0;padding:14px 16px;border-right:1px solid #e1e1eb}.history-column-heading:last-child,.history-cell:last-child{border-right:0}
.history-column-heading{background:#f3f3f9;display:flex;flex-direction:column;gap:5px;color:var(--hnu-indigo,#343465)}.history-column-heading strong{font-size:1rem}.history-column-heading>span{font-size:.875rem;font-weight:700}.history-column-heading>small{font-size:.8125rem;color:#7a7a8c}
.history-version-source{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:8px;font-size:.8125rem}.history-version-source .official-download{min-height:30px;font-size:.75rem;padding:4px 7px;gap:5px}.history-version-source .official-download small{display:none}
.history-version-picker{display:flex;flex-direction:column;gap:6px;font-size:.8125rem;margin-top:7px}.history-version-picker select{max-width:100%;padding:6px;border:1px solid #d8d8e6;border-radius:4px;background:white;color:var(--hnu-indigo,#343465)}
.history-cell{background:white}.history-cell .article-body{line-height:1.85;font-size:1rem;font-family:'Malgun Gothic','Apple SD Gothic Neo',sans-serif;white-space:pre-wrap}
.history-changed-at .history-cell{background:#fdfbfd}.history-changed-since .history-cell:last-child{background:#f7f9ff}
.history-empty{color:#8b8b9d;font-size:.8125rem;line-height:1.8;white-space:normal;display:block}
.history-mobile-nav{display:none}.history-table-row .table-scroll{margin:0}.history-table-row .source-table{font-size:.8125rem}
@media(max-width:650px){.amendment-dialog{width:calc(100% - 20px);max-height:92dvh}.amendment-dialog-heading,.amendment-dialog-body{padding:18px}.amendment-dialog-heading{gap:12px}.amendment-dialog-heading h2{font-size:1.125rem}.amendment-dialog-actions{padding:14px 18px}}
@media(max-width:650px){.history-mobile-nav{display:flex;gap:4px}.history-mobile-nav button{border:1px solid #d8d8e6;border-radius:4px;background:white;padding:7px 11px;color:var(--hnu-indigo,#343465);font-size:.875rem}.history-mobile-nav button[aria-pressed=true]{background:var(--hnu-indigo,#343465);color:white}.history-grid-row{grid-template-columns:minmax(0,1fr)}.history-column-heading,.history-cell{border-right:0}.history-three-way[data-visible-side=before] [data-side]:not([data-side=before]),.history-three-way[data-visible-side=after] [data-side]:not([data-side=after]),.history-three-way[data-visible-side=current] [data-side]:not([data-side=current]){display:none}.history-diff-legend{gap:7px}.history-column-heading,.history-cell{padding:12px}}
