:root { color-scheme: dark; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #0d0f13; color: #f4f5f7; --border: #2c313b; --muted: #a3aab7; --panel: #171a20; --blue: #8eb2ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 18% -10%, #27334a 0, transparent 34%), #0d0f13; }
a { color: inherit; }
.site-nav { min-height: 72px; padding: 14px max(24px, calc((100vw - 1440px) / 2)); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 22px; border-bottom: 1px solid var(--border); background: #0d0f13dd; backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 10; }
.directory-page .page-shell { width: min(1440px, calc(100% - 40px)); }
.wordmark { display: flex; align-items: center; gap: 11px; text-decoration: none; font-size: 17px; }
.portal-progress { grid-column: 2; min-width: 300px; }
.nav-links { grid-column: 3; justify-self: end; }
.mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, #4277ff, #7548e8); font-weight: 850; box-shadow: 0 8px 24px #315fd733; }
.studio-mark { display: block; width: 92px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.landing-nav .wordmark { grid-column: 1; }
.quiet-admin-link { position: fixed; right: 24px; bottom: 20px; padding: 7px 9px; border-radius: 7px; color: #717885; font-size: 12px; font-weight: 650; text-decoration: none; }
.quiet-admin-link:hover, .quiet-admin-link:focus { color: #b1b8c4; background: #1a1e25; outline: none; }
.nav-links { display: flex; align-items: center; gap: 9px; }
.nav-links a { color: var(--muted); padding: 9px 11px; border-radius: 9px; text-decoration: none; font-weight: 650; }
.nav-links a:hover, .nav-links .active { color: #fff; background: #20242c; }
.nav-links .nav-button { color: #111318; background: #f2f3f5; }
.home-shell, .page-shell, .narrow-shell, .login-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.home-shell { padding: 110px 0 80px; }
.narrow-shell { width: min(880px, calc(100% - 40px)); padding: 76px 0; }
.page-shell { padding: 58px 0 80px; }
.login-shell { min-height: calc(100vh - 73px); padding: 48px 0 80px; }
.admin-login-shell { min-height: calc(100vh - 73px); width: min(460px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }
.admin-login-card { width: 100%; padding: 34px; border: 1px solid var(--border); border-radius: 18px; background: #171a20e8; box-shadow: 0 22px 70px #0006; }
.admin-login-card h1 { font-size: clamp(38px, 8vw, 52px); }
.admin-login-card > p:not(.eyebrow) { margin: 14px 0 24px; color: var(--muted); line-height: 1.5; }
.github-button { width: 100%; text-align: center; }
.composer-login { width: min(960px, 100%); margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; padding: clamp(32px, 6vw, 64px); border: 1px solid var(--border); border-radius: 22px; background: #171a20e8; box-shadow: 0 24px 80px #0006; }
.composer-title { margin: 0; font-size: clamp(38px, 5vw, 56px); }
.composer-instruction { max-width: 590px; margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.55; }
.magic-link-form { display: grid; gap: 11px; padding: 18px; border: 1px solid #343a46; border-radius: 16px; background: #20242c; }
.magic-link-form label { font-size: 14px; font-weight: 750; }
.magic-link-form input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #414856; border-radius: 10px; background: #12151a; color: #f4f5f7; font: inherit; }
.magic-link-form button { min-height: 48px; border: 0; border-radius: 10px; background: #f2f3f5; color: #111318; font: inherit; font-weight: 780; }
.magic-link-form input:disabled, .magic-link-form button:disabled { cursor: not-allowed; opacity: .55; }
.hero { max-width: 850px; }
.eyebrow, .route-label { margin: 0 0 9px; color: #91ace7; letter-spacing: .13em; font-size: 12px; font-weight: 800; }
h1 { margin: 0; font-size: clamp(38px, 7vw, 72px); line-height: 1.02; letter-spacing: -.045em; }
.lede { max-width: 710px; margin: 24px 0 0; color: var(--muted); line-height: 1.55; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-block; padding: 12px 17px; border-radius: 10px; background: #f2f3f5; color: #111318; font-weight: 750; text-decoration: none; }
.button.secondary { color: #e8ebf1; background: #20242c; border: 1px solid #353b47; }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 78px; }
.route-card, .panel { border: 1px solid var(--border); border-radius: 18px; padding: 28px; background: #171a20e8; box-shadow: 0 16px 55px #0004; }
.route-card { text-decoration: none; transition: transform .15s, border-color .15s; }
.route-card:hover { transform: translateY(-2px); border-color: #5d78b1; }
.route-card h2, .sign-in-options h2 { margin: 0; font-size: 25px; }
.route-card p, .panel p, .page-heading p, .tool-card p, .environment-card p { color: var(--muted); line-height: 1.5; }
.route-card b { color: var(--blue); }
.compact { padding: 20px 24px; }
.sign-in-panel > h1 { font-size: clamp(34px, 6vw, 54px); }
.sign-in-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.sign-in-options article { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #20242b; }
.sign-in-options .pending { opacity: .68; }
.status-chip { display: inline-flex; align-items: center; min-height: 28px; padding: 5px 10px; border-radius: 999px; background: #292e38; color: #bdc4d0; font-size: 12px; font-weight: 750; }
.status-chip.live { background: #173a2b; color: #8fe3b6; }
.status-chip.development { background: #30264b; color: #c6afff; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.page-heading h1 { font-size: clamp(36px, 5vw, 58px); }
.page-heading p { margin-bottom: 0; }
.tool-list, .environment-list { display: grid; gap: 14px; margin-top: 26px; }
.tool-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px; padding: 20px; border: 1px solid var(--border); border-radius: 15px; background: var(--panel); text-decoration: none; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
a.tool-card:hover { transform: translateY(-2px); border-color: #5d78b1; background: #1d2129; box-shadow: 0 14px 36px #0004; }
.tool-card img, .app-summary img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.tool-card h2, .tool-card p, .app-summary h2, .app-summary p { margin: 0; }
.tool-card .route-label { display: block; margin-bottom: 5px; }
.tool-card b { color: var(--blue); }
.tool-card.unavailable { opacity: .7; }
.account-mini { display: grid; grid-template-columns: auto auto; gap: 2px 10px; align-items: center; font-size: 13px; }
.account-mini img { width: 38px; height: 38px; border-radius: 50%; grid-row: span 2; }
.account-mini a { color: var(--blue); }
.nav-account { margin-left: 7px; padding-left: 16px; border-left: 1px solid var(--border); grid-template-columns: 38px auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; }
.nav-account img { width: 38px; height: 38px; }
.nav-account span { align-self: end; line-height: 1.1; }
.nav-links .nav-account a { align-self: start; padding: 0; border-radius: 0; background: transparent; line-height: 1.1; }
.nav-links .nav-account a:hover { background: transparent; text-decoration: underline; }
.environment-legend { display: flex; gap: 22px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.dot.preview { background: #b79cff; }
.dot.production { background: #4dd493; }
.environment-card { border: 1px solid var(--border); border-radius: 16px; padding: 22px; background: var(--panel); }
.environment-card.muted { display: flex; align-items: center; justify-content: space-between; opacity: .65; }
.app-summary { display: flex; align-items: center; gap: 16px; }
.environment-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.environment-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--border); border-radius: 12px; background: #20242c; text-decoration: none; }
.environment-link:hover { border-color: #5d78b1; }
.environment-link span { display: grid; grid-template-columns: auto 1fr; align-items: center; }
.environment-link .dot { grid-row: span 2; }
.environment-link small { color: var(--muted); margin-top: 3px; }
.environment-link strong { color: var(--blue); white-space: nowrap; }
.admin-app-list { display: grid; gap: 12px; margin-top: 26px; }
.admin-app-row { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 15px; background: var(--panel); text-decoration: none; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.admin-app-row:has(.release-actions) { grid-template-columns: minmax(0, 1fr) auto; }
.admin-app-row .app-summary { color: inherit; text-decoration: none; }
.admin-app-row:hover { transform: translateY(-2px); border-color: #5d78b1; background: #1d2129; box-shadow: 0 14px 36px #0004; }
.admin-app-row .app-summary img { width: 56px; height: 56px; }
.admin-app-row h2, .admin-app-row p { margin: 0; }
.admin-app-actions { display: flex; align-items: center; gap: 8px; }
.admin-action { padding: 9px 12px; border-radius: 9px; background: #26334d; color: var(--blue); font-size: 13px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.admin-action:hover { background: #314264; color: #fff; }
.admin-action.secondary { background: #20242c; color: #c1c8d4; }
.hidden { display: none !important; }
.access-panel { margin-top: 54px; padding-top: 34px; border-top: 1px solid var(--border); }
.access-panel.first { margin-top: 26px; padding-top: 0; border-top: 0; }
.access-shell { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 80px; }
.access-title { padding: 6px 2px 26px; }
.access-title h1 { margin: 0; font-size: clamp(32px, 5vw, 44px); letter-spacing: -.035em; }
.access-title > p:last-child { margin: 9px 0 0; color: var(--muted); }
.settings-stack { display: grid; gap: 18px; }
.settings-panel { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #15181e; box-shadow: 0 14px 44px #0003; }
.settings-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; border-bottom: 1px solid var(--border); background: #191d24; }
.settings-heading h2 { margin: 0; font-size: 18px; }
.settings-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.permission-list { display: grid; }
.permission-list .admin-app-row { min-height: 76px; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; padding: 12px 20px; border: 0; border-bottom: 1px solid #252a33; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
.permission-list .admin-app-row:last-child { border-bottom: 0; }
.permission-list .admin-app-row:hover { border-color: #252a33; background: #ffffff04; box-shadow: none; transform: none; }
.permission-list .app-summary { gap: 13px; }
.permission-list .admin-app-row .app-summary img { width: 42px; height: 42px; border-radius: 10px; }
.permission-list .app-summary h2 { font-size: 15px; }
.permission-list .app-summary p { margin-top: 3px; font-size: 12px; }
.release-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 7px; color: #7f8794; font-size: 11px; font-weight: 650; }
.permission-list .admin-app-row.version-row { grid-template-columns: minmax(250px, 1fr) minmax(330px, .9fr); }
.version-status-grid { display: grid; grid-template-columns: repeat(3, minmax(96px, 1fr)); align-items: center; }
.version-status-grid > div { display: grid; gap: 4px; min-width: 0; padding: 2px 14px; border-left: 1px solid #2c323d; }
.version-status-grid span { color: #7f8794; font-size: 10px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; }
.version-status-grid strong { overflow: hidden; color: #e8ebf1; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.version-status-grid .draft-status { color: #ffb147; }
.version-status-grid .muted-status { color: #8b929e; }
.release-status { color: #aeb5c0; }
.release-status.live { color: #4dd493; }
.dev-state { color: #7894c9; }
.dev-state.changed { color: #ffad42; }
.release-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.release-action { min-height: 36px; padding: 8px 12px; border: 1px solid #353b47; border-radius: 9px; background: #20242c; color: #d8dde5; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; white-space: nowrap; }
.release-action.primary { border-color: #49638f; background: #26334d; color: #a9c3ff; }
.release-action:hover { border-color: #6985ba; color: #fff; }
.release-action:disabled { cursor: wait; opacity: .55; }
.settings-panel .form-message { margin: 10px 22px 0; }
.settings-panel .composer-list { margin: 0; }
.settings-panel .composer-row { padding: 15px 22px; border: 0; border-top: 1px solid #252a33; border-radius: 0; background: transparent; }
.settings-panel .empty-state { margin: 0; padding: 20px 22px; }
.access-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.access-heading h2 { margin: 0; font-size: 30px; }
.invite-form { display: flex; gap: 9px; }
.invite-form input { width: min(330px, 50vw); min-height: 44px; padding: 0 13px; border: 1px solid #414856; border-radius: 9px; background: #12151a; color: #fff; font: inherit; }
.invite-form button, .composer-row button { border: 0; border-radius: 9px; padding: 10px 14px; background: #f2f3f5; color: #111318; font: inherit; font-weight: 750; cursor: pointer; }
.form-message { min-height: 20px; color: var(--muted); font-size: 13px; }
.magic-link-form .form-message:empty { display: none; }
.composer-list { display: grid; gap: 9px; margin-top: 10px; }
.composer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.composer-row > div { display: flex; gap: 8px; align-items: center; }
.composer-row > div:first-child { display: grid; gap: 3px; }
.composer-row small, .empty-state { color: var(--muted); }
.composer-row button.secondary { background: #26334d; color: var(--blue); }
.composer-row button.quiet { color: #c2c8d2; background: #20242c; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; gap: 10px; list-style: none; cursor: pointer; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.account-popover { position: absolute; top: calc(100% + 12px); right: 0; width: max-content; min-width: 250px; max-width: min(360px, calc(100vw - 32px)); display: grid; gap: 3px; padding: 7px; border: 1px solid var(--border); border-radius: 12px; background: #171a20; box-shadow: 0 18px 50px #0008; }
.account-identity { margin: 2px 4px 5px; padding: 7px; color: #f4f5f7; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; border-bottom: 1px solid var(--border); }
.nav-links .account-popover a { padding: 10px 11px; color: #dce0e7; font-size: 13px; }
.nav-links .account-popover a:hover { background: #252a33; text-decoration: none; }
@media (max-width: 900px) { .site-nav { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; } .portal-progress { grid-column: 1 / -1; grid-row: 2; width: min(420px, 100%); margin: 0 auto; } .nav-links { grid-column: 2; } }
@media (max-width: 720px) { .site-nav { align-items: center; } .wordmark strong { display: none; } .nav-links { gap: 2px; } .nav-links a { padding: 8px; font-size: 13px; } .home-shell { padding-top: 66px; } .composer-login { grid-template-columns: 1fr; gap: 32px; } .route-grid, .sign-in-options, .environment-actions { grid-template-columns: 1fr; } .page-heading { align-items: flex-start; flex-direction: column; } .tool-card { grid-template-columns: auto 1fr; } .tool-card > b, .tool-card > .status-chip { grid-column: 2; } .environment-card.muted { align-items: flex-start; flex-direction: column; gap: 18px; } .admin-app-row { grid-template-columns: 1fr auto; } .admin-app-actions { grid-column: 1 / -1; align-items: stretch; } .admin-action { flex: 1; text-align: center; } }
@media (max-width: 720px) { .invite-heading { align-items: stretch; flex-direction: column; } .invite-form input { width: 100%; } .permission-list .app-summary > div > p { display: none; } .permission-list .admin-app-row { grid-template-columns: 1fr; } .release-actions { justify-content: flex-start; padding-left: 55px; } }
@media (max-width: 640px) { .permission-list .admin-app-row.version-row { grid-template-columns: 1fr; } .version-status-grid { margin-left: 55px; } }
@media (max-width: 480px) { .version-status-grid { grid-template-columns: 1fr; gap: 9px; margin-left: 55px; } .version-status-grid > div { padding-left: 0; border-left: 0; } }
