:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  color: #17191c;
  background: #f7f8fa;
  font-size: 14px;
  line-height: 1.5;
  --line: #e5e7eb;
  --muted: #737983;
  --ink: #17191c;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 1080px; background: #f7f8fa; }
button, textarea { font: inherit; }
button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 236px; flex: none; background: #fff; border-right: 1px solid var(--line); padding: 27px 16px 22px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px 41px; letter-spacing: -.02em; }
.brand-mark { width: 29px; height: 29px; border-radius: 8px; background: #15171a; color: #fff; display: grid; place-items: center; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; }
.brand small { font-size: 11px; color: #969ca4; }
.nav-list { display: grid; gap: 5px; }
.nav-item { border: 0; background: transparent; border-radius: 8px; text-align: left; padding: 11px 13px; color: #737983; font-size: 13px; display: flex; align-items: center; gap: 12px; }
.nav-item:hover, .nav-item.is-active { background: #f1f3f5; color: #181a1d; }
.nav-item.is-active { font-weight: 600; }
.nav-icon { width: 16px; text-align: center; color: #9aa0a7; font-size: 16px; }
.sidebar-footer { margin-top: auto; padding: 14px 12px 0; border-top: 1px solid #f0f1f2; color: #a1a6ad; font-size: 11px; }
.status-dot, .live-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #4f9f6b; margin-right: 6px; }
.main-content { width: calc(100% - 236px); padding: 52px 46px 46px; }
.page-header { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1440px; margin: 0 auto 34px; }
.eyebrow, .section-kicker { font-size: 10px; letter-spacing: .13em; color: #9a9fa6; font-weight: 700; margin: 0 0 7px; }
.page-header h1 { font-size: 30px; letter-spacing: -.04em; margin: 0 0 5px; }
.page-description { margin: 0; color: var(--muted); font-size: 13px; }
.header-meta { font-size: 11px; color: #9298a0; margin-top: 6px; }
.workspace-grid { display: grid; grid-template-columns: minmax(380px, .78fr) minmax(580px, 1.22fr); gap: 26px; max-width: 1440px; margin: auto; align-items: start; }
.panel, .ai-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.base-panel { padding: 25px; }
.panel-heading, .tab-caption { display: flex; align-items: flex-start; justify-content: space-between; }
.panel-heading h2, .tab-caption h2 { font-size: 17px; margin: 0; letter-spacing: -.02em; }
.model-badge { font-size: 10px; color: #7e858d; background: #f5f6f7; border-radius: 20px; padding: 5px 9px; }
.browser-mock { background: #15171a; border-radius: 9px; min-height: 238px; margin: 22px 0 14px; color: #d9dde2; overflow: hidden; }
.mock-topbar { height: 38px; border-bottom: 1px solid #30343a; padding: 0 13px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.mock-brand i { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: #eef0f2; vertical-align: -3px; margin-right: 5px; }
.mock-dots { color: #777e87; letter-spacing: 2px; }
.mock-conversation { padding: 30px 21px 22px; display: grid; gap: 20px; font-size: 12px; }
.mock-user { color: #9299a1; margin-left: 30px; }
.mock-assistant { display: flex; gap: 10px; line-height: 1.7; }
.assistant-mark { color: #fff; }
.mock-input { margin: 0 15px; padding: 11px 12px; border: 1px solid #3a3f46; border-radius: 6px; color: #777e87; font-size: 11px; display: flex; justify-content: space-between; }
.mock-input span { color: #e7e9eb; font-size: 15px; }
.secondary-button, .primary-button, .open-button { border-radius: 7px; padding: 10px 13px; font-size: 12px; }
.secondary-button { border: 1px solid var(--line); background: #fff; color: #3d4248; width: 100%; text-align: left; }
.secondary-button:hover, .open-button:hover { background: #f6f7f8; }
.secondary-button span { font-size: 16px; margin-right: 7px; }
.field-label { display: block; font-size: 12px; font-weight: 600; margin: 25px 0 8px; }
.prompt-input { width: 100%; height: 105px; resize: vertical; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-size: 12px; outline: none; color: var(--ink); }
.prompt-input:focus { border-color: #aebbd2; box-shadow: 0 0 0 3px #edf2fc; }
.prompt-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 11px; }
.hint { font-size: 10px; color: #a0a5ab; }
.primary-button { border: 1px solid #1b1d20; background: #1b1d20; color: #fff; white-space: nowrap; }
.primary-button:hover { background: #34373b; }
.primary-button span { margin-left: 8px; }
.action-message { height: 17px; margin: 9px 0 0; font-size: 11px; color: #3d7b55; }
.action-message.is-warning { color: #af6e27; }
.right-panel { min-width: 0; }
.tabs { border-bottom: 1px solid var(--line); display: flex; gap: 25px; align-items: center; }
.tab, .add-tab { border: 0; background: transparent; color: #979da5; font-size: 12px; padding: 0 0 13px; }
.tab.is-active { color: #17191c; font-weight: 600; border-bottom: 2px solid #17191c; }
.tab span { font-size: 10px; background: #eceef1; border-radius: 10px; padding: 2px 6px; margin-left: 4px; color: #878d95; }
.add-tab { font-size: 20px; margin-left: auto; line-height: 1; padding-bottom: 11px; }
.tab-caption { padding: 27px 0 19px; }
.tab-caption h2 { font-size: 18px; }
.tab-caption > span { font-size: 11px; color: #a0a5ab; padding-top: 4px; }
.ai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ai-grid.is-hidden, .is-hidden { display: none !important; }
.ai-card { min-height: 202px; padding: 20px; transition: box-shadow .2s; }
.ai-card:hover { box-shadow: 0 8px 20px #1c27310b; }
.card-header { display: flex; gap: 11px; align-items: center; }
.ai-logo { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 18px; font-weight: 700; }
.logo-chatgpt { background: #e7f3ed; color: #18794e; }
.logo-claude { background: #f6eee8; color: #bd7045; }
.logo-gemini { background: #e9effd; color: #4773db; }
.logo-perplexity { background: #e9f6f8; color: #168292; font-size: 16px; }
.card-header h3 { font-size: 14px; margin: 0 0 2px; }
.card-header p { font-size: 11px; color: #a0a5ab; margin: 0; }
.card-body { margin-top: 30px; }
.card-body p { font-size: 12px; color: #7b8189; margin: 0 0 17px; }
.open-button { border: 1px solid var(--line); background: #fff; color: #272a2e; width: 100%; text-align: left; }
.open-button span { float: right; color: #979da5; font-size: 15px; }
.card-tools { display: none; margin-left: auto; gap: 2px; }
.ai-card.is-open { grid-column: 1 / -1; min-height: 370px; }
.ai-card.is-open .card-body { display: none; }
.ai-card.is-open .card-tools { display: flex; }
.card-tools button { border: 0; background: transparent; color: #8e949b; font-size: 16px; padding: 2px 5px; }
.ai-card.is-open:after { content: "Web AI mock screen  •  This is a local preview"; display: grid; place-items: center; height: 250px; margin-top: 22px; border: 1px solid #30343a; border-radius: 8px; background: #15171a; color: #9da4ac; font-size: 12px; }
.ai-card.is-expanded { min-height: 550px; }
.ai-card.is-expanded:after { height: 425px; }
.ai-card.is-compact { min-height: 155px; padding: 15px; }
.add-card { border-style: dashed; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #a0a5ab; }
.add-card .add-symbol { font-size: 23px; color: #787f87; }
.add-card h3 { font-size: 13px; color: #5c6269; margin: 8px 0 3px; }
.add-card p { font-size: 11px; margin: 0; }
@media (max-width: 1180px) { .main-content { padding-left: 28px; padding-right: 28px; } .workspace-grid { grid-template-columns: 390px minmax(560px, 1fr); gap: 20px; } }
