/* Dialog formats: shared brand styles, scoped additions for the UD export. */
.format-list .format-card{border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);display:grid;grid-template-columns:72px minmax(0,1fr) 20px;gap:.5rem;align-items:end;min-height:140px;padding:1rem}
.format-card b{color:var(--rust);font-size:1.1rem;font-weight:400}.format-card:hover,.format-card:focus-visible{background:var(--petrol-soft)}
.format-card:focus-visible,.format-jump-links a:focus-visible,.format-text-link:focus-visible,.format-back-top:focus-visible,.format-table-scroll:focus-visible{outline:3px solid var(--petrol);outline-offset:4px}
.format-content{padding:clamp(3.5rem,7vw,7rem) clamp(1.5rem,5vw,5rem)}
.format-intro{max-width:1120px;padding-bottom:clamp(3.5rem,7vw,7rem)}.format-intro h1{font-size:clamp(4rem,8.5vw,8.5rem);margin-bottom:2.5rem}.format-intro>p:not(.section-code){max-width:760px;color:var(--grey)}.format-intro .format-lead{font-size:clamp(1.15rem,1.7vw,1.45rem);line-height:1.55}
.format-text-link{display:inline-flex;gap:1rem;align-items:center;width:fit-content;border-bottom:3px solid var(--rust);padding:.35rem 0;font-size:.9rem;font-weight:700}.format-text-link:hover{color:var(--rust)}
.format-overview,.format-comparison,.format-practical{padding:3.5rem 0;border-top:1px solid var(--ink);scroll-margin-top:2rem}
.format-overview h2,.format-comparison h2,.format-practical h2{font-size:clamp(2.8rem,5.2vw,5.3rem);max-width:1000px;margin-bottom:2rem;line-height:1}
.format-comparison>p:not(.section-code){max-width:760px;color:var(--grey);line-height:1.6}
.format-jump-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--ink);border-left:1px solid var(--ink);margin-top:2.5rem}.format-jump-links a{display:grid;grid-template-columns:60px minmax(0,1fr);gap:1rem;padding:1.3rem;border-right:1px solid var(--ink);border-bottom:1px solid var(--ink);font-size:1.1rem;font-weight:700}.format-jump-links span{font-size:.76rem;color:var(--rust);align-self:center}.format-jump-links a:hover{background:var(--petrol-soft)}
.format-table-scroll{overflow-x:auto;margin-top:2rem;max-width:100%}.format-comparison table{width:100%;border-collapse:collapse;min-width:620px;font-size:1rem;line-height:1.6}.format-comparison caption{text-align:left;color:var(--grey);font-size:.85rem;padding:0 0 1rem}.format-comparison th,.format-comparison td{text-align:left;border:1px solid var(--line);padding:1.2rem;vertical-align:top}.format-comparison thead{background:var(--petrol);color:white}.format-comparison tbody th{width:19%;background:var(--paper)}.format-comparison tbody th a{border-bottom:1px solid var(--rust)}
.format-detail{display:grid;grid-template-columns:minmax(230px,.65fr) minmax(0,1.35fr);gap:clamp(2rem,6vw,6rem);border-top:1px solid var(--ink);padding:4rem 0;scroll-margin-top:2rem}.format-detail-title{min-width:0}.format-detail-title .section-code{display:block;margin-bottom:1.8rem}.format-detail-title h2{font-size:clamp(2.7rem,4.5vw,4.8rem);line-height:1;margin-bottom:1.5rem}.format-detail-title>p{max-width:360px;font-size:1.15rem;color:var(--petrol);line-height:1.55}.format-detail-copy{min-width:0;max-width:780px;line-height:1.65}.format-detail-copy h3{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:1.08rem;font-weight:700;line-height:1.4;margin:2rem 0 .6rem}.format-detail-copy h3:first-child{margin-top:0}.format-detail-copy p{margin:0 0 1rem;color:#454545}.format-detail-copy ol{padding-left:1.4rem;margin:0}.format-detail-copy li{padding-left:.4rem;margin-bottom:.65rem}.format-detail-copy li::marker{color:var(--rust);font-weight:700}.format-example{border-left:3px solid var(--rust);padding:1rem 1.3rem;background:var(--paper);margin:1.5rem 0!important}.format-related-links{display:flex;flex-wrap:wrap;gap:1rem 2rem;margin-top:1.7rem}.format-back-top{display:inline-block;margin-top:2.3rem;color:var(--grey);font-size:.8rem;border-bottom:1px solid var(--line)}
.format-practical-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem;margin-top:2.5rem}.format-practical-grid h3{font-size:1.1rem;line-height:1.4}.format-practical-grid p{color:var(--grey);line-height:1.6}
.format-sources{border-top:1px solid var(--line);padding:1.5rem 0;color:var(--grey);font-size:.9rem;line-height:1.6}.format-sources summary{cursor:pointer;font-weight:700;color:var(--ink)}.format-sources p{margin:1.5rem 0 1rem}.format-sources li{margin-bottom:.6rem}.format-sources a{border-bottom:1px solid var(--line)}
.format-skip-link{position:absolute;top:-100px;left:1rem;padding:.7rem 1rem;background:var(--white);color:var(--ink);z-index:50;border:2px solid var(--petrol)}.format-skip-link:focus{top:1rem}
@media(max-width:900px){.format-detail{grid-template-columns:minmax(200px,.5fr) minmax(0,1fr);gap:2rem}.format-practical-grid{grid-template-columns:1fr}.format-detail-title h2{font-size:clamp(2.5rem,5vw,4rem)}}
@media(max-width:650px){.format-list .format-card{grid-template-columns:52px minmax(0,1fr) 18px;min-height:120px}.format-intro h1{font-size:clamp(3rem,14vw,5rem);overflow-wrap:break-word}.format-jump-links{grid-template-columns:1fr}.format-jump-links a{padding:1.1rem;grid-template-columns:50px minmax(0,1fr)}.format-detail{grid-template-columns:1fr;gap:1.5rem;padding:3rem 0}.format-detail-title>p{max-width:none}.format-detail-copy{font-size:1rem}.format-detail-copy h3{margin-top:1.6rem}.format-overview,.format-comparison,.format-practical{padding:3rem 0}.format-comparison table{min-width:570px}.format-comparison th,.format-comparison td{padding:.9rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.compass-format-link{border-bottom:1px solid var(--rust)}.compass-format-link:hover,.compass-format-link:focus-visible{color:var(--rust)}
