:root {
  color-scheme: light;
  --ink: #15223b;
  --ink-dark: #10192d;
  --muted: #52647d;
  --line: #dce4ee;
  --line-strong: #bccbdd;
  --blue: #174fe0;
  --blue-dark: #1041bf;
  --blue-soft: #e7efff;
  --surface: #f4f7fb;
  --tinted: #eef2f8;
  --danger: #b4232a;
  --radius: 7px;
  --rail: clamp(176px, 16.67vw, 256px);
  --gutter: clamp(20px, 2.05vw, 32px);
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", monospace;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.55; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
strong { font-weight: 650; }
p { margin: 0 0 14px; }
h1, h2, h3 { color: var(--ink-dark); line-height: 1.24; margin: 0; }
h1 { font-size: clamp(1.85rem, 2.85vw, 2.75rem); letter-spacing: -.035em; font-weight: 750; }
h2 { font-size: clamp(1.27rem, 1.75vw, 1.72rem); font-weight: 710; }
h3 { font-size: 1.18rem; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
input:not([type=checkbox],[type=radio]), select, textarea {
  min-height: 40px; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: white; padding: 8px 11px;
}
select { padding-inline-end: 25px; }
input[type=number] { width: 86px; }
input[type=file] { width: 100%; }
textarea { display: block; resize: vertical; }
code, pre, kbd { font-family: var(--mono); letter-spacing: -.025em; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface); border: 1px solid var(--line); padding: 12px 15px; border-radius: var(--radius); }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
small, .small-text { font-size: .88rem; }
.icon { display: inline-block; inline-size: 21px; block-size: 21px; flex: 0 0 auto; vertical-align: -.2em; opacity: .86; }
a .icon, .link .icon { opacity: .9; }
.brand .icon { filter: brightness(0) invert(1); opacity: 1; width: 26px; height: 26px; }
.button, .link, .iconbtn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.button { min-height: 39px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: white; color: var(--ink); font-weight: 570; padding: 7px 14px; }
.button:hover { text-decoration: none; border-color: #8fa8cd; background: var(--surface); }
.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.primary .icon { filter: brightness(0) invert(1); opacity: 1; }
.primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.danger:hover { background: #921b22; border-color: #921b22; }
.danger-text { color: var(--danger) !important; }
.link { border: 0; padding: 0; background: transparent; color: var(--blue); text-align: left; }
.link:hover { text-decoration: underline; text-underline-offset: .15em; }
.small { min-height: 34px; padding: 4px 10px; font-size: .9rem; }
.iconbtn { min-width: 35px; min-height: 35px; padding: 4px; }
button.iconbtn:not(.button) { background: transparent; border: 0; border-radius: 5px; }
button.iconbtn:not(.button):hover, a.iconbtn:hover { background: var(--blue-soft); border-radius: 5px; }
.iconbtn .icon { height: 18px; width: 18px; }
.stretch { width: 100%; }
.inline, .row-between { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.row-between { justify-content: space-between; }
.muted { color: var(--muted); }
.notice { padding: 9px 12px; border: 1px solid #bed2f5; border-radius: var(--radius); background: #f2f7ff; color: #254678; }
.notice.error { background: #fff0f0; border-color: #f7cbd0; color: #9c1c2a; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 50; background: white; padding: 8px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
.layout { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; align-self: start; height: 100dvh; padding: 17px 11px 22px; background: #f3f6fa; border-right: 1px solid #ced8e6; display: flex; flex-direction: column; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-dark); font-weight: 780; font-size: clamp(1.2rem, 1.94vw, 1.78rem); letter-spacing: -.055em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.rail .brand { padding-inline: 14px; margin-bottom: 39px; }
.brand-icon { background: var(--blue); border-radius: 8px; width: 42px; height: 42px; display: grid; place-items: center; flex: none; }
.navigation { display: grid; gap: 8px; }
.navigation a { padding: 10px 14px; min-height: 49px; display: flex; align-items: center; gap: 14px; border-radius: 8px; color: var(--ink-dark); font-size: clamp(.9rem, 1.4vw, 1.16rem); white-space: nowrap; }
.navigation a:hover, .navigation .active { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.navigation .active { font-weight: 680; }
.navigation .active .icon, .sort .icon, .row-actions a.iconbtn .icon, .agent-links a > .icon:first-child { filter: invert(20%) sepia(81%) saturate(3811%) hue-rotate(220deg) brightness(93%) contrast(93%); }
.rail-foot { margin-top: auto; padding: 0 14px; display: flex; gap: 12px; align-items: center; color: var(--muted); }
.workspace { min-width: 0; }
.topbar { min-height: 70px; border-bottom: 1px solid var(--line); padding: 9px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.crumbs { display: flex; gap: 11px; align-items: center; min-width: 0; color: var(--muted); font-size: .99rem; }
.crumbs a { color: inherit; }
.crumbs strong { color: var(--ink); }
.profile { position: relative; flex: none; }
.profile summary { list-style: none; display: flex; align-items: center; gap: 9px; cursor: pointer; }
.profile summary::-webkit-details-marker { display: none; }
.profile summary > .icon { width: 16px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue-soft); display: grid; place-items: center; }
.profile-menu { position: absolute; background: white; z-index: 15; right: 0; min-width: 150px; top: calc(100% + 6px); border: 1px solid var(--line); box-shadow: 0 6px 18px #15223b17; border-radius: var(--radius); padding: 9px 13px; }
.profile-menu form { padding-top: 7px; }
.workspace-body { padding: 25px var(--gutter) 35px; min-width: 0; }
.workspace-body > h1 { margin: 2px 0 22px; }
.hero { padding: 27px 29px; border-radius: 9px; background: #eaf0fa; margin-bottom: 28px; }
.hero p { margin: 3px 0 19px; color: var(--muted); font-size: 1.12rem; }
.search-row { display: flex; gap: 10px; align-items: stretch; }
.search-row .primary { min-width: 85px; }
.searchbox { display: flex; align-items: center; min-width: 0; flex: 1 1 200px; gap: 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0 11px; background: #fff; }
.searchbox:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.searchbox input[type=search] { padding: 5px 1px; border: 0; outline: none; flex: 1 1 80px; width: 100%; }
.searchbox kbd { padding: 1px 7px; color: var(--muted); background: var(--tinted); border: 1px solid var(--line); border-radius: 4px; white-space: nowrap; font-size: .82rem; }
.chips { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }
.hero .chips { margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--ink); background: #fff; white-space: nowrap; }
.chip:hover, .chip.selected { text-decoration: none; color: var(--blue); border-color: #8aa7f4; background: #f7faff; }
.panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.home-columns, .detail-columns { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(250px, .95fr); gap: 20px; align-items: start; }
.detail-columns { grid-template-columns: minmax(0, 1.75fr) minmax(270px, 1fr); }
.section-title, .title-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; margin-bottom: 18px; }
.section-title a { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.agent-box { padding: 16px 18px 18px; }
.agent-box h2 { margin-bottom: 10px; }
.agent-links { border-top: 1px solid var(--line); }
.agent-links a { display: flex; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.agent-links .tail { margin-left: auto; width: 16px; }
.agent-box .muted { margin: 14px 0 12px; }
.label { display: block; margin-bottom: 5px; }
.copybox { display: flex; align-items: center; justify-content: space-between; gap: 7px; color: var(--ink-dark); background: var(--surface); border: 1px solid var(--line); padding: 5px 7px 5px 10px; border-radius: var(--radius); }
.copybox code { overflow-wrap: anywhere; min-width: 0; color: inherit; user-select: all; }
.table-wrap { min-width: 0; overflow: auto; max-height: 72dvh; border-radius: var(--radius); }
.grid-table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.grid-table thead { position: sticky; top: 0; z-index: 3; }
.grid-table thead th { background: var(--tinted); color: #293a56; font-weight: 640; padding: 10px 13px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.grid-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.grid-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.grid-table th[scope=row] { position: sticky; left: 0; z-index: 2; font-weight: 590; background: white; }
.grid-table tbody td, .grid-table tbody th { border-bottom: 1px solid var(--line); padding: 10px 13px; color: var(--ink); }
.grid-table tbody tr:hover > * { background: #f8faff; }
.grid-table td:not(.empty) { white-space: nowrap; }
.cell-title { display: flex; gap: 11px; align-items: center; color: var(--ink-dark); min-width: 155px; }
.cell-title code { display: block; color: var(--muted); line-height: 1.2; font-size: .85rem; font-weight: 430; }
.cell-title strong { display: block; }
.tile { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; background: #edf1f6; flex: none; }
.tile .icon { width: 21px; height: 21px; }
.tile.big { width: 68px; height: 68px; border-radius: 13px; }
.tile.big .icon { width: 33px; height: 33px; }
.empty { color: var(--muted) !important; padding: 22px !important; }
.filter-row { display: flex; align-items: stretch; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 15px; }
.filter-row select { min-width: 140px; }
.filter-row .filter-search { max-width: 360px; min-width: 188px; }
.table-tools { display: flex; justify-content: space-between; align-items: center; margin: 6px 1px 12px; color: var(--muted); }
.sort { display: inline-flex; align-items: center; gap: 4px; }
.row-actions { display: flex; gap: 11px; align-items: center; justify-content: space-between; }
.row-actions a { white-space: nowrap; }
.paging { display: flex; justify-content: flex-end; gap: 6px; margin-top: 18px; }
.badge { padding: 2px 8px; border-radius: 6px; background: var(--tinted); color: #3b4b63; font-size: .86em; font-weight: 570; white-space: nowrap; }
.badge.green { color: #086235; background: #dff4e5; }
.badge.amber { color: #794c04; background: #fff1cf; }
.badge.blue { color: #1743a6; background: var(--blue-soft); }
.skill-heading { display: flex; align-items: center; gap: 16px; min-width: 0; }
.skill-heading h1 { margin-bottom: 4px; }
.skill-heading p { margin: 6px 0 0; color: var(--muted); }
.title-inline h1 { margin: 0; }
.tabs { display: flex; gap: 16px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 0 0 19px; }
.tabs a { display: block; padding: 10px 14px 8px; border-bottom: 3px solid transparent; color: var(--ink); font-weight: 560; white-space: nowrap; }
.tabs a:hover, .tabs .selected { color: var(--blue); text-decoration: none; }
.tabs .selected { border-color: var(--blue); }
.panel-bar, .pane-head { display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 7px 13px; background: var(--tinted); border-bottom: 1px solid var(--line); color: var(--ink); border-radius: var(--radius) var(--radius) 0 0; }
.document { overflow: hidden; }
.docpad { padding: 17px 19px; min-width: 0; }
.markdown { overflow-wrap: anywhere; }
.markdown h1 { font-size: 2rem; margin-bottom: 16px; }
.markdown h2 { border-top: 1px solid var(--line); padding-top: 10px; margin: 12px 0 8px; font-size: 1.27rem; }
.markdown ul, .markdown ol { margin: 6px 0 13px; padding-inline-start: 23px; }
.markdown p { margin-bottom: 13px; }
.markdown li { margin-bottom: 4px; }
.install-box { padding: 17px; }
.install-box h2 { margin-bottom: 13px; }
.version-row { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.version-row select { flex: 1 1 auto; font-family: var(--mono); }
.segments { display: flex; margin: 0 0 13px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.segments label { position: relative; display: grid; width: 50%; cursor: pointer; }
.segments label span { text-align: center; padding: 6px 8px; border-radius: 5px; }
.segments input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.segments input:checked + span { color: white; background: var(--blue); }
.segments input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }
.install-box .stretch { margin-top: 12px; }
.install-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; padding-top: 13px; }
.metadata { margin: 14px 0 0; }
.metadata div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; border-top: 1px solid var(--line); padding: 9px 0; }
.metadata dd { margin: 0; }
.file-list, .release-list { margin: 0; padding: 0; list-style: none; }
.file-list li, .release-list li { border-bottom: 1px solid var(--line); padding: 11px 14px; }
.file-list li { display: flex; align-items: center; gap: 7px; overflow-wrap: anywhere; }
.file-list small { margin-left: auto; white-space: nowrap; }
.release-list li:last-child, .file-list li:last-child { border-bottom: 0; }
.release-list p { margin: 6px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.release-list small { color: var(--muted); }
.article { padding: 18px; }
.article h2, .article h3 { margin-bottom: 12px; }
.article section { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 17px; }
.article .filter-row:last-child { margin-bottom: 0; }
.admin-states { margin-bottom: 14px; }
.admin-states .selected { background: var(--blue-soft); }
.space-top { margin-top: 16px; }
.settings-line { border-top: 1px solid var(--line); margin: 0; padding: 8px 0; }
.settings-line small { margin-left: 5px; color: var(--muted); }
.floating-menu { position: fixed; inset: auto; margin: 0; left: var(--menu-left, 0px); top: var(--menu-top, 0px); z-index: 25; display: grid; min-width: 178px; padding: 5px; border: 1px solid var(--line-strong); border-radius: 7px; background: white; box-shadow: 0 6px 16px #15223b21; }
.floating-menu a, .floating-menu button { color: var(--ink); padding: 7px 10px; display: flex; align-items: center; gap: 8px; border: 0; background: white; text-align: left; border-radius: 4px; }
.floating-menu a:hover, .floating-menu button:hover { text-decoration: none; background: var(--blue-soft); }
.form-stack { display: grid; gap: 11px; }
.form-stack > label { display: grid; gap: 5px; }
.form-stack > p { margin-bottom: 0; }
.form-wide { max-width: 670px; }
label.check { display: inline-flex; align-items: center; gap: 5px; }
.check input { margin: 0; }
dialog { width: min(94vw, 490px); max-height: min(88dvh, 740px); padding: 18px; background: white; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink); }
dialog.wide-dialog { width: min(94vw, 760px); }
dialog:modal { overscroll-behavior: contain; }
dialog::backdrop { background: #14223c61; overflow: hidden; overscroll-behavior: contain; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.dialog-head h1 { font-size: 1.4rem; }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.editor-notice { display: flex; justify-content: space-between; gap: 8px; align-items: center; border: 1px solid var(--line); background: var(--surface); padding: 8px 12px; border-radius: 6px; margin-bottom: 12px; }
.editor-notice #editor-status.dirty::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e3a300; margin-right: 8px; }
.editor-grid { display: grid; grid-template-columns: minmax(158px, .9fr) minmax(245px, 1.7fr) minmax(210px, 1.35fr); grid-template-rows: minmax(460px, 65dvh) auto; border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.pane { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.pane + .pane { border-left: 1px solid var(--line); }
.pane-head { justify-content: space-between; flex: 0 0 44px; }
.pane-head .inline { gap: 4px; flex-wrap: nowrap; }
.pane-head .iconbtn { min-height: 28px; min-width: 28px; }
.tree, .tree ul { list-style: none; padding: 0; margin: 0; }
.tree { overflow: auto; padding: 7px; }
.tree li ul { padding-left: 14px; }
.tree details summary { cursor: pointer; padding: 4px 4px; }
.tree a { padding: 5px 7px; display: flex; gap: 5px; align-items: center; border-radius: 5px; color: var(--ink); overflow-wrap: anywhere; }
.tree a:hover, .tree .selected { background: var(--blue-soft); text-decoration: none; }
.tree .icon { width: 17px; height: 17px; }
.editor-tab { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.editor-tab code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.unsaved { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e3a300; }
.editor-form, .code-editor { display: flex; align-items: stretch; width: 100%; min-height: 0; flex: 1 1 auto; }
.code-editor { font: .94rem/1.6 var(--mono); }
.code-editor pre, .code-editor textarea { font: inherit; tab-size: 2; border: 0; border-radius: 0; padding: 12px 8px; margin: 0; }
.code-editor pre { width: 43px; flex: none; overflow: hidden; background: var(--surface); color: var(--muted); text-align: right; user-select: none; }
.code-editor textarea { padding-left: 12px; flex: 1 1 auto; min-width: 0; display: block; resize: none; color: #1e3158; }
.code-editor textarea:focus-visible { outline-offset: -2px; }
.preview-pane .docpad { overflow: auto; }
.file-preview { max-width: 100%; height: auto; }
.editor-foot { grid-column: 1/-1; display: flex; justify-content: flex-end; gap: 16px; background: var(--surface); border-top: 1px solid var(--line); padding: 4px 12px; font-size: .83rem; color: var(--muted); }
.diff { max-height: 46vh; overflow: auto; }
.sharing-columns { grid-template-columns: minmax(290px,1.2fr) minmax(240px,1fr); }
.public-layout { min-height: 100dvh; background: #f6f8fc; }
.public-header { min-height: 65px; padding: 10px max(20px, calc((100vw - 1100px) / 2)); background: #fff; border-bottom: 1px solid var(--line); }
.public-main { padding: clamp(24px, 7vh, 70px) 16px 32px; display: grid; justify-items: center; }
.public-card { width: min(100%, 440px); padding: 25px; }
.public-card.wide { width: min(100%, 650px); }
.public-card h1 { margin: 0 0 11px; font-size: clamp(1.45rem, 3vw, 2rem); }
.public-card .inline + h1 { margin-top: 10px; }
.public-card .form-stack { margin-top: 16px; }
.public-card h2 { font-size: 1.21rem; }
.public-card hr { margin: 18px 0; }
.instructions { padding-left: 21px; }
.instructions li { margin-bottom: 6px; }
.checksum-details summary { cursor: pointer; color: var(--blue); }
.checksum-details .copybox { margin-top: 7px; }
.toast { position: fixed; bottom: 16px; right: 16px; z-index: 45; padding: 9px 13px; color: #fff; background: var(--ink-dark); border-radius: 7px; max-width: min(92vw, 520px); }
@media (max-width: 1050px) {
  .home-columns, .detail-columns { gap: 14px; }
  .editor-controls { gap: 5px; }
  .editor-controls .button { padding-inline: 9px; }
  .grid-table tbody td, .grid-table tbody th, .grid-table thead th { padding-inline: 9px; }
  .recent-table .cell-title { min-width: 0; }
}
@media (max-width: 820px) {
  .home-columns, .detail-columns { grid-template-columns: minmax(0, 1fr); }
  .editor-grid { grid-template-columns: minmax(145px, .7fr) minmax(180px, 1.5fr); grid-template-rows: minmax(350px, 55dvh) minmax(180px, 35dvh) auto; }
  .preview-pane { grid-column: 1/-1; border-top: 1px solid var(--line); border-left: 0 !important; }
}
@media (max-width: 640px) {
  .layout { display: block; }
  .rail { height: auto; position: static; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; gap: 6px; }
  .rail .brand { margin: 0; padding: 3px 5px; }
  .rail-foot { display: none; }
  .brand-icon { width: 32px; height: 32px; }
  .brand .icon { width: 20px; height: 20px; }
  .navigation { display: flex; gap: 4px; flex-wrap: wrap; }
  .navigation a { min-height: 34px; padding: 5px 7px; gap: 4px; }
  .navigation a .icon { width: 16px; height: 16px; }
  .topbar { min-height: 47px; }
  .workspace-body { padding: 17px 13px 23px; }
  .topbar { padding-inline: 13px; }
  .crumbs { font-size: .83rem; gap: 6px; }
  .avatar { width: 30px; height: 30px; }
  .profile-name { display: none; }
  .hero { padding: 16px; }
  .searchbox kbd { display: none; }
  .hero .chips { margin-top: 13px; }
  .title-row { align-items: flex-start; flex-wrap: wrap; }
  .skill-heading { align-items: flex-start; }
  .tile.big { width: 47px; height: 47px; }
  .tile.big .icon { width: 25px; height: 25px; }
  .grid-table { min-width: 530px; font-size: .88rem; }
  .cell-title { min-width: 107px; gap: 6px; }
  .cell-title .tile { display: none; }
  .cell-title code { font-size: .72rem; }
  .editor-grid { grid-template-columns: minmax(92px, .55fr) minmax(162px, 1.4fr); }
  .pane-head { padding-inline: 5px; font-size: .85rem; gap: 3px; }
  .pane-head .inline { flex-wrap: wrap; }
  .pane-head .iconbtn { min-width: 23px; min-height: 24px; }
  .pane-head .iconbtn .icon { width: 15px; }
  .tree { padding: 3px; font-size: .8rem; }
  .tree li ul { padding-left: 6px; }
  .tree .icon { width: 13px; }
  .code-editor { font-size: .8rem; }
  .code-editor pre { width: 24px; padding-inline: 4px; }
  .editor-notice { font-size: .83rem; }
}


@media (min-width: 1100px) {
  :root { font-size: 17px; }
}
.asset-links { margin: 0 19px 13px; border-top: 1px solid var(--line); }
.asset-links h2 { font-size: 1.26rem; padding-top: 12px; }
.asset-links li { padding-inline: 0; }

.code-input { position: relative; display: flex; flex: 1; min-width: 0; }
.code-input #source-highlight { padding: 12px 10px 18px 12px; position: absolute; inset: 0; width: auto; white-space: pre; text-align: left; color: #20325b; background: white; }
.code-input.has-highlight textarea { position: relative; background: transparent; color: transparent; caret-color: var(--ink); }
.code-input.has-highlight textarea::selection { color: #fff; background: #2857b9; }
.code-delimiter { color: #7045a2; }
.code-yaml { color: #204bb3; }
.code-heading { color: #13612c; }
@media (forced-colors: active) {
  .code-input #source-highlight { display: none; }
  .code-input.has-highlight textarea { color: CanvasText; background: Canvas; }
}
