.tm-page{padding:72px 0 96px}
.tm-page>h1{font-family:Manrope,sans-serif;font-size:clamp(36px,5vw,56px);line-height:1.15;letter-spacing:-2px;margin:18px 0 20px}
.tm-intro{max-width:820px;color:var(--muted);font-size:17px;line-height:1.8;margin:0 0 40px}
/* Howdy UI's base styles paint the body with its own background and
   font. Hand the page back to the site's `:root` styles. */
body{background:none;color:inherit;font-family:inherit;line-height:normal}

/* Inside the live component. */
.tm{display:flex;flex-direction:column;gap:32px;font-family:var(--howdy-font-body);color:var(--howdy-text);line-height:1.5}
.tm-start{display:grid;gap:20px;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.tm-workbench{display:grid;gap:24px;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:start}
.tm-editor{display:flex;flex-direction:column;gap:24px}
.tm-side{position:sticky;top:16px;display:flex;flex-direction:column;gap:20px;max-height:calc(100vh - 32px);overflow:auto;padding-bottom:4px}
.tm-scheme{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.tm-group{margin:0;padding:0;border:0;min-width:0;display:flex;flex-direction:column;gap:12px}
.tm-group legend{padding:0;margin:8px 0 4px;font-size:12px;font-weight:650;letter-spacing:1.4px;text-transform:uppercase;color:var(--howdy-text-muted)}
.tm-colour{display:grid;grid-template-columns:44px minmax(0,1fr) 8.5rem;gap:12px;align-items:center}
.tm-colour-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.tm-swatch{width:44px;height:44px;padding:3px;border:1px solid var(--howdy-border);border-radius:var(--howdy-radius-medium);background:var(--howdy-surface);cursor:pointer}
.tm-swatch::-webkit-color-swatch-wrapper{padding:0}
.tm-swatch::-webkit-color-swatch{border:0;border-radius:calc(var(--howdy-radius-medium) - 3px)}
.tm-swatch::-moz-color-swatch{border:0;border-radius:calc(var(--howdy-radius-medium) - 3px)}
.tm-swatch:focus-visible{outline:2px solid var(--howdy-focus);outline-offset:2px}
.tm-hex{font-family:var(--howdy-font-mono);font-size:14px}
.tm-radii{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.tm-check-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.tm-check{display:grid;grid-template-columns:44px minmax(0,1fr) auto 3.5rem;gap:12px;align-items:center;font-size:14px}
.tm-sample{display:grid;place-items:center;width:44px;height:32px;border-radius:var(--howdy-radius-small);border:1px solid var(--howdy-border);font-weight:650}
.tm-ratio{font-family:var(--howdy-font-mono);font-size:13px;color:var(--howdy-text-muted)}
.tm-check>:last-child{justify-self:end}
.tm-other{margin:16px 0 0;font-size:14px;color:var(--howdy-text-muted)}
.tm-preview{padding:24px;border:1px solid var(--howdy-border);border-radius:var(--howdy-radius-large);background:var(--howdy-background);color:var(--howdy-text);font-family:var(--howdy-font-body)}
:where(.tm-preview) a{color:var(--howdy-primary)}

.tm-install{display:flex;flex-direction:column;gap:28px;padding-top:16px;border-top:1px solid var(--line)}
.tm-install h2{font-family:Manrope,sans-serif;font-size:30px;letter-spacing:-.8px;margin:24px 0 0;color:var(--text)}
.tm-step{display:flex;flex-direction:column;gap:12px;max-width:860px}
.tm-step h3{display:flex;gap:12px;align-items:center;margin:0;font-family:Manrope,sans-serif;font-size:20px;color:var(--text)}
.tm-step p{margin:0;color:var(--muted);line-height:1.75}
.tm-step p code{font-size:.9em;padding:2px 6px;border-radius:5px;background:#0b162b;border:1px solid var(--line);color:var(--text)}
.tm-step-number{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--yellow);color:var(--bg);font-size:15px}
.tm-code{position:relative;background:#0b162b;border:1px solid var(--line);border-radius:8px}
.tm-code pre{margin:0;padding:18px 20px;overflow:auto;font:13px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-ligatures:none;color:#d7e1f2}
.tm-code-path{display:block;padding:10px 20px;border-bottom:1px solid var(--line);color:var(--muted);font:12px ui-monospace,SFMono-Regular,Consolas,monospace}
.tm-code .tm-copy{position:absolute;top:8px;right:8px}
.tm-code pre:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.tm-code .hl-comment{color:#7f8da8;font-style:italic}
.tm-code .hl-keyword{color:var(--yellow)}
.tm-code .hl-function{color:#8ecbff}
.tm-code .hl-module,.tm-code .hl-variant{color:var(--pink)}
.tm-code .hl-operator{color:#ff9d7a}
.tm-code .hl-string,.tm-code .hl-number{color:var(--mint)}
.tm-file summary{cursor:pointer;color:var(--muted);font-size:14px;margin:4px 0 12px}
.tm-file summary:hover{color:var(--yellow)}

@media(max-width:1080px){.tm-workbench{grid-template-columns:1fr}.tm-side{position:static;max-height:none}}
@media(max-width:760px){.tm-start,.tm-radii{grid-template-columns:1fr}.tm-page{padding-top:40px}}
