:root { --ink:#0b1b36; --muted:#53627a; --line:#d8e4ec; --blue:#0c6efb; --blue-dark:#0956cf; --cyan:#0c89e2; --green:#0ba98e; --green-dark:#07816e; --blue-soft:#eaf3ff; --green-soft:#e6f8f4; --paper:#ffffff; --soft:#f4f9fb; --navy:#071a35; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; line-height:1.5; }
a { color:inherit; }
a:focus-visible,.button:focus-visible { outline:3px solid rgba(11,169,142,.28); outline-offset:4px; }
.shell { width:min(1120px,calc(100% - 48px)); margin-inline:auto; }
.site-header { border-bottom:2px solid rgba(12,110,251,.24); background:rgba(255,255,255,.96); }
.nav { min-height:72px; position:relative; display:flex; align-items:center; justify-content:space-between; gap:32px; }
.brand { display:inline-flex; align-items:center; color:var(--ink); text-decoration:none; }
.brand-logo { display:block; width:190px; height:auto; }
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-panel { display:flex; align-items:center; gap:22px; }
.nav-toggle { width:42px; height:42px; display:none; place-items:center; padding:9px; border:1px solid var(--line); border-radius:8px; background:#fff; cursor:pointer; }
.nav-toggle > span:not(.sr-only) { width:20px; height:2px; display:block; margin:3px auto; border-radius:2px; background:#35445a; }
.sr-only { width:1px; height:1px; position:absolute; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.nav-links a { color:#445064; font-size:14px; font-weight:650; text-decoration:none; }
.nav-links a:hover { color:var(--green-dark); }
.profile-button { flex:0 0 34px; width:34px; height:34px; position:relative; display:grid; place-items:center; overflow:hidden; border:1px solid #d0d7de; border-radius:50%; color:#24292f; background:#f6f8fa; text-decoration:none; }
.profile-button img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.profile-button [hidden] { display:none !important; }
.default-avatar { width:14px; height:14px; position:relative; display:block; border:2px solid #57606a; border-radius:50%; }
.default-avatar::after { content:""; width:20px; height:10px; position:absolute; top:13px; left:50%; border:2px solid #57606a; border-bottom:0; border-radius:12px 12px 0 0; transform:translateX(-50%); }
.hero { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr); align-items:center; gap:72px; padding-block:88px 96px; }
.label { margin:0 0 18px; color:var(--blue); font-size:12px; font-weight:800; letter-spacing:.14em; }
h1,h2,h3,p { overflow-wrap:break-word; }
h1 { max-width:720px; margin:0; font-size:clamp(44px,5.3vw,70px); line-height:1.03; letter-spacing:-.055em; }
.lead { max-width:650px; margin:26px 0 0; color:var(--muted); font-size:20px; line-height:1.6; }
.actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }
.button { min-height:48px; display:inline-flex; align-items:center; justify-content:center; padding:0 20px; border:1px solid transparent; border-radius:9px; font-size:15px; font-weight:750; text-decoration:none; }
.button.primary { color:#fff; background:var(--blue); box-shadow:0 7px 18px rgba(12,110,251,.18); }
.button.primary:hover { background:var(--blue-dark); }
.button.disabled { cursor:not-allowed; opacity:.62; box-shadow:none; }
.button.disabled:hover { background:var(--blue); }
.button.secondary { border-color:#cfd8e5; background:white; }
.button.secondary:hover { border-color:#9cacbf; }
.small-note { margin:14px 0 0; color:#788497; font-size:13px; }
.example { padding:24px; border:1px solid rgba(12,110,251,.22); border-radius:16px; background:var(--blue-soft); box-shadow:0 20px 50px rgba(7,45,81,.1); }
.example-title { display:flex; align-items:center; gap:8px; margin-bottom:20px; color:#687589; font-size:13px; font-weight:700; }
.status-dot { width:8px; height:8px; border-radius:50%; background:var(--green); }
.message { display:flex; gap:13px; padding:16px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.message strong { font-size:14px; }
.message p { margin:4px 0 0; color:#425066; font-size:14px; line-height:1.55; }
.agent-badge { flex:0 0 34px; width:34px; height:34px; display:grid; place-items:center; border-radius:9px; color:#fff; font-size:13px; font-weight:800; }
.agent-badge.codex { background:#202938; }
.agent-badge.cursor { background:#6845d6; }
.realremote-event { margin:8px 0 8px 17px; padding:9px 0 9px 25px; border-left:3px solid var(--green); }
.realremote-event span { color:var(--green-dark); font-size:12px; font-weight:800; }
.realremote-event p { margin:1px 0 0; color:#788497; font-size:12px; }
.section { padding-block:96px; }
.section-heading { max-width:720px; }
.section-heading h2 { margin:0; font-size:clamp(34px,4.4vw,52px); line-height:1.1; letter-spacing:-.045em; }
.section-heading > p:last-child { margin:22px 0 0; color:var(--muted); font-size:18px; line-height:1.65; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:48px 0 0; padding:0; list-style:none; }
.steps li { min-width:0; padding:26px; border:1px solid var(--line); border-top:4px solid var(--blue); border-radius:14px; }
.steps li:nth-child(2) { border-top-color:var(--cyan); }
.steps li:nth-child(3) { border-top-color:var(--green); }
.steps li > span,.install-list li > span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; color:var(--blue); background:var(--blue-soft); font-size:13px; font-weight:800; }
.steps h3 { margin:18px 0 7px; font-size:20px; }
.steps p { margin:0; color:var(--muted); font-size:15px; }
.work-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:18px; }
.work-examples article { min-width:0; padding:22px; border:1px solid rgba(12,137,226,.14); border-radius:14px; background:var(--blue-soft); }
.work-examples article:nth-child(2) { background:#eef8fb; }
.work-examples article:nth-child(3) { border-color:rgba(11,169,142,.18); background:var(--green-soft); }
.work-examples span { color:var(--blue); font-size:11px; font-weight:800; letter-spacing:.08em; }
.work-examples p { margin:9px 0 0; color:#2d3c54; font-size:14px; line-height:1.65; }
.contrast { background:var(--green-soft); border-block:1px solid rgba(11,169,142,.2); }
.two-column { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,.85fr); gap:100px; align-items:start; }
.section-heading.compact h2 { font-size:clamp(34px,4vw,48px); }
.benefits { margin:0; padding:0; list-style:none; border-top:1px solid #cfd8e5; }
.benefits li { display:grid; gap:5px; padding:20px 0; border-bottom:1px solid #cfd8e5; }
.benefits strong { font-size:17px; }
.benefits span { color:var(--muted); font-size:14px; }
.install { max-width:920px; }
.install-box { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:42px; padding:28px; border:1px solid rgba(11,169,142,.3); border-left:6px solid var(--green); border-radius:14px; background:var(--green-soft); }
.install-box h3 { margin:0; font-size:21px; }
.install-box p { margin:5px 0 0; color:var(--muted); }
.install-list { display:grid; gap:0; margin:28px 0 0; padding:0; list-style:none; border-top:1px solid var(--line); }
.install-list li { display:flex; align-items:flex-start; gap:15px; padding:17px 4px; border-bottom:1px solid var(--line); }
.install-list li > span { flex:0 0 28px; }
code { padding:2px 6px; border:1px solid #d6deea; border-radius:5px; color:#23324a; background:#f2f5f9; font:13px ui-monospace,SFMono-Regular,Consolas,monospace; }
.warning { margin:20px 0 0; color:#6b7585; font-size:13px; }
.warning a { color:var(--blue); }
.supported { color:white; border-top:6px solid var(--green); background:var(--navy); }
.support-groups { display:grid; gap:42px; margin-top:48px; }
.support-group h3 { margin:0 0 16px; font-size:21px; }
.support-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.support-card { display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:14px; min-width:0; padding:18px 20px; border:1px solid rgba(38,157,197,.35); border-radius:14px; background:#0f2341; }
.support-card img { width:34px; height:34px; object-fit:contain; filter:brightness(0) invert(1); }
.support-card .status { font-size:10px; font-weight:850; letter-spacing:.1em; white-space:nowrap; }
.support-card .status.ready { color:#68e1c8; }
.support-card .status.soon { color:#9fc2ff; }
.support-card .status.planned { color:#c4cee0; }
.support-card strong { font-size:17px; }
.footer { min-height:110px; display:flex; align-items:center; gap:28px; color:var(--muted); font-size:13px; }
.footer p { margin-right:auto; }
.connect-page { min-height:100vh; display:grid; place-items:center; padding:48px 24px; border-top:5px solid var(--green); background:var(--soft); }
.connect-card { width:min(720px,100%); padding:44px; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:0 20px 50px rgba(37,55,86,.09); }
.connect-card .label { margin-top:48px; }
.connect-card h1 { font-size:clamp(40px,7vw,64px); }
.connect-card .lead { font-size:18px; }
.agent-instructions { margin-top:32px; padding:26px; border:1px solid rgba(12,137,226,.16); border-radius:14px; background:var(--blue-soft); }
.agent-instructions h2 { margin:0 0 14px; font-size:18px; letter-spacing:-.02em; }
.agent-instructions ol { display:grid; gap:10px; margin:0; padding-left:22px; color:#394961; }
.security-note { margin:22px 0 0; color:#667387; font-size:13px; line-height:1.65; }

.setup-body { min-height:100vh; background:#f4f7fb; }
.setup-shell { width:min(1060px,calc(100% - 32px)); margin:0 auto; padding:32px 0 80px; }
.setup-header { min-height:64px; display:flex; align-items:center; justify-content:space-between; margin-bottom:36px; }
.setup-account { display:flex; align-items:center; gap:18px; }
.text-button { padding:8px 0; border:0; color:#566477; background:transparent; font:700 13px inherit; cursor:pointer; }
.setup-card { padding:34px; border:1px solid #dbe3ec; border-radius:18px; background:#fff; box-shadow:0 18px 50px rgba(24,42,72,.07); }
.setup-card h1 { max-width:760px; font-size:clamp(38px,5.4vw,62px); }
.setup-card h2 { margin:0; font-size:clamp(28px,3vw,40px); letter-spacing:-.04em; }
.setup-grid { display:grid; grid-template-columns:1fr; gap:18px; max-width:900px; margin-inline:auto; }
.setup-form { display:grid; gap:18px; margin-top:28px; }
.setup-form label { display:grid; gap:7px; color:#394961; font-size:13px; font-weight:750; }
.setup-form input,.setup-form select,.instruction-result textarea { width:100%; border:1px solid #cbd6e4; border-radius:9px; color:#182233; background:#fff; font:500 15px inherit; outline:none; }
.setup-form input,.setup-form select { min-height:48px; padding:0 13px; }
.setup-form input:focus,.setup-form select:focus,.instruction-result textarea:focus { border-color:#2463eb; box-shadow:0 0 0 3px rgba(36,99,235,.12); }
.setup-form .button { width:max-content; border:0; cursor:pointer; }
.setup-form .button:disabled { opacity:.55; cursor:wait; }
.form-note { min-height:18px; margin:0; color:#748196; font-size:12px; line-height:1.55; }
.oauth-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.oauth-button { min-height:50px; display:inline-flex; align-items:center; justify-content:center; padding:0 20px; border:1px solid #cbd6e4; border-radius:9px; font-size:14px; font-weight:800; text-decoration:none; }
.oauth-button.github { color:#fff; border-color:#182233; background:#182233; }
.instruction-result { display:grid; gap:22px; max-width:900px; margin:18px auto 0; }
.instruction-result textarea { min-height:132px; padding:15px; resize:vertical; line-height:1.6; }
.instruction-actions { display:flex; flex-wrap:wrap; gap:10px; }
.connection-status { display:flex; align-items:center; gap:14px; padding:16px; border-radius:11px; background:#f1f5fa; }
.connection-status > span { width:11px; height:11px; border-radius:50%; background:#f4a62a; box-shadow:0 0 0 5px #fff0d6; }
.connection-status strong { display:block; font-size:14px; }
.connection-status p { margin:3px 0 0; color:#667387; font-size:12px; }
.connection-status.connected { background:#eaf9f3; }
.connection-status.connected > span { background:#13a978; box-shadow:0 0 0 5px #d5f4e9; }
.instruction-page { max-width:820px; }
.instruction-page > .brand { margin-bottom:32px; }
.agent-install-steps { display:grid; gap:14px; margin:30px 0 0; padding-left:24px; color:#394961; line-height:1.65; }

/* Account settings use familiar GitHub-style navigation, forms, and permission rows. */
.account-body { min-height:100vh; color:#1f2328; background:#fff; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.account-header { border-bottom:1px solid #d0d7de; background:#f6f8fa; }
.account-header-inner { width:min(1216px,calc(100% - 40px)); min-height:64px; display:flex; align-items:center; justify-content:space-between; gap:24px; margin-inline:auto; }
.account-header .brand-logo { width:164px; }
.account-header nav { display:flex; align-items:center; gap:20px; }
.account-header nav > a:not(.profile-button) { color:#1f2328; font-size:14px; font-weight:600; text-decoration:none; }
.account-shell { width:min(1216px,calc(100% - 40px)); margin:0 auto; padding:36px 0 80px; }
.account-shell.narrow { width:min(960px,calc(100% - 40px)); }
.account-box { padding:32px; border:1px solid #d0d7de; border-radius:6px; background:#fff; }
.signin-box { max-width:520px; margin:80px auto; text-align:center; }
.signin-box h1 { font-size:30px; letter-spacing:-.025em; }
.signin-box p { margin:12px 0 24px; color:#656d76; }
.github-button { min-height:40px; display:inline-flex; align-items:center; justify-content:center; padding:0 16px; border:1px solid rgba(31,35,40,.15); border-radius:6px; color:#fff; background:#1f883d; box-shadow:0 1px 0 rgba(31,35,40,.1); font-size:14px; font-weight:600; text-decoration:none; cursor:pointer; }
.github-button:hover { background:#1a7f37; }
.github-button.compact { min-height:34px; padding:0 14px; font-size:13px; }
.github-button:disabled { opacity:.55; cursor:not-allowed; }
.account-identity { display:flex; align-items:center; gap:18px; padding-bottom:24px; border-bottom:1px solid #d8dee4; }
.account-identity img { width:72px; height:72px; border-radius:50%; object-fit:cover; }
.account-identity h1 { margin:0; font-size:28px; letter-spacing:-.025em; }
.account-identity p { margin:4px 0 0; color:#656d76; }
.identity-action { margin-left:auto; }
.settings-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:32px; margin-top:28px; }
.settings-nav { height:max-content; display:grid; border:1px solid #d0d7de; border-radius:6px; overflow:hidden; }
.settings-nav a { padding:12px 14px; border-bottom:1px solid #d8dee4; color:#1f2328; font-size:14px; text-decoration:none; }
.settings-nav a:last-child { border-bottom:0; }
.settings-nav a:hover { background:#f6f8fa; }
.settings-main { min-width:0; display:grid; gap:36px; }
.settings-section { scroll-margin-top:20px; }
.settings-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding-bottom:12px; border-bottom:1px solid #d8dee4; }
.settings-heading h2 { margin:0; font-size:24px; font-weight:500; letter-spacing:-.02em; }
.settings-heading p { margin:4px 0 0; color:#656d76; font-size:14px; }
.settings-list { border:1px solid #d0d7de; border-radius:6px; margin-top:16px; overflow:hidden; }
.settings-row { min-height:72px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px 16px; border-bottom:1px solid #d8dee4; }
.settings-row:last-child { border-bottom:0; }
.settings-row.stacked { display:block; }
.settings-row strong { font-size:14px; }
.settings-row p { margin:4px 0 0; color:#656d76; font-size:13px; }
.permission-summary { color:#1f6feb !important; }
.empty-row { padding:22px 16px; color:#656d76; font-size:14px; text-align:center; }
.outline-button { min-height:32px; display:inline-flex; align-items:center; justify-content:center; padding:0 12px; border:1px solid #d0d7de; border-radius:6px; color:#1f2328; background:#f6f8fa; font-size:12px; font-weight:600; text-decoration:none; cursor:pointer; }
.outline-button:hover { background:#f3f4f6; }
.inline-form { display:flex; gap:8px; margin-top:16px; }
.inline-form input,.share-form input,.share-form select { min-height:36px; padding:5px 12px; border:1px solid #d0d7de; border-radius:6px; color:#1f2328; background:#fff; font:14px inherit; outline:none; }
.inline-form select { min-width:280px; min-height:36px; padding:5px 12px; border:1px solid #d0d7de; border-radius:6px; color:#1f2328; background:#fff; font:14px inherit; }
.inline-form input { min-width:280px; }
.inline-form input:focus,.share-form input:focus,.share-form select:focus { border-color:#0969da; box-shadow:0 0 0 3px rgba(9,105,218,.12); }
.back-link { display:inline-block; margin-bottom:22px; color:#0969da; font-size:14px; text-decoration:none; }
.agent-title { padding:8px 0 28px; }
.agent-title h1 { margin:0; font-size:34px; }
.agent-title p:last-child { margin:8px 0 0; color:#656d76; }
.breadcrumbs { margin:0 0 8px; color:#656d76; font-size:11px; font-weight:700; letter-spacing:.1em; }
.permission-card { padding:16px; border-bottom:1px solid #d8dee4; }
.permission-card:last-child { border-bottom:0; }
.permission-card-title { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.permission-card fieldset,.share-form fieldset { display:flex; flex-wrap:wrap; gap:12px 22px; margin:14px 0 8px; padding:0; border:0; }
.permission-card label,.share-form fieldset label { color:#424a53; font-size:13px; }
.permission-card input,.share-form fieldset input { accent-color:#1f883d; }
.share-form { display:grid; grid-template-columns:1fr 1fr; gap:14px 18px; margin-top:18px; padding:18px; border:1px solid #d0d7de; border-radius:6px; background:#f6f8fa; }
.share-form > label { display:grid; gap:6px; font-size:13px; font-weight:600; }
.share-form fieldset,.share-form .form-note { grid-column:1 / -1; }
.share-form legend { margin-bottom:8px; font-size:13px; font-weight:600; }
.danger-zone { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-top:36px; padding:18px; border:1px solid #cf222e; border-radius:6px; }
.danger-zone h2 { margin:0; font-size:17px; }
.danger-zone p { margin:4px 0 0; color:#656d76; font-size:13px; }
.danger-button,.danger-link { min-height:32px; padding:0 12px; border:1px solid #d0d7de; border-radius:6px; color:#cf222e; background:#f6f8fa; font:600 12px inherit; cursor:pointer; }
.danger-button:hover,.danger-link:hover { color:#fff; border-color:#cf222e; background:#cf222e; }
.danger-button:disabled { opacity:.5; cursor:not-allowed; }
.project-title { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; padding:8px 0 30px; }
.project-title h1 { margin:0; font-size:36px; }
.project-title p:last-child { max-width:680px; margin:8px 0 0; color:#656d76; }
.role-badge { height:max-content; display:inline-flex; align-items:center; padding:3px 9px; border:1px solid #d0d7de; border-radius:999px; color:#57606a; background:#f6f8fa; font-size:11px; font-weight:700; white-space:nowrap; }
.hierarchy-section { margin-top:36px; }
.hierarchy-permissions { display:flex; flex-wrap:wrap; align-items:center; gap:11px 22px; margin-top:14px; padding:14px 16px; border:1px solid #d0d7de; border-radius:6px; background:#f6f8fa; }
.hierarchy-permissions label { color:#424a53; font-size:13px; }
.hierarchy-permissions input { accent-color:#1f883d; }
.hierarchy-permissions .outline-button { margin-left:auto; }
.compact-share { grid-template-columns:minmax(220px,.7fr) 1.3fr; }
.invite-result { box-sizing:border-box; width:100%; max-width:820px; margin-top:16px; padding:18px; border:1px solid #d0d7de; border-radius:8px; background:#fff; }
.invite-result p { margin:5px 0 12px; color:#656d76; font-size:13px; }
.invite-link-row { display:flex; align-items:stretch; gap:8px; width:100%; }
.invite-result input { box-sizing:border-box; flex:1 1 auto; min-width:0; min-height:40px; padding:8px 11px; border:1px solid #d0d7de; border-radius:6px; background:#f6f8fa; color:#24292f; font:13px ui-monospace,SFMono-Regular,Consolas,monospace; }
.invite-result textarea { box-sizing:border-box; width:100%; min-height:120px; margin-bottom:12px; padding:10px 11px; resize:vertical; border:1px solid #d0d7de; border-radius:6px; background:#f6f8fa; color:#24292f; font:13px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace; }
.share-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.share-option { display:inline-flex; min-height:40px; align-items:center; justify-content:center; gap:8px; padding:7px 13px; text-decoration:none; white-space:nowrap; }
.share-icon { position:relative; display:inline-block; width:16px; height:16px; flex:0 0 16px; color:currentColor; }
.icon-copy { box-sizing:border-box; width:12px; height:12px; margin:4px 0 0 4px; border:1.7px solid currentColor; border-radius:2px; }
.icon-copy::before { content:""; position:absolute; box-sizing:border-box; width:12px; height:12px; top:-5px; left:-5px; border:1.7px solid currentColor; border-radius:2px; background:inherit; }
.icon-share::before { content:""; position:absolute; width:7px; height:7px; top:1px; left:5px; border-top:1.8px solid currentColor; border-right:1.8px solid currentColor; transform:rotate(-45deg); }
.icon-share::after { content:""; position:absolute; width:10px; height:8px; left:3px; bottom:1px; border:1.8px solid currentColor; border-top:0; border-radius:0 0 3px 3px; box-shadow:0 -7px 0 -6px currentColor; }
.icon-mail { box-sizing:border-box; height:12px; margin-top:2px; border:1.7px solid currentColor; border-radius:2px; }
.icon-mail::before,.icon-mail::after { content:""; position:absolute; width:9px; height:1.7px; top:4px; background:currentColor; }
.icon-mail::before { left:0; transform:rotate(34deg); }
.icon-mail::after { right:0; transform:rotate(-34deg); }
.whatsapp-option { color:#147a38; }
.icon-whatsapp { box-sizing:border-box; border:1.8px solid currentColor; border-radius:50%; }
.icon-whatsapp::before { content:"☎"; position:absolute; inset:-2px 0 0 2px; font-size:11px; line-height:16px; transform:rotate(-18deg); }
.icon-whatsapp::after { content:""; position:absolute; width:4px; height:4px; left:0; bottom:-1px; border-left:1.8px solid currentColor; transform:skew(-25deg); }
.embedded-manifest { margin-top:22px; padding-top:20px; border-top:1px solid #d8dee4; }
.embedded-manifest h2 { margin:0 0 10px; font-size:16px; }
.embedded-manifest pre { max-height:420px; overflow:auto; margin:0; padding:14px; border:1px solid #d0d7de; border-radius:6px; background:#f6f8fa; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; line-height:1.55; }
.member-tree { display:grid; gap:16px; margin-top:18px; }
.member-node { overflow:hidden; border:1px solid #d0d7de; border-radius:8px; background:#fff; }
.tree-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 16px; }
.member-heading { border-bottom:1px solid #d8dee4; background:#f6f8fa; }
.member-identity { display:flex; align-items:center; gap:11px; }
.member-identity p,.tree-heading p { margin:3px 0 0; color:#656d76; font-size:12px; }
.member-avatar { width:34px; height:34px; display:grid; place-items:center; overflow:hidden; border-radius:50%; color:#fff; background:#57606a; font-size:13px; font-weight:700; }
.member-avatar img { width:100%; height:100%; object-fit:cover; }
.member-node > .hierarchy-permissions { margin:14px 16px; }
.agent-endpoint-tree { display:grid; gap:10px; margin:0 16px 16px 38px; padding-left:18px; border-left:2px solid #d8dee4; }
.agent-endpoint-node { border:1px solid #d8dee4; border-radius:7px; background:#fff; }
.agent-endpoint-node .hierarchy-permissions { margin:0; border-width:1px 0 0; border-radius:0 0 7px 7px; background:#fbfcfd; }
.tree-empty { margin:0; padding:14px; color:#656d76; font-size:13px; }
.member-remove { margin:0 16px 16px; }

/* Production landing page — mirrors the approved preview while keeping PHP routes intact. */
.landing-page .shell { width:min(1160px,calc(100% - 48px)); }
.landing-page .site-header { position:relative; z-index:10; border-bottom:1px solid rgba(12,110,251,.22); background:rgba(255,255,255,.96); }
.landing-page .nav { min-height:76px; }
.landing-page .brand-logo { width:186px; }
.landing-page .nav-links a { font-weight:700; }
.landing-page h1,.landing-page h2,.landing-page h3 { font-weight:inherit; }
.landing-page .hero { min-height:680px; grid-template-columns:minmax(0,1.03fr) minmax(420px,.97fr); gap:76px; padding-block:84px 92px; }
.landing-page .eyebrow { display:flex; align-items:center; gap:9px; margin:0 0 22px; color:#41516a; font-size:12px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; }
.landing-page .live-dot { width:9px; height:9px; border-radius:50%; background:var(--green); box-shadow:0 0 0 5px var(--green-soft); }
.landing-page h1 { max-width:720px; font-size:clamp(49px,5.7vw,76px); line-height:.98; letter-spacing:-.06em; }
.landing-page .lead { max-width:680px; margin-top:27px; font-size:19px; line-height:1.65; }
.landing-page .actions { margin-top:33px; }
.landing-page .button { min-height:50px; gap:18px; padding-inline:21px; border-radius:8px; font-size:14px; font-weight:800; }
.landing-page .proof { margin:17px 0 0; color:#7a8799; font-size:12px; font-weight:650; }
.network-card { position:relative; padding:22px; border:1px solid rgba(12,110,251,.2); border-radius:18px; background:var(--blue-soft); box-shadow:0 30px 70px rgba(7,45,81,.14); overflow:hidden; }
.network-card::before { content:""; position:absolute; inset:0; opacity:.5; background-image:linear-gradient(#dce5f0 1px,transparent 1px),linear-gradient(90deg,#dce5f0 1px,transparent 1px); background-size:28px 28px; mask-image:linear-gradient(to bottom,black,transparent 75%); pointer-events:none; }
.network-card > * { position:relative; }
.network-topline { display:flex; justify-content:space-between; margin-bottom:18px; color:#738197; font-size:11px; font-weight:800; letter-spacing:.09em; }
.network-topline span:first-child { color:var(--green-dark); }
.network-agent { display:flex; align-items:center; gap:12px; width:76%; padding:13px 14px; border:1px solid #d5deea; border-radius:11px; background:#fff; box-shadow:0 7px 18px rgba(25,43,72,.07); }
.network-agent-b { margin-left:auto; }
.network-agent-c { margin-top:8px; }
.agent-icon { flex:0 0 35px; width:35px; height:35px; display:grid; place-items:center; border-radius:9px; color:#fff; font-size:12px; font-weight:850; }
.network-agent div { min-width:0; flex:1; }
.network-agent strong { display:block; font-size:13px; }
.network-agent p { margin:1px 0 0; color:#718095; font-size:11px; }
.agent-icon.codex { background:#182233; }
.agent-icon.cursor { background:#6542d7; }
.agent-icon.claude { background:#d56d4a; }
.check { width:22px; height:22px; display:grid; place-items:center; border-radius:50%; color:var(--green-dark); background:var(--green-soft); font-size:12px; font-weight:900; }
.activity { display:flex; gap:3px; }
.activity i { width:4px; height:4px; border-radius:50%; background:#5190ed; }
.network-rail { display:flex; align-items:center; gap:10px; width:68%; margin:9px auto; color:var(--green-dark); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.network-rail span { height:2px; flex:1; background:var(--cyan); opacity:.55; }
.network-branch { width:2px; height:24px; margin:0 auto; background:var(--green); opacity:.55; }
.network-status { margin-top:20px; padding:11px; border-radius:8px; color:#506079; background:#e0e9f4; text-align:center; font-size:11px; font-weight:700; }
.landing-page .section { padding-block:108px; }
.section-intro { max-width:820px; }
.landing-page .label { margin-bottom:18px; font-size:11px; font-weight:850; letter-spacing:.15em; }
.section-intro h2,.compatibility-heading h2,.get-grid h2 { margin:0; font-size:clamp(38px,4.5vw,58px); line-height:1.05; letter-spacing:-.05em; }
.section-intro > p:last-child { max-width:690px; margin:23px 0 0; color:var(--muted); font-size:18px; line-height:1.65; }
.feature-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:52px; }
.feature { min-height:285px; display:flex; flex-direction:column; align-items:flex-start; padding:30px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.feature:hover { border-color:rgba(11,169,142,.35); }
.feature-wide { grid-column:1/-1; min-height:260px; display:grid; grid-template-columns:54px minmax(0,.9fr) minmax(360px,1.1fr); align-items:center; gap:30px; }
.feature-number { color:#90a0b6; font:700 12px ui-monospace,SFMono-Regular,Consolas,monospace; }
.feature h3 { margin:20px 0 8px; font-size:23px; letter-spacing:-.025em; }
.feature-wide h3 { margin-top:0; }
.feature p { max-width:540px; margin:0; color:var(--muted); font-size:15px; line-height:1.7; }
.handoff-visual { display:flex; align-items:center; justify-content:center; gap:12px; padding:26px; border-radius:12px; background:var(--green-soft); }
.handoff-visual span { padding:11px 13px; border:1px solid #cfd9e7; border-radius:8px; background:#fff; font-size:11px; font-weight:800; }
.handoff-visual i { color:var(--blue); font-style:normal; }
.compatibility { color:#fff; border-top:5px solid var(--green); background:var(--navy); }
.compatibility-heading .label { color:#68d9c4; }
.compat-group { margin-top:52px; }
.compat-group > h3 { margin:0 0 18px; color:#d7e2f5; font-size:14px; letter-spacing:.08em; text-transform:uppercase; }
.compatibility-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.compat-card { display:grid; grid-template-columns:38px 1fr auto; align-items:center; gap:12px; min-width:0; padding:18px; border:1px solid rgba(38,157,197,.3); border-radius:12px; background:#0f2341; }
.compat-card img { width:32px; height:32px; object-fit:contain; filter:brightness(0) invert(1); }
.compat-card h3 { margin:0; font-size:15px; }
.compat-status { color:#9fb0c9; font-size:9px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.compat-status.ready { color:#68e1c8; }
.compat-status.soon { color:#ffd27c; }
.use-cases { padding-bottom:118px!important; }
.use-case-list { margin-top:48px; border-top:1px solid var(--line); }
.use-case-list article { display:grid; grid-template-columns:60px minmax(0,1fr) auto; align-items:center; gap:25px; padding:30px 8px; border-bottom:1px solid var(--line); }
.use-case-list article:hover { background:var(--blue-soft); }
.use-case-list article > span { color:#94a1b2; font:700 12px ui-monospace,SFMono-Regular,Consolas,monospace; }
.use-case-list h3 { margin:0; font-size:20px; }
.use-case-list p { max-width:700px; margin:5px 0 0; color:var(--muted); font-size:14px; }
.use-case-list b { color:#73839b; font:750 10px ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.08em; }
.get-realremote { padding-block:95px; color:#fff; border-top:7px solid var(--green); background:var(--blue); }
.get-grid { display:grid; grid-template-columns:minmax(0,1fr) 400px; align-items:center; gap:95px; }
.label.light { color:#bfd5ff; }
.get-grid > div:first-child > p:not(.label) { max-width:630px; margin:22px 0 0; color:#d9e6ff; font-size:16px; line-height:1.7; }
.download-card { padding:30px; border-radius:16px; color:var(--ink); background:#fff; box-shadow:0 28px 70px rgba(7,35,94,.25); }
.download-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:9px; color:var(--green-dark); background:var(--green-soft); font-size:23px; font-weight:850; }
.download-card h3 { margin:22px 0 4px; font-size:21px; }
.download-card > p { margin:0; color:#758298; font-size:12px; }
.download-card small { display:block; margin-top:14px; color:#7b8798; font-size:11px; line-height:1.55; }
.download-card > a { display:inline-block; margin-top:18px; color:var(--blue); font-size:12px; font-weight:800; text-decoration:none; }
.download-card > .button { color:#fff; }
.closing { padding-block:118px; text-align:center; }
.closing blockquote { margin:0; font-size:clamp(33px,4.3vw,56px); font-weight:760; line-height:1.2; letter-spacing:-.045em; }
.closing blockquote em { color:var(--green-dark); font-style:normal; }
.site-footer { border-top:1px solid var(--line); }
.landing-page .footer { min-height:120px; display:flex; align-items:center; gap:26px; }
.landing-page .footer .brand-logo { width:160px; }
.landing-page .footer p { margin-right:auto; }
.landing-page .footer div { display:flex; gap:18px; }
.landing-page .footer a { text-decoration:none; }

.task-list { display:grid; gap:8px; }
.task-list-note { min-height:20px; margin:0 0 8px; }
.task-create { box-sizing:border-box; margin:18px 0 22px; padding:20px; display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,.5fr); gap:16px; border:1px solid #d0d7de; border-radius:8px; background:#f6f8fa; }
.task-create label { min-width:0; display:grid; gap:7px; color:#1f2328; font-size:13px; font-weight:600; }
.task-create label:nth-of-type(3),.task-create-actions { grid-column:1/-1; }
.task-create input,.task-create select,.task-create textarea { box-sizing:border-box; width:100%; min-width:0; padding:10px 12px; border:1px solid #b6c2cf; border-radius:6px; color:#1f2328; background:#fff; font:14px/1.45 inherit; outline:none; }
.task-create input,.task-create select { min-height:42px; }
.task-create label select { margin-top:2px; }
.target-preview { min-height:18px; color:#57606a; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.task-create textarea { min-height:112px; resize:vertical; font-weight:400; }
.task-create input:focus,.task-create select:focus,.task-create textarea:focus { border-color:#0969da; box-shadow:0 0 0 3px rgba(9,105,218,.12); }
.task-create-actions { min-height:40px; display:flex; align-items:center; gap:14px; }
.task-create-actions .form-note { margin:0; }
.task-row { min-height:74px; display:flex; align-items:center; gap:10px; padding:5px 8px 5px 16px; border:1px solid #d0d7de; border-radius:7px; color:#1f2328; background:#fff; transition:border-color .15s ease,background .15s ease; }
.task-row:hover { border-color:#8cafe8; background:#f6f9ff; }
.task-row strong { font-size:14px; }
.task-row p { margin:5px 0 0; color:#656d76; font-size:12px; }
.task-row-link { min-width:0; min-height:62px; flex:1; display:flex; align-items:center; justify-content:space-between; gap:20px; color:inherit; text-decoration:none; }
.task-row-action { display:flex; align-items:center; gap:14px; }
.task-delete-button { padding:7px 9px; border:0; border-radius:6px; color:#cf222e; background:transparent; font:700 12px/1 inherit; cursor:pointer; }
.task-delete-button:hover { background:#ffebe9; }
.task-delete-button:disabled { opacity:.5; cursor:wait; }
.task-status { padding:3px 9px; border:1px solid #afb8c1; border-radius:999px; color:#57606a; background:#f6f8fa; font-size:11px; font-weight:700; text-transform:capitalize; white-space:nowrap; }
.task-status.status-in_progress { color:#0969da; border-color:#b6d3fa; background:#ddf4ff; }
.task-status.status-completed { color:#1a7f37; border-color:#a7d7b5; background:#dafbe1; }
.task-status.status-blocked,.task-status.status-cancelled { color:#cf222e; border-color:#f1b4b9; background:#ffebe9; }
.task-arrow { color:#0969da; font-size:20px; }
.task-conversation { overflow:hidden; border:1px solid var(--line); border-radius:12px; background:#fff; }
.task-messages { min-height:260px; max-height:58vh; overflow:auto; padding:22px; display:grid; gap:14px; }
.task-message { max-width:min(82%,760px); padding:13px 15px; border:1px solid var(--line); border-radius:12px; background:#f6f8fa; }
.task-message.user { justify-self:end; border-color:#b8cff7; background:#edf4ff; }
.task-message.system { max-width:100%; border-style:dashed; border-color:#b6bec9; background:#fbfcfe; }
.task-message > div { display:flex; justify-content:space-between; gap:22px; color:var(--muted); font-size:12px; }
.task-message strong { color:var(--ink); }
.task-message p { margin:8px 0 0; white-space:pre-wrap; line-height:1.55; }
.delivery-error { display:block; margin-top:10px; color:#9a6700; line-height:1.4; }
.task-compose { margin-top:14px; padding:18px; display:grid; gap:14px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.task-compose label { display:grid; gap:7px; font-weight:700; }
.task-compose select,.task-compose textarea { width:100%; padding:11px 12px; border:1px solid #c8d1dc; border-radius:7px; color:var(--ink); background:#fff; font:inherit; }
.task-compose textarea { resize:vertical; font-weight:400; }
.task-compose .github-button { justify-self:start; }
.task-title-actions { display:flex; align-items:center; gap:10px; }
.task-delete-actions { display:grid; justify-items:end; gap:6px; }
.task-delete-actions .form-note { max-width:360px; margin:0; text-align:right; }

@media (max-width:900px) {
  .hero { grid-template-columns:1fr; gap:48px; padding-block:64px 72px; }
  .hero-copy { max-width:760px; }
  .example { max-width:620px; }
  .two-column { grid-template-columns:1fr; gap:48px; }
}
@media (max-width:680px) {
  .shell { width:min(100% - 32px,1120px); }
  .site-header { position:static; }
  .site-header { position:relative; z-index:20; }
  .nav { min-height:64px; }
  .brand-logo { width:145px; }
  .nav-toggle { display:block; }
  .nav-panel { display:none; position:absolute; top:calc(100% + 1px); left:0; right:0; align-items:stretch; flex-direction:column; gap:12px; padding:14px; border:1px solid var(--line); border-top:0; border-radius:0 0 10px 10px; background:#fff; box-shadow:0 16px 32px rgba(24,42,72,.14); }
  .nav-panel.open { display:flex; }
  .nav-links { flex:1; align-items:stretch; flex-direction:column; gap:0; }
  .nav-links a { padding:11px 8px; border-bottom:1px solid #edf0f4; }
  .nav-links a:first-child { display:block; }
  .nav-panel .profile-button { margin:6px 8px; }
  h1 { font-size:clamp(40px,12vw,54px); }
  .lead { font-size:18px; }
  .hero { padding-block:52px 64px; }
  .section { padding-block:68px; }
  .steps { grid-template-columns:1fr; }
  .work-examples { grid-template-columns:1fr; }
  .install-box { align-items:stretch; flex-direction:column; }
  .install-box .button { width:100%; }
  .support-grid { grid-template-columns:1fr; }
  .support-card { grid-template-columns:36px 1fr auto; padding:16px; }
  .footer { align-items:flex-start; flex-direction:column; gap:9px; padding-block:30px; }
  .footer p { margin:0; }
  .connect-page { padding:20px 12px; }
  .connect-card { padding:28px 22px; }
  .connect-card .label { margin-top:38px; }
  .setup-shell { padding-top:24px; }
  .setup-card { padding:25px 20px; }
  .setup-grid { grid-template-columns:1fr; }
  .oauth-actions,.instruction-actions { flex-direction:column; }
  .oauth-button,.instruction-actions .button { width:100%; }
  .account-header-inner,.account-shell,.account-shell.narrow { width:min(100% - 24px,1216px); }
  .account-header nav > a:not(.profile-button) { display:none; }
  .settings-layout { grid-template-columns:1fr; }
  .settings-nav { grid-template-columns:repeat(3,1fr); }
  .settings-nav a { padding:10px 8px; border-right:1px solid #d8dee4; border-bottom:0; text-align:center; font-size:12px; }
  .settings-heading,.settings-row,.danger-zone { align-items:flex-start; flex-direction:column; }
  .inline-form,.share-form { grid-template-columns:1fr; }
  .inline-form { display:grid; }
  .inline-form input { min-width:0; width:100%; }
  .share-form > label,.share-form fieldset,.share-form .form-note { grid-column:1; }
  .identity-action { margin-left:0; }
  .account-identity { align-items:flex-start; flex-wrap:wrap; }
  .project-title { flex-direction:column; }
  .hierarchy-permissions { align-items:flex-start; flex-direction:column; }
  .hierarchy-permissions .outline-button { width:100%; margin-left:0; }
  .agent-endpoint-tree { margin-left:20px; padding-left:12px; }
  .tree-heading { align-items:flex-start; flex-direction:column; }
  .compact-share { grid-template-columns:1fr; }
  .invite-link-row { align-items:stretch; flex-direction:column; }
  .invite-link-row .share-option { width:100%; }
  .inline-form select { min-width:0; width:100%; }
  .task-create { grid-template-columns:1fr; }
  .task-create label:nth-of-type(3),.task-create-actions { grid-column:1; }
  .task-create-actions { align-items:stretch; flex-direction:column; }
  .task-create-actions .github-button { width:100%; }
  .task-row { align-items:flex-start; }
  .task-row-action { align-items:flex-end; flex-direction:column-reverse; gap:6px; }
  .task-message { max-width:94%; }
}

@media (max-width:1000px) {
  .landing-page .hero { grid-template-columns:1fr; gap:55px; }
  .landing-page .hero-copy { max-width:820px; }
  .network-card { max-width:650px; }
  .get-grid { grid-template-columns:1fr; gap:48px; }
  .download-card { max-width:480px; }
  .feature-wide { grid-template-columns:45px 1fr; }
  .handoff-visual { grid-column:2; }
}

@media (max-width:680px) {
  .landing-page .shell { width:min(100% - 32px,1160px); }
  .landing-page .nav { min-height:66px; }
  .landing-page .brand-logo { width:156px; }
  .landing-page .hero { min-height:0; padding-block:58px 66px; }
  .landing-page h1 { font-size:clamp(44px,13vw,60px); }
  .landing-page .lead { font-size:17px; }
  .network-card { padding:15px; }
  .network-agent { width:88%; }
  .landing-page .section { padding-block:76px; }
  .feature-grid { grid-template-columns:1fr; }
  .feature-wide { grid-column:auto; display:flex; min-height:auto; }
  .feature { min-height:auto; }
  .handoff-visual { width:100%; padding:18px 10px; gap:7px; }
  .handoff-visual span { padding:9px 7px; font-size:9px; }
  .compatibility-grid { grid-template-columns:1fr; }
  .use-case-list article { grid-template-columns:35px 1fr; }
  .use-case-list b { display:none; }
  .get-realremote { padding-block:72px; }
  .get-grid { gap:38px; }
  .download-card { padding:24px; }
  .closing { padding-block:85px; }
  .landing-page .footer { align-items:flex-start; flex-direction:column; gap:10px; padding-block:30px; }
  .landing-page .footer p { margin:0; }
}
