@font-face{font-family:Inter;src:url('/static/fonts/inter-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
@font-face{font-family:Newsreader;src:url('/static/fonts/newsreader-regular.ttf') format('truetype');font-weight:400;font-display:swap}

body.screen-workspace,
body.playground-page {
  --bg:#fafbf8;
  --panel:#fff;
  --ink:#17191b;
  --muted:#5f675f;
  --line:#e6e9e2;
  --accent:#2f3a32;
  --sage:#eef2ea;
  --sky:#edf3f7;
  --workspace-serif:Newsreader,Georgia,serif;
  background:var(--bg);
  font-family:Inter,Arial,sans-serif;
}

.workspace-hero {
  border-radius:18px;
  background:
    linear-gradient(90deg,#173644e8,#244658be 55%,#294e5a80),
    #365f72 url('/static/landing-meadow.webp') center 83% / cover no-repeat;
  color:#fff;
  box-shadow:0 12px 30px #2b49431a;
}

.screen-workspace .brand,
.playground-page .brand {
  font:400 29px/1 var(--workspace-serif);
  letter-spacing:-.045em;
}

.screen-workspace .brand-dot,
.playground-page .brand-dot {display:none}
.screen-workspace .nav a.active,
.playground-page .nav a.active,
.playground-page .nav a:hover {background:var(--sage);color:var(--accent);border-radius:8px}
.screen-workspace .new-badge,
.playground-page .new-badge {background:var(--sage);color:#3a523a;border-color:#cddcc6}
.screen-workspace .pricing-link {border-radius:99px}
.screen-workspace .account-upgrade strong,
.playground-page .account-upgrade strong {color:#fff}

/* Search workspace */
.playground-page .search-library,
.playground-page .history-rail {background:#f5f6f2;border-color:var(--line)}
.playground-page .playground-toolbar {border-bottom:1px solid var(--line);background:var(--panel)}
.playground-page:not(.has-run) .search-conversation {overflow-y:auto}
.playground-page:not(.has-run) .answer-viewport {margin-top:clamp(14px,4vh,40px)}
.playground-page .search-welcome {
  padding:clamp(24px,4vw,46px);
  margin-bottom:16px;
  animation:none;
}
.playground-page .search-welcome h2,
.screen-workspace .screen-heading h1 {
  font:400 clamp(35px,4vw,60px)/1.05 var(--workspace-serif);
  color:#fff;
  letter-spacing:-.04em;
  margin:0 0 8px;
}
.playground-page .search-welcome h2::after {content:none}
.playground-page .search-welcome .welcome-subtitle {color:#fff;font:13px/1.6 Inter,Arial,sans-serif}
.playground-page:not(.has-run) .composer {border-radius:18px;border-color:#dce3d9;box-shadow:0 10px 30px #253d2410!important}
.playground-page .run,
.screen-workspace .run-btn {background:var(--accent);color:#fff;border-radius:99px}
.playground-page .run:hover:not(:disabled),
.screen-workspace .run-btn:hover:not(:disabled) {background:#405849}
.playground-page:not(.has-run) .composer-hint,
.playground-page .composer-help .mode-guide>summary {color:var(--muted)}
.playground-page.has-run .composer-hint {display:block}
.playground-page .welcome-suggestion {
  min-height:86px;
  background:#f4f7f0;
  border-color:#e1e8dd;
  font-family:Inter,Arial,sans-serif;
}
.playground-page .welcome-suggestion:nth-child(2) {background:var(--sky);border-color:#dfe8ed}
.playground-page .welcome-suggestion::before {content:none}
.playground-page .welcome-suggestion small {color:var(--muted)}
.playground-page .sidebar-backdrop {background:#20342c66}
.playground-page .answer-card .answer-lead {font-family:var(--workspace-serif)}

/* Screen workspace */
.screen-workspace .screen-page,
.screen-workspace .footer {max-width:1280px}
.screen-workspace .screen-page {padding:24px clamp(16px,4vw,48px) 56px}
.screen-workspace .screen-heading {padding:clamp(22px,4.4vw,52px);margin-bottom:20px}
.screen-heading p {margin:0;color:#fff;max-width:48ch}
.screen-workspace .screen-doc-link {
  display:inline-block;
  border-color:#ffffffa0;
  border-radius:99px;
  background:#17364485;
  color:#fff;
}
.screen-workspace .screen-heading a:focus-visible {outline-color:#fff}
.screen-workspace .input-panel,
.screen-workspace .result-panel {box-shadow:0 3px 16px #1d2a1a08;border-radius:18px}
.screen-workspace .play-layout h2 {font:400 clamp(27px,3vw,36px)/1.1 var(--workspace-serif);letter-spacing:-.03em}
.screen-workspace .play-layout h2+p {margin:0}
.screen-workspace .samples {margin:16px 0}
.screen-workspace .samples button {border-radius:99px;background:var(--bg)}
.screen-workspace .samples button:hover {background:var(--sage);border-color:#b4c5af}
.screen-workspace textarea {min-height:170px;height:190px;font-family:ui-monospace,Consolas,monospace}
.screen-workspace .empty-result {background:linear-gradient(125deg,var(--sky),var(--sage));border:0;margin-top:18px}
.screen-workspace .empty-mark {color:#3b6155}
.screen-workspace .empty-result h3 {font:400 25px/1.15 var(--workspace-serif);letter-spacing:-.02em;text-transform:none}
.screen-workspace .screen-summary-option {display:flex;align-items:center;gap:9px;margin:14px 0}
.screen-workspace .screen-summary-option input {width:16px;height:16px;margin:0;accent-color:var(--accent)}
.screen-summary {background:var(--sage);border:1px solid #dce5d7;border-radius:12px;padding:16px;overflow-wrap:anywhere}
.result-panel .screen-summary h3 {margin:0 0 5px}
.screen-summary p {margin:0}
.screen-guide {margin-top:8px;padding-top:14px;border-top:1px solid var(--line)}
.screen-workspace .result-panel pre {font-family:ui-monospace,Consolas,monospace}

@media (max-width:1320px) {
  .screen-workspace .workspace-nav {gap:12px;padding-inline:18px;flex-wrap:wrap}
  .screen-workspace .workspace-nav .nav {width:100%;order:3;justify-content:flex-start;gap:18px;overflow-x:auto}
}

@media (max-width:1000px) {
  .screen-workspace .play-layout {grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:760px) {
  .screen-workspace .play-layout {grid-template-columns:1fr}
  .playground-page .search-welcome {margin-bottom:12px}
  .playground-page .search-welcome h2 {font-size:clamp(30px,7vw,42px)}
}

@media (max-width:600px) {
  .screen-workspace .screen-doc-link {margin-top:14px}
  .playground-page .composer-options {gap:7px}
  .playground-page .welcome-suggestion {min-height:68px}
  .playground-page .welcome-suggestion small {display:none}
}
