/* Atlas intelligence surfaces: shared terminal tokens, native Geist, restrained structure. */
*{box-sizing:border-box}html{font-family:var(--font-sans);font-size:14px;color:var(--ink);background:var(--bg)}body{margin:0;color:var(--ink);background:var(--bg);font:400 14px/1.6 var(--font-sans);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1,h2,p{margin:0}h1{font-size:32px;font-weight:480;letter-spacing:-.035em;line-height:1.25}h2{font-size:20px;font-weight:480;letter-spacing:-.02em;line-height:1.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}
.studio-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 32px;min-height:72px;border-bottom:1px solid var(--line);background:var(--bg)}.widget-brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:21px;letter-spacing:-.035em;white-space:nowrap}.widget-brand strong{font-weight:550}.widget-brand img{display:block;width:38px;height:38px;flex-shrink:0}.studio-header-actions{display:flex;align-items:center;gap:12px}.studio-header-actions select{font-size:12px;background:var(--panel);color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:7px 9px;min-height:34px}.studio-header-actions .secondary{min-height:34px;padding:5px 10px}.quiet-link{font-size:13px;color:var(--muted)}.studio{max-width:1480px;margin:auto;padding:28px 32px 24px}.studio-intro{margin-bottom:22px;max-width:900px}.eyebrow,.panel-kicker{font-size:10px;line-height:16px;letter-spacing:.12em;font-weight:450;color:var(--muted);margin-bottom:8px}.studio-intro>p:last-child{color:var(--muted);font-size:14px;line-height:23px;margin-top:10px}.studio-validation,.widget-validation{font-size:11px;color:var(--warning);margin:8px 0 14px}.studio-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:24px}.studio-tabs button{font-size:14px;font-weight:450;min-height:44px;padding:8px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted)}.studio-tabs button[aria-selected=true]{color:var(--accent);border-bottom-color:var(--accent)}
.studio-layout{display:grid;grid-template-columns:264px minmax(0,1fr);gap:28px;align-items:start}.widget-controls{padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-surface)}.widget-controls h2{font-size:18px;margin-bottom:18px}.widget-controls>:is(label,.setting-field){display:block;font-size:12px;font-weight:450;margin-top:18px}.widget-controls select{display:block;width:100%;padding:8px;margin-top:8px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:5px}.choice-group{display:flex;gap:3px;border:1px solid var(--line);border-radius:5px;padding:3px;margin-top:8px;background:var(--bg)}.choice-group button{flex:1;min-width:0;font-size:12px;font-weight:400;line-height:18px;min-height:34px;border:0;border-radius:3px;padding:6px 4px;background:none;color:var(--muted);overflow-wrap:anywhere}.choice-group button[aria-pressed=true]{background:var(--accent-soft);color:var(--ink)}.widget-controls select.enhanced-select,.desktop-controls select.enhanced-select{position:absolute;width:1px;height:1px;left:0;top:0;clip-path:inset(50%);opacity:0;padding:0;margin:0;pointer-events:none}.widget-controls input[type=range]{width:100%;margin:16px 0 0;accent-color:var(--accent);height:4px}.widget-controls output{float:right;font-variant-numeric:tabular-nums;color:var(--muted)}.control-note{font-size:12px;line-height:20px;color:var(--muted);margin-top:16px;overflow-wrap:anywhere}.widget-controls>.control-note{padding-top:16px;border-top:1px solid var(--line)}.widget-stage{min-width:0}.preview-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-bottom:10px}iframe{display:block;width:100%;border:1px solid var(--line);border-radius:6px;background:var(--panel)}.code-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px}.code-heading h2{font-size:14px;letter-spacing:0}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:450;min-height:36px;padding:7px 12px;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:5px;text-decoration:none}.primary{background:#0d4e7e;border-color:#2678ab;color:#e2f3ff}.primary:hover,.secondary:hover{background:var(--raised);text-decoration:none}.primary:hover{background:#17608f}textarea,pre,.api-code>input{display:block;width:100%;padding:14px;font:12px/1.8 var(--font-mono);color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:5px;white-space:pre-wrap;overflow:auto;overflow-wrap:anywhere}textarea{min-height:108px;resize:vertical}#api-example{min-height:300px}pre{max-height:340px;margin:0}.api-code>input{font-size:12px}#embed-feedback,#api-feedback,#settings-feedback{font-size:12px;color:var(--muted);margin-top:7px;min-height:0}#embed-feedback:empty,#api-feedback:empty,#settings-feedback:empty{display:none}
.desktop-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:56px;align-items:start;padding:16px 0}.desktop-layout>div{max-width:540px;padding:16px 0}.desktop-layout h2,.api-layout h2{font-size:26px;font-weight:480;line-height:1.35;letter-spacing:-.03em}.desktop-copy{font-size:15px;line-height:25px;color:var(--muted);margin-top:14px;max-width:520px}.studio-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0}.desktop-preview{max-width:420px;margin-left:auto;border:1px solid var(--line);border-radius:6px}.desktop-steps{font-size:13px;color:var(--muted);line-height:22px;padding-left:18px;margin-top:22px}.desktop-steps li{padding:8px 0}.api-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:52px;align-items:start;padding:16px 0}.api-facts{font-size:13px;margin:26px 0 0;max-width:460px}.api-facts>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;border-bottom:1px solid var(--line);padding:11px 0}.api-facts dt{color:var(--muted)}.api-facts dd{margin:0}.api-code{min-width:0}.api-code .code-heading:first-child{margin-top:0}.api-code .code-heading h2{font-size:14px;letter-spacing:0}.studio-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;margin-top:32px}
body[data-page=embed],body[data-page=desktop]{background:var(--bg)}.public-widget{padding:18px 20px;max-width:1100px;margin:auto;min-width:0}.public-widget-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--line)}.public-widget-header .widget-brand{font-size:17px}.public-widget-header .widget-brand img{width:28px;height:28px}.channel-chip{font-size:10px;line-height:17px;font-weight:450;background:var(--accent-soft);color:var(--accent);padding:3px 7px;border-radius:3px;white-space:nowrap}.public-widget-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-top:10px}.public-widget-toolbar button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:none;color:var(--muted);border:1px solid var(--line);border-radius:5px}#widget-feed-state{font-size:13px;line-height:21px;color:var(--muted);padding:16px 0}.widget-item{padding:15px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:7px}.widget-item h2{font-size:15px;font-weight:480;line-height:22px;letter-spacing:-.015em}.widget-item h2 a{display:block;color:var(--ink)}.widget-item h2 a:hover{color:var(--accent);text-decoration:none}.widget-item-meta{order:-1;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 10px;font-size:11px;line-height:18px;color:var(--muted);font-variant-numeric:tabular-nums}.widget-item-meta>span{color:var(--ink);font-weight:450}.widget-item-excerpt{font-size:13px;line-height:21px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.widget-tokens{display:flex;gap:6px;flex-wrap:wrap;margin-top:1px}.widget-tokens a{font-size:11px;font-weight:450;color:var(--accent);background:var(--accent-soft);border:1px solid var(--line);padding:2px 7px;border-radius:3px}.public-widget-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;line-height:18px;color:var(--muted);padding-top:15px}.desktop-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:14px}.desktop-controls select,.desktop-controls button{font:inherit;font-size:12px;min-height:34px;padding:6px 10px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:5px}.desktop-controls select{flex:1}.desktop-controls .choice-group{flex:1;margin:0}.desktop-controls .choice-group button{border:0;min-height:30px;padding:5px 8px}.install-help{font-size:11px;line-height:18px;color:var(--muted);margin-top:9px}body[data-page=desktop] .public-widget{max-width:720px}
.widget-detail{padding:0;border:1px solid var(--line);border-radius:7px;background:var(--panel);color:var(--ink);width:min(760px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);box-shadow:none;overflow:hidden}.widget-detail[open]{display:flex;flex-direction:column}.widget-detail::backdrop{background:#020913bd;backdrop-filter:blur(3px)}.widget-detail-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 18px;border-bottom:1px solid var(--line);flex-shrink:0}.widget-detail-header>strong{font-size:14px;font-weight:480;overflow-wrap:anywhere}.widget-detail-header button{flex-shrink:0;min-height:32px;padding:5px 10px}.widget-detail-body{padding:20px;overflow:auto;min-height:0;overscroll-behavior:contain}.widget-detail-meta{font-size:12px;line-height:19px;color:var(--muted);display:flex;flex-direction:column;gap:4px;margin-bottom:14px}.widget-detail-headline{font-size:22px;line-height:31px;font-weight:480;letter-spacing:-.02em;overflow-wrap:anywhere;margin:12px 0}.widget-detail-excerpt{font-size:15px;line-height:25px;white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0}.widget-detail-tokens,.widget-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.widget-detail-contract{font:12px/20px var(--font-mono);color:var(--muted);overflow-wrap:anywhere}.widget-chart-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:18px 0}.widget-chart-stats dt{font-size:11px;color:var(--muted)}.widget-chart-stats dd{font-size:15px;font-weight:480;margin:5px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.widget-detail-chart{height:410px;min-height:300px;border-radius:5px}.widget-detail-status{font-size:13px;line-height:21px;color:var(--muted);margin:12px 0}.widget-pair-choice{display:block;text-align:left;overflow-wrap:anywhere;white-space:normal;width:100%;margin-top:10px}.studio-desktop-dialog{width:min(470px,calc(100vw - 24px));height:min(780px,calc(100dvh - 24px))}.studio-desktop-dialog>iframe{border:0;border-radius:0;flex:1;min-height:0;max-height:none;height:100%}
@media(max-width:1100px){.studio{padding:24px}.studio-header{padding:16px 24px}.studio-layout{grid-template-columns:238px minmax(0,1fr);gap:22px}.desktop-layout{grid-template-columns:minmax(0,1fr) 380px;gap:28px}.api-layout{gap:28px;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr)}}
@media(max-width:760px){.studio-header{padding:12px 16px;gap:10px;flex-wrap:wrap}.studio-header .widget-brand{font-size:18px}.studio-header .widget-brand img{width:30px;height:30px}.studio-header-actions{gap:8px}.quiet-link{font-size:11px}.studio{padding:22px 16px}.studio-intro{margin-bottom:18px}h1{font-size:27px;line-height:34px}.studio-intro>p:last-child{font-size:13px;line-height:21px}.studio-tabs{gap:22px;margin-bottom:20px}.studio-tabs button{font-size:13px;white-space:nowrap}.studio-layout,.desktop-layout,.api-layout{grid-template-columns:minmax(0,1fr);gap:22px}.widget-controls{padding:16px}.widget-controls>:is(label,.setting-field){display:inline-block;width:calc(50% - 7px);vertical-align:top;margin-right:7px;margin-top:14px}.widget-controls>.height-field{display:block;width:100%}.widget-controls h2{margin-bottom:2px}.choice-group button{font-size:11px}.desktop-layout>div{max-width:none;padding:0}.desktop-layout h2,.api-layout h2{font-size:23px}.desktop-copy{font-size:14px;line-height:23px}.desktop-preview{margin:0;max-width:100%}.public-widget{padding:16px}.public-widget-header .widget-brand{font-size:16px}.channel-chip{font-size:10px;max-width:135px;white-space:normal;text-align:right}.widget-detail-body{padding:16px}.widget-detail-headline{font-size:20px;line-height:28px}.widget-detail-chart{height:350px}.widget-detail-header{padding:12px 16px}.widget-chart-stats{gap:10px}.code-heading{flex-wrap:wrap}}
@media(prefers-reduced-motion:no-preference){.studio-tabs button,.primary,.secondary,.choice-group button,.widget-item a{transition:background .15s,color .15s}.widget-detail[open]{animation:widget-detail-enter .14s ease-out}@keyframes widget-detail-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}

/* Shared rounded display face and brand lettering, matching the intelligence desk. */
h1,h2,h3{font-family:var(--font-display);font-synthesis:none}h1{font-weight:430}.widget-feed-title{font-family:var(--font-display)}
.widget-brand .widget-wordmark{display:flex;align-items:baseline;gap:5px;font:400 26px/1.1 var(--font-display);letter-spacing:-.035em}.widget-brand .widget-wordmark strong{font-weight:550}.widget-brand .widget-wordmark b{font:450 16px/1.1 var(--font-display);letter-spacing:.01em;margin-left:3px;color:var(--accent)}
.public-widget .widget-wordmark{font-size:22px}.public-widget .widget-wordmark b{font-size:14px}
@media(max-width:480px){.widget-brand .widget-wordmark{font-size:22px}.widget-brand .widget-wordmark b{font-size:14px}}
