:root{--forest:#173f35;--green:#246451;--sage:#e8f0e8;--mint:#f3f8f3;--line:#dfe9e2;--ink:#20352d;--muted:#718078;--paper:#fffdfa;--shadow:0 12px 34px rgba(24,60,48,.07)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Manrope,Arial,sans-serif;font-size:14px;line-height:1.5}.container{width:min(1180px,calc(100% - 48px));margin:auto}.site-shell{min-height:100vh;display:flex;flex-direction:column}.site-header{background:rgba(255,253,250,.93);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(15px)}.header__row{min-height:78px;display:flex;align-items:center;gap:42px}.brand{display:flex;align-items:center;gap:10px;color:var(--forest);text-decoration:none;white-space:nowrap}.brand__mark{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;overflow:hidden;background:transparent;padding:0;flex:none}.brand__mark img{display:block;width:100%;height:100%}.brand strong,.brand small{display:block}.brand strong{font-size:13px;line-height:1.1}.brand small{font-family:'Playfair Display',serif;font-size:12px;color:#688277}.main-nav{margin-right:auto;display:flex;align-items:center;gap:27px}.main-nav a,.site-footer a{color:#52665c;text-decoration:none;font-size:13px;font-weight:600}.main-nav a:first-child,.main-nav a:hover{color:var(--green)}.header__actions{display:flex;align-items:center;gap:8px}.icon-button,.menu-button{border:0;background:transparent;color:var(--forest);font-size:24px;cursor:pointer}.login-button,.button{border:0;border-radius:7px;background:var(--forest);color:white;padding:10px 17px;font:700 12px Manrope;cursor:pointer;text-decoration:none;display:inline-flex;gap:14px;align-items:center}.menu-button{display:none}.search-panel{border-top:1px solid var(--line);padding:12px 0}.search-panel .container{display:flex;gap:8px}.search-panel input{width:300px;max-width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 13px;font:inherit}.search-submit{border:0;border-radius:7px;background:var(--sage);color:var(--forest);font:700 12px Manrope;padding:0 16px}.app{flex:1;padding-top:38px;padding-bottom:72px}.hero{display:flex;justify-content:space-between;gap:30px;padding:45px 54px 46px;border-radius:13px;background:linear-gradient(112deg,#e5efe6,#f4f8ed 65%,#e0ecdf);min-height:276px;overflow:hidden;position:relative}.hero:after{content:'';position:absolute;width:330px;height:330px;border:1px solid rgba(35,99,80,.1);border-radius:50%;right:-130px;top:-130px}.eyebrow{text-transform:uppercase;letter-spacing:1.35px;font-size:10px;font-weight:800;color:#648477;margin:0 0 11px}.hero h1,.topic-page h1,.empty-state h1{font:700 31px/1.18 'Playfair Display',serif;margin:0;color:var(--forest);letter-spacing:-.6px}.hero h1 em{font-weight:600;color:#448167}.hero__text{color:#5d7267;max-width:510px;margin:14px 0 21px;font-size:13px}.hero__aside{z-index:1;position:relative;align-self:center;width:180px;border-left:1px solid rgba(51,95,73,.2);padding-left:26px;color:#587064}.hero__leaf{font-size:29px;color:#408269}.hero__aside strong,.hero__aside small{display:block}.hero__aside strong{color:var(--forest);font:700 24px 'Playfair Display',serif;margin-top:4px}.hero__aside small{font-size:11px}.hero__aside hr{border:0;border-top:1px solid rgba(51,95,73,.18);margin:15px 0}.hero__aside p{font-size:11px;margin:0}.hero__aside b{color:var(--forest)}.quick-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0 39px}.quick-links a{display:flex;align-items:center;gap:11px;background:white;padding:17px 18px;border:1px solid var(--line);border-radius:9px;box-shadow:0 3px 12px rgba(17,49,36,.025);color:var(--green);font-size:19px;text-decoration:none}.quick-links span{font-size:11px;color:var(--muted)}.quick-links b,.quick-links small{display:block}.quick-links b{color:var(--forest);font-size:12px}.quick-links em{font-style:normal;margin-left:auto;font-size:17px}.category-section{margin-top:28px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff;box-shadow:var(--shadow)}.category-section--featured{margin-top:20px}.category-heading{min-height:48px;display:grid;grid-template-columns:minmax(0,1fr) 72px 92px 238px;align-items:center;gap:16px;padding:0 25px;background:#f2f7f1;border-bottom:1px solid var(--line);color:#7b8a80;text-transform:uppercase;letter-spacing:.8px;font-size:9px;font-weight:800}.category-heading h1,.category-heading h2{font:700 15px 'Playfair Display',serif;color:var(--forest);letter-spacing:0;text-transform:none;margin:0}.category-section--featured .category-heading{background:#e8f1e6}.topic-row{display:grid;grid-template-columns:minmax(0,1fr) 72px 92px 238px;gap:16px;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line)}.topic-row:last-child{border-bottom:0}.topic-row__info{display:flex;gap:13px;align-items:flex-start;min-width:0}.forum-icon{border-radius:50%;width:29px;height:29px;display:grid;place-items:center;flex:none;background:#e6f0e8;color:#3d7b61;font-size:20px}.topic-row__title{font-weight:800;color:var(--forest);font-size:13px;text-decoration:none}.topic-row__title:hover,.last-post a:hover,.subtopics a:hover{color:#438267}.topic-row p{font-size:11px;color:var(--muted);margin:3px 0 0;line-height:1.55}.subtopics{color:#819087;font-size:10px;margin-top:7px}.subtopics a{color:#4e7665;text-decoration:none;margin-left:5px}.subtopics a:after{content:'·';color:#afbbb2;margin-left:5px}.topic-row__stat{margin:0;text-align:center}.topic-row__stat dt{display:none}.topic-row__stat dd{margin:0;color:#53675d;font-size:12px}.last-post span{display:none}.last-post a{font-size:11px;font-weight:700;color:#385d4d;text-decoration:none;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.last-post p{font-size:10px;margin-top:2px;white-space:nowrap}.last-post b{color:#477866}.breadcrumbs{display:flex;gap:9px;align-items:center;color:#8a988f;font-size:11px;margin:1px 0 20px}.breadcrumbs a{color:#57806e;text-decoration:none}.topic-page{border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow);overflow:hidden}.topic-page__head{padding:27px 29px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.topic-page h1{font-size:25px}.button--soft{background:var(--sage);color:var(--forest)}.post{display:grid;grid-template-columns:160px 1fr;border-bottom:1px solid var(--line)}.post aside{background:#f7faf6;padding:25px;text-align:center}.avatar{display:grid;place-items:center;margin:0 auto 8px;width:40px;height:40px;border-radius:50%;background:#d6e7d8;color:var(--forest);font-weight:800}.post aside b,.post aside small{display:block}.post aside b{font-size:12px}.post aside small{font-size:10px;color:var(--muted)}.post__body{padding:19px 28px;min-height:150px}.post__meta{display:flex;justify-content:space-between;color:#87948b;font-size:10px;border-bottom:1px solid #edf1ed;padding-bottom:13px}.post__meta a{color:#6f887c;text-decoration:none}.post__body>p{font-size:13px;line-height:1.75;color:#41554b;max-width:700px;margin:22px 0}.quote-button{border:0;background:none;color:#5b806f;font:700 10px Manrope;padding:0;cursor:pointer}.standalone{margin-top:0}.empty-state{text-align:center;padding:100px 20px}.empty-state>span{display:block;color:#589174;font-size:44px}.empty-state p{color:var(--muted)}.page-loader{min-height:400px;display:grid;place-content:center;gap:12px;color:#718078;text-align:center;font-size:12px}.page-loader i{display:block;width:28px;height:28px;border:3px solid #dbe8dd;border-top-color:#36765d;border-radius:50%;animation:spin .65s linear infinite;margin:auto}@keyframes spin{to{transform:rotate(360deg)}}.site-footer{margin-top:auto;background:#173f35;color:#c4d2c5;padding:28px 0 16px}.footer__row{display:flex;align-items:center;justify-content:space-between;gap:28px}.brand--footer{color:#f4f7f1}.brand--footer .brand__mark{background:#497c65}.brand--footer small{color:#a7c3ae}.site-footer p{font-size:11px;margin:0}.site-footer div:last-child{display:flex;gap:17px}.site-footer a{color:#d6e5d6;font-size:11px}.footer__copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:23px;padding-top:13px;font-size:10px;color:#91aa99}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:760px){.container{width:min(100% - 30px,580px)}.header__row{min-height:65px;gap:12px}.main-nav{display:none;position:absolute;left:0;right:0;top:65px;background:#fffdfa;border-bottom:1px solid var(--line);padding:18px 16px;box-shadow:var(--shadow)}.main-nav.is-open{display:grid;gap:15px}.menu-button{display:grid;gap:4px;padding:8px}.menu-button i{display:block;width:18px;border-top:2px solid var(--forest)}.login-button{display:inline-flex}.hero{padding:31px 25px;min-height:0}.hero h1{font-size:27px}.hero__aside{display:none}.quick-links{grid-template-columns:1fr;margin-bottom:27px}.category-heading{grid-template-columns:1fr;padding:13px 18px;min-height:45px}.category-heading span{display:none}.topic-row{grid-template-columns:minmax(0,1fr) 68px;padding:16px 18px;gap:10px}.topic-row__stat:nth-of-type(2){display:none}.topic-row__stat{grid-column:2;grid-row:1}.topic-row__stat dt{display:block;text-transform:uppercase;color:#94a097;font-size:8px;letter-spacing:.6px}.last-post{grid-column:1/-1;border-top:1px solid #edf1ed;padding-top:10px;margin-top:1px}.last-post span{display:block;text-transform:uppercase;letter-spacing:.6px;color:#96a39a;font-size:8px}.post{grid-template-columns:1fr}.post aside{padding:13px 20px;display:flex;align-items:center;text-align:left;gap:8px}.post aside small{margin-right:auto}.avatar{margin:0;width:31px;height:31px}.post__body{padding:17px 20px;min-height:0}.topic-page__head{padding:22px 20px}.topic-page h1{font-size:22px}.site-footer{padding-top:24px}.footer__row{align-items:flex-start;flex-direction:column;gap:17px}.brand strong{font-size:12px}.search-panel input{width:100%}}

/* Более широкая и читаемая таблица форума. */
body{font-size:16px}.container{width:min(1440px,calc(100% - 72px))}.main-nav a,.site-footer a{font-size:14px}.login-button,.button{font-size:14px;padding:12px 20px}.hero__text{font-size:16px}.quick-links span{font-size:13px}.quick-links b{font-size:15px}.category-section{margin-top:26px}.category-section--featured{border-color:#cfdfd2;box-shadow:0 10px 26px rgba(36,100,81,.08)}.category-heading,.topic-row{grid-template-columns:minmax(0,1fr) 112px 126px 290px;gap:0}.category-heading{min-height:54px;padding:0;background:#f2f7f1}.category-heading h1,.category-heading h2{padding:0 28px;font-size:19px}.category-heading span{height:100%;display:flex;align-items:center;justify-content:center;padding:0 14px;border-left:1px solid rgba(103,132,116,.16)}.category-section--featured .category-heading{background:#e7f1e7}.topic-row{padding:0;min-height:100px}.topic-row__info{padding:21px 28px}.topic-row__stat{height:100%;display:grid;place-items:center;border-left:1px solid rgba(103,132,116,.13)}.topic-row__stat dd{font-size:15px}.last-post{height:100%;padding:20px 22px;border-left:1px solid rgba(103,132,116,.13);display:flex;justify-content:center;flex-direction:column}.topic-row__title{font-size:16px}.topic-row p{font-size:13px}.subtopics{font-size:12px}.last-post a{font-size:13px}.last-post p{font-size:12px}.categories-divider{display:flex;align-items:center;gap:16px;margin:37px 0 4px;color:#628071;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:1px}.categories-divider:after{content:'';height:1px;flex:1;background:var(--line)}.categories-divider--regular{margin-top:46px}.topic-list__heading{display:grid;grid-template-columns:minmax(0,1fr) 126px 290px;min-height:48px;background:#f2f7f1;color:#7b8a80;text-transform:uppercase;letter-spacing:.8px;font-size:10px;font-weight:800}.topic-list__heading span{display:flex;align-items:center;justify-content:center;border-left:1px solid rgba(103,132,116,.16)}.topic-list__heading span:first-child{justify-content:flex-start;padding-left:28px;border-left:0}.topic-list .topic-row{grid-template-columns:minmax(0,1fr) 126px 290px}.topic-list .topic-row__stat:first-of-type{display:none}.topic-list .last-post{grid-column:3}.topic-list .topic-row__info{grid-column:1}.topic-list .topic-row__stat:nth-of-type(2){grid-column:2}.topic-list .topic-row__title{font-size:15px}.topic-list .topic-row__info{padding-top:19px;padding-bottom:19px}
@media(max-width:760px){body{font-size:15px}.container{width:min(100% - 30px,580px)}.category-heading{grid-template-columns:1fr;padding:13px 18px}.category-heading h1,.category-heading h2{padding:0;font-size:17px}.category-heading span,.topic-list__heading{display:none}.topic-row,.topic-list .topic-row{grid-template-columns:minmax(0,1fr) 76px;min-height:0}.topic-row__info{padding:16px 18px}.topic-row__stat{border-left:0}.topic-row__stat:nth-of-type(2){display:none}.last-post,.topic-list .last-post{grid-column:1/-1;grid-row:auto;height:auto;padding:10px 18px;border-left:0}.topic-row__title{font-size:15px}.topic-row p{font-size:12px}.categories-divider{margin-top:30px}.categories-divider--regular{margin-top:36px}}

/* Компактные «карточки» строк вместо непрерывной табличной сетки. */
.category-section{border-radius:14px;padding-bottom:6px;background:#f7faf7;box-shadow:0 8px 25px rgba(24,60,48,.055)}
/* Тот же горизонтальный inset, что и у .topic-table — иначе колонки съезжают. */
.category-heading{min-height:50px;border-bottom:0;border-radius:13px 13px 0 0;padding-left:8px;padding-right:8px}
.topic-table{padding:3px 8px 2px}
/* Тень вместо border: сетка строк той же ширины, что и заголовок. */
.topic-row{min-height:80px;margin:5px 0;border:0;border-radius:9px;background:rgba(255,255,255,.88);box-shadow:0 0 0 1px rgba(103,132,116,.13);overflow:hidden}
.topic-row:nth-child(even){background:#fcfdfb}
.topic-row__info{padding-top:14px;padding-bottom:14px}
.last-post{padding-top:13px;padding-bottom:13px}
.topic-row__stat,.last-post{border-left-color:rgba(103,132,116,.1)}
.topic-list{padding:3px 8px 7px;background:#f7faf7}
.topic-list__heading{margin:0;border-bottom:1px solid rgba(103,132,116,.1)}
.topic-list .topic-row{min-height:76px;margin:5px 0}
@media(max-width:760px){.category-section{padding-bottom:5px}.topic-table,.topic-list{padding-left:6px;padding-right:6px}.topic-row,.topic-list .topic-row{margin:4px 0;border-radius:8px}.topic-row__info{padding-top:12px;padding-bottom:12px}.last-post,.topic-list .last-post{padding-top:8px;padding-bottom:8px}}

/* Auth pages */
.auth-page{
  display:flex;
  justify-content:center;
  padding:18px 0 40px;
}
.auth-card{
  width:min(440px,100%);
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:34px 32px 28px;
}
.auth-card h1{
  font:700 28px/1.2 'Playfair Display',serif;
  color:var(--forest);
  margin:0 0 10px;
  letter-spacing:-.4px;
}
.auth-lead{
  margin:0 0 22px;
  color:var(--muted);
  font-size:14px;
}
.auth-form{
  display:grid;
  gap:14px;
}
.auth-field{
  display:grid;
  gap:6px;
  color:#4e675a;
  font-size:12px;
  font-weight:700;
}
.auth-field input{
  width:100%;
  border:1px solid var(--line);
  border-radius:8px;
  padding:12px 13px;
  font:500 14px Manrope,Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
}
.auth-field input:focus{
  outline:2px solid rgba(36,100,81,.25);
  border-color:#7aa890;
}
.auth-submit{
  width:100%;
  justify-content:center;
  margin-top:4px;
}
.auth-submit.is-busy{
  opacity:.7;
  pointer-events:none;
}
.auth-error{
  margin:0;
  color:#9b3b3b;
  background:#f8eaea;
  border:1px solid #efd0d0;
  border-radius:8px;
  padding:10px 12px;
  font-size:13px;
}
.auth-success{
  margin:0;
  color:#2f6a52;
  background:#e8f3ec;
  border:1px solid #cfe3d7;
  border-radius:8px;
  padding:10px 12px;
  font-size:13px;
}
.auth-links{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}
.auth-links a{
  color:#4f7a66;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.auth-links a:hover{
  color:var(--green);
}
@media(max-width:760px){
  .login-button{display:inline-flex}
  .auth-card{padding:26px 20px 22px}
  .auth-card h1{font-size:24px}
}

/* Discussions: compose, replies, pagination */
.topic-page__description {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.topic-page__closed {
  margin: 8px 0 0;
  color: #a15d3a;
  font-weight: 600;
}
.topic-page__login-hint {
  margin: 0;
  padding: 16px 29px 22px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.topic-page__login-hint .login-button {
  vertical-align: middle;
}
@media (max-width: 760px) {
  .topic-page__login-hint {
    padding: 14px 20px 18px;
  }
}
.compose {
  display: none;
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f7fbf7;
}
.compose.is-open {
  display: block;
}
.compose label,
.compose__field {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--forest);
}
.compose__label {
  font-weight: 600;
  color: var(--forest);
}
.compose textarea,
.compose input[type='text'],
.reply-form textarea,
.edit-form textarea,
.rich-editor__surface {
  width: 100%;
  resize: vertical;
  min-height: 88px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.compose input[type='text'] {
  resize: none;
  min-height: 0;
}
.rich-editor {
  width: 100%;
}
.rich-editor__surface {
  box-sizing: border-box;
  min-height: 88px;
  max-height: 320px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
  outline: none;
  /* Не наследовать жирный шрифт от .compose label */
  font-weight: 400;
}
.rich-editor__surface:focus {
  border-color: #7aa88a;
  box-shadow: 0 0 0 3px rgba(36, 100, 81, 0.12);
}
.rich-editor__surface:empty::before,
.rich-editor.is-empty .rich-editor__surface::before {
  content: attr(data-placeholder);
  color: #9aab9f;
  pointer-events: none;
}
.chats-composer .rich-editor {
  flex: 1;
  min-width: 0;
}
.chats-composer .rich-editor__surface {
  min-height: 42px;
  max-height: 160px;
  resize: none;
}
.rich-toolbar {
  position: absolute;
  z-index: 100;
  display: none;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 60, 48, 0.14);
}
.rich-toolbar.is-visible {
  display: flex;
}
.rich-toolbar__btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--forest);
  font: inherit;
  cursor: pointer;
}
.rich-toolbar__btn:hover,
.rich-toolbar__btn.is-active {
  background: #e7f1ea;
}
.post__text b,
.post__text strong,
.chat-bubble__text b,
.chat-bubble__text strong,
.rich-editor__surface b,
.rich-editor__surface strong {
  font-weight: 700;
}
.post__text i,
.post__text em,
.chat-bubble__text i,
.chat-bubble__text em,
.rich-editor__surface i,
.rich-editor__surface em {
  font-style: italic;
}
.post__text u,
.chat-bubble__text u,
.forum-page__description u,
.topic-page__description u,
.rich-editor__surface u {
  text-decoration: underline;
}
.post__text s,
.post__text strike,
.post__text del,
.chat-bubble__text s,
.chat-bubble__text strike,
.chat-bubble__text del,
.forum-page__description s,
.forum-page__description strike,
.forum-page__description del,
.topic-page__description s,
.topic-page__description strike,
.topic-page__description del,
.rich-editor__surface s,
.rich-editor__surface strike,
.rich-editor__surface del {
  text-decoration: line-through;
}
.forum-page__meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px 290px;
  align-items: start;
  gap: 0;
  margin: 0 0 12px;
  padding: 12px 8px 4px;
}
.forum-page__description {
  margin: 0;
  padding: 4px 20px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
}
.forum-page__meta-spacer {
  min-height: 1px;
}
.forum-page__toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  align-self: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 8px;
}
.new-topic-form,
.new-category-form {
  margin: 0 8px 12px;
}
.section-admin-toolbar {
  display: grid;
  /* Как у .category-heading / .topic-row */
  grid-template-columns: minmax(0, 1fr) 112px 126px 290px;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 10px 8px 6px;
}
.section-admin-toolbar__action {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 8px;
}
@media (max-width: 760px) {
  .section-admin-toolbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .section-admin-toolbar__spacer {
    display: none;
  }
  .section-admin-toolbar__action {
    justify-content: flex-start;
    padding: 0;
  }
}
.section-admin-toolbar + .new-category-form.is-open {
  margin-top: 0;
}
.section-admin-toolbar + .topic-table {
  padding-top: 0;
}
.topic-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}
.topic-page.is-editing-title .topic-page__head > div:first-child > h1,
.topic-page.is-editing-title [data-action="open-edit-title"] {
  display: none;
}
.topic-title-edit {
  margin: 0 0 4px;
  padding: 18px 20px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #f5f9f5;
}
.topic-title-edit[hidden] {
  display: none;
}
.topic-title-edit__field {
  display: grid;
  gap: 8px;
  max-width: 640px;
}
.topic-title-edit__label {
  font-weight: 700;
  color: var(--forest);
  font-size: 13px;
}
.topic-title-edit__input {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--forest);
  font: 600 17px/1.35 Manrope, Arial, sans-serif;
  outline: none;
}
.topic-title-edit__input:focus {
  border-color: #7aa88a;
  box-shadow: 0 0 0 3px rgba(36, 100, 81, 0.1);
}
.topic-title-edit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.topic-title-edit .compose__error {
  margin-top: 10px;
}
@media (max-width: 760px) {
  .topic-title-edit {
    padding: 16px 18px 14px;
  }
  .topic-title-edit__input {
    font-size: 16px;
  }
}
.acl-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #efe4c8;
  color: #7a5a12;
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}
.acl-panel {
  margin: 0 8px 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7faf7;
  overflow: visible;
}
.acl-panel__head h3 {
  margin: 0 0 4px;
  font-size: 16px;
}
.acl-panel__hint {
  margin: 0 0 12px;
  color: #667;
  font-size: 13px;
}
.acl-panel__search {
  position: relative;
  margin-bottom: 10px;
}
.acl-panel__search input,
.acl-create input[type='search'] {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.acl-panel__results {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 240px;
  overflow: auto;
  margin-top: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.acl-panel__members-label {
  margin: 12px 0 6px;
  font-size: 13px;
  color: #556;
}
.acl-panel__empty {
  margin: 0;
  padding: 8px 4px;
  color: #778;
  font-size: 13px;
  list-style: none;
}
.acl-result {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.acl-result:hover {
  background: #eef5ef;
}
.acl-result small {
  color: #778;
}
.acl-panel__members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.acl-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 10px;
  border-radius: 999px;
  background: #e4efe6;
  font-size: 13px;
}
.acl-chip__remove {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #566;
  padding: 0 2px;
}
.compose label.acl-toggle,
.acl-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  cursor: pointer;
}
.compose label.acl-toggle input[type='checkbox'],
.acl-toggle input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
}
.compose label.acl-toggle span,
.acl-toggle span {
  line-height: 1.2;
}
.acl-create {
  position: relative;
  margin-bottom: 8px;
}
@media (max-width: 760px) {
  .forum-page__meta {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px 12px 4px;
  }
  .forum-page__description {
    padding: 0 6px;
  }
  .forum-page__meta-spacer {
    display: none;
  }
  .forum-page__toolbar {
    justify-content: flex-start;
    justify-self: start;
    padding: 0 6px;
  }
}
.compose__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.compose__error {
  margin: 10px 0 0;
  color: #a33;
  font-size: 13px;
}
.post__text {
  white-space: pre-wrap;
  word-break: break-word;
}
.post__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.reply-form,
.edit-form {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f4f8f4;
  border: 1px solid var(--line);
}
.replies {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid #cfe0d4;
}
.replies__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0;
}
.replies__count,
.replies__empty,
.replies__loading {
  color: var(--muted);
  font-size: 13px;
}
.replies__list {
  display: grid;
  gap: 12px;
}
.replies .post {
  background: #fbfefb;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 8px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f7fbf7;
}
.pagination__meta {
  color: var(--muted);
  font-size: 13px;
}
.pagination__jump {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.pagination__jump input {
  width: 64px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.pagination__btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--forest);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  font: inherit;
}
.pagination__btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.post[data-depth='1'],
.post[data-depth='2'],
.post[data-depth='3'] {
  border-radius: 12px;
}
@media (max-width: 760px) {
  .replies {
    padding-left: 8px;
  }
  .pagination {
    gap: 8px;
  }
  .compose,
  .reply-form,
  .edit-form {
    padding: 12px;
  }
}

/* Quote blocks */
.post-quote {
  display: grid;
  gap: 4px;
  margin: 10px 0 12px;
  padding: 10px 12px;
  border-left: 3px solid #7eaa8f;
  border-radius: 10px;
  background: #eef6f0;
  color: inherit;
  text-decoration: none;
}
.post-quote__author {
  font-size: 12px;
  font-weight: 700;
  color: var(--forest);
  text-decoration: none;
}
.post-quote__author.user-link:hover {
  color: var(--green);
}
.post-quote__text {
  color: var(--muted);
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-word;
  text-decoration: none;
  cursor: pointer;
}
.post-quote__text:hover {
  color: var(--ink);
}
.quote-preview {
  margin-bottom: 10px;
}
.quote-preview__card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed #9fbfab;
  background: #f3faf5;
}
.quote-preview__card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.post--flash {
  outline: 2px solid #7eaa8f;
  outline-offset: 2px;
  transition: outline-color .8s ease;
}

.category-heading h2 a {
  color: inherit;
  text-decoration: none;
}
.category-heading h2 a:hover {
  color: var(--green);
}
.replies__empty {
  margin: 12px 16px 18px;
  color: var(--muted);
}

.category-section--topics .category-heading,
.category-section--topics .topic-row,
.category-section--topics .forum-page__meta {
  grid-template-columns: minmax(0, 1fr) 126px 290px;
}
.category-section--topics .category-heading__topics,
.category-section--topics .topic-row__stat:first-of-type {
  display: none;
}
@media (max-width: 760px) {
  .category-section--topics .category-heading,
  .category-section--topics .topic-row {
    grid-template-columns: minmax(0, 1fr) 76px;
  }
  .category-section--topics .forum-page__meta {
    grid-template-columns: 1fr;
  }
}

.header-user {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-user[hidden],
.login-button[hidden],
.header-user__avatar[hidden] {
  display: none !important;
}
.header-user__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  flex: none;
}
.header-user__name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--forest);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.header-user__name:hover {
  color: var(--green);
}
.header-user__logout {
  display: inline-grid;
  place-items: center;
  line-height: 1;
  padding: 6px;
}
.header-user__logout img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}
.avatar--image {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  border: 1px solid var(--line);
}
@media (max-width: 760px) {
  .avatar--image {
    margin: 0;
    width: 31px;
    height: 31px;
  }
}
.profile-page {
  display: flex;
  justify-content: center;
  padding: 8px 0 40px;
}
.profile-card {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 28px 30px 24px;
}
.profile-card__head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
}
.profile-card h1 {
  margin: 0;
  font: 700 26px/1.15 'Playfair Display', serif;
  color: var(--forest);
}
.profile-card__meta {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.profile-avatar {
  flex: none;
}
.profile-avatar__img,
.profile-avatar__fallback {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.profile-avatar__img {
  object-fit: cover;
  border: 1px solid var(--line);
}
.profile-avatar__fallback {
  font-size: 22px;
}
.profile-stats {
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 16px 18px;
  border-radius: 10px;
  background: #f7faf7;
}
.profile-stats div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.profile-stats dt {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.profile-stats dd {
  margin: 0;
  color: var(--forest);
  font-size: 22px;
  font-weight: 800;
}
.profile-stats__text {
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: right;
}
.user-link {
  color: inherit;
  text-decoration: none;
}
.user-link:hover {
  color: var(--green);
}
.user-link--avatar {
  display: inline-block;
}
.post aside .user-link b {
  display: block;
  font-size: 12px;
}
.last-post .user-link {
  color: #477866;
  font-weight: 700;
}
.last-post .user-link:hover {
  color: var(--green);
}
.profile-form {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}
.profile-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.profile-actions {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
@media (max-width: 760px) {
  .header-user__name {
    max-width: 96px;
    font-size: 12px;
  }
  .profile-card {
    padding: 22px 18px 18px;
  }
  .profile-card__head {
    align-items: flex-start;
  }
  .profile-card h1 {
    font-size: 22px;
  }
}

/* Rules page */
.rules-page {
  max-width: 760px;
  margin: 0 auto 48px;
  padding: 8px 0 24px;
}
.rules-page__header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.rules-page__header h1 {
  margin: 0 0 10px;
  color: var(--forest);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.rules-page__header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.rules-page__section {
  margin-bottom: 28px;
}
.rules-page__section h2 {
  margin: 0 0 12px;
  color: var(--forest);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.2px;
}
.rules-page__section p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
.rules-page__list {
  margin: 0;
  padding: 0 0 0 22px;
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
.rules-page__list li::marker {
  color: var(--green);
  font-weight: 700;
}
@media (max-width: 760px) {
  .rules-page {
    margin-bottom: 32px;
  }
  .rules-page__header h1 {
    font-size: 26px;
  }
  .rules-page__section h2 {
    font-size: 17px;
  }
}

/* Direct chats (Telegram-like) */
.chats-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  min-height: min(70vh, 720px);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.chats-sidebar {
  border-right: 1px solid var(--line);
  background: #f7faf7;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.chats-sidebar__head {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.chats-sidebar__head h1 {
  margin: 0;
  font: 700 20px/1.2 'Playfair Display', serif;
  color: var(--forest);
}
.chats-list {
  overflow-y: auto;
  flex: 1;
}
.chat-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(103, 132, 116, 0.12);
}
.chat-row:hover,
.chat-row.is-active {
  background: #eaf3ec;
}
.chat-row__avatar {
  width: 44px;
  height: 44px;
  margin: 0;
  flex: none;
}
.chat-row__body {
  min-width: 0;
  flex: 1;
}
.chat-row__top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.chat-row__top b {
  font-size: 14px;
  color: var(--forest);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-row__top span {
  font-size: 11px;
  color: var(--muted);
  flex: none;
}
.chat-row__bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  min-width: 0;
}
.chat-row__preview {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.chat-row__badge {
  flex: none;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
}
.chat-row__badge[hidden] {
  display: none;
}
.chats-thread {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: #f3f7f3;
}
.chats-thread--empty {
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 24px;
  text-align: center;
}
.chats-thread__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.chats-thread__back {
  display: none;
  color: var(--forest);
  text-decoration: none;
  font-size: 18px;
  padding: 4px 8px;
}
.chats-thread__peer {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.chats-thread__peer b,
.chats-thread__peer small {
  display: block;
}
.chats-thread__peer b {
  color: var(--forest);
  font-size: 14px;
}
.chats-thread__peer small {
  color: var(--muted);
  font-size: 11px;
}
.chats-thread__peer .avatar,
.chats-thread__peer .avatar--image {
  width: 36px;
  height: 36px;
  margin: 0;
}
.chats-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-bubble {
  max-width: min(75%, 480px);
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  padding: 8px 12px 6px;
  box-shadow: 0 1px 2px rgba(24, 60, 48, 0.04);
}
.chat-bubble--own {
  align-self: flex-end;
  background: #dcefdc;
  border-color: #c5dfc8;
  border-radius: 14px 14px 4px 14px;
}
.chat-bubble__text {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}
.chat-bubble__time {
  display: block;
  text-align: right;
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}
.chats-composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
  align-items: end;
}
.chats-composer textarea,
.chats-composer .rich-editor {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
}
.chats-composer textarea {
  resize: none;
  min-height: 44px;
  max-height: 140px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
}
.chats-composer .rich-editor__surface {
  min-height: 44px;
  max-height: 140px;
}
.chats-composer .button {
  grid-column: 2;
  grid-row: 1;
}
.chats-composer .compose__error {
  grid-column: 1 / -1;
  margin: 0;
}
.chats-empty {
  margin: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
@media (max-width: 760px) {
  .chats-layout {
    grid-template-columns: 1fr;
    min-height: 70vh;
  }
  .chats-layout:has([data-chat-thread]) .chats-sidebar {
    display: none;
  }
  .chats-layout:not(:has([data-chat-thread])) .chats-thread--empty {
    display: none;
  }
  .chats-thread__back {
    display: inline-flex;
  }
}

/* Contact page */
.contact-page {
  display: flex;
  justify-content: center;
  padding: 4px 0 40px;
}
.contact-card {
  width: min(860px, 100%);
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  grid-template-areas:
    'media body'
    'name actions';
  column-gap: 28px;
  row-gap: 12px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.contact-card__media {
  grid-area: media;
}
.contact-card__body {
  grid-area: body;
}
.contact-page__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
  background: #e8f0e8;
}
.contact-page__photo--placeholder {
  display: grid;
  place-items: center;
  font-size: 48px;
  color: #7aa890;
}
.contact-card__body h1 {
  margin: 0 0 14px;
  font: 700 28px/1.2 'Playfair Display', serif;
  color: var(--forest);
}
.contact-card__name {
  grid-area: name;
  margin: 0;
  color: #2f4a3c;
  font: 600 16px/1.35 'Source Sans 3', sans-serif;
  text-align: center;
  align-self: center;
}
.contact-card__name-surname,
.contact-card__name-given {
  display: block;
}
.contact-card__bio {
  margin: 0;
  color: #41554b;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.contact-card__actions {
  grid-area: actions;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-self: center;
  gap: 10px;
}
.contact-card__btn {
  justify-content: center;
  min-width: 140px;
}
.contact-card__btn--telegram {
  background: #2a7a5c;
}
.contact-card__btn--whatsapp {
  background: #e8f3ec;
}
@media (max-width: 760px) {
  .contact-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      'media'
      'name'
      'body'
      'actions';
    padding: 22px 18px;
    gap: 18px;
  }
  .contact-card__media {
    max-width: 220px;
    margin: 0 auto;
  }
  .contact-card__body h1 {
    font-size: 24px;
    text-align: center;
  }
  .contact-card__body .eyebrow {
    text-align: center;
  }
  .contact-card__bio {
    text-align: center;
  }
}

/* Support page */
.support-page {
  display: flex;
  justify-content: center;
  padding: 4px 0 40px;
}
.support-card {
  width: min(720px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}
.support-card h1 {
  margin: 0 0 12px;
  font: 700 28px/1.2 'Playfair Display', serif;
  color: var(--forest);
}
.support-card__lead {
  margin: 0 0 16px;
  color: #41554b;
  font-size: 15px;
  line-height: 1.6;
}
.support-page__hint {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f3f8f3;
  color: #41554b;
  font-size: 14px;
  line-height: 1.5;
}
.support-page__hint--warn {
  background: #fff4e8;
  color: #7a4a1a;
}
.support-form {
  display: grid;
  gap: 14px;
}
.support-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 160px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.support-form input[readonly] {
  background: #f3f8f3;
  color: #41554b;
}
.support-form__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .support-card {
    padding: 22px 18px;
  }
  .support-card h1 {
    font-size: 24px;
  }
}

.nav-chats {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.header-notify {
  position: relative;
}
.notify-toggle {
  position: relative;
}
.notify-toggle__icon {
  font-size: 18px;
  line-height: 1;
}
.header-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #d64545;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fffdfa;
}
.nav-chats .header-badge {
  top: -8px;
  right: -14px;
}
.header-badge[hidden] {
  display: none !important;
}
.notify-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  width: min(360px, calc(100vw - 32px));
  max-height: min(420px, 70vh);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdfa;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.notify-panel[hidden] {
  display: none !important;
}
.notify-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #f5f9f5;
}
.notify-panel__head strong {
  color: var(--forest);
  font-size: 14px;
}
.notify-panel__clear {
  padding: 6px 10px;
  font-size: 12px;
}
.notify-panel__list {
  overflow: auto;
  padding: 6px;
}
.notify-panel__empty {
  margin: 18px 12px;
  text-align: center;
  color: var(--muted);
}
.notify-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.notify-item:hover {
  background: #eef5ef;
}
.notify-item__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.notify-item__text {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.4;
}
.notify-item__meta {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}
.notify-item__dismiss {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a9790;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.notify-item__dismiss:hover {
  background: #f0e4e4;
  color: #a33;
}
@media (max-width: 760px) {
  .notify-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 70px;
    width: auto;
  }
}
