:root {
  --blue: #3463f6;
  --blue-dark: #2147d5;
  --text: #111827;
  --muted: #667085;
  --line: #e7ebf3;
  --soft: #f6f8fc;
  --surface: #ffffff;
  --shadow: 0 22px 70px rgba(25, 35, 68, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.section-shell {
  width: min(1210px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  min-height: 72px;
  padding: 0 max(24px, calc((100vw - 1210px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span {
  color: var(--blue);
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 24px;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  color: #141b2d;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.desktop-nav ul,
.footer-column ul {
  display: flex;
  gap: clamp(12px, 1.5vw, 24px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.desktop-nav li,
.footer-column li {
  margin: 0;
  list-style: none;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.mobile-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: #111827;
}

.mobile-bottom-nav {
  display: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.header-actions,
.hero-buttons,
.article-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-actions {
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  min-width: 0;
}

.header-search {
  display: flex;
  align-items: center;
  flex: 0 1 218px;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faff;
}

.header-search input {
  width: 118px;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-weight: 500;
}

.header-search input:focus {
  outline: 0;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(52, 99, 246, 0.28);
}

.header-submit-button {
  padding: 0 16px;
  white-space: nowrap;
}

.primary-button,
.ghost-button,
.icon-button,
.action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.primary-button {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(52, 99, 246, 0.18);
}

.primary-button:hover {
  background: var(--blue-dark);
}

.header-search .search-submit {
  min-height: 34px;
  min-width: 0;
  padding: 0 11px;
  border-color: transparent;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 1px 4px rgba(18, 35, 90, 0.06);
}

.header-auth-button.ghost-button {
  min-height: 38px;
  padding: 0 8px;
  border-color: transparent;
  background: transparent;
  color: #344054;
  box-shadow: none;
  white-space: nowrap;
}

.header-auth-button.ghost-button:hover {
  color: var(--blue);
  background: #f3f6ff;
}

.mobile-profile-card {
  display: none;
}

.profile-button {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 50%;
  background: #f1f5f9;
}

.profile-button img,
.profile-button .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.hero,
.stories,
.articles-panel,
.side-card,
.promo-card,
.full-article,
.form-section,
.publish-hero,
.footer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 38px;
  min-height: 512px;
  margin-top: 26px;
  padding: 16px;
  border-radius: 10px;
  background: linear-gradient(110deg, #ffffff 0%, #f7f9ff 45%, #ffffff 100%);
  box-shadow: 0 18px 80px rgba(18, 35, 90, 0.06);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 18px;
}

.hero h1,
.publish-hero h1,
.full-article h1 {
  margin: 28px 0 18px;
  font-size: clamp(36px, 4.1vw, 50px);
  line-height: 1.1;
  font-weight: 800;
}

.hero h1 .highlight {
  color: var(--blue);
}

.hero p,
.publish-hero p,
.lead {
  color: #344054;
  font-size: 18px;
  line-height: 1.65;
}

.soft-label,
.tag {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 999px;
  background: #eef3ff;
  color: #34445f;
  font-size: 12px;
  font-weight: 600;
}

.tag.mini {
  padding: 4px 9px;
  font-size: 11px;
}

.hero-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 8px;
}

.hero-office {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 26% 24%, rgba(52, 99, 246, 0.2), transparent 26%),
    linear-gradient(135deg, #eef4ff 0%, #ffffff 48%, #e7ecf5 100%);
}

.hero-office::before,
.hero-office::after {
  content: "";
  position: absolute;
  border-radius: 8px;
  pointer-events: none;
}

.hero-office::before {
  right: 58px;
  bottom: 62px;
  width: 62%;
  height: 42%;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.13) 1px, transparent 1px) 0 0 / 54px 100%,
    linear-gradient(180deg, rgba(17, 24, 39, 0.12) 1px, transparent 1px) 0 0 / 100% 54px,
    rgba(255, 255, 255, 0.52);
  transform: perspective(500px) rotateX(58deg) rotateZ(-4deg);
}

.hero-office::after {
  right: 90px;
  bottom: 148px;
  width: 210px;
  height: 86px;
  border: 12px solid rgba(17, 24, 39, 0.2);
  border-bottom-width: 20px;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 38px 34px rgba(25, 35, 68, 0.14);
}

.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 206px;
  padding: 21px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.float-card strong {
  font-size: 15px;
  line-height: 1.5;
}

.float-card span {
  color: var(--muted);
  font-size: 12px;
}

.join-card {
  top: 76px;
  left: 24px;
}

.chart-card {
  top: 112px;
  right: 34px;
  width: 220px;
}

.mini-chart {
  width: 100%;
  height: 92px;
  margin-top: 6px;
  overflow: visible;
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(52, 99, 246, 0) 25%, rgba(52, 99, 246, 0.1) 100%);
}

.mini-chart path {
  fill: none;
  stroke: #4f73ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.mini-chart circle {
  fill: #4f73ff;
}

.stories {
  margin-top: 22px;
  padding: 24px 34px 23px;
  box-shadow: 0 13px 55px rgba(18, 35, 90, 0.06);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.stories-row {
  display: grid;
  grid-auto-columns: 108px;
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding-top: 18px;
}

.home-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 6px;
}

.home-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-weight: 800;
  cursor: pointer;
}

.home-tabs button.active {
  border-color: var(--blue);
  background: #eef3ff;
  color: var(--blue);
}

.home-tab-panel {
  display: none;
}

.home-tab-panel.active {
  display: block;
}

.story {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.story-title {
  display: -webkit-box;
  max-width: 104px;
  max-height: 32px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.story-ring {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3663f8, #bc55ff, #ff8b4a);
}

.story-ring img {
  width: 68px;
  height: 68px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

.story-placeholder {
  width: 68px;
  height: 68px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #3463f6, #c45cff, #ff8b4a);
}

.content-grid,
.article-layout,
.publish-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 374px;
  gap: 28px;
  margin-top: 34px;
}

.archive-page {
  padding-top: 28px;
}

.archive-hero {
  margin-bottom: 18px;
}

.format-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}

.sort-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}

.format-filter a,
.sort-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}

.sort-filter a {
  min-height: 34px;
  font-size: 14px;
}

.format-filter a.active,
.sort-filter a.active {
  border-color: var(--blue);
  background: #eef3ff;
  color: var(--blue);
}

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: end;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.search-panel input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
}

.results-summary {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.archive-panel,
.archive-empty {
  margin-top: 0;
}

.stories-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.story-archive-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  font-weight: 900;
}

.story-archive-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: #eef3ff;
}

.story-archive-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-archive-card__title {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--ink);
  text-decoration: none;
}

.story-archive-card__title:hover {
  color: var(--blue);
}

.story-archive-card .article-engagement--card {
  margin-top: 0;
}

.story-archive-card .article-reaction-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-archive-card .article-reaction-pill {
  justify-content: center;
  padding: 0 6px;
}

.story-archive-card .article-action-row {
  align-items: flex-start;
}

.story-archive-card .article-action-metrics {
  gap: 10px;
}

.pagination {
  margin-top: 28px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #344054;
  font-size: 14px;
  font-weight: 900;
}

.pagination .page-numbers.current {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.pagination a.page-numbers:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pagination a.page-numbers.next,
.pagination a.page-numbers.prev {
  min-width: 0;
  padding-inline: 16px;
}

.category-showcase {
  margin-top: 36px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.category-block {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.category-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-block h3 {
  margin: 0;
  font-size: 20px;
}

.category-block-head a,
.category-link span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.category-link {
  display: grid;
  gap: 5px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.category-link strong {
  line-height: 1.35;
}

.articles-panel,
.side-card,
.promo-card,
.full-article,
.form-section,
.publish-hero,
.footer {
  padding: 28px;
}

.promo-card.advertising {
  background: linear-gradient(135deg, #f8fbff, #fff7ed);
}

.publish-page .publish-hero,
.publish-page .form-section,
.publish-page .side-card {
  padding: 24px;
}

.publish-page .side-card h2 {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
}

.publish-page .side-card p {
  color: #344054;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.45;
}

.publish-page .publish-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 800;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.publish-page .publish-hero p {
  max-width: 820px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.publish-page .publish-layout {
  margin-top: 24px;
}

.author-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.author-card img,
.avatar-placeholder {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3463f6, #f45b9b);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.author-card > div span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.author-card .avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.author-card button {
  grid-column: 2;
  justify-self: start;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-weight: 800;
  cursor: pointer;
}

.article-card {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.article-image {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 128px;
  border-radius: 6px;
  aspect-ratio: 2 / 1.12;
  background: linear-gradient(135deg, #eef3ff, #f7eaff);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  color: var(--blue);
  font-weight: 800;
}

.article-meta,
.breadcrumbs,
.article-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.article-engagement {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.article-reaction-pills,
.article-action-row,
.article-action-metrics {
  display: flex;
  align-items: center;
}

.article-reaction-pills {
  gap: 8px;
  flex-wrap: wrap;
}

.article-reaction-picker {
  position: relative;
  min-width: 0;
}

.article-reaction-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #f7f8fb;
  color: #475467;
  font-size: 15px;
}

.article-reaction-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  min-width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f7f8fb;
  color: #475467;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.article-reaction-more:hover,
.article-reaction-picker.is-open .article-reaction-more {
  background: #edf2ff;
  color: var(--blue);
}

.article-reaction-menu {
  position: absolute;
  z-index: 30;
  left: 0;
  top: calc(100% + 8px);
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  align-content: start;
  grid-auto-rows: min-content;
  gap: 8px;
  width: max-content;
  max-width: min(340px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 56px -28px rgba(28, 45, 110, 0.5);
}

.article-reaction-menu[hidden] {
  display: none;
}

.reaction-sheet-head,
.reaction-sheet-backdrop {
  display: none;
}

.article-reaction-menu .article-reaction-pill {
  justify-content: flex-start;
  width: 100%;
  border: 0;
}

.article-reaction-pill .reaction-emoji {
  font-size: 18px;
  line-height: 1;
}

.article-reaction-pill svg {
  width: 18px;
  height: 18px;
  color: #ff5c7a;
}

.article-action-row {
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.article-action-metrics {
  flex-wrap: wrap;
  gap: 18px;
  min-width: 0;
}

.article-action-metrics span,
.article-action-metrics a,
.article-action-metrics button,
.article-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  color: #667085;
}

.article-action-metrics svg,
.article-views svg {
  width: 18px;
  height: 18px;
  color: #667085;
}

.article-views {
  flex: 0 0 auto;
  margin-left: auto;
}

.article-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.42;
}

.article-body p {
  margin: 9px 0 16px;
  color: #354054;
  font-size: 14px;
  line-height: 1.6;
}

.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 8px;
  background: #eef3ff;
  object-fit: cover;
  object-position: center;
}

.article-source-link {
  margin: 12px 0 22px;
}

.detail-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faff;
}

.detail-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.article-actions {
  margin: 18px 0 30px;
}

.article-engagement--single {
  padding-top: 4px;
}

.article-engagement--card {
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
}

.article-engagement--card .article-reaction-pills {
  gap: 6px;
}

.article-engagement--card .article-reaction-pill {
  min-height: 26px;
  padding: 0 9px;
  border: 0;
  font-size: 12px;
  cursor: pointer;
}

.article-engagement--card .article-reaction-more {
  width: 26px;
  min-width: 26px;
  height: 26px;
  font-size: 15px;
}

.article-engagement--card .article-reaction-menu {
  left: auto;
  right: 0;
  top: auto;
  bottom: calc(100% + 8px);
  grid-template-columns: repeat(5, minmax(34px, 1fr));
  gap: 6px;
  width: auto;
  max-width: min(260px, calc(100vw - 28px));
  padding: 8px;
  border-radius: 16px;
}

.article-engagement--card .article-reaction-menu .article-reaction-pill {
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 34px;
  padding: 0 8px;
  background: #fff;
}

.article-engagement--card .article-reaction-menu .article-reaction-pill:hover {
  background: #f7f8fb;
}

.article-engagement--card .reaction-emoji,
.article-engagement--card .article-reaction-menu .reaction-emoji {
  font-size: 15px;
}

.article-engagement--card .article-reaction-menu .reaction-count {
  font-size: 12px;
}

.article-engagement--card .article-action-row {
  gap: 10px;
}

.article-engagement--card .article-action-metrics {
  gap: 12px;
}

.article-engagement--card .article-action-link {
  min-height: 24px;
  font-size: 12px;
}

.article-engagement--card .article-action-link svg,
.article-engagement--card .article-views svg {
  width: 15px;
  height: 15px;
}

.article-engagement--card .article-reaction-pill:hover,
.article-engagement--card .article-action-link:hover {
  color: var(--blue);
}

.article-engagement--card .article-reaction-pill.is-active,
.article-engagement--card .reaction-heart.is-active {
  background: #fff0f5;
  color: #c0265a;
}

.article-engagement--card .article-action-metrics .reaction-heart.is-active {
  background: transparent;
}

.article-engagement--single .article-reaction-pill {
  border: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(20, 32, 54, 0.04);
}

.article-engagement--single .article-reaction-pill:hover {
  background: #f0f2f7;
}

.article-engagement--single .article-reaction-pill.is-active {
  background: #fff0f5;
  color: #c0265a;
  box-shadow: inset 0 0 0 1px rgba(217, 45, 107, 0.2);
}

.article-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #667085;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.article-action-link:hover {
  color: var(--blue);
}

.article-action-link.is-shared {
  color: var(--blue);
}

.article-action-link.is-error {
  color: #b42318;
}

.article-action-link .action-icon {
  display: inline-flex;
  align-items: center;
  color: currentColor;
}

.article-action-link .action-icon svg {
  width: 20px;
  height: 20px;
}

.share-status {
  max-width: 128px;
  overflow: hidden;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.share-toast {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: min(420px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid #d6e0fb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px -32px rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.share-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.share-toast strong {
  color: #101828;
  font-size: 14px;
  line-height: 1.3;
}

.share-toast input {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fbff;
  color: #344054;
  font: inherit;
  font-size: 13px;
}

.share-toast button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #1d4ed8;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 900px) {
  html.reaction-sheet-open,
  body.reaction-sheet-open {
    overflow: hidden;
  }

  .share-toast {
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .article-engagement--single .article-reaction-pills {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .article-engagement--single .article-reaction-pills::-webkit-scrollbar {
    display: none;
  }

  .article-engagement--single .article-reaction-pill {
    flex: 0 0 auto;
  }

  .article-reaction-picker.is-open {
    z-index: 230;
  }

  .reaction-sheet-backdrop {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: block;
    width: 100%;
    min-height: 100%;
    border: 0;
    background: rgba(16, 24, 40, 0.38);
    cursor: pointer;
  }

  .reaction-sheet-backdrop[hidden] {
    display: none;
  }

  .reaction-sheet-head {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 2px 2px 8px;
  }

  .reaction-sheet-title {
    color: #101828;
    font-size: 18px;
    font-weight: 900;
  }

  .reaction-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #dbe4f2;
    border-radius: 999px;
    background: #fff;
    color: #344054;
    font: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }

  .article-reaction-menu.is-reaction-sheet,
  .article-reaction-picker.is-open .article-reaction-menu,
  .article-engagement--card .article-reaction-picker.is-open .article-reaction-menu {
    position: fixed;
    z-index: 240;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: none;
    max-height: min(74dvh, 560px);
    padding: 18px max(18px, env(safe-area-inset-left, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-right, 0px));
    border: 0;
    border-radius: 26px 26px 0 0;
    background: #fff;
    box-shadow: 0 -28px 70px -38px rgba(16, 24, 40, 0.8);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .article-reaction-menu.is-reaction-sheet .article-reaction-pill,
  .article-reaction-picker.is-open .article-reaction-menu .article-reaction-pill,
  .article-engagement--card .article-reaction-picker.is-open .article-reaction-menu .article-reaction-pill {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 76px;
    padding: 10px 6px;
    border-radius: 18px;
    background: #f7f9fc;
    color: #475467;
    font-size: 14px;
  }

  .article-reaction-menu.is-reaction-sheet .article-reaction-pill.is-active,
  .article-reaction-picker.is-open .article-reaction-menu .article-reaction-pill.is-active,
  .article-engagement--card .article-reaction-picker.is-open .article-reaction-menu .article-reaction-pill.is-active {
    background: #fff0f5;
    color: #c0265a;
    box-shadow: inset 0 0 0 1px rgba(217, 45, 107, 0.18);
  }

  .article-reaction-menu.is-reaction-sheet .reaction-emoji,
  .article-reaction-picker.is-open .article-reaction-menu .reaction-emoji,
  .article-engagement--card .article-reaction-picker.is-open .article-reaction-menu .reaction-emoji {
    font-size: 28px;
  }

  .article-reaction-menu.is-reaction-sheet .reaction-count,
  .article-reaction-picker.is-open .article-reaction-menu .reaction-count,
  .article-engagement--card .article-reaction-picker.is-open .article-reaction-menu .reaction-count {
    font-size: 14px;
    font-weight: 900;
  }
}

.article-text {
  font-size: 17px;
  line-height: 1.8;
}

.article-text h2,
.article-text h3 {
  margin-top: 1.8em;
}

.comments {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.related {
  display: grid;
  gap: 14px;
}

.related a {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #1d2939;
  line-height: 1.4;
}

.comment-list {
  display: grid;
  gap: 14px;
  padding-left: 0;
  list-style: none;
}

.comment-body {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.comment-avatar img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  align-items: baseline;
  color: #667085;
  font-size: 14px;
  line-height: 1.4;
}

.comment-meta strong {
  color: #101828;
}

.comment-awaiting-moderation {
  margin: 8px 0;
  color: #7a4b00;
  font-size: 14px;
  font-weight: 700;
}

.comment-text p {
  margin: 8px 0 0;
}

.comment-report {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-top: 10px;
  padding: 0;
  border: 0;
  color: #667085;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.comment-report:hover {
  color: #1d2939;
}

.comment-report.is-sent {
  color: #12805c;
  cursor: default;
}

.comment-report:disabled {
  opacity: 0.75;
}

.comment-user-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
}

.comment-user-card__avatar,
.comment-user-card .avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.comment-user-card__body {
  display: grid;
  flex: 1 1 auto;
  gap: 2px;
  min-width: 0;
}

.comment-user-card__body span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.comment-user-card__body strong {
  overflow: hidden;
  color: #101828;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-user-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.comment-user-card__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #1d2939;
  font-size: 13px;
  font-weight: 800;
}

.comment-user-card__actions a:first-child {
  border-color: rgba(52, 99, 246, 0.22);
  color: var(--accent);
  background: rgba(52, 99, 246, 0.08);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.comment-form .is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.comment-form-error {
  margin: 4px 0 12px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #b42318;
  background: #fff5f5;
  font-size: 14px;
  font-weight: 700;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #344054;
  font-size: 14px;
  line-height: 1.45;
}

.comment-form-cookies-consent input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.comment-submit {
  min-height: 40px;
}

.publish-form {
  display: grid;
  gap: 14px;
}

.publish-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: #1d2939;
  font-size: 14px;
  font-weight: 600;
}

.form-section h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.25;
}

.form-section-note {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-row {
  display: grid;
  gap: 14px;
}

.form-row.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publish-form input,
.publish-form select,
.publish-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #101828;
  font-weight: 500;
  outline: 0;
}

.publish-form input::placeholder,
.publish-form textarea::placeholder {
  color: #98a2b3;
  font-weight: 400;
}

.publish-form input[type="file"] {
  display: flex;
  align-items: center;
  padding: 10px 13px;
  cursor: pointer;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.publisher-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.publisher-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-height: 116px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.publisher-option:has(input:checked) {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 101, 255, 0.1);
}

.publisher-option input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  padding: 0;
}

.publisher-option span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.publisher-option strong {
  color: #101828;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.25;
}

.publisher-option em {
  overflow: hidden;
  color: #344054;
  font-size: 14px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.publisher-option small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}

.publisher-option-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 3px;
  color: var(--blue);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
}

.publisher-option-link:hover {
  text-decoration: underline;
}

.publisher-option.is-disabled {
  color: var(--muted);
  background: #f8fbff;
  cursor: not-allowed;
  opacity: 0.72;
}

.custom-select {
  position: relative;
  width: 100%;
}

.publish-form select.custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select-toggle {
  position: relative;
  width: 100%;
  min-height: 44px;
  padding: 0 42px 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #101828;
  background: #fff;
  text-align: left;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.custom-select-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 9px;
  height: 9px;
  border-right: 2px solid #101828;
  border-bottom: 2px solid #101828;
  transform: translateY(-65%) rotate(45deg);
}

.custom-select.is-open .custom-select-toggle {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 101, 255, 0.12);
}

.custom-select.is-open .custom-select-toggle::after {
  transform: translateY(-30%) rotate(225deg);
}

.custom-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  overflow: auto;
  max-height: 240px;
  padding: 6px;
  border: 1px solid #d7deed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
}

.custom-select.is-open .custom-select-menu {
  display: grid;
  gap: 2px;
}

.custom-select-option {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  color: #101828;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
}

.custom-select-option:hover,
.custom-select-option.is-selected {
  color: var(--blue);
  background: #eef3ff;
}

.date-picker-field {
  position: relative;
  display: block;
}

.date-picker-field::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 16px;
  height: 16px;
  border: 2px solid #101828;
  border-radius: 3px;
  transform: translateY(-50%);
  pointer-events: none;
}

.date-picker-field::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(50% - 11px);
  right: 18px;
  width: 8px;
  height: 3px;
  border-right: 2px solid #101828;
  border-left: 2px solid #101828;
  pointer-events: none;
}

.date-picker-field .js-date-picker {
  padding-right: 42px;
  cursor: pointer;
}

.date-picker-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  width: min(320px, 100%);
  padding: 14px;
  border: 1px solid #d7deed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.16);
}

.date-picker-field.is-open .date-picker-popover {
  display: grid;
  gap: 12px;
}

.date-picker-head {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 8px;
  align-items: center;
}

.date-picker-head strong {
  text-align: center;
  text-transform: capitalize;
  font-size: 15px;
  font-weight: 750;
}

.date-picker-head button,
.date-picker-day {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #101828;
  font: inherit;
  cursor: pointer;
}

.date-picker-head button {
  min-height: 34px;
  font-size: 24px;
  line-height: 1;
}

.date-picker-head button:hover,
.date-picker-day:hover {
  background: #eef3ff;
  color: var(--blue);
}

.date-picker-weekdays,
.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.date-picker-weekdays span {
  color: var(--muted);
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.date-picker-day {
  min-height: 34px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.date-picker-day.is-muted {
  color: #98a2b3;
}

.date-picker-day.is-selected {
  background: var(--blue);
  color: #fff;
}

.date-picker-day:disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.publish-form textarea {
  min-height: 130px;
  padding-top: 12px;
}

.publish-form .article-content-field {
  min-height: 220px;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tariff-option {
  display: grid !important;
  gap: 8px !important;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tariff-option input {
  width: 18px;
  min-height: 18px;
}

.tariff-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.tariff-price del {
  color: #8a95a8;
  font-size: 14px;
  font-weight: 800;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}

.tariff-option b,
.tariff-price b {
  font-size: 22px;
}

.inline-field {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
}

.inline-field input {
  width: 18px;
  min-height: 18px;
}

.consent-field {
  align-items: flex-start !important;
  color: #536174;
  font-size: 13px;
  line-height: 1.45;
}

.consent-field input {
  flex: 0 0 18px;
  margin-top: 2px;
}

.consent-field a {
  color: var(--blue);
  font-weight: 700;
}

.consent-field--compact {
  font-size: 12.5px;
}

.form-actions .consent-field {
  flex-basis: 100%;
}

.comment-consent {
  margin: 12px 0 16px;
}

.newsletter .consent-field {
  margin-top: 8px;
  font-size: 12px;
}

.legal-page {
  padding-top: 28px;
}

.legal-document {
  max-width: 860px;
  margin: 0 auto;
}

.legal-document h2 {
  margin-top: 30px;
}

.legal-content > *:first-child {
  margin-top: 0;
}

.cookie-consent {
  position: fixed;
  inset: auto 18px 18px;
  z-index: 1000;
  pointer-events: none;
}

.cookie-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
  pointer-events: auto;
}

.cookie-banner__content {
  display: grid;
  gap: 7px;
}

.cookie-banner__content strong,
.cookie-modal__head h2 {
  color: var(--text);
  font-weight: 800;
}

.cookie-banner__content p,
.cookie-modal__panel > p,
.cookie-option em {
  margin: 0;
  color: #536174;
  line-height: 1.45;
}

.cookie-banner__content a {
  color: var(--blue);
  font-weight: 700;
}

.cookie-banner__actions,
.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
}

.cookie-banner__actions .primary-button,
.cookie-banner__actions .ghost-button,
.cookie-modal__actions .primary-button,
.cookie-modal__actions .ghost-button {
  min-height: 40px;
  padding: 0 16px;
  white-space: nowrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.42);
  pointer-events: auto;
}

.cookie-modal[hidden] {
  display: none;
}

.cookie-modal__panel {
  width: min(100%, 620px);
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
}

.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-modal__head h2 {
  margin: 0;
  font-size: 24px;
}

.cookie-modal__close {
  width: 38px;
  height: 38px;
  font-size: 24px;
  line-height: 1;
}

.cookie-options {
  display: grid;
  gap: 10px;
}

.cookie-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
}

.cookie-option input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.cookie-option span {
  display: grid;
  gap: 4px;
}

.cookie-option strong {
  color: var(--text);
}

.cookie-option.is-required {
  background: #f5f7fb;
}

.success-card,
.notice-card {
  display: grid;
  gap: 9px;
  padding: 22px;
  border-radius: 8px;
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.success-card {
  background: #effaf4;
  color: #116149;
}

.success-flow {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid #c8f0dc;
  border-radius: 8px;
  background: linear-gradient(135deg, #f4fff8 0%, #ffffff 65%);
  box-shadow: 0 18px 48px rgba(22, 101, 52, 0.08);
}

.success-flow h2 {
  max-width: 720px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.12;
}

.success-flow > p {
  max-width: 680px;
  margin: 0;
  color: #344054;
  font-size: 16px;
  line-height: 1.55;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.next-steps article {
  display: grid;
  gap: 7px;
  align-content: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.next-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.next-steps strong {
  font-size: 15px;
  font-weight: 750;
}

.next-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.notice-card {
  background: #fff7ed;
  color: #9a3412;
}

.publish-summary {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 92px;
  align-self: start;
}

.submit-steps,
.compact-help ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #344054;
  line-height: 1.45;
}

.compact-help {
  background: #f8fbff;
}

.auth-notice {
  margin-top: 24px;
}

.auth-shell {
  display: grid;
  justify-items: center;
  margin-top: 34px;
}

.auth-card {
  width: min(100%, 560px);
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.09);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: #f3f6fb;
}

.auth-tab {
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #536174;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.auth-panel {
  display: none;
  padding: 24px 18px 18px;
}

.auth-panel.is-active {
  display: grid;
  gap: 18px;
}

.auth-panel h2 {
  margin: 0;
}

.auth-page .publish-hero h1 {
  overflow-wrap: anywhere;
}

.account-page {
  padding-top: 24px;
}

.account-hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
}

.account-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(34px, 3.6vw, 46px);
}

.account-hero p {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.5;
}

.account-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  align-self: center;
}

.account-hero .primary-button {
  align-self: center;
}

.account-page .content-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
}

.account-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.account-panel-head h2 {
  margin: 0;
}

.account-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-post-list,
.status-list {
  display: grid;
  gap: 12px;
}

.account-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  color: #182230;
  font-size: 14px;
  line-height: 1.42;
}

.account-table th,
.account-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.account-table th {
  color: #667085;
  background: #f8fbff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.account-table tr:last-child td {
  border-bottom: 0;
}

.account-table th:first-child,
.account-table td:first-child {
  width: 38%;
}

.account-table th:nth-child(2),
.account-table td:nth-child(2) {
  width: 18%;
}

.account-table th:nth-child(3),
.account-table td:nth-child(3) {
  width: 18%;
}

.account-table th:nth-child(5),
.account-table td:nth-child(5) {
  width: 180px;
}

.account-table strong,
.account-table small,
.payment-cell {
  display: grid;
  gap: 4px;
}

.account-table strong {
  color: #101828;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.account-table small,
.muted-cell {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
}

.account-table mark {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 170px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  white-space: normal;
}

.account-table .primary-button,
.account-table .ghost-button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.account-action-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.current-cover-preview {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 8px 0 10px;
  border-radius: 6px;
  background: #eef3ff;
  object-fit: cover;
}

.account-post-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: 8px;
  background: #fff;
}

.account-post-row .ghost-button {
  flex: 0 0 auto;
  margin-top: 2px;
}

.account-pay-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  margin-top: 2px;
}

.account-post-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.account-post-main strong {
  line-height: 1.35;
}

.account-post-main p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.account-status-line {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 0 !important;
}

.payment-line mark {
  background: #eef3ff;
  color: var(--blue);
}

.payment-notice {
  margin-bottom: 18px;
}

.account-status-line mark {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.status-success {
  border-left-color: #22c55e;
  background: #fbfefc;
}

.status-success .account-status-line mark {
  background: #dcfce7;
  color: #166534;
}

.status-warning {
  border-left-color: #f59e0b;
  background: #fffdf7;
}

.status-warning .account-status-line mark {
  background: #fef3c7;
  color: #92400e;
}

.status-info {
  border-left-color: var(--accent);
  background: #fbfdff;
}

.status-danger {
  border-left-color: #ef4444;
  background: #fffafa;
}

.status-danger .account-status-line mark {
  background: #fee2e2;
  color: #991b1b;
}

.editor-note {
  display: grid;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f8fafc;
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.editor-note b {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--muted);
}

.editor-note span {
  margin: 0 !important;
  color: var(--text) !important;
}

.notice-meta {
  color: var(--muted);
  font-size: 12px;
}

.status-list span,
.empty-state p {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.empty-state {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fbff;
}

.account-subsection {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.account-subsection h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.account-post-list.compact .account-post-row {
  padding: 10px 12px;
}

.account-reaction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reaction-list-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.reaction-list-card h4 {
  margin: 0 0 12px;
  color: #101828;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.25;
}

.reaction-list-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.reaction-link-list {
  display: grid;
  gap: 10px;
}

.reaction-link-list a,
.followed-authors-list > span {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  color: inherit;
}

.reaction-link-list a:last-child,
.followed-authors-list > span:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.reaction-link-list strong {
  color: #101828;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.32;
}

.reaction-link-list span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}

.followed-authors-list em {
  color: var(--muted);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
}

.publish-page.is-guest .publish-form .form-section {
  background: #fbfcff;
}

.publish-page.is-guest .form-actions {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 45px rgba(18, 35, 90, 0.08);
  backdrop-filter: blur(14px);
}

.empty-state.compact {
  padding: 16px;
}

.account-empty-line {
  padding: 10px 12px;
  margin-bottom: 18px;
  border-style: solid;
  background: #fbfcff;
}

.account-empty-line p {
  margin: 0;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-top: 46px;
}

.footer-column,
.newsletter {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column ul {
  display: grid;
  gap: 10px;
}

.footer-column a {
  color: #344054;
}

.newsletter label {
  display: flex;
  gap: 8px;
}

.newsletter input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.newsletter__notice {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.newsletter__notice.is-success {
  color: #0f7a4a;
}

.newsletter__notice.is-error {
  color: #b42318;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 12px;
  }

  .desktop-nav {
    font-size: 13px;
  }

  .desktop-nav ul {
    gap: 10px;
  }

  .header-search {
    flex-basis: 168px;
  }

  .header-search input {
    width: 86px;
  }

  .header-submit-button {
    padding: 0 12px;
  }

  .stories-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .section-shell {
    width: min(100% - 28px, 1210px);
  }

  .site-header {
    display: grid;
    grid-template-columns: auto auto;
    gap: 12px;
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand {
    align-self: center;
    width: fit-content;
    max-width: calc(100vw - 96px);
    overflow: hidden;
    font-size: 22px;
    line-height: 1.15;
    text-overflow: ellipsis;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    justify-self: end;
    align-self: center;
  }

  .desktop-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid var(--line);
  }

  .mobile-menu-open .desktop-nav {
    display: grid;
  }

  .desktop-nav ul {
    display: grid;
    gap: 0;
  }

  .desktop-nav a {
    width: 100%;
    min-height: 44px;
    border-bottom: 0;
  }

  .header-actions {
    display: none;
    grid-column: 1 / -1;
    align-items: stretch;
  }

  .mobile-menu-open .header-actions {
    display: grid;
  }

  .mobile-menu-open .mobile-bottom-nav {
    transform: translateY(calc(110% + env(safe-area-inset-bottom, 0px)));
    pointer-events: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 60;
    right: 12px;
    bottom: 0;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    border: 1px solid rgba(211, 219, 234, 0.9);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 -18px 38px -28px rgba(16, 24, 40, 0.45);
    backdrop-filter: blur(16px);
    transition: transform 0.22s ease;
  }

  .mobile-bottom-nav__item {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 52px;
    border-radius: 16px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }

  .mobile-bottom-nav__item svg {
    width: 21px;
    height: 21px;
  }

  .mobile-bottom-nav__item span {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-bottom-nav__item.is-active {
    color: var(--accent);
    background: rgba(52, 99, 246, 0.1);
  }

  .header-actions .primary-button,
  .header-actions .ghost-button,
  .header-search,
  .header-search input {
    width: 100%;
  }

  .mobile-profile-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--ink);
  }

  .mobile-profile-card img,
  .mobile-profile-card .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  .mobile-profile-card span {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .mobile-profile-card strong,
  .mobile-profile-card small,
  .mobile-profile-card em {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-profile-card strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .mobile-profile-card small {
    color: var(--muted);
    font-size: 13px;
    font-style: normal;
  }

  .mobile-profile-card em {
    color: var(--blue);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
  }

  .header-actions .profile-button {
    display: none;
  }

  .hero,
  .content-grid,
  .article-layout,
  .publish-layout,
  .next-steps,
  .search-hero,
  .search-panel,
  .form-row.two-columns,
  .publisher-options,
  .auth-grid,
  .footer {
    grid-template-columns: 1fr;
  }

  .publisher-option {
    min-height: 0;
  }

  .profile-avatar-control {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .profile-avatar-preview img,
  .profile-avatar-preview .avatar {
    width: 52px;
    height: 52px;
  }

  .hero {
    min-height: 0;
    margin-top: 14px;
    padding: 14px;
  }

  .hero h1,
  .publish-hero h1,
  .full-article h1 {
    font-size: 34px;
  }

  .auth-page {
    padding-inline: 12px;
  }

  .auth-page .publish-hero {
    padding: 20px;
  }

  .auth-page .publish-hero h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.12;
  }

  .service-page .publish-hero h1 {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.14;
    overflow-wrap: anywhere;
  }

  .auth-page .publish-hero p {
    font-size: 15px;
    line-height: 1.5;
  }

  .auth-shell {
    margin-top: 22px;
  }

  .auth-card {
    border-radius: 14px;
  }

  .auth-panel {
    padding: 22px 14px 16px;
  }

  .cookie-consent {
    inset: auto 10px 10px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 14px;
  }

  .cookie-banner__actions,
  .cookie-modal__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .primary-button,
  .cookie-banner__actions .ghost-button,
  .cookie-modal__actions .primary-button,
  .cookie-modal__actions .ghost-button {
    width: 100%;
  }

  .cookie-modal {
    padding: 10px;
  }

  .cookie-modal__panel {
    max-height: calc(100vh - 20px);
    overflow: auto;
    padding: 18px;
    border-radius: 14px;
  }

  .hero-copy {
    padding: 18px 4px;
  }

  .hero-media,
  .hero-office {
    min-height: 240px;
  }

  .float-card {
    width: min(190px, 74vw);
    padding: 16px;
  }

  .float-card strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .join-card {
    top: 30px;
    left: 18px;
  }

  .chart-card {
    top: 86px;
    right: 18px;
  }

  .mini-chart {
    height: 70px;
  }

  .stories {
    padding: 20px 18px;
  }

  .stories-row {
    grid-auto-columns: 82px;
    gap: 14px;
    margin: 0 -18px;
    padding: 16px 18px 2px;
    scroll-snap-type: x proximity;
  }

  .story {
    scroll-snap-align: start;
  }

  .publish-summary {
    position: static;
  }

  .full-article,
  .publish-hero,
  .form-section,
  .articles-panel,
  .side-card,
  .promo-card {
    min-width: 0;
    padding: 22px;
  }

  .full-article h1,
  .full-article .lead,
  .detail-author,
  .article-text {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .detail-author {
    align-items: flex-start;
  }

  .publish-page.is-guest .form-actions {
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .account-hero,
  .account-hero-actions,
  .account-panel-head,
  .account-post-row,
  .newsletter label {
    align-items: stretch;
    flex-direction: column;
  }

  .account-panel-actions,
  .account-panel-actions .primary-button,
  .account-panel-actions .ghost-button {
    width: 100%;
  }

  .account-reaction-grid {
    grid-template-columns: 1fr;
  }

  .account-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .account-table,
  .account-table thead,
  .account-table tbody,
  .account-table tr,
  .account-table th,
  .account-table td {
    display: block;
    min-width: 0;
    width: 100%;
  }

  .account-table thead {
    display: none;
  }

  .account-table tr {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-left: 3px solid transparent;
    border-radius: 8px;
    background: #fff;
  }

  .account-table td {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
  }

  .account-table td:last-child {
    border-bottom: 0;
  }

  .account-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  text-transform: uppercase;
}

.account-profile-editor {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.account-profile-editor h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.account-profile-form {
  display: grid;
  gap: 12px;
}

.account-profile-form label {
  display: grid;
  gap: 7px;
  color: #1d2939;
  font-size: 13px;
  font-weight: 700;
}

.account-profile-form input,
.account-profile-form select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: 0;
}

.account-profile-form input[type="file"] {
  padding: 9px 12px;
}

.account-profile-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.profile-avatar-control {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.profile-avatar-preview img,
.profile-avatar-preview .avatar {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.company-profile-fields {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.inline-notice {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.inline-notice.is-success {
  color: #027a48;
  background: #ecfdf3;
}

.inline-notice.is-error {
  color: #b42318;
  background: #fef3f2;
}

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-action-row {
    align-items: flex-start;
  }

  .article-action-metrics {
    gap: 14px;
  }

  .article-views {
    margin-left: 0;
  }

  .article-actions,
  .format-filter,
  .home-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .format-filter a,
  .article-actions .action-pill,
  .home-tabs button {
    flex: 0 0 auto;
  }

  .comment-user-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
  }

  .comment-user-card__actions {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
  }

  .comment-user-card__actions a {
    flex: 1 1 0;
    justify-content: center;
  }

  .comment-user-card__body strong {
    white-space: normal;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .stories-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tariff-grid {
    grid-template-columns: 1fr;
  }
}

/* Account author profile editor */
.account-profile-editor {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 26px 50px -36px rgba(28, 45, 110, 0.42);
}

.account-profile-editor h3 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  line-height: 1.25;
}

.account-profile-form {
  display: grid;
  gap: 14px;
}

.account-profile-form label {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #1d2939;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.account-profile-form input,
.account-profile-form select {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #101828;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: 0;
}

.account-profile-form input:focus,
.account-profile-form select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 101, 255, 0.12);
}

.account-profile-form input[type="file"] {
  min-height: 46px;
  padding: 8px;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
}

.account-profile-form input[type="file"]::file-selector-button {
  min-height: 30px;
  margin-right: 10px;
  padding: 0 12px;
  border: 1px solid #d8e0ef;
  border-radius: 999px;
  background: #f8fbff;
  color: #1d4ed8;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.account-profile-form small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.profile-avatar-control {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  background: #f8fbff;
}

.profile-avatar-preview img,
.profile-avatar-preview .avatar {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.company-profile-fields {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 14px;
  background: #fbfcff;
}

.account-profile-form .primary-button {
  width: 100%;
  min-height: 44px;
}

.inline-notice {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.inline-notice.is-success {
  color: #027a48;
  background: #ecfdf3;
}

.inline-notice.is-error {
  color: #b42318;
  background: #fef3f2;
}

@media (max-width: 900px) {
  .account-profile-editor {
    width: 100%;
    padding: 20px;
  }

  .profile-avatar-control {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .profile-avatar-preview img,
  .profile-avatar-preview .avatar {
    width: 56px;
    height: 56px;
  }
}
