@font-face {
  font-family: Vazirmatn;
  src: url("/learn/font.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --background: #f4f7f3;
  --white: #fff;
  --ink: #192b23;
  --muted: #536258;
  --line: #e0e8df;
  --green: #205641;
  --green-dark: #103c30;
  --tint: #e9f2e9;
  --danger: #963732;
  --nav-width: 224px;
  font-family: Vazirmatn, system-ui, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--background);
  line-height: 1.6;
}
:root[lang=en] { font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
[hidden], .sprite { display: none !important; }
body { margin: 0; min-width: 280px; }
body, h1, h2, h3, h4, p, ul, ol, fieldset { margin-block: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .53; }
input, select, textarea { min-width: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #549477;
  outline-offset: 3px;
}
a, button { -webkit-tap-highlight-color: transparent; }
svg:not(.sprite) { inline-size: 1.23rem; block-size: 1.23rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.forward { opacity: .65; }
:root[dir=rtl] .forward { transform: scaleX(-1); }
h1, h2, h3 { line-height: 1.42; }
h1 { font-size: clamp(1.85rem, 3vw, 2.55rem); font-weight: 800; letter-spacing: -.042em; }
h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.05rem; font-weight: 750; }
small { font-size: .83rem; }
p, h1, h2, h3, h4, pre, label { overflow-wrap: anywhere; }
.skip { position: fixed; z-index: 12; inset-block-start: .8rem; inset-inline-start: 1rem; transform: translateY(-150%); background: white; padding: .5rem 1rem; border-radius: .5rem; }
.skip:focus { transform: none; }
.sidebar {
  position: fixed; z-index: 5; inset-block: 0; inset-inline-start: 0; width: var(--nav-width);
  display: flex; flex-direction: column; padding: 24px 16px 15px; overflow: auto;
  background: #fcfdfb; border-inline-end: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; padding-inline: 8px; margin-bottom: 34px; width: fit-content; }
.brand img { border-radius: 13px; }
.brand > span { display: grid; justify-items: start; }
.brand-name { font: 820 1.48rem/.98 "Avenir Next", "Segoe UI", sans-serif; letter-spacing: -.055em; }
.brand-name span { color: #478767; }
.brand small { font-size: .72rem; color: var(--muted); margin-top: 4px; }
.button, .icon-button, .search-button {
  border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: .48rem;
  min-height: 43px; padding: .49rem .88rem; border-radius: 10px; background: transparent; text-align: center;
  font-size: .89rem; font-weight: 700; transition: background-color .16s, border-color .16s, color .16s;
}
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: #164633; }
.button-outline { border-color: var(--line); background: #fff; }
.button-outline:hover, .icon-button:hover, .button-quiet:hover { background: var(--tint); border-color: #d2e3d4; }
.button-quiet { color: var(--green-dark); }
.button-danger { color: var(--danger); }
.button-danger:hover { background: #fff1ee; border-color: #f2d4cf; }
.icon-button { min-width: 43px; padding: .47rem; }
.nav-create { margin: 0 3px 22px; justify-content: flex-start; padding-inline: 13px; }
.links { display: grid; gap: 3px; }
.links p { padding-inline: 11px; margin: 16px 0 4px; font-size: .77rem; color: #626f65; font-weight: 680; }
.links p:first-child { margin-top: 0; }
.links a {
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding-inline: 11px; border-radius: 9px;
  font-size: .91rem; font-weight: 650; color: #506057;
}
.links a:hover { background: #f1f5ef; color: var(--green-dark); }
.links a[aria-current=page] { background: #e7f0e7; color: #1c593f; font-weight: 800; }
.links a.nav-install { color: var(--green-dark); font-weight: 750; }
.links a svg { width: 19px; height: 19px; }
.side-foot { display: grid; margin-top: auto; padding-top: 26px; }
.profile { display: flex; gap: 9px; align-items: center; padding: 11px 4px 1px; border-top: 1px solid var(--line); }
.profile > span:nth-child(2) { display: grid; min-width: 0; flex: 1; }
.profile strong, .profile small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile strong { font-size: .87rem; }
.profile small { color: var(--muted); font-size: .73rem; }
.profile .forward { width: 16px; }
.avatar { width: 37px; height: 37px; border-radius: 50%; background: #e4eee2; color: var(--green-dark); display: grid; place-items: center; font-weight: 800; flex: none; }
.shell { margin-inline-start: var(--nav-width); min-width: 0; }
.topbar {
  height: 67px; padding-inline: clamp(18px, 3vw, 46px); display: flex; justify-content: space-between; align-items: center;
  gap: 12px; background: #fcfdfb; border-bottom: 1px solid var(--line);
}
.crumb, .top-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.crumb-parent, .crumb strong { font-size: .91rem; white-space: nowrap; }
.crumb-parent { color: var(--muted); }
.crumb > .forward { width: 14px; }
.search-button { border-color: var(--line); background: #f5f7f3; color: var(--muted); font-weight: 550; min-height: 37px; min-width: 145px; justify-content: flex-start; }
.search-button:hover { border-color: #9cbaa7; }
.search-button svg { width: 17px; }
kbd { margin-inline-start: auto; padding-inline: 4px; font: .73rem/1.45 system-ui,sans-serif; border: 1px solid #dce5dc; border-radius: 4px; color: #4e6052; }
.language { gap: 5px; font: 700 .78rem/1 system-ui,sans-serif; }
.language svg { width: 18px; }
.menu-toggle, .nav-backdrop, .mobile-brand { display: none; }
#workspace-main { max-width: 1520px; margin-inline: auto; padding: 26px clamp(18px,3vw,46px) 42px; }
#workspace-main:focus { outline: none; }
.page-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 18px; align-items: flex-end; margin-bottom: 20px; }
.page-intro > div:first-child { flex: 1 1 min(100%, 22rem); min-inline-size: 0; overflow-wrap: anywhere; }
.page-intro > .button { flex: none; min-block-size: 44px; max-inline-size: 100%; }
.page-intro p { color: var(--muted); margin-top: 3px; }
.intro-install { margin-block-start: 10px; }
.date-label { font-size: .86rem; font-weight: 650; color: #4e6557; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; align-self: center; }
.date-label svg { width: 16px; }
.hero { overflow: hidden; isolation: isolate; position: relative; min-height: 315px; border-radius: 21px; color: #f4fff6; background: #0c332a; display: flex; align-items: center; }
.hero-art { width: 54%; height: 110%; position: absolute; inset-block-start: -5%; inset-inline-end: -1%; z-index: -2; object-fit: cover; object-position: center; mask-image: linear-gradient(to right,transparent,#000 23%); }
:root[dir=rtl] .hero-art { mask-image: linear-gradient(to left,transparent,#000 23%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#0c332a 0%,#0c332a 43%,rgba(12,51,42,0) 65%); }
:root[dir=rtl] .hero::before { transform: scaleX(-1); }
.hero-body { padding: 25px clamp(20px, 3.4vw, 46px) 27px; width: 64%; }
.hero-label { display: inline-flex; gap: 6px; align-items: center; width: fit-content; font: 750 .74rem/1.2 system-ui,sans-serif; letter-spacing: .13em; color: #d9f8c8; padding: 5px 9px; border: 1px solid #a6cda45e; border-radius: 7px; direction: ltr; }
.hero-label svg { inline-size: 14px; block-size: 14px; }
.hero h2 { font-size: clamp(1.66rem,3.35vw,3.05rem); font-weight: 820; line-height: 1.35; letter-spacing: -.045em; margin: 9px 0 6px; }
.hero p { color: #c7e0d1; font-size: .94rem; }
.hero-composer { margin-block-start: 15px; }
.composer { display: flex; gap: .55rem; align-items: flex-end; border: 1px solid #dce6da; background: #fff; border-radius: 12px; padding: 5px 6px; }
.composer:focus-within { border-color: #80af91; outline: 2px solid #a5ceae; }
.composer textarea { flex: 1; margin: 0; min-width: 0; width: 100%; padding: .55rem .6rem; min-height: 38px; max-height: 120px; background: transparent; border: 0; resize: vertical; color: var(--ink); font-size: .93rem; }
.composer textarea:focus-visible { outline: none; }
.composer textarea::placeholder { color: #536c5e; }
.hero-composer .composer { background: #f6faf1; max-width: 495px; border-color: transparent; }
.hero-composer .send { background: #bfe5a7; color: #174632; }
.hero-composer .send:hover { background: #d5f1c0; }
.send { min-height: 38px; min-width: 40px; padding-inline: .5rem; border-radius: 8px; }
.section { margin-block-start: 24px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: .7rem; margin-bottom: 11px; }
.section-head .button { min-height: 36px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.quick-card { min-width: 0; min-height: 90px; display: flex; align-items: center; gap: 10px; text-align: start; padding: 13px 12px; border: 1px solid var(--line); background: #fcfdfb; border-radius: 13px; transition: border-color .15s, box-shadow .15s; }
.quick-card:hover, .example-card:hover { border-color: #a8c3ae; box-shadow: 0 4px 13px #153a2b0c; }
.quick-card > span:nth-child(2) { min-width: 0; display: grid; }
.quick-card strong { font-size: .91rem; }
.quick-card small { color: var(--muted); font-size: .77rem; line-height: 1.5; }
.quick-card .forward { margin-inline-start: auto; width: 15px; }
.mark { display: inline-grid; place-items: center; inline-size: 41px; block-size: 41px; border-radius: 11px; background: #e4efe3; color: #2f694d; flex: none; }
.mark.explore { background: #f4ead7; color: #7c5b24; }
.mark.build { background: #e5edf6; color: #3e5f88; }
.mark.lab { background: #eae5f6; color: #634d8b; }
.mark.large { inline-size: 50px; block-size: 50px; }
.home-bottom { display: grid; grid-template-columns: minmax(0,2.12fr) minmax(0,1fr); gap: 20px; align-items: start; }
.home-bottom .section { min-width: 0; }
.example-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.example-card, .card { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.card { padding: 16px; min-width: 0; }
.example-card { text-align: start; display: grid; align-content: start; justify-items: start; gap: 7px; min-height: 144px; padding: 13px; transition: border-color .15s, box-shadow .15s; }
.example-card .meta { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.example-card strong { font-size: 1rem; }
.example-card .button { padding: 0; min-height: 1.6rem; }
.example-card small, .muted { color: var(--muted); }
.example-card .mark { inline-size: 35px; block-size: 35px; }
.example-card .mark svg { inline-size: 17px; }
.pill { display: inline-flex; align-items: center; min-height: 24px; max-width: 100%; padding: 2px 8px; background: #edf2eb; color: #405747; border-radius: 6px; font-size: .75rem; font-weight: 680; width: fit-content; white-space: normal; }
.pill.green { background: #e4f1e4; color: #276444; }
.pill.warn { background: #f7edda; color: #715520; }
.suggestion { background: #edf3e8; border-color: #dce8d9; display: grid; gap: 7px; }
.suggestion .mark { background: #dceadb; }
.suggestion p { font-size: .87rem; color: #4a6253; }
.suggestion .button { justify-self: start; margin-top: 2px; }
.stack { display: grid; gap: 12px; }
.list-row { display: flex; align-items: center; gap: 11px; padding: 12px; min-width: 0; }
.list-row .row-copy { flex: 1; min-width: 0; }
.list-row .row-copy > strong { display: block; overflow-wrap: anywhere; }
.list-row h3 + p, .list-row strong + p, .card .muted { font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(245px,1fr); gap: 16px; align-items: start; }
.columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.empty { padding: clamp(18px,4vw,36px); min-height: 180px; display: grid; justify-items: start; align-content: center; gap: 8px; }
.empty .actions, .flow-actions { margin-top: .6rem; }
.progress { width: 100%; height: 6px; overflow: hidden; border: 0; border-radius: 10px; display: block; background: #e6eee6; color: #5d9b77; }
.progress::-webkit-progress-bar { background: #e6eee6; border-radius: 10px; }
.progress::-webkit-progress-value { background: #5d9b77; border-radius: 10px; }
.progress::-moz-progress-bar { background: #5d9b77; border-radius: 10px; }
.stage-list { padding: 0; list-style: none; display: grid; gap: 9px; }
.stage { display: flex; gap: .7rem; align-items: flex-start; }
.stage.active { border-color: #a6c5ac; }
.stage .row-copy { flex: 1; min-width: 0; }
.stage .mark { inline-size: 34px; block-size: 34px; }
.stage h3 { font-size: .96rem; }
.stage .stage-meta { margin-top: 3px; }
.goal-summary { display: grid; gap: 8px; padding: 17px; }
.goal-summary p { white-space: pre-wrap; }
.criteria { margin-block-start: 6px; padding-inline-start: 1.15rem; }
.criteria li { margin-bottom: 4px; }
.support-card h2 { margin-bottom: 6px; }
.evidence-item { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; }
.evidence-item p { white-space: pre-wrap; }
.evidence-item summary { cursor: pointer; overflow-wrap: anywhere; }
.pre, .response { white-space: pre-wrap; }
.response { padding: 14px; border-radius: 12px; background: #f0f5ee; color: var(--green-dark); overflow-wrap: anywhere; }
.soul-panel { max-width: 850px; }
.soul-panel > form, .soul-panel .field { display: grid; gap: 8px; }
.soul-panel textarea { min-height: 100px; }
.lab-result { padding-block-start: 16px; border-block-start: 1px solid var(--line); overflow-wrap: anywhere; }
.lab-result .button, .soul-panel form > .actions > .button { min-block-size: 44px; }
.lab-result:focus { outline: none; }
.soul-panel .composer .send { align-self: flex-end; }
.consent-line { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent-line input { margin-top: 5px; }
.soul-consent {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--background);
  color: var(--muted); font-size: .88rem; cursor: pointer;
}
.soul-consent input[type=checkbox] {
  flex: none; inline-size: 24px; block-size: 24px; margin: 1px 0 0;
  accent-color: var(--green-dark); cursor: pointer;
}
.soul-consent strong { display: block; color: var(--ink); margin-block-end: 2px; }
.soul-consent:has(input:checked) { border-color: var(--green); background: var(--tint); }
.filter { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.filter button[aria-pressed=true] { border-color: #b0cbb4; color: var(--green-dark); background: var(--tint); }
.notice { padding: 10px 13px; border: 1px solid #d8e4d7; border-radius: 9px; font-size: .89rem; background: #eff6ed; color: var(--green-dark); margin-bottom: 12px; }
.notice.error { border-color: #f2d3ca; background: #fff1eb; color: #78342e; }
.toast { position: fixed; z-index: 7; inset-inline-end: 22px; inset-block-end: 24px; max-width: min(430px, calc(100% - 44px)); border-radius: 12px; padding: 11px 16px; color: white; background: #153e31; box-shadow: 0 10px 35px #173e3130; }
.toast.error { background: #79352f; }
dialog { width: min(650px, calc(100% - 30px)); max-height: 88dvh; padding: 20px; border-radius: 18px; border: 1px solid var(--line); color: var(--ink); background: #fcfdfb; box-shadow: 0 22px 85px #142b2438; }
dialog::backdrop { background: #112e2690; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 9px; margin-bottom: 8px; }
.dialog-head .icon-button { min-height: 37px; min-width: 37px; }
.form-stack { display: grid; gap: 11px; }
.field { display: grid; gap: 4px; font-size: .88rem; font-weight: 690; }
.field small { font-weight: 500; }
input:not([type=range]):not([type=checkbox]):not([type=radio]), textarea, select {
  width: 100%; max-width: 100%; padding: 8px 10px; border: 1px solid #d8e4da; border-radius: 8px; background-color: #fff;
}
input[type=checkbox], input[type=radio], input[type=range] { accent-color: #287458; }
.composer textarea { background-color: transparent; border: 0; padding: .55rem .6rem; }
select { appearance: none; padding-inline-end: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233d604d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 9px center; }
:root[dir=rtl] select { background-position: left 9px center; }
textarea { resize: vertical; }
.stage-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) 95px; gap: 7px; }
.stage-edit { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.search-results { display: grid; gap: 4px; margin-top: 10px; }
.search-result { display: flex; gap: 8px; align-items: center; text-align: start; border: 0; border-radius: 8px; background: transparent; padding: 9px; }
.search-result:hover { background: var(--tint); }
.quiz-option { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.quiz-option:has(input:checked) { border-color: #92bb9d; background: #ecf5eb; }
.quiz-option.correct { background: #e3f2df; border-color: #83b98d; }
.quiz-option.wrong { background: #fff0ed; border-color: #e9b5a9; }
.item-head { align-items: start; }
.item-head .actions { justify-content: flex-end; }
.lab-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.lab-controls { display: grid; gap: 14px; }
.lab-row { display: grid; gap: 2px; }
.lab-row span { display: flex; justify-content: space-between; gap: 8px; color: var(--green-dark); }
.lab-row output { font-variant-numeric: tabular-nums; font-weight: 800; }
.lab-row input, .lab-row select { width: 100%; min-height: 44px; }
.lab-row span > * { min-inline-size: 0; }
.lab-grid > * { min-inline-size: 0; overflow-wrap: anywhere; }
.lab-output { position: relative; overflow: hidden; background: #e9f2e7; display: grid; align-items: center; gap: 8px; }
.readings { display: grid; grid-template-columns: repeat(auto-fit,minmax(106px,1fr)); gap: 9px; }
.reading { background: #ffffffaa; padding: 10px; border-radius: 9px; }
.reading strong { display: block; font-size: clamp(1.18rem,3vw,1.9rem); line-height: 1.2; color: var(--green-dark); }
.formula { color: var(--green-dark); font: 650 .98rem/1.5 ui-monospace,monospace; }
.studio-grid { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, .9fr); gap: 1px; background: #dce5dc; border: 1px solid #dce5dc; border-radius: 13px; overflow: hidden; }
.studio-grid > * { min-width: 0; background: #fff; }
.file-list { display: grid; align-content: start; gap: 2px; padding: 8px; }
.file-list .button { justify-content: flex-start; padding-inline: 7px; min-height: 36px; text-align: start; overflow-wrap: anywhere; }
.file-list [aria-pressed=true] { background: var(--tint); color: var(--green-dark); }
.studio-bar { padding: 8px 9px; min-height: 47px; display: flex; gap: 6px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.studio-bar .button { min-height: 32px; padding: 4px 6px; }
.editor textarea { background: #172b24; color: #e7f4e7; border: 0; border-radius: 0; margin: 0; font: .84rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre; overflow: auto; min-height: 340px; display: block; tab-size: 2; }
.preview iframe { width: 100%; height: 340px; border: 0; display: block; }
.snippet { max-height: 280px; white-space: pre; overflow: auto; font: .81rem/1.5 ui-monospace,monospace; padding: 8px; border-radius: 9px; background: #eef3ec; }
@media (max-width: 1160px) {
  :root { --nav-width: 194px; }
  .sidebar { padding-inline: 12px; }
  .quick-card { padding: 11px 8px; gap: 7px; }
  .quick-card .forward { display: none; }
}
@media (max-width: 930px) {
  .quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quick-card { min-height: 69px; padding: 10px; }
  .home-bottom { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .studio-grid { grid-template-columns: 125px minmax(0, 1fr); }
  .studio-grid .preview { grid-column: 1 / -1; }
}
@media (max-width: 740px) {
  .shell { margin: 0; }
  .sidebar { width: min(270px, 82vw); transform: translateX(var(--closed-sidebar-offset, -105%)); transition: transform .2s; visibility: hidden; }
  :root[dir=rtl] .sidebar { --closed-sidebar-offset: 105%; }
  body.nav-open .sidebar { transform: none; visibility: visible; }
  .menu-toggle { display: inline-flex; }
  .mobile-brand { display: block; border-radius: 9px; }
  .nav-backdrop { display: block; position: fixed; z-index: 4; inset: 0; width: 100%; border: 0; background: #122f277d; }
  .topbar { height: 59px; padding-inline: 12px; }
  .top-actions { gap: 4px; }
  .hero { min-height: 285px; }
  .hero-body { width: 69%; }
  #workspace-main { padding-top: 19px; }
  .two-col { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 490px) {
  .crumb-parent, .crumb > .forward { display: none; }
  .crumb { gap: 6px; }
  .crumb strong { overflow: hidden; text-overflow: ellipsis; }
  .search-button { min-width: 0; min-height: 40px; }
  .search-button span, kbd { display: none; }
  .page-intro { margin-bottom: 14px; align-items: flex-start; }
  .page-intro p { font-size: .9rem; }
  .date-label { font-size: .75rem; margin-top: 6px; }
  .date-label svg { display: none; }
  .hero { min-height: 263px; border-radius: 16px; }
  .hero-art { width: 73%; inset-inline-end: -22%; inset-block-start: -27%; opacity: .72; }
  .hero::before { background: linear-gradient(90deg,#0c332a 0%,#0c332a 36%,transparent 79%); }
  .hero-body { width: 100%; padding: 21px 15px 19px; }
  .hero h2 { font-size: clamp(1.45rem, 6.4vw, 1.8rem); }
  .hero p { font-size: .86rem; }
  .hero-composer { margin-block-start: 17px; }
  .section { margin-block-start: 20px; }
  .quick-grid, .columns, .example-grid { gap: 8px; }
  .quick-card { gap: 6px; padding: 8px 6px; }
  .quick-card .mark { width: 34px; height: 34px; }
  .quick-card small { font-size: .73rem; }
  .quick-card strong { font-size: .84rem; }
  .lab-grid, .columns { grid-template-columns: minmax(0,1fr); }
  .example-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .stage-fields { grid-template-columns: minmax(0,1fr); }
  .list-row { flex-wrap: wrap; }
  .list-row .row-copy { flex-basis: 60%; }
  .item-head { flex-wrap: wrap; }
  .item-head .actions { justify-content: flex-start; }
  .studio-grid { grid-template-columns: minmax(0,1fr); }
  .file-list { display: flex; flex-wrap: wrap; }
  .editor textarea { min-height: 265px; }
  .preview iframe { height: 265px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
.result-row { display: flex; justify-content: space-between; gap: .5rem; align-items: center; padding: .2rem 0; font-size: .88rem; }
.item-menu { position: relative; }
.item-menu summary { cursor: pointer; list-style: none; }
.item-menu summary::-webkit-details-marker { display: none; }
.item-menu summary::after { content: "⌄"; margin-inline-start: .15rem; }
.item-popover { position: absolute; z-index: 3; inset-block-start: calc(100% + .4rem); inset-inline-end: 0; min-width: 165px; padding: 5px; gap: 2px; box-shadow: 0 8px 25px #1234291f; }
.item-popover button { justify-content: start; white-space: nowrap; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0 0 .7rem; font-weight: 750; }
