/* Тетрадь в клетку, по которой мастер правит лист красной ручкой.
   Синяя ручка — действия, красная — изменения в листе. */
:root {
  --paper: #f3f5f1; --sheet: #ffffff; --cell: #dce3db; --ink: #1e2925; --graphite: #5c6862; --rule: #c6cfc7;
  --blue: #2a49a6; --blue-wash: #e7ecf8; --on-blue: #ffffff; --red: #c42b2b; --red-wash: #fbeceb; --ok: #2f7d4f;
  --serif: "Alegreya", Georgia, "Times New Roman", serif;
  --sans: "Alegreya Sans", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --tabbar: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161d1a; --sheet: #1d2622; --cell: #24302b; --ink: #e3e9e4; --graphite: #93a19a; --rule: #34423c;
    --blue: #93acff; --blue-wash: #222c45; --on-blue: #10162b; --red: #ff7a6e; --red-wash: #3a2422; --ok: #6fcf97;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #161d1a; --sheet: #1d2622; --cell: #24302b; --ink: #e3e9e4; --graphite: #93a19a; --rule: #34423c;
  --blue: #93acff; --blue-wash: #222c45; --on-blue: #10162b; --red: #ff7a6e; --red-wash: #3a2422; --ok: #6fcf97;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); font: 17px/1.45 var(--sans);
  background-color: var(--paper);
  background-image: linear-gradient(var(--cell) 1px, transparent 1px), linear-gradient(90deg, var(--cell) 1px, transparent 1px);
  background-size: 22px 22px; background-attachment: fixed;
  padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
}
body.noscroll { overflow: hidden; }
a { color: var(--blue); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 10px; }
h1 { font-size: 30px; } h2 { font-size: 22px; } h3 { font-size: 18px; margin-top: 16px; }
p { margin: 0 0 10px; }
.muted { color: var(--graphite); } .small { font-size: 15px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* ---------- шапка и вкладки */
.bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px 16px; background: var(--paper); border-bottom: 2px solid var(--ink); }
.brand { font: 700 22px/1 var(--serif); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--red); }
#nav { margin-left: auto; display: flex; gap: 4px; }
#nav a { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
#nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
#nav svg { width: 20px; height: 20px; flex: none; }
.role { font-size: 13px; color: var(--red); font-family: var(--hand); font-size: 18px; }
@media (max-width: 720px) {
  .bar { justify-content: center; padding: 8px 16px; }
  #nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; justify-content: space-around; gap: 0;
    height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding: 4px 4px env(safe-area-inset-bottom); background: var(--sheet); border-top: 2px solid var(--ink); }
  #nav a { flex: 1 1 0; min-width: 0; flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 12px; border-radius: 10px; }
  #nav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #nav a[aria-current="page"] { background: transparent; color: var(--blue); }
  #nav a[aria-current="page"] svg { stroke-width: 2.4; }
}
@media (min-width: 721px) { body { padding-bottom: 0; } }

main { max-width: 1040px; margin: 0 auto; padding: 18px 16px 40px; }

/* ---------- панели: лист бумаги поверх тетради */
.panel { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.panel.narrow { max-width: 420px; margin: 8vh auto; }
.panel.flat { border-color: var(--rule); }
.note { border-left: 4px solid var(--red); background: var(--red-wash); padding: 12px 14px; border-radius: 0 8px 8px 0; margin-bottom: 16px; }
.note.info { border-color: var(--blue); background: var(--blue-wash); }
.note ul { margin: 6px 0 0; padding-left: 20px; }
.bad { color: var(--red); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.page-head h1 { margin: 0; }
.cols2 { display: grid; gap: 0 16px; }
@media (min-width: 860px) { .cols2 { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ---------- кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 10px;
  background: var(--sheet); color: var(--ink); font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--paper); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--blue); padding-inline: 8px; }
.btn.quiet:hover { background: var(--blue-wash); }
.btn.danger { color: var(--red); border-color: var(--red); }
.btn.sm { min-height: 36px; padding: 4px 12px; font-size: 15px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- формы */
label { display: block; margin: 10px 0; font-size: 15px; color: var(--graphite); }
input, select, textarea { display: block; width: 100%; margin-top: 4px; min-height: 44px; padding: 9px 12px; border: 1.5px solid var(--rule); border-radius: 8px;
  background: var(--sheet); color: var(--ink); font: 17px/1.3 var(--sans); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--blue-wash); }
textarea { resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; color: var(--ink); margin: 8px 0; min-height: 36px; }
.check input { width: 22px; height: 22px; min-height: 0; margin: 0; flex: none; accent-color: var(--blue); }
fieldset { border: 0; border-top: 1.5px solid var(--rule); margin: 18px 0 0; padding: 12px 0 0; min-width: 0; }
legend { font: 700 18px var(--serif); padding-right: 8px; color: var(--ink); }
.g2, .g3, .g6 { display: grid; gap: 0 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g6 { grid-template-columns: repeat(6, 1fr); } }
.g6 { grid-template-columns: repeat(3, 1fr); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0; }
.seg label { margin: 0; position: relative; flex: none; }
.seg input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; margin: 0; min-height: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--rule); border-radius: 99px; color: var(--ink); cursor: pointer; font-size: 16px; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.drop { position: relative; display: flex; align-items: center; justify-content: center; min-height: 120px; border: 2px dashed var(--graphite); border-radius: 12px; text-align: center; color: var(--ink); padding: 16px; cursor: pointer; }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }

/* ---------- список героев */
.roster { list-style: none; margin: 0 0 20px; padding: 0; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 12px; overflow: hidden; }
.roster li + li { border-top: 1px solid var(--rule); }
.roster a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.roster a:hover { background: var(--paper); }
.who-owns { font: 700 15px var(--sans); color: var(--graphite); margin: 18px 0 6px 4px; }
.ava { width: 64px; height: 64px; border-radius: 10px; border: 1.5px solid var(--ink); background: var(--paper); overflow: hidden; display: flex; align-items: center; justify-content: center; font: 700 28px var(--serif); color: var(--graphite); }
.ava img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.r-name { font: 700 21px/1.15 var(--serif); }
.r-sub { color: var(--graphite); font-size: 15px; }
.r-warn { color: var(--red); font-size: 14px; }
.lvl { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--red); border-radius: 50% 46% 52% 48%; color: var(--red); font: 700 30px/1 var(--hand); transform: rotate(-4deg); }
.lvl small { display: block; font: 500 11px var(--sans); color: var(--graphite); transform: rotate(4deg); margin-top: -2px; }

/* ---------- страница героя */
.hero { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; margin-bottom: 16px; }
.hero .ava { width: 112px; height: 140px; border-radius: 12px; font-size: 48px; cursor: pointer; position: relative; padding: 0; }
.hero .ava .edit-ph { position: absolute; right: 4px; bottom: 4px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 8px; padding: 2px 6px; font: 600 12px var(--sans); color: var(--ink); }
.hero h1 { font-size: 32px; margin-bottom: 4px; overflow-wrap: anywhere; }
.hero .r-sub { font-size: 16px; }
.hero-lvl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.hero-lvl .lvl { width: 58px; height: 58px; font-size: 34px; }
@media (min-width: 640px) { .hero { grid-template-columns: 150px 1fr; } .hero .ava { width: 150px; height: 188px; } .hero h1 { font-size: 40px; } }

.dock { position: sticky; bottom: calc(var(--tabbar) + env(safe-area-inset-bottom) + 8px); z-index: 15; display: flex; gap: 8px; padding: 8px; margin: 0 -8px 16px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 14px; }
.dock .btn { flex: 1; }
@media (min-width: 721px) { .dock { position: static; background: transparent; border: 0; padding: 0; margin: 0 0 16px; } .dock .btn { flex: 0 1 auto; } }
.tools { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: -6px 0 16px; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.kpis div { padding: 8px 6px; text-align: center; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.kpis div:nth-child(3n) { border-right: 0; }
.kpis b { display: block; font: 700 26px/1.1 var(--serif); }
.kpis span { font-size: 13px; color: var(--graphite); }
@media (min-width: 640px) { .kpis { grid-template-columns: repeat(4, 1fr); } .kpis div:nth-child(3n) { border-right: 1px solid var(--rule); } .kpis div:nth-child(4n) { border-right: 0; } }

.abils { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
@media (min-width: 640px) { .abils { grid-template-columns: repeat(6, 1fr); } }
.ab { border: 1.5px solid var(--ink); border-radius: 10px; text-align: center; padding: 6px 4px 8px; }
.ab .nm { font-size: 13px; color: var(--graphite); }
.ab .md { font: 700 28px/1.1 var(--serif); }
.ab .sc { display: inline-block; min-width: 34px; border: 1px solid var(--rule); border-radius: 6px; font-size: 14px; }
.ab .sv { font-size: 13px; margin-top: 4px; color: var(--graphite); }
.ab .sv.prof { color: var(--ink); font-weight: 700; }
.ab .sv.prof::before { content: "● "; color: var(--blue); }

.skills { columns: 2 180px; column-gap: 18px; font-size: 15px; margin: 0; padding: 0; list-style: none; }
.skills li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dotted var(--rule); break-inside: avoid; }
.skills li.on { font-weight: 700; }
.skills li.on span:first-child::before { content: "● "; color: var(--blue); }
.skills li.exp span:first-child::before { content: "◆ "; color: var(--blue); }
.skills li:not(.on) { color: var(--graphite); }

.res { list-style: none; padding: 0; margin: 0 0 10px; }
.res li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--rule); }
.pips { letter-spacing: 2px; color: var(--blue); white-space: nowrap; }
.slots { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.slot { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--ink); border-radius: 8px; padding: 4px 10px; font-size: 15px; }
.slot b { font-family: var(--serif); }

.weap { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 12px; }
.weap td { padding: 7px 4px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.weap td:first-child { font-weight: 700; }

.spl { list-style: none; margin: 0 0 12px; padding: 0; }
.spl .lv { font: 700 16px var(--serif); margin: 12px 0 4px; }
.spl ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 12px; border: 1.5px solid var(--rule); border-radius: 99px; background: var(--sheet); color: var(--ink); font: 16px var(--sans); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--ink); }
.chip.unknown { border-style: dashed; cursor: default; }
.chip .x { border: 0; background: none; color: var(--graphite); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 0 0 4px; }

.hist { list-style: none; margin: 0; padding: 0; }
.hist li { border-bottom: 1px solid var(--rule); padding: 8px 0; }
.hist summary { cursor: pointer; }
.hist time { display: block; font-size: 13px; color: var(--graphite); }

/* ---------- правки красной ручкой */
.marks { list-style: none; margin: 8px 0 12px; padding: 0; }
.marks li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.marks .lb { font-weight: 600; }
.marks .wh { grid-column: 1; font-size: 13px; color: var(--graphite); }
.marks .val { grid-row: 1 / span 2; grid-column: 2; text-align: right; white-space: nowrap; }
.marks s { color: var(--graphite); text-decoration-color: var(--red); text-decoration-thickness: 2px; margin-right: 8px; }
.marks ins { text-decoration: none; color: var(--red); font: 700 26px/1 var(--hand); }
.marks li.auto ins { font-size: 22px; opacity: .8; }
.marks .long { grid-column: 1 / -1; grid-row: auto; text-align: left; white-space: normal; }
.marks .long ins { font-size: 22px; line-height: 1.15; }
.todo { margin: 6px 0 12px; padding-left: 22px; }
.todo li { margin: 4px 0; }

/* ---------- листы-диалоги (снизу на телефоне) */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; background: rgba(15, 22, 19, .5); }
.modal-card { position: relative; width: 100%; max-width: 760px; max-height: 94vh; max-height: 94dvh; overflow: auto; background: var(--sheet); border: 1.5px solid var(--ink); border-bottom: 0;
  border-radius: 18px 18px 0 0; padding: 22px 16px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; animation: rise .22s ease-out; }
.modal-card::before { content: ""; position: absolute; top: 8px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: var(--rule); }
.modal-card h2 { padding-right: 44px; }
@media (min-width: 721px) { .modal { align-items: center; padding: 24px; } .modal-card { border-radius: 16px; border-bottom: 1.5px solid var(--ink); padding: 24px; } .modal-card::before { display: none; } }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .modal-card { animation: none; } }
.x-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 28px; cursor: pointer; }
.x-close:hover { background: var(--paper); }
#picker { z-index: 60; }

/* ---------- справочник заклинаний */
.panel, .modal-card { min-width: 0; }
main { overflow-x: clip; }
.sp-tools { position: sticky; top: -22px; z-index: 2; background: var(--sheet); padding: 6px 0 8px; margin-top: -6px; border-bottom: 1.5px solid var(--rule); }
.seg.scroll { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.seg.scroll::-webkit-scrollbar { display: none; }
.seg.scroll span { white-space: nowrap; min-height: 36px; padding: 4px 12px; }
.sp-list { list-style: none; margin: 0; padding: 0; }
.sp-list > li { border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; }
.sp-list > li > .spell, .sp-list > li > .actions { grid-column: 1 / -1; }
.sp-add { width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--sheet); color: var(--ink); font: 700 24px/1 var(--sans); cursor: pointer; }
.sp-add.on { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.sp-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; padding: 10px 2px; border: 0; background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.sp-row b { font: 700 18px/1.2 var(--serif); overflow-wrap: anywhere; }
.sp-row .en { font-size: 13px; color: var(--graphite); }
.sp-row .tg { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 13px; color: var(--graphite); text-align: right; }
.sp-row.sel b { color: var(--blue); }
.sp-row.sel b::after { content: " ✓"; }
.sp-row.have { opacity: .55; }
.spell { padding: 4px 2px 14px; }
.spell .facts { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; font-size: 15px; margin: 6px 0 10px; }
.spell .facts dt { color: var(--graphite); }
.spell .facts dd { margin: 0; }
.spell .body p { margin: 0 0 8px; }
.spell .body b { font-family: var(--serif); }
.pick-bar { position: sticky; bottom: calc(-24px - env(safe-area-inset-bottom)); background: var(--sheet); padding: 10px 0 0; border-top: 1.5px solid var(--ink); display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.attrib { font-size: 13px; color: var(--graphite); margin-top: 16px; }

/* ---------- правка листа */
.tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 8px; padding: 0 16px; border-bottom: 1.5px solid var(--rule); }
.tabs-in button { flex: none; min-height: 44px; padding: 6px 12px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--graphite); font: 600 16px var(--sans); cursor: pointer; }
.tabs-in button[aria-selected="true"] { color: var(--ink); border-color: var(--red); }
.sk-row { display: grid; grid-template-columns: 1fr 112px 74px; gap: 8px; align-items: center; padding: 4px 0; border-bottom: 1px dotted var(--rule); }
.sk-row select, .sk-row input { margin: 0; min-height: 40px; padding: 6px 8px; font-size: 15px; }
.sk-row span { font-size: 15px; }
.w-row { border: 1.5px solid var(--rule); border-radius: 10px; padding: 4px 10px 8px; margin-bottom: 8px; }

/* ---------- таблицы мастера */
.users { list-style: none; margin: 0; padding: 0; }
.users li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.users .nm { font: 700 19px var(--serif); }
.users .meta { font-size: 14px; color: var(--graphite); }
.users .acts { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
@media (min-width: 640px) { .users .acts { grid-column: 2; grid-row: 1 / span 2; } }
.pw-out { font: 700 28px var(--hand); color: var(--red); user-select: all; }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar) + 20px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 80; max-width: calc(100% - 32px);
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 10px; font-size: 16px; }
.toast.bad { background: var(--red); color: #fff; }
@media (min-width: 721px) { .toast { bottom: 24px; } }
.review textarea { font-size: 15px; }
.thumb { width: 96px; height: 120px; object-fit: cover; object-position: top; border: 1.5px solid var(--ink); border-radius: 10px; }

/* ---------- лобби */
.code-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 2px dashed var(--ink); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; background: var(--sheet); }
.code { font: 700 30px/1.1 var(--serif); letter-spacing: .18em; color: var(--red); }
.code-sm { font: 700 15px var(--serif); letter-spacing: .12em; color: var(--graphite); }
.code-in { text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.roster a.lb-row { grid-template-columns: 1fr auto; }
.roster .lb-empty { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 12px 14px; }
.roster .kick { padding: 0 14px 8px 92px; margin-top: -8px; }
.page-tabs { margin: 0 0 16px; padding: 0; }
.page-tabs a { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-bottom: 3px solid transparent; color: var(--graphite); font: 600 17px var(--sans); text-decoration: none; }
.page-tabs a[aria-current="page"] { color: var(--ink); border-color: var(--red); }
.story { list-style: none; margin: 0; padding: 0; }
.story li { background: var(--sheet); border: 1.5px solid var(--rule); border-left: 4px solid var(--ink); border-radius: 0 10px 10px 0; padding: 12px 14px; margin-bottom: 12px; }
.story time { display: block; font: 700 21px/1.2 var(--hand); color: var(--red); margin-bottom: 4px; }
.st-text p { margin: 0 0 8px; overflow-wrap: anywhere; }
.st-text p:last-child { margin-bottom: 0; }
