:root { --sidebar: 216px; --radius: 12px; }
[hidden] { display: none !important; }
body { font-size: 14px; }
.brand { font-family: 'Hubot Sans',var(--font); letter-spacing: -.6px; }
.brand small { font: 500 11px var(--font); letter-spacing: .09em; text-transform: uppercase; }
.side { background: var(--tb-paper); }
.side .navitem { min-height: 48px; margin-block: 5px; border-radius: 8px; font-size: 14px; }
.side .navitem.on { background: var(--tb-accent-soft); color: var(--tb-link); box-shadow: none; }
.top { background: var(--tb-paper); }
.crumb { font-size: 13px; color: var(--tb-secondary); }
.content { padding: 40px clamp(24px,4vw,64px) 56px; max-width: 1480px; margin-inline: auto; width: 100%; }
.page h1,.start-heading h1 { font-family: 'Hubot Sans',var(--font); font-weight: 500; letter-spacing: -.045em; }
.page .pt h1 { font-size: clamp(30px,3.4vw,44px); line-height: 1.12; }
.pt > p { max-width: 710px; margin-top: 15px; line-height: 1.8; }
.eyebrow,.intro-label,.path-number,.direction-label { color: var(--tb-secondary); font-size: 10px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.phead { margin-bottom: 32px; }
.btn { min-height: 42px; padding: 10px 17px; font-size: 12px; border-radius: 7px; text-decoration: none; }
.btn-primary { box-shadow: none; }
.btn-ghost { background: transparent; }
.context-nav { display: flex; gap: 23px; padding: 0 clamp(24px,4vw,64px); border-bottom: 1px solid var(--tb-line); overflow-x: auto; scrollbar-width: thin; }
.context-nav a { flex-shrink: 0; padding: 16px 0 13px; text-decoration: none; color: var(--tb-secondary); font-size: 12px; border-bottom: 2px solid transparent; }
.context-nav a[aria-current] { color: var(--tb-text); border-bottom-color: var(--tb-action); }
.intro-label { display: flex; align-items: center; gap: 12px; margin: 16px 0 28px; }
.intro-line { width: 28px; height: 1px; background: var(--tb-link); }
.start-heading h1 { font-size: clamp(40px,5vw,64px); line-height: 1.05; }
.start-heading p { max-width: 570px; color: var(--tb-secondary); font-size: 16px; line-height: 1.8; margin-top: 22px; }
.start-paths { display: grid; grid-template-columns: 1.15fr 1fr 1fr; margin: 40px 0 0; border: 1px solid var(--tb-line); border-radius: 12px; overflow: hidden; }
.path-card { padding: 28px; min-height: 330px; text-decoration: none; display: flex; flex-direction: column; background: var(--tb-paper); border-right: 1px solid var(--tb-line); transition: background 150ms ease; }
.path-card:last-child { border: 0; }
.path-card:hover { background: var(--tb-raised); }
.path-card.path-featured { background: var(--tb-accent-soft); }
.path-card > svg { width: 30px; height: 30px; stroke: var(--tb-link); fill: none; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; margin: 25px 0 17px; }
.path-card h2 { font: 500 clamp(22px,2.3vw,29px)/1.16 'Hubot Sans',var(--font); letter-spacing: -.035em; }
.path-card p { font-size: 12px; line-height: 1.8; color: var(--tb-secondary); margin: 16px 0 25px; }
.path-action { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: auto; color: var(--tb-link); font-size: 12px; font-weight: 700; }
.path-action > span { font-size: 20px; font-weight: 400; }
.start-bottom { padding: 28px 0; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid var(--tb-line); }
.start-bottom > div { flex: 1; }
.start-bottom h2 { font-size: 15px; margin-bottom: 6px; }
.start-bottom p { max-width: 550px; font-size: 12px; color: var(--tb-secondary); line-height: 1.8; }
.start-bottom .account-context { max-width: 250px; overflow-wrap: anywhere; }
.quiet-links,.developer-next { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; font-size: 12px; color: var(--tb-link); }
.quiet-links a,.developer-next a { text-decoration: none; }
.quiet-links a:hover,.developer-next a:hover { text-decoration: underline; }
.connection-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
.connection-path { border: 1px solid var(--tb-line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; text-decoration: none; }
.connection-path:hover { background: var(--tb-raised); }
.connection-path h2 { font-size: 23px; letter-spacing: -.03em; margin: 18px 0 12px; }
.connection-path p { color: var(--tb-secondary); font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-heading h2 { font-size: 18px; margin-top: 7px; letter-spacing: -.02em; }
.context-note { font-size: 12px; line-height: 1.9; color: var(--tb-secondary); margin: 20px 0; }
.context-note a { color: var(--tb-link); text-underline-offset: 3px; }
aside.context-note { padding: 20px 24px; border-left: 2px solid var(--tb-outline); background: var(--tb-raised); }
.developer-paths { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--tb-line); border-radius: 12px; overflow: hidden; }
.developer-path { padding: 26px; border-right: 1px solid var(--tb-line); display: flex; flex-direction: column; }
.developer-path:last-child { border: 0; }
.developer-path h2 { font: 500 26px/1.2 'Hubot Sans',var(--font); letter-spacing: -.04em; margin: 23px 0 15px; }
.developer-path > p { font-size: 12px; line-height: 1.85; color: var(--tb-secondary); }
.developer-path dl { margin: 25px 0 15px; font-size: 11px; }
.developer-path dt { color: var(--tb-secondary); margin-top: 10px; }
.developer-path dd { margin: 4px 0; overflow-wrap: anywhere; }
.developer-path code { font-size: 10px; }
.developer-path .availability-note { font-size: 11px; padding-block: 15px; border-top: 1px solid var(--tb-line); }
.developer-path .btn { margin-top: auto; align-self: flex-start; }
.developer-next { margin-bottom: 30px; }
.authoring-layout { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(220px,1fr); gap: 40px; align-items: start; }
.authoring-main.card { padding: 28px; background: var(--tb-paper); }
.field-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 12px; }
#buildtext { min-height: 175px; line-height: 1.8; resize: vertical; }
.authoring-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 22px; }
.authoring-actions a { color: var(--tb-link); font-size: 12px; }
.authoring-aside { padding-top: 10px; }
.authoring-aside h2 { font: 500 25px/1.2 'Hubot Sans',var(--font); letter-spacing: -.035em; margin: 17px 0 23px; }
.authoring-aside ol { list-style: decimal; margin-left: 17px; }
.authoring-aside li { padding-left: 8px; margin-bottom: 20px; font-size: 13px; }
.authoring-aside li span { display: block; color: var(--tb-secondary); font-size: 12px; margin-top: 4px; }
.authoring-aside > p { font-size: 12px; color: var(--tb-secondary); line-height: 1.8; margin: 25px 0 15px; }
.authoring-aside > a { color: var(--tb-link); font-size: 12px; }
.authority-review { margin-top: 20px; padding: 18px; border: 1px solid var(--tb-line); border-radius: 8px; }
.authority-review h3 { font-size: 13px; }
.authority-review p { font-size: 12px; margin-top: 8px; }
.definition-details { margin: 18px 0; font-size: 12px; }
.definition-details pre { max-height: 360px; overflow: auto; margin-top: 12px; padding: 15px; background: var(--tb-raised); }
.review-list { margin: 20px 0; }
.review-list dt { font-size: 11px; color: var(--tb-secondary); margin-top: 15px; }
.review-list dd { margin: 3px 0 0; font-size: 13px; }
#confirm-template,#confirm-disconnect { margin-top: 22px; }
.plan-context { background: var(--tb-accent-soft); padding: 24px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.plan-context h2 { font-size: 22px; letter-spacing: -.02em; margin-top: 7px; }
.commercial-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin: 35px 0; }
.commercial-grid h2 { font-size: 18px; margin: 18px 0 12px; }
.commercial-grid p { font-size: 12px; line-height: 1.9; color: var(--tb-secondary); }
.krow { gap: 20px; }
.krow h3 { font-size: 15px; }
.krow > div:first-child { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.empty { background: var(--tb-raised); border: 1px solid var(--tb-line); border-radius: 10px; padding: 28px; font-size: 13px; }
.card,.tpl,.snipcard { box-shadow: none; }
.tpl:hover { transform: none; }
.tag.trig,.tag.auth { border-color: var(--tb-line); color: var(--tb-secondary); }
#tgrid .tag { font-family: inherit; font-size: 12px; line-height: 1.5; }
@media(max-width:1100px) { .content { padding-inline: 28px; } .path-card,.developer-path { padding: 22px; } .path-card h2 { font-size: 24px; } }
@media(max-width:900px) { .start-paths,.developer-paths { grid-template-columns: 1fr; } .path-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--tb-line); } .path-card h2 br { display: none; } .path-card > svg { margin-block: 18px; } .path-card p { max-width: 440px; } .developer-path { border-right: 0; border-bottom: 1px solid var(--tb-line); } .authoring-layout { grid-template-columns: 1fr; } .commercial-grid { grid-template-columns: 1fr; gap: 25px; } }
@media(max-width:600px) { .content { padding: 24px 20px 40px; } .intro-label { margin-top: 4px; } .start-heading h1 { font-size: 42px; } .start-heading p { font-size: 14px; } .start-paths { margin-top: 28px; } .start-bottom,.plan-context { flex-direction: column; align-items: flex-start; } .connection-paths { grid-template-columns: 1fr; } .context-nav { padding-inline: 20px; } .section-heading { align-items: flex-start; } .authoring-main.card { padding: 20px; } .quiet-links { gap: 16px; } }
@media(prefers-reduced-motion:reduce) { .path-card { transition: none; } }

#agent-test-prompt { margin-top: 10px; }
#run-agent-test { margin-top: 18px; }
#agent-test-status { margin-top: 12px; color:var(--tb-error); }
