Files
LLM-Labs/src/styles/globals.css
T
2026-04-27 14:50:55 -06:00

2859 lines
59 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
/* Base CSS Element Custom Styles */
h1 {
font-size: 2.25rem;
line-height: 2.5rem;
margin-bottom: 10px;
color: #004e78;
}
h2 {
font-size: 1.875rem;
line-height: 2.25rem;
margin-bottom: 10px;
color: #004e78;
}
h3 {
font-size: 1.5rem;
line-height: 2rem;
margin-bottom: 10px;
color: #004e78;
}
h4 {
font-size: 1.25rem;
line-height: 1.75rem;
margin-bottom: 10px;
color: #004e78;
}
h5 {
font-size: 1.125rem;
line-height: 1.75rem;
margin-bottom: 10px;
color: #004e78;
}
p {
font-size: 1rem;
line-height: 1.5rem;
margin-bottom: 5px;
}
ul {
list-style-type: disc;
margin-left: 20px;
}
ol {
list-style-type: number;
margin-left: 20px;
}
/* End Basic Customizations */
@layer base {
:root {
--background: none;
--foreground: 0 0% 3.9%;
--card: 0 0% 100%;
--card-foreground: 0 0% 3.9%;
--popover: 0 0% 100%;
--popover-foreground: 0 0% 3.9%;
/* #F89C27 / 34, 94%, 56% // #004E78 / 201 100% 24% */
--primary: 34, 94%, 56%;
--primary-foreground: 0 0% 98%;
--secondary: 201 100% 24%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 96.1%;
--muted-foreground: 0 0% 45.1%;
--accent: 0 0% 96.1%;
--accent-foreground: 0 0% 9%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;
--border: 34, 94%, 56%;
--input: 0 0% 89.8%;
--ring: 34, 94%, 56%;
/* Keeping original chart colors */
--chart-1: 12 76% 61%;
--chart-2: 173 58% 39%;
--chart-3: 197 37% 24%;
--chart-4: 43 74% 66%;
--chart-5: 27 87% 67%;
--radius: 0.5rem;
}
.dark {
--background: 0 0% 3.9%;
--foreground: 0 0% 98%;
--card: 0 0% 3.9%;
--card-foreground: 0 0% 98%;
--popover: 0 0% 3.9%;
--popover-foreground: 0 0% 98%;
--primary: 0 0% 98%;
--primary-foreground: 0 0% 9%;
--secondary: 0 0% 14.9%;
--secondary-foreground: 0 0% 98%;
--muted: 0 0% 14.9%;
--muted-foreground: 0 0% 63.9%;
--accent: 0 0% 14.9%;
--accent-foreground: 0 0% 98%;
--destructive: 0 62.8% 30.6%;
--destructive-foreground: 0 0% 98%;
--border: 0 0% 14.9%;
--input: 0 0% 14.9%;
--ring: 0 0% 83.1%;
/* Keeping original chart colors */
--chart-1: 220 70% 50%;
--chart-2: 160 60% 45%;
--chart-3: 30 80% 55%;
--chart-4: 280 65% 60%;
--chart-5: 340 75% 55%;
}
}
@layer base {
* {
border-color: #e2e8f0;
}
body {
background-color: #ffffff;
color: #0f172a;
}
}
/* Keyframes for landing page */
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeOut {
0% {
opacity: 1;
}
100% {
opacity: 0;
}
}
.blur {
background: radial-gradient(circle, transparent 100%, black);
mix-blend-mode: multiply;
}
.bg-fiber-carbon {
background:
radial-gradient(black 10%, transparent 1%) 0 0,
radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 10%) 8px 19px;
background-color: #ffff;
background-size: 36px 36px;
}
.progress {
animation: progress 1s infinite linear;
}
.left-right {
transform-origin: 0% 50%;
}
@keyframes progress {
0% {
transform: translateX(0) scaleX(0);
}
40% {
transform: translateX(0) scaleX(0.4);
}
100% {
transform: translateX(100%) scaleX(0.5);
}
}
.lab-content table {
width: 100%;
margin: 1rem 0;
border-collapse: collapse;
}
.lab-content th,
.lab-content td {
border: 1px solid #d1d5db;
padding: 0.55rem 0.7rem;
vertical-align: top;
}
.lab-content th {
background-color: #f3f4f6;
text-align: left;
}
.lab-content img {
cursor: zoom-in;
}
.lab-image-modal {
position: fixed;
inset: 0;
z-index: 90;
display: flex;
align-items: center;
justify-content: center;
padding: 1.25rem;
background: rgba(75, 85, 99, 0.82);
}
.lab-image-modal__surface {
max-width: 95vw;
max-height: 95vh;
}
.lab-image-modal__image {
display: block;
width: auto;
height: auto;
max-width: 95vw;
max-height: 95vh;
border-radius: 10px;
box-shadow: 0 18px 56px rgba(17, 24, 39, 0.5);
}
.lab-content .lab-callout {
margin: 1rem 0;
padding: 0.75rem 1rem;
border-left: 4px solid;
border-radius: 0.25rem;
}
.lab-content .lab-callout--warning {
border-left-color: #dc2626;
background-color: #fef2f2;
}
.lab-content .lab-callout--info {
border-left-color: #2563eb;
background-color: #eff6ff;
}
.lab-content .lab-callout--checkpoint {
border-left-color: #15803d;
background-color: #f0fdf4;
}
.lab-content pre.lab-cli-shell {
position: relative;
margin: 1rem 0;
padding: 0.9rem 1rem 0.85rem;
border: 1px solid #c8d9e8;
border-left: 5px solid #004e78;
border-radius: 10px;
background: #f4f9ff;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
overflow: hidden;
}
.lab-content pre.lab-cli-shell::before {
content: "CLI";
position: absolute;
top: 0.42rem;
left: 0.7rem;
font-size: 0.66rem;
font-weight: 700;
letter-spacing: 0.08em;
color: #4a6477;
}
.lab-content pre.lab-cli-shell code {
display: block;
margin-top: 1.1rem;
overflow-x: auto;
overflow-y: hidden;
font-size: 0.9rem;
line-height: 1.38;
}
.lab-content pre.lab-cli-shell .lab-copy-button {
position: absolute;
top: 0.36rem;
right: 0.4rem;
z-index: 1;
border: 1px solid #c3d4e5;
border-radius: 8px;
background: #ffffff;
color: #294e69;
font-size: 0.74rem;
font-weight: 600;
line-height: 1;
padding: 0.34rem 0.56rem;
cursor: pointer;
}
.lab-content pre.lab-cli-shell .lab-copy-button:hover {
background: #eef5fb;
}
.lab-content pre.lab-cli-shell .lab-copy-button.is-copied {
border-color: #88c09e;
color: #0f5d33;
background: #eaf8ef;
}
.lab-content pre.lab-prompt-card {
position: relative;
margin: 1rem 0;
padding: 0.92rem 1rem 0.92rem;
border: 1px solid #d7c7a7;
border-left: 5px solid #b77400;
border-radius: 10px;
background: #fffaf2;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
overflow: hidden;
}
.lab-content pre.lab-prompt-card::before {
content: "Card Description";
position: absolute;
top: 0.42rem;
left: 0.7rem;
font-size: 0.66rem;
font-weight: 700;
letter-spacing: 0.08em;
color: #6c4a12;
}
.lab-content pre.lab-prompt-card code {
display: block;
margin-top: 1.15rem;
overflow-x: auto;
overflow-y: hidden;
font-size: 0.9rem;
line-height: 1.4;
white-space: pre-wrap;
}
.lab-content pre.lab-prompt-card .lab-copy-button {
position: absolute;
top: 0.34rem;
right: 0.4rem;
z-index: 1;
border: 1px solid #9b5a00;
border-radius: 999px;
background: linear-gradient(180deg, #ffd18d, #f3a743);
color: #3d2401;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.04em;
text-transform: uppercase;
line-height: 1;
padding: 0.36rem 0.62rem;
cursor: pointer;
box-shadow:
0 1px 0 rgba(255, 255, 255, 0.35),
0 1px 2px rgba(61, 36, 1, 0.18);
}
.lab-content pre.lab-prompt-card .lab-copy-button:hover {
background: linear-gradient(180deg, #ffdb9f, #f5b459);
}
.lab-content pre.lab-prompt-card .lab-copy-button.is-copied {
border-color: #4f8d5f;
color: #08361a;
background: linear-gradient(180deg, #c8f2d4, #9edcb3);
}
.lab-content ul.lab-settings-list {
list-style: none;
margin: 0.9rem 0 1.2rem;
margin-left: 0;
padding: 0.22rem 0;
border: 1px solid #ccdeec;
border-left: 5px solid #0b72ba;
border-radius: 12px;
background: linear-gradient(180deg, #f9fcff, #f4f9fe);
box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.lab-content ul.lab-settings-list > li.lab-settings-item {
margin: 0;
padding: 0.5rem 0.85rem;
border: none;
border-bottom: 1px dashed #d5e3ef;
border-radius: 0;
background: transparent;
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 0.75rem;
}
.lab-content ul.lab-settings-list > li.lab-settings-item:last-child {
border-bottom: none;
}
.lab-content ul.lab-settings-list .lab-setting-key {
font-weight: 600;
color: #0b4e77;
letter-spacing: 0.01em;
}
.lab-content ul.lab-settings-list .lab-setting-value {
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 0.86rem;
font-weight: 600;
color: #1f425f;
border: none;
border-radius: 0;
background: transparent;
padding: 0;
white-space: nowrap;
}
.lab-content .lab-harness-chooser {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.9rem;
margin: 1rem 0 1.35rem;
}
.lab-content .lab-harness-card {
display: flex;
flex-direction: column;
gap: 0.38rem;
min-height: 100%;
padding: 0.95rem 1rem;
border: 1px solid #d9e4ed;
border-radius: 16px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 253, 0.96)),
radial-gradient(circle at top right, rgba(248, 156, 39, 0.12), transparent 32%);
box-shadow: 0 12px 28px -28px rgba(15, 23, 42, 0.35);
color: #18384f;
text-decoration: none;
}
.lab-content button.lab-harness-card {
width: 100%;
cursor: pointer;
text-align: left;
font: inherit;
}
.lab-content a.lab-harness-card:hover,
.lab-content button.lab-harness-card:hover {
transform: translateY(-1px);
border-color: #f1bd70;
box-shadow: 0 20px 36px -30px rgba(15, 23, 42, 0.45);
}
.lab-content .lab-harness-card[aria-pressed="true"] {
border-color: #cf7a08;
background:
linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(255, 244, 227, 0.96)),
radial-gradient(circle at top right, rgba(248, 156, 39, 0.18), transparent 32%);
box-shadow: 0 20px 36px -30px rgba(114, 63, 8, 0.5);
}
.lab-content .lab-harness-card strong {
color: #0f3d58;
font-size: 1rem;
line-height: 1.35;
}
.lab-content .lab-harness-card span {
color: #486073;
font-size: 0.92rem;
}
.lab-content .lab-harness-card__tag {
display: inline-flex;
align-items: center;
width: fit-content;
border-radius: 999px;
padding: 0.22rem 0.58rem;
background: #e7f2fb;
color: #0f5c8b;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.lab-content .lab-harness-branch {
margin: 1rem 0 1.4rem;
padding: 1rem 1.1rem 1.1rem;
border: 1px solid #dce7f0;
border-left: 6px solid #0f5c8b;
border-radius: 16px;
background:
linear-gradient(180deg, rgba(250, 252, 254, 0.98), rgba(244, 249, 252, 0.95)),
radial-gradient(circle at top right, rgba(248, 156, 39, 0.08), transparent 26%);
scroll-margin-top: 1.5rem;
}
.lab-content .lab-harness-branch__eyebrow {
margin: 0 0 0.4rem;
color: #9a5f00;
font-size: 0.74rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.lab-content .lab-harness-branch > h3 {
margin: 0 0 0.45rem;
}
.lab-content .lab-harness-branch > p:last-child {
margin-bottom: 0;
}
.lab-content hr {
margin: 2rem 0 1.4rem;
border-color: #d7dee6;
}
.lab-content .objective-segment {
position: relative;
margin: 1.75rem 0;
}
.lab-content .objective-segment > :first-child {
margin-top: 0;
}
.lab-content .objective-segment > :last-child {
margin-bottom: 0;
}
.lab-content .objective-segment > h2 {
scroll-margin-top: 2rem;
}
.lab-content.objective-style-divider .objective-segment {
padding-top: 1.55rem;
}
.lab-content.objective-style-divider .objective-segment::before {
content: "";
position: absolute;
top: 0;
left: 0.5rem;
right: 0.5rem;
height: 1px;
background: linear-gradient(
90deg,
rgba(0, 78, 120, 0.08),
rgba(0, 78, 120, 0.45) 12%,
rgba(0, 78, 120, 0.45) 88%,
rgba(0, 78, 120, 0.08)
);
}
.lab-content.objective-style-cards .objective-segment {
margin: 1.5rem 0;
padding: 1rem 1.2rem 1.2rem;
border: 1px solid #d8e1ea;
border-left: 6px solid #f89c27;
border-radius: 12px;
background: #f9fbfd;
box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.lab-content.objective-style-cards .objective-segment > h2 {
margin-bottom: 0.75rem;
}
.lab-content.objective-style-rail .objective-segment {
margin: 1.8rem 0;
padding: 0.4rem 0 0.5rem 1.15rem;
border-left: 4px solid #004e78;
background: linear-gradient(
90deg,
rgba(0, 78, 120, 0.08),
rgba(0, 78, 120, 0)
);
}
.lab-content.objective-style-rail .objective-segment > h2 {
margin-bottom: 0.75rem;
}
.lab-content.objective-style-rail .objective-segment > h2::after {
content: "";
display: block;
width: 4.5rem;
height: 0.2rem;
margin-top: 0.45rem;
border-radius: 999px;
background-color: #f89c27;
}
.lab-content .lab-step-title {
margin-top: 1.2rem;
margin-bottom: 0.55rem;
line-height: 1.35;
color: #003f61;
letter-spacing: 0.01em;
}
.lab-content .lab-step-title + p,
.lab-content .lab-step-title + ul,
.lab-content .lab-step-title + ol,
.lab-content .lab-step-title + pre,
.lab-content .lab-step-title + blockquote,
.lab-content .lab-step-title + figure {
margin-top: 0.45rem;
}
.lab-content.step-style-underline .lab-step-title {
padding-bottom: 0.35rem;
border-bottom: 1px solid #d9e3ec;
}
.lab-content.step-style-underline .lab-step-title[data-step-mode="execute"] {
border-bottom-color: #f8cc8f;
}
.lab-content.step-style-underline .lab-step-title[data-step-mode="explore"] {
border-bottom-color: #9bc9ee;
}
.lab-content.step-style-underline .lab-step-title[data-step-mode="checkpoint"] {
border-bottom-color: #86d4a4;
}
.lab-content.step-style-pills .lab-step-title {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
padding: 0.42rem 0.8rem;
border-radius: 999px;
border: 1px solid #d8e2eb;
background: #f7fbff;
}
.lab-content.step-style-pills .lab-step-title::before {
content: attr(data-step-mode);
text-transform: capitalize;
font-size: 0.68rem;
font-weight: 700;
letter-spacing: 0.08em;
padding: 0.2rem 0.5rem;
border-radius: 999px;
color: #1a4f72;
background: #e2eef8;
}
.lab-content.step-style-pills .lab-step-title:not([data-step-mode])::before {
content: none;
}
.lab-content.step-style-pills
.lab-step-title[data-step-mode="execute"]::before {
color: #8a4d00;
background: #fee7c7;
}
.lab-content.step-style-pills
.lab-step-title[data-step-mode="explore"]::before {
color: #0f4970;
background: #d9ebfb;
}
.lab-content.step-style-pills
.lab-step-title[data-step-mode="checkpoint"]::before {
color: #0e5e35;
background: #d9f7e4;
}
.lab-content.step-style-blocks .lab-step-title {
padding: 0.7rem 0.9rem;
border: 1px solid #d8e2eb;
border-left: 5px solid #004e78;
border-radius: 10px;
background: #f9fbfd;
box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.lab-content.step-style-blocks .lab-step-title[data-step-mode="execute"] {
border-left-color: #cc7a00;
background: #fffbf5;
}
.lab-content.step-style-blocks .lab-step-title[data-step-mode="explore"] {
border-left-color: #0b72ba;
background: #f6fbff;
}
.lab-content.step-style-blocks .lab-step-title[data-step-mode="checkpoint"] {
border-left-color: #198754;
background: #f6fffa;
}
.lab-content .step-segment {
position: relative;
margin: 1rem 0 1.35rem;
}
.lab-content .step-segment > :first-child {
margin-top: 0;
}
.lab-content .step-segment > :last-child {
margin-bottom: 0;
}
.lab-content .step-segment[data-step-kind]::before {
display: inline-block;
font-size: 0.63rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
margin-bottom: 0.5rem;
}
.lab-content.breakout-style-panel .step-segment {
padding: 0.75rem 0.9rem 0.9rem;
border: 1px solid #dce7f1;
border-radius: 12px;
background: #f8fbfe;
}
.lab-content.breakout-style-panel .step-segment[data-step-kind="explanation"] {
border-left: 5px solid #2b7fbf;
background: #f5fafe;
}
.lab-content.breakout-style-panel .step-segment[data-step-kind="instruction"] {
border-left: 5px solid #d48806;
background: #fffaf2;
}
.lab-content.breakout-style-panel .step-segment[data-step-kind="mixed"] {
border-left: 5px solid #0e7490;
background: linear-gradient(90deg, #f6fbff, #fffbf5);
}
.lab-content.breakout-style-panel .step-segment[data-step-kind]::before {
color: #315168;
content: attr(data-step-kind);
}
.lab-content.breakout-style-workflow .step-segment {
padding: 0.45rem 0 0.65rem 1rem;
border-left: 2px dashed #c6d5e3;
}
.lab-content.breakout-style-workflow
.step-segment[data-step-kind="explanation"] {
border-left-color: #6da9d8;
}
.lab-content.breakout-style-workflow
.step-segment[data-step-kind="instruction"] {
border-left-color: #de9a2e;
}
.lab-content.breakout-style-workflow .step-segment[data-step-kind="mixed"] {
border-left-color: #4a95ab;
}
.lab-content.breakout-style-workflow .step-segment[data-step-kind]::before {
width: 1.2rem;
text-indent: -9999px;
overflow: hidden;
border-radius: 999px;
margin-left: -1.4rem;
margin-right: 0.35rem;
vertical-align: middle;
background: #6da9d8;
content: "";
}
.lab-content.breakout-style-workflow
.step-segment[data-step-kind="instruction"]::before {
background: #de9a2e;
}
.lab-content.breakout-style-workflow
.step-segment[data-step-kind="mixed"]::before {
background: #4a95ab;
}
.lab-content .explicit-command-block {
margin: 0.8rem 0;
}
.lab-content .explicit-command .cmd-pill {
display: block;
}
.lab-content.breakout-style-command-pills .step-segment {
padding: 0.3rem 0 0.45rem;
}
.lab-content.breakout-style-command-pills
.step-segment[data-step-kind="instruction"] {
border-left: 3px solid #f0b45f;
padding-left: 0.75rem;
}
.lab-content.breakout-style-command-pills
.step-segment[data-step-kind="explanation"] {
border-left: 3px solid #8dc1e7;
padding-left: 0.75rem;
}
.lab-content.breakout-style-command-pills
.step-segment[data-step-kind="mixed"] {
border-left: 3px solid #6db0bf;
padding-left: 0.75rem;
}
.lab-content.breakout-style-command-pills
.step-segment[data-step-kind]::before {
color: #4a6477;
content: attr(data-step-kind);
}
.lab-content.breakout-style-instruction-rails .step-segment {
padding: 0.3rem 0 0.45rem 0.9rem;
border-left: none;
overflow: clip;
}
.lab-content.breakout-style-instruction-rails .step-segment::after {
content: "";
position: absolute;
left: 0;
top: 0.45rem;
height: calc(100% - 1.05rem);
width: 4px;
border-radius: 999px;
background: #6db0bf;
}
.lab-content.breakout-style-instruction-rails
.step-segment[data-step-kind="instruction"]::after {
background: #f0b45f;
}
.lab-content.breakout-style-instruction-rails
.step-segment[data-step-kind="explanation"]::after {
background: #8dc1e7;
}
.lab-content.breakout-style-instruction-rails
.step-segment[data-step-kind]::before {
color: #4a6477;
content: attr(data-step-kind);
}
.lab-content.breakout-style-instruction-rails .lab-step-title {
font-size: 1.25rem;
line-height: 1.7rem;
}
.lab-content.breakout-style-command-pills p.explicit-instruction,
.lab-content.breakout-style-command-pills li.explicit-instruction {
border-radius: 999px;
border: 1px solid #f2d2a0;
background: #fff8ec;
padding: 0.22rem 0.68rem;
}
.lab-content.breakout-style-command-pills ol > li.explicit-instruction::marker,
.lab-content.breakout-style-command-pills ul > li.explicit-instruction::marker {
color: #a66300;
font-weight: 700;
}
.lab-content.breakout-style-command-pills .explicit-command-block {
padding: 0.25rem 0;
border: none;
background: transparent;
}
.lab-content.breakout-style-command-pills .explicit-command {
display: flex;
flex-wrap: wrap;
gap: 0.35rem;
white-space: normal;
background: transparent;
padding: 0;
}
.lab-content.breakout-style-command-pills .explicit-command .cmd-pill {
display: inline-flex;
align-items: center;
border-radius: 999px;
border: 1px solid #e5bf85;
background: #fff1d8;
padding: 0.2rem 0.58rem;
line-height: 1.25;
font-size: 0.86rem;
}
.lab-content ul.concept-pill-list {
list-style: none;
margin: 0.9rem 0 1.2rem;
margin-left: 0;
padding: 0;
display: grid;
gap: 0.6rem;
}
.lab-content ul.concept-pill-list > li {
display: grid;
grid-template-columns: max-content minmax(0, 1fr);
align-items: baseline;
column-gap: 0.7rem;
row-gap: 0.28rem;
margin: 0;
padding: 0.72rem 1rem;
border: 1px solid #d5e2ee;
border-radius: 999px;
background: linear-gradient(180deg, #f9fcff, #f4f9fe);
}
.lab-content ul.concept-pill-list > li > span:not(.concept-pill-label) {
line-height: 1.45;
}
.lab-content .concept-pill-label {
display: inline;
color: #0f4f76;
font-size: 0.86rem;
font-weight: 700;
letter-spacing: 0.01em;
text-transform: none;
line-height: 1.25;
}
.lab-content [data-quantization-explorer] {
margin: 1.25rem 0 1.5rem;
}
.lab-content [data-quantization-grid-explorer] {
margin: 1.25rem 0 1.5rem;
}
.lab-content [data-objective5-chat] {
margin: 1.25rem 0 1.5rem;
}
.lab-content [data-lab8-chat] {
margin: 1.25rem 0 1.5rem;
}
.lab-content [data-inference-settings-visualization] {
margin: 1.25rem 0 1.5rem;
}
.inference-settings-viz {
margin: 1.25rem 0 1.5rem;
border: 1px solid #d7e4ef;
border-radius: 16px;
background: linear-gradient(180deg, #fbfdff, #f4f9fd);
padding: 1rem;
}
.inference-settings-viz code {
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
}
.inference-settings-viz__header {
margin-bottom: 1rem;
}
.inference-settings-viz__eyebrow {
margin: 0;
color: #9a5f00;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.inference-settings-viz__header h3 {
margin: 0.1rem 0 0;
color: #0f3d58;
font-size: 1.2rem;
}
.inference-settings-viz__header p:not(.inference-settings-viz__eyebrow) {
margin: 0.55rem 0 0;
color: #334155;
}
.inference-settings-viz__grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.9rem;
align-items: start;
}
.inference-settings-viz__card {
display: flex;
flex-direction: column;
min-width: 0;
min-height: 100%;
border: 1px solid #dce6ee;
border-radius: 14px;
background: rgba(255, 255, 255, 0.92);
padding: 0.9rem;
}
.inference-settings-viz__card--wide {
grid-column: 1 / -1;
width: 100%;
}
.inference-settings-viz__card--wide > * {
width: 100%;
}
.inference-settings-viz__card-header h4 {
margin: 0;
color: #0f3d58;
font-size: 1.05rem;
line-height: 1.35;
}
.inference-settings-viz__card-header p {
margin: 0.35rem 0 0;
color: #475569;
font-size: 0.92rem;
line-height: 1.42;
}
.inference-settings-viz__sequence {
margin: 0.8rem 0;
padding: 0.7rem 0.75rem;
border: 1px solid #d6e2ed;
border-radius: 10px;
background: #f7fbff;
color: #12364e;
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 0.92rem;
line-height: 1.35;
min-height: 2.85rem;
}
.inference-settings-viz__control {
--slider-thumb-size: 1rem;
--slider-thumb-offset: calc(var(--slider-thumb-size) / 2);
display: block;
margin-bottom: 0.85rem;
}
.inference-settings-viz__control > span {
display: flex;
justify-content: space-between;
gap: 0.75rem;
color: #334155;
font-size: 0.86rem;
font-weight: 700;
}
.inference-settings-viz__control strong {
color: #0b72ba;
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
}
.inference-settings-viz__control input[type="range"] {
-webkit-appearance: none;
appearance: none;
display: block;
width: calc(100% - var(--slider-thumb-size));
margin-left: var(--slider-thumb-offset);
margin-right: var(--slider-thumb-offset);
margin-top: 0.55rem;
background: transparent;
}
.inference-settings-viz__control
input[type="range"]::-webkit-slider-runnable-track {
height: 0.68rem;
border-radius: 999px;
background: linear-gradient(180deg, #dbe7f2, #d4e1ec);
}
.inference-settings-viz__control input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: var(--slider-thumb-size);
height: var(--slider-thumb-size);
margin-top: calc((0.68rem - var(--slider-thumb-size)) / 2);
border: 1px solid #c8d6e3;
border-radius: 999px;
background: linear-gradient(180deg, #ffffff, #eef3f8);
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}
.inference-settings-viz__control input[type="range"]::-moz-range-track {
height: 0.68rem;
border: none;
border-radius: 999px;
background: linear-gradient(180deg, #dbe7f2, #d4e1ec);
}
.inference-settings-viz__control input[type="range"]::-moz-range-thumb {
width: var(--slider-thumb-size);
height: var(--slider-thumb-size);
border: 1px solid #c8d6e3;
border-radius: 999px;
background: linear-gradient(180deg, #ffffff, #eef3f8);
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}
.inference-settings-viz__nucleus-controls {
margin-bottom: 0.85rem;
}
.inference-settings-viz__nucleus-controls .inference-settings-viz__control {
margin-bottom: 0;
}
.inference-settings-viz__segmented {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0.25rem;
margin-bottom: 0.75rem;
padding: 0.2rem;
border: 1px solid #d6e2ed;
border-radius: 10px;
background: #f7fbff;
}
.inference-settings-viz__segmented button {
border: 1px solid transparent;
border-radius: 8px;
background: transparent;
color: #426075;
cursor: pointer;
font: inherit;
font-size: 0.84rem;
font-weight: 800;
line-height: 1;
padding: 0.5rem 0.55rem;
}
.inference-settings-viz__segmented button[aria-pressed="true"] {
border-color: #9cc5e5;
background: #ffffff;
color: #0f4f76;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.inference-settings-viz__threshold-panel {
margin-bottom: 0.95rem;
padding: 0.85rem;
border: 1px solid #d6e2ed;
border-radius: 12px;
background: #f7fbff;
}
.inference-settings-viz__threshold-header {
display: grid;
gap: 0.25rem;
margin-bottom: 0.75rem;
}
.inference-settings-viz__threshold-header strong {
color: #0f3d58;
font-size: 0.92rem;
}
.inference-settings-viz__threshold-header span {
color: #475569;
font-size: 0.86rem;
line-height: 1.4;
}
.inference-settings-viz__formula-row {
display: grid;
grid-template-columns: max-content max-content max-content minmax(0, 1fr);
align-items: center;
gap: 0.45rem 0.6rem;
margin-bottom: 0.75rem;
color: #64748b;
font-size: 0.8rem;
font-weight: 700;
}
.inference-settings-viz__formula-row code {
color: #0f4f76;
font-size: 0.8rem;
font-weight: 800;
}
.inference-settings-viz__cumulative-strip {
position: relative;
display: flex;
height: 2.35rem;
overflow: visible;
border: 1px solid #cbdbe8;
border-radius: 10px;
background: #e8f1f8;
}
.inference-settings-viz__cumulative-segment {
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
height: 100%;
overflow: hidden;
color: #ffffff;
font-size: 0.72rem;
font-weight: 800;
text-overflow: ellipsis;
white-space: nowrap;
}
.inference-settings-viz__cumulative-segment:first-child {
border-radius: 9px 0 0 9px;
}
.inference-settings-viz__cumulative-segment:nth-last-child(2) {
border-radius: 0 9px 9px 0;
}
.inference-settings-viz__cumulative-segment[data-included="false"] {
background: #cbd5e1 !important;
color: #475569;
}
.inference-settings-viz__threshold-marker {
position: absolute;
top: -0.42rem;
bottom: -0.42rem;
width: 2px;
transform: translateX(-1px);
background: #be123c;
color: #be123c;
}
.inference-settings-viz__threshold-marker {
font-size: 0;
}
.inference-settings-viz__threshold-marker::after {
content: "P threshold";
position: absolute;
left: 50%;
bottom: calc(100% + 0.18rem);
transform: translateX(-50%);
border: 1px solid #fecdd3;
border-radius: 999px;
background: #fff1f2;
color: #9f1239;
font-size: 0.66rem;
font-weight: 800;
line-height: 1;
padding: 0.2rem 0.34rem;
white-space: nowrap;
}
.inference-settings-viz__threshold-note {
margin: 0.7rem 0 0;
color: #475569;
font-size: 0.84rem;
line-height: 1.42;
}
.inference-settings-viz__threshold-note strong {
color: #0f3d58;
}
.inference-settings-viz__minp-bars {
display: grid;
gap: 0.45rem;
}
.inference-settings-viz__minp-row {
display: grid;
grid-template-columns: 4.35rem minmax(0, 1fr) 3.8rem;
align-items: center;
gap: 0.45rem;
}
.inference-settings-viz__minp-row > span {
overflow: hidden;
color: #334155;
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 0.78rem;
font-weight: 700;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
.inference-settings-viz__minp-row > code {
color: #334155;
font-size: 0.72rem;
font-weight: 800;
}
.inference-settings-viz__minp-track {
position: relative;
height: 1.1rem;
border: 1px solid #d8e3ed;
border-radius: 999px;
background: #edf4fa;
}
.inference-settings-viz__minp-fill {
height: 100%;
border-radius: 999px;
}
.inference-settings-viz__minp-marker {
position: absolute;
top: -0.28rem;
bottom: -0.28rem;
width: 2px;
transform: translateX(-1px);
background: #be123c;
}
.inference-settings-viz__minp-row[data-included="false"]
.inference-settings-viz__minp-fill {
opacity: 0.24;
}
.inference-settings-viz__minp-row[data-included="false"] > span,
.inference-settings-viz__minp-row[data-included="false"] > code {
color: #94a3b8;
}
.inference-settings-viz__bars {
display: grid;
gap: 0.42rem;
}
.inference-settings-viz__row {
display: grid;
grid-template-columns: 4.35rem minmax(0, 1fr) 4.45rem;
align-items: center;
gap: 0.45rem;
}
.inference-settings-viz__token {
overflow: hidden;
color: #334155;
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 0.78rem;
font-weight: 700;
text-align: right;
text-overflow: ellipsis;
white-space: nowrap;
}
.inference-settings-viz__bar-track {
height: 1.4rem;
overflow: hidden;
border: 1px solid #d8e3ed;
border-radius: 6px;
background: #edf4fa;
}
.inference-settings-viz__bar-fill {
display: flex;
align-items: center;
justify-content: flex-end;
min-width: 0;
height: 100%;
border-radius: 5px;
color: #ffffff;
transition:
opacity 0.18s ease,
width 0.24s ease;
}
.inference-settings-viz__bar-fill span {
padding: 0 0.36rem;
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
font-size: 0.68rem;
font-weight: 800;
}
.inference-settings-viz__row[data-included="false"]
.inference-settings-viz__bar-fill {
opacity: 0.22;
}
.inference-settings-viz__row[data-included="false"]
.inference-settings-viz__token {
color: #94a3b8;
}
.inference-settings-viz__row-state {
color: #64748b;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.inference-settings-viz__row[data-included="true"]
.inference-settings-viz__row-state {
color: #0f766e;
}
.inference-settings-viz__actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.45rem;
margin-top: 0.9rem;
}
.inference-settings-viz__actions button {
border: 1px solid #bad5e8;
border-radius: 8px;
background: #ffffff;
color: #0f4f76;
cursor: pointer;
font: inherit;
font-size: 0.82rem;
font-weight: 800;
line-height: 1;
padding: 0.55rem 0.7rem;
}
.inference-settings-viz__actions button:first-child {
border-color: #0b72ba;
background: #0b72ba;
color: #ffffff;
}
.inference-settings-viz__actions button:hover {
border-color: #0f4f76;
}
.inference-settings-viz__actions span {
color: #64748b;
font-size: 0.78rem;
font-weight: 700;
}
.quantization-explorer {
border: 1px solid #d7e4ef;
border-radius: 16px;
background: linear-gradient(180deg, #fbfdff, #f4f9fd);
padding: 1rem;
}
.quantization-explorer h3 {
margin: 0.1rem 0 0;
color: #0f3d58;
font-size: 1.2rem;
}
.quantization-explorer code {
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
}
.quantization-explorer__header {
margin-bottom: 0.9rem;
}
.quantization-explorer__eyebrow {
margin: 0;
color: #9a5f00;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.quantization-explorer__lede {
margin: 0.55rem 0 0;
color: #334155;
}
.quantization-explorer__controls {
margin-top: 0.95rem;
}
.quantization-explorer__slider-card,
.quantization-explorer__focus-card,
.quantization-grid-explorer__slider-card,
.quantization-grid-explorer__cell {
border: 1px solid #dce6ee;
border-radius: 14px;
background: rgba(255, 255, 255, 0.92);
}
.quantization-explorer__slider-card,
.quantization-grid-explorer__slider-card {
--slider-thumb-size: 1.1rem;
--slider-thumb-offset: calc(var(--slider-thumb-size) / 2);
padding: 0.85rem 0.95rem;
}
.quantization-explorer__slider-label,
.quantization-grid-explorer__slider-label {
display: block;
color: #334155;
font-weight: 600;
}
.quantization-explorer__slider-card input[type="range"],
.quantization-grid-explorer__slider-card input[type="range"] {
-webkit-appearance: none;
appearance: none;
display: block;
width: calc(100% - var(--slider-thumb-size));
margin-left: var(--slider-thumb-offset);
margin-right: var(--slider-thumb-offset);
margin-top: 0.75rem;
background: transparent;
}
.quantization-explorer__slider-card
input[type="range"]::-webkit-slider-runnable-track,
.quantization-grid-explorer__slider-card
input[type="range"]::-webkit-slider-runnable-track {
height: 0.72rem;
border-radius: 999px;
background: linear-gradient(180deg, #dbe7f2, #d4e1ec);
}
.quantization-explorer__slider-card input[type="range"]::-webkit-slider-thumb,
.quantization-grid-explorer__slider-card
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: var(--slider-thumb-size);
height: var(--slider-thumb-size);
margin-top: calc((0.72rem - var(--slider-thumb-size)) / 2);
border: 1px solid #c8d6e3;
border-radius: 999px;
background: linear-gradient(180deg, #ffffff, #eef3f8);
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}
.quantization-explorer__slider-card input[type="range"]::-moz-range-track,
.quantization-grid-explorer__slider-card input[type="range"]::-moz-range-track {
height: 0.72rem;
border: none;
border-radius: 999px;
background: linear-gradient(180deg, #dbe7f2, #d4e1ec);
}
.quantization-explorer__slider-card input[type="range"]::-moz-range-thumb,
.quantization-grid-explorer__slider-card input[type="range"]::-moz-range-thumb {
width: var(--slider-thumb-size);
height: var(--slider-thumb-size);
border: 1px solid #c8d6e3;
border-radius: 999px;
background: linear-gradient(180deg, #ffffff, #eef3f8);
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.18);
}
.quantization-explorer__tick-row,
.quantization-grid-explorer__tick-row {
position: relative;
height: 1.35rem;
margin-top: 0.3rem;
width: calc(100% - var(--slider-thumb-size));
margin-left: var(--slider-thumb-offset);
margin-right: var(--slider-thumb-offset);
color: #64748b;
font-size: 0.78rem;
font-weight: 600;
}
.quantization-explorer__tick-row span,
.quantization-grid-explorer__tick-row span {
position: absolute;
top: 0;
transform: translateX(-50%);
}
.quantization-explorer__tick-row span:nth-child(1),
.quantization-grid-explorer__tick-row span:nth-child(1) {
left: 0%;
transform: translateX(0);
}
.quantization-explorer__tick-row span:nth-child(2),
.quantization-grid-explorer__tick-row span:nth-child(2) {
left: 25%;
}
.quantization-explorer__tick-row span:nth-child(3),
.quantization-grid-explorer__tick-row span:nth-child(3) {
left: 50%;
}
.quantization-explorer__tick-row span:nth-child(4),
.quantization-grid-explorer__tick-row span:nth-child(4) {
left: 75%;
}
.quantization-explorer__tick-row span:nth-child(5),
.quantization-grid-explorer__tick-row span:nth-child(5) {
left: 100%;
transform: translateX(-100%);
}
.quantization-explorer__focus-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.75rem;
margin-top: 0.95rem;
}
.quantization-explorer__focus-grid--four {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.quantization-explorer__focus-card {
padding: 0.85rem;
}
.quantization-explorer__focus-label {
display: block;
margin-bottom: 0.45rem;
color: #64748b;
font-size: 0.78rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.quantization-explorer__focus-value {
color: #0f3d58;
font-size: 1rem;
}
.quantization-explorer__helper {
margin: 0.95rem 0 0;
color: #334155;
}
.quantization-explorer__formula {
margin-top: 0.85rem;
padding: 0.8rem 0.9rem;
border: 1px solid #dce6ee;
border-radius: 14px;
background: rgba(255, 255, 255, 0.92);
}
.quantization-explorer__formula-label {
display: block;
margin-bottom: 0.35rem;
color: #64748b;
font-size: 0.76rem;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.quantization-explorer__formula code {
color: #0f3d58;
font-size: 0.95rem;
font-weight: 700;
}
.quantization-grid-explorer {
border: 1px solid #d7e4ef;
border-radius: 16px;
background: linear-gradient(180deg, #fbfdff, #f4f9fd);
padding: 1rem;
}
.quantization-grid-explorer h3 {
margin: 0.1rem 0 0;
color: #0f3d58;
font-size: 1.2rem;
}
.quantization-grid-explorer code {
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
}
.quantization-grid-explorer__header {
margin-bottom: 0.9rem;
}
.quantization-grid-explorer__eyebrow {
margin: 0;
color: #9a5f00;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.quantization-grid-explorer__lede {
margin: 0.55rem 0 0;
color: #334155;
}
.quantization-grid-explorer__helper {
margin: 0.95rem 0 0;
color: #334155;
}
.quantization-grid-explorer__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.75rem;
margin-top: 0.95rem;
}
.quantization-grid-explorer__cell {
padding: 0.8rem;
text-align: center;
}
.quantization-grid-explorer__cell-label {
display: block;
margin-bottom: 0.35rem;
color: #64748b;
font-size: 0.74rem;
font-weight: 800;
letter-spacing: 0.05em;
text-transform: uppercase;
}
.quantization-grid-explorer__cell-value {
display: block;
color: #0f3d58;
font-size: 1rem;
font-weight: 800;
word-break: break-word;
}
.quantization-grid-explorer__cell-caption {
display: block;
margin-top: 0.35rem;
color: #64748b;
font-size: 0.78rem;
}
.objective5-chat {
border: 1px solid #d7e4ef;
border-radius: 18px;
background:
radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 30%),
linear-gradient(180deg, #fbfdff, #f3f8fc);
padding: 1rem;
}
.objective5-chat h3 {
margin: 0.12rem 0 0;
color: #0f3d58;
font-size: 1.2rem;
}
.objective5-chat code,
.objective5-chat pre,
.objective5-chat input,
.objective5-chat textarea,
.objective5-chat select {
font-family:
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
"Courier New", monospace;
}
.objective5-chat__header {
margin-bottom: 0.9rem;
}
.objective5-chat__eyebrow {
margin: 0;
color: #9a5f00;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.objective5-chat__lede {
margin: 0.55rem 0 0;
color: #334155;
}
.objective5-chat__settings {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0.85rem;
}
.objective5-chat__field {
display: flex;
flex-direction: column;
gap: 0.42rem;
padding: 0.9rem;
border: 1px solid #dce6ee;
border-radius: 14px;
background: rgba(255, 255, 255, 0.94);
}
.objective5-chat__field span {
color: #334155;
font-size: 0.8rem;
font-weight: 700;
}
.objective5-chat__field input,
.objective5-chat__field select,
.objective5-chat__composer textarea {
width: 100%;
border: 1px solid #cbd9e5;
border-radius: 12px;
background: #f8fbfe;
color: #0f172a;
font-size: 0.95rem;
padding: 0.7rem 0.8rem;
}
.objective5-chat__field input:focus,
.objective5-chat__field select:focus,
.objective5-chat__composer textarea:focus {
outline: 2px solid rgba(37, 99, 235, 0.18);
outline-offset: 2px;
border-color: #8bb4db;
}
.objective5-chat__model-row {
display: flex;
gap: 0.6rem;
}
.objective5-chat__model-row select {
flex: 1 1 auto;
}
.objective5-chat__refresh-button {
flex: 0 0 auto;
border: 1px solid #cbd9e5;
border-radius: 12px;
background: linear-gradient(180deg, #ffffff, #eff5fb);
color: #18466a;
cursor: pointer;
font-size: 0.86rem;
font-weight: 700;
padding: 0.7rem 0.9rem;
}
.objective5-chat__refresh-button:disabled {
cursor: wait;
opacity: 0.75;
}
.objective5-chat__settings-note {
margin: 0.85rem 0 0;
color: #526173;
font-size: 0.92rem;
}
.objective5-chat__prompt-row {
display: flex;
flex-wrap: wrap;
gap: 0.6rem;
margin-top: 0.95rem;
}
.objective5-chat__prompt-chip {
border: 1px solid #d4dfea;
border-radius: 999px;
background: linear-gradient(180deg, #ffffff, #f3f8fd);
color: #18466a;
cursor: pointer;
font-size: 0.86rem;
font-weight: 600;
padding: 0.52rem 0.82rem;
transition:
transform 160ms ease,
border-color 160ms ease,
box-shadow 160ms ease;
}
.objective5-chat__prompt-chip:hover {
transform: translateY(-1px);
border-color: #b8cadc;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}
.objective5-chat__transcript {
display: flex;
flex-direction: column;
gap: 0.85rem;
min-height: 16rem;
margin-top: 1rem;
padding: 0.3rem;
}
.objective5-chat__empty,
.objective5-chat__message {
border: 1px solid #dce6ee;
border-radius: 16px;
background: rgba(255, 255, 255, 0.94);
padding: 0.9rem 0.95rem;
}
.objective5-chat__empty strong {
display: block;
color: #0f3d58;
}
.objective5-chat__empty p {
margin: 0.45rem 0 0;
color: #516273;
}
.objective5-chat__message--user {
background: linear-gradient(180deg, #fff9ee, #fffdf8);
border-color: #f0dfbb;
}
.objective5-chat__message-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
margin-bottom: 0.7rem;
color: #516273;
font-size: 0.8rem;
font-weight: 700;
}
.objective5-chat__message-meta code {
font-size: 0.76rem;
color: #0f4f76;
}
.objective5-chat__message-body {
margin: 0;
white-space: pre-wrap;
word-break: break-word;
color: #0f172a;
font-size: 0.93rem;
}
.objective5-chat__message-body code {
font-family: inherit;
}
.objective5-chat__svg-block {
display: grid;
gap: 0.8rem;
}
.objective5-chat__svg-preview {
width: 100%;
max-width: 26rem;
border: 1px solid #d7e4ef;
border-radius: 14px;
background:
linear-gradient(45deg, #f8fbff 25%, #eef4fa 25%, #eef4fa 50%, #f8fbff 50%, #f8fbff 75%, #eef4fa 75%, #eef4fa);
background-size: 18px 18px;
padding: 0.7rem;
}
.objective5-chat__svg-source summary {
cursor: pointer;
color: #18466a;
font-size: 0.88rem;
font-weight: 700;
}
.objective5-chat__svg-source pre {
overflow-x: auto;
margin: 0.6rem 0 0;
padding: 0.75rem;
border-radius: 12px;
background: #0f172a;
color: #dbeafe;
font-size: 0.8rem;
white-space: pre-wrap;
word-break: break-word;
}
.objective5-chat__metrics {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-top: 0.8rem;
}
.objective5-chat__metric-pill {
display: inline-flex;
align-items: center;
min-height: 2rem;
padding: 0.36rem 0.7rem;
border: 1px solid #d7e4ef;
border-radius: 999px;
background: linear-gradient(180deg, #f8fbfe, #eef5fb);
color: #18466a;
font-size: 0.8rem;
font-weight: 700;
}
.objective5-chat__message-warning,
.objective5-chat__error {
margin: 0.75rem 0 0;
color: #8a3b12;
font-size: 0.88rem;
font-weight: 600;
}
.objective5-chat__error--inline {
margin-top: 0.55rem;
}
.objective5-chat__composer {
display: flex;
flex-direction: column;
gap: 0.55rem;
margin-top: 1rem;
}
.objective5-chat__composer-label {
color: #334155;
font-size: 0.86rem;
font-weight: 700;
}
.objective5-chat__composer textarea {
min-height: 8.5rem;
resize: vertical;
}
.objective5-chat__composer-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-top: 0.2rem;
}
.objective5-chat__composer-state {
display: flex;
flex-direction: column;
gap: 0.18rem;
}
.objective5-chat__composer-state span {
color: #64748b;
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.03em;
text-transform: uppercase;
}
.objective5-chat__composer-state strong {
color: #0f3d58;
font-size: 0.92rem;
}
.objective5-chat__composer button {
border: 1px solid #c3d4e4;
border-radius: 999px;
background: linear-gradient(180deg, #0f4f76, #123c58);
color: #ffffff;
cursor: pointer;
font-size: 0.92rem;
font-weight: 700;
padding: 0.72rem 1.05rem;
}
.objective5-chat__composer button:disabled {
cursor: wait;
opacity: 0.72;
}
/* Lab 8 level selector tabs */
.lab8-level-tabs {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
margin: 0.75rem 0 0.25rem;
}
.lab8-level-tabs__left {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.lab8-level-tab {
appearance: none;
background: #f1f7fc;
border: 1px solid #d7e4ef;
border-radius: 10px;
color: #335a75;
cursor: pointer;
font-size: 0.82rem;
font-weight: 600;
padding: 0.45rem 0.85rem;
transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.lab8-level-tab:hover {
background: #e6f0f8;
border-color: #bdd6e8;
}
.lab8-level-tab--active {
background: #0f4f76;
border-color: #0f4f76;
color: #fff;
}
.lab8-level-tab--clear {
background: #fff0f0;
border-color: #efcfd0;
color: #8a2c2c;
margin-left: auto;
}
.lab8-level-tab--clear:hover {
background: #ffe0e0;
border-color: #d6a6a8;
}
.lab8-hint-row {
display: flex;
justify-content: flex-start;
margin: 0.25rem 0 0.5rem;
}
.lab8-hint-toggle {
appearance: none;
background: transparent;
border: 1px solid #c5d8e8;
border-radius: 8px;
color: #0f4f76;
cursor: pointer;
font-size: 0.78rem;
font-weight: 600;
padding: 0.35rem 0.75rem;
transition: background 0.15s ease, border-color 0.15s ease;
}
.lab8-hint-toggle:hover {
background: #f1f7fc;
border-color: #a6c5db;
}
.lab8-hint-panel {
background: #f8fbff;
border: 1px solid #d7e4ef;
border-radius: 12px;
margin: 0 0 0.75rem;
padding: 0.75rem 1rem;
}
.lab8-hint-panel pre {
margin: 0;
white-space: pre-wrap;
}
.lab8-hint-panel code {
background: transparent;
color: #334155;
font-size: 0.85rem;
line-height: 1.55;
}
.lab3-terminal-inline {
margin: 1.15rem 0 1.45rem;
padding: 1rem;
border: 1px solid #d7e4ef;
border-radius: 18px;
background:
linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(239, 246, 252, 0.9)),
radial-gradient(circle at top right, rgba(248, 156, 39, 0.14), transparent 34%);
box-shadow:
0 18px 36px rgba(15, 23, 42, 0.06),
inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.lab3-terminal-inline__eyebrow {
margin: 0;
color: #9a5f00;
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.lab3-terminal-inline__lede {
margin: 0.55rem 0 0;
color: #334155;
}
.lab3-terminal-inline__actions {
display: flex;
flex-wrap: wrap;
gap: 1rem;
margin-top: 1rem;
}
.lab3-terminal-inline__button,
.lab3-terminal-inline__link,
.lab3-terminal-dock__link {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 2.5rem;
border: 1px solid #cbd9e5;
border-radius: 999px;
background: linear-gradient(180deg, #ffffff, #eff5fb);
color: #18466a;
font-size: 0.88rem;
font-weight: 700;
padding: 0.72rem 1rem;
text-decoration: none;
white-space: nowrap;
}
.lab3-terminal-inline__button {
cursor: pointer;
}
.lab3-terminal-inline__button:hover,
.lab3-terminal-inline__link:hover,
.lab3-terminal-dock__link:hover {
background: linear-gradient(180deg, #ffffff, #e7f0f8);
}
.lab3-terminal-dock {
position: fixed;
left: 1rem;
right: 1rem;
bottom: 0;
z-index: 60;
pointer-events: none;
}
.lab3-terminal-dock__toggle,
.lab3-terminal-dock__panel {
pointer-events: auto;
}
.lab3-terminal-dock__toggle {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 0.8rem;
min-width: 14rem;
margin-left: auto;
padding: 0.78rem 1rem;
border: 1px solid #c8d9e8;
border-bottom: none;
border-radius: 18px 18px 0 0;
background: linear-gradient(180deg, rgba(15, 79, 118, 0.98), rgba(10, 47, 71, 0.98));
color: #ffffff;
cursor: pointer;
font-size: 0.95rem;
font-weight: 700;
box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.18);
}
.lab3-terminal-dock__toggle-icon {
font-size: 1.05rem;
line-height: 1;
}
.lab3-terminal-dock__panel {
overflow: hidden;
max-height: 70vh;
border: 1px solid #0f172a;
border-radius: 18px 0 0 0;
background:
linear-gradient(180deg, #101926, #05090f),
radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 35%);
box-shadow: 0 -18px 34px rgba(15, 23, 42, 0.28);
transform-origin: bottom;
transition:
max-height 220ms ease,
opacity 220ms ease,
transform 220ms ease;
}
.lab3-terminal-dock.is-closed .lab3-terminal-dock__panel {
max-height: 0;
opacity: 0;
transform: translateY(1rem);
border-top: none;
}
.lab3-terminal-dock.is-open .lab3-terminal-dock__panel {
opacity: 1;
transform: translateY(0);
}
.lab3-terminal-dock__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.85rem 1rem 0.7rem;
}
.lab3-terminal-dock__lede {
margin: 0;
color: #d5e5f2;
}
.lab3-terminal-dock__frame-shell {
margin: 0 1rem;
border: 1px solid #314252;
border-radius: 14px;
overflow: hidden;
}
.lab3-terminal-dock__frame {
display: block;
width: 100%;
height: 26rem;
border: 0;
background: #05090f;
}
.lab3-terminal-dock__status {
margin: 0;
padding: 0.75rem 1rem 0.9rem;
color: #c6d5e2;
font-size: 0.9rem;
}
.lab3-terminal-dock__status--warning {
color: #ffd6b3;
font-weight: 600;
}
@media (max-width: 640px) {
.lab-content.objective-style-cards .objective-segment {
padding: 0.9rem 1rem 1rem;
}
.lab-content.objective-style-rail .objective-segment {
padding-left: 0.85rem;
}
.lab-content.step-style-pills .lab-step-title {
border-radius: 12px;
padding: 0.45rem 0.65rem;
}
.lab-content.step-style-blocks .lab-step-title {
padding: 0.62rem 0.75rem;
}
.lab-content.breakout-style-panel .step-segment {
padding: 0.68rem 0.72rem 0.78rem;
}
.lab-content.breakout-style-workflow .step-segment,
.lab-content.breakout-style-command-pills .step-segment,
.lab-content.breakout-style-instruction-rails .step-segment {
padding-left: 0.6rem;
}
.lab-content ul.lab-settings-list > li.lab-settings-item {
grid-template-columns: 1fr;
gap: 0.28rem;
align-items: start;
padding: 0.52rem 0.75rem;
}
.lab-content .lab-harness-chooser {
grid-template-columns: 1fr;
}
.lab-content .lab-harness-card,
.lab-content .lab-harness-branch {
padding: 0.85rem 0.9rem;
}
.lab-content ul.lab-settings-list .lab-setting-value {
justify-self: start;
}
.lab-content ul.concept-pill-list > li {
grid-template-columns: 1fr;
row-gap: 0.3rem;
border-radius: 16px;
padding: 0.72rem 0.9rem;
}
.quantization-explorer__controls,
.quantization-explorer__focus-grid,
.quantization-explorer__focus-grid--four {
grid-template-columns: 1fr;
}
.quantization-grid-explorer__grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.inference-settings-viz {
padding: 0.9rem;
}
.inference-settings-viz__grid {
grid-template-columns: 1fr;
}
.inference-settings-viz__row {
grid-template-columns: 3.75rem minmax(0, 1fr);
}
.inference-settings-viz__row-state {
grid-column: 2;
margin-top: -0.22rem;
}
.objective5-chat__settings {
grid-template-columns: 1fr;
}
.objective5-chat__model-row {
flex-direction: column;
}
.objective5-chat__composer-actions,
.objective5-chat__message-meta,
.lab3-terminal-dock__header {
align-items: flex-start;
flex-direction: column;
}
.lab3-terminal-inline {
padding: 0.9rem;
}
.lab3-terminal-inline__button,
.lab3-terminal-inline__link,
.lab3-terminal-dock__link {
width: 100%;
}
.lab3-terminal-dock {
left: 0.5rem;
right: 0.5rem;
}
.lab3-terminal-dock__toggle {
min-width: 0;
width: 100%;
}
.lab3-terminal-dock__frame-shell {
margin: 0 0.75rem;
}
.lab3-terminal-dock__frame {
height: 18rem;
}
}
.lab-content [data-lab1-confidence],
.lab-content [data-lab1-netron-panel],
.lab-content [data-tokenizer-playground] {
display: block;
margin: 1.75rem 0;
}
.lab-content .lab-screenshot-placeholder {
margin: 1.25rem 0;
border: 1px dashed #b8c6d6;
border-radius: 1rem;
background:
linear-gradient(135deg, rgba(0, 78, 120, 0.04), rgba(248, 156, 39, 0.08));
padding: 1rem 1.1rem;
color: #345;
}
.lab-content .lab-screenshot-placeholder strong {
display: block;
margin-bottom: 0.35rem;
color: #004e78;
}
.lab1-netron-panel,
.lab-iframe-embed,
.lab1-confidence {
border: 1px solid #d7e2ee;
border-radius: 1.25rem;
background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
box-shadow: 0 18px 40px -34px rgba(0, 78, 120, 0.55);
padding: 1.35rem;
}
.lab1-netron-panel h3,
.lab-iframe-embed h3,
.lab1-confidence h3 {
margin: 0;
color: #12344d;
}
.lab1-netron-panel__eyebrow,
.lab-iframe-embed__eyebrow,
.lab1-confidence__eyebrow {
margin: 0 0 0.35rem;
color: #0f5c8b;
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.lab1-netron-panel__lede,
.lab-iframe-embed__lede,
.lab1-confidence__lede {
margin: 0.55rem 0 0;
color: #53687b;
}
.lab1-netron-panel__actions,
.lab-iframe-embed__actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.9rem;
margin-top: 1rem;
flex-wrap: wrap;
}
.lab1-netron-panel__primary,
.lab-iframe-embed__link,
.lab1-confidence__composer button,
.lab1-confidence__prompt-chip {
border-radius: 999px;
border: 1px solid #0f5c8b;
background: #0f5c8b;
color: #fff;
cursor: pointer;
font: inherit;
font-weight: 600;
padding: 0.68rem 1.05rem;
text-decoration: none;
transition:
transform 120ms ease,
box-shadow 120ms ease,
background-color 120ms ease;
}
.lab1-netron-panel__primary:hover,
.lab-iframe-embed__link:hover,
.lab1-confidence__composer button:hover,
.lab1-confidence__prompt-chip:hover {
transform: translateY(-1px);
box-shadow: 0 12px 28px -22px rgba(15, 92, 139, 0.85);
}
.lab-content a.lab-service-pill,
.lab-content a.lab-open-pill,
.lab-content a.lab-download-pill {
display: inline-flex;
align-items: center;
gap: 0.45rem;
margin: 0.1rem 0.15rem;
border-radius: 999px;
border: 1px solid #0f5c8b;
background: #0f5c8b;
color: #fff;
font-size: 0.88rem;
font-weight: 600;
line-height: 1.2;
padding: 0.48rem 0.9rem;
text-decoration: none;
vertical-align: middle;
transition:
transform 120ms ease,
box-shadow 120ms ease,
background-color 120ms ease;
}
.lab-content a.lab-service-pill::before,
.lab-content a.lab-open-pill::before,
.lab-content a.lab-download-pill::before {
content: "Open";
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 999px;
background: rgba(255, 255, 255, 0.14);
padding: 0.16rem 0.48rem;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.lab-content a.lab-download-pill::before {
content: "Download";
}
.lab-content a.lab-service-pill:hover,
.lab-content a.lab-open-pill:hover,
.lab-content a.lab-download-pill:hover {
transform: translateY(-1px);
box-shadow: 0 12px 28px -22px rgba(15, 92, 139, 0.85);
}
.lab1-netron-panel__note,
.lab-iframe-embed__status,
.lab-iframe-embed__fallback {
color: #63788d;
font-size: 0.92rem;
}
.lab-iframe-embed__frame-shell {
margin-top: 1rem;
overflow: hidden;
border: 1px solid #d7e2ee;
border-radius: 1rem;
background: #fff;
}
.lab-iframe-embed__frame {
display: block;
width: 100%;
min-height: 560px;
border: 0;
background: #f8fafc;
}
.lab1-confidence__header {
display: grid;
gap: 0.2rem;
}
.lab1-confidence__prompt-row {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
margin-top: 1rem;
}
.lab1-confidence__prompt-chip {
background: #f3f8fc;
border-color: #d1dfeb;
color: #0f5c8b;
}
.lab1-confidence__transcript {
display: grid;
gap: 1rem;
margin-top: 1rem;
}
.lab1-confidence__empty,
.lab1-confidence__message {
border: 1px solid #d7e2ee;
border-radius: 1rem;
background: #fff;
padding: 1rem;
}
.lab1-confidence__message--user {
background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.lab1-confidence__message-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
color: #456;
font-size: 0.92rem;
font-weight: 600;
}
.lab1-confidence__message-meta code {
color: #0f5c8b;
}
.lab1-confidence__message-body {
margin: 0.75rem 0 0;
white-space: pre-wrap;
}
.lab1-confidence__token-stream {
margin-top: 0.85rem;
padding: 0.9rem;
border-radius: 0.95rem;
background: #f8fbfd;
border: 1px solid #e0e8f0;
line-height: 2;
white-space: pre-wrap;
}
.lab1-confidence__token {
position: relative;
border-radius: 0.42rem;
cursor: help;
padding: 0.12rem 0.08rem;
transition: filter 120ms ease;
}
.lab1-confidence__token:hover,
.lab1-confidence__token[aria-describedby="lab1-confidence-tooltip"] {
filter: saturate(1.05);
}
.lab1-confidence__token:focus-visible {
outline: 2px solid rgba(15, 92, 139, 0.35);
outline-offset: 2px;
}
.lab1-confidence__token--very-high {
background: rgba(88, 185, 102, 0.3);
}
.lab1-confidence__token--high {
background: rgba(149, 209, 102, 0.26);
}
.lab1-confidence__token--medium {
background: rgba(242, 220, 96, 0.26);
}
.lab1-confidence__token--low {
background: rgba(246, 171, 82, 0.24);
}
.lab1-confidence__token--very-low {
background: rgba(233, 117, 89, 0.24);
}
.lab1-confidence__tooltip {
position: fixed;
z-index: 50;
display: block;
min-width: 180px;
max-width: min(260px, calc(100vw - 2rem));
border: 1px solid #d7e2ee;
border-radius: 0.85rem;
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 18px 38px -26px rgba(17, 44, 73, 0.7);
color: #24384c;
padding: 0.7rem 0.8rem;
pointer-events: none;
transform: translateX(-50%);
white-space: normal;
}
.lab1-confidence__tooltip--above {
transform: translate(-50%, -100%);
}
.lab1-confidence__tooltip strong {
display: block;
color: #0f5c8b;
}
.lab1-confidence__tooltip-list {
display: grid;
gap: 0.22rem;
margin-top: 0.35rem;
font-size: 0.88rem;
}
.lab1-confidence__composer {
display: grid;
gap: 0.7rem;
margin-top: 1rem;
}
.lab1-confidence__composer-label {
color: #12344d;
font-weight: 700;
}
.lab1-confidence__composer textarea {
width: 100%;
min-height: 110px;
border: 1px solid #cedbe8;
border-radius: 1rem;
padding: 0.95rem 1rem;
font: inherit;
resize: vertical;
}
.lab1-confidence__composer textarea:focus {
outline: 2px solid rgba(15, 92, 139, 0.18);
outline-offset: 1px;
}
.lab1-confidence__composer-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
flex-wrap: wrap;
}
.lab1-confidence__composer-state {
display: grid;
gap: 0.18rem;
}
.lab1-confidence__composer-state span {
color: #63788d;
font-size: 0.88rem;
}
.lab1-confidence__composer-state strong {
color: #12344d;
}
.lab1-confidence__message-warning,
.lab1-confidence__error {
color: #b54731;
}
@media (max-width: 768px) {
.lab-iframe-embed__actions,
.lab1-confidence__composer-actions,
.lab1-netron-panel__actions,
.lab1-confidence__message-meta {
align-items: stretch;
flex-direction: column;
}
.lab-iframe-embed__frame {
min-height: 440px;
}
}