/* TextFactory public tools — extends landing.css tokens (--lp-*) */
:root {
  --pt-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --pt-ok: #7fd3a8;
  --pt-warn: #f1c27d;
  --pt-bad: #ff9a9a;
  --pt-line: rgba(238, 241, 246, 0.08);
}

.pt-main { min-height: 60vh; }
.pt-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pt-muted { color: var(--lp-muted); font-size: 0.92rem; }
.pt-link {
  background: none; border: 0; padding: 0; color: var(--lp-accent); font: inherit; font-size: 0.92rem;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 32px;
}
.pt-link:hover { color: var(--lp-accent-hover); }
.pt-btn-sm { min-height: 40px; padding: 0 14px; font-size: 0.9rem; }
.pt-notice {
  border-left: 3px solid var(--pt-warn); padding: 10px 14px; margin: 14px 0 0;
  background: rgba(241, 194, 125, 0.07); border-radius: 0 var(--lp-r-sm) var(--lp-r-sm) 0; font-size: 0.94rem;
}

/* Hero */
.pt-hero {
  position: relative; padding: calc(var(--lp-header-h) + 34px) 0 30px;
  background:
    radial-gradient(900px 340px at 12% -10%, rgba(142, 180, 255, 0.16), transparent 70%),
    radial-gradient(700px 300px at 92% 0%, rgba(127, 211, 168, 0.07), transparent 70%);
}
.pt-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(238,241,246,.12) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.pt-hero .lp-wrap { position: relative; z-index: 1; }
.pt-hero--compact { padding-bottom: 18px; }
.pt-hero__title {
  font-family: var(--lp-disp); font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.08;
  margin: 10px 0 10px; letter-spacing: -0.02em;
  animation: pt-rise .7s var(--lp-ease) both;
}
.pt-hero__lead { color: var(--lp-muted); max-width: 64ch; font-size: 1.08rem; margin: 0; animation: pt-rise .7s .08s var(--lp-ease) both; }
@keyframes pt-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pt-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 16px; font-size: .88rem; color: var(--lp-muted); }
.pt-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.pt-crumbs a { color: var(--lp-muted); text-decoration: none; }
.pt-crumbs a:hover { color: var(--lp-text); }

/* Badges */
.pt-tool__badge {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px;
  border-radius: 6px; border: 1px solid var(--lp-border-strong); color: var(--lp-text);
}
.pt-tool__badge--local { border-color: rgba(127, 211, 168, .45); color: var(--pt-ok); }
.pt-tool__badge--server { border-color: rgba(142, 180, 255, .45); color: var(--lp-accent); }

/* Hub */
.pt-hub { padding: 10px 0 56px; }
.pt-hub__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.pt-hub__tier { color: var(--lp-muted); font-size: .92rem; margin: 0; }
.pt-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-filter {
  min-height: 44px; padding: 0 16px; border-radius: var(--lp-r-sm); border: 1px solid var(--lp-border);
  background: transparent; color: var(--lp-muted); font: inherit; font-weight: 600; cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.pt-filter:hover { color: var(--lp-text); border-color: var(--lp-border-strong); }
.pt-filter.is-active { color: var(--lp-accent-ink); background: var(--lp-accent); border-color: var(--lp-accent); }
.pt-catalog { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.pt-catalog__item[hidden] { display: none; }
.pt-catalog__item { animation: pt-rise .5s var(--lp-ease) both; }
.pt-tool {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px; text-decoration: none; color: inherit;
  background: linear-gradient(180deg, var(--lp-surface-raised), var(--lp-surface));
  border: 1px solid var(--lp-border); border-radius: var(--lp-r-md);
  transition: border-color .25s, transform .25s var(--lp-ease);
}
.pt-tool:hover, .pt-tool:focus-visible { border-color: rgba(142, 180, 255, .5); transform: translateY(-2px); }
.pt-tool__badge { align-self: flex-start; }
.pt-tool__name { font-family: var(--lp-disp); font-size: 1.3rem; margin: 4px 0 0; }
.pt-tool__short { margin: 0; color: var(--lp-text); opacity: .9; }
.pt-tool__result { margin: 0; font-size: .9rem; color: var(--lp-muted); }
.pt-tool__result span, .pt-example span {
  display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--lp-accent); margin-bottom: 2px;
}
.pt-tool__limit { margin: 0; font-size: .85rem; color: var(--lp-muted); }
.pt-tool__status { margin: 0; font-size: .82rem; color: var(--pt-warn); }
.pt-tool__go { margin-top: auto; font-weight: 600; color: var(--lp-accent); }
.pt-empty { color: var(--lp-muted); }

.pt-band { padding: 48px 0 64px; border-top: 1px solid var(--pt-line); }
.pt-band__grid { display: grid; gap: 28px; grid-template-columns: 1fr 1.2fr; align-items: start; }
.pt-band h2 { font-family: var(--lp-disp); margin: 0 0 10px; font-size: 1.7rem; }
.pt-band p { color: var(--lp-muted); margin: 0; }
.pt-access { margin: 0; display: grid; gap: 14px; }
.pt-access div { padding-left: 14px; border-left: 2px solid var(--lp-border-strong); }
.pt-access dt { font-weight: 700; }
.pt-access dd { margin: 2px 0 0; color: var(--lp-muted); }

/* Work area (SEO tools) */
.pt-work { padding: 8px 0 36px; }
.pt-work__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.pt-form {
  padding: 22px; border-radius: var(--lp-r-md); border: 1px solid var(--lp-border);
  background: linear-gradient(180deg, var(--lp-surface-raised), var(--lp-surface));
}
.pt-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.pt-field__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pt-field label, .pt-field__head label { font-weight: 600; font-size: .95rem; }
.pt-field input[type=text], .pt-field select, .pt-lines textarea {
  width: 100%; min-height: 44px; font: inherit; font-size: 16px; color: var(--lp-text);
  background: var(--lp-bg); border: 1px solid var(--lp-border-strong); border-radius: var(--lp-r-sm); padding: 10px 12px;
}
.pt-field select { appearance: auto; }
.pt-field input:focus-visible, .pt-field select:focus-visible, .pt-lines textarea:focus-visible,
.pt-he__source:focus-visible, .pt-nb__title:focus-visible {
  outline: 2px solid var(--lp-focus); outline-offset: 1px;
}
.pt-field__err { color: var(--pt-bad); margin: 0; font-size: .9rem; }
.pt-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pt-lines { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--lp-border-strong); border-radius: var(--lp-r-sm); background: var(--lp-bg); overflow: hidden; }
.pt-lines__gutter {
  margin: 0; padding: 10px 8px; min-width: 34px; text-align: right; font-family: var(--pt-mono); font-size: 14px; line-height: 1.5;
  color: var(--lp-muted); opacity: .6; border-right: 1px solid var(--pt-line); overflow: hidden; user-select: none;
}
.pt-lines textarea { border: 0; border-radius: 0; font-family: var(--pt-mono); font-size: 14px; line-height: 1.5; resize: vertical; min-height: 170px; }
@media (max-width: 760px) { .pt-lines textarea { font-size: 16px; } }
.pt-lines__count { margin: 0; color: var(--lp-muted); font-size: .88rem; }
.pt-lines__count b { color: var(--lp-text); }
.pt-seg { border: 0; padding: 0; margin: 4px 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.pt-seg label {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; cursor: pointer;
  border: 1px solid var(--lp-border); border-radius: var(--lp-r-sm); font-size: .94rem;
}
.pt-seg label:has(input:checked) { border-color: var(--lp-accent); background: rgba(142, 180, 255, .08); }
.pt-advanced { margin: 6px 0 14px; border-top: 1px solid var(--pt-line); padding-top: 10px; }
.pt-advanced summary { cursor: pointer; font-weight: 600; min-height: 36px; display: flex; align-items: center; }
.pt-advanced__body p { color: var(--lp-muted); margin: 6px 0; font-size: .92rem; }
.pt-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pt-actions .lp-btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

.pt-quote { margin: 4px 0 12px; padding: 14px; border: 1px dashed var(--lp-border-strong); border-radius: var(--lp-r-sm); }
.pt-quote p { margin: 0 0 6px; }
.pt-quote__idle { color: var(--lp-muted); font-size: .92rem; }
.pt-quote__units { font-family: var(--lp-disp); font-size: 1.25rem; }
.pt-quote__explain { color: var(--lp-muted); font-size: .92rem; }
.pt-quote ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; color: var(--lp-muted); }
.pt-quote .is-bad { color: var(--pt-bad); }
.pt-quote.is-loading { opacity: .6; }

.pt-side { position: sticky; top: calc(var(--lp-header-h) + 16px); padding: 18px; border-left: 1px solid var(--lp-border); }
.pt-side__title { font-size: 1rem; margin: 0 0 10px; }
.pt-side__dl { margin: 0 0 10px; display: grid; gap: 8px; }
.pt-side__dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--pt-line); padding-bottom: 6px; }
.pt-side__dl dt { color: var(--lp-muted); font-size: .9rem; }
.pt-side__dl dd { margin: 0; font-weight: 600; }

/* Result */
.pt-result { padding: 0 0 30px; }
.pt-result__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.pt-result__head h2 { margin: 0; font-family: var(--lp-disp); font-size: 1.4rem; }
.pt-demo-tag { font-size: .8rem; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--pt-warn); color: var(--pt-warn); }
.pt-table-wrap { overflow-x: auto; max-height: 560px; border: 1px solid var(--lp-border); border-radius: var(--lp-r-sm); }
.pt-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pt-table th, .pt-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--pt-line); }
.pt-table th { position: sticky; top: 0; background: var(--lp-surface-raised); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--lp-muted); }
.pt-table td small { display: block; color: var(--lp-muted); margin-top: 2px; word-break: break-all; }
.pt-status { font-weight: 600; white-space: nowrap; }
.pt-status--ok { color: var(--pt-ok); }
.pt-status--warn { color: var(--pt-warn); }
.pt-status--muted { color: var(--lp-muted); }

/* Explain / FAQ / related / upsell */
.pt-upsell {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin: 10px 0 40px; padding: 18px 0; border-top: 1px solid var(--pt-line); border-bottom: 1px solid var(--pt-line);
}
.pt-upsell p { margin: 0; color: var(--lp-muted); max-width: 70ch; }
.pt-explain { margin: 0 0 44px; }
.pt-explain h2, .pt-faq h2, .pt-related h2 { font-family: var(--lp-disp); font-size: 1.6rem; margin: 0 0 12px; }
.pt-answer { font-size: 1.08rem; max-width: 78ch; margin: 0 0 22px; }
.pt-explain__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pt-explain h3 { font-size: 1rem; margin: 0 0 8px; }
.pt-list, .pt-steps { margin: 0; padding-left: 20px; color: var(--lp-muted); }
.pt-list li, .pt-steps li { margin-bottom: 6px; }
.pt-example { margin: 0 0 6px; }
.pt-method { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--lp-accent); background: rgba(142, 180, 255, .05); border-radius: 0 var(--lp-r-sm) var(--lp-r-sm) 0; }
.pt-method p { margin: 0; color: var(--lp-muted); }
.pt-faq { margin: 0 0 44px; max-width: 860px; }
.pt-faq__item { border-bottom: 1px solid var(--pt-line); }
.pt-faq__item summary { cursor: pointer; padding: 14px 0; font-weight: 600; min-height: 44px; }
.pt-faq__item p { margin: 0 0 14px; color: var(--lp-muted); }
.pt-related { margin: 0 0 64px; }
.pt-related__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pt-related__list a { display: block; padding: 14px 16px; border: 1px solid var(--lp-border); border-radius: var(--lp-r-sm); text-decoration: none; color: inherit; height: 100%; transition: border-color .2s; }
.pt-related__list a:hover { border-color: rgba(142, 180, 255, .5); }
.pt-related__list span { display: block; color: var(--lp-muted); font-size: .88rem; margin-top: 4px; }

/* Notepad */
.pt-work--editor { padding-top: 4px; }
.pt-nb { display: grid; grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 18px; align-items: start; }
.pt-nb__docs, .pt-nb__ai { padding: 14px; border: 1px solid var(--lp-border); border-radius: var(--lp-r-md); background: var(--lp-surface); }
.pt-nb__docs-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.pt-nb__docs h2, .pt-nb__ai h2 { font-size: 1rem; margin: 0; }
.pt-nb__ai p { font-size: .9rem; }
.pt-nb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 420px; overflow: auto; }
.pt-nb__list button {
  width: 100%; text-align: left; background: transparent; border: 1px solid transparent; color: var(--lp-text);
  padding: 8px 10px; border-radius: 8px; font: inherit; font-size: .9rem; cursor: pointer; min-height: 40px;
}
.pt-nb__list button small { display: block; color: var(--lp-muted); font-size: .76rem; }
.pt-nb__list button:hover { border-color: var(--lp-border); }
.pt-nb__list button[aria-current="true"] { border-color: var(--lp-accent); background: rgba(142, 180, 255, .08); }
.pt-nb__cap { margin: 10px 0 0; font-size: .8rem; }
.pt-nb__main { min-width: 0; }
.pt-nb__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pt-nb__title {
  flex: 1 1 240px; min-height: 44px; font: inherit; font-size: 1.15rem; font-weight: 600; color: var(--lp-text);
  background: transparent; border: 1px solid transparent; border-radius: var(--lp-r-sm); padding: 6px 10px;
}
.pt-nb__title:hover { border-color: var(--lp-border); }
.pt-nb__save { margin: 0; font-size: .86rem; color: var(--lp-muted); }
.pt-nb__save.is-ok { color: var(--pt-ok); }
.pt-nb__save.is-bad { color: var(--pt-bad); }
.pt-nb__conflict { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 10px; border: 1px solid var(--pt-warn); border-radius: var(--lp-r-sm); }
.pt-nb__conflict[hidden] { display: none; }
.pt-nb__conflict p { margin: 0; }
.pt-nb__conflict div { display: flex; gap: 8px; flex-wrap: wrap; }
.pt-nb__editor { border-radius: var(--lp-r-sm); overflow: hidden; }
.pt-nb__editor .ck.ck-editor__main > .ck-editor__editable { min-height: 440px; max-height: 70vh; color: #14161c; background: #fbfcfe; font-size: 16px; }
.pt-nb__editor .ck.ck-toolbar { background: #eef1f6; border-color: #d5dae3; }
.pt-nb__editor .ck.ck-content { color: #14161c; }
.pt-nb__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; }
.pt-nb__stats { margin: 0; color: var(--lp-muted); font-size: .9rem; }
.pt-nb__export { display: flex; flex-wrap: wrap; gap: 6px; }

/* HTML editor */
.pt-he__toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pt-file { position: relative; overflow: hidden; cursor: pointer; }
.pt-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pt-file:focus-within { outline: 2px solid var(--lp-focus); }
.pt-he__tabs { display: none; gap: 6px; margin-bottom: 10px; }
.pt-he__tabs button {
  min-height: 44px; padding: 0 14px; background: transparent; color: var(--lp-muted); border: 1px solid var(--lp-border);
  border-radius: var(--lp-r-sm); font: inherit; font-weight: 600; cursor: pointer;
}
.pt-he__tabs button.is-active { color: var(--lp-accent-ink); background: var(--lp-accent); border-color: var(--lp-accent); }
.pt-he__panes { display: grid; grid-template-columns: var(--he-left, 1fr) 8px 1fr; grid-template-rows: auto auto; gap: 0; min-height: 480px; }
.pt-he__pane { min-width: 0; display: flex; flex-direction: column; }
.pt-he__pane--code { grid-column: 1; grid-row: 1 / span 2; }
.pt-he__resizer { grid-column: 2; grid-row: 1 / span 2; cursor: col-resize; background: transparent; position: relative; }
.pt-he__resizer::after { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 2px; background: var(--lp-border); border-radius: 2px; }
.pt-he__resizer:hover::after, .pt-he__resizer:focus-visible::after { background: var(--lp-accent); }
.pt-he__pane--visual { grid-column: 3; grid-row: 1; }
.pt-he__pane--preview { grid-column: 3; grid-row: 2; margin-top: 10px; }
.pt-he__source {
  flex: 1; width: 100%; min-height: 480px; resize: vertical; font-family: var(--pt-mono); font-size: 14px; line-height: 1.55;
  color: var(--lp-text); background: var(--lp-bg); border: 1px solid var(--lp-border-strong); border-radius: var(--lp-r-sm); padding: 12px; tab-size: 2;
}
.pt-he__visual, .pt-he__frame {
  width: 100%; min-height: 230px; background: #fbfcfe; color: #14161c; border: 1px solid var(--lp-border-strong); border-radius: var(--lp-r-sm);
}
.pt-he__visual { padding: 14px 16px; overflow: auto; max-height: 360px; font-size: 16px; line-height: 1.55; }
.pt-he__visual:focus-visible { outline: 2px solid var(--lp-focus); }
.pt-he__visual :is(h1, h2, h3, h4, h5, h6) {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: normal; line-height: 1.25; margin: .6em 0 .4em; color: inherit;
}
.pt-he__visual h1 { font-size: 1.7rem; }
.pt-he__visual h2 { font-size: 1.4rem; }
.pt-he__visual h3 { font-size: 1.2rem; }
.pt-he__visual :is(h4, h5, h6) { font-size: 1.05rem; }
.pt-he__visual a { color: #2456c9; }
.pt-he__visual p, .pt-he__visual li { color: inherit; }
.pt-nb__editor .ck-content :is(h1, h2, h3) { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: normal; color: #14161c; }
.pt-nb__editor .ck-content h1 { font-size: 1.8rem; }
.pt-nb__editor .ck-content h2 { font-size: 1.45rem; }
.pt-nb__editor .ck-content h3 { font-size: 1.2rem; }
.pt-he__frame { height: 240px; }
.pt-he__warn { margin: 0 0 6px; font-size: .86rem; color: var(--pt-warn); }
.pt-he__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 10px 0 0; color: var(--lp-muted); font-size: .9rem; }
.pt-he__bar p { margin: 0; }
.pt-he__meta { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--pt-line); }
.pt-he__meta h2 { font-size: 1.1rem; margin: 0 0 10px; }
.pt-dialog {
  width: min(1100px, 94vw); max-height: 86vh; padding: 20px; color: var(--lp-text);
  background: var(--lp-surface-raised); border: 1px solid var(--lp-border-strong); border-radius: var(--lp-r-md);
}
.pt-dialog::backdrop { background: rgba(5, 6, 10, .7); }
.pt-dialog h2 { margin: 0 0 8px; font-size: 1.3rem; }
.pt-dialog__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pt-dialog__cols h3 { font-size: .9rem; color: var(--lp-muted); margin: 0 0 6px; }
.pt-dialog pre {
  margin: 0; max-height: 50vh; overflow: auto; padding: 10px; font-family: var(--pt-mono); font-size: 12.5px; line-height: 1.5;
  background: var(--lp-bg); border: 1px solid var(--lp-border); border-radius: var(--lp-r-sm); white-space: pre-wrap; word-break: break-word;
}
.pt-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }

/* Responsive */
@media (max-width: 1180px) {
  .pt-nb { grid-template-columns: 200px minmax(0, 1fr); }
  .pt-nb__ai { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .pt-work__grid { grid-template-columns: 1fr; }
  .pt-side { position: static; border-left: 0; border-top: 1px solid var(--lp-border); padding: 16px 0 0; }
  .pt-explain__grid { grid-template-columns: 1fr; }
  .pt-band__grid { grid-template-columns: 1fr; }
  .pt-he__tabs { display: flex; flex-wrap: wrap; }
  .pt-he__tabs button { flex: 1 1 auto; padding: 0 10px; }
  .pt-he__panes { display: block; min-height: 0; }
  .pt-he__pane, .pt-he__resizer { display: none; }
  .pt-he__pane.is-active { display: flex; }
  .pt-he__pane--preview { margin-top: 0; }
  .pt-he__frame, .pt-he__visual { min-height: 420px; max-height: none; height: 420px; }
  .pt-he__source { min-height: 420px; }
}
@media (max-width: 760px) {
  .pt-nb { grid-template-columns: 1fr; }
  .pt-nb__list { max-height: 160px; }
  .pt-form { padding: 16px; }
  .pt-dialog__cols { grid-template-columns: 1fr; }
  .pt-hero { padding-top: calc(var(--lp-header-h) + 22px); }
  .pt-table--cards thead { display: none; }
  .pt-table--cards tr { display: block; padding: 10px 12px; border-bottom: 1px solid var(--pt-line); }
  .pt-table--cards td { display: block; padding: 3px 0; border: 0; }
  .pt-table--cards td[data-label]::before { content: attr(data-label) ": "; color: var(--lp-muted); font-size: .82rem; }
  .pt-table-wrap { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pt-hero__title, .pt-hero__lead, .pt-catalog__item { animation: none; }
  .pt-tool, .pt-filter { transition: none; }
  .pt-tool:hover { transform: none; }
}
