/* An open, full-width drawing, with the same ink as the surrounding text. */
.tc-plan-section { min-width: 0; }
.tc-plan { min-width: 0; }
.tc-plan [hidden] { display: none !important; }
.tc-plan .tc-plan__header h2 { text-wrap: balance; }
.tc-plan__toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; border-bottom-style: solid; }
.tc-plan__views, .tc-plan__steps { display: flex; align-items: center; }
.tc-plan button { font: inherit; cursor: pointer; transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
.tc-plan__toolbar button, .tc-plan__steps button { min-width: 44px; min-height: 44px; border-style: solid; color: inherit; }
.tc-plan button:focus-visible, .tc-plan summary:focus-visible, .tc-plan__viewport:focus-visible { outline: 2px solid var(--e-global-color-secondary); outline-offset: 5px; }
.tc-plan__toolbar button:disabled { opacity: .35; cursor: default; }
.tc-plan__explorer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); align-items: center; }
.tc-plan__drawing { min-width: 0; }
.tc-plan__viewport { width: 100%; overflow: auto; background: transparent; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--e-global-color-muted) transparent; }
.tc-plan__canvas { position: relative; width: min(100%, var(--plan-width)); min-width: var(--plan-min); margin-inline: auto; border: 28px solid transparent; box-sizing: border-box; }
.tc-plan__vector { display: block; width: 100%; height: auto; overflow: visible; color: inherit; }
.tc-plan .tc-plan__point { position: absolute; transform: translate(-50%, -50%); width: 36px; height: 36px; min-height: 36px; display: grid; place-items: center; border-style: solid; z-index: 1; }
.tc-plan .tc-plan__point::after { content: ''; position: absolute; inset: -6px; border: 1px solid var(--e-global-color-primary); border-radius: inherit; opacity: 0; pointer-events: none; }
.tc-plan .tc-plan__point:hover, .tc-plan .tc-plan__point[aria-pressed="true"] { z-index: 2; }
.tc-plan .tc-plan__point[aria-pressed="true"]::after { opacity: 1; animation: tc-plan-locate .45s cubic-bezier(.16,1,.3,1); }
.tc-plan__aside { align-self: center; }
.tc-plan__number { display: block; font-variant-numeric: tabular-nums; }
.tc-plan .tc-plan__info h3 { text-wrap: balance; }
.tc-plan__steps span { min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.tc-plan__steps button { display: grid; place-items: center; }
.tc-plan__steps svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.tc-plan__all { border-top-style: solid; }
.tc-plan__all summary { cursor: pointer; }
.tc-plan__source a { color: inherit; text-underline-offset: 4px; }
.tc-plan .tc-plan__key { display: flex; justify-content: center; flex-wrap: wrap; }
.tc-plan__key span::before { content: ''; display: inline-block; width: 24px; height: 3px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.tc-plan__key span:last-child::before { opacity: .42; }
@keyframes tc-plan-locate { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (max-width: 1024px) { .tc-plan__explorer { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
 .tc-plan__canvas { min-width: 0; width: 100%; border-width: 16px; }
 .tc-plan .tc-plan__point { width: 28px; height: 28px; min-height: 28px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .tc-plan *, .tc-plan *::after { animation: none !important; transition: none !important; } }
.tc-motion-reduced .tc-plan *, .tc-motion-reduced .tc-plan *::after { animation: none !important; transition: none !important; }
