:root { color-scheme: light; font-family: "Segoe UI", system-ui, sans-serif; color: #17283d; background: #f2f5f8; }
* { box-sizing: border-box; }
body { margin: 0; }
header { padding: 44px max(24px, calc((100% - 1120px) / 2)); background: #11263c; color: #f8fafc; }
.product-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -.03em; color: #83e3d3; margin: 0 0 6px; }
.product-label { color: #c4d2e0; font-size: 11px; letter-spacing: .14em; }
.product-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.product-nav a, .product-nav button { display: inline-block; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; margin: 0; border: 1px solid #71869b; border-radius: 6px; color: #f8fafc; background: transparent; text-decoration: none; }
.product-nav button span { display: block; font-size: 11px; font-weight: 400; margin-top: 3px; }
.product-nav a:hover { background: #1b354f; }
.product-nav a[aria-current="page"] { background: #e2f2ed; color: #075e54; border-color: #83e3d3; }
main > .notice { background: #e2f2ed; color: #17283d; }
.product-nav a:focus-visible { outline: 3px solid #83e3d3; outline-offset: 3px; }
header .tagline { font-size: clamp(20px, 3vw, 28px); line-height: 1.35; margin: 24px 0 12px; color: #f8fafc; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; max-width: 860px; margin: 22px 0; }
header p { color: #d7e2ee; max-width: 850px; line-height: 1.7; }
.notice { border-left: 3px solid #83e3d3; padding: 10px 16px; background: #1b354f; line-height: 1.6; }
main { max-width: 1168px; padding: 24px; margin: auto; }
section { background: white; padding: 30px; border: 1px solid #dae2eb; border-radius: 12px; margin: 22px 0; box-shadow: 0 3px 12px #11263c05; overflow-wrap: anywhere; }
.step { font-size: 12px; letter-spacing: .13em; color: #067766; font-weight: 800; }
h2 { font-size: 25px; margin: 12px 0; }
p, li { line-height: 1.65; }
label { display: block; font-size: 14px; font-weight: 600; margin: 15px 0 7px; }
input, select, textarea { font: inherit; color: inherit; background: #fff; padding: 11px; border: 1px solid #9cadbe; border-radius: 6px; max-width: 100%; }
textarea { display: block; width: 100%; resize: vertical; line-height: 1.55; }
#spec { font-family: Consolas, monospace; font-size: 13px; background: #f8fafc; }
.controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 16px; }
.controls input, .controls select, #dataset, #jobs { width: 100%; margin-top: 6px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.6; }
.check input { flex: 0 0 auto; margin-top: 5px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }
button { cursor: pointer; border: 1px solid #067766; border-radius: 6px; background: #067766; color: #fff; font: inherit; font-weight: 600; padding: 12px 18px; margin-top: 10px; }
button.secondary { background: #fff; color: #075e54; }
nav button[aria-current="step"], button[aria-pressed="true"] { background: #075e54; color: #fff; }
.navigation-label { font-weight: 700; margin: 24px 0 8px; }
.workspace-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 12px 0 24px; }
.workspace-nav button { display: flex; align-items: center; gap: 16px; text-align: left; margin: 0; padding: 22px; min-height: 120px; border: 2px solid #9cadbe; border-radius: 12px; background: #fff; color: #355369; }
.workspace-nav button[aria-pressed="false"] { background: #fff; color: #355369; border-color: #9cadbe; }
.workspace-nav button[aria-pressed="true"] { background: #e2f2ed; color: #075e54; border-color: #067766; box-shadow: inset 0 4px #067766; }
.workspace-nav #nav-history[aria-pressed="true"] { background: #e9effb; color: #254b91; border-color: #4168af; box-shadow: inset 0 4px #4168af; }
.workspace-nav button:hover { border-color: #355369; }
.view-icon { flex: 0 0 36px; width: 36px; height: 36px; }
.view-copy { display: grid; gap: 6px; flex: 1; }
.view-copy strong { font-size: 19px; }
.view-copy > span { font-size: 13px; font-weight: 400; line-height: 1.5; }
.view-state { font-size: 12px; font-weight: 700; }
.view-state::after { content: "Open"; }
[aria-pressed="true"] > .view-state::after { content: "Selected"; }
#choose-existing[aria-pressed="false"], #choose-new[aria-pressed="false"] { background: #fff; color: #075e54; }
@media (max-width: 700px) { .workspace-nav { grid-template-columns: 1fr; } .workspace-nav button { min-height: 100px; padding: 18px; } }
.workflow-steps { padding: 8px 16px; background: #e7eef4; border-radius: 8px; }
.workflow-steps[hidden] { display: none; }
.workflow-steps button { border-radius: 24px; font-size: 14px; padding: 8px 16px; margin-top: 0; }
button:disabled { opacity: .48; cursor: not-allowed; }
input:disabled, textarea:disabled { opacity: .55; cursor: not-allowed; background: #e5e7eb; color: #4b5563; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #3697eb; outline-offset: 3px; }
.help-field { min-width: 0; }
.field-heading, .method-choice, .check-help { display: flex; align-items: center; gap: 8px; }
.field-heading label { margin-bottom: 7px; }
.check-help label { flex: 1; }
.help-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; height: 22px; padding: 0; margin: 0; border-radius: 50%; border: 1px solid #607c90; color: #355369; background: #f2f7fa; font: 600 13px Georgia, serif; cursor: help; vertical-align: middle; }
.help-button:hover, .help-button:focus-visible { background: #dcefe9; color: #075e54; border-color: #067766; }
.help-tooltip { position: fixed; z-index: 1000; width: max-content; max-width: min(340px, calc(100vw - 16px)); max-height: calc(100vh - 16px); overflow: auto; padding: 12px 15px; border: 1px solid #37536a; border-radius: 8px; background: #11263c; color: #f8fafc; box-shadow: 0 4px 16px #11263c30; font-size: 13px; font-weight: 400; line-height: 1.6; overflow-wrap: anywhere; }
.help-tooltip[hidden] { display: none; }
.run-progress { display: flex; align-items: center; gap: 12px; padding: 14px; margin-top: 16px; background: #e2f2ed; border: 1px solid #8fc9ba; border-radius: 6px; line-height: 1.6; }
.run-progress[hidden] { display: none; }
.spinner { flex: 0 0 22px; width: 22px; height: 22px; border: 3px solid #b5d8ce; border-top-color: #067766; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.hint, footer { font-size: 13px; color: #53667c; }
#status { padding: 12px 16px; border-radius: 6px; background: #e2f2ed; white-space: pre-wrap; overflow-wrap: anywhere; }
#status.error { background: #fff0ed; color: #9c2c14; border: 1px solid #e8ab9d; }
.table-wrap { overflow: auto; max-height: 420px; margin: 15px 0; }
table { border-collapse: collapse; font-size: 13px; min-width: 100%; }
th, td { padding: 9px 13px; text-align: left; border: 1px solid #d5dfe9; white-space: nowrap; }
th { background: #e9f1f5; position: sticky; top: 0; }
fieldset { margin-top: 20px; border: 1px solid #d5dfe9; border-radius: 6px; }
#methods { display: flex; flex-wrap: wrap; gap: 10px 24px; }
#methods label { display: flex; gap: 8px; margin: 12px 0; }
pre { background: #f5f7fa; border: 1px solid #d5dfe9; border-radius: 6px; padding: 18px; overflow: auto; font-size: 13px; line-height: 1.65; max-height: 400px; }
.report { overflow-x: auto; overflow-wrap: anywhere; padding: 18px; border: 1px solid #d5dfe9; border-radius: 6px; }
.report h1 { font-size: 30px; }
.report h2 { margin-top: 30px; border-bottom: 1px solid #d5dfe9; padding-bottom: 8px; }
.report th { position: static; }
.report th, .report td { white-space: normal; min-width: 100px; }
.report table { margin: 18px 0; }
.report img { display: block; max-width: 100%; height: auto; margin: 20px 0; }
.report blockquote { margin: 16px 0; padding: 8px 18px; border-left: 4px solid #067766; background: #e2f2ed; }
.report code { background: #f2f5f8; padding: 2px 4px; border-radius: 3px; }
details summary { cursor: pointer; padding: 10px 0; }
footer { max-width: 1120px; padding: 0 24px 36px; margin: auto; line-height: 1.7; }
a { color: #07695e; }
.button-link { display: inline-block; padding: 12px 18px; border-radius: 6px; background: #067766; color: #fff; font-weight: 600; text-decoration: none; }
.button-link:hover { background: #075e54; }
.button-link:focus-visible { outline: 3px solid #3697eb; outline-offset: 3px; }
.docs-layout { max-width: 1540px; display: grid; grid-template-columns: 235px minmax(0, 1fr) 190px; gap: 28px; align-items: start; }
.docs-reading { min-width: 0; }
.docs-sidebar, .docs-toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; font-size: 14px; }
.docs-sidebar details { border: 1px solid #dae2eb; border-radius: 8px; background: #fff; padding: 14px; }
.docs-sidebar summary { font-weight: 700; }
.docs-nav-group h2, .docs-toc h2 { font-size: 13px; letter-spacing: .03em; color: #53667c; margin: 22px 0 8px; }
.docs-sidebar ul, .docs-toc ul { list-style: none; padding: 0; margin: 0; }
.docs-sidebar li, .docs-toc li { line-height: 1.4; margin: 3px 0; }
.docs-sidebar a, .docs-toc a { display: block; padding: 7px 9px; border-radius: 5px; text-decoration: none; }
.docs-sidebar a:hover, .docs-toc a:hover { background: #e7eef4; }
.docs-sidebar a[aria-current="page"] { color: #075e54; background: #e2f2ed; font-weight: 700; border-left: 3px solid #067766; }
.docs-toc .toc-level-3 { padding-left: 12px; }
.docs-breadcrumb { font-size: 13px; color: #53667c; margin: 8px 0 16px; }
.docs-article { background: #fff; padding: clamp(20px, 3vw, 40px); line-height: 1.7; }
.docs-article h2, .docs-article h3 { scroll-margin-top: 24px; }
.docs-article h2:first-child { margin-top: 0; }
.docs-article pre { max-height: none; }
.docs-pagination { display: flex; justify-content: space-between; gap: 16px; margin: 24px 0; }
.docs-pagination a { flex: 1; padding: 16px; border: 1px solid #dae2eb; border-radius: 8px; background: #fff; text-decoration: none; }
.docs-pagination a[rel="next"] { text-align: right; }
.docs-pagination span { display: block; font-size: 12px; color: #53667c; margin-bottom: 6px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 1100; background: #fff; padding: 12px; }
.skip-link:focus { top: 16px; }
.docs-layout a:focus-visible { outline: 3px solid #3697eb; outline-offset: 2px; }
@media (max-width: 1150px) { .docs-layout { grid-template-columns: 220px minmax(0, 1fr); } .docs-toc { position: static; grid-column: 2; grid-row: 1; max-height: none; } .docs-reading { grid-column: 2; } .docs-sidebar { grid-column: 1; grid-row: 1 / span 2; } }
@media (max-width: 760px) { .docs-layout { display: flex; flex-direction: column; gap: 16px; } .docs-sidebar, .docs-reading, .docs-toc { width: 100%; position: static; max-height: none; } .docs-toc { order: 0; } .docs-reading { order: 1; } .docs-toc nav { padding: 0 14px; } .docs-toc ul { max-height: 180px; overflow-y: auto; } .docs-pagination { flex-wrap: wrap; } }
@media (max-width: 600px) { main { padding: 12px; } section { padding: 20px; } .controls { grid-template-columns: 1fr; } }
