:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #07090d;
  color: #f4f4f5;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #07090d; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.aos-root {
  --bg: #080a0e;
  --panel: #101318;
  --panel-2: #15191f;
  --line: rgba(255,255,255,.09);
  --muted: #8f96a3;
  --text: #f7f7f8;
  --orange: #ff7a2f;
  --orange-soft: rgba(255,122,47,.14);
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  display: flex;
  overflow-x: hidden;
}

.aos-sidebar {
  width: 248px;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  padding: 24px 16px 18px;
  display: flex;
  flex-direction: column;
  background: #0b0d11;
  border-right: 1px solid var(--line);
}

.aos-sidebar-top { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 24px; }
.aos-logo { display: flex; align-items: center; gap: 11px; }
.aos-logo-mark {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: white; background: linear-gradient(145deg, #ff8238, #e84818); box-shadow: 0 8px 30px rgba(255,98,31,.24);
}
.aos-logo div:last-child { display: flex; flex-direction: column; gap: 2px; }
.aos-logo strong { font-size: 16px; letter-spacing: -.02em; }
.aos-logo span { color: #6f7682; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

.aos-sidebar nav { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.aos-sidebar nav p { margin: 25px 12px 8px; color: #555d69; font-size: 10px; letter-spacing: .14em; font-weight: 700; }
.aos-sidebar nav button {
  width: 100%; border: 1px solid transparent; background: transparent; border-radius: 11px; padding: 11px 12px;
  display: flex; align-items: center; gap: 11px; cursor: pointer; color: #9299a5; text-align: left; transition: .18s ease;
}
.aos-sidebar nav button:hover { color: #fff; background: rgba(255,255,255,.045); }
.aos-sidebar nav button.active { color: #fff; background: #171a20; border-color: rgba(255,255,255,.07); box-shadow: inset 3px 0 0 #ff7430; }
.aos-sidebar nav button span { flex: 1; font-size: 13px; font-weight: 600; }
.aos-sidebar nav button i { font-style: normal; font-size: 9px; text-transform: uppercase; color: #ff9a62; background: rgba(255,122,47,.12); padding: 3px 6px; border-radius: 5px; }
.aos-sidebar-foot { border-top: 1px solid var(--line); padding: 16px 10px 0; display: flex; flex-direction: column; gap: 6px; }
.aos-sidebar-foot span { color: #aeb4bd; font-size: 11px; display: flex; align-items: center; gap: 7px; }
.aos-sidebar-foot small { color: #505762; font-size: 10px; }
.aos-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #40d886; box-shadow: 0 0 0 4px rgba(64,216,134,.1); }

.aos-main { margin-left: 248px; width: calc(100% - 248px); min-height: 100vh; }
.aos-main-builder { margin-left: 0; width: 100%; }
.aos-topbar {
  height: 68px; padding: 0 30px; display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line); background: rgba(8,10,14,.88); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20;
}
.aos-topbar > div:first-of-type { display: flex; flex-direction: column; gap: 2px; }
.aos-topbar > div > span { font-size: 9px; color: #5e6570; font-weight: 800; letter-spacing: .14em; }
.aos-topbar > div > strong { font-size: 14px; }
.aos-powered { display: flex; align-items: center; gap: 7px; color: #aeb5bf; font-size: 11px; background: #11141a; border: 1px solid var(--line); padding: 7px 11px; border-radius: 999px; }
.aos-powered svg { color: #4cdb8d; }
.aos-powered i { color: #aeb9c7; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 2px 6px; font-size: 7px; font-style: normal; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.aos-powered.setup { color: #d2a65a; border-color: rgba(231,180,84,.17); background: rgba(231,180,84,.06); }
.aos-powered.setup svg { color: #e3ac4e; }
.aos-menu-button, .aos-mobile-close { display: none !important; }

.aos-page { width: 100%; }
.aos-home { padding-bottom: 80px; }
.aos-hero { position: relative; overflow: hidden; padding: 34px 5vw 22px; border-bottom: 1px solid var(--line); }
.aos-hero:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000 20%, transparent 92%); }
.aos-hero-orb { position: absolute; border-radius: 50%; filter: blur(3px); pointer-events: none; }
.aos-hero-orb-one { width: 460px; height: 460px; right: -120px; top: -210px; background: radial-gradient(circle, rgba(255,101,26,.2), transparent 68%); }
.aos-hero-orb-two { width: 420px; height: 420px; left: 8%; bottom: -330px; background: radial-gradient(circle, rgba(122,78,255,.14), transparent 68%); }
.aos-hero-copy, .aos-prompt-card, .aos-template-row { position: relative; z-index: 2; max-width: 980px; margin-left: auto; margin-right: auto; }
.aos-hero-copy { text-align: center; }
.aos-kicker { display: inline-flex; align-items: center; gap: 7px; color: #f08a54; font-size: 10px; font-weight: 800; letter-spacing: .16em; background: rgba(255,110,35,.08); border: 1px solid rgba(255,122,47,.18); padding: 8px 12px; border-radius: 999px; }
.aos-hero h1 { font-size: clamp(40px, 4.5vw, 56px); line-height: .96; margin: 16px 0 12px; letter-spacing: -.065em; font-weight: 720; }
.aos-hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #ff7430, #ffbd7d 52%, #b09aff); -webkit-background-clip: text; background-clip: text; }
.aos-hero-copy > p { max-width: 650px; margin: 0 auto; color: #959ca8; font-size: 14px; line-height: 1.6; }

.aos-prompt-card { margin-top: 18px; background: rgba(17,20,26,.94); border: 1px solid rgba(255,255,255,.11); border-radius: 17px; padding: 12px 14px; box-shadow: 0 28px 90px rgba(0,0,0,.34), 0 0 0 1px rgba(255,122,47,.03); }
.aos-prompt-card:focus-within { border-color: rgba(255,122,47,.43); box-shadow: 0 28px 90px rgba(0,0,0,.34), 0 0 0 3px rgba(255,122,47,.06); }
.aos-prompt-label { display: flex; align-items: center; gap: 8px; color: #b9c0c9; font-size: 12px; font-weight: 650; padding: 2px 3px 10px; }
.aos-prompt-label svg { color: #ff7a32; }
.aos-prompt-card textarea { width: 100%; min-height: 42px; resize: vertical; border: 0; outline: 0; background: transparent; color: #fff; font-size: 14px; line-height: 1.45; padding: 4px 3px; }
.aos-prompt-card textarea::placeholder { color: #555d69; }
.aos-prompt-actions { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.aos-prompt-actions > span { color: #545b65; font-size: 10px; }
.aos-primary, .aos-secondary {
  border-radius: 10px; padding: 10px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; cursor: pointer; font-size: 12px; font-weight: 700; transition: .18s ease;
}
.aos-approve { border: 1px solid rgba(66,216,138,.2); border-radius: 10px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 7px; color: #8ce6b6; background: rgba(66,216,138,.09); cursor: pointer; font-size: 11px; font-weight: 750; }
.aos-approve:hover:not(:disabled) { background: rgba(66,216,138,.14); }
.aos-approve:disabled { opacity: .45; cursor: not-allowed; }
.aos-primary { color: white; background: linear-gradient(135deg, #ff7b32, #ed4d19); box-shadow: 0 10px 25px rgba(231,74,22,.2); }
.aos-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(231,74,22,.28); }
.aos-secondary { color: #d6d9de; background: #16191f; border-color: var(--line); }
.aos-secondary:hover:not(:disabled) { background: #1d2128; border-color: rgba(255,255,255,.15); }
.aos-primary:disabled, .aos-secondary:disabled { opacity: .45; cursor: not-allowed; }
.aos-wide { width: 100%; }
.aos-template-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-top: 14px; }
.aos-template-row button { height: 54px; overflow: hidden; padding: 8px 11px; text-align: left; cursor: pointer; color: #858d99; background: rgba(14,17,22,.75); border: 1px solid rgba(255,255,255,.065); border-radius: 11px; font-size: 8px; line-height: 1.35; transition: .18s ease; }
.aos-template-row button:hover { color: #d9dde2; border-color: rgba(255,122,47,.25); transform: translateY(-2px); }
.aos-template-row button span { display: block; color: #ff7e39; font-size: 8px; font-weight: 800; margin-bottom: 5px; }
.aos-enable-codex { position: relative; z-index: 2; max-width: 980px; margin: 10px auto 0; display: flex; align-items: center; gap: 11px; color: #c7cbd1; background: rgba(17,20,26,.92); border: 1px solid rgba(255,178,74,.18); border-radius: 12px; padding: 8px 11px; text-align: left; }
.aos-enable-codex > svg { color: #e7ac52; flex: 0 0 auto; }
.aos-enable-codex > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.aos-enable-codex strong { font-size: 11px; }
.aos-enable-codex span { color: #777f8a; font-size: 9px; }

.aos-section { padding: 58px 5vw 0; max-width: 1260px; margin: 0 auto; }
.aos-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.aos-section-head > div > span, .aos-panel-head > div > span, .aos-agent-title > span { color: #676f7b; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.aos-section h2, .aos-panel h2 { font-size: 23px; letter-spacing: -.035em; margin: 7px 0 0; }
.aos-section-head > div > p { max-width: 700px; margin: 7px 0 0; color: #6f7783; font-size: 10px; line-height: 1.5; }
.aos-text-button, .aos-back { border: 0; background: transparent; color: #858d99; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 11px; }
.aos-text-button:hover, .aos-back:hover { color: #fff; }

.aos-agent-grid { display: grid; gap: 14px; }
.aos-agent-grid-hero { grid-template-columns: repeat(2, 1fr); }
.aos-agent-grid-secondary { grid-template-columns: repeat(2,1fr); margin-top: 14px; }
.aos-agent-card { position: relative; overflow: hidden; text-align: left; cursor: pointer; border: 1px solid var(--line); background: linear-gradient(145deg,#111419,#0c0f13); border-radius: 18px; transition: .22s ease; }
.aos-agent-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.17); box-shadow: 0 18px 45px rgba(0,0,0,.25); }
.aos-agent-grid-hero .aos-agent-card { padding: 25px; min-height: 275px; }
.aos-agent-grid-hero .aos-agent-card:after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -130px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 70%); }
.aos-agent-orange { --agent: #ff7a31; --agent-soft: rgba(255,122,49,.12); --glow: rgba(255,122,49,.16); }
.aos-agent-violet { --agent: #9c7cff; --agent-soft: rgba(156,124,255,.12); --glow: rgba(156,124,255,.16); }
.aos-agent-green { --agent: #44d58a; --agent-soft: rgba(68,213,138,.12); --glow: rgba(68,213,138,.15); }
.aos-agent-pink { --agent: #f056ae; --agent-soft: rgba(240,86,174,.12); --glow: rgba(240,86,174,.14); }
.aos-agent-card-top { display: flex; align-items: center; justify-content: space-between; }
.aos-agent-card-top > span, .aos-agent-grid-secondary .aos-agent-card > div:nth-child(2) > span { color: var(--agent); font-size: 9px; font-weight: 800; letter-spacing: .13em; }
.aos-agent-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--agent); background: var(--agent-soft); border: 1px solid color-mix(in srgb, var(--agent) 24%, transparent); border-radius: 15px; margin: 34px 0 17px; }
.aos-agent-icon.small { width: 42px; height: 42px; margin: 0; flex: 0 0 auto; border-radius: 12px; }
.aos-agent-icon.jumbo { width: 76px; height: 76px; margin: 0; border-radius: 22px; }
.aos-agent-card h3 { margin: 0; font-size: 25px; letter-spacing: -.04em; }
.aos-agent-card p { color: #848c98; line-height: 1.55; font-size: 12px; max-width: 450px; margin: 9px 0 0; }
.aos-card-link { display: flex; align-items: center; gap: 5px; color: #cdd1d7; font-size: 11px; font-weight: 650; margin-top: 25px; }
.aos-agent-grid-secondary .aos-agent-card { display: flex; align-items: center; gap: 15px; min-height: 120px; padding: 18px; }
.aos-agent-grid-secondary .aos-agent-card > div:nth-child(2) { flex: 1; }
.aos-agent-grid-secondary .aos-agent-card h3 { font-size: 18px; margin-top: 4px; }
.aos-agent-grid-secondary .aos-agent-card p { font-size: 10px; margin-top: 5px; }

.aos-status { white-space: nowrap; display: inline-flex; align-items: center; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; padding: 5px 8px; border-radius: 999px; color: #939aa4; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.aos-status-connected, .aos-status-completed { color: #67dea0; background: rgba(62,211,137,.09); border-color: rgba(62,211,137,.16); }
.aos-status-missing_dependency, .aos-status-failed { color: #ff7a72; background: rgba(255,89,76,.08); border-color: rgba(255,89,76,.17); }
.aos-status-ready_to_configure, .aos-status-waiting_for_approval { color: #f0bd64; background: rgba(240,181,72,.08); border-color: rgba(240,181,72,.16); }

.aos-workflow-section { padding-top: 42px; padding-bottom: 20px; }
.aos-ops-strip { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 14px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #0d1015; }
.aos-ops-strip > div { min-height: 68px; display: flex; align-items: center; gap: 11px; padding: 13px 16px; border-right: 1px solid var(--line); }
.aos-ops-strip > div:last-child { border-right: 0; }
.aos-ops-strip svg { color: #ff7d3a; }
.aos-ops-strip span { display: flex; flex-direction: column; gap: 2px; }
.aos-ops-strip strong { color: #eef0f2; font-size: 16px; }
.aos-ops-strip small { color: #626a75; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; }
.aos-workflow-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.aos-workflow-card { min-width: 0; min-height: 305px; display: flex; flex-direction: column; text-align: left; padding: 17px; color: #e9ebee; background: radial-gradient(circle at 100% 0, rgba(255,122,47,.055), transparent 35%), #0e1116; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.aos-workflow-card:hover { transform: translateY(-2px); border-color: rgba(255,126,63,.25); background-color: #11151a; }
.aos-workflow-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.aos-workflow-card-head > span:last-child { display: flex; align-items: center; gap: 8px; }
.aos-workflow-card-head small { color: #6f7782; font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.aos-workflow-card-head em { font-style: normal; padding: 4px 6px; border-radius: 99px; font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.aos-workflow-card-head em.runtime-hermes { color: #b9a7ff; background: rgba(145,114,255,.09); border: 1px solid rgba(145,114,255,.15); }
.aos-workflow-card-head em.runtime-openclaw { color: #ff9a67; background: rgba(255,122,47,.09); border: 1px solid rgba(255,122,47,.15); }
.aos-workflow-card > strong { font-size: 16px; line-height: 1.25; letter-spacing: -.025em; }
.aos-workflow-card > p { min-height: 45px; margin: 8px 0 13px; color: #737b86; font-size: 9px; line-height: 1.55; }
.aos-mini-graph { min-height: 40px; display: flex; align-items: center; overflow: hidden; padding: 8px 10px; margin-bottom: 13px; background: #090b0f; border: 1px solid rgba(255,255,255,.065); border-radius: 10px; }
.aos-mini-graph > span { position: relative; width: 15px; height: 15px; margin-right: 14px; flex: 0 0 auto; border: 2px solid #68717d; background: #151920; border-radius: 5px; }
.aos-mini-graph > span:after { content: ""; position: absolute; width: 15px; height: 1px; left: 13px; top: 5px; background: #343b45; }
.aos-mini-graph > span:last-of-type:after { display: none; }
.aos-mini-graph > span.type-start { border-radius: 50%; border-color: #ff7d3a; background: rgba(255,125,58,.14); }
.aos-mini-graph > span.type-end { border-radius: 50%; border-color: #50d895; background: rgba(80,216,149,.12); }
.aos-mini-graph > span.type-agent { border-color: #9b7dff; background: rgba(155,125,255,.12); }
.aos-mini-graph > span.type-if_else { border-color: #efb95c; border-radius: 3px; transform: rotate(45deg) scale(.78); }
.aos-mini-graph > span.type-if_else:after { transform: rotate(-45deg); transform-origin: left center; width: 19px; left: 12px; top: 5px; }
.aos-mini-graph > span.type-while_loop { border-radius: 50%; border-color: #6ac5ff; }
.aos-mini-graph > span.type-user_approval { border-color: #edb45b; background: rgba(237,180,91,.13); }
.aos-mini-graph > span.type-mcp_tool { border-color: #57c9b0; background: rgba(87,201,176,.11); }
.aos-mini-graph > span.type-transform { border-color: #ff8750; }
.aos-mini-graph > i { color: #6f7782; font-style: normal; font-size: 8px; }
.aos-workflow-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: #6b737e; font-size: 8px; }
.aos-workflow-meta > span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; white-space: nowrap; }
.aos-workflow-meta > span:first-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.aos-workflow-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.065); color: #737b86; font-size: 8px; }
.aos-workflow-card-foot > span:last-child { display: inline-flex; align-items: center; gap: 3px; }
.aos-workflow-state { display: inline-flex; align-items: center; gap: 6px; color: #8f97a2; text-transform: capitalize; }
.aos-workflow-state i { width: 6px; height: 6px; border-radius: 50%; background: #717985; }
.aos-workflow-state.ready, .aos-workflow-state.completed { color: #6fdca4; }
.aos-workflow-state.ready i, .aos-workflow-state.completed i { background: #4bd78e; box-shadow: 0 0 0 3px rgba(75,215,142,.09); }
.aos-workflow-state.waiting_for_approval { color: #edbd69; }
.aos-workflow-state.waiting_for_approval i { background: #edb956; }
.aos-workflow-state.failed { color: #ff837b; }
.aos-workflow-state.failed i { background: #ff665e; }
.aos-runtime-section { padding-top: 48px; }
.aos-workflow-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.aos-workflow-list > button { width: 100%; min-height: 78px; padding: 14px 17px; display: flex; align-items: center; gap: 14px; background: #0e1116; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.aos-workflow-list > button:last-child { border-bottom: 0; }
.aos-workflow-list > button:hover { background: #13171d; }
.aos-workflow-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #ff8445; background: rgba(255,122,47,.09); border-radius: 11px; }
.aos-workflow-list > button > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.aos-workflow-list strong { font-size: 13px; }
.aos-workflow-list small { color: #68707b; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aos-node-count { color: #737b87; font-size: 10px; }
.aos-empty { min-height: 180px; border: 1px dashed rgba(255,255,255,.11); border-radius: 15px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; color: #676f7a; text-align: center; }
.aos-empty strong { color: #aeb4bd; font-size: 13px; }
.aos-empty p { margin: 0; font-size: 10px; }
.aos-empty.small { min-height: 130px; }

.aos-agent-page { min-height: calc(100vh - 68px); padding: 34px 5vw 80px; }
.aos-back { margin-bottom: 28px; }
.aos-agent-hero { display: flex; align-items: center; gap: 20px; max-width: 1180px; margin: 0 auto 24px; padding: 26px; border: 1px solid var(--line); background: radial-gradient(circle at 0 0, var(--agent-soft), transparent 34%), #0e1116; border-radius: 20px; }
.aos-agent-title { flex: 1; }
.aos-agent-title > span { color: var(--agent); }
.aos-agent-title h1 { font-size: 35px; margin: 6px 0; letter-spacing: -.05em; }
.aos-agent-title p { color: #858d98; margin: 0; line-height: 1.55; font-size: 12px; }
.aos-agent-health { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.aos-agent-health small { color: #646b76; font-size: 9px; max-width: 180px; text-align: right; }
.aos-preview-banner { max-width: 1180px; margin: 0 auto 16px; display: flex; gap: 11px; align-items: center; color: #d7c9ff; background: rgba(146,111,255,.08); border: 1px solid rgba(146,111,255,.16); padding: 12px 15px; border-radius: 12px; }
.aos-preview-banner > div { display: flex; flex-direction: column; gap: 3px; }
.aos-preview-banner strong { font-size: 11px; }
.aos-preview-banner span { color: #8d82a8; font-size: 9px; }
.aos-agent-columns { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.8fr); gap: 16px; align-items: start; }
.aos-agent-side { display: flex; flex-direction: column; gap: 16px; }
.aos-panel { background: #0f1217; border: 1px solid var(--line); border-radius: 17px; padding: 20px; }
.aos-panel-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.aos-panel-head > svg { color: var(--agent, #ff7831); }
.aos-panel h2 { font-size: 19px; }
.aos-run-panel > textarea, .aos-field textarea { width: 100%; min-height: 145px; color: #edf0f3; background: #090b0f; border: 1px solid var(--line); border-radius: 12px; padding: 14px; resize: vertical; outline: 0; line-height: 1.55; font-size: 12px; }
.aos-run-panel > textarea:focus, .aos-field input:focus, .aos-field textarea:focus, .aos-field select:focus { border-color: color-mix(in srgb, var(--agent, #ff7831) 45%, transparent); }
.aos-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.aos-terminal-output { min-height: 200px; max-height: 420px; overflow: auto; white-space: pre-wrap; margin: 17px 0 0; padding: 17px; color: #cfd5dc; background: #07090c; border: 1px solid rgba(255,255,255,.07); border-radius: 12px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 10px; line-height: 1.65; }
.aos-terminal-placeholder { min-height: 200px; margin-top: 17px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; color: #454c56; border: 1px dashed rgba(255,255,255,.08); border-radius: 12px; font-size: 10px; }
.aos-detail-list { margin: 0; display: flex; flex-direction: column; }
.aos-detail-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.aos-detail-list dt { color: #676f7a; font-size: 10px; }
.aos-detail-list dd { color: #c4c9d0; font-size: 10px; text-align: right; margin: 0; }
.aos-panel-copy { color: #747c88; line-height: 1.5; font-size: 10px; margin: -4px 0 15px; }
.aos-install-summary { margin: 13px 0 10px; }
.aos-install-command { display: block; overflow-x: auto; padding: 9px 10px; color: #bfc5cc; background: #090b0f; border: 1px solid var(--line); border-radius: 8px; font-family: "SFMono-Regular",Consolas,monospace; font-size: 8px; white-space: nowrap; }
.aos-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 13px; }
.aos-field > span { display: flex; justify-content: space-between; color: #858d98; font-size: 9px; font-weight: 700; letter-spacing: .03em; }
.aos-field > span i { font-style: normal; color: #49cc88; display: flex; align-items: center; gap: 3px; }
.aos-field input, .aos-field select { width: 100%; height: 40px; color: #dfe2e6; background: #090b0f; border: 1px solid var(--line); border-radius: 9px; padding: 0 11px; outline: 0; font-size: 10px; }

.aos-builder { height: 100vh; min-height: 700px; display: flex; flex-direction: column; background: #080a0e; }
.aos-builder-header { height: 64px; flex: 0 0 auto; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #0d1014; position: relative; z-index: 20; }
.aos-builder-left, .aos-builder-actions { display: flex; align-items: center; gap: 8px; }
.aos-mini-logo { display: flex; align-items: center; gap: 7px; color: #ff7a32; font-size: 12px; font-weight: 800; }
.aos-mini-logo span { color: #eef0f2; }
.aos-divider { width: 1px; height: 23px; background: var(--line); margin: 0 5px; }
.aos-builder-left > input { width: min(32vw, 360px); color: #e9ecef; background: transparent; border: 0; outline: 0; font-size: 13px; font-weight: 650; }
.aos-engine-badge { display: inline-flex; align-items: center; gap: 5px; color: #75dfa6; background: rgba(64,216,134,.08); border: 1px solid rgba(64,216,134,.14); border-radius: 999px; padding: 5px 8px; font-family: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.aos-engine-badge.missing { color: #f0bd67; background: rgba(240,174,66,.08); border-color: rgba(240,174,66,.2); }
.aos-icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 9px; color: #8b929d; background: #13161b; border: 1px solid var(--line); cursor: pointer; }
.aos-icon-button:hover { color: #fff; background: #1a1e24; }
.aos-icon-button.danger:hover { color: #ff7770; border-color: rgba(255,90,80,.22); background: rgba(255,90,80,.07); }
.aos-builder-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 224px minmax(500px,1fr) 286px; }
.aos-palette, .aos-inspector { background: #0d1014; border-right: 1px solid var(--line); overflow-y: auto; padding: 14px; position: relative; z-index: 10; }
.aos-inspector { border-left: 1px solid var(--line); border-right: 0; }
.aos-palette.collapsed { width: 58px; padding: 10px; }
.aos-palette-toggle { width: 100%; height: 39px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #e2e5e9; background: #16191f; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 10px; font-weight: 700; }
.aos-palette.collapsed .aos-palette-toggle span { display: none; }
.aos-palette > p { margin: 23px 5px 10px; color: #515864; font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.aos-palette-item { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 10px; text-align: left; padding: 9px 10px; color: #9299a3; background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; }
.aos-palette-item:hover { color: #fff; background: #15181e; border-color: var(--line); }
.aos-palette-item > svg:first-child { color: #ff7c37; }
.aos-palette-item > span { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.aos-palette-item strong { font-size: 10px; }
.aos-palette-item small { color: #5b626d; font-size: 8px; }
.aos-palette-tip { margin-top: 22px; padding: 12px; border: 1px solid rgba(143,107,255,.14); background: rgba(143,107,255,.06); border-radius: 10px; display: flex; gap: 8px; color: #827798; font-size: 9px; line-height: 1.45; }
.aos-palette-tip svg { color: #9b7aff; flex: 0 0 auto; }

.aos-canvas-wrap { position: relative; overflow: auto; min-width: 0; background: #090b0f; }
.aos-canvas-grid { position: absolute; inset: 0; min-width: 1600px; min-height: 900px; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px); background-size: 22px 22px; }
.aos-canvas-status { position: sticky; z-index: 8; top: 14px; left: 16px; width: max-content; display: flex; align-items: center; gap: 8px; color: #7f8792; background: rgba(14,17,22,.9); border: 1px solid var(--line); backdrop-filter: blur(10px); padding: 7px 10px; border-radius: 999px; font-size: 9px; }
.aos-canvas-status > i { width: 1px; height: 11px; background: rgba(255,255,255,.1); }
.aos-canvas-status > span:last-child { color: #555d68; }
.aos-graph-overview { position: fixed; z-index: 12; top: 80px; right: 302px; width: 276px; padding: 11px 12px 9px; color: #8e96a1; background: rgba(13,16,21,.94); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.3); backdrop-filter: blur(12px); pointer-events: none; }
.aos-graph-overview > div { display: flex; align-items: center; justify-content: space-between; }
.aos-graph-overview > div span { color: #5f6874; font-size: 7px; font-weight: 850; letter-spacing: .12em; }
.aos-graph-overview > div strong { color: #aeb5be; font-size: 8px; }
.aos-graph-overview svg { width: 100%; height: 108px; display: block; margin: 6px 0 4px; background: rgba(6,8,11,.7); border: 1px solid rgba(255,255,255,.055); border-radius: 8px; }
.aos-graph-overview line { stroke: #3c444f; stroke-width: 1; }
.aos-graph-overview rect { fill: #202630; stroke: #6a7481; stroke-width: 1; }
.aos-graph-overview rect.type-start { fill: rgba(255,122,47,.18); stroke: #ff7d3a; }
.aos-graph-overview rect.type-end { fill: rgba(73,213,143,.15); stroke: #4bd78e; }
.aos-graph-overview rect.type-agent { fill: rgba(145,114,255,.16); stroke: #987cff; }
.aos-graph-overview rect.type-if_else, .aos-graph-overview rect.type-while_loop { fill: rgba(237,185,86,.14); stroke: #e8b75d; }
.aos-graph-overview rect.type-user_approval { fill: rgba(255,122,47,.15); stroke: #ff9b67; }
.aos-graph-overview rect.type-mcp_tool { fill: rgba(73,201,171,.13); stroke: #52c5ac; }
.aos-graph-overview rect.selected { fill: #ff7b35; stroke: #ffd0b8; stroke-width: 2; }
.aos-graph-overview p { margin: 0; text-align: center; color: #505864; font-size: 7px; }
.aos-run-light { width: 7px; height: 7px; border-radius: 50%; background: #606773; }
.aos-run-light.completed { background: #42d88a; box-shadow: 0 0 0 4px rgba(66,216,138,.1); }
.aos-run-light.failed { background: #ff645d; }
.aos-run-light.waiting_for_approval { background: #eab654; }
.aos-edge-layer { position: absolute; inset: 0; min-width: 1600px; min-height: 900px; pointer-events: none; overflow: visible; z-index: 2; }
.aos-edge-layer path { fill: none; stroke: #343a44; stroke-width: 1.5; }
.aos-edge-layer path.traversed { stroke: #45d48a; stroke-width: 2; filter: drop-shadow(0 0 4px rgba(69,212,138,.4)); }
.aos-edge-layer marker path { fill: #434a54; }
.aos-edge-layer text { fill: #69717d; paint-order: stroke; stroke: #090b0f; stroke-width: 5px; stroke-linejoin: round; text-anchor: middle; text-transform: uppercase; font-size: 8px; font-weight: 800; letter-spacing: .06em; }
.aos-node-layer { position: absolute; inset: 0; min-width: 1600px; min-height: 900px; z-index: 4; pointer-events: none; }
.aos-node { pointer-events: auto; position: absolute; left: 0; top: 0; width: 215px; height: 100px; display: flex; align-items: center; gap: 10px; text-align: left; cursor: grab; user-select: none; padding: 14px; color: #d9dde1; background: #12151a; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; box-shadow: 0 16px 35px rgba(0,0,0,.22); transition: border-color .15s, box-shadow .15s; touch-action: none; }
.aos-node:active { cursor: grabbing; }
.aos-node:hover, .aos-node.selected { border-color: rgba(255,124,55,.48); box-shadow: 0 18px 42px rgba(0,0,0,.3), 0 0 0 3px rgba(255,124,55,.05); }
.aos-node.status-completed { border-color: rgba(66,216,138,.36); }
.aos-node.status-failed { border-color: rgba(255,92,82,.48); }
.aos-node.status-waiting_for_approval { border-color: rgba(234,182,84,.5); }
.aos-node.status-queued { border-color: rgba(130,107,255,.28); }
.aos-node-grip { position: absolute; left: 4px; top: 7px; color: #3d444e; }
.aos-node-icon { width: 37px; height: 37px; display: grid; place-items: center; color: #ff813f; background: rgba(255,122,47,.1); border-radius: 10px; flex: 0 0 auto; }
.aos-node-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.aos-node-copy small, .aos-selected-type small { color: #555d68; text-transform: uppercase; font-size: 7px; letter-spacing: .1em; }
.aos-node-copy strong { font-size: 10px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aos-node-copy em { color: #626a75; font-style: normal; font-size: 7px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aos-node-state { color: #4e5661; }
.aos-node.status-completed .aos-node-state { color: #45d48a; }
.aos-node.status-failed .aos-node-state { color: #ff645d; }
.aos-canvas-footer { position: sticky; left: 0; bottom: 18px; z-index: 9; width: min(720px, calc(100% - 40px)); margin: 0 auto; padding-top: calc(100vh - 170px); pointer-events: none; }
.aos-refine-bar { pointer-events: auto; height: 54px; display: flex; align-items: center; gap: 10px; color: #ff7e39; background: rgba(16,19,24,.96); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.35); border-radius: 14px; padding: 7px 8px 7px 14px; backdrop-filter: blur(15px); }
.aos-refine-bar input { flex: 1; min-width: 0; color: #eef0f2; background: transparent; border: 0; outline: 0; font-size: 10px; }
.aos-refine-bar button { height: 38px; border: 0; border-radius: 9px; padding: 0 12px; display: flex; align-items: center; gap: 6px; color: #fff; background: #f06727; cursor: pointer; font-size: 10px; font-weight: 700; }
.aos-refine-bar button:disabled { opacity: .45; }
.aos-builder-notice { display: block; pointer-events: none; width: max-content; max-width: 100%; margin: 7px auto 0; padding: 5px 9px; color: #7e8691; background: rgba(8,10,14,.9); border-radius: 99px; font-size: 8px; }

.aos-inspector-head { display: flex; align-items: center; justify-content: space-between; color: #5d6570; font-size: 8px; letter-spacing: .14em; font-weight: 800; margin-bottom: 18px; }
.aos-selected-type { display: flex; align-items: center; gap: 10px; padding-bottom: 17px; margin-bottom: 17px; border-bottom: 1px solid var(--line); }
.aos-selected-type > div { display: flex; flex-direction: column; gap: 4px; }
.aos-selected-type strong { font-size: 12px; }
.aos-inspector .aos-field textarea { min-height: 120px; font-size: 9px; }
.aos-field-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.aos-field-row .aos-field { min-width: 0; }
.aos-info-box { display: flex; gap: 8px; color: #9e8454; background: rgba(234,182,84,.07); border: 1px solid rgba(234,182,84,.13); border-radius: 10px; padding: 11px; font-size: 9px; line-height: 1.4; }
.aos-node-connections { margin-top: 15px; padding: 11px; display: flex; align-items: center; justify-content: space-between; background: #090b0f; border: 1px solid var(--line); border-radius: 9px; }
.aos-node-connections span { color: #555d68; font-size: 7px; font-weight: 800; letter-spacing: .1em; }
.aos-node-connections strong { color: #9da4ae; font-size: 9px; }
.aos-run-detail { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.aos-run-detail > span { color: #555d68; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.aos-run-detail strong { color: #55d994; font-size: 11px; text-transform: capitalize; }
.aos-run-detail p { color: #747c87; font-size: 9px; line-height: 1.5; margin: 2px 0 0; }

.aos-global-error { margin: 14px 5vw 0; display: flex; align-items: center; gap: 9px; color: #ff9a95; background: rgba(255,80,70,.08); border: 1px solid rgba(255,80,70,.16); border-radius: 11px; padding: 10px 13px; font-size: 10px; }
.aos-global-error span { flex: 1; }
.aos-global-error button { color: #ffc0bd; background: transparent; border: 0; cursor: pointer; }
.aos-full-loader { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(7,9,13,.85); backdrop-filter: blur(8px); color: #aeb4bd; font-size: 11px; }
.aos-spin { animation: aos-spin 1s linear infinite; }
@keyframes aos-spin { to { transform: rotate(360deg); } }
.aos-menu-backdrop { display: none; }

.aos-live-dot.missing { background: #e5ab4c; box-shadow: 0 0 0 4px rgba(229,171,76,.1); }
.aos-enable-codex.is-ready { border-color: rgba(64,216,134,.17); background: rgba(34,122,78,.07); }
.aos-enable-codex.is-ready > svg { color: #47d68d; }
.aos-runtime-select { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 8px; color: #727a85; background: #12161b; border: 1px solid var(--line); border-radius: 9px; }
.aos-runtime-select > span { font-size: 7px; font-weight: 850; letter-spacing: .12em; white-space: nowrap; }
.aos-runtime-select select { color: #f0f2f4; background: transparent; border: 0; outline: 0; font-size: 9px; font-weight: 750; cursor: pointer; }

.aos-api-page { max-width: 1420px; min-height: calc(100vh - 68px); margin: 0 auto; padding: 58px 5vw 90px; }
.aos-page-intro { max-width: 820px; margin-bottom: 30px; }
.aos-page-intro > span { display: inline-flex; align-items: center; gap: 7px; color: #f08a54; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.aos-page-intro h1 { margin: 17px 0 15px; font-size: clamp(42px, 5.6vw, 72px); line-height: .98; letter-spacing: -.06em; }
.aos-page-intro h1 em { color: transparent; font-style: normal; background: linear-gradient(100deg,#ff7a32,#f1b779 48%,#a68aff); -webkit-background-clip: text; background-clip: text; }
.aos-page-intro p { max-width: 730px; margin: 0; color: #858d99; font-size: 14px; line-height: 1.65; }

.aos-codex-power { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(360px,.8fr); gap: 1px; overflow: hidden; margin-bottom: 54px; border: 1px solid rgba(255,255,255,.11); border-radius: 21px; background: rgba(255,255,255,.08); box-shadow: 0 28px 80px rgba(0,0,0,.24); }
.aos-codex-power-main { min-height: 370px; display: flex; align-items: center; gap: 22px; padding: 36px; background: radial-gradient(circle at 4% 5%,rgba(81,221,150,.12),transparent 28%), radial-gradient(circle at 92% 90%,rgba(148,108,255,.12),transparent 34%),#0f1217; }
.aos-power-mark { width: 72px; height: 72px; flex: 0 0 auto; display: grid; place-items: center; color: #55dd98; background: linear-gradient(145deg,rgba(64,216,134,.15),rgba(137,95,255,.12)); border: 1px solid rgba(91,221,153,.24); border-radius: 22px; box-shadow: 0 18px 50px rgba(47,166,105,.1); }
.aos-power-copy > span { color: #61d89a; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.aos-power-copy h2 { max-width: 520px; margin: 9px 0 12px; font-size: clamp(28px,3vw,43px); line-height: 1.02; letter-spacing: -.055em; }
.aos-power-copy > p { max-width: 600px; margin: 0; color: #89919d; font-size: 12px; line-height: 1.65; }
.aos-power-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.aos-power-meta > span { display: inline-flex; align-items: center; gap: 6px; color: #9ba2ad; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.075); border-radius: 999px; padding: 7px 9px; font-size: 9px; }
.aos-power-meta > span.ready { color: #68dea3; border-color: rgba(68,213,138,.16); background: rgba(68,213,138,.07); }
.aos-power-meta > span.missing { color: #e7b65f; border-color: rgba(231,182,95,.16); background: rgba(231,182,95,.07); }
.aos-codex-config { padding: 28px; background: #0c0f13; }
.aos-codex-config .aos-field input, .aos-codex-config .aos-field select { height: 43px; }
.aos-api-form-row { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(120px,.55fr); gap: 10px; }
.aos-doc-link { display: inline-flex; align-items: center; gap: 5px; padding: 0 3px; color: #939ba6; font-size: 10px; text-decoration: none; }
.aos-doc-link:hover { color: #fff; }
.aos-api-result { margin-top: 12px; padding: 10px 11px; color: #a8d9be; background: rgba(54,189,117,.07); border: 1px solid rgba(65,213,137,.13); border-radius: 9px; font-size: 9px; line-height: 1.45; overflow-wrap: anywhere; }

.aos-provider-showcase { margin-bottom: 54px; }
.aos-provider-showcase-shell { overflow: hidden; background: #0d1015; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; }
.aos-provider-showcase-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.38fr); align-items: center; gap: 30px; padding: 27px 29px; background: #11151b; border-bottom: 1px solid var(--line); }
.aos-provider-showcase-copy > span { display: inline-flex; align-items: center; gap: 7px; color: #f08a54; font-size: 9px; font-weight: 850; }
.aos-provider-showcase-copy h2 { margin: 9px 0 9px; font-size: clamp(28px,3.1vw,42px); line-height: 1; text-wrap: balance; }
.aos-provider-showcase-copy > p { max-width: 740px; margin: 0; color: #858d99; font-size: 11px; line-height: 1.6; text-wrap: pretty; }
.aos-provider-showcase-stats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }
.aos-provider-showcase-stats > span { display: inline-flex; align-items: baseline; gap: 5px; padding: 6px 8px; color: #929aa6; background: #171b21; border: 1px solid rgba(255,255,255,.075); border-radius: 999px; font-size: 9px; white-space: nowrap; }
.aos-provider-showcase-stats strong { color: #e7eaee; font-size: 11px; font-variant-numeric: tabular-nums; }
.aos-provider-showcase-count { min-width: 0; padding-left: 28px; display: flex; flex-direction: column; align-items: flex-end; border-left: 1px solid var(--line); text-align: right; }
.aos-provider-showcase-count > strong { color: #ff7a2f; font-size: clamp(48px,5vw,72px); line-height: .86; font-variant-numeric: tabular-nums; }
.aos-provider-showcase-count > span { margin-top: 10px; color: #f0f2f4; font-size: 9px; font-weight: 850; }
.aos-provider-showcase-count > small { max-width: 250px; margin-top: 5px; color: #8b94a0; font-size: 9px; line-height: 1.45; text-wrap: pretty; }
.aos-provider-groups { padding: 23px; }
.aos-provider-group + .aos-provider-group { margin-top: 23px; }
.aos-provider-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.aos-provider-group-head > div { min-width: 0; display: flex; align-items: center; gap: 8px; }
.aos-provider-group-head h3 { min-width: 0; margin: 0; color: #e3e6ea; font-size: 12px; line-height: 1.25; text-wrap: balance; }
.aos-provider-group-head > span { flex: 0 0 auto; color: #89919d; font-size: 9px; font-weight: 750; font-variant-numeric: tabular-nums; }
.aos-provider-group-dot, .aos-provider-status { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; }
.aos-provider-group-dot.tone-orange, .aos-provider-status.tone-orange { background: #ff7a2f; }
.aos-provider-group-dot.tone-green, .aos-provider-status.tone-green { background: #40d886; }
.aos-provider-group-dot.tone-blue, .aos-provider-status.tone-blue { background: #4d9cff; }
.aos-provider-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.aos-provider-tile { min-width: 0; min-height: 62px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; background: #15191f; border: 1px solid rgba(255,255,255,.075); border-radius: 11px; }
.aos-provider-tile:hover { border-color: rgba(255,122,47,.28); }
.aos-provider-logo { position: relative; width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; color: #16191e; background: #f1f3f5; border: 1px solid rgba(255,255,255,.12); border-radius: 9px; }
.aos-provider-logo > strong { font-size: 8px; font-weight: 850; }
.aos-provider-logo > img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 6px; object-fit: contain; background: #f1f3f5; }
.aos-provider-tile-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.aos-provider-tile-copy > strong { overflow: hidden; color: #e6e9ed; font-size: 11px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.aos-provider-tile-copy > small { overflow: hidden; color: #8d96a2; font-size: 9px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.aos-provider-status { width: 6px; height: 6px; margin-left: auto; }
.aos-provider-showcase-foot { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 23px; background: #0b0e12; border-top: 1px solid var(--line); }
.aos-provider-showcase-foot > span { display: inline-flex; align-items: center; gap: 7px; color: #8b94a0; font-size: 9px; line-height: 1.45; text-wrap: pretty; }
.aos-provider-showcase-foot > span svg { flex: 0 0 auto; color: #55d595; }
.aos-provider-showcase-foot > a { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; color: #d5d9df; font-size: 9px; font-weight: 700; text-decoration: none; }
.aos-provider-showcase-foot > a:hover { color: #ff8a4b; }

.aos-api-library { scroll-margin-top: 84px; }
.aos-api-library .aos-section-head { margin-bottom: 18px; }
.aos-api-library .aos-section-head > div > span { color: #676f7b; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.aos-api-library .aos-section-head h2 { margin: 7px 0 0; font-size: 25px; letter-spacing: -.04em; }
.aos-api-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.aos-search { flex: 1; min-width: 220px; max-width: 440px; height: 42px; display: flex; align-items: center; gap: 9px; padding: 0 12px; color: #5f6772; background: #0d1014; border: 1px solid var(--line); border-radius: 10px; }
.aos-search:focus-within { border-color: rgba(255,122,47,.35); color: #ff8140; }
.aos-search input { flex: 1; min-width: 0; color: #e8ebee; background: transparent; border: 0; outline: 0; font-size: 10px; }
.aos-api-filters { display: flex; align-items: center; gap: 5px; padding: 4px; background: #0d1014; border: 1px solid var(--line); border-radius: 11px; }
.aos-api-filters button { border: 0; border-radius: 7px; padding: 7px 10px; color: #727a85; background: transparent; cursor: pointer; font-size: 9px; font-weight: 700; white-space: nowrap; }
.aos-api-filters button:hover { color: #e4e7ea; }
.aos-api-filters button.active { color: #fff; background: #20242b; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.aos-api-list { display: flex; flex-direction: column; gap: 8px; }
.aos-api-card { overflow: hidden; background: #0d1015; border: 1px solid var(--line); border-radius: 14px; transition: border-color .18s ease,background .18s ease; }
.aos-api-card:hover, .aos-api-card.open { border-color: rgba(255,255,255,.15); }
.aos-api-card.open { background: #0f1217; }
.aos-api-card-summary { width: 100%; min-height: 88px; display: flex; align-items: center; gap: 14px; padding: 13px 16px; color: #e9ebee; background: transparent; border: 0; text-align: left; cursor: pointer; }
.aos-api-kind { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; }
.aos-api-kind.kind-gateway { color: #ad91ff; background: rgba(151,113,255,.1); }
.aos-api-kind.kind-local { color: #58d896; background: rgba(66,213,137,.1); }
.aos-api-kind.kind-hosted { color: #5db8ff; background: rgba(70,158,240,.1); }
.aos-api-kind.kind-resource { color: #e7ae58; background: rgba(231,174,88,.1); }
.aos-api-card-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aos-api-card-copy > span { color: #606873; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.aos-api-card-copy strong { font-size: 14px; }
.aos-api-card-copy small { max-width: 820px; color: #7b838e; font-size: 10px; line-height: 1.45; }
.aos-api-card-side { display: flex; align-items: center; justify-content: flex-end; gap: 9px; color: #666e79; }
.aos-api-card-side em { color: #8d949e; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 999px; padding: 5px 8px; font-size: 8px; font-style: normal; white-space: nowrap; }
.aos-api-card-side i { display: inline-flex; align-items: center; gap: 4px; color: #55d595; font-size: 8px; font-style: normal; white-space: nowrap; }

.aos-api-guide { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(300px,.65fr); border-top: 1px solid var(--line); }
.aos-api-guide-main { padding: 24px; }
.aos-api-connect { padding: 24px; background: rgba(7,9,12,.45); border-left: 1px solid var(--line); }
.aos-api-fact > span, .aos-api-command > span, .aos-api-steps > span { color: #656d79; font-size: 8px; font-weight: 850; letter-spacing: .14em; }
.aos-api-fact p { margin: 7px 0 20px; color: #c0c5cc; font-size: 11px; line-height: 1.55; }
.aos-api-command { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px 10px; margin: 9px 0; padding: 11px 12px; background: #090b0f; border: 1px solid rgba(255,255,255,.075); border-radius: 10px; }
.aos-api-command > span { grid-column: 1 / -1; }
.aos-api-command code { min-width: 0; overflow-x: auto; color: #cfD4da; font-family: "SFMono-Regular",Consolas,monospace; font-size: 9px; line-height: 1.55; white-space: nowrap; }
.aos-copy-button { display: inline-flex; align-items: center; gap: 5px; color: #969eaa; background: #171b21; border: 1px solid var(--line); border-radius: 7px; padding: 6px 8px; cursor: pointer; font-size: 8px; }
.aos-copy-button:hover { color: #fff; }
.aos-api-steps { margin-top: 22px; }
.aos-api-steps ol { margin: 10px 0 0; padding-left: 21px; color: #929aa5; font-size: 10px; line-height: 1.55; }
.aos-api-steps li { padding: 3px 0 3px 4px; }
.aos-api-steps li::marker { color: #ff7d37; font-weight: 750; }
.aos-api-warning { display: flex; gap: 9px; margin-top: 18px; padding: 11px 12px; color: #d3a85f; background: rgba(209,151,55,.06); border: 1px solid rgba(218,164,71,.12); border-radius: 10px; }
.aos-api-warning > svg { flex: 0 0 auto; }
.aos-api-warning p { margin: 0 0 4px; color: #9c865f; font-size: 9px; line-height: 1.45; }
.aos-api-warning p:last-child { margin-bottom: 0; }
.aos-api-source-row { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 17px; color: #5f6772; font-size: 9px; }
.aos-api-source-row a { display: inline-flex; align-items: center; gap: 4px; color: #8e96a1; text-decoration: none; }
.aos-api-source-row a:hover { color: #fff; }
.aos-api-connect .aos-panel-head { margin-bottom: 19px; }
.aos-api-connect .aos-panel-head h2 { margin: 5px 0 0; font-size: 17px; }
.aos-api-auth { display: flex; gap: 6px; margin: 2px 0 13px; color: #747d89; font-size: 9px; line-height: 1.45; }
.aos-api-auth svg { flex: 0 0 auto; color: #c99d50; }
.aos-resource-box { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: #cda35b; }
.aos-resource-box strong { color: #d7dbe0; font-size: 14px; }
.aos-resource-box p { max-width: 300px; margin: 0; color: #737b86; font-size: 10px; line-height: 1.55; }
.aos-resource-box a { display: inline-flex; align-items: center; gap: 5px; color: #d0a45b; text-decoration: none; font-size: 10px; }

@media (max-width: 1280px) {
  .aos-provider-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

@media (max-width: 1100px) {
  .aos-template-row { grid-template-columns: repeat(2,1fr); }
  .aos-builder-body { grid-template-columns: 190px minmax(460px,1fr) 250px; }
  .aos-agent-columns { grid-template-columns: 1fr; }
  .aos-agent-side { display: grid; grid-template-columns: repeat(2,1fr); }
  .aos-codex-power { grid-template-columns: 1fr; }
  .aos-codex-power-main { min-height: 290px; }
  .aos-provider-showcase-hero { grid-template-columns: 1fr; gap: 20px; }
  .aos-provider-showcase-count { align-items: flex-start; padding: 20px 0 0; border-top: 1px solid var(--line); border-left: 0; text-align: left; }
  .aos-provider-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .aos-api-guide { grid-template-columns: 1fr; }
  .aos-api-connect { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 840px) {
  .aos-sidebar { transform: translateX(-102%); transition: transform .22s ease; box-shadow: 25px 0 60px rgba(0,0,0,.45); }
  .aos-sidebar.is-open { transform: translateX(0); }
  .aos-mobile-close, .aos-menu-button { display: inline-grid !important; }
  .aos-main { margin-left: 0; width: 100%; }
  .aos-menu-backdrop { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(0,0,0,.5); border: 0; }
  .aos-topbar { padding: 0 16px; }
  .aos-topbar > div:first-of-type { flex: 1; margin-left: 10px; }
  .aos-powered { display: none; }
  .aos-hero { padding: 60px 20px 38px; }
  .aos-hero h1 { font-size: 50px; }
  .aos-section { padding-left: 20px; padding-right: 20px; }
  .aos-agent-grid-hero, .aos-agent-grid-secondary { grid-template-columns: 1fr; }
  .aos-agent-side { grid-template-columns: 1fr; }
  .aos-agent-page { padding-left: 20px; padding-right: 20px; }
  .aos-builder { min-height: 720px; }
  .aos-builder-header { height: auto; min-height: 64px; flex-wrap: wrap; padding: 10px; gap: 8px; }
  .aos-builder-left { min-width: 0; flex: 1; }
  .aos-mini-logo, .aos-divider, .aos-engine-badge { display: none; }
  .aos-builder-left > input { width: 100%; }
  .aos-builder-body { grid-template-columns: 58px minmax(530px,1fr); overflow: auto; }
  .aos-palette { width: 58px; padding: 10px; }
  .aos-palette > p, .aos-palette-item span, .aos-palette-item > svg:last-child, .aos-palette-tip, .aos-palette-toggle span { display: none; }
  .aos-palette-item { justify-content: center; padding: 8px; }
  .aos-inspector { display: none; }
  .aos-api-page { padding: 44px 20px 70px; }
  .aos-provider-showcase-hero { padding: 23px; }
  .aos-provider-groups { padding: 20px; }
  .aos-provider-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .aos-provider-showcase-foot { align-items: flex-start; flex-direction: column; padding: 14px 20px; }
  .aos-api-toolbar { align-items: stretch; flex-direction: column; }
  .aos-search { width: 100%; max-width: none; }
  .aos-api-filters { overflow-x: auto; }
  .aos-runtime-select { flex: 0 0 auto; }
  .aos-graph-overview { display: none; }
  .aos-ops-strip { grid-template-columns: repeat(2,1fr); }
  .aos-ops-strip > div:nth-child(2) { border-right: 0; }
  .aos-ops-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 560px) {
  .aos-root, .aos-main, .aos-page, .aos-hero, .aos-section { width: 100%; max-width: 100%; min-width: 0; overflow-x: hidden; }
  .aos-hero { padding-left: 16px; padding-right: 16px; }
  .aos-prompt-card, .aos-template-row { width: 100%; min-width: 0; margin-left: 0; margin-right: 0; }
  .aos-prompt-card textarea, .aos-template-row button { min-width: 0; max-width: 100%; white-space: normal; overflow: hidden; }
  .aos-template-row { grid-template-columns: 1fr; }
  .aos-hero h1 { font-size: 42px; }
  .aos-hero-copy > p { font-size: 14px; }
  .aos-prompt-card textarea { font-size: 14px; }
  .aos-prompt-actions > span { display: none; }
  .aos-prompt-actions { width: 100%; justify-content: stretch; }
  .aos-prompt-actions .aos-primary { width: 100%; max-width: 100%; }
  .aos-template-row button { width: 100%; overflow-wrap: anywhere; }
  .aos-section-head { align-items: flex-start; gap: 14px; }
  .aos-section-head { flex-direction: column; }
  .aos-section h2 { font-size: 20px; }
  .aos-workflow-grid { grid-template-columns: 1fr; }
  .aos-workflow-card { min-height: 290px; }
  .aos-workflow-meta { gap: 7px; }
  .aos-agent-hero { align-items: flex-start; flex-wrap: wrap; }
  .aos-agent-health { align-items: flex-start; }
  .aos-builder-actions .aos-icon-button { display: none; }
  .aos-builder-actions .aos-secondary { display: none; }
  .aos-node-count { display: none; }
  .aos-enable-codex { align-items: flex-start; flex-wrap: wrap; }
  .aos-enable-codex > div { min-width: calc(100% - 38px); }
  .aos-page-intro h1 { font-size: 43px; }
  .aos-codex-power-main { align-items: flex-start; flex-direction: column; padding: 25px; }
  .aos-codex-config, .aos-api-guide-main, .aos-api-connect { padding: 20px; }
  .aos-provider-showcase-hero { padding: 20px; }
  .aos-provider-showcase-stats { display: grid; grid-template-columns: 1fr; }
  .aos-provider-showcase-stats > span { width: max-content; max-width: 100%; }
  .aos-provider-groups { padding: 17px; }
  .aos-provider-group + .aos-provider-group { margin-top: 20px; }
  .aos-provider-tile { min-height: 64px; padding: 8px 9px; }
  .aos-provider-logo { width: 32px; height: 32px; }
  .aos-provider-tile-copy > strong { display: -webkit-box; text-overflow: initial; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .aos-api-form-row { grid-template-columns: 1fr; }
  .aos-api-card-summary { align-items: flex-start; padding: 14px; }
  .aos-api-card-side em, .aos-api-card-side i { display: none; }
  .aos-api-card-copy small { display: none; }
  .aos-api-command { grid-template-columns: 1fr; }
  .aos-api-command > span { grid-column: auto; }
  .aos-api-command code { white-space: normal; overflow-wrap: anywhere; }
  .aos-copy-button { width: max-content; }
  .aos-builder-left { flex-wrap: wrap; }
  .aos-runtime-select { order: 3; }
}

@media (max-width: 360px) {
  .aos-provider-grid { grid-template-columns: 1fr; }
}
