.experiments-heading { padding: clamp(18px, 2.7vw, 31px); margin-bottom: 16px; border: 1px solid var(--premium-edge); border-radius: var(--radius-card); background: radial-gradient(ellipse at 100% 100%, var(--premium-glow), transparent 65%), linear-gradient(125deg, var(--hero-start), var(--hero-end)); box-shadow: var(--shadow-feature); }
.experiments-heading h2 { margin-top: 7px; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.1; letter-spacing: -.05em; }
.experiments-heading > p:last-child { max-width: 65ch; margin-top: 9px; color: var(--body-text); font-size: 14px; line-height: 1.55; }
.experiment-workspace { min-width: 0; }
.exp-context, .exp-toolbar, .exp-journal-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 17px; }
.exp-context { margin-bottom: 13px; }
.exp-context p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.exp-context .text-button { font-size: 12px; text-align: left; }
.exp-toolbar { margin-bottom: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.exp-toolbar > label { flex: 1 1 210px; max-width: 480px; }
.exp-tabs { margin-bottom: 10px; scroll-margin-top: var(--app-scroll-offset); }
.store-shell .exp-tabs { scroll-margin-top: calc(var(--app-header-height) + 12px); }
.exp-tabs button { min-height: 40px; padding: 7px 15px; border: 0; border-radius: var(--radius-control); color: var(--body-text); background: transparent; font-size: 13px; font-weight: 720; }
.exp-tabs button[aria-pressed="true"] { color: var(--accent-dark); background: var(--mid-accent); }
.exp-tabs button:hover { background: var(--soft-accent); }
.exp-status { min-height: 18px; margin-bottom: 10px; }
.exp-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(230px, .8fr); align-items: start; gap: 15px; }
.exp-form { display: grid; align-content: start; gap: 14px; }
.exp-form h3, .exp-guide h3, .exp-empty h3, .exp-reading h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.035em; }
.exp-field { display: grid; gap: 6px; min-width: 0; color: var(--body-text); font-size: 13px; line-height: 1.4; font-weight: 680; }
.exp-field :is(input, textarea) { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid var(--input-line); border-radius: var(--radius-control); color: var(--ink); background: var(--input-bg); font-family: inherit; font-size: 14px; font-weight: 520; font-variant-numeric: tabular-nums; line-height: 1.45; }
.exp-field textarea { resize: vertical; }
.exp-field input:read-only { color: var(--muted); background: var(--soft-accent); }
.exp-field select { font-size: 13px; }
.exp-field input:invalid:not(:placeholder-shown):focus { border-color: var(--error-text); }
.exp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.exp-group { padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.exp-group legend { padding-inline: 5px; font-size: 13px; font-weight: 760; color: var(--accent-dark); }
.exp-group > .hint { margin-top: 9px; }
.exp-form > .primary-button { justify-content: center; }
.exp-form details .hint { margin-top: 10px; }
.exp-guide { background: linear-gradient(145deg, var(--panel-soft), var(--surface)); }
.exp-guide ol { display: grid; gap: 15px; padding-left: 20px; margin-block: 16px 20px; color: var(--body-text); font-size: 13px; line-height: 1.55; }
.exp-guide li { padding-left: 3px; }
.exp-guide li::marker { color: var(--accent-dark); font-weight: 800; }
.exp-model-note { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft-accent); }
.exp-model-note strong { font-size: 13px; }
.exp-model-note p { margin-top: 7px; font-size: 12px; line-height: 1.5; color: var(--body-text); }
.exp-guide > .hint { margin-top: 12px; }
.exp-empty p { max-width: 55ch; margin-block: 10px 14px; color: var(--body-text); font-size: 14px; line-height: 1.5; }
.exp-progress { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .42fr); align-items: center; gap: 17px; background: linear-gradient(125deg, var(--panel-soft), var(--soft-accent)); border-color: var(--premium-edge); }
.exp-progress h3 { margin-top: 5px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.16; letter-spacing: -.04em; overflow-wrap: anywhere; }
.exp-progress-meter strong { font-size: 14px; }
.exp-progress progress { appearance: none; display: block; width: 100%; height: 8px; margin-top: 9px; border: 0; border-radius: 99px; accent-color: var(--accent); background: var(--mid-accent); }
.exp-progress progress::-webkit-progress-bar { border-radius: 99px; background: var(--mid-accent); }
.exp-progress progress::-webkit-progress-value { border-radius: 99px; background: var(--accent); }
.exp-progress progress::-moz-progress-bar { border-radius: 99px; background: var(--accent); }
.exp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 12px; margin-block: 14px; }
.exp-arm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.exp-arm h3 { font-size: 20px; letter-spacing: -.03em; }
.exp-arm:nth-child(2) { border-color: var(--premium-edge); background: linear-gradient(145deg, var(--panel-soft), var(--surface)); }
.exp-arm > .hint { min-height: 38px; overflow-wrap: anywhere; }
.exp-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.exp-metrics > div { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 11px 9px; border: 1px solid var(--line); border-radius: var(--radius-control); background: var(--panel-soft); }
.exp-metrics dt { color: var(--muted); font-size: 11px; line-height: 1.4; }
.exp-metrics dd { margin-top: 5px; font-size: clamp(15px, 1.8vw, 23px); font-weight: 770; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.exp-reading { margin-top: 15px; }
.exp-reading ul { display: grid; gap: 8px; padding-left: 19px; margin-block: 14px; color: var(--body-text); font-size: 13px; line-height: 1.55; }
.exp-timeline { margin-top: 15px; }
.exp-timeline table { min-width: 490px; }
.exp-timeline th:first-child { width: auto; }
.exp-notes { margin-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.exp-form fieldset[data-exp-learning-fields] { display: grid; gap: 13px; }
.exp-form fieldset:disabled { opacity: .55; }
.exp-form fieldset:disabled button { cursor: default; }
.exp-observations { display: grid; gap: 9px; margin: 0; padding-left: 19px; color: var(--body-text); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.exp-observations:empty { display: none; }
.exp-journal-heading { align-items: flex-end; margin-bottom: 15px; }
.exp-journal-heading h3 { font-size: 24px; letter-spacing: -.035em; }
.exp-journal-heading .exp-field { min-width: 170px; }
.exp-journal { display: grid; gap: 14px; }
.exp-journal-card { display: grid; gap: 10px; overflow-wrap: anywhere; }
.exp-journal-card h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.exp-journal-card > p:not(.eyebrow) { color: var(--body-text); font-size: 13px; line-height: 1.55; }
.exp-journal-card > strong { font-size: 14px; color: var(--accent-dark); }
.exp-journal-card .exp-actions { margin: 1px 0 0; }
@media (max-width: 1000px) { .exp-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 510px) {
  .exp-arm-grid, .exp-fields { grid-template-columns: minmax(0, 1fr); }
  .exp-progress { grid-template-columns: minmax(0, 1fr); }
  .exp-field :is(input, textarea) { font-size: 16px; }
  .exp-tabs button { padding-inline: 11px; font-size: 12px; }
  .exp-toolbar .chip { min-height: 40px; }
  .exp-journal-heading .exp-field { width: 100%; }
}

.exp-access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 18px; }
.exp-access-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.exp-access-grid h3 { font-size: clamp(22px, 2.4vw, 29px); letter-spacing: -.035em; line-height: 1.14; }
.exp-access-grid p, .exp-access-grid li { color: var(--body-text); font-size: 13px; line-height: 1.55; }
.exp-access-grid ul { display: grid; gap: 8px; padding-left: 17px; }
.exp-access-grid .primary-button { margin-top: auto; }
.exp-premium-card { border-color: var(--premium-edge); background: radial-gradient(ellipse at 100% 100%, var(--premium-glow), transparent 70%), linear-gradient(125deg, var(--hero-start), var(--hero-end)); box-shadow: var(--shadow-feature); }
.exp-access-tag { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid var(--accent-edge); border-radius: 99px; background: var(--soft-accent); color: var(--accent-dark); font-size: 11px; font-weight: 750; }
.exp-design-locked { max-height: 330px; overflow: hidden; opacity: .5; filter: blur(1.5px); mask-image: linear-gradient(#000 40%, transparent); user-select: none; pointer-events: none; }
@media (max-width: 760px) { .exp-access-grid { grid-template-columns: minmax(0, 1fr); } }
