.adm { height: 100vh; height: 100dvh; overflow: hidden; font-size: 14.5px; line-height: 1.45; }
.adm [hidden] { display: none !important; }
.adm ::selection { background: var(--accent); color: #fff; }
.adm :focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; border-radius: 8px; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.gate { display: grid; place-items: center; height: 100%; padding: 24px; background: var(--grain) 0 0 / 220px 220px, var(--bg); }
.gate__box { width: min(100%, 460px); display: grid; gap: 16px; justify-items: start; }
.gate__box .tile { width: 48px; }
.gate__t { font-size: 26px; font-weight: 800; font-stretch: 125%; font-style: italic; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.gate__p { color: var(--dim); max-width: 46ch; }
.gate__p code, .gate__id { font-family: var(--mono); font-size: 12.5px; padding: 2px 6px; border-radius: 6px; background: rgba(var(--fg-rgb), .08); color: var(--fg); user-select: all; }
.gate__a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.gate__wait { font-family: var(--mono); font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--dim); }
.app {
  --rail: 236px; --top: 58px; --view: 0px;
  display: grid; height: 100%;
  grid-template-columns: var(--rail) minmax(0, 1fr) var(--view);
  grid-template-rows: var(--top) minmax(0, 1fr);
  background: var(--bg);
}
.app.has-view { --view: clamp(360px, 43vw, 860px); }
.top {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 0 14px 0 16px;
  border-bottom: 1px solid var(--line); background: var(--bg); min-width: 0;
}
.top .brand { gap: 10px; }
.top .tile { width: 30px; }
.top__name { font-size: 13px; font-weight: 800; font-stretch: 125%; font-style: italic; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.top__find {
  display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 12px; margin-left: 10px; min-width: 0; flex: 0 1 300px;
  border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--dim); font: inherit; font-size: 13.5px; cursor: pointer; text-align: left;
}
.top__find:hover { border-color: rgba(var(--fg-rgb), .4); color: var(--fg); }
.top__find span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.kbd { font-family: var(--mono); font-size: 10.5px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line); color: var(--dim); white-space: nowrap; }
.top__gap { flex: 1; }
.top__state { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--dim); font-size: 13px; white-space: nowrap; }
.top__state i { width: 8px; height: 8px; border-radius: 50%; background: rgba(var(--fg-rgb), .3); flex: none; }
.top__state[data-s="saved"] i { background: #e9b949; }
.top__state[data-s="clean"] i { background: #3ecf8e; }
.top__state[data-s="saving"] i { background: var(--accent-ink); animation: pulse 1s infinite; }
.top__state[data-s="offline"] i, .top__state[data-s="error"] i { background: #ff6b6b; }
@keyframes pulse { 50% { opacity: .3; } }
.top__me { display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--dim); }
.top__me img, .top__me b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--fg-rgb), .12); color: var(--fg); font-size: 13px; object-fit: cover; }
.top .top__burger { display: none; }
.b {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 13px; flex: none;
  border: 1px solid var(--line); border-radius: 10px; background: none; color: var(--fg);
  font: inherit; font-size: 13.5px; font-weight: 600; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.b:hover { background: rgba(var(--fg-rgb), .08); border-color: rgba(var(--fg-rgb), .34); }
.b:disabled { opacity: .4; cursor: default; pointer-events: none; }
.b--pri { background: var(--accent); border-color: var(--accent); color: #fff; }
.b--pri:hover { background: #2f5bff; border-color: #2f5bff; }
.b--ghost { border-color: transparent; color: var(--dim); }
.b--ghost:hover { color: var(--fg); border-color: transparent; }
.b--danger:hover { background: rgba(255, 90, 90, .14); border-color: rgba(255, 90, 90, .5); color: #ff8f8f; }
.b--icon { width: 36px; padding: 0; }
.b--sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.b--sm.b--icon { width: 30px; padding: 0; }
.b--lg { height: 42px; padding: 0 18px; font-size: 14.5px; }
.pnav { grid-row: 2; grid-column: 1; overflow: hidden auto; padding: 14px 10px 24px; border-right: 1px solid var(--line); background: var(--grain) 0 0 / 220px 220px, var(--bg); }
.pnav__g { margin: 18px 12px 6px; color: var(--dim); font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; }
.pnav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 12px; border-radius: 10px;
  color: var(--dim); font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color .2s, color .2s;
}
.pnav a:hover { color: var(--fg); background: rgba(var(--fg-rgb), .05); }
.pnav a[aria-current="page"] { color: var(--fg); background: rgba(var(--fg-rgb), .1); }
.pnav a span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pnav a sup { font-family: var(--mono); font-size: 10.5px; opacity: .6; }
.pnav a em { width: 7px; height: 7px; border-radius: 50%; background: #e9b949; flex: none; }
.work { grid-row: 2; grid-column: 2; min-width: 0; overflow: hidden auto; padding: 30px clamp(18px, 3vw, 44px) 120px; scrollbar-gutter: stable; }
.work > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.work > .wide { max-width: 1080px; }
.ph { margin-bottom: 24px; }
.ph__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; color: var(--dim); font-size: 13px; text-decoration: none; }
.ph__back:hover { color: var(--fg); }
.ph__back .i { width: 15px; height: 15px; }
.ph__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 20px; }
.ph__t { font-size: 25px; font-weight: 800; font-stretch: 125%; font-style: italic; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; }
.ph__s { margin-top: 8px; color: var(--dim); max-width: 60ch; }
.ph__a { display: flex; flex-wrap: wrap; gap: 8px; }
.card { margin-bottom: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(var(--fg-rgb), .022); }
.card__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px 0; }
.card__t { font-size: 15px; font-weight: 700; }
.card__hint { padding: 4px 18px 0; color: var(--dim); font-size: 13px; }
.card__b { display: grid; gap: 16px; padding: 16px 18px 18px; }
.card__b--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card__b--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.span2 { grid-column: 1 / -1; }
details.card > summary { list-style: none; cursor: pointer; padding: 15px 18px; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: ""; width: 8px; height: 8px; border-right: 1.7px solid var(--dim); border-bottom: 1.7px solid var(--dim); transform: rotate(45deg); transition: transform .2s; }
details.card[open] > summary::after { transform: rotate(-135deg); }
details.card[open] > summary { padding-bottom: 0; }
details.card > summary small { margin-left: auto; color: var(--dim); font-size: 12.5px; font-weight: 500; }
.f { display: grid; gap: 6px; min-width: 0; }
.f__l { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 12.5px; font-weight: 600; }
.f__l i { display: none; width: 7px; height: 7px; border-radius: 50%; background: #e9b949; }
.f.is-mod .f__l i { display: block; }
.f__l button { margin-left: auto; padding: 0; border: 0; background: none; color: var(--accent-ink); font: inherit; font-size: 12px; cursor: pointer; display: none; }
.f.is-mod .f__l button { display: inline; }
.f__l button:hover { text-decoration: underline; }
.f__tip { color: var(--dim); font-size: 12.5px; }
.f__tip b { color: var(--fg); font-weight: 600; }
.f__err { color: #ff8f8f; font-size: 12.5px; }
.in {
  width: 100%; min-width: 0; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 10px; background: rgba(var(--fg-rgb), .04); color: var(--fg);
  font: inherit; font-size: 14.5px; transition: border-color .2s, background-color .2s;
}
.in:hover { border-color: rgba(var(--fg-rgb), .32); }
.in:focus { outline: 0; border-color: var(--accent-ink); background: rgba(var(--fg-rgb), .06); }
.in::placeholder { color: rgba(var(--fg-rgb), .38); }
.ta { height: auto; min-height: 40px; padding: 9px 12px; resize: none; overflow: hidden; line-height: 1.5; }
.sel { appearance: none; padding-right: 34px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.sel option { background: var(--black-700); color: var(--ice); }
input[type="date"].in { color-scheme: dark; }
:root[data-theme="light"] input[type="date"].in { color-scheme: light; }
:root[data-theme="light"] .sel option { background: #fff; color: var(--navy-900); }
.f__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px; }
.f__pair--one { grid-template-columns: minmax(0, 1fr); }
.f__to { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
input[type="range"].rg { width: 100%; accent-color: var(--blue); }
.sw { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw__t { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: rgba(var(--fg-rgb), .2); transition: background-color .2s; }
.sw__t::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.sw input:checked + .sw__t { background: var(--blue); }
.sw input:checked + .sw__t::after { transform: translateX(16px); }
.sw input:focus-visible + .sw__t { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.mf { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 14px; align-items: start; }
.mf__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--black-800); border: 1px solid var(--line); display: grid; place-items: center; color: var(--dim); }
.mf__thumb img, .mf__thumb video { width: 100%; height: 100%; object-fit: cover; }
.mf--logo .mf__thumb img { object-fit: contain; padding: 14px; filter: var(--logo-ink); }
.mf--tall .mf__thumb { aspect-ratio: 4 / 3; }
.mf__b { display: grid; gap: 8px; min-width: 0; }
.mf__n { font-size: 13px; color: var(--dim); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mf__n b { color: var(--fg); font-weight: 600; }
.mf__a { display: flex; flex-wrap: wrap; gap: 6px; }
.mf.is-over .mf__thumb { outline: 2px dashed var(--accent-ink); outline-offset: 3px; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: rgba(var(--fg-rgb), .1); color: var(--dim); font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.tag--on { background: rgba(11, 61, 254, .22); color: var(--blue-hi); }
.tag--warn { background: rgba(233, 185, 73, .16); color: #e9b949; }
.tag--bad { background: rgba(255, 90, 90, .16); color: #ff8f8f; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.bar .in { flex: 1 1 200px; height: 36px; font-size: 13.5px; }
.bar .chip { height: 32px; padding: 0 12px; font-size: 13px; cursor: pointer; color: inherit; }
.empty { padding: 34px 20px; border: 1px dashed var(--line); border-radius: 14px; text-align: center; color: var(--dim); }
.empty b { display: block; margin-bottom: 4px; color: var(--fg); font-size: 15px; }
.empty .b { margin-top: 14px; }
.rows { display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.row {
  position: relative; display: grid; grid-template-columns: auto 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 14px 10px 8px;
  border-top: 1px solid var(--line); background: none; color: inherit; text-decoration: none; cursor: pointer; transition: background-color .2s;
}
.row:first-child { border-top: 0; }
.row:hover { background: rgba(var(--fg-rgb), .045); }
.row--plain { grid-template-columns: 64px minmax(0, 1fr) auto; padding-left: 14px; }
.row__grip { width: 22px; height: 34px; display: grid; place-items: center; color: rgba(var(--fg-rgb), .3); cursor: grab; }
.row__grip:hover { color: var(--fg); }
.row__thumb { width: 64px; aspect-ratio: 16 / 10; border-radius: 8px; object-fit: cover; background: var(--black-800); display: grid; place-items: center; color: var(--dim); overflow: hidden; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.row__t { font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.row__t.is-none { color: var(--dim); font-style: italic; font-weight: 500; }
.row__m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 3px; color: var(--dim); font-size: 12.5px; }
.row__e { display: flex; align-items: center; gap: 6px; color: var(--dim); }
.is-drag { opacity: .35; }
.is-drop { box-shadow: inset 0 2px 0 var(--accent-ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tile-c { position: relative; display: grid; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; cursor: pointer; transition: border-color .2s, transform .2s; background: rgba(var(--fg-rgb), .022); }
.tile-c:hover { border-color: rgba(var(--fg-rgb), .4); }
.tile-c img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--black-800); }
.tile-c__b { padding: 10px 12px 12px; min-width: 0; }
.tile-c__t { font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tile-c__m { margin-top: 2px; color: var(--dim); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.tile-c .tag { position: absolute; left: 8px; top: 8px; background: rgba(2, 3, 4, .72); color: #fff; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.pick { position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--black-800); cursor: pointer; aspect-ratio: 16 / 9; }
.pick img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .2s; }
.pick:hover img, .pick[aria-pressed="true"] img { opacity: 1; }
.pick[aria-pressed="true"] { border-color: var(--blue-hi); }
.pick span { position: absolute; left: 6px; bottom: 5px; right: 6px; color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 1px 6px #000; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: left; }
.pick b { position: absolute; right: 5px; top: 5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.item:first-child { border-top: 0; padding-top: 0; }
.item:last-child { padding-bottom: 0; }
.item__f { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.item__a { display: flex; gap: 4px; padding-top: 22px; }
.hero-s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.stat p { color: var(--dim); font-size: 12.5px; }
.stat b { display: block; margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.15; }
.stat small { display: block; margin-top: 4px; color: var(--dim); font-size: 12.5px; }
.quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.quick a { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; font-weight: 600; transition: border-color .2s, background-color .2s; }
.quick a:hover { border-color: var(--accent-ink); background: rgba(11, 61, 254, .08); }
.quick a .i { width: 22px; height: 22px; color: var(--accent-ink); }
.quick a small { color: var(--dim); font-weight: 400; font-size: 12.5px; }
.steps3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps3 li { counter-increment: s; color: var(--dim); font-size: 13.5px; }
.steps3 li::before { content: "0" counter(s); display: block; margin-bottom: 8px; font-family: var(--mono); font-size: 11px; color: var(--accent-ink); letter-spacing: .1em; }
.steps3 li b { display: block; color: var(--fg); margin-bottom: 2px; }
.todo { display: grid; gap: 2px; }
.todo a { display: flex; align-items: center; gap: 10px; padding: 9px 4px; color: inherit; text-decoration: none; border-top: 1px solid var(--line); font-size: 14px; }
.todo a:first-child { border-top: 0; }
.todo a:hover { color: var(--accent-ink); }
.todo .i { color: #e9b949; }
.hist { display: grid; }
.hist__r { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.hist__r:first-child { border-top: 0; }
.hist__n { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.hist__m { color: var(--dim); font-size: 12.5px; }
.chipnav { position: sticky; top: -30px; z-index: 3; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 auto 16px; padding: 10px 0; background: linear-gradient(var(--bg) 78%, transparent); }
.chipnav::-webkit-scrollbar { display: none; }
.chipnav .chip { flex: none; height: 30px; padding: 0 11px; font-size: 12.5px; text-decoration: none; color: inherit; cursor: pointer; }
.chipnav .chip em { width: 6px; height: 6px; border-radius: 50%; background: #e9b949; }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(233, 185, 73, .1); color: var(--fg); font-size: 13.5px; }
.note .i { color: #e9b949; margin-top: 1px; }
.note--info { background: rgba(11, 61, 254, .12); }
.note--info .i { color: var(--blue-hi); }
.player-c { display: grid; gap: 10px; }
.player-c video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; }
.view { grid-row: 2; grid-column: 3; display: none; flex-direction: column; min-width: 0; border-left: 1px solid var(--line); background: var(--black-950); }
.app.has-view .view { display: flex; }
.view__bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 8px 0 14px; border-bottom: 1px solid var(--line); background: var(--bg); flex: none; min-width: 0; }
.view__t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--dim); font-size: 13px; }
.view__t b { color: var(--fg); font-weight: 600; }
.seg { display: inline-flex; padding: 2px; border-radius: 9px; background: rgba(var(--fg-rgb), .08); flex: none; }
.seg button { height: 28px; padding: 0 9px; border: 0; border-radius: 7px; background: none; color: var(--dim); font: inherit; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-pressed="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.seg .i { width: 15px; height: 15px; }
.view__stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.view__stage iframe { position: absolute; left: 0; top: 0; border: 0; background: var(--black-900); transform-origin: 0 0; }
.view__stage.is-phone iframe { border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(0, 0, 0, .5); }
.view__hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(2, 3, 4, .82); color: #fff; font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .3s; }
.view__stage:hover .view__hint.is-on { opacity: 1; }
.toasts { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 14px; max-width: min(92vw, 520px); padding: 11px 14px 11px 16px; border-radius: 12px; background: var(--ice); color: var(--navy-900); font-size: 13.5px; font-weight: 500; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); pointer-events: auto; animation: toast .3s var(--ease); }
.toast--error { background: #ff6b6b; color: #230505; }
.toast button { padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.toast--error button { color: #230505; text-decoration: underline; }
@keyframes toast { from { opacity: 0; transform: translateY(10px); } }
.dlg { width: min(94vw, 520px); max-height: 86vh; padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); color: var(--fg); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); overflow: hidden auto; }
.dlg::backdrop { background: rgba(2, 3, 4, .66); backdrop-filter: blur(3px); }
.dlg__b { display: grid; gap: 12px; padding: 22px 22px 8px; }
.dlg__t { font-size: 18px; font-weight: 700; }
.dlg__p { color: var(--dim); }
.dlg__p b { color: var(--fg); }
.dlg__list { display: grid; gap: 0; max-height: 240px; overflow: auto; margin: 2px 0; padding: 2px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13.5px; }
.dlg__list li { padding: 8px 0; border-top: 1px solid var(--line); }
.dlg__list li:first-child { border-top: 0; }
.dlg__list a { color: var(--accent-ink); }
.dlg__a { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 14px 22px 20px; }
.dlg--find { width: min(94vw, 600px); margin-top: 12vh; }
.find__in { width: 100%; height: 54px; padding: 0 20px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--fg); font: inherit; font-size: 16px; outline: 0; }
.find__list { display: grid; max-height: 52vh; overflow: auto; padding: 6px; }
.find__r { display: grid; gap: 1px; padding: 9px 14px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.find__r small { color: var(--dim); font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.find__r span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.find__r[aria-selected="true"] { background: rgba(var(--fg-rgb), .1); }
.find__none { padding: 18px; color: var(--dim); text-align: center; }
.menu-me { position: fixed; right: 12px; top: 54px; z-index: 60; display: grid; min-width: 210px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); box-shadow: 0 16px 50px rgba(0, 0, 0, .5); }
.menu-me p { padding: 8px 10px 6px; color: var(--dim); font-size: 12.5px; }
.menu-me a, .menu-me button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: 14px; text-align: left; text-decoration: none; cursor: pointer; }
.menu-me a:hover, .menu-me button:hover { background: rgba(var(--fg-rgb), .08); }
.demo-flag { padding: 3px 8px; border-radius: 6px; background: rgba(233, 185, 73, .18); color: #e9b949; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 1180px) {
  .app.has-view { --view: 0px; }
  .app.has-view .view { position: fixed; z-index: 50; inset: var(--top) 0 0 0; border-left: 0; }
  .top__find span, .top__find .kbd { display: none; }
  .top__find { flex: none; width: 36px; padding: 0; justify-content: center; margin-left: 0; }
}
@media (max-width: 860px) {
  .app { --rail: 0px; }
  .pnav { position: fixed; z-index: 55; left: 0; top: var(--top); bottom: 0; width: min(84vw, 280px); transform: translateX(-102%); transition: transform .3s var(--ease); box-shadow: 20px 0 60px rgba(0, 0, 0, .5); }
  .app.has-pnav .pnav { transform: none; }
  .top .top__burger { display: inline-flex; }
  .top__name, .top__state span, .top .b--txt span { display: none; }
  .top .b--txt { width: 36px; padding: 0; }
  .top { gap: 8px; padding: 0 10px; }
  .card__b--2, .card__b--3, .item__f, .hero-s, .steps3, .f__pair { grid-template-columns: minmax(0, 1fr); }
  .mf { grid-template-columns: 112px minmax(0, 1fr); }
  .work { padding: 22px 16px 110px; }
  .row { grid-template-columns: auto 52px minmax(0, 1fr); }
  .row--plain { grid-template-columns: 52px minmax(0, 1fr); }
  .row__thumb { width: 52px; }
  .row__e { display: none; }
}
@media (max-width: 560px) {
  #undoBtn, #redoBtn, .demo-flag { display: none; }
  .toasts { left: 12px; right: 12px; transform: none; justify-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .adm *, .adm *::before, .adm *::after { animation: none !important; transition: none !important; }
}
.blks { display: grid; gap: 10px; }
.blk { display: grid; gap: 8px; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(var(--fg-rgb), .025); }
.blk:focus-within { border-color: rgba(var(--fg-rgb), .34); }
.blk__h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.blk__a { display: flex; gap: 2px; opacity: .55; transition: opacity .2s; }
.blk:hover .blk__a, .blk:focus-within .blk__a { opacity: 1; }
.blk__b { display: grid; gap: 8px; }
.blk__fmt { display: flex; gap: 6px; }
.blk__fmt .b b { margin-right: 6px; font-weight: 800; }
.blk__add { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.blk__add .f__tip { margin-right: 4px; }
.serp { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(var(--fg-rgb), .03); font-family: Arial, Helvetica, sans-serif; }
.serp__u { color: var(--dim); font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.serp__u span { opacity: .75; }
.serp__t { color: var(--accent-ink); font-size: 18px; line-height: 1.25; }
.serp__d { color: var(--dim); font-size: 13.5px; line-height: 1.45; }
.cnt { white-space: nowrap; font-family: var(--mono); font-size: 11px; opacity: .8; }
.cnt.is-over { color: #e9b949; opacity: 1; }
