/* Редактор истории. Подключается после v2.css. */
@keyframes spin {
 to {
  transform: rotate(360deg)
 }
}

@keyframes wv {
 50% {
  transform: scaleY(.35)
 }
}

@keyframes pulse {
 50% {
  opacity: .35
 }
}

@keyframes caret {
 50% {
  opacity: 0
 }
}

* {
 box-sizing: border-box
}

[hidden] {
 display: none !important
}

body {
 margin: 0;
 background: var(--paper);
 color: var(--text);
 font: 400 var(--t-m)/1.42 var(--sans)
}

a {
 color: inherit
}

button,
input,
textarea {
 font: inherit;
 color: inherit
}

button {
 cursor: pointer
}

:focus-visible {
 outline: 2px solid var(--ink);
 outline-offset: 2px
}

svg {
 width: 20px;
 height: 20px;
 fill: none;
 stroke: currentColor;
 stroke-width: 1.6;
 stroke-linecap: round;
 stroke-linejoin: round;
 flex: none
}

::placeholder {
 opacity: 1
}

.top-links {
 display: flex;
 gap: 24px;
 align-items: center;
 font-size: var(--t-s)
}

.top-links a {
 text-decoration: none;
 border-bottom: 1px solid var(--field)
}

.account,
.subnav .caption {
 color: var(--muted)
}

.subnav,
.subnav a {
 min-height: 44px;
 align-items: center
}

.subnav {
 display: flex;
 gap: 28px;
 padding: 0 var(--gutter);
 border-top: 1px solid var(--line);
 font-size: var(--t-s)
}

.subnav .caption {
 font-size: var(--t-caps);
 letter-spacing: .1em;
 text-transform: uppercase
}

.subnav a {
 text-decoration: none;
 display: inline-flex;
 border-bottom: 2px solid transparent
}

.subnav a[aria-current=page] {
 border-bottom-color: var(--positive);
 color: var(--positive)
}

.page {
 padding: 32px var(--gutter) 120px
}

.inner {
 max-width: var(--layout-width);
 margin: 0 auto
}

.back,
.bar {
 align-items: center
}

.back {
 display: inline-flex;
 min-height: 44px;
 font-size: var(--t-s);
 border-bottom: 1px solid var(--field);
 text-decoration: none
}

.bar {
 position: sticky;
 top: 0;
 z-index: 5;
 background: var(--paper);
 border-bottom: 1px solid var(--line);
 margin: 12px 0 40px;
 padding: 10px 0;
 display: flex;
 flex-wrap: wrap;
 gap: 12px 20px
}

.pub-state,
.save-state {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-size: var(--t-s);
 color: var(--neutral)
}

.pub-state[data-tone=success] {
 color: var(--positive)
}

.pub-state[data-tone=warning] {
 color: var(--warning)
}

.pub-state[data-tone=negative] {
 color: var(--negative)
}

.save-state {
 color: var(--muted)
}

.save-state[data-tone=warning] {
 color: var(--warning)
}

.save-state[data-tone=negative] {
 color: var(--negative)
}

.save-state[data-tone=success] {
 color: var(--positive)
}

.bar-actions {
 margin-left: auto;
 display: flex;
 gap: 10px;
 flex-wrap: wrap
}

.spinner {
 width: 14px;
 height: 14px;
 border: 2px solid var(--neutral-edge);
 border-top-color: var(--neutral);
 border-radius: 50%;
 animation: spin .8s linear infinite
}

@media (prefers-reduced-motion:reduce) {
 .spinner {
  animation: none;
  border-top-color: var(--neutral-edge)
 }
}



















.icon-btn:disabled {
 color: var(--disabled-text);
 cursor: default
}













.layout {
 display: grid;
 grid-template-columns: minmax(0, 1fr) 288px;
 gap: 56px;
 align-items: start
}

.write {
 max-width: 700px
}





.title-input {
 width: 100%;
 border: 0;
 border-bottom: 1px solid var(--field);
 background: 0 0;
 font: 400 var(--t-xl)/1.12 var(--serif);
 letter-spacing: 0;
 padding: 6px 0 10px;
 outline-offset: 3px
}

.title-input::placeholder {
 font-style: normal;
 font-weight: 300;
 color: var(--hint)
}

.lead-input {
 width: 100%;
 border: 1px solid var(--line);
 background: var(--surface);
 padding: 12px;
 line-height: 1.42;
 resize: vertical;
 min-height: 96px
}

.count {
 display: block;
 margin-top: 10px;
 font-size: var(--t-xs);
 color: var(--muted);
 text-align: right
}

.lead-input[aria-invalid=true],
.title-input[aria-invalid=true] {
 border-color: var(--negative-edge);
 background: var(--negative-soft)
}

.field-error {
 margin: 10px 0 0;
 font-size: var(--t-s);
 color: var(--negative)
}

.tools {
 display: flex;
 flex-wrap: wrap;
 gap: 2px;
 align-items: center
}

.tools .sep {
 width: 1px;
 height: 24px;
 background: var(--line);
 margin: 0 8px
}

.body-edit {
 font: 400 var(--t-l)/1.6 var(--sans);
 outline: 0
}

.body-edit:empty::before {
 content: attr(data-placeholder);
 color: var(--muted)
}

.body-edit h2 {
 font: 500 var(--t-xl)/1.1 var(--serif);
 margin: 1.2em 0 .4em
}

.body-edit blockquote {
 margin: 1.4em 0;
 padding: 4px 0 4px 28px;
 border-left: 3px solid var(--neutral-edge);
 font: italic 400 var(--t-xl)/1.4 var(--serif);
 color: var(--ink);
 border-left-color: var(--accent-ochre)
}

.body-edit blockquote p {
 margin: 0
}

.body-edit p {
 margin: 0 0 1em
}

.body-edit a {
 border-bottom: 1px solid var(--field);
 text-decoration: none
}

.body-edit figure {
 margin: 1.4em 0
}

.body-edit figure img,
.photo img {
 display: block;
 width: 100%;
 object-fit: cover
}

.body-edit figure img {
 max-height: 420px
}

.body-edit figcaption {
 font: 300 var(--t-s)/1.5 var(--sans);
 color: var(--muted);
 margin-top: 8px
}

.hint {
 font-size: var(--t-s);
 color: var(--muted);
 margin: 10px 0 0
}

.photos {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
 gap: 20px 16px
}

.photo {
 margin: 0
}

.photo img {
 aspect-ratio: 4/3
}

.photo-row {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 4px;
 margin-top: 6px;
 font-size: var(--t-s)
}

.cover-pick {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 min-height: 44px
}

.empty,

.empty,
.rail h2 {
 color: var(--muted)
}

.empty {
 padding: 20px;
 font-size: var(--t-s)
}

.rail {
 position: sticky;
 top: 96px;
 display: grid;
 gap: 36px
}

.rail section {
 border-top: 1px solid var(--line);
 padding-top: 16px
}

.rail h2 {
 margin: 0 0 12px;
 font: 500 var(--t-caps)/1.3 var(--sans);
 letter-spacing: .1em;
 text-transform: uppercase
}

.hero-name {
 margin: 0
}

.hero-meta {
 color: var(--muted);
 font-size: var(--t-s);
 margin: 6px 0 12px
}

.link,
.search {
 border-bottom: 1px solid var(--field)
}



.search {
 display: flex;
 align-items: center;
 gap: 8px;
 margin-bottom: 6px
}

.search input {
 flex: 1;
 min-width: 0;
 border: 0;
 background: 0 0;
 padding: 10px 12px;
 min-height: 44px;
 outline-offset: 3px
}

.checks,
.mentions,
.results {
 list-style: none;
 margin: 0;
 padding: 0
}

.mentions li,
.results button,
.results li {
 min-height: 44px;
 display: flex;
 justify-content: space-between;
 gap: 8px
}

.mentions li,
.results li {
 align-items: center;
 border-bottom: 1px solid var(--line);
 font-size: var(--t-s)
}

.results button {
 width: 100%;
 text-align: left;
 border: 0;
 background: 0 0;
 padding: 0
}

.photo img,
.results button:hover {
 background: var(--hover)
}

.mentions .locked {
 color: var(--muted);
 font-size: var(--t-xs)
}

.checks {
 font-size: var(--t-s);
 display: grid;
 gap: 10px
}

.checks li {
 display: flex;
 gap: 10px;
 align-items: flex-start
}

.checks .ok {
 color: var(--positive)
}

.checks .wait {
 color: var(--warning)
}

.checks .no {
 color: var(--muted)
}

.preview {
 max-width: 700px
}

.preview .ptitle,
.preview h1 {
 font: 400 var(--t-3xl)/.96 var(--serif);
 margin: 0 0 16px
}

.preview .by,
.preview .lead {
 color: var(--muted);
 margin: 0 0 32px
}

.preview .lead {
 font: 400 var(--t-l)/1.5 var(--sans)
}

.preview .by {
 font-size: var(--t-s)
}

.preview .cover {
 display: block;
 width: 100%;
 max-height: 440px;
 object-fit: cover;
 margin-bottom: 32px
}






.skeleton {
 height: 20px;
 background: var(--hover);
 margin-bottom: 16px
}

@media (max-width:900px) {
 .layout {
  grid-template-columns: 1fr;
  gap: 40px
 }

 .rail {
  position: static
 }

 .write {
  max-width: none
 }

 .top-links .account {
  display: none
 }

 .subnav {
  gap: 20px;
  overflow-x: auto
 }
}

.page .inner {
 max-width: 700px
}

.body-edit figure,
.hero-field {
 position: relative
}

.hero-input {
 width: 100%;
 min-height: 44px;
 border: 0;
 border-bottom: 1px solid var(--field);
 background: 0 0;
 padding: 10px 0;
 font-size: var(--t-m);
 outline-offset: 3px
}

.hero-chosen,
.suggest li button {
 border-bottom: 1px solid var(--line);
 display: flex
}

.hero-chosen {
 align-items: baseline;
 gap: 12px;
 padding: 6px 0 10px
}

.hero-chosen span {
 color: var(--muted);
 font-size: var(--t-s)
}

.hero-chosen button {
 margin-left: auto
}

.suggest {
 list-style: none;
 margin: 0;
 padding: 0;
 border: 1px solid var(--line);
 background: var(--surface);
 position: absolute;
 left: 0;
 right: 0;
 z-index: 4
}

.suggest li button {
 width: 100%;
 min-height: 44px;
 padding: 0 12px;
 border: 0;
 background: 0 0;
 justify-content: space-between;
 align-items: center;
 text-align: left
}

.suggest li:last-child button {
 border-bottom: 0
}

.suggest li button:hover,
.suggest li button[aria-selected=true] {
 background: var(--hover);
 background: var(--surface)
}

.suggest .new {
 color: var(--positive)
}

.tools {
 position: sticky;
 top: 57px;
 background: var(--paper);
 z-index: 3
}

.tools .grow {
 flex: 1
}

.done {
 border: 0;
 border-top: 1px solid var(--positive);
 border-bottom: 1px solid var(--line);
 padding: 16px 0 !important;
 background: none;
 color: var(--ink);
 margin: 0 0 32px;
 display: flex;
 gap: 16px;
 align-items: center;
 flex-wrap: wrap
}





.newperson input,
.seg button {
 background: 0 0;
 border: 0;
 min-height: 44px
}





@media (max-width:600px) {
 .tools {
  top: 0
 }
}

.voice {
 margin: 0 0 20px;
 display: grid;
 gap: 12px
}

.rec-list {
 list-style: none;
 padding: 0
}

.rec-list li,
.recorder {
 display: flex;
 align-items: center
}

.rec-list li {
 gap: 12px;
 min-height: 44px;
 border-bottom: 1px solid var(--line);
 font-size: var(--t-s)
}

.rec-list .t,
.recorder #clock {
 font-variant-numeric: tabular-nums
}

.rec-list .t {
 color: var(--muted)
}

.rec-list .st {
 margin-left: auto;
 color: var(--positive);
 font-size: var(--t-s)
}

.recorder {
 gap: 14px;
 flex-wrap: wrap;
 background: var(--negative-soft)
}

.rec-dot,
.wave i {
 background: var(--negative)
}

.rec-dot {
 width: 10px;
 height: 10px;
 border-radius: 50%
}

.recorder #clock {
 font-size: var(--t-l);
 min-width: 44px
}

.newperson .row,
.wave {
 display: flex;
 align-items: center
}

.wave {
 gap: 2px;
 height: 28px;
 flex: 1;
 min-width: 80px
}

.wave i {
 display: block;
 width: 3px;
 height: var(--h);
 animation: wv .9s ease-in-out infinite;
 animation-delay: var(--d)
}

.recorder.paused .wave i {
 animation: none;
 background: var(--neutral-edge)
}

@media (prefers-reduced-motion:reduce) {
 .wave i {
  animation: none
 }
}

.voice-row {
 display: flex;
 gap: 10px;
 flex-wrap: wrap;
 align-items: center
}

.newperson {
 border: 0;
 border-top: 1px solid var(--line);
 background: none;
 display: grid
}

.newperson label {
 font-size: var(--t-caps);
 letter-spacing: .1em;
 text-transform: uppercase;
 color: var(--muted);
 margin-top: 0
}

.newperson input {
 border: 0;
 background: none;
 border-bottom: 1px solid var(--field);
 padding: 10px 0;
 font-size: var(--t-l)
}

.newperson .row {
 gap: 10px
}



.title-input:focus-visible {
 outline: 0;
 border-bottom: 2px solid var(--ink);
 padding-bottom: 9px
}

.hero-input:focus-visible,
.search input:focus-visible {
 outline: 0;
 border-bottom: 2px solid var(--ink);
 padding-bottom: 9px
}

.newperson input:focus-visible {
 border-color: var(--ink)
}

.lead-input:focus-visible {
 outline: 0;
 border-color: var(--ink)
}

.body-edit:focus-visible {
 outline: 0
}

.icon-btn.txt {
 font: 500 var(--t-s)/1 var(--sans);
 letter-spacing: .04em
}

.recorder {
 border: 1px solid var(--line);
 background: var(--surface)
}

.rec-dot,
.vwave i.on,
.wave i {
 background: var(--ink)
}

.vwave {
 display: flex;
 align-items: center;
 gap: 2px;
 height: 28px;
 flex: 1;
 min-width: 80px
}

.vwave i {
 display: block;
 width: 3px;
 height: var(--h);
 background: var(--neutral-edge)
}



@media (max-width:600px) {
 .rec-list li.vm {
  flex-wrap: wrap
 }

 .vwave {
  order: 3;
  flex-basis: 100%
 }
}

















.newperson,
.suggest {
 border: 0;
 border-top: 1px solid var(--ink)
}

.suggest {
 background: var(--paper);
 border-bottom: 1px solid var(--line)
}

.newperson {
 background: 0 0;
 padding: 20px 0 0;
 grid-template-columns: 2fr 1fr;
 gap: 6px 28px
}

.newperson input:focus-visible {
 outline: 0;
 border-bottom: 2px solid var(--ink);
 padding-bottom: 9px
}

.newperson .hint,
.newperson .row {
 grid-column: 1/-1
}

.newperson .row {
 margin-top: 14px
}

.recorder {
 border-top: 1px solid var(--ink);
 border-bottom: 1px solid var(--line);
 padding: 10px 0
}

.rec-list li.vm:hover {
 background: var(--surface)
}

.done,
.lead-input,
.recorder {
 background: 0 0;
 border: 0
}

.done {
 border-top: 1px solid var(--positive);
 border-bottom: 1px solid var(--line);
 padding: 14px 0
}

.lead-input {
 border-bottom: 1px solid var(--field)
}

.subnav {
 display: none
}

.btn.rec {
 background: var(--record);
 border-color: var(--record);
 color: #fff
}

.btn.rec:hover:not(:disabled) {
 background: var(--record-dark);
 border-color: var(--record-dark)
}

.btn.rec.again {
 background: 0 0;
 color: var(--record)
}

.btn.rec.again:hover:not(:disabled) {
 background: var(--surface);
 border-color: var(--record-dark);
 color: var(--record-dark)
}

.rec-dot {
 background: var(--record);
 animation: pulse 1.2s ease-in-out infinite
}

.recorder.paused .rec-dot {
 animation: none;
 background: var(--neutral-edge)
}

@media (prefers-reduced-motion:reduce) {
 .rec-dot {
  animation: none
 }
}

.btn.assist {
 color: var(--assist);
 border-color: var(--assist);
 min-height: 44px
}

.btn.assist:hover:not(:disabled) {
 background: var(--surface);
 border-color: var(--assist)
}

svg.fill {
 fill: currentColor;
 stroke: none
}

.btn.ai {
 background: var(--ai);
 border-color: var(--ai);
 color: #fff
}

.btn.ai:hover:not(:disabled) {
 background: var(--ai-dark);
 border-color: var(--ai-dark)
}

.btn.ai svg {
 width: 18px;
 height: 18px
}

.rec-list {
 margin: 4px 0 0
}

.rec-list li.vm {
 padding: 14px 0;
 min-height: 72px;
 gap: 14px
}



.body-edit,
.tools {
 border: 1px solid var(--field)
}

.body-edit {
 border-top: 0;
 padding: 24px 22px;
 min-height: 320px
}

.body-edit:empty::after {
 content: "";
 display: inline-block;
 width: 2px;
 height: 1.1em;
 margin-left: 3px;
 background: var(--ink);
 vertical-align: text-bottom;
 animation: caret 1.1s steps(1) infinite
}

@media (prefers-reduced-motion:reduce) {
 .body-edit:empty::after {
  animation: none
 }
}

.body-edit:focus-visible {
 outline: 2px solid var(--ink);
 outline-offset: 0
}

.preview .body-edit {
 border: 0;
 min-height: 0;
 padding: 0
}

.btn.ai.sq {
 width: 44px;
 min-height: 44px;
 padding: 0;
 justify-content: center;
 position: relative;
 margin: 0 0 0 auto
}

.btn.ai.sq svg {
 width: 20px;
 height: 20px
}


.btn.ai.sq:focus-visible::after,

.tools .grow {
 display: none
}

.page-head {
 margin: 8px 0 24px
}

.page-head h1 {
 font: 400 var(--t-3xl)/.9 var(--serif);
 margin: 0 0 16px
}

.page-head p {
 margin: 0;
 color: var(--muted);
 font-size: var(--t-m)
}

.fig-ctl {
 position: absolute;
 top: 8px;
 right: 8px;
 display: flex;
 background: var(--paper);
 border: 1px solid var(--line);
 opacity: 0;
 transition: opacity .12s
}

.body-edit figure:focus-within .fig-ctl,
.body-edit figure:hover .fig-ctl {
 opacity: 1
}

@media (hover:none) {
 .fig-ctl {
  opacity: 1
 }
}

.chips {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin: 0 0 4px
}

.chip {
 display: inline-flex;
 align-items: center;
 gap: 0;
 border: 1px solid var(--field);
 padding: 0 0 0 12px;
 min-height: 36px;
 font-size: var(--t-s)
}

.chip .icon-btn {
 width: 36px;
 height: 36px
}

.preview .kicker,
.preview .mentioned span,
.preview .sign span {
 letter-spacing: .1em;
 text-transform: uppercase;
 color: var(--muted)
}

.preview .kicker {
 font-size: var(--t-xs);
 margin: 0 0 14px
}

.preview .kicker a,
.preview .mentioned a {
 border-bottom: 1px solid var(--field);
 text-decoration: none;
 color: var(--ink)
}

.preview .sign {
 text-align: right;
 margin: 36px 0 0
}

.preview .mentioned span,
.preview .sign span {
 display: block
}

.preview .sign span {
 font: 400 var(--t-xs)/1.42 var(--sans);
 font-style: normal
}

.preview .mentioned {
 margin: 32px 0 0;
 padding-top: 16px;
 border-top: 1px solid var(--line);
 font-size: var(--t-m);
 line-height: 1.5
}

.preview .mentioned span {
 font-size: var(--t-xs)
}



:is(h1, h2, h3) {
 line-height: .9 !important
}

.page>.inner {
 max-width: var(--layout-width);
 margin: 0 auto
}

.page>.inner>* {
 max-width: calc((200% + 48px)/3)
}

.preview {
 margin: 0
}

@media (max-width:900px) {
 .page>.inner>* {
  max-width: none
 }
}

.tools {
 padding: 4px
}

.write {
 margin: 0
}

.layout {
 grid-template-columns: 1fr
}

::placeholder {
 font-family: var(--sans) !important;
 font-style: normal !important;
 font-weight: 400 !important;
 color: var(--hint)
}

.body-edit:empty::before {
 font: 400 var(--t-l)/1.6 var(--sans) !important
}

.hero-chosen b,
.hero-name {
 font: 500 var(--t-l)/1.3 var(--sans) !important
}

.preview .sign {
 font: 400 var(--t-m)/1.4 var(--sans) !important
}

.body-edit,
.body-edit li,
.body-edit p,
.preview .body-edit,
.preview p {
 font-family: var(--sans)
}

.title-input::placeholder {
 font-family: var(--serif) !important
}

.body-edit blockquote,
.body-edit h2,
.title-input {
 font-weight: 500
}

html[data-theme=dark] :is(.title-input, .body-edit h2, .body-edit blockquote, .preview .ptitle, .page-head h1) {
 font-weight: 600
}

.body-edit blockquote,
.body-edit blockquote *,
.preview blockquote,
.preview blockquote * {
 font-family: var(--serif) !important;
 font-style: italic !important;
 font-size: var(--t-xl)
}/* подсказки в полях: тонкий курсив, бледные */
::placeholder{font-style:italic!important;font-weight:300!important;color:var(--hint)!important;opacity:1}
.body-edit:empty::before{font-style:italic!important;font-weight:300!important;color:var(--hint)!important}
.has-crumbs .page{padding-top:0}.has-crumbs .page .page-head{margin-top:16px;padding-top:0}

/* ===== значки: без фона, линия снизу растет слева направо, значок оживает ===== */
.icon-btn,.theme{background:transparent!important;position:relative}
.icon-btn:not(:disabled):hover,.icon-btn:focus-visible,.theme:hover,.theme:focus-visible{background:transparent!important;color:var(--ink)}
.icon-btn::before,.theme::before{content:"";position:absolute;left:12px;right:12px;bottom:5px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s ease;pointer-events:none}
.icon-btn:not(:disabled):hover::before,.icon-btn:focus-visible::before,.theme:hover::before,.theme:focus-visible::before,.icon-btn[aria-pressed=true]::before{transform:scaleX(1)}
.icon-btn svg,.theme svg{transition:transform .25s ease}
.icon-btn.edit:hover svg,.icon-btn.edit:focus-visible svg{transform:rotate(-14deg) translateY(-1px)}
#copy:hover svg,#copy:focus-visible svg{transform:rotate(-20deg)}
#sharepic:hover svg,#sharepic:focus-visible svg{transform:scale(1.1)}
.icon-btn.del:hover svg,.icon-btn.del:focus-visible svg{transform:translateY(-2px);color:var(--negative)}
.theme:hover svg,.theme:focus-visible svg{transform:rotate(-20deg)}
.icon-btn:focus-visible,.theme:focus-visible{outline:0}
/* подсказка: светлая с тонкой рамкой */
[data-tip]::after{background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line)}
.btn.ai[data-tip]::after{background:var(--paper)!important}
@media(prefers-reduced-motion:reduce){.icon-btn svg,.theme svg,.icon-btn::before,.theme::before{transition:none}}
::placeholder,.body-edit:empty::before,[data-placeholder]:empty::before,.title-input::placeholder{font:italic 300 var(--t-s)/1.4 var(--sans)!important;color:var(--hint)!important;opacity:1;letter-spacing:0!important}
.field>label,.label{color:var(--text)!important;font-weight:500}
/* ===== при создании и правке истории засечек нет, кроме цитаты. Засечки появляются на выходе: в «Читать», предпросмотре и на опубликованной странице ===== */
.title-input,.title-input::placeholder,.field .body-edit,.field .body-edit *:not(blockquote):not(blockquote *){font-family:var(--sans)!important}
.title-input{font-size:var(--t-xl)!important;font-weight:400!important;line-height:1.25!important}
.field .body-edit h2{font-size:var(--t-xl)!important;font-weight:500!important;line-height:1.2!important}
.field .body-edit blockquote,.field .body-edit blockquote *{font-family:var(--serif)!important;font-style:italic!important;font-size:var(--t-xl)!important;font-weight:400!important;line-height:1.4!important}
.title-input::placeholder{font:italic 300 var(--t-s)/1.4 var(--sans)!important}

#materials-input {
 max-width: 100%;
}

/* узкий экран: поля нового человека в одну колонку, без горизонтальной прокрутки */
@media(max-width:700px){.newperson{grid-template-columns:minmax(0,1fr)!important}.newperson>*{min-width:0;grid-column:1!important}}
