:root {
  --red: #e30613;
  --ink: #07101f;
  --muted: #68717d;
  --line: #edf0f4;
  --soft: #f7f8fa;
  --dark: #07101f;
  --radius: 6px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background: #f4f5f7;
}
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.topbar { height: 40px; background: #07101f; color: #fff; font-size: 12px; }
.topbar-inner { width: min(100% - 32px, 1240px); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.topbar-inner > span { white-space: nowrap; flex: 0 0 auto; }
.topbar-inner > span:first-child { min-width: max-content; }
.topbar b { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 14px; line-height: 1; }
.topbar time { white-space: nowrap; font-style: normal; }
.live-currency { display: flex; align-items: center; gap: 18px; min-width: 0; }
.currency-rate { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-weight: 800; }
.currency-rate i { font-style: normal; font-size: 11px; }
.currency-rate.up i { color: #15aa54; }
.currency-rate.down i { color: #ff3341; }
.currency-rate.same i { color: #aeb7c4; }
.currency-unavailable { color: #aeb7c4; white-space: nowrap; }
.search { position: relative; display: flex; align-items: center; width: 190px; height: 40px; background: #0d1828; color: #c5ccd6; }
.search input { width: calc(100% - 40px); height: 40px; min-width: 0; padding: 0 8px 0 14px; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; }
.search input::placeholder { color: #aeb7c4; opacity: 1; }
.search button { margin-left: auto; width: 40px; height: 40px; background: var(--red); color: #fff; font-size: 18px; }
.search-suggestions { position: absolute; top: 100%; right: 0; z-index: 60; width: min(420px, calc(100vw - 32px)); max-height: 390px; overflow-y: auto; border: 1px solid #e2e7ee; border-radius: 0 0 10px 10px; background: #fff; color: var(--ink); box-shadow: 0 20px 45px rgba(7,16,31,.2); }
.search-suggestions[hidden] { display: none; }
.search-suggestions a { display: grid; gap: 3px; padding: 11px 14px; border-bottom: 1px solid #edf0f4; }
.search-suggestions a:hover { background: #f6f7f9; }
.search-suggestions small { color: var(--red); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.search-suggestions b { color: var(--ink); font-size: 13px; line-height: 1.3; }
.search-suggestions p { margin: 0; padding: 16px; color: var(--muted); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.web-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); box-shadow: 0 10px 28px rgba(7, 16, 31, .06); backdrop-filter: blur(14px); }
.web-header-inner { position: relative; width: min(100% - 80px, 1728px); height: 110px; margin: 0 auto; display: grid; grid-template-columns: 178px minmax(0, 1fr) 154px 40px; align-items: center; column-gap: 18px; }
.web-logo { width: 155px; height: 76px; object-fit: contain; }
.web-logo-tv { width: 155px; height: 76px; object-fit: contain; background: transparent; }
.web-header nav { display: flex; align-items: center; justify-content: flex-start; gap: clamp(12px, 1.55vw, 28px); min-width: 0; overflow-x: auto; overflow-y: hidden; padding: 0 2px; scrollbar-width: none; }
.web-header nav::-webkit-scrollbar { display: none; }
.web-header nav a { position: relative; display: inline-flex; flex: 0 0 max-content; align-items: center; height: 110px; white-space: nowrap; font-size: 15px; font-weight: 900; text-transform: uppercase; }
.web-header nav a.active { color: var(--red); }
.web-header nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 28px; height: 2px; background: var(--red); }
.lang-switch { position: relative; display: grid; grid-template-columns: 54px; align-items: center; height: 40px; padding: 4px 10px; border-radius: 8px; background: #f1f3f6; border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.lang-switch::after { content: "⌄"; position: absolute; right: 12px; top: 50%; transform: translateY(-56%); color: #68717d; font-size: 12px; font-weight: 950; pointer-events: none; }
.lang-switch select { width: 54px; height: 30px; padding: 0 18px 0 9px; border: 0; border-radius: 6px; appearance: none; background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 950; outline: none; box-shadow: 0 7px 16px rgba(7, 16, 31, .08); }
.topbar .lang-switch { margin-left: auto; height: 32px; padding: 3px 8px; border-color: rgba(255,255,255,.16); background: #111d2e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.topbar .lang-switch::after { right: 10px; color: #aeb7c4; }
.topbar .lang-switch select { height: 26px; background: #fff; }
.static-lang summary { display: grid; place-items: center; width: 54px; height: 30px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 950; list-style: none; cursor: pointer; }
.static-lang summary::-webkit-details-marker { display: none; }
.static-lang a { position: absolute; top: calc(100% + 5px); left: 8px; right: 8px; z-index: 5; display: grid; place-items: center; min-height: 30px; border-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 10px 24px rgba(7, 16, 31, .12); font-size: 12px; font-weight: 950; }
.tv-live { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 52px; min-width: 154px; padding: 6px 17px 6px 9px; border: 1px solid rgba(227, 6, 19, .48); border-radius: 9px; background: #fff; color: var(--ink); box-shadow: none; }
.web-header nav .tv-live { height: 52px; min-width: 154px; flex: 0 0 auto; margin-left: auto; }
.web-header-inner > .tv-live { position: relative; z-index: 2; grid-column: 3; justify-self: end; width: 154px; min-width: 154px; height: 52px; margin: 0; }
.web-header-inner > .menu { position: relative; z-index: 2; grid-column: 4; justify-self: end; width: 40px; min-width: 40px; margin: 0; }
.web-header nav .tv-live::after { display: none; }
.tv-live span { display: inline-grid; place-items: center; width: 38px; height: 26px; border-radius: 6px; background: var(--red); color: #fff; font-size: 13px; font-weight: 950; line-height: 1; letter-spacing: .02em; }
.tv-live b { font-size: 15px; font-weight: 950; text-transform: uppercase; white-space: nowrap; }
.menu { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 24px; }
.menu[aria-expanded="true"] { border-color: rgba(227,6,19,.35); color: var(--red); background: #fff7f8; }
.site-menu-panel { position: absolute; top: calc(100% - 8px); right: 0; z-index: 80; width: min(760px, calc(100vw - 32px)); max-height: min(70vh, 620px); overflow: auto; padding: 0 24px 24px; border: 1px solid #e3e8ef; border-radius: 12px; background: #fff; box-shadow: 0 28px 70px rgba(7,16,31,.22); }
.site-menu-panel[hidden] { display: none; }
.site-menu-panel > header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; min-height: 68px; border-bottom: 1px solid var(--line); background: #fff; }
.site-menu-panel > header b { font-size: 18px; font-weight: 950; }
.site-menu-panel > header button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #f3f5f8; font-size: 23px; line-height: 1; }
.site-menu-panel [data-site-menu-categories] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; padding-top: 22px; }
.site-menu-panel [data-site-menu-categories] > section { min-width: 0; }
.site-menu-root { display: block; padding-bottom: 9px; border-bottom: 2px solid var(--red); font-size: 15px; font-weight: 950; }
.site-menu-panel section nav { display: grid; gap: 8px; padding-top: 11px; }
.site-menu-panel section nav a { color: #536075; font-size: 13px; font-weight: 750; line-height: 1.35; }
.site-menu-panel section nav a:hover, .site-menu-root:hover { color: var(--red); }
@media (max-width: 720px) { .site-menu-panel [data-site-menu-categories] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.breaking-news-web { position: relative; z-index: 19; height: 38px; border-bottom: 1px solid var(--line); background: #fff; display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; overflow: hidden; }
.breaking-news-web strong { height: 100%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.breaking-viewport { min-width: 0; overflow: hidden; }
.breaking-track { display: flex; align-items: center; width: max-content; animation: breaking-scroll 110s linear infinite; transform: translateX(-50%); }
.breaking-track:hover { animation-play-state: paused; }
.breaking-track a { position: relative; display: inline-flex; align-items: center; min-height: 38px; padding: 0 28px; white-space: nowrap; color: #111b2a; font-size: 13px; font-weight: 850; }
.breaking-track a::after { content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }
@keyframes breaking-scroll {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.admin-body { background: #f4f6f9; color: var(--ink); }
.admin-app { min-height: 100vh; display: grid; grid-template-columns: 286px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: grid; grid-template-rows: auto 1fr auto; gap: 26px; padding: 28px; background: #07101f; color: #fff; }
.admin-brand { display: flex; align-items: center; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-brand img { width: 118px; height: 58px; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0,0,0,.18)); }
.admin-brand span { display: inline-grid; place-items: center; width: 46px; height: 28px; border-radius: 999px; background: var(--red); font-weight: 950; letter-spacing: .02em; }
.admin-sidebar nav { display: grid; align-content: start; gap: 8px; }
.admin-sidebar nav a { display: flex; align-items: center; min-height: 46px; padding: 0 15px; border-radius: 8px; color: #c5ccd6; font-weight: 900; }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-sidebar-card { display: grid; gap: 8px; padding: 18px; border-radius: 8px; background: rgba(255,255,255,.07); color: #c5ccd6; }
.admin-sidebar-card b { color: #fff; }
.admin-main { min-width: 0; padding: 30px; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.admin-top span { color: var(--red); font-size: 12px; font-weight: 950; text-transform: uppercase; }
.admin-top h1 { margin: 6px 0 0; font-size: clamp(30px, 3vw, 46px); line-height: 1.02; letter-spacing: 0; }
.admin-top-actions { display: flex; gap: 10px; }
.admin-top-actions a, .admin-top-actions button, .editor-toolbar button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border-radius: 8px; background: #07101f; color: #fff; font-weight: 950; }
.admin-top-actions a, .editor-toolbar .publish { background: var(--red); box-shadow: 0 14px 28px rgba(227,6,19,.18); }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.admin-stats article, .admin-card { border: 1px solid #e5eaf1; border-radius: 10px; background: #fff; box-shadow: 0 18px 42px rgba(7,16,31,.06); }
.admin-stats article { display: grid; gap: 7px; padding: 20px; }
.admin-stats span, .admin-card small, .admin-table span { color: #697486; }
.admin-stats b { font-size: 34px; line-height: 1; }
.admin-stats small { color: #7b8492; font-weight: 800; }
.admin-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 18px; align-items: start; }
.admin-card { padding: 22px; }
.admin-wide { grid-row: span 2; }
.admin-card header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.admin-card h2 { margin: 0 0 16px; font-size: 20px; line-height: 1.1; text-transform: uppercase; }
.admin-card header h2 { margin: 0; }
.admin-card header a { color: var(--red); font-weight: 950; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin-table th { padding: 0 12px 12px; color: #697486; font-size: 12px; text-align: left; text-transform: uppercase; }
.admin-table td { padding: 14px 12px; border-top: 1px solid #edf0f4; vertical-align: top; font-weight: 850; }
.admin-table td:first-child { width: 44%; }
.admin-table td b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.admin-table td span { display: -webkit-box; margin-top: 6px; overflow: hidden; -webkit-line-clamp: 1; -webkit-box-orient: vertical; font-size: 13px; font-weight: 700; }
.admin-table td:nth-child(3) { color: #0b9f55; }
.admin-table a { color: var(--red); font-weight: 950; }
.admin-row-actions { display: flex; align-items: center; gap: 10px; }
.admin-row-actions button { min-height: 30px; padding: 0 10px; border-radius: 6px; background: #fff3f4; color: var(--red); font-size: 12px; font-weight: 950; }
.admin-actions-list, .admin-feed { display: grid; gap: 10px; }
.admin-actions-list button { min-height: 44px; padding: 0 14px; border-radius: 8px; background: #f4f6f9; text-align: left; font-weight: 900; }
.admin-feed p { display: grid; gap: 4px; margin: 0; padding: 12px 0; border-bottom: 1px solid #edf0f4; }
.admin-feed p:last-child { border-bottom: 0; }
.seo-score { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.seo-score b { display: grid; place-items: center; width: 82px; height: 82px; border-radius: 50%; background: #07101f; color: #fff; font-size: 30px; }
.seo-score span { color: #697486; font-weight: 800; }
.editor-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 18px; align-items: start; }
.editor-form { display: grid; gap: 16px; }
.editor-form label { display: grid; gap: 8px; color: #505b6a; font-size: 12px; font-weight: 950; text-transform: uppercase; }
.editor-form input, .editor-form textarea, .editor-form select { width: 100%; border: 1px solid #dce2eb; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: 15px; font-weight: 750; outline: none; }
.editor-form input, .editor-form select { height: 46px; padding: 0 13px; }
.editor-form input[type="file"] { height: auto; padding: 12px; background: #f8fafc; cursor: pointer; }
.editor-form textarea { resize: vertical; padding: 13px; line-height: 1.5; }
.r2-upload-field span { display: inline-flex; align-items: center; min-height: 28px; color: #697486; font-size: 12px; font-weight: 850; text-transform: none; }
.editor-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.editor-row.image-meta-row { grid-template-columns: .7fr 1.3fr; }
.image-adapt-panel { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; padding: 12px; border: 1px solid #e5eaf1; border-radius: 10px; background: #f8fafc; }
.image-adapt-panel div { position: relative; overflow: hidden; border-radius: 8px; background: #e9edf4 center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(7,16,31,.06); }
.image-adapt-panel div[data-image-frame="web"] { aspect-ratio: 16 / 9; }
.image-adapt-panel div[data-image-frame="mobile"] { aspect-ratio: 4 / 3; }
.image-adapt-panel span { position: absolute; left: 8px; bottom: 8px; min-height: 0; padding: 5px 8px; border-radius: 999px; background: rgba(7,16,31,.78); color: #fff; font-size: 10px; line-height: 1; font-weight: 950; text-transform: uppercase; }
.image-adapt-panel p { grid-column: 1 / -1; margin: 0; color: #697486; font-size: 12px; font-weight: 850; text-transform: none; }
.rich-editor-label {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.rich-editor-title { color: #202938; font-size: 12px; font-weight: 900; }
.rich-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 9px; border: 1px solid #dce2eb; border-radius: 10px; background: #f8fafc; }
.rich-toolbar button,
.rich-toolbar select,
.rich-toolbar input[type="color"] { width: auto; height: 34px; border: 1px solid #e0e5ed; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 950; text-transform: none; box-shadow: 0 6px 14px rgba(7,16,31,.04); }
.rich-toolbar button { display: inline-grid; place-items: center; min-width: 36px; padding: 0 10px; }
.rich-toolbar select { min-width: 96px; padding: 0 10px; }
.rich-toolbar input[type="color"] { width: 38px; padding: 4px; cursor: pointer; }
.rich-editor { min-height: 280px; max-height: 560px; overflow-y: auto; padding: 16px; border: 1px solid #dce2eb; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.65; font-weight: 650; text-transform: none; outline: none; }
.rich-editor:focus { border-color: rgba(227,6,19,.45); box-shadow: 0 0 0 4px rgba(227,6,19,.08); }
.rich-editor p { margin: 0 0 12px; }
.rich-editor h2, .rich-editor h3 { margin: 18px 0 10px; line-height: 1.2; }
.rich-editor blockquote { margin: 16px 0; padding: 14px 16px; border-left: 4px solid var(--red); border-radius: 8px; background: #fff5f6; color: #202938; font-weight: 800; }
.rich-editor ul, .rich-editor ol { margin: 0 0 14px 22px; padding: 0; }
.editor-toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.editor-toolbar button { background: #f4f6f9; color: var(--ink); }
.editor-side { position: sticky; top: 132px; display: grid; gap: 18px; }
.editor-profile { display: grid; gap: 18px; overflow: hidden; }
.editor-profile-head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 15px; align-items: center; }
.editor-profile-head img { width: 76px; height: 76px; border-radius: 24px; object-fit: cover; box-shadow: 0 16px 34px rgba(7,16,31,.12); }
.editor-profile-head span { display: grid; gap: 4px; min-width: 0; }
.editor-profile-head small { color: var(--red); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.editor-profile-head b { font-size: 22px; line-height: 1.05; }
.editor-profile-head em { color: #697486; font-style: normal; font-size: 13px; font-weight: 800; }
.editor-profile-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.editor-profile-meta span { display: grid; place-items: center; gap: 4px; min-height: 68px; border-radius: 8px; background: #f4f6f9; color: #697486; font-size: 12px; font-weight: 900; }
.editor-profile-meta b { color: var(--ink); font-size: 22px; line-height: 1; }
.editor-my-news header span { color: var(--red); font-size: 12px; font-weight: 950; }
.editor-my-news > div { display: grid; gap: 10px; }
.editor-news-item { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid #edf0f4; border-radius: 8px; background: #fff; }
.editor-news-item > div { width: 82px; aspect-ratio: 4 / 3; border-radius: 7px; background: #e9edf4 center / cover no-repeat; }
.editor-news-item span { min-width: 0; }
.editor-news-item b { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; line-height: 1.2; }
.editor-news-item small { display: block; margin-top: 5px; color: #697486; font-weight: 850; }
.editor-news-item em { color: var(--red); font-style: normal; }
.editor-news-item nav { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; }
.editor-news-item button { min-height: 32px; padding: 0 11px; border-radius: 7px; background: #f4f6f9; color: var(--ink); font-size: 12px; font-weight: 950; }
.editor-news-item button[data-draft-article] { background: #fff3f4; color: var(--red); }
.editor-preview { position: static; }
.editor-preview header { margin-bottom: 14px; }
.editor-preview header span { padding: 6px 10px; border-radius: 999px; background: #eef8f3; color: #0b9f55; font-size: 12px; font-weight: 950; }
.editor-preview article { display: grid; gap: 12px; }
.editor-preview-image { aspect-ratio: 16 / 9; border-radius: 8px; background: #e9edf4 center / cover no-repeat; }
.editor-preview .photo-credit { margin-top: -6px; color: #697486; font-size: 12px; font-weight: 850; }
.editor-preview article > span { justify-self: start; padding: 5px 9px; border-radius: 3px; background: var(--red); color: #fff; font-size: 11px; font-weight: 950; text-transform: uppercase; }
.editor-preview h1 { margin: 0; font-size: 28px; line-height: 1.08; }
.editor-preview p { margin: 0; color: #535f70; font-size: 15px; line-height: 1.55; }
.editor-preview .lead { color: var(--ink); font-size: 17px; font-weight: 800; }
.editor-preview-body { display: grid; gap: 10px; color: #535f70; font-size: 15px; line-height: 1.55; }
.editor-preview-body p { margin: 0; }
.editor-preview-body h2,
.editor-preview-body h3 { margin: 6px 0 0; color: var(--ink); line-height: 1.18; }
.editor-preview-body blockquote { margin: 4px 0; padding: 12px 14px; border-left: 4px solid var(--red); border-radius: 8px; background: #fff5f6; color: #202938; font-weight: 800; }
.admin-toast { position: fixed; right: 24px; bottom: 24px; z-index: 99; transform: translateY(18px); opacity: 0; padding: 12px 16px; border-radius: 8px; background: #07101f; color: #fff; font-weight: 900; box-shadow: 0 18px 42px rgba(7,16,31,.2); transition: .18s ease; pointer-events: none; }
.admin-toast.show { transform: translateY(0); opacity: 1; }
.admin-toast.is-error { background: #b42318; box-shadow: 0 18px 42px rgba(180, 35, 24, .28); }

.portal-app { grid-template-columns: 246px minmax(0, 1fr); background: #f6f8fb; }
.portal-sidebar { gap: 10px; min-height: 0; padding: 18px 12px; background: radial-gradient(circle at 30% 0, #13253b, #07101f 54%); }
.portal-brand { display: grid; gap: 3px; padding: 0 9px 16px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); }
.portal-brand strong { font-size: 26px; line-height: 1; letter-spacing: 0; }
.portal-brand span { color: #fff; }
.portal-brand strong::first-letter,
.portal-brand em { color: var(--red); font-style: normal; }
.portal-brand small { color: #9aa7ba; font-size: 11px; text-align: center; }
.portal-sidebar nav { min-height: 0; gap: 2px; overflow-y: auto; padding: 0 4px 14px 0; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.portal-sidebar nav::-webkit-scrollbar { width: 5px; }
.portal-sidebar nav::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255,255,255,.2); }
.portal-sidebar nav p { margin: 8px 7px 3px; color: #8793a5; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.portal-sidebar nav button { display: flex; align-items: center; gap: 9px; min-height: 31px; padding: 0 10px; border-radius: 8px; color: #d9e0ea; text-align: left; font-size: 13px; font-weight: 850; }
.portal-sidebar nav button i { display: grid; place-items: center; width: 20px; color: #fff; font-style: normal; opacity: .9; }
.portal-sidebar nav button.active,
.portal-sidebar nav button:hover { background: linear-gradient(135deg, #0f6fff, #5539f3); color: #fff; box-shadow: 0 10px 26px rgba(39, 95, 255, .28); }
.portal-sidebar nav button[data-view="trash"] { margin-top: 8px; background: linear-gradient(135deg, #ef233c, #c9182c); color: #fff; box-shadow: 0 14px 30px rgba(239,35,60,.2); }
.portal-sidebar nav button[data-view="trash"]:hover,
.portal-sidebar nav button[data-view="trash"].active { background: linear-gradient(135deg, #f03, #d90429); box-shadow: 0 16px 34px rgba(239,35,60,.28); }
.portal-main { min-width: 0; }
.portal-top { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; min-height: 62px; padding: 0 22px; border-bottom: 1px solid #e5e9f0; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); }
.portal-top h1 { margin: 0; font-size: 20px; letter-spacing: 0; }
.menu-toggle,
.portal-tools button { display: grid; place-items: center; min-width: 36px; min-height: 36px; border-radius: 8px; background: #fff; color: #243044; border: 1px solid #e6ebf3; font-weight: 950; }
.portal-tools { display: flex; align-items: center; gap: 10px; }
.portal-tools sup { display: grid; place-items: center; min-width: 17px; height: 17px; margin: -16px 0 0 -8px; border-radius: 999px; background: var(--red); color: #fff; font-size: 10px; }
.portal-user { grid-template-columns: 34px auto !important; gap: 8px; padding: 0 12px !important; text-align: left; }
.portal-tools .portal-user { min-width: 178px; }
.portal-user::before { content: ""; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #d9e2ef, #fff); box-shadow: inset 0 0 0 1px #cfd7e5; }
.portal-user span,
.portal-user small { display: block; line-height: 1.05; }
.portal-user small { color: #697486; font-size: 11px; }
.portal-content { max-width: 1680px; padding: 22px 26px 34px; }
.portal-crumb { margin: 0 0 18px; color: #657287; font-size: 13px; font-weight: 800; }
.portal-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.portal-stats article,
.portal-card { border: 1px solid #e5eaf2; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(21,31,46,.045); }
.portal-stats article { display: grid; gap: 8px; padding: 18px; }
.portal-stats span,
.portal-stats small,
.portal-card small { color: #6d788a; }
.portal-stats b { font-size: 30px; line-height: 1; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.portal-card { padding: 18px; }
.portal-card.wide { min-width: 0; }
.portal-card header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.portal-card h2 { margin: 0 0 16px; font-size: 17px; letter-spacing: 0; }
.portal-card header h2 { margin: 0; }
.portal-card button,
.portal-card input,
.portal-card select,
.portal-card textarea { border: 1px solid #dfe5ee; border-radius: 7px; background: #fff; color: #101827; font: inherit; font-size: 14px; }
.portal-card button { min-height: 36px; padding: 0 12px; font-weight: 900; }
.portal-card .primary,
.portal-card header button,
.filter-row button,
.publish-card .primary { background: linear-gradient(135deg, #0f6fff, #5539f3); color: #fff; border: 0; box-shadow: 0 12px 24px rgba(39,95,255,.22); }
.danger,
.portal-card .danger { border-color: rgba(227,6,19,.28) !important; background: #fff3f4 !important; color: var(--red) !important; box-shadow: none !important; }
.danger-soft { background: #fff7f7; border-color: #ffd2d6; color: #9f1720; }
.filter-row { display: grid; grid-template-columns: minmax(220px, 1fr) 210px 190px auto; gap: 12px; margin-bottom: 18px; }
.filter-row input,
.filter-row select { height: 40px; padding: 0 12px; }
.portal-table { width: 100%; min-width: 980px; border-collapse: collapse; }
.portal-table th { padding: 12px; background: #f8fafc; color: #6b7687; font-size: 12px; text-align: left; }
.portal-table td { padding: 13px 12px; border-top: 1px solid #edf1f6; vertical-align: middle; font-weight: 800; }
.news-cell { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 12px; align-items: center; }
.news-cell img { width: 82px; height: 54px; border-radius: 6px; object-fit: cover; background: #e9eef5; }
.news-cell b,
.news-cell small { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }
.news-cell b { -webkit-line-clamp: 1; }
.news-cell small { margin-top: 5px; color: #6d788a; -webkit-line-clamp: 1; font-weight: 650; }
.portal-table mark { padding: 5px 9px; border-radius: 7px; background: #eef2f7; color: #4f5d71; }
.portal-table em { padding: 5px 8px; border-radius: 7px; font-style: normal; font-size: 12px; }
.portal-table em.ok { background: #e9f9f0; color: #139456; }
.portal-table em.warn { background: #fff4d8; color: #b96d00; }
.portal-table em.bad { background: #ffecef; color: var(--red); }
.row-tools { display: flex; gap: 7px; }
.row-tools button { min-width: 34px; padding: 0; }
.quick-list,
.category-tree,
.roles-grid aside,
.messages-grid aside { display: grid; gap: 9px; }
.quick-list button,
.category-tree button,
.roles-grid aside button,
.messages-grid aside button { justify-content: flex-start; text-align: left; background: #f7f9fc; }
.category-tree button { display: flex; justify-content: space-between; }
.editor-pro-layout { display: grid; grid-template-columns: minmax(640px, 1fr) 320px 250px; gap: 16px; align-items: start; }
.editor-form-pro { display: grid; gap: 16px; min-width: 0; padding: 18px; }
.editor-form-pro label,
.editor-publish-stack label,
.editor-settings-column label,
.profile-form label,
.settings-grid label { display: grid; gap: 8px; color: #202938; font-weight: 900; }
.form-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.form-grid.headline-row { grid-template-columns: 220px minmax(0, 1fr); align-items: end; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
.editor-form-pro input,
.editor-form-pro select,
.editor-form-pro textarea,
.editor-publish-stack input,
.editor-publish-stack select,
.editor-settings-column input,
.editor-settings-column select,
.profile-form input,
.profile-form select,
.profile-form textarea,
.settings-grid input,
.settings-grid textarea { width: 100%; min-height: 40px; padding: 0 12px; }
.title-field { position: relative; }
.title-field span { position: absolute; right: 12px; top: 1px; color: #8b95a5; font-size: 12px; font-weight: 850; }
.editor-form-pro textarea,
.profile-form textarea,
.settings-grid textarea { min-height: 92px; padding: 12px; resize: vertical; }
.pro-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 10px; border: 1px solid #e2e7f0; border-radius: 8px 8px 0 0; background: #fbfcfe; }
.pro-toolbar button,
.pro-toolbar select { min-height: 32px; padding: 0 10px; border-radius: 6px; background: #fff; }
.pro-toolbar select { width: auto !important; min-width: 126px; }
.pro-toolbar button { width: auto !important; }
.editor-canvas { position: relative; border: 1px solid #dce2eb; border-top: 0; border-radius: 0 0 8px 8px; background: #fff; }
.editor-form-pro .rich-editor { min-height: 585px; max-height: none; border: 0; border-radius: 0; box-shadow: none; }
.editor-publish-stack,
.editor-settings-column,
.editor-action-column { display: grid; gap: 16px; align-content: start; position: sticky; top: 82px; }
.editor-side-card { padding: 16px; }
.main-image-preview { aspect-ratio: 16 / 9; margin-bottom: 10px; border-radius: 7px; background: #e8edf5 center / cover no-repeat; }
.publish-card { display: grid; gap: 10px; }
.publish-card button { width: 100%; }
.publish-meta-card { display: grid; gap: 10px; }
.publish-meta-card h2 { margin-bottom: 0; }
.publish-meta-card p,
.help-card p { margin: 0; color: #667185; font-size: 13px; line-height: 1.5; }
.file-pill { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; align-items: center; gap: 9px; min-height: 44px; padding: 7px 8px; border: 1px solid #e3e8f0; border-radius: 8px; background: #fbfcff; }
.file-pill span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #eef2ff; color: #4b3ce8; }
.file-pill b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.file-pill button { min-width: 28px; padding: 0; }
.word-count { color: #738094; font-size: 12px; font-weight: 850; }
.insert-popover { position: absolute; top: 48px; right: 54px; z-index: 2; display: grid; grid-template-columns: 170px 190px; min-width: 360px; overflow: hidden; border: 1px solid #e4e8ef; border-radius: 8px; background: #fff; box-shadow: 0 18px 45px rgba(21,31,46,.14); }
.insert-popover div { display: grid; gap: 2px; padding: 13px; }
.insert-popover div + div { border-left: 1px solid #edf1f6; }
.insert-popover b { margin-bottom: 8px; font-size: 12px; }
.insert-popover button { justify-content: flex-start; min-height: 34px; border: 0; background: transparent; box-shadow: none; text-align: left; }
.editor-image-block { position: relative; width: min(100%, 640px); margin: 16px 0; border: 2px solid #1677ff; border-radius: 4px; }
.editor-image-block img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.editor-image-block figcaption { position: absolute; left: 50%; bottom: -20px; display: flex; gap: 4px; padding: 5px; border: 1px solid #e4e8ef; border-radius: 7px; background: #fff; box-shadow: 0 12px 28px rgba(21,31,46,.14); transform: translateX(-50%); }
.editor-image-block figcaption span { max-width: 220px; overflow: hidden; padding: 5px 7px; color: #596579; font-size: 11px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.editor-image-block figcaption button { min-width: 30px; min-height: 28px; padding: 0; }
.editor-image-block figcaption [data-edit-inline-image-metadata] { min-width: 76px; padding: 0 10px; border: 1px solid #d9e3f0; background: #f5f8fc; color: #175cd3; font-size: 10px; font-weight: 900; }
.editor-inline-video { position: relative; width: min(100%, 640px); margin: 18px 0; overflow: hidden; border: 1px solid #dfe5ee; border-radius: 8px; background: #07101f; }
.editor-inline-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #07101f; object-fit: contain; }
.editor-inline-video figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; background: #fff; }
.editor-inline-video figcaption b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.editor-inline-video figcaption button { flex: 0 0 auto; min-width: 30px; min-height: 28px; padding: 0; }
.editor-media-picker { width: min(860px, calc(100vw - 32px)); max-height: min(760px, calc(100vh - 32px)); padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: transparent; box-shadow: 0 30px 90px rgba(7,16,31,.28); }
.editor-media-picker::backdrop { background: rgba(7,16,31,.54); backdrop-filter: blur(3px); }
.editor-media-picker > section { display: grid; grid-template-rows: auto auto minmax(0, 1fr); max-height: min(760px, calc(100vh - 32px)); overflow: hidden; background: #fff; }
.editor-media-picker > section > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 22px 16px; border-bottom: 1px solid #edf1f6; }
.editor-media-picker header div { display: grid; gap: 4px; }
.editor-media-picker header span { color: var(--red); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.editor-media-picker header h2 { margin: 0; font-size: 22px; }
.editor-media-picker header p { margin: 0; color: #6c7789; font-size: 12px; font-weight: 700; }
.editor-media-picker header > button { flex: 0 0 auto; width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 7px; background: #f3f5f8; font-size: 20px; }
.editor-media-tabs { display: flex; gap: 4px; padding: 10px 22px 0; border-bottom: 1px solid #edf1f6; }
.editor-media-tabs button { min-height: 38px; padding: 0 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #657186; }
.editor-media-tabs button.active { border-color: var(--red); color: var(--ink); }
.editor-picker-panel { min-height: 360px; padding: 18px 22px 22px; overflow-y: auto; }
.editor-media-search { display: flex; align-items: center; gap: 9px; height: 42px; margin-bottom: 14px; padding: 0 12px; border: 1px solid #dfe5ee; border-radius: 7px; color: #778397; }
.editor-media-search svg { width: 17px; }
.editor-media-search input { width: 100%; height: 38px; padding: 0; border: 0; outline: 0; }
.editor-picker-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.editor-picker-grid article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; min-width: 0; padding: 8px; border: 1px solid #e5eaf1; border-radius: 8px; background: #fff; }
.editor-picker-grid article > div { position: relative; grid-column: 1 / -1; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #eef2f7; }
.editor-picker-grid article img, .editor-picker-grid article video { width: 100%; height: 100%; object-fit: cover; }
.editor-picker-grid article > div > i { position: absolute; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(7,16,31,.72); color: #fff; font-style: normal; }
.editor-picker-grid article > b { overflow: hidden; align-self: end; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.editor-picker-grid article > small { grid-column: 1; overflow: hidden; color: #7a8596; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.editor-picker-grid article > button { grid-column: 2; grid-row: 2 / 4; align-self: center; min-height: 31px; padding: 0 10px; border-color: #dbe2eb; background: #f7f9fc; color: #263247; font-size: 11px; }
.editor-picker-audio { display: grid !important; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; width: 100%; padding: 18px; }
.editor-picker-audio > i { position: static !important; background: var(--red) !important; }
.editor-picker-audio span { display: flex; align-items: center; justify-content: space-between; gap: 3px; width: 100%; }
.editor-picker-audio span i { display: block; width: 3px; height: 14px; border-radius: 999px; background: #8d99aa; }
.editor-picker-audio span i:nth-child(2n) { height: 25px; }
.editor-picker-empty { grid-column: 1 / -1; display: grid; place-items: center; min-height: 230px; padding: 30px; border: 1px dashed #d8e0ea; border-radius: 8px; color: #687489; text-align: center; }
.editor-picker-empty p { margin: 7px 0 0; font-size: 12px; }
.editor-local-upload { display: grid; place-items: center; width: 100%; min-height: 260px; border: 1px dashed #cbd5e2; border-radius: 8px; background: #f9fbfd; color: #263247; }
.editor-local-upload span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--red); font-size: 24px; box-shadow: 0 8px 24px rgba(7,16,31,.08); }
.editor-local-upload b { font-size: 15px; }
.editor-local-upload small { margin-top: 5px; color: #798598; }
.editor-picker-panel > p { margin: 10px 0 0; color: #718095; font-size: 11px; text-align: center; }
@media (max-width: 680px) { .editor-picker-grid { grid-template-columns: 1fr 1fr; } .editor-media-picker > section > header { padding: 16px; } .editor-picker-panel { padding: 14px 16px 18px; } }
.investigation-graph-block { container-type: inline-size; width: var(--graph-width, 100%); max-width: 100%; margin-top: 20px; margin-bottom: 20px; overflow: hidden; border: 1px solid #dce3ed; border-radius: 9px; background: #fff; box-shadow: 0 14px 34px rgba(15,23,42,.06); transition: width .18s ease, margin .18s ease; }
.investigation-graph-block[data-graph-align="left"] { margin-right: auto; margin-left: 0; }
.investigation-graph-block[data-graph-align="center"] { margin-right: auto; margin-left: auto; }
.investigation-graph-block[data-graph-align="right"] { margin-right: 0; margin-left: auto; }
.investigation-graph-block > header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; align-items: center; padding: 11px 13px; border-bottom: 1px solid #e8edf3; }
.investigation-graph-block > header > span { color: var(--red); font-size: 9px; font-weight: 950; text-transform: uppercase; }
.investigation-graph-block > header > b { grid-column: 1; overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.investigation-graph-block > header nav { grid-column: 2; grid-row: 1 / 3; display: flex; gap: 6px; }
.investigation-graph-block > header button { min-height: 30px; padding: 0 9px; border-color: #dce3ed; background: #f7f9fc; color: #344157; font-size: 10px; white-space: nowrap; }
.graph-display-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #e8edf3; background: #f8fafc; }
.graph-display-tools > div { display: flex; gap: 4px; }
.graph-display-tools button { min-height: 28px; padding: 0 8px; border-color: #dce3ed; background: #fff; color: #526077; font-size: 9px; }
.graph-display-tools button.active { border-color: #2d6df6; background: #eaf1ff; color: #1554d1; }
.graph-display-tools label { display: grid; grid-template-columns: auto minmax(70px, 130px) 34px; align-items: center; gap: 7px; color: #637087; font-size: 9px; font-weight: 900; }
.graph-display-tools input { width: 100%; accent-color: #2d6df6; }
.graph-display-tools output { color: #344157; font-size: 9px; text-align: right; }
@container (max-width: 520px) { .investigation-graph-block > header { grid-template-columns: 1fr; } .investigation-graph-block > header nav { grid-column: 1; grid-row: auto; } .graph-display-tools { align-items: stretch; flex-direction: column; } .graph-display-tools > div { display: grid; grid-template-columns: repeat(3, 1fr); } .graph-display-tools label { grid-template-columns: auto minmax(0, 1fr) 34px; } }
.investigation-graph-block > img { display: block; width: 100%; max-height: 520px; background: #fff; object-fit: contain; }
.investigation-graph-block > figcaption { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; padding: 10px 13px; border-top: 1px solid #e8edf3; }
.investigation-graph-block > figcaption > b { margin-right: 3px; color: #657186; font-size: 10px; text-transform: uppercase; }
.investigation-graph-block > figcaption a { max-width: 220px; overflow: hidden; padding: 5px 8px; border-radius: 5px; background: #f2f5f9; color: #253249; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.graph-preview-empty { display: grid; place-items: center; min-height: 240px; color: #758195; font-size: 12px; }
.investigation-builder { width: min(1240px, calc(100vw - 24px)); height: min(850px, calc(100vh - 24px)); max-width: none; max-height: none; padding: 0; overflow: hidden; border: 0; border-radius: 10px; background: transparent; box-shadow: 0 35px 110px rgba(7,16,31,.34); }
.investigation-builder::backdrop { background: rgba(6,14,27,.68); backdrop-filter: blur(4px); }
.investigation-builder > section { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; overflow: hidden; background: #f5f7fa; }
.investigation-builder > section > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 17px 20px 14px; border-bottom: 1px solid #e1e6ee; background: #fff; }
.investigation-builder > section > header div { display: grid; gap: 3px; }
.investigation-builder > section > header span, .graph-inspector header span, .graph-edge-inspector header span, .graph-image-panel header span, .graph-article-panel header span { color: var(--red); font-size: 9px; font-weight: 950; text-transform: uppercase; }
.investigation-builder > section > header h2 { margin: 0; font-size: 22px; }
.investigation-builder > section > header p { margin: 0; color: #687589; font-size: 11px; font-weight: 700; }
.investigation-builder > section > header > button { width: 34px; min-width: 34px; height: 34px; min-height: 34px; padding: 0; border-radius: 7px; background: #f1f4f8; font-size: 20px; }
.investigation-builder-body { display: grid; grid-template-columns: minmax(0, 1fr) 310px; min-height: 0; }
.investigation-builder-body > main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; min-height: 0; padding: 14px; }
.graph-commandbar { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 10px; border: 1px solid #dfe5ee; border-bottom: 0; border-radius: 8px 8px 0 0; background: #fff; }
.graph-command-fields { display: grid; grid-template-columns: 220px 230px; gap: 8px; }
.graph-commandbar label { display: grid; gap: 5px; min-width: 0; color: #667287; font-size: 9px; font-weight: 950; text-transform: uppercase; }
.graph-commandbar input { height: 34px; padding: 0 10px; border: 1px solid #dce3ed; border-radius: 6px; font-weight: 850; }
.graph-commandbar nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.graph-commandbar button { min-height: 34px; padding: 0 10px; border-color: #dce3ed; background: #f7f9fc; color: #263247; font-size: 10px; }
.graph-commandbar button.active { border-color: #f0aa21; background: #fff8e8; color: #9a6200; box-shadow: 0 0 0 2px rgba(240,170,33,.13); }
.graph-zoom-controls { display: grid; grid-template-columns: 34px 48px 34px; align-items: center; height: 34px; overflow: hidden; border: 1px solid #dce3ed; border-radius: 6px; background: #fff; }
.graph-zoom-controls button { width: 34px; min-width: 34px; min-height: 32px; padding: 0; border: 0; border-radius: 0; background: #f7f9fc; font-size: 17px; line-height: 1; }
.graph-zoom-controls output { color: #526077; font-size: 9px; font-weight: 900; text-align: center; }
.investigation-canvas { position: relative; min-height: 420px; border: 1px solid #dfe5ee; background-color: #fff; background-image: radial-gradient(#dce3ec 1px, transparent 1px); background-size: 20px 20px; }
.investigation-builder-body > main > footer { display: flex; align-items: center; gap: 16px; min-height: 38px; padding: 0 11px; border: 1px solid #dfe5ee; border-top: 0; border-radius: 0 0 8px 8px; background: #fff; color: #667287; font-size: 10px; }
.investigation-builder-body > main > footer b { color: #172236; }
.investigation-builder-body > main > footer small { margin-left: auto; color: #7c8798; }
.investigation-builder-body > main > footer small.is-error { color: var(--red); font-weight: 900; }
.investigation-builder-body > aside { display: grid; align-content: start; gap: 10px; min-height: 0; overflow-y: auto; padding: 14px 14px 14px 0; }
.graph-inspector, .graph-edge-inspector, .graph-image-panel, .graph-article-panel { display: grid; gap: 10px; padding: 13px; border: 1px solid #e0e5ed; border-radius: 8px; background: #fff; }
.graph-edge-inspector[hidden] { display: none; }
.graph-inspector header, .graph-edge-inspector header, .graph-image-panel header, .graph-article-panel header { display: grid; gap: 3px; }
.graph-inspector header b, .graph-edge-inspector header b, .graph-image-panel header b, .graph-article-panel header b { font-size: 13px; }
.graph-inspector label, .graph-edge-inspector label { display: grid; gap: 5px; color: #5f6c80; font-size: 9px; font-weight: 950; text-transform: uppercase; }
.graph-inspector input, .graph-inspector select, .graph-edge-inspector input, .graph-image-panel select, .graph-article-panel input { width: 100%; height: 36px; padding: 0 9px; border: 1px solid #dce3ed; border-radius: 6px; }
.graph-range-row { display: grid; grid-template-columns: minmax(0, 1fr) 38px; align-items: center; gap: 8px; }
.graph-range-row input { height: 24px; padding: 0; accent-color: var(--red); }
.graph-range-row output { color: #45536a; font-size: 10px; text-align: right; }
.graph-edge-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.graph-edge-actions button { min-height: 34px; padding: 0 7px; font-size: 9px; }
.graph-color-row { display: flex; gap: 7px; }
.graph-color-row button { width: 25px; min-width: 25px; height: 25px; min-height: 25px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--node-color); box-shadow: 0 0 0 1px #d7dee8; }
.graph-inspector > button, .graph-image-panel > button { min-height: 34px; }
.graph-image-panel > div { aspect-ratio: 16 / 8; border: 1px dashed #d4dce7; border-radius: 7px; background: #f2f5f9 center / cover no-repeat; }
.graph-image-panel > div.is-empty::after { content: "Şəkil seçilməyib"; display: grid; place-items: center; height: 100%; color: #7f8a9b; font-size: 10px; }
.graph-image-panel > small { color: #768397; font-size: 9px; line-height: 1.4; }
.graph-image-panel > small.is-error { color: var(--red); font-weight: 850; }
.graph-article-panel { min-height: 440px; }
.graph-article-panel > small { color: #6e7b90; font-size: 9px; }
.graph-article-panel > small.is-loading { color: #1554d1; }
.graph-article-panel > small.is-error { color: var(--red); }
.graph-article-panel > div { display: grid; gap: 6px; height: 294px; max-height: 312px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.graph-article-panel > div > button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; min-height: 54px; padding: 8px; border: 1px solid #e7ebf1; background: #fafbfd; text-align: left; }
.graph-article-panel button span { display: grid; gap: 3px; min-width: 0; }
.graph-article-panel button b { display: -webkit-box; overflow: hidden; font-size: 10px; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.graph-article-panel button small { color: #7b8799; font-size: 8px; }
.graph-article-panel button em { color: var(--red); font-size: 9px; font-style: normal; font-weight: 950; white-space: nowrap; }
.graph-article-panel > div > p { color: #788497; font-size: 10px; text-align: center; }
.investigation-builder-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 62px; padding: 10px 20px; border-top: 1px solid #dfe5ed; background: #fff; }
.investigation-builder-actions p { margin: 0; color: #69768a; font-size: 10px; }
.investigation-builder-actions div { display: flex; gap: 8px; }
.investigation-builder-actions button { min-height: 38px; }
@media (max-width: 1060px) { .graph-commandbar { align-items: stretch; flex-direction: column; } .graph-commandbar nav { justify-content: flex-start; } }
@media (max-width: 900px) { .investigation-builder-body { grid-template-columns: minmax(0, 1fr) 260px; } }
@media (max-width: 680px) { .investigation-builder { height: calc(100vh - 12px); width: calc(100vw - 12px); } .investigation-builder-body { grid-template-columns: 1fr; overflow-y: auto; } .investigation-builder-body > main { min-height: 660px; } .investigation-builder-body > aside { padding: 0 14px 14px; overflow: visible; } .graph-command-fields { grid-template-columns: 1fr; } .investigation-builder-actions { align-items: stretch; flex-direction: column; } .investigation-builder-actions div { width: 100%; } .investigation-builder-actions button { flex: 1; } .investigation-graph-block { width: 100% !important; } .investigation-graph-block > header { grid-template-columns: 1fr; } .investigation-graph-block > header nav { grid-column: 1; grid-row: auto; } .graph-display-tools { align-items: stretch; flex-direction: column; } }
.editor-social-embed { width: min(100%, 520px); margin: 22px 0 14px; padding: 14px; border: 1px solid #dfe5ee; border-radius: 8px; background: #fff; box-shadow: 0 10px 26px rgba(21,31,46,.05); }
.editor-social-embed b { display: block; color: #162033; }
.editor-social-embed small { display: block; margin: 2px 0 8px; color: #7b8492; }
.editor-social-embed p { margin: 0 0 10px; }
.editor-social-embed div { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 6px; background: #dfe7f2 center / cover; }
.editor-social-embed span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(7,16,31,.72); color: #fff; }
.editor-audio-chip { display: grid; grid-template-columns: 38px 120px minmax(80px, 240px) 44px; align-items: center; gap: 10px; width: min(100%, 560px); min-height: 58px; margin: 20px 0; padding: 9px 12px; border: 1px solid #e0e6ef; border-radius: 8px; background: #fff; }
.editor-audio-chip span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1677ff; color: #fff; }
.editor-audio-chip b { font-size: 13px; }
.editor-audio-chip i { height: 4px; border-radius: 999px; background: linear-gradient(90deg, #1677ff 45%, #e2e8f0 45%); }
.editor-audio-chip time { color: #657287; font-size: 12px; }
.editor-inline-table { width: min(100%, 520px); border-collapse: collapse; margin: 16px 0; }
.editor-inline-table td { padding: 10px 12px; border: 1px solid #e3e8f0; }
.switch-line { display: flex !important; grid-template-columns: none !important; align-items: center; justify-content: space-between; gap: 12px; }
.switch-line input { width: 42px !important; min-height: 22px !important; accent-color: #276fff; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.upload-grid button { min-height: 124px; border-style: dashed; background: #fbfcfe; color: #4d5a70; }
.ad-editor-grid,
.category-admin-grid,
.profile-grid,
.settings-grid,
.messages-grid,
.roles-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.category-admin-grid { grid-template-columns: 360px minmax(0, 1fr); }
.messages-grid { grid-template-columns: 330px minmax(0, 1fr) 300px; }
.roles-grid { grid-template-columns: 290px minmax(0, 1fr); }
.ad-preview { aspect-ratio: 970 / 250; margin-bottom: 16px; border-radius: 8px; background: linear-gradient(135deg, #07101f, #172c45 55%, #e6bd5b); position: relative; overflow: hidden; }
.ad-preview::before { content: "YAY KAMPANİYASI"; position: absolute; left: 24px; top: 26px; color: #fff; font-size: 24px; font-weight: 950; }
.ad-preview::after { content: "ƏTRAFLI MƏLUMAT"; position: absolute; left: 24px; bottom: 24px; padding: 8px 12px; border-radius: 5px; background: #f2c44d; color: #07101f; font-size: 12px; font-weight: 950; }
.profile-form { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; }
.profile-photo { display: grid; place-items: center; width: 168px; height: 168px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, #dbe4ef, #fff); color: var(--red); font-size: 58px; font-weight: 950; box-shadow: inset 0 0 0 1px #cfd8e6; }
.role-badge { padding: 6px 9px; border-radius: 7px; background: #eee9ff; color: #5038d6; font-style: normal; }
.permission-table { display: grid; border: 1px solid #eef2f7; border-radius: 8px; overflow: hidden; }
.permission-table label { display: grid; grid-template-columns: 1fr 420px; gap: 18px; padding: 14px; border-bottom: 1px solid #eef2f7; }
.permission-table label:last-child { border-bottom: 0; }
.permission-table span { display: flex; justify-content: space-between; color: #526074; }
.chat-card { display: grid; align-content: start; min-height: 600px; }
.chat-card header { border-bottom: 1px solid #edf1f6; padding-bottom: 14px; }
.bubble { width: fit-content; max-width: 70%; margin: 12px 0; padding: 13px 15px; border-radius: 14px 14px 14px 4px; background: #f2f5fa; }
.bubble.me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: #eaf3ff; }
.chat-card footer { display: grid; grid-template-columns: 1fr 46px; gap: 10px; margin-top: auto; }
.chat-card footer input { height: 48px; padding: 0 14px; }
.chat-card footer button { height: 48px; background: linear-gradient(135deg, #0f6fff, #5539f3); color: #fff; }
.empty-state { min-height: 300px; display: grid; place-content: center; justify-items: center; text-align: center; }
.push-studio {
  display: grid;
  gap: 18px;
}
.push-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px 190px;
  gap: 18px;
  align-items: center;
  padding: 24px 26px;
}
.push-hero p {
  margin: 0 0 4px;
  color: #526174;
  font-size: 13px;
  font-weight: 850;
}
.push-hero h2 {
  margin: 0 0 5px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: 0;
}
.push-hero span {
  color: #64748b;
  font-size: 14px;
  font-weight: 750;
}
.push-hero aside,
.push-hero time {
  min-height: 66px;
  padding: 13px 16px;
  border: 1px solid #e1e7f0;
  border-radius: 8px;
  background: #fbfcff;
}
.push-hero aside {
  display: grid;
  gap: 5px;
}
.push-hero aside b {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.push-hero aside i {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: inset 0 0 0 5px #dcfce7;
}
.push-hero time {
  color: #111827;
  font-size: 15px;
  font-weight: 950;
  font-style: normal;
  text-align: center;
}
.push-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.push-metrics article {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  min-height: 98px;
  padding: 18px 22px;
  border: 1px solid #e5eaf2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .035);
}
.push-metrics i {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef5ff;
  color: #106bff;
  font-style: normal;
  font-size: 24px;
  font-weight: 950;
}
.push-metrics span {
  color: #4f5d70;
  font-size: 13px;
  font-weight: 850;
}
.push-metrics b {
  color: #07101f;
  font-size: 27px;
  line-height: 1.05;
}
.push-metrics small {
  color: #7a8595;
  font-size: 12px;
  font-weight: 750;
}
.push-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  gap: 18px;
  align-items: start;
}
.push-compose {
  display: grid;
  gap: 18px;
}
.push-lang-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.push-lang-tabs button {
  min-width: 122px;
  height: 38px;
  border-color: #dfe6f1;
  background: #fbfcff;
  color: #334155;
  font-weight: 900;
}
.push-lang-tabs button.active {
  border-color: rgba(16, 107, 255, .45);
  background: #eef5ff;
  color: #0f5fe8;
  box-shadow: inset 0 0 0 1px rgba(16, 107, 255, .12);
}
.push-compose label {
  position: relative;
}
.push-compose label span {
  position: absolute;
  right: 10px;
  top: 0;
  color: #7a8595;
  font-size: 12px;
}
.push-compose input,
.push-compose textarea {
  width: 100%;
  margin-top: 7px;
  padding: 0 13px;
}
.push-compose textarea {
  padding-top: 12px;
  line-height: 1.5;
}
.push-advanced {
  border-top: 1px solid #edf1f6;
  border-bottom: 1px solid #edf1f6;
  padding: 12px 0;
}
.push-advanced summary {
  color: #1f2a3a;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}
.push-advanced .form-grid {
  margin-top: 12px;
}
.recent-broadcasts {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.recent-broadcasts header {
  margin: 0;
}
.recent-broadcasts header button {
  border: 0;
  color: #145ee8;
  background: transparent;
  box-shadow: none;
}
.portal-table.compact {
  min-width: 720px;
}
.portal-table.compact td,
.portal-table.compact th {
  padding: 10px;
}
.delivery-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #eaf8ef;
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
}
.push-preview-column {
  display: grid;
  gap: 18px;
}
.phone-preview-card header {
  margin-bottom: 10px;
}
.phone-preview-card header span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 34px;
  border: 1px solid #bed2ff;
  border-radius: 7px;
  background: #f5f8ff;
}
.push-phone {
  width: min(100%, 262px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 34px;
  background: #101827;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}
.push-phone-screen {
  min-height: 466px;
  padding: 28px 13px;
  border-radius: 25px;
  background: radial-gradient(circle at 50% 0, #718096, #1b2738 48%, #08111f);
  color: #fff;
}
.push-phone-screen > time {
  display: block;
  margin-bottom: 74px;
  text-align: center;
  font-size: 42px;
  font-weight: 500;
}
.push-notification-card {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 13px;
  background: rgba(245, 247, 250, .93);
  color: #111827;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.push-notification-card b {
  color: #0d55d9;
  font-size: 11px;
}
.push-notification-card strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 12px;
  line-height: 1.25;
}
.push-notification-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0;
  color: #334155;
  font-size: 11px;
  line-height: 1.35;
}
.push-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.push-final h2 {
  margin-bottom: 9px;
}
.push-final p {
  margin: 8px 0 0;
  color: #6b7687;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 750;
}
.push-final select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
}
.check-ok,
.check-warn {
  position: relative;
  padding-left: 19px;
}
.check-ok::before,
.check-warn::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 950;
}
.check-ok::before { content: "✓"; color: #16a34a; }
.check-warn::before { content: "△"; color: #f59e0b; }
.push-final > button {
  height: 42px;
}
.push-final > small {
  grid-column: 1 / -1;
  color: #ef2336;
  font-size: 12px;
  font-weight: 850;
}
@media (max-width: 1460px) {
  .editor-pro-layout { grid-template-columns: minmax(560px, 1fr) 310px; }
  .editor-action-column { grid-column: 2; position: static; }
  .push-hero { grid-template-columns: minmax(0, 1fr) 260px; }
  .push-hero time { grid-column: 2; }
}
@media (max-width: 1080px) {
  .portal-app { grid-template-columns: 82px minmax(0, 1fr); }
  .portal-brand strong,
  .portal-brand small,
  .portal-sidebar nav p,
  .portal-sidebar nav button { font-size: 0; justify-content: center; }
  .portal-sidebar nav button i { font-size: 16px; }
  .editor-pro-layout,
  .ad-editor-grid,
  .category-admin-grid,
  .profile-grid,
  .settings-grid,
  .messages-grid,
  .push-layout,
  .roles-grid { grid-template-columns: minmax(0, 1fr); }
  .push-hero,
  .push-metrics,
  .push-final { grid-template-columns: minmax(0, 1fr); }
  .push-hero time { grid-column: auto; }
  .editor-settings-column,
  .editor-action-column { position: static; }
}
.admin-dark .portal-main,
.admin-dark .portal-content { background: #101827; color: #e8edf5; }
.admin-dark .portal-card,
.admin-dark .portal-stats article,
.admin-dark .portal-top { background: #182235; border-color: #2a364b; color: #eef3fb; }
.sidebar-collapsed .portal-app { grid-template-columns: 76px minmax(0, 1fr); }
.sidebar-collapsed .portal-brand small,
.sidebar-collapsed .portal-brand strong,
.sidebar-collapsed .portal-sidebar nav p,
.sidebar-collapsed .portal-sidebar nav button { font-size: 0; justify-content: center; }
.sidebar-collapsed .portal-sidebar nav button i { font-size: 16px; }
.sidebar-collapsed .portal-sidebar nav button > span { display: none; }
.sidebar-collapsed .portal-sidebar nav button { padding-inline: 0; }
.sidebar-collapsed .portal-sidebar nav button i { width: 22px; height: 22px; flex-basis: 22px; }
.sidebar-collapsed .portal-sidebar nav button i .lucide-icon { width: 20px; height: 20px; }

.admin-body .portal-app {
  min-height: 100vh;
  grid-template-columns: 206px minmax(0, 1fr);
  background: #f7f9fc;
  color: #111827;
  font-family: Inter, Arial, sans-serif;
}
.admin-body .portal-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 14px;
  padding: 18px 12px 16px;
  background: #081827;
  box-shadow: inset -1px 0 0 rgba(255,255,255,.06);
}
.admin-body .portal-brand {
  gap: 4px;
  padding: 0 8px 28px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
}
.admin-body .portal-brand strong {
  display: block;
  font-size: 23px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}
.admin-body .portal-brand .brand-inter,
.admin-body .portal-brand em { color: #ef2336; font-style: normal; }
.admin-body .portal-brand .brand-press { color: #fff; }
.admin-body .portal-brand small {
  color: #9aa7ba;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}
.admin-body .portal-sidebar nav p {
  margin: 19px 8px 8px;
  color: #8b98aa;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .03em;
}
.admin-body .portal-sidebar nav button {
  min-height: 39px;
  padding: 0 10px;
  border-radius: 7px;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 850;
  background: transparent;
}
.admin-body .portal-sidebar nav button i {
  width: 18px;
  font-size: 14px;
}
.admin-body .portal-sidebar nav button.active {
  background: linear-gradient(135deg, #0879ff, #5136f4);
  box-shadow: 0 13px 30px rgba(34, 90, 255, .32);
}
.admin-body .portal-top {
  min-height: 56px;
  padding: 0 16px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  background: rgba(255,255,255,.96);
}
.admin-body .portal-top h1 {
  font-size: 18px;
  font-weight: 950;
}
.admin-body .menu-toggle,
.admin-body .portal-tools button {
  min-width: 32px;
  min-height: 32px;
  border-radius: 7px;
  color: #334155;
}
.admin-body .portal-tools .portal-user {
  min-width: 164px;
  min-height: 48px;
  border-radius: 0;
  border-width: 0 0 0 1px;
  background: transparent;
}
.admin-body .portal-content {
  max-width: none;
  padding: 18px 20px 30px;
}
.admin-body .portal-crumb {
  margin-bottom: 18px;
  color: #64748b;
  font-size: 13px;
}
.admin-body .portal-card,
.admin-body .portal-stats article {
  border-color: #e4e9f1;
  border-radius: 7px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .035);
}
.admin-body .portal-card {
  padding: 16px;
}
.admin-body .portal-card h2 {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 950;
}
.admin-body .portal-card label {
  color: #111827;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .portal-card input,
.admin-body .portal-card select,
.admin-body .portal-card textarea {
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  border-color: #dce3ee;
  border-radius: 5px;
  color: #111827;
  font-size: 12px;
  font-weight: 650;
}
.admin-body .portal-card button {
  min-height: 34px;
  border-radius: 5px;
  font-size: 12px;
}
.admin-body .editor-pro-layout {
  grid-template-columns: minmax(540px, 1fr) 270px 210px;
  gap: 14px;
}
.admin-body .editor-pro-layout > * {
  min-width: 0;
}
.admin-body .editor-control-column {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(210px, .76fr);
  gap: 14px;
  align-items: start;
}
.admin-body .editor-control-column > section { grid-column: 1; }
.admin-body .editor-control-column > .publish-card { grid-column: 2; grid-row: 1; }
.admin-body .editor-control-column > .publish-meta-card { grid-column: 2; grid-row: 2; }
.admin-body .editor-control-column > .editor-readiness-card { grid-column: 2; grid-row: 3; }
.admin-body .editor-control-column > .editor-preview-card { grid-column: 1 / -1; }
.admin-body .editor-form-pro {
  gap: 14px;
  padding: 16px;
}
.admin-body .article-validation-alert {
  padding: 13px 15px;
  border: 1px solid #fda29b;
  border-radius: 7px;
  background: #fff4f3;
  color: #912018;
}
.admin-body .article-validation-alert[hidden] { display: none; }
.admin-body .article-validation-alert strong { display: block; margin-bottom: 6px; font-size: 12px; }
.admin-body .article-validation-alert ul { display: grid; gap: 4px; margin: 0; padding-left: 18px; font-size: 10px; line-height: 1.45; font-weight: 750; }
.admin-body .editor-title-field.is-invalid input,
.admin-body .rich-editor-label.is-invalid .editor-canvas,
.admin-body .main-image-card.is-invalid .main-image-preview { border-color: #f04438; box-shadow: 0 0 0 3px rgba(240, 68, 56, .1); }
.admin-body .main-image-card.is-invalid > h2,
.admin-body .editor-title-field.is-invalid,
.admin-body .rich-editor-label.is-invalid .rich-editor-title { color: #b42318; }
.admin-body .form-grid.headline-row {
  grid-template-columns: 220px minmax(0, 1fr);
}
.admin-body .pro-toolbar {
  min-height: 42px;
  padding: 6px 8px;
  gap: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  border-radius: 5px 5px 0 0;
  scrollbar-width: none;
}
.admin-body .pro-toolbar::-webkit-scrollbar { display: none; }
.admin-body .pro-toolbar button,
.admin-body .pro-toolbar select {
  min-height: 28px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  font-size: 12px;
  box-shadow: none;
}
.admin-body .editor-form-pro .rich-editor {
  min-height: 540px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.55;
}
.admin-body .editor-image-block {
  width: min(100%, 340px);
  margin: 12px 0 24px;
}
.admin-body .editor-social-embed {
  width: min(100%, 380px);
}
.admin-body .editor-audio-chip {
  width: min(100%, 380px);
  min-height: 48px;
  grid-template-columns: 32px 112px minmax(70px, 1fr) 38px;
}
.admin-body .editor-inline-audio,
.article-web .editor-inline-audio,
.article-page .editor-inline-audio {
  display: grid;
  grid-template-columns: 42px minmax(120px, .72fr) minmax(140px, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 620px);
  margin: 18px 0;
  padding: 10px 12px;
  border: 1px solid rgba(217, 224, 235, .92);
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}
.admin-body .editor-inline-audio .inline-audio-play,
.article-web .editor-inline-audio .inline-audio-play,
.article-page .editor-inline-audio .inline-audio-play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ef2336;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(239, 35, 54, .22);
}
.admin-body .editor-inline-audio figcaption,
.article-web .editor-inline-audio figcaption,
.article-page .editor-inline-audio figcaption {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-body .editor-inline-audio figcaption b,
.article-web .editor-inline-audio figcaption b,
.article-page .editor-inline-audio figcaption b {
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .editor-inline-audio figcaption small,
.article-web .editor-inline-audio figcaption small,
.article-page .editor-inline-audio figcaption small {
  overflow: hidden;
  color: #7b8798;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .inline-audio-wave,
.article-web .inline-audio-wave,
.article-page .inline-audio-wave {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  height: 32px;
  min-width: 0;
}
.admin-body .inline-audio-wave i,
.article-web .inline-audio-wave i,
.article-page .inline-audio-wave i {
  display: block;
  width: 3px;
  height: 10px;
  border-radius: 999px;
  background: #9aa5b5;
  opacity: .72;
}
.admin-body .inline-audio-wave i:nth-child(2n),
.article-web .inline-audio-wave i:nth-child(2n),
.article-page .inline-audio-wave i:nth-child(2n) {
  height: 20px;
}
.admin-body .inline-audio-wave i:nth-child(3n),
.article-web .inline-audio-wave i:nth-child(3n),
.article-page .inline-audio-wave i:nth-child(3n) {
  height: 26px;
}
.admin-body .editor-inline-audio.is-playing .inline-audio-wave i,
.article-web .editor-inline-audio.is-playing .inline-audio-wave i,
.article-page .editor-inline-audio.is-playing .inline-audio-wave i {
  background: #ef2336;
  animation: inlineWave 900ms ease-in-out infinite;
}
.admin-body .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(2n),
.article-web .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(2n),
.article-page .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(2n) {
  animation-delay: 120ms;
}
.admin-body .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(3n),
.article-web .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(3n),
.article-page .editor-inline-audio.is-playing .inline-audio-wave i:nth-child(3n) {
  animation-delay: 240ms;
}
.admin-body .editor-inline-audio audio,
.article-web .editor-inline-audio audio,
.article-page .editor-inline-audio audio {
  display: none;
}
@keyframes inlineWave {
  0%, 100% { transform: scaleY(.55); opacity: .55; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (max-width: 680px) {
  .admin-body .editor-inline-audio,
  .article-web .editor-inline-audio,
  .article-page .editor-inline-audio {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    padding: 9px 10px;
    border-radius: 11px;
  }
  .admin-body .editor-inline-audio .inline-audio-play,
  .article-web .editor-inline-audio .inline-audio-play,
  .article-page .editor-inline-audio .inline-audio-play {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }
  .admin-body .inline-audio-wave,
  .article-web .inline-audio-wave,
  .article-page .inline-audio-wave {
    grid-column: 1 / -1;
    height: 24px;
    padding-left: 4px;
  }
}

.admin-body .insert-popover {
  top: 42px;
  right: 66px;
  grid-template-columns: 158px 176px;
  min-width: 334px;
  border-radius: 5px;
}
.admin-body .editor-settings-column,
.admin-body .editor-action-column {
  gap: 14px;
  top: 72px;
}
.admin-body .main-image-preview {
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  border-radius: 5px;
}
.admin-body .publish-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
}
.admin-body .publish-split button[data-save-article]:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.admin-body .publish-hint {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.admin-body .publish-split button:first-child {
  border-radius: 5px 0 0 5px;
}
.admin-body .publish-split button:last-child {
  border-left: 1px solid rgba(255,255,255,.35);
  border-radius: 0 5px 5px 0;
  padding: 0;
}
.admin-body .check-line {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.admin-body .check-line input {
  width: 14px;
  min-height: 14px;
  accent-color: #1677ff;
}
.admin-body .editor-side-card .switch-line {
  flex-direction: row-reverse;
}
.admin-body .editor-side-card .switch-line input {
  flex: 0 0 auto;
  border-radius: 999px;
}
.admin-body .news-list-card {
  padding: 14px;
}
.admin-body .filter-row {
  grid-template-columns: 220px 180px 170px 160px 190px 120px 160px;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-body .table-headline,
.admin-body .portal-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0;
}
.admin-body .table-headline span,
.admin-body .portal-pagination span {
  display: flex;
  gap: 8px;
}
.admin-body .table-headline b {
  color: #1677ff;
}
.admin-body .portal-pagination label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-body .portal-pagination select {
  min-height: 32px;
}
.admin-body .portal-pagination .active {
  background: #1677ff;
  color: #fff;
}
.admin-body .portal-table {
  min-width: 1120px;
}
.admin-body .portal-table th {
  padding: 10px 12px;
  font-size: 12px;
}
.admin-body .portal-table td {
  padding: 11px 12px;
  font-size: 12px;
}
.admin-body .news-cell {
  grid-template-columns: 76px minmax(0, 1fr);
}
.admin-body .news-cell img {
  width: 76px;
  height: 52px;
}
.admin-body .news-cell b {
  font-size: 13px;
}
.admin-body .news-cell small {
  font-size: 12px;
}
.admin-body .row-tools button {
  min-width: 30px;
}
.admin-body .ad-editor-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}
.admin-body .profile-grid {
  grid-template-columns: minmax(0, 1fr) 330px;
}
.admin-body .profile-form {
  grid-template-columns: 230px minmax(0, 1fr);
}
.admin-body .profile-photo {
  width: 150px;
  height: 150px;
}

.admin-body {
  --admin-bg: #f6f8fb;
  --admin-surface: #ffffff;
  --admin-border: #dfe6ef;
  --admin-muted: #697789;
  --admin-ink: #071326;
  --admin-blue: #1677ff;
  --admin-violet: #4f39f6;
}
.admin-body .portal-app {
  grid-template-columns: 238px minmax(0, 1fr);
  background:
    radial-gradient(circle at 75% 0, rgba(22, 119, 255, .055), transparent 360px),
    var(--admin-bg);
}
.admin-body .portal-sidebar {
  padding: 20px 14px 18px;
  background: linear-gradient(180deg, #0b1e31 0%, #061120 100%);
  border-right: 1px solid rgba(255,255,255,.08);
}
.admin-body .portal-brand {
  align-items: flex-start;
  padding: 0 8px 28px;
}
.admin-body .portal-brand strong {
  font-size: 26px;
  letter-spacing: 0;
}
.admin-body .portal-brand small {
  width: 100%;
  padding-left: 60px;
  text-align: left;
}
.admin-body .portal-sidebar nav {
  display: grid;
  gap: 3px;
}
.admin-body .portal-sidebar nav p {
  margin: 20px 10px 8px;
  color: rgba(226, 232, 240, .66);
  font-size: 11px;
  letter-spacing: 0;
}
.admin-body .portal-sidebar nav button {
  min-height: 41px;
  padding: 0 11px;
  border-radius: 8px;
  color: rgba(241, 245, 249, .9);
  font-size: 13px;
  font-weight: 820;
}
.admin-body .portal-sidebar nav button:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.admin-body .portal-sidebar nav button.active {
  background: linear-gradient(135deg, #0d80ff 0%, #503cf3 100%);
  color: #fff;
  box-shadow: 0 16px 30px rgba(22, 119, 255, .28);
}
.admin-body .portal-sidebar nav button i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: grid;
  place-items: center;
  color: rgba(226, 232, 240, .82);
  font-size: 0;
  opacity: 1;
}
.admin-body .portal-sidebar nav button i .lucide-icon {
  display: block;
  width: 18px;
  height: 18px;
}
.admin-body .portal-sidebar nav button > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .portal-sidebar nav button:hover i,
.admin-body .portal-sidebar nav button.active i {
  color: #fff;
}
.admin-body .portal-sidebar {
  gap: 6px;
  padding: 12px 10px;
}
.admin-body .portal-brand {
  padding: 0 8px 10px;
}
.admin-body .portal-brand strong {
  font-size: 22px;
}
.admin-body .portal-brand small {
  padding-left: 47px;
  font-size: 9px;
}
.admin-body .portal-sidebar nav {
  min-height: 0;
  gap: 4px;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.24) transparent;
}
.admin-body .portal-sidebar .nav-group {
  display: grid;
  gap: 1px;
}
.admin-body .portal-sidebar .nav-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 8px;
  color: rgba(226, 232, 240, .7);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.admin-body .portal-sidebar .nav-group-toggle:hover {
  background: rgba(255,255,255,.05);
  color: #fff;
}
.admin-body .portal-sidebar .nav-group-toggle b {
  transition: transform .18s ease;
}
.admin-body .portal-sidebar .nav-group.is-open .nav-group-toggle b {
  transform: rotate(180deg);
}
.admin-body .portal-sidebar .nav-group-items {
  display: none;
  gap: 1px;
}
.admin-body .portal-sidebar .nav-group.is-open .nav-group-items {
  display: grid;
}
.admin-body .portal-sidebar nav p {
  display: none;
}
.admin-body .portal-sidebar nav button {
  min-height: 27px;
  padding: 0 9px;
  font-size: 11px;
}
.admin-body .portal-sidebar nav button[data-view="trash"] {
  margin-top: 5px;
  background: linear-gradient(135deg, #ef233c, #c9182c);
  color: #fff;
}
.admin-body .portal-top {
  min-height: 64px;
  padding: 0 22px;
  border-bottom: 1px solid var(--admin-border);
  background: rgba(255,255,255,.98);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}
.admin-body .portal-top h1 {
  font-size: 20px;
  font-weight: 930;
  letter-spacing: 0;
}
.admin-body .portal-tools {
  gap: 10px;
}
.admin-body .portal-search {
  width: 248px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  background: #fff;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 650;
  outline: none;
}
.admin-body .portal-search:focus {
  border-color: rgba(22,119,255,.55);
  box-shadow: 0 0 0 3px rgba(22,119,255,.08);
}
.admin-body .menu-toggle,
.admin-body .portal-tools button {
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  background: #fff;
}
.admin-body .portal-tools .portal-user {
  width: 190px;
  max-width: 190px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: #fff;
  align-items: flex-start;
}
.admin-body .portal-tools .portal-user::before {
  content: "";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-right: 9px;
  border: 2px solid #d8e1ee;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef4ff, #dbe6f5);
}
.admin-body .portal-user span,
.admin-body .portal-user small {
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .portal-content {
  padding: 24px 26px 38px;
}
.admin-body .portal-crumb {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 750;
}
.admin-body .portal-stats {
  gap: 16px;
  margin-bottom: 18px;
}
.admin-body .portal-stats article {
  min-height: 126px;
  padding: 22px 24px;
}
.admin-body .portal-stats article span,
.admin-body .portal-card p,
.admin-body .portal-card small {
  color: var(--admin-muted);
}
.admin-body .portal-stats article b {
  color: var(--admin-ink);
  font-size: 38px;
  line-height: 1;
}
.admin-body .portal-card,
.admin-body .portal-stats article {
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: var(--admin-surface);
  box-shadow: 0 14px 40px rgba(15, 23, 42, .035);
}
.admin-body .portal-card {
  padding: 20px;
}
.admin-body .portal-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-body .portal-card h2 {
  color: var(--admin-ink);
  font-size: 17px;
  font-weight: 930;
}
.admin-body .portal-card label {
  gap: 8px;
  color: var(--admin-ink);
  font-size: 12px;
}
.admin-body .portal-card input,
.admin-body .portal-card select,
.admin-body .portal-card textarea {
  min-height: 40px;
  border: 1px solid var(--admin-border);
  border-radius: 7px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
}
.admin-body .portal-card textarea {
  min-height: 92px;
  padding-top: 11px;
}
.admin-body .portal-card button,
.admin-body .portal-pagination button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--admin-border);
  border-radius: 7px;
  background: #fff;
  color: var(--admin-ink);
  font-size: 13px;
  font-weight: 850;
}
.admin-body .portal-card button.primary,
.admin-body .portal-card .primary,
.admin-body .portal-pagination .active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--admin-blue), var(--admin-violet));
  color: #fff;
  box-shadow: 0 12px 24px rgba(22,119,255,.22);
}
.admin-body .portal-card button.danger,
.admin-body .danger {
  border-color: rgba(239, 35, 54, .28);
  color: #ef2336;
  background: #fff;
}
.admin-body .portal-grid {
  gap: 16px;
}
.admin-body .quick-list {
  display: grid;
  gap: 10px;
}
.admin-body .quick-list button {
  width: 100%;
  justify-content: flex-start;
  background: #f8fafc;
}
.admin-body .admin-table-wrap {
  border: 1px solid #edf1f6;
  border-radius: 8px;
  overflow: auto;
}
.admin-body .portal-table {
  border-collapse: collapse;
  background: #fff;
}
.admin-body .portal-table th {
  height: 44px;
  background: #f8fafc;
  color: #697789;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .portal-table td {
  height: 70px;
  border-top: 1px solid #edf1f6;
  color: var(--admin-ink);
  vertical-align: middle;
}
.admin-body .news-cell {
  gap: 13px;
}
.admin-body .news-cell img {
  width: 84px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
}
.admin-body .news-cell b {
  max-width: 360px;
  color: var(--admin-ink);
  font-size: 13px;
  line-height: 1.25;
}
.admin-body .news-cell small {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.35;
}
.admin-body .portal-table mark,
.admin-body .portal-table em,
.admin-body .role-badge {
  border-radius: 7px;
  padding: 6px 10px;
  font-style: normal;
  font-weight: 850;
}
.admin-body .portal-table mark {
  background: #eef2f7;
  color: #58667a;
}
.admin-body .portal-table em.ok,
.admin-body em.ok {
  background: #dcfce7;
  color: #079455;
}
.admin-body .portal-table em.warn,
.admin-body em.warn {
  background: #fff3d6;
  color: #b7791f;
}
.admin-body .portal-table em.bad,
.admin-body em.bad {
  background: #ffe4e8;
  color: #e11d48;
}
.admin-body .portal-table .news-status-cell {
  min-width: 116px;
}
.admin-body .portal-table .news-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 30px;
  padding: 6px 10px;
  box-sizing: border-box;
  white-space: nowrap;
  line-height: 1;
}
.admin-body .row-tools {
  display: flex;
  gap: 8px;
}
.admin-body .row-tools button {
  min-width: 34px;
  padding: 0;
}
.admin-body .editor-pro-layout {
  grid-template-columns: minmax(680px, 1fr) 318px 250px;
  gap: 16px;
}
.admin-body .editor-form-pro {
  padding: 18px;
}
.admin-body .form-grid.headline-row {
  grid-template-columns: 240px;
}
.admin-body .editor-title-field {
  margin-top: 4px;
}
.admin-body .pro-toolbar {
  min-height: 43px;
  border: 1px solid var(--admin-border);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}
.admin-body .pro-toolbar button,
.admin-body .pro-toolbar select {
  min-height: 32px;
  border-color: #e7ebf2;
  border-radius: 7px;
  background: #fff;
  color: #0b1220;
  font-size: 12px;
  box-shadow: none;
}
.admin-body .pro-toolbar button:hover,
.admin-body .pro-toolbar button.active {
  border-color: #cfd9ff;
  background: #f5f7ff;
  color: #2443d8;
}
.admin-body .pro-toolbar .insert-toggle {
  color: #0f57ff;
  border-color: #d7e1ff;
  background: #f8faff;
}
.admin-body .pro-toolbar .source-toggle {
  margin-left: auto;
}
.admin-body .toolbar-divider {
  width: 1px;
  height: 22px;
  background: #e8edf5;
}
.admin-body .editor-form-pro .rich-editor {
  min-height: 560px;
  border: 1px solid var(--admin-border);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
  cursor: text;
  caret-color: #155eef;
  user-select: text;
  -webkit-user-select: text;
}
.admin-body .editor-form-pro .rich-editor:focus-visible {
  outline: 2px solid rgba(21, 94, 239, .3);
  outline-offset: -2px;
}
.admin-body .editor-form-pro .rich-editor:empty::before {
  content: attr(data-placeholder);
  color: #9aa4b2;
  font-weight: 700;
}
.admin-body .editor-form-pro .rich-editor.source-mode {
  color: #334155;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.admin-body .editor-image-block {
  width: min(100%, 430px);
  border: 1px solid var(--admin-border);
  box-shadow: 0 16px 35px rgba(15, 23, 42, .08);
}
.admin-body .insert-popover {
  display: grid;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, .16);
}
.admin-body .insert-popover[aria-hidden="true"] {
  display: none;
}
.admin-body .insert-popover button:hover {
  background: #f6f8fc;
}
.admin-body .editor-side-card {
  display: grid;
  gap: 10px;
}
.admin-body .main-image-preview,
.admin-body .ad-preview {
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.admin-body .main-image-preview {
  min-height: 150px;
  border: 1px solid #e7ebf2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
.admin-body .main-image-card .main-image-preview {
  position: relative;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.admin-body .main-image-card [data-main-image-canvas] {
  position: absolute;
  z-index: 1;
  top: var(--pan-y, -10%);
  left: var(--pan-x, -10%);
  display: block;
  width: 160%;
  height: 160%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  will-change: top, left;
}
.admin-body .main-image-card [data-main-image-canvas]:not([src]) { display: none; }
.admin-body .main-image-card .main-image-preview.is-dragging { cursor: grabbing; }
.admin-body .main-image-focus-guide {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(8,24,42,.35), 0 2px 12px rgba(8,24,42,.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.admin-body .main-image-focus-guide::before,
.admin-body .main-image-focus-guide::after { content: ""; position: absolute; top: 50%; left: 50%; background: rgba(255,255,255,.95); transform: translate(-50%, -50%); }
.admin-body .main-image-focus-guide::before { width: 38px; height: 1px; }.admin-body .main-image-focus-guide::after { width: 1px; height: 38px; }
.admin-body .main-image-drag-hint { position: absolute; z-index: 3; right: 8px; bottom: 8px; left: 8px; margin: 0; padding: 6px 8px; border-radius: 5px; background: rgba(7,16,31,.72); color: #fff; font-size: 9px; font-weight: 800; text-align: center; pointer-events: none; backdrop-filter: blur(4px); }
.admin-body .main-image-focus-actions { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 8px; color: #667085; font-size: 9px; font-weight: 750; }
.admin-body .main-image-focus-actions b { color: #172236; }.admin-body .main-image-focus-actions button { min-height: 28px; padding: 0 9px; border: 1px solid #dce3ec; border-radius: 5px; background: #fff; color: #175cd3; font-size: 9px; font-weight: 850; }
.admin-body .main-image-preview.is-empty .main-image-focus-guide,
.admin-body .main-image-preview.is-empty .main-image-drag-hint { display: none; }
.admin-body .main-image-preview.is-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
}
.admin-body .main-image-preview.is-empty::before {
  content: "Əsas şəkil seçilməyib";
  color: #7b8798;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .file-pill.empty {
  color: #8994a5;
  background: #f8fafc;
}
.admin-body .editor-readiness-card,
.admin-body .editor-preview-card {
  gap: 12px;
}
.admin-body .editor-readiness-card p {
  margin: 0;
  color: #6b7788;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}
.admin-body .readiness-list {
  display: grid;
  gap: 8px;
}
.admin-body .readiness-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #edf1f6;
  border-radius: 8px;
  background: #fbfcff;
  color: #8a95a5;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .readiness-list span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
}
.admin-body .readiness-list span.is-ready {
  border-color: #ccebdc;
  background: #f3fbf7;
  color: #0b9f55;
}
.admin-body .readiness-list span.is-ready::before {
  background: #16a34a;
}
.admin-body .editor-preview-card article {
  display: grid;
  gap: 9px;
}
.admin-body .editor-preview-card .preview-image {
  aspect-ratio: 16 / 9;
  border: 1px solid #e7ebf2;
  border-radius: 8px;
  background: #eef3fa center / cover no-repeat;
}
.admin-body .editor-preview-card .preview-image.is-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f9fbff, #eef4ff);
}
.admin-body .editor-preview-card .preview-image.is-empty::before {
  content: "Şəkil önizləməsi";
  color: #94a0b2;
  font-size: 11px;
  font-weight: 900;
}
.admin-body .editor-preview-card span {
  justify-self: start;
  padding: 4px 8px;
  border-radius: 5px;
  background: #ef2336;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-body .editor-preview-card h3 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 17px;
  line-height: 1.18;
}
.admin-body .editor-preview-card p {
  margin: 0;
  color: #647084;
  font-size: 12px;
  line-height: 1.45;
}
.admin-body .editor-preview-card small {
  color: #7b8798;
  font-size: 11px;
  font-weight: 850;
}
.admin-body .publish-card button,
.admin-body .editor-side-card button,
.admin-body .editor-preview-card button {
  border-radius: 8px;
}
.admin-body .article-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(6, 14, 29, .38);
  backdrop-filter: blur(10px);
}
.admin-body .article-preview-modal > div {
  width: min(760px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(3, 10, 25, .24);
}
.admin-body .article-preview-modal header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f6;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
}
.admin-body .article-preview-modal header b {
  color: #101827;
  font-size: 14px;
  font-weight: 950;
}
.admin-body .article-preview-modal header button {
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 8px;
}
.admin-body .article-preview-modal article {
  display: grid;
  gap: 12px;
  padding: 20px;
}
.admin-body .article-preview-modal img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 9px;
}
.admin-body .article-preview-modal article > span {
  justify-self: start;
  padding: 5px 9px;
  border-radius: 5px;
  background: #ef2336;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}
.admin-body .article-preview-modal h2 {
  margin: 0;
  color: #07101f;
  font-size: 28px;
  line-height: 1.12;
}
.admin-body .article-preview-modal p,
.admin-body .article-preview-modal section {
  color: #445066;
  font-size: 15px;
  line-height: 1.65;
}
.admin-body .article-preview-modal footer {
  padding-top: 12px;
  border-top: 1px solid #edf1f6;
  color: #6b7788;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .ad-preview {
  width: 100%;
  max-width: 100%;
  min-height: 0;
  background-image: url("../assets/web-ad-peugeot.jpg");
}
.admin-body .tag-cloud,
.admin-body .media-grid,
.admin-body .user-list,
.admin-body .placement-grid {
  display: grid;
  gap: 12px;
}
.admin-body .tag-cloud {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.admin-body .tag-cloud button {
  justify-content: space-between;
  background: #f8fafc;
}
.admin-body .tag-cloud span,
.admin-body .user-list em {
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #1677ff;
  font-size: 11px;
  font-weight: 900;
}
.admin-body .media-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.admin-body .media-premium-page,
.admin-body .seo-premium-page {
  display: grid;
  gap: 16px;
}
.admin-body .media-command,
.admin-body .seo-command {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
}
.admin-body .media-command span,
.admin-body .seo-command span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-body .media-command h2,
.admin-body .seo-command h2 {
  margin: 4px 0 6px;
  color: var(--admin-ink);
  font-size: 25px;
  line-height: 1.1;
}
.admin-body .media-command p,
.admin-body .seo-command p {
  max-width: 620px;
  margin: 0;
  color: #697789;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}
.admin-body .media-command .primary {
  min-width: 132px;
  box-shadow: 0 14px 32px rgba(37, 99, 235, .16);
}
.admin-body .media-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-body .media-stats article {
  padding: 16px;
  border: 1px solid var(--admin-border);
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.admin-body .media-stats span,
.admin-body .media-stats small {
  color: #697789;
  font-size: 12px;
  font-weight: 800;
}
.admin-body .media-stats b {
  display: block;
  margin: 6px 0 3px;
  color: #071326;
  font-size: 28px;
  line-height: 1;
}
.admin-body .media-workspace,
.admin-body .seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
  align-items: start;
}
.admin-body .media-library {
  padding: 16px;
}
.admin-body .media-grid.premium {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.admin-body .media-grid article,
.admin-body .user-list article,
.admin-body .placement-grid article {
  padding: 12px;
  border: 1px solid var(--admin-border);
  border-radius: 9px;
  background: #fff;
}
.admin-body .media-grid article {
  display: grid;
  align-content: start;
  min-height: 244px;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .045);
}
.admin-body .media-grid article > div {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-bottom: 10px;
  border-radius: 7px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.admin-body .media-grid article > div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,19,38,0), rgba(7,19,38,.34));
}
.admin-body .media-grid article > div i {
  position: absolute;
  z-index: 1;
  left: 10px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: #ef2336;
  font-style: normal;
  font-weight: 950;
}
.admin-body .media-grid article > div em {
  position: absolute;
  z-index: 1;
  right: 9px;
  bottom: 10px;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(7,19,38,.72);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}
.admin-body .media-grid article.is-video > div::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 16px 34px rgba(7, 19, 38, .2);
  backdrop-filter: blur(10px);
}
.admin-body .media-grid article.is-video > div i {
  left: 50%;
  bottom: auto;
  top: 50%;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  background: #ef2336;
  color: #fff;
}
.admin-body .media-grid article.is-audio > div,
.admin-body .media-grid article > .media-audio-surface {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  aspect-ratio: auto;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, .12);
  background:
    radial-gradient(circle at 10% 10%, rgba(239, 35, 54, .12), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}
.admin-body .media-grid article.is-audio > div::after,
.admin-body .media-grid article > .media-audio-surface::after {
  display: none;
}
.admin-body .media-audio-surface span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #ef2336;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(239, 35, 54, .18);
}
.admin-body .media-audio-surface nav {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}
.admin-body .media-audio-surface nav i {
  display: block;
  width: 3px;
  height: 20px;
  border-radius: 999px;
  background: #8a96a8;
  opacity: .72;
  position: static;
}
.admin-body .media-audio-surface nav i:nth-child(2n) { height: 34px; }
.admin-body .media-audio-surface nav i:nth-child(3n) { height: 26px; }
.admin-body .media-audio-surface.is-live nav i {
  animation: inlineWave .9s ease-in-out infinite;
}
.admin-body .media-audio-surface.is-live nav i:nth-child(2n) {
  animation-delay: .12s;
}
.admin-body .media-audio-surface em {
  position: static;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(7, 19, 38, .08);
  color: #334155;
  font-size: 9px;
  font-style: normal;
  font-weight: 950;
}
.admin-body .media-grid b,
.admin-body .user-list b,
.admin-body .placement-grid b {
  display: block;
  color: var(--admin-ink);
  font-size: 13px;
  line-height: 1.28;
  min-height: 34px;
}
.admin-body .media-grid nav {
  display: flex;
  gap: 8px;
}
.admin-body .media-grid footer {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}
.admin-body .media-grid footer span {
  color: #7b8798;
  font-size: 11px;
  font-weight: 850;
}
.admin-body .media-grid nav button {
  min-height: 31px;
  padding: 0 10px;
  font-size: 11px;
}
.admin-body .media-side-stack {
  display: grid;
  gap: 16px;
}
.admin-body .media-upload-card {
  gap: 12px;
}
.admin-body .upload-drop {
  display: grid;
  place-items: center;
  min-height: 148px;
  padding: 18px;
  border-style: dashed;
  border-color: rgba(37, 99, 235, .22);
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .08), transparent 38%),
    linear-gradient(135deg, #f8fbff, #f4f7ff);
}
.admin-body .upload-drop b {
  color: #0f57ff;
  text-align: center;
}
.admin-body .upload-drop small {
  color: #7b8798;
  font-size: 11px;
}
.admin-body .media-side-stack ul {
  margin: 0;
  padding-left: 18px;
  color: #657187;
  font-size: 12px;
  line-height: 1.8;
  font-weight: 750;
}
.admin-body .media-archive-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.admin-body .media-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .media-library-head h2,
.admin-body .media-library-head p {
  margin: 0;
}
.admin-body .media-library-head p {
  margin-top: 4px;
  color: #748196;
  font-size: 12px;
}
.admin-body .media-library-head button {
  min-height: 36px;
}
.admin-body .media-search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 10px;
}
.admin-body .media-search-line label {
  position: relative;
  display: block;
}
.admin-body .media-search-line label svg {
  position: absolute;
  z-index: 1;
  left: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  transform: translateY(-50%);
  color: #77859a;
}
.admin-body .media-search-line input {
  width: 100%;
  min-height: 42px;
  padding-left: 40px;
}
.admin-body .media-filter-smart {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
.admin-body .media-filter-smart select {
  width: 100%;
  min-height: 38px;
  font-size: 11px;
}
.admin-body .media-grid article > .media-card-meta,
.admin-body .media-grid article > .media-smart-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
  aspect-ratio: auto;
  margin: 8px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  overflow: visible;
}
.admin-body .media-grid article > .media-card-meta::after,
.admin-body .media-grid article > .media-smart-tags::after {
  display: none;
}
.admin-body .media-card-meta span {
  color: #78869a;
  font-size: 10px;
  font-weight: 800;
}
.admin-body .media-card-meta span + span::before {
  content: "·";
  margin-right: 6px;
}
.admin-body .media-smart-tags span {
  max-width: 100%;
  padding: 4px 7px;
  border-radius: 5px;
  background: #f1f5f9;
  color: #536176;
  font-size: 9px;
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .media-smart-tags span.is-person {
  background: #eaf2ff;
  color: #175cd3;
}
.admin-body .media-smart-tags span.is-empty {
  background: #fff7e6;
  color: #9a6700;
}
.admin-body .media-grid.has-no-results::after {
  content: "Seçilən filtrlərə uyğun media tapılmadı.";
  grid-column: 1 / -1;
  padding: 42px 20px;
  border: 1px dashed #ccd6e4;
  border-radius: 8px;
  color: #66758a;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.admin-body .media-archive-guide li b {
  color: #17243a;
}
.admin-body .media-standard-note {
  border-color: rgba(37, 99, 235, .18);
  background: linear-gradient(145deg, #f8fbff, #eef4ff);
}
.admin-body .media-standard-note > span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.admin-body .media-standard-note h2 {
  margin: 7px 0;
}
.admin-body .media-standard-note p {
  margin: 0;
  color: #65748a;
  font-size: 12px;
  line-height: 1.6;
}
.media-metadata-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 16, 31, .54);
  backdrop-filter: blur(8px);
}
.media-metadata-modal > form {
  width: min(1080px, 100%);
  max-height: calc(100vh - 48px);
  padding: 22px;
  overflow: auto;
  box-shadow: 0 32px 90px rgba(6, 16, 31, .3);
}
.media-metadata-modal header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e7edf5;
}
.media-metadata-modal header span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.media-metadata-modal header h2 {
  margin: 4px 0;
  font-size: 21px;
}
.media-metadata-modal header p {
  margin: 0;
  color: #6b788d;
  font-size: 12px;
}
.media-metadata-modal header > button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 22px;
}
.media-metadata-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #f8fafc;
}
.media-metadata-preview img,
.media-metadata-preview i {
  width: 72px;
  height: 52px;
  border-radius: 6px;
  object-fit: cover;
}
.media-metadata-preview i {
  display: grid;
  place-items: center;
  background: #eaf2ff;
  color: #2563eb;
  font-style: normal;
  font-size: 20px;
}
.media-metadata-preview b,
.media-metadata-preview small {
  display: block;
}
.media-metadata-preview small {
  margin-top: 4px;
  color: #758297;
}
.media-metadata-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}
.media-metadata-grid label {
  display: grid;
  gap: 7px;
  color: #243249;
  font-size: 11px;
  font-weight: 900;
}
.media-metadata-grid .wide {
  grid-column: 1 / -1;
}
.media-metadata-grid input,
.media-metadata-grid select,
.media-metadata-grid textarea {
  width: 100%;
}
.media-metadata-modal footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e7edf5;
}
.watermark-studio {
  margin: 0 0 18px;
  padding: 16px;
  border: 1px solid #dfe8f4;
  border-radius: 8px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}
.watermark-studio > header {
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 14px;
}
.watermark-studio > header h3 {
  margin: 3px 0 4px;
  color: #101c31;
  font-size: 17px;
}
.watermark-studio > header > button {
  width: auto;
  min-width: 190px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 12px;
}
.watermark-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: start;
}
.watermark-canvas {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #cfdae8;
  border-radius: 8px;
  background: #dce4ee;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .65);
  touch-action: none;
}
.watermark-source {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  max-height: 520px;
  object-fit: contain;
}
.watermark-canvas [data-watermark-layer] {
  position: absolute;
  inset: 0;
}
.watermark-object {
  position: absolute;
  z-index: 2;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: grab;
  touch-action: none;
}
.watermark-object:hover,
.watermark-object.active {
  border-color: #1670ea;
  background: rgba(22, 112, 234, .08);
  box-shadow: 0 0 0 3px rgba(22, 112, 234, .16);
}
.watermark-object:active { cursor: grabbing; }
.watermark-object img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.watermark-object b {
  position: absolute;
  top: -10px;
  right: -10px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1670ea;
  color: #fff;
  font-size: 10px;
}
.watermark-controls {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 15px;
  border: 1px solid #dfe7f1;
  border-radius: 8px;
  background: #fff;
}
.watermark-controls > div:not(.watermark-empty) {
  display: grid;
  gap: 14px;
}
.watermark-controls label {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  color: #243249;
  font-size: 11px;
  font-weight: 900;
}
.watermark-controls label input { grid-column: 1 / -1; width: 100%; }
.watermark-controls output { color: #1769e0; font-weight: 950; }
.watermark-controls > small {
  align-self: end;
  color: #6f7d91;
  font-size: 10px;
  line-height: 1.5;
}
.watermark-empty {
  align-self: center;
  color: #65748a;
  text-align: center;
}
.watermark-empty b { color: #1c2b42; }
.watermark-empty p { margin: 7px 0 0; font-size: 11px; line-height: 1.5; }
.watermark-positions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 8px;
  border: 1px solid #e0e8f2;
  border-radius: 7px;
  background: #f7f9fc;
}
.watermark-positions button {
  min-height: 30px;
  padding: 0;
  border: 1px solid #d8e2ef;
  background: #fff;
}
.watermark-positions i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1769e0;
}
.watermark-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.watermark-actions button { padding: 8px; font-size: 10px; }
.media-card-watermark,
.article-image-watermark {
  position: absolute;
  z-index: 3;
  height: auto !important;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: contain;
}
.admin-body .media-grid article > div .media-card-watermark {
  border-radius: 0;
}
.editor-image-stage {
  position: relative;
  overflow: hidden;
}
.editor-image-stage > img:first-child {
  display: block;
  width: 100%;
}
.media-asset-preview-modal {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 12, 25, .72);
  backdrop-filter: blur(10px);
}
.media-asset-preview-modal > section {
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px;
  overflow: auto;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .42);
}
.media-asset-preview-modal header,
.media-asset-preview-modal footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.media-asset-preview-modal header {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e4eaf2;
}
.media-asset-preview-modal header span {
  color: #1769e0;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}
.media-asset-preview-modal header h2 { margin: 3px 0; font-size: 19px; }
.media-asset-preview-modal header p,
.media-asset-preview-modal footer span { margin: 0; color: #6c798c; font-size: 11px; font-weight: 700; }
.media-asset-preview-modal header > button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 22px;
}
.media-asset-preview-stage {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 7px;
  background: #e9eef5;
}
.media-asset-preview-stage > img:first-child {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 220px);
  object-fit: contain;
}
.media-asset-preview-modal footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e4eaf2;
}
@media (max-width: 700px) {
  .media-asset-preview-modal { padding: 10px; }
  .media-asset-preview-modal > section { max-height: calc(100vh - 20px); padding: 12px; }
  .media-asset-preview-modal footer { align-items: stretch; flex-direction: column; }
  .media-asset-preview-modal footer button { width: 100%; }
}
.admin-body .seo-command .seo-score {
  min-width: 230px;
  padding: 14px;
  border: 1px solid #e4ebf5;
  border-radius: 10px;
  background: #f8fbff;
}
.admin-body .seo-command .seo-score b {
  width: 64px;
  height: 64px;
  font-size: 24px;
  background: conic-gradient(#16a34a 0 94%, #e5eaf2 94% 100%);
  box-shadow: inset 0 0 0 7px #fff;
}
.admin-body .seo-main-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}
.admin-body .seo-premium-page label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #202938;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .seo-premium-page input,
.admin-body .seo-premium-page select,
.admin-body .seo-premium-page textarea {
  width: 100%;
  min-width: 0;
}
.admin-body .seo-premium-page textarea {
  min-height: 104px;
  line-height: 1.5;
}
.admin-body .seo-premium-page label small {
  color: #7b8798;
  font-size: 11px;
  font-weight: 750;
}
.admin-body .seo-preview {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid #e6ecf4;
  border-radius: 10px;
  background: #fff;
}
.admin-body .seo-preview small {
  color: #7b8798;
  font-size: 11px;
  font-weight: 900;
}
.admin-body .seo-preview b {
  color: #1a0dab;
  font-size: 17px;
  line-height: 1.3;
}
.admin-body .seo-preview span {
  color: #12813b;
  font-size: 12px;
  font-weight: 800;
}
.admin-body .seo-preview p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}
.admin-body .seo-side {
  display: grid;
  gap: 16px;
}
.admin-body .seo-side .portal-card {
  gap: 10px;
}
.admin-body .check-ok,
.admin-body .check-warn {
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .check-ok::before {
  content: "✓";
  margin-right: 8px;
  color: #16a34a;
}
.admin-body .check-warn::before {
  content: "!";
  margin-right: 8px;
  color: #f59e0b;
}
.admin-body .user-list {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.admin-body .user-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  column-gap: 12px;
}
.admin-body .user-list article span {
  grid-row: span 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fee2e2;
  color: #ef2336;
  font-weight: 950;
}
.admin-body .users-premium-page,
.admin-body .role-premium-page {
  display: grid;
  gap: 16px;
}
.admin-body .user-command,
.admin-body .user-command > div,
.admin-body .role-permission-card header,
.admin-body .role-directory header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.admin-body .user-command,
.admin-body .user-command > div,
.admin-body .role-permission-card header > div,
.admin-body .role-directory header > div {
  min-width: 0;
}
.admin-body .user-command > div {
  flex: 1 1 auto;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.admin-body .user-command > button {
  flex: 0 0 auto;
  white-space: nowrap;
}
.admin-body .user-command span,
.admin-body .media-command span {
  color: var(--admin-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-body .user-command h2,
.admin-body .role-permission-card h2,
.admin-body .role-directory h2,
.admin-body .user-edit-panel h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
}
.admin-body .user-command p,
.admin-body .role-permission-card p,
.admin-body .role-directory p {
  margin: 4px 0 0;
  color: #687386;
  font-size: 13px;
}
.admin-body .user-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.admin-body .user-metrics article {
  padding: 16px;
  border: 1px solid var(--admin-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(15,23,42,.04);
}
.admin-body .user-metrics span {
  color: #687386;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .user-metrics b {
  display: block;
  margin-top: 7px;
  color: #071326;
  font-size: 30px;
  line-height: 1;
}
.admin-body .user-metrics small {
  color: #8993a4;
  font-weight: 800;
}
.admin-body .user-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 350px);
  gap: 16px;
  align-items: start;
}
.admin-body .users-table-card,
.admin-body .user-edit-panel,
.admin-body .role-directory,
.admin-body .role-permission-card,
.admin-body .role-side-stack .portal-card {
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(15,23,42,.045);
}
.admin-body .users-filter {
  grid-template-columns: minmax(240px, 1fr) 190px 170px auto;
  margin-bottom: 14px;
}
.admin-body .users-filter > * {
  width: 100%;
  min-width: 0;
}
.admin-body .users-filter button {
  white-space: nowrap;
}
.admin-body .user-directory-list {
  display: grid;
  gap: 10px;
}
.admin-body .user-row-card {
  display: grid;
  grid-template-columns: 46px minmax(210px, 1fr) 150px 92px;
  gap: 10px 14px;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #edf1f6;
  border-radius: 11px;
  background: linear-gradient(180deg, #fff, #fbfcff);
}
.admin-body .user-row-card > div,
.admin-body .user-row-card > span,
.admin-body .user-row-card > mark,
.admin-body .user-row-card > em,
.admin-body .user-row-card > nav {
  min-width: 0;
}
.admin-body .user-row-card > div b,
.admin-body .user-row-card > div small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .user-row-card[hidden] {
  display: none;
}
.admin-body .user-avatar,
.admin-body .profile-photo.small {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #eef4ff, #fff1f2);
  color: #e60012;
  font-weight: 950;
}
.admin-body .user-row-card b {
  color: #071326;
  font-size: 14px;
}
.admin-body .user-row-card small,
.admin-body .user-row-card p {
  color: #778195;
  font-size: 12px;
  font-weight: 750;
}
.admin-body .user-row-card p {
  grid-column: 2 / 4;
  margin: 0;
}
.admin-body .user-row-card mark {
  justify-self: start;
  padding: 7px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .user-row-card em {
  justify-self: start;
}
.admin-body .user-row-card nav {
  grid-column: 4;
  display: flex;
  gap: 7px;
  justify-content: flex-end;
}
.admin-body .user-row-card nav button,
.admin-body .role-list-premium button,
.admin-body .permission-table.premium select {
  min-height: 34px;
}
.admin-body .user-edit-panel {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 76px;
}
.admin-body .user-edit-panel,
.admin-body .role-edit-card,
.admin-body .role-summary {
  min-width: 0;
  overflow: hidden;
}
.admin-body .user-edit-panel input,
.admin-body .user-edit-panel select,
.admin-body .user-edit-panel textarea,
.admin-body .user-edit-panel button,
.admin-body .role-side-stack input,
.admin-body .role-side-stack select,
.admin-body .role-side-stack textarea,
.admin-body .role-side-stack button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.admin-body .user-edit-panel label,
.admin-body .role-edit-card label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
}
.admin-body .role-premium-page {
  grid-template-columns: 280px minmax(0, 1fr) 320px;
  align-items: start;
}
.admin-body .role-directory {
  display: grid;
  gap: 12px;
}
.admin-body .role-directory header span {
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 950;
}
.admin-body .role-list-premium {
  display: grid;
  gap: 8px;
}
.admin-body .role-list-premium button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  justify-items: start;
  padding: 9px;
  border-radius: 10px;
  background: #fff;
}
.admin-body .role-list-premium button i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f1f5f9;
  color: var(--admin-blue);
  font-style: normal;
  font-weight: 950;
}
.admin-body .role-list-premium button.active {
  border-color: rgba(59,93,246,.28);
  background: linear-gradient(135deg, #f7f8ff, #fff);
  box-shadow: inset 3px 0 0 var(--admin-blue);
}
.admin-body .role-list-premium button b,
.admin-body .role-list-premium button small {
  display: block;
  text-align: left;
}
.admin-body .role-list-premium button em,
.admin-body .role-permission-card header em {
  padding: 5px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.admin-body .permission-table.premium {
  gap: 14px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.admin-body .permission-block {
  display: grid;
  overflow: hidden;
  border: 1px solid #edf1f6;
  border-radius: 11px;
}
.admin-body .permission-block h3 {
  margin: 0;
  padding: 12px 14px;
  background: #f8fafc;
  color: #071326;
  font-size: 13px;
}
.admin-body .permission-table.premium label {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px;
  min-height: 58px;
  padding: 10px 14px;
}
.admin-body .permission-table.premium select {
  width: 100%;
}
.admin-body .role-side-stack {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 76px;
}
.admin-body .role-summary.premium p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .role-summary.premium b {
  color: var(--admin-blue);
}
.admin-body .role-quick-actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.admin-body .placement-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Advertising inventory map */
.admin-body .ad-map-page { display: grid; gap: 16px; }
.admin-body .ad-map-command { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 22px; }
.admin-body .ad-map-command span { color: #155eef; font-size: 11px; font-weight: 950; text-transform: uppercase; }
.admin-body .ad-map-command h2 { margin: 4px 0 5px; color: #101828; font-size: 25px; }
.admin-body .ad-map-command p { max-width: 700px; margin: 0; color: #667085; font-size: 13px; line-height: 1.55; font-weight: 650; }
.admin-body .ad-map-command .primary { flex: 0 0 auto; }
.admin-body .ad-map-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-body .ad-map-metrics article { padding: 16px 18px; border: 1px solid #e5eaf1; border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(15, 23, 42, .035); }
.admin-body .ad-map-metrics span, .admin-body .ad-map-metrics small { color: #667085; font-size: 11px; font-weight: 800; }
.admin-body .ad-map-metrics b { display: block; margin: 5px 0 3px; color: #101828; font-size: 27px; line-height: 1; }
.admin-body .ad-map-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 16px; align-items: start; }
.admin-body .site-map-card { min-width: 0; padding: 16px; }
.admin-body .site-map-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.admin-body .site-map-card > header h2 { margin: 0 0 4px; color: #101828; font-size: 18px; }
.admin-body .site-map-card > header p { margin: 0; color: #667085; font-size: 12px; }
.admin-body .ad-map-tabs { display: flex; gap: 4px; padding: 3px; border: 1px solid #e5eaf1; border-radius: 7px; background: #f8fafc; }
.admin-body .ad-map-tabs button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 5px; background: transparent; box-shadow: none; color: #667085; font-size: 11px; }
.admin-body .ad-map-tabs button.active { background: #fff; color: #155eef; box-shadow: 0 2px 7px rgba(15, 23, 42, .08); }
.admin-body .site-map-canvas { overflow: hidden; border: 1px solid #dfe5ed; border-radius: 8px; background: #f3f5f8; }
.admin-body .site-map-canvas[hidden] { display: none; }
.admin-body .site-map-topbar { height: 12px; border-bottom: 1px solid #27344a; background: #0a1628; }
.admin-body .site-map-header { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px; border-bottom: 1px solid #dfe5ed; background: #fff; }
.admin-body .site-map-header i { width: 56px; height: 20px; margin-right: auto; border-radius: 3px; background: #dbe3ee; }
.admin-body .site-map-header span { width: 48px; height: 6px; border-radius: 4px; background: #d8dee8; }
.admin-body .desktop-site-grid { display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; gap: 10px; padding: 10px; }
.admin-body .desktop-site-grid > aside { min-width: 0; }
.admin-body .desktop-site-grid > main { display: grid; gap: 8px; min-width: 0; }
.admin-body .site-map-lead { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 8px; align-items: stretch; }
.admin-body .site-map-lead > section { display: grid; grid-template-rows: 126px minmax(44px, auto); gap: 8px; min-width: 0; }
.admin-body .site-map-hero { display: grid; place-items: center; height: 126px; border: 1px solid #e2e7ee; border-radius: 6px; background: #e8edf3; color: #8490a2; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.admin-body .site-map-lead > section > .site-ad-slot { min-height: 44px; }
.admin-body .site-map-popular { display: grid; grid-template-rows: auto repeat(5, 1fr); gap: 5px; min-width: 0; padding: 9px; border-radius: 6px; background: #0a1628; color: #fff; }
.admin-body .site-map-popular b { font-size: 9px; line-height: 1.15; text-transform: uppercase; }
.admin-body .site-map-popular i { display: block; min-height: 0; border-top: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(90deg, rgba(255,255,255,.28) 0 24%, transparent 24% 31%, rgba(255,255,255,.15) 31% 85%, transparent 85%); }
.admin-body .site-map-content { display: grid; grid-template-columns: minmax(0, 1fr) 145px; gap: 8px; }
.admin-body .site-map-content > section, .admin-body .site-map-content > aside { display: grid; align-content: start; gap: 8px; }
.admin-body .site-map-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.admin-body .site-map-cards i { height: 54px; border: 1px solid #e1e6ed; border-radius: 4px; background: #fff; }
.admin-body .site-map-bottom-promo { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 6px; align-items: stretch; }
.admin-body .site-map-weather { display: grid; place-content: center; min-height: 72px; padding: 7px; border-radius: 5px; background: #0a1628; color: #fff; text-align: center; }
.admin-body .site-map-weather b { font-size: 9px; line-height: 1.2; }
.admin-body .site-map-weather span { margin-top: 4px; color: #aeb9ca; font-size: 8px; font-weight: 800; }
.admin-body .site-map-bottom-promo .site-ad-slot { min-height: 72px; }
.admin-body .site-map-widget { height: 76px; border: 1px solid #e1e6ed; border-radius: 5px; background: #fff; }
.admin-body .site-ad-slot { position: relative; display: grid; place-items: center; align-content: center; width: 100%; min-width: 0; overflow: hidden; padding: 7px; border: 1px dashed #155eef; border-radius: 5px; background: #edf4ff; color: #155eef; box-shadow: none; text-align: center; }
.admin-body .site-ad-slot:hover, .admin-body .site-ad-slot.is-selected { border-style: solid; border-color: #0b5ed7; background: #e2eeff; box-shadow: 0 0 0 3px rgba(21, 94, 239, .10); }
.admin-body .site-ad-slot.is-paused { border-color: #98a2b3; background: #f2f4f7; color: #667085; }
.admin-body .site-ad-slot span { font-size: 8px; font-weight: 950; }
.admin-body .site-ad-slot b { display: block; min-height: 0; margin: 3px 0 1px; color: currentColor; font-size: 10px; line-height: 1.15; }
.admin-body .site-ad-slot small { color: currentColor; font-size: 8px; font-weight: 800; opacity: .78; }
.admin-body .desktop-site-grid > aside .site-ad-slot { min-height: 0; aspect-ratio: 124 / 552; padding-inline: 3px; }
.admin-body .desktop-site-grid > aside .site-ad-slot b { word-break: normal; }
.admin-body .site-map-lead > section > .site-ad-slot { min-height: 0; aspect-ratio: 900 / 65; }
.admin-body .site-map-bottom-promo .site-ad-slot { min-height: 0; aspect-ratio: 626 / 197; }
.admin-body .site-map-content > aside .site-ad-slot:nth-of-type(1) { min-height: 0; aspect-ratio: 310 / 132; }
.admin-body .site-map-content > aside .site-ad-slot:last-child { min-height: 0; aspect-ratio: 310 / 569; }
.admin-body .mobile-map { min-height: 560px; padding: 18px; }
.admin-body .phone-map { width: min(100%, 280px); min-height: 524px; margin: 0 auto; padding: 8px; border: 7px solid #172033; border-radius: 26px; background: #fff; box-shadow: 0 20px 42px rgba(15, 23, 42, .16); }
.admin-body .phone-status { width: 62px; height: 5px; margin: 0 auto 8px; border-radius: 999px; background: #172033; }
.admin-body .phone-map .site-ad-slot { min-height: 54px; }
.admin-body .phone-map .site-ad-slot[data-placement-select="mobile-top"] { min-height: 0; aspect-ratio: 410 / 72; }
.admin-body .phone-map .site-ad-slot[data-placement-select="mobile-hero-strip"] { min-height: 0; aspect-ratio: 410 / 49; }
.admin-body .phone-map .site-ad-slot[data-placement-select="mobile-feed-strip"] { min-height: 0; aspect-ratio: 410 / 43; }
.admin-body .phone-header { display: flex; align-items: center; height: 42px; gap: 8px; padding: 6px; }
.admin-body .phone-header i { width: 58px; height: 23px; margin-right: auto; border-radius: 4px; background: #d9e0e9; }
.admin-body .phone-header span, .admin-body .phone-header b { width: 25px; height: 25px; border: 1px solid #dce2ea; border-radius: 5px; }
.admin-body .phone-currency, .admin-body .phone-nav { height: 18px; margin: 0 -8px; border-block: 1px solid #e5e9ef; background: #f8fafc; }
.admin-body .phone-nav { height: 30px; margin-top: 4px; }
.admin-body .phone-hero { display: grid; place-items: end start; height: 128px; margin: 7px 0; padding: 10px; border-radius: 6px; background: #dce3ec; color: #7a8798; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.admin-body .phone-news { display: grid; gap: 5px; padding: 7px 0; }
.admin-body .phone-news i { height: 34px; border-bottom: 1px solid #e6eaf0; background: #f8fafc; }
.admin-body .map-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-top: 12px; color: #667085; font-size: 10px; font-weight: 750; }
.admin-body .map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.admin-body .online, .admin-body .offline { width: 8px; height: 8px; border-radius: 50%; background: #12b76a; }
.admin-body .offline { background: #98a2b3; }
.admin-body .ad-map-side { display: grid; gap: 14px; position: sticky; top: 78px; }
.admin-body .placement-detail { padding: 18px; }
.admin-body .placement-detail .section-kicker { color: #155eef; font-size: 10px; font-weight: 950; text-transform: uppercase; }
.admin-body .placement-detail h2 { margin: 5px 0 5px; color: #101828; font-size: 19px; }
.admin-body .placement-detail > p { margin: 0 0 13px; color: #667085; font-size: 12px; }
.admin-body .placement-detail dl { margin: 0; }
.admin-body .placement-detail dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #edf0f4; }
.admin-body .placement-detail dt { color: #667085; font-size: 11px; }
.admin-body .placement-detail dd { margin: 0; color: #101828; font-size: 11px; font-weight: 900; text-align: right; }
.admin-body .placement-status { display: flex; align-items: center; gap: 12px; margin: 10px 0 14px; padding: 12px; border: 1px solid #e5eaf1; border-radius: 7px; background: #fbfcfe; }
.admin-body .placement-status span { flex: 1; }
.admin-body .placement-status b, .admin-body .placement-status small { display: block; }
.admin-body .placement-status b { color: #101828; font-size: 11px; }
.admin-body .placement-status small { margin-top: 3px; color: #667085; font-size: 9px; line-height: 1.35; }
.admin-body .placement-status input { width: 34px; height: 19px; accent-color: #155eef; }
.admin-body .placement-detail > .primary { width: 100%; }
.admin-body .placement-directory { padding: 14px; }
.admin-body .placement-directory > header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.admin-body .placement-directory > header h2 { margin: 0; font-size: 15px; }
.admin-body .placement-directory > header span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #eef4ff; color: #155eef; font-size: 10px; font-weight: 950; }
.admin-body .placement-list-row { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; min-height: 52px; padding: 8px 6px; border: 0; border-top: 1px solid #edf0f4; border-radius: 0; background: transparent; box-shadow: none; text-align: left; }
.admin-body .placement-list-row:hover, .admin-body .placement-list-row.active { background: #f5f8ff; }
.admin-body .placement-list-row b, .admin-body .placement-list-row small { display: block; }
.admin-body .placement-list-row b { color: #101828; font-size: 11px; line-height: 1.25; }
.admin-body .placement-list-row small { margin-top: 2px; color: #667085; font-size: 9px; line-height: 1.25; }
.admin-body .placement-list-row em { color: #475467; font-size: 9px; font-style: normal; font-weight: 900; white-space: nowrap; }

@media (max-width: 1280px) {
  .admin-body .ad-map-workspace { grid-template-columns: minmax(0, 1fr); }
  .admin-body .ad-map-side { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .admin-body .ad-map-command { align-items: flex-start; flex-direction: column; }
  .admin-body .ad-map-command .primary { width: 100%; }
  .admin-body .ad-map-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .site-map-card > header { align-items: flex-start; flex-direction: column; }
  .admin-body .desktop-site-grid { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 5px; padding: 6px; }
  .admin-body .desktop-site-grid > aside .site-ad-slot { min-height: 0; }
  .admin-body .site-map-lead { grid-template-columns: minmax(0, 1fr) 92px; gap: 5px; }
  .admin-body .site-map-content { grid-template-columns: minmax(0, 1fr); }
  .admin-body .site-map-content > aside { grid-template-columns: 1fr 1fr; }
  .admin-body .site-map-content > aside .site-map-widget { grid-column: 1 / -1; }
  .admin-body .site-map-content > aside .site-ad-slot:last-child { min-height: 0; }
  .admin-body .site-map-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .site-map-bottom-promo { grid-template-columns: 70px minmax(0, 1fr); }
  .admin-body .ad-map-side { grid-template-columns: minmax(0, 1fr); }
}

/* Reference-matched advertisement placement form */
.admin-body .ad-placement-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  align-items: start;
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
}
.admin-body .ad-placement-main,
.admin-body .ad-placement-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.admin-body .ad-placement-page .portal-card {
  border-color: #e5eaf1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .035);
}
.admin-body .ad-form-section {
  display: grid;
  gap: 15px;
  padding: 18px 20px;
}
.admin-body .ad-form-section h2,
.admin-body .ad-placement-side h2 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  line-height: 1.25;
}
.admin-body .ad-form-section label,
.admin-body .ad-publish-settings > label {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #27364a;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .ad-form-section label > i {
  position: absolute;
  top: 0;
  margin-left: calc(100% + 3px);
  color: #e30613;
  font-style: normal;
}
.admin-body .ad-form-section label > small {
  margin-left: 4px;
  color: #7b8798;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .ad-form-section label > em {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #8994a5;
  font-size: 10px;
  font-style: normal;
}
.admin-body .ad-form-section input,
.admin-body .ad-form-section select,
.admin-body .ad-form-section textarea,
.admin-body .ad-publish-settings select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
  color: #162033;
  font: inherit;
  font-weight: 750;
  outline: none;
  box-shadow: none;
}
.admin-body .ad-form-section input:focus,
.admin-body .ad-form-section select:focus,
.admin-body .ad-form-section textarea:focus,
.admin-body .ad-publish-settings select:focus {
  border-color: #7ba7ff;
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .1);
}
.admin-body .ad-form-section textarea { resize: vertical; line-height: 1.5; }
.admin-body .ad-field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(230px, .9fr);
  gap: 15px;
  align-items: end;
}
.admin-body .ad-field-grid-three { grid-template-columns: .8fr 1.05fr 1.15fr; }
.admin-body .ad-field-grid-four { grid-template-columns: 1fr 1fr .72fr 1fr; }
.admin-body .ad-device-field {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
}
.admin-body .ad-device-field legend {
  position: absolute;
  padding: 0;
  color: #27364a;
  font-size: 12px;
  font-weight: 850;
  transform: translateY(-20px);
}
.admin-body .ad-device-field label {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.admin-body .ad-device-field input {
  width: 17px;
  min-height: 17px;
  accent-color: #1677ff;
}
.admin-body .ad-material-tabs {
  display: flex;
  gap: 26px;
  border-bottom: 1px solid #e6ebf2;
}
.admin-body .ad-material-tabs button {
  min-height: 38px;
  padding: 0 2px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #68758a;
  font-size: 12px;
  box-shadow: none;
}
.admin-body .ad-material-tabs button.active {
  border-bottom-color: #1677ff;
  color: #1677ff;
}
.admin-body .ad-material-panel { min-width: 0; }
.admin-body .ad-material-panel[hidden] { display: none; }
.admin-body .ad-material-panel.active { display: grid; gap: 15px; }
.admin-body .ad-material-section .upload-grid { gap: 14px; }
.admin-body .ad-material-section .upload-grid button {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-height: 132px;
  padding: 16px;
  border: 1px dashed #c8d2df;
  border-radius: 6px;
  background: #fbfcfe;
  color: #26364b;
  box-shadow: none;
}
.admin-body .ad-material-section .upload-grid button:hover,
.admin-body .ad-material-section .upload-grid button.is-dragging {
  border-color: #1677ff;
  background: #f4f8ff;
}
.admin-body .ad-material-section .upload-grid button.is-complete {
  border-color: #65c998;
  background: #f1fcf6;
}
.admin-body .ad-material-section .upload-grid .lucide-icon {
  width: 22px;
  height: 22px;
  color: #456078;
}
.admin-body .ad-material-section .upload-grid b { font-size: 12px; }
.admin-body .ad-material-section .upload-grid span,
.admin-body .ad-material-section .upload-grid small {
  color: #7a8798;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}
.admin-body .ad-material-section .upload-grid u {
  margin-top: 3px;
  padding: 7px 12px;
  border: 1px solid #dce3ec;
  border-radius: 5px;
  background: #fff;
  color: #243448;
  font-size: 10px;
  text-decoration: none;
}
.admin-body .ad-time-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
}
.admin-body .ad-time-range b { color: #8a95a5; font-weight: 700; }
.admin-body .ad-placement-side { position: sticky; top: 76px; }
.admin-body .ad-publish-settings,
.admin-body .ad-stat-card,
.admin-body .ad-help-card {
  display: grid;
  gap: 13px;
  padding: 18px;
}
.admin-body .ad-publish-settings > button { width: 100%; min-height: 40px; }
.admin-body .ad-publish-main { margin-top: 2px; }
.admin-body .ad-switch-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}
.admin-body .ad-switch-row input {
  appearance: none;
  width: 36px;
  height: 20px;
  margin: 0;
  border-radius: 999px;
  background: #c8d1de;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
  cursor: pointer;
  transition: background .18s ease;
}
.admin-body .ad-switch-row input::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .22);
  transition: transform .18s ease;
}
.admin-body .ad-switch-row input:checked { background: #1677ff; }
.admin-body .ad-switch-row input:checked::before { transform: translateX(16px); }
.admin-body .ad-reference-preview { padding: 18px; }
.admin-body .ad-reference-preview header {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.admin-body .ad-reference-preview header nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid #e6ebf2;
}
.admin-body .ad-reference-preview header nav button {
  min-height: 34px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #68758a;
  box-shadow: none;
}
.admin-body .ad-reference-preview header nav button.active {
  border-bottom-color: #1677ff;
  background: transparent;
  color: #1677ff;
}
.admin-body .ad-reference-preview .ad-preview {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 970 / 250;
  margin: 0;
  border: 1px dashed #c8d2df;
  border-radius: 6px;
  background: #f7f9fc center / contain no-repeat;
  color: #8390a2;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}
.admin-body .ad-reference-preview .ad-preview::before,
.admin-body .ad-reference-preview .ad-preview::after { content: none; }
.admin-body .ad-reference-preview .ad-preview.is-tablet { width: 86%; margin-inline: auto; }
.admin-body .ad-reference-preview .ad-preview.is-mobile { width: 62%; margin-inline: auto; }
.admin-body .ad-reference-preview > small {
  display: block;
  margin-top: 8px;
  color: #8792a2;
  font-size: 10px;
  text-align: right;
}
.admin-body .ad-stat-card h2 small {
  color: #7c8797;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .ad-stat-card dl { display: grid; gap: 0; margin: 0; }
.admin-body .ad-stat-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  color: #59677b;
  font-size: 11px;
}
.admin-body .ad-stat-card dt,
.admin-body .ad-stat-card dd { margin: 0; }
.admin-body .ad-stat-card dd { color: #1e2c40; font-weight: 850; }
.admin-body .ad-help-card p { margin: 0; color: #778397; font-size: 11px; line-height: 1.6; }
.admin-body .ad-help-card button { justify-self: start; min-height: 32px; padding: 0; border: 0; background: transparent; color: #1677ff; box-shadow: none; }
@media (max-width: 1180px) {
  .admin-body .ad-placement-page { grid-template-columns: minmax(0, 1fr) 320px; }
  .admin-body .ad-field-grid-three { grid-template-columns: 1fr 1fr; }
  .admin-body .ad-device-field { grid-column: 1 / -1; }
  .admin-body .ad-field-grid-four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .admin-body .ad-placement-page { grid-template-columns: 1fr; }
  .admin-body .ad-placement-side { position: static; grid-template-columns: 1fr 1fr; }
  .admin-body .ad-publish-settings { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .admin-body .ad-field-grid,
  .admin-body .ad-field-grid-three,
  .admin-body .ad-field-grid-four,
  .admin-body .ad-material-section .upload-grid,
  .admin-body .ad-placement-side { grid-template-columns: 1fr; }
  .admin-body .ad-device-field { align-items: flex-start; flex-direction: column; }
  .admin-body .ad-material-tabs { gap: 14px; overflow-x: auto; }
  .admin-body .ad-material-tabs button { white-space: nowrap; }
}
.admin-body .messages-grid {
  grid-template-columns: 300px minmax(0, 1fr) 250px;
}
.admin-body .messages-grid aside:first-child {
  display: grid;
  align-content: start;
  gap: 8px;
}
.admin-body .messages-grid aside:first-child button {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-items: start;
  min-height: 54px;
  background: #f8fafc;
}
.admin-body .chat-card {
  min-height: 560px;
}
.admin-body .chat-card header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--admin-border);
}
.admin-body .bubble {
  width: fit-content;
  max-width: 56%;
  margin: 18px 0;
  padding: 12px 14px;
  border-radius: 9px;
  background: #f1f5f9;
}
.admin-body .bubble.me {
  margin-left: auto;
  background: #eaf4ff;
}
.admin-body .chat-card footer {
  display: flex;
  gap: 10px;
  margin-top: 120px;
}
.admin-body .messages-premium-page {
  display: grid;
  grid-template-columns: 310px minmax(420px, 1fr) 286px;
  gap: 16px;
  min-height: 690px;
  height: calc(100vh - 150px);
}
.admin-body .messages-premium-page .portal-card { box-shadow: 0 8px 28px rgba(15, 35, 58, .045); }
.admin-body .message-directory,
.admin-body .message-chat { min-width: 0; padding: 0; overflow: hidden; }
.admin-body .message-directory { display: flex; flex-direction: column; }
.admin-body .message-search {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  margin: 16px 16px 8px;
  min-height: 40px;
  padding-left: 11px;
  border: 1px solid #dce4ee;
  border-radius: 7px;
  background: #fff;
}
.admin-body .message-search > span { display: grid; color: #79869a; }
.admin-body .message-search input { min-width: 0; height: 38px; padding: 0; border: 0; box-shadow: none; font-size: 12px; }
.admin-body .message-search button,
.admin-body .message-chat-header button,
.admin-body .message-composer button,
.admin-body .message-file-row a {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  place-items: center;
  border: 1px solid #e0e7f0;
  border-radius: 7px;
  background: #fff;
  color: #56647a;
  box-shadow: none;
}
.admin-body .message-search button { width: 38px; height: 38px; border-width: 0 0 0 1px; border-radius: 0 6px 6px 0; }
.admin-body .messages-premium-page .lucide-icon { width: 17px; height: 17px; }
.admin-body .message-tabs { display: grid; grid-template-columns: 1fr 1.25fr .8fr; padding: 0 8px; border-bottom: 1px solid #e7ecf3; }
.admin-body .message-tabs button {
  min-height: 43px;
  padding: 0 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #6c788c;
  font-size: 11px;
  box-shadow: none;
}
.admin-body .message-tabs button.active { border-bottom-color: #335cff; color: #2447d8; font-weight: 800; }
.admin-body .message-tabs span { display: inline-grid; min-width: 17px; height: 17px; margin-left: 3px; padding: 0 4px; place-items: center; border-radius: 8px; background: #eef2f8; font-size: 9px; }
.admin-body .message-tabs .active span { background: #355bff; color: #fff; }
.admin-body .message-contact-list { min-height: 0; overflow-y: auto; }
.admin-body .message-contact {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 10px 14px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0;
  background: #fff;
  color: #1b2638;
  text-align: left;
  box-shadow: none;
}
.admin-body .message-contact:hover { background: #f7f9ff; }
.admin-body .message-contact.active { background: #f0f4ff; }
.admin-body .message-contact[hidden] { display: none; }
.admin-body .message-avatar {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #dbe4f0;
  border-radius: 50%;
  background: #e9f1ff;
  color: #2958cd;
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.admin-body .message-avatar i { position: absolute; right: -1px; bottom: 1px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #aab4c4; }
.admin-body .message-avatar i.online { background: #20be78; }
.admin-body .message-contact-copy { display: grid; min-width: 0; gap: 3px; }
.admin-body .message-contact-copy b { overflow: hidden; color: #152034; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-contact-copy small { overflow: hidden; color: #7b8799; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-contact-meta { display: grid; justify-items: end; gap: 8px; align-self: stretch; }
.admin-body .message-contact-meta time { color: #7a8799; font-size: 9px; }
.admin-body .message-contact-meta em { display: grid; min-width: 18px; height: 18px; padding: 0 5px; place-items: center; border-radius: 9px; background: #355bff; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
.admin-body .message-empty-list { padding: 30px 18px; color: #7a8799; text-align: center; font-size: 11px; }
.admin-body .message-chat { display: flex; flex-direction: column; }
.admin-body .message-chat-header { display: flex; min-height: 70px; padding: 12px 16px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ecf3; }
.admin-body .message-chat-header > div { display: flex; min-width: 0; align-items: center; gap: 10px; }
.admin-body .message-chat-header > div > span:last-child { display: grid; min-width: 0; gap: 3px; }
.admin-body .message-chat-header b { overflow: hidden; color: #111b2d; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-chat-header small { color: #23aa70; font-size: 10px; }
.admin-body .message-avatar.large { width: 42px; height: 42px; }
.admin-body .message-chat-header nav { display: flex; gap: 8px; }
.admin-body .message-chat-header button:hover,
.admin-body .message-composer button:hover { border-color: #bfcdf0; color: #284fdd; background: #f6f8ff; }
.admin-body .message-date { position: relative; height: 36px; flex: 0 0 auto; text-align: center; }
.admin-body .message-date::before { content: ""; position: absolute; top: 50%; right: 18px; left: 18px; height: 1px; background: #edf1f5; }
.admin-body .message-date span { position: relative; top: 9px; padding: 0 10px; background: #fff; color: #8a95a7; font-size: 9px; }
.admin-body .message-thread { min-height: 0; flex: 1; padding: 10px 20px 18px; overflow-y: auto; }
.admin-body .message-bubble-row { display: flex; align-items: flex-end; gap: 8px; margin: 12px 0; }
.admin-body .message-bubble-row.out { justify-content: flex-end; }
.admin-body .message-mini-avatar { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf2ff; color: #3352be; font-size: 8px; font-weight: 850; }
.admin-body .message-bubble { position: relative; max-width: min(70%, 510px); padding: 10px 13px 8px; border-radius: 7px; background: #f1f4f8; color: #263247; }
.admin-body .message-bubble-row.out .message-bubble { background: #e8f1ff; }
.admin-body .message-bubble p { margin: 0 0 4px; font-size: 11px; line-height: 1.55; white-space: pre-wrap; }
.admin-body .message-bubble time { display: block; color: #8a95a6; font-size: 8px; text-align: right; }
.admin-body .message-bubble > button { position: absolute; top: -8px; right: -8px; display: none; width: 20px; height: 20px; min-height: 20px; padding: 0; border: 1px solid #dfe6ef; border-radius: 50%; background: #fff; color: #8a95a6; box-shadow: 0 2px 8px rgba(20, 35, 60, .1); }
.admin-body .message-bubble:hover > button { display: grid; place-items: center; }
.admin-body .message-file-bubble { display: flex; min-width: 190px; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.admin-body .message-file-bubble > svg { flex: 0 0 auto; }
.admin-body .message-file-bubble span { display: grid; gap: 2px; }
.admin-body .message-file-bubble b { font-size: 10px; }
.admin-body .message-file-bubble small { color: #7d899a; font-size: 9px; }
.admin-body .message-empty-chat { display: grid; height: 100%; place-content: center; justify-items: center; color: #8894a6; text-align: center; }
.admin-body .message-empty-chat > svg { width: 30px; height: 30px; margin-bottom: 9px; color: #9badca; }
.admin-body .message-empty-chat h3 { margin: 0 0 5px; color: #334155; font-size: 13px; }
.admin-body .message-empty-chat p { margin: 0; font-size: 10px; }
.admin-body .message-composer { margin: 0 16px 14px; padding: 8px 10px; border: 1px solid #dfe6ef; border-radius: 7px; background: #fff; }
.admin-body .message-composer textarea { width: 100%; min-height: 36px; max-height: 92px; padding: 5px 2px; resize: vertical; border: 0; box-shadow: none; font-size: 11px; }
.admin-body .message-composer > div { display: flex; align-items: center; justify-content: space-between; }
.admin-body .message-composer > div > span { display: flex; gap: 3px; }
.admin-body .message-composer button { width: 31px; height: 31px; min-height: 31px; border-color: transparent; }
.admin-body .message-composer .message-send { width: 38px; height: 34px; border: 0; background: #3156f5; color: #fff; box-shadow: 0 5px 12px rgba(49, 86, 245, .2); }
.admin-body .message-details { min-height: 0; overflow-y: auto; }
.admin-body .message-details > * + * { margin-top: 14px; }
.admin-body .message-profile-card { display: grid; justify-items: center; padding: 20px 18px 15px; text-align: center; }
.admin-body .message-avatar.profile { width: 58px; height: 58px; background: #e7efff; font-size: 14px; }
.admin-body .message-profile-card h2 { margin: 9px 0 2px; color: #162136; font-size: 14px; }
.admin-body .message-profile-card > p { margin: 0; color: #1caf72; font-size: 10px; }
.admin-body .message-profile-card > small { margin-top: 3px; color: #748196; font-size: 10px; }
.admin-body .message-profile-card dl { width: 100%; margin: 16px 0 0; text-align: left; }
.admin-body .message-profile-card dl div { display: flex; min-height: 39px; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf1f5; }
.admin-body .message-profile-card dt { color: #7a8799; font-size: 9px; }
.admin-body .message-profile-card dd { margin: 0; overflow: hidden; color: #243047; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-profile-card dd em { padding: 3px 7px; border-radius: 5px; background: #dcf7e9; color: #148757; font-style: normal; }
.admin-body .message-files-card,
.admin-body .message-note-card { padding: 16px; }
.admin-body .message-files-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.admin-body .message-files-card h2,
.admin-body .message-note-card h2 { margin: 0; color: #1b263a; font-size: 12px; }
.admin-body .message-files-card header span { display: grid; min-width: 20px; height: 20px; place-items: center; border-radius: 10px; background: #eef2f8; color: #67758a; font-size: 9px; }
.admin-body .message-file-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 30px; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #edf1f5; }
.admin-body .message-file-row > svg { width: 27px; height: 27px; padding: 6px; border-radius: 5px; background: #eef3ff; color: #3156dd; }
.admin-body .message-file-row span { display: grid; min-width: 0; gap: 2px; }
.admin-body .message-file-row b { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .message-file-row small { color: #8591a2; font-size: 8px; }
.admin-body .message-file-row a { width: 29px; height: 29px; min-height: 29px; }
.admin-body .message-empty-files { margin: 10px 0 0; color: #8995a7; font-size: 9px; line-height: 1.5; }
.admin-body .message-note-card textarea { width: 100%; margin-top: 10px; padding: 9px; resize: vertical; border-color: #e0e6ef; font-size: 10px; }
.admin-body .message-note-card button { min-height: 31px; margin-top: 7px; padding: 0; border: 0; background: transparent; color: #3156dd; box-shadow: none; font-size: 10px; }
.admin-body .message-archive-button { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: center; gap: 8px; border: 1px solid #f0a6ad; background: #fff; color: #d52536; box-shadow: none; font-size: 10px; }
@media (max-width: 1250px) {
  .admin-body .messages-premium-page { grid-template-columns: 280px minmax(400px, 1fr) 250px; }
}
@media (max-width: 1080px) {
  .admin-body .messages-premium-page { height: auto; grid-template-columns: 275px minmax(0, 1fr); }
  .admin-body .message-directory,
  .admin-body .message-chat { height: 680px; }
  .admin-body .message-details { display: grid; grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; overflow: visible; }
  .admin-body .message-details > * + * { margin-top: 0; }
  .admin-body .message-archive-button { align-self: end; }
}
@media (max-width: 720px) {
  .admin-body .messages-premium-page { display: block; min-height: 0; }
  .admin-body .message-directory { height: auto; max-height: 390px; margin-bottom: 14px; }
  .admin-body .message-chat { height: 620px; }
  .admin-body .message-details { display: grid; grid-template-columns: 1fr; margin-top: 14px; }
  .admin-body .message-details > * + * { margin-top: 0; }
  .admin-body .message-bubble { max-width: 84%; }
  .admin-body .message-bubble-row.out .message-bubble > button { display: grid; place-items: center; }
}
.admin-body .roles-grid {
  grid-template-columns: 300px minmax(0, 1fr) 260px;
}
.admin-body .roles-grid aside:first-child {
  display: grid;
  align-content: start;
  gap: 9px;
}
.admin-body .roles-grid aside:first-child button {
  justify-content: space-between;
  background: #fff;
}
.admin-body .roles-grid aside:first-child button.active {
  border-color: rgba(80,60,243,.22);
  background: #f3f1ff;
  color: #312e81;
}
.admin-body .permission-table {
  display: grid;
  border: 1px solid var(--admin-border);
  border-radius: 8px;
  overflow: hidden;
}
.admin-body .permission-table label {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, .9fr);
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .settings-grid,
.admin-body .profile-grid,
.admin-body .ad-editor-grid,
.admin-body .category-admin-grid {
  gap: 16px;
}
.admin-body .profile-photo {
  border: 1px solid var(--admin-border);
  background: linear-gradient(145deg, #eaf4ff, #f6f8fb);
  color: var(--admin-blue);
  font-size: 48px;
}
.admin-body .admin-toast {
  border-radius: 10px;
  background: #071326;
  box-shadow: 0 18px 44px rgba(7,19,38,.24);
}

.admin-body .editor-settings-column > *,
.admin-body .editor-action-column > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.admin-body .editor-settings-column input,
.admin-body .editor-settings-column select,
.admin-body .editor-settings-column textarea,
.admin-body .editor-settings-column button,
.admin-body .editor-action-column input,
.admin-body .editor-action-column select,
.admin-body .editor-action-column textarea,
.admin-body .editor-action-column button {
  min-width: 0;
  max-width: 100%;
}

.admin-body .editor-control-column {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  position: sticky;
  top: 76px;
}
.admin-body .editor-control-column > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.admin-body .editor-control-column input,
.admin-body .editor-control-column select,
.admin-body .editor-control-column textarea,
.admin-body .editor-control-column button {
  min-width: 0;
  max-width: 100%;
}
.admin-body .editor-control-column label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.admin-body .editor-control-column .check-line,
.admin-body .editor-control-column .switch-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 1281px) and (max-width: 1499px) {
  .admin-body .portal-app { grid-template-columns: 200px minmax(0, 1fr); }
  .admin-body .portal-content { padding: 18px 16px 30px; }
  .admin-body .portal-brand strong { font-size: 23px; }
  .admin-body .portal-search { width: 190px; }
  .admin-body .portal-tools .portal-user { width: 146px; max-width: 146px; }
  .admin-body .portal-user span,
  .admin-body .portal-user small { max-width: 78px; }
  .admin-body .editor-pro-layout {
    grid-template-columns: minmax(620px, 1fr) 390px;
    gap: 16px;
  }
  .admin-body .editor-control-column {
    gap: 14px;
    position: sticky;
    top: 76px;
  }
  .admin-body .editor-form-pro { padding: 14px; }
  .admin-body .portal-card input,
  .admin-body .portal-card select,
  .admin-body .portal-card textarea {
    min-width: 0;
    max-width: 100%;
  }
  .admin-body .editor-side-card,
  .admin-body .publish-card,
  .admin-body .publish-meta-card,
  .admin-body .editor-readiness-card,
  .admin-body .editor-preview-card { padding: 14px; border-radius: 9px; }
  .admin-body .publish-card {
    gap: 8px;
  }
  .admin-body .publish-card button {
    min-height: 34px;
  }
  .admin-body .publish-card {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .publish-card h2,
  .admin-body .publish-card .publish-split,
  .admin-body .publish-card .danger { grid-column: 1; }
  .admin-body .editor-form-pro .rich-editor {
    min-height: 500px;
  }
  .admin-body .editor-side-card label { gap: 7px; }
  .admin-body .editor-side-card input,
  .admin-body .editor-side-card select { min-height: 38px; }
  .admin-body .main-image-preview { min-height: 136px; }
  .admin-body .file-pill { grid-template-columns: 28px minmax(0, 1fr) 26px; }
  .admin-body .editor-preview-card .preview-image { min-height: 118px; }
  .admin-body .portal-card h2 { font-size: 15px; }
  .admin-body .form-grid.headline-row { grid-template-columns: minmax(0, 210px); }
  .admin-body .pro-toolbar button,
  .admin-body .pro-toolbar select { padding: 0 7px; }
  .admin-body .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .user-workspace { grid-template-columns: minmax(0, 1fr) 300px; }
  .admin-body .user-row-card { grid-template-columns: 42px minmax(180px, 1fr) 130px 86px; }
  .admin-body .role-premium-page { grid-template-columns: 260px minmax(0, 1fr); }
  .admin-body .role-side-stack { grid-column: 2; position: static; }
}

@media (max-width: 1280px) {
  .admin-body .portal-app { grid-template-columns: 214px minmax(0, 1fr); }
  .admin-body .portal-brand strong { font-size: 24px; }
  .admin-body .portal-search { width: 210px; }
  .admin-body .portal-tools .portal-user { width: 152px; max-width: 152px; }
  .admin-body .portal-user span,
  .admin-body .portal-user small { max-width: 84px; }
  .admin-body .editor-pro-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-control-column { grid-column: auto; position: static; }
  .admin-body .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-body .user-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .user-workspace,
  .admin-body .role-premium-page { grid-template-columns: minmax(0, 1fr); }
  .admin-body .user-edit-panel,
  .admin-body .role-side-stack { position: static; }
  .admin-body .users-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .user-row-card { grid-template-columns: 46px minmax(0, 1fr) auto; }
  .admin-body .user-row-card p,
  .admin-body .user-row-card nav { grid-column: 2 / -1; justify-content: flex-start; }
  .admin-body .permission-table.premium label { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}

@media (min-width: 1500px) {
  .admin-body .editor-pro-layout {
    grid-template-columns: minmax(760px, 1fr) minmax(390px, 430px);
    gap: 18px;
  }
  .admin-body .portal-content { padding: 22px 28px 34px; }
  .admin-body .editor-image-block { width: min(100%, 430px); }
  .admin-body .editor-social-embed,
  .admin-body .editor-audio-chip { width: min(100%, 520px); }
}

.admin-body .editor-pro-layout {
  align-items: start;
}
.admin-body .editor-form-pro,
.admin-body .editor-control-column .portal-card {
  border-radius: 12px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .045);
}
.admin-body .editor-form-pro {
  gap: 15px;
  padding: 20px;
}
.admin-body .editor-form-pro > h2,
.admin-body .editor-control-column h2 {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf1f6;
  font-size: 16px;
  line-height: 1.15;
}
.admin-body .editor-form-pro label,
.admin-body .editor-control-column label {
  color: #1f2937;
  font-size: 12px;
  font-weight: 880;
}
.admin-body .editor-title-field input {
  min-height: 44px;
  font-size: 14px;
  font-weight: 760;
}
.admin-body .pro-toolbar {
  gap: 5px;
  padding: 7px 8px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.admin-body .pro-toolbar button,
.admin-body .pro-toolbar select {
  flex: 0 0 auto;
  white-space: nowrap;
}
.admin-body .pro-toolbar .insert-toggle {
  min-width: 78px;
}
.admin-body .editor-control-column {
  gap: 12px;
}
.admin-body .editor-control-column .portal-card {
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}
.admin-body .editor-control-column .portal-card + .portal-card {
  margin-top: 0;
}
.admin-body .editor-control-column input,
.admin-body .editor-control-column select {
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
}
.admin-body .editor-control-column small,
.admin-body .editor-control-column p {
  line-height: 1.45;
}
.admin-body .publish-card {
  gap: 9px;
}
.admin-body .publish-card .publish-split button {
  min-height: 42px;
}
.admin-body .publish-card > button {
  min-height: 38px;
}
.admin-body .check-line,
.admin-body .switch-line {
  min-height: 36px;
  padding: 0 2px;
}
.admin-body .main-image-preview {
  min-height: 156px;
}
.admin-body .file-pill {
  border-radius: 10px;
}
.admin-body .audio-upload-card { gap: 10px; }
.admin-body .audio-upload-button { display: grid; min-height: 38px; place-items: center; border: 1px solid #cad7e8; border-radius: 8px; background: #f5f8fc; color: #2458b8; font-size: 11px; font-weight: 850; cursor: pointer; transition: border-color .16s ease, background .16s ease; }
.admin-body .audio-upload-button:hover { border-color: #1769e0; background: #eef5ff; }
.admin-body .audio-upload-card > small { color: #7a8496; font-size: 9px; line-height: 1.45; }
.admin-body .readiness-list span {
  min-height: 34px;
}
.admin-body .editor-preview-card article {
  gap: 10px;
}
.admin-body .editor-preview-card h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.admin-body .portal-tools .portal-user {
  align-items: center;
}
.admin-body .media-page,
.admin-body .users-page,
.admin-body .trash-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}
.admin-body .media-library header,
.admin-body .users-page header,
.admin-body .trash-table-card header {
  padding-bottom: 14px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .media-library header p,
.admin-body .users-page header p {
  margin: 5px 0 0;
  color: #6b7788;
  font-size: 13px;
  font-weight: 700;
}
.admin-body .media-filter {
  grid-template-columns: minmax(220px, 1fr) 190px 180px;
  margin: 0 0 16px;
}
.admin-body .media-grid {
  grid-template-columns: repeat(auto-fill, minmax(188px, 1fr));
  gap: 14px;
}
.admin-body .media-grid article {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .035);
}
.admin-body .media-grid article > div {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.admin-body .media-grid article > div i {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(7, 16, 31, .78);
  color: #fff;
  font-style: normal;
  font-weight: 950;
  backdrop-filter: blur(8px);
}
.admin-body .media-grid nav {
  display: grid;
  grid-template-columns: 1fr 1fr 40px;
}
.admin-body .media-side ul,
.admin-body .trash-aside ul {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 0;
  list-style: none;
  color: #647084;
  font-size: 13px;
  font-weight: 750;
}
.admin-body .trash-aside li {
  display: flex;
  justify-content: space-between;
}
.admin-body .trash-media-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 54px;
  border-radius: 8px;
  background: #eef4ff;
  color: #1769e0;
}
.admin-body .trash-media-icon svg {
  width: 25px;
  height: 25px;
}
.admin-body .trash-type {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid #dce6f3;
  border-radius: 7px;
  background: #f7f9fc;
  color: #334155;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .users-filter {
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
}
.admin-body .user-list article {
  min-height: 84px;
  border-radius: 12px;
}
.admin-body .user-list article p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .user-list article button {
  grid-row: span 2;
  min-height: 34px;
}
.admin-body .roles-list {
  display: grid;
  gap: 10px;
}
.admin-body .roles-list header {
  margin: 0;
}
.admin-body .roles-list header span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f39f6;
  font-size: 12px;
  font-weight: 950;
}
.admin-body .roles-list > button:not(.primary) {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 24px;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 62px;
  padding: 10px;
  text-align: left;
  background: #fff;
}
.admin-body .roles-list > button i {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef5ff;
  color: #1677ff;
  font-style: normal;
}
.admin-body .roles-list > button b,
.admin-body .roles-list > button small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-body .roles-list > button em {
  grid-row: 1 / 3;
  font-style: normal;
}
.admin-body .role-permissions header em {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eee9ff;
  color: #4f39f6;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
.admin-body .role-permissions nav,
.admin-body .settings-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;
}
.admin-body .role-permissions nav button,
.admin-body .settings-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.admin-body .role-permissions nav button.active,
.admin-body .settings-tabs button.active {
  color: #1677ff;
  border-bottom-color: #1677ff;
}
.admin-body .role-permissions footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.admin-body .role-summary p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .settings-main-card {
  display: grid;
  gap: 14px;
}
.admin-body .settings-aside {
  display: grid;
  gap: 18px;
}
.admin-body .logo-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid #e4e9f1;
  border-radius: 10px;
  background: #fbfcff;
}
.admin-body .logo-settings b {
  color: #071326;
  font-size: 22px;
}
.admin-body .logo-settings b::first-letter {
  color: #ef2336;
}
.admin-body .logo-settings.compact {
  min-height: 58px;
}
.admin-body .logo-settings.compact b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #071326;
  color: #ef2336;
  font-size: 16px;
}
.admin-body .trash-table-card header > div {
  display: flex;
  gap: 10px;
}
.admin-body .trash-table-card header input {
  width: 250px;
}

@media (max-width: 1280px) {
  .admin-body .media-page,
  .admin-body .users-page,
  .admin-body .trash-layout,
  .admin-body .settings-grid,
  .admin-body .roles-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .media-filter,
  .admin-body .users-filter {
    grid-template-columns: minmax(0, 1fr);
  }
}

.page-shell {
  position: relative;
  width: min(100% - 12px, 1536px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(92px, 124px) minmax(0, 1240px) minmax(92px, 124px);
  gap: 24px;
  align-items: start;
}
.page-shell.article-shell { grid-template-columns: minmax(92px, 124px) minmax(0, 1240px) minmax(92px, 124px); }
.page-shell.tv-shell { width: min(100% - 52px, 1620px); grid-template-columns: minmax(0, 1fr); }
.page-shell.ads-shell { width: min(100% - 40px, 1320px); grid-template-columns: minmax(0, 1fr); }
.web-main { width: 100%; min-width: 0; margin: 0 auto; padding: 10px 0 64px; }
.side-rail { width: 100%; min-width: 0; padding-top: 8px; }
.side-rail.left { padding-left: 0; }
.side-rail.right { padding-right: 0; justify-self: end; }
.skyscraper { width: 100%; max-width: 124px; aspect-ratio: 124 / 552; height: auto; border-radius: 6px; background: url("../assets/web-side-pronet.jpg") center / cover no-repeat; box-shadow: 0 16px 34px rgba(7, 16, 31, .08); }
.side-card { margin-top: 24px; padding: 22px 18px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.side-card h3 { margin: 0 0 16px; font-size: 14px; text-transform: uppercase; }
.side-card button { display: block; width: 100%; padding: 8px 0; text-align: left; color: #202938; }
.side-card a { display: block; width: 100%; padding: 8px 0; text-align: left; color: #202938; }
.cats button { border-bottom: 1px solid #f0f2f5; font-size: 14px; line-height: 1.25; }
.cats a { border-bottom: 1px solid #f0f2f5; font-size: 14px; line-height: 1.25; }
.cats button:last-child { border-bottom: 0; }

.home-grid { display: grid; grid-template-columns: minmax(0, 900px) minmax(280px, 310px); gap: 24px; align-items: stretch; }
.home-lead { display: grid; gap: 14px; min-width: 0; }
.hero-desktop { position: relative; display: block; height: 370px; overflow: hidden; border-radius: 8px; background: url("../assets/web-article-rain.jpg") center / cover no-repeat; color: #fff; box-shadow: 0 18px 42px rgba(7, 16, 31, .12); }
.hero-desktop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 44%, rgba(0,0,0,.9)); }
.hero-copy { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 26px; display: grid; justify-items: start; gap: 12px; }
.hero-copy span, .badge, .card-img b, .compact-card span { display: inline-flex; padding: 5px 9px; border-radius: 3px; background: var(--red); color: #fff; font-size: 11px; font-weight: 900; text-transform: uppercase; }
.hero-copy h1 { display: -webkit-box; max-width: 850px; margin: 0; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 25px; line-height: 1.16; text-shadow: 0 2px 12px rgba(0,0,0,.36); }
.hero-copy h1.title-sm { font-size: 22px; line-height: 1.13; }
.hero-copy h1.title-xs { font-size: 19px; line-height: 1.12; }
.hero-copy p { display: none; }
.hero-copy button { min-height: 36px; padding: 0 16px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 900; text-transform: uppercase; }
.hero-copy b { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 900; text-transform: uppercase; }
.hero-arrow { position: absolute; z-index: 3; top: 44%; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; font-size: 34px; }
.hero-arrow.left { left: 16px; } .hero-arrow.right { right: 16px; }

.popular-panel { padding: 18px; border-radius: 8px; background: #fff; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.popular-panel.dark { background: #07101f; color: #fff; }
.home-grid .popular-panel { height: 449px; overflow: hidden; }
.popular-panel h2, .weather-panel h2 { margin: 0 0 18px; font-size: 18px; text-transform: uppercase; }
.popular-item { display: grid; grid-template-columns: 28px 82px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 72px; padding: 10px 0; border-bottom: 1px solid rgba(128,139,153,.22); }
.popular-item > b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 4px; background: var(--red); color: #fff; font-size: 14px; font-weight: 950; line-height: 1; }
.pop-img,
.popular-img { height: 58px; border-radius: 4px; background-size: cover; background-position: center; }
.popular-img.remote { background-image: url("../assets/popular-remote.jpg"); }
.popular-img.bank { background-image: url("../assets/web-card-bank.jpg"); }
.popular-img.flags { background-image: url("../assets/web-card-flags.jpg"); }
.popular-img.traffic { background-image: url("../assets/web-card-traffic.jpg"); }
.popular-img.gas { background-image: url("../assets/web-card-gas.jpg"); }
.popular-panel h3 { margin: 0; font-size: 14px; line-height: 1.28; }
.popular-panel small, .popular-panel time { margin-right: 16px; color: #8d96a4; font-size: 11px; }
.home-grid .popular-item { padding: 9px 0; }
.home-grid .popular-img { height: 58px; }
.popular-panel h3,
.compact-card h3,
.card-body h2 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-wrap: pretty;
}
.popular-panel h3.title-sm,
.compact-card h3.title-sm,
.card-body h2.title-sm { font-size: 12px; line-height: 1.25; }
.popular-panel h3.title-xs,
.compact-card h3.title-xs,
.card-body h2.title-xs { font-size: 11px; line-height: 1.2; }
.all-popular { width: 100%; height: 36px; margin-top: 12px; border-radius: 4px; background: #fff3f4; color: var(--red); font-weight: 900; text-transform: uppercase; }
.home-grid .all-popular { height: 34px; margin-top: 10px; }

.wide-ad { border-radius: 8px; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(7, 16, 31, .06); }
.wide-ad.kontakt { width: 100%; height: 65px; margin: 0; background-image: url("../assets/web-kontakt.jpg"); }
.wide-ad.bank-blue { height: 85px; margin-top: 14px; background-image: url("../assets/web-bank-blue.jpg"); }
.small-ad { border-radius: 8px; background-size: cover; background-position: center; box-shadow: 0 10px 24px rgba(7, 16, 31, .06); }
.bank-small { height: 179px; background-image: url("../assets/web-bank-small.jpg"); }
.peugeot { height: 132px; min-height: 132px; background-image: url("../assets/web-peugeot-side.jpg"); }
.side-fill-ad { position: relative; display: grid; align-content: end; min-height: 360px; height: 100%; overflow: hidden; padding: 22px; border-radius: 8px; color: #fff; background: linear-gradient(180deg, rgba(7, 16, 31, .2), rgba(7, 16, 31, .95)), url("../assets/web-peugeot-side.jpg") center top / cover no-repeat; box-shadow: 0 18px 42px rgba(7, 16, 31, .12); }
.side-fill-ad span { position: absolute; top: 14px; left: 14px; padding: 4px 8px; border-radius: 3px; background: rgba(255,255,255,.14); color: #d7dde8; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.side-fill-ad strong { font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.side-fill-ad small { margin-top: 7px; color: #d7dde8; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.side-fill-ad b { justify-self: start; margin-top: 16px; padding: 10px 16px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; text-transform: uppercase; }

.content-row { display: grid; grid-template-columns: minmax(0, 900px) minmax(280px, 310px); gap: 24px; align-items: stretch; margin-top: 14px; }
.left-stack, .right-stack { display: grid; gap: 14px; align-content: start; }
.right-stack { grid-template-rows: auto auto minmax(360px, 1fr); }
.weather-panel { padding: 20px; border-radius: 8px; background: #07101f; color: #fff; box-shadow: 0 16px 36px rgba(7, 16, 31, .14); }
.weather-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.weather-panel > header h2 { margin: 0; }
.weather-panel > header button { width: auto; height: 28px; margin: 0; padding: 0 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; background: rgba(255,255,255,.08); color: #fff; font-size: 9px; font-weight: 850; text-transform: none; cursor: pointer; }
.weather-panel > header button:hover { background: rgba(255,255,255,.15); }
.weather-panel > header button:disabled { cursor: wait; opacity: .58; }
.weather-panel p { color: #c5ccd6; }
.weather-now { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 18px 0; }
.weather-now strong { font-size: 34px; }
.weather-now i { font-size: 38px; font-style: normal; }
.weather-meta, .days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); color: #cbd3df; font-size: 11px; }
.days { grid-template-columns: repeat(4, 1fr); }
.weather-panel .days em { font-style: normal; }
.weather-location-status { display: block; min-height: 14px; margin-top: 6px; color: #aeb8c7; font-size: 9px; line-height: 1.4; }
.weather-panel button { width: 100%; height: 38px; margin-top: 8px; color: #fff; border-top: 1px solid rgba(255,255,255,.12); text-transform: uppercase; }

.section-line { display: flex; align-items: center; justify-content: flex-start; gap: 16px; margin-bottom: 14px; }
.section-line h2 { flex: 0 0 auto; margin: 0; padding-left: 12px; border-left: 3px solid var(--red); font-size: 18px; text-transform: uppercase; }
.section-line div { display: flex; flex: 1 1 auto; gap: 6px; min-width: 0; overflow: hidden; }
.section-line button { height: 36px; padding: 0 13px; border-radius: 4px; background: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section-line button.active { background: transparent; color: var(--red); border-radius: 0; box-shadow: inset 0 -3px 0 var(--red); }
.section-line a { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 4px; background: var(--soft); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.section-line a.active { background: transparent; color: var(--red); border-radius: 0; box-shadow: inset 0 -3px 0 var(--red); }
.section-line.category-tabs-only {
  width: 100%;
  gap: 0;
}
.section-line.category-tabs-only div {
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.section-line.category-tabs-only div::-webkit-scrollbar {
  display: none;
}
.section-line.category-tabs-only a {
  flex: 1 0 108px;
  justify-content: center;
}
.latest-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.compact-card { display: block; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 24px rgba(7, 16, 31, .05); }
.compact-img { height: 104px; background-size: cover; background-position: center; }
.compact-card span,
.compact-card time,
.compact-card p { display: none; }
.compact-card h3 {
  margin: 12px 12px 14px;
  min-height: 88px;
  font-size: 14px;
  line-height: 1.28;
  -webkit-line-clamp: 5;
}
.compact-card h3.title-sm { font-size: 12px; line-height: 1.24; }
.compact-card h3.title-xs { font-size: 11px; line-height: 1.22; }
.more-news-link { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin-top: 12px; padding: 0 18px; border-radius: 5px; background: #fff0f1; color: var(--red); font-size: 13px; font-weight: 950; text-transform: uppercase; }
.home-promo-row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 14px; align-items: stretch; margin-top: 14px; }
.home-promo-row .weather-panel { min-height: 170px; padding: 18px; }
.home-promo-row .weather-panel h2 { margin-bottom: 8px; font-size: 15px; }
.home-promo-row .weather-panel p { margin: 0; font-size: 13px; }
.home-promo-row .weather-now { gap: 10px; margin: 12px 0; }
.home-promo-row .weather-now strong { font-size: 28px; }
.home-promo-row .weather-now i { font-size: 30px; }
.home-promo-row .weather-meta { gap: 6px; padding: 10px 0 0; font-size: 10px; }
.home-promo-row .days { display: none; }
.home-promo-row .bank-blue { height: auto; min-height: 170px; margin-top: 0; background-size: cover; }
.rain, .compact-img.rain { background-image: url("../assets/web-card-rain.jpg"); }
.traffic, .compact-img.traffic { background-image: url("../assets/web-card-traffic.jpg"); }
.flags, .compact-img.flags { background-image: url("../assets/web-card-flags.jpg"); }
.gas, .compact-img.gas { background-image: url("../assets/web-card-gas.jpg"); }
.mountain, .compact-img.mountain { background-image: url("../assets/web-card-mountain.jpg"); }
.bank, .compact-img.bank { background-image: url("../assets/web-card-bank.jpg"); }

.authors-panel { border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 12px 30px rgba(7, 16, 31, .06); }
.authors-panel header { display: flex; align-items: center; justify-content: space-between; padding: 0 14px; height: 42px; background: var(--red); color: #fff; }
.authors-panel h2 { margin: 0; font-size: 17px; text-transform: uppercase; }
.authors-panel header button { font-size: 11px; }
.authors-panel article { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.authors-panel article div { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #f0d8d5; color: var(--red); font-weight: 900; }
.authors-panel small { display: block; color: var(--muted); font-size: 12px; }
.authors-panel em { color: #a3aab5; font-style: normal; font-size: 24px; }
.authors-page-list { margin-top: 12px; }

.category-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; padding-top: 20px; }
.article-layout { grid-template-columns: minmax(0, 1fr) 310px; }
.category-main, .article-web { background: #fff; padding: 24px; border-radius: 8px; box-shadow: 0 12px 30px rgba(7, 16, 31, .05); }
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.category-main h1 { margin: 0 0 20px; font-size: 25px; }
.category-filters { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.category-filters button, .category-filters select { height: 36px; padding: 0 14px; border: 0; border-radius: 4px; background: #fff; font-weight: 800; text-transform: uppercase; }
.category-filters button.active { background: var(--red); color: #fff; }
.category-filters select { margin-left: auto; border: 1px solid var(--line); color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.news-card { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 10px 24px rgba(7, 16, 31, .045); }
.card-img { position: relative; height: 176px; background-size: cover; background-position: center; }
.card-img span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 11px; }
.card-img b { position: absolute; right: 12px; bottom: 8px; }
.card-body { padding: 14px; }
.card-body h2 { margin: 0 0 12px; min-height: 66px; font-size: 17px; line-height: 1.3; }
.card-body p { display: none; }
.card-body footer { display: flex; gap: 28px; color: var(--muted); font-size: 12px; }
.card-body footer i { margin-left: auto; color: #9ba3af; font-style: normal; }

.article-share, .article-right, .category-right { display: grid; gap: 14px; align-content: start; }
.article-web h1 { margin: 16px 0 10px; font-size: 30px; line-height: 1.35; }
.article-web .lead { margin: 0 0 20px; color: #303947; font-weight: 800; }
.web-article-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-tools { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; }
.tts-button { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 13px; border: 1px solid rgba(227, 6, 19, .28); border-radius: 7px; background: #fff4f5; color: var(--red); font-size: 12px; font-weight: 900; }
.tts-button .icon { width: 17px; height: 17px; }
.tts-button.active { background: var(--red); color: #fff; }
.tts-button:disabled { opacity: .62; }
.article-actions { display: inline-flex; gap: 6px; }
.article-actions button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-weight: 900; }
.article-actions .font-small { font-size: 12px; }
.article-actions .font-medium { font-size: 16px; }
.article-actions .font-large { font-size: 18px; }
.article-actions .font-control.active { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 8px 18px rgba(227, 6, 19, .18); }
.article-actions .font-control:disabled { opacity: .42; }
.tts-status { margin: 8px 0 8px; color: var(--muted); font-size: 12px; font-weight: 800; }
.article-web audio[data-tts-audio] { display: none; width: 100%; margin: 0 0 14px; }
.article-web audio[data-tts-audio][src] { display: none; }
.author-line { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); }
.author-line img { width: 42px; }
.article-image-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 6px; color: #6d7582; font-size: 13px; line-height: 1; font-weight: 900; }
.article-image-meta time,
.article-image-meta span { display: inline-flex; align-items: center; gap: 7px; min-width: 0; }
.article-image-meta .icon { width: 17px; height: 17px; color: #8a93a0; }
.article-image,
.article-photo { position: relative; overflow: hidden; }
.article-image > img,
.article-photo > img { position: absolute; top: var(--pan-y, -10%); left: var(--pan-x, -10%); width: 120%; height: 120%; max-width: none; object-fit: cover; }
.article-image { height: 337px; margin: 0 0 14px; border-radius: var(--radius); background: url("../assets/web-article-rain.jpg") center / cover no-repeat; }
.article-audio-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; margin: 0 0 8px; }
.web-audio-panel { display: inline-grid; grid-template-columns: 28px minmax(112px, 170px); align-items: center; gap: 8px; width: auto; max-width: calc(100% - 118px); min-height: 38px; padding: 5px 6px; border: 1px solid rgba(226, 232, 240, .78); border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 10px rgba(7, 16, 31, .026); }
.article-side-tools { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; min-width: 0; }
.web-audio-panel .tts-button { width: 28px; height: 28px; justify-content: center; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(227, 6, 19, .11); }
.web-audio-panel .tts-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.web-audio-panel .tts-button .icon { width: 14px; height: 14px; }
.web-audio-panel .audio-wave { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-width: 96px; height: 20px; color: #253044; opacity: .48; }
.web-audio-panel .audio-wave i { width: 1.5px; height: 5px; border-radius: 999px; background: currentColor; transition: height 80ms linear, opacity 80ms linear; }
.web-audio-panel .audio-wave i:nth-child(2n) { height: 10px; }
.web-audio-panel .audio-wave i:nth-child(3n) { height: 14px; }
.web-audio-panel .audio-wave.is-live { opacity: 1; }
.article-font-tools { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 5px; padding: 5px; border: 1px solid rgba(226, 232, 240, .78); border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 10px rgba(7, 16, 31, .026); }
.article-font-tools button { width: 28px; height: 28px; border-color: rgba(226, 232, 240, .86); border-radius: 7px; background: rgba(255,255,255,.84); color: #111827; font-size: 11px; box-shadow: none; }
.article-font-tools .font-medium { font-size: 13px; }
.article-font-tools .font-large { font-size: 14px; }
.article-font-tools .font-control.active { border-color: rgba(227, 6, 19, .1); background: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(227, 6, 19, .1); }
.article-author-end { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.article-byline { display: flex; align-items: center; gap: 11px; margin: 22px 0 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-byline-avatar { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.article-byline-initials { display: grid; place-items: center; background: #eef2f7; color: #24324a; font-size: 13px; font-weight: 900; }
.article-byline > span:last-child { display: grid; gap: 2px; }
.article-byline small { color: #7b8492; font-size: 11px; font-weight: 750; }
.article-byline b { color: #111827; font-size: 14px; }
.article-share-panel { display: inline-grid; width: auto; max-width: 100%; margin: 10px 0 17px; padding: 5px; border: 1px solid rgba(226, 232, 240, .78); border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 10px rgba(7, 16, 31, .026); }
.article-side-tools .article-share-panel { margin: 0; }
.reaction-summary { display: grid; grid-template-columns: 56px 56px 78px; align-items: center; gap: 5px; }
.reaction-pill, .share-drawer summary { display: inline-grid; grid-template-columns: auto auto; align-items: center; justify-content: center; gap: 5px; min-height: 27px; padding: 0 8px; border: 1px solid rgba(226, 232, 240, .82); border-radius: 8px; background: rgba(255,255,255,.88); color: #111827; font-size: 11px; font-weight: 780; box-shadow: none; }
.reaction-pill[data-reaction="like"].active { border-color: rgba(22, 163, 74, .22); background: #f2fbf6; color: #119b53; }
.reaction-pill[data-reaction="dislike"].active { border-color: rgba(227, 6, 19, .22); background: #fff5f6; color: var(--red); }
.reaction-summary .share-icon, .share-choice .share-icon { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.reaction-pill > span { display: none; }
.reaction-summary strong { color: #64748b; font-size: 11px; font-weight: 780; }
.share-drawer { position: relative; min-width: 0; }
.share-drawer summary { grid-template-columns: auto auto; min-width: 0; padding: 0 9px; color: #fff; background: var(--red); border-color: rgba(227,6,19,.12); cursor: pointer; list-style: none; box-shadow: 0 4px 10px rgba(227, 6, 19, .1); }
.share-drawer summary::-webkit-details-marker { display: none; }
.share-drawer[open] { grid-column: 1 / -1; }
.share-drawer[open] summary { width: max-content; margin-left: auto; }
.share-sheet { display: grid; gap: 8px; margin-top: 8px; padding: 11px; border-radius: 12px; background: #07101f; color: #fff; box-shadow: 0 12px 22px rgba(7, 16, 31, .16); }
.share-sheet > p { margin: 0 0 2px; color: rgba(255,255,255,.62); font-size: 12px; font-weight: 800; }
.share-platform { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.1); }
.share-platform:first-of-type { border-top: 0; padding-top: 0; }
.share-platform > b { color: rgba(255,255,255,.9); font-size: 12px; font-weight: 950; }
.share-platform > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.share-choice { display: inline-grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 6px; min-height: 31px; padding: 0 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; background: rgba(255,255,255,.065); color: #fff; font-size: 11px; font-weight: 820; text-decoration: none; }
.share-choice .share-icon { width: 18px; height: 18px; padding: 3px; border-radius: 50%; }
.share-choice.whatsapp .share-icon { background: #25d366; color: #fff; }
.share-choice.instagram .share-icon { background: #e1306c; color: #fff; }
.share-choice.facebook .share-icon { background: #1877f2; color: #fff; }
.share-choice.telegram .share-icon { background: #229ed9; color: #fff; }
.share-choice.copy .share-icon { background: #e30613; color: #fff; }
.share-choice span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-icons-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 6px 0 2px; }
.share-icons-row .share-choice { display: inline-flex; grid-template-columns: none; min-height: 0; padding: 0; gap: 0; border: 0; border-radius: 50%; background: none; }
.share-icons-row .share-choice .share-icon { width: 44px; height: 44px; padding: 12px; }
.follow-panel { display: grid; gap: 16px; margin: 22px 0 0; padding: 18px; border: 1px solid rgba(226,232,240,.95); border-radius: 18px; background: linear-gradient(180deg, #fff, #f8fafc); box-shadow: 0 14px 32px rgba(7,16,31,.065); }
.follow-panel h2 { margin: 0; font-size: 18px; line-height: 1.2; text-transform: uppercase; }
.follow-panel p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.follow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.follow-channel { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; min-width: 0; padding: 0 14px 0 9px; border: 1px solid rgba(226,232,240,.95); border-radius: 999px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 13px; font-weight: 900; text-decoration: none; box-shadow: 0 8px 18px rgba(7,16,31,.045); }
.follow-channel .share-icon { flex: 0 0 auto; width: 30px; height: 30px; padding: 7px; border-radius: 50%; color: #fff; fill: none; stroke: currentColor; stroke-width: 2; }
.follow-channel.whatsapp .share-icon { background: linear-gradient(135deg, #25d366, #0b9f48); }
.follow-channel.telegram .share-icon { background: linear-gradient(135deg, #37aee2, #168acd); }
.follow-channel.facebook .share-icon { background: linear-gradient(135deg, #1877f2, #0b56c6); }
.follow-channel span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article-web > p, .article-web .cms-article-body, .article-web .cms-article-body p, .article-web .cms-article-body li { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: var(--article-text-size, 14px); line-height: 1.72; }
.article-web blockquote { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: var(--article-text-size, 14px); line-height: 1.7; }
blockquote { margin: 24px 0 0; padding: 24px 32px; border-radius: var(--radius); background: #fff1f2; color: #5b6470; }

.tv-page { display: grid; grid-template-columns: minmax(0, 1fr) 344px 426px; gap: 18px; padding-top: 20px; }
.web-logo-tv { justify-self: start; object-position: left center; }
.tv-left, .tv-right { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tv-middle { display: grid; gap: 14px; align-content: start; min-width: 0; }
.tv-page section, .tv-right .popular-panel, .tv-category-row { border: 1px solid #e9edf4; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(7, 16, 31, .055); }
.tv-player { overflow: hidden; background: #07101f; }
.tv-studio { position: relative; height: 312px; overflow: hidden; background: url("../assets/tv-live-studio.png") center / cover no-repeat; }
.tv-studio::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.08)); }
.tv-intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tv-live-badge { position: absolute; z-index: 2; left: 14px; top: 14px; display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 5px; background: var(--red); color: #fff; font-size: 13px; font-weight: 950; }
.studio-camera, .studio-screen, .studio-desk { display: none; }
.tv-controls { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto auto auto auto; align-items: center; gap: 14px; height: 52px; padding: 0 18px; background: #07101f; color: #fff; }
.tv-controls button { color: #fff; font-size: 22px; font-weight: 900; }
.tv-controls span { height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--red) 0 62%, rgba(255,255,255,.28) 62%); }
.tv-controls b { color: var(--red); font-size: 15px; }
.tv-controls i { width: 0; }
.tv-brand-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: 22px 30px; min-height: 128px; }
.tv-brand-icon { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 16px; background: linear-gradient(180deg, #fff, #f3f6fb); box-shadow: inset 0 0 0 1px #e8edf5; }
.tv-brand-icon b { display: grid; place-items: center; width: 58px; height: 58px; border: 4px solid var(--red); border-radius: 10px; color: var(--red); font-size: 18px; line-height: 1; font-weight: 950; text-align: center; }
.tv-brand-logo { width: 136px; padding: 10px; }
.tv-brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.tv-brand-card h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 24px; line-height: 1.16; }
.tv-brand-card > div > small { display: block; margin-bottom: 8px; color: #697486; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.tv-brand-card h1 > b { font: inherit; }
.tv-brand-card h1 span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 5px; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; }
.tv-brand-card p { margin: 0 0 8px; color: #4f5a6b; font-size: 15px; }
.tv-brand-card .tv-desc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv-brand-card p b { display: inline-flex; margin-left: 12px; padding: 5px 9px; border-radius: 5px; background: #6d28d9; color: #fff; font-size: 11px; }
.tv-brand-card strong { align-self: start; padding: 9px 13px; border-radius: 6px; background: #fff0f1; color: var(--red); font-size: 13px; white-space: nowrap; }
.tv-social-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; }
.tv-social-card b { font-size: 15px; }
.tv-social-card div { display: flex; gap: 12px; color: #111b2a; font-size: 12px; font-weight: 900; }
.tv-info-card { padding: 26px; min-height: 318px; }
.tv-red-dot { color: var(--red); font-size: 13px; font-weight: 950; }
.tv-info-card h2 { margin: 18px 0 14px; font-size: 27px; }
.tv-info-card p { color: #435066; line-height: 1.65; }
.tv-time { display: flex; align-items: center; gap: 16px; margin: 0 0 10px; }
.tv-time b, .tv-upcoming article b { padding: 5px 9px; border-radius: 5px; background: #6d28d9; color: #fff; font-size: 11px; }
.tv-info-card button { height: 44px; margin: 22px 0 18px; padding: 0 24px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 950; }
.tv-next { padding-top: 14px; border-top: 1px solid #e9edf4; }
.tv-next span { color: #697486; font-weight: 900; }
.tv-next p { margin: 8px 0 0; display: flex; gap: 14px; align-items: center; }
.tv-next i { width: 1px; height: 16px; background: #d7dde8; }
.tv-list-card { padding: 22px; min-height: 386px; }
.tv-list-card > header > b { padding: 5px 8px; border-radius: 5px; background: var(--red); color: #fff; font-size: 10px; }
.tv-video-popular { padding: 18px; }
.tv-video-popular > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.tv-video-popular h2 { margin: 0; font-size: 17px; }
.tv-video-popular header span, .tv-interviews header > span { color: var(--red); font-size: 10px; font-weight: 950; }
.tv-video-popular [data-popular-video-news] { display: grid; gap: 10px; }
.tv-video-popular .video-news-card { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: center; }
.tv-video-popular .video-news-image { aspect-ratio: 16 / 10; }
.tv-video-popular .video-news-card h3 { font-size: 12px; }
.tv-list-card header, .tv-shows-card header, .tv-interviews header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.tv-list-card h3, .tv-shows-card h3, .tv-interviews h3, .tv-upcoming h3 { margin: 0; font-size: 15px; }
.tv-list-card header button, .tv-shows-card header button, .tv-interviews header button { color: var(--red); font-weight: 850; font-size: 12px; }
.tv-schedule { max-height: 286px; overflow: hidden; padding-right: 6px; }
.tv-schedule article { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 40px; border-bottom: 1px solid #ecf0f5; color: #1d293b; }
.tv-schedule time { color: #07101f; font-weight: 850; }
.tv-schedule b { padding: 4px 7px; border-radius: 4px; background: var(--red); color: #fff; font-size: 10px; }
.tv-upcoming { padding: 16px; min-height: 112px; }
.tv-upcoming article { display: grid; grid-template-columns: 84px 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 42px; border-top: 1px solid #edf1f6; }
.tv-thumb { height: 34px; border-radius: 4px; background-size: cover; background-position: center; }
.tv-page .tv-middle-ad {
  min-height: 220px;
  background-image: url("../assets/tv-ad-media-group.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.tv-shows-card { min-height: 270px; padding: 16px; }
.tv-show-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 258px)); justify-content: center; gap: 18px; }
.tv-show-img { position: relative; height: 158px; overflow: hidden; border-radius: 7px; background-color: #07101f; background-size: contain; background-position: center; background-repeat: no-repeat; color: #fff; }
.tv-show-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,.38)); }
.tv-show-img b { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 4px; background: #6d28d9; font-size: 10px; }
.tv-show-img h4 { display: none; }
.tv-show-grid p { margin: 8px 0 0; color: #667085; font-size: 12px; }
.tv-interviews { grid-column: 1 / 4; padding: 16px; }
.tv-latest-videos { grid-column: 1 / 4; }
.tv-latest-videos .video-news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tv-interview-grid .video-news-card { min-width: 0; }
.tv-interview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tv-interviews { width: 100%; max-width: 100%; }
.tv-interviews .video-news-image { aspect-ratio: 16 / 9; }
.tv-interviews .video-news-card > div:last-child { padding: 11px 12px 13px; }
.tv-interviews .video-news-card h3 { margin: 5px 0 0; font-size: 14px; line-height: 1.35; }
.tv-interview-img { position: relative; height: 178px; border-radius: 8px; overflow: hidden; background-size: cover; background-position: center top; }
.tv-interviews h4 { margin: 10px 0 8px; font-size: 15px; line-height: 1.25; }
.tv-interviews p { display: flex; justify-content: space-between; margin: 0; color: #07101f; font-size: 13px; }
.tv-interviews i { display: inline-flex; padding: 5px 8px; border-radius: 5px; background: #fff0f1; color: var(--red); font-style: normal; font-weight: 900; }
.tv-interviews p b { font-weight: 950; }
.tv-ad-block { position: relative; min-height: 286px; overflow: hidden; padding: 26px 30px; border: 1px solid #e6ebf2; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(7,16,31,.055); }
.tv-ad-block span { position: relative; z-index: 2; display: block; margin-bottom: 28px; color: #07101f; font-size: 13px; font-weight: 900; }
.tv-ad-block h2, .tv-ad-block h3, .tv-ad-block p, .tv-ad-block button { position: relative; z-index: 2; }
.tv-ad-block h2 { margin: 0; color: #09235d; font-size: 34px; line-height: 1; font-weight: 950; letter-spacing: .02em; }
.tv-ad-block h3 { margin: 4px 0 24px; color: var(--red); font-size: 21px; font-weight: 950; }
.tv-ad-block p { margin: 0 0 24px; color: #092044; font-size: 18px; line-height: 1.35; font-weight: 950; }
.tv-ad-block button { height: 36px; padding: 0 16px; border-radius: 5px; background: var(--red); color: #fff; font-size: 12px; font-weight: 950; }
.tv-ad-block > * { display: none; }
.tv-right .tv-ad-block.media-group {
  min-height: 330px;
  background-color: #fff;
  background-image: url("../assets/tv-ad-media-group.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.media-group::before, .media-group::after { display: none; }
.tv-right .tv-ad-block.smart-tv {
  min-height: 478px;
  background-color: #fff;
  background-image: url("../assets/tv-ad-smart.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.smart-tv h2 { max-width: 230px; font-size: 25px; line-height: 1.08; }
.smart-tv h2 b { color: var(--red); }
.smart-tv p { max-width: 190px; margin-top: 16px; font-size: 14px; }
.smart-screen { display: none; }
.smart-screen b { color: var(--red); }
.smart-tv button { margin-top: 18px; }
.tv-category-row { grid-column: 1 / 4; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-top: 0; padding: 10px; }
.tv-category-row button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 46px; border-radius: 7px; background: #fff; color: #111827; font-weight: 850; box-shadow: 0 8px 18px rgba(7, 16, 31, .04); }
.tv-category-row span { font-size: 19px; }
.studio, .tv-thumb.studio, .tv-show-img.studio { background-image: url("../assets/tv-show-gece-debati.png"); }
.report, .tv-thumb.report, .tv-show-img.report { background-image: url("../assets/tv-show-xususi-reportaj.png"); }
.world, .tv-thumb.world, .tv-show-img.world { background-image: url("../assets/tv-show-dunya-panoramasi.png"); }
.economy, .tv-show-img.economy { background-image: linear-gradient(135deg, #0f172a, #1e40af 48%, #334155); }
.interview-man { background-image: url("../assets/tv-interview-iqtisadiyyat.png"); }
.interview-woman { background-image: url("../assets/tv-interview-regional.png"); }
.interview-guest { background-image: url("../assets/tv-interview-enerji.png"); }

.web-footer {
  margin-top: 36px;
  background: #07101f;
  color: #fff;
  border-top: 4px solid var(--red);
}

.web-footer-inner {
  width: min(100% - 40px, 1260px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(360px, 1.4fr) minmax(240px, .8fr);
  gap: 42px;
  padding: 38px 0 32px;
}

.footer-brand img {
  display: block;
  width: 190px;
  height: auto;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .24));
}

.footer-brand p,
.footer-contact p,
.footer-contact a,
.footer-bottom {
  color: #aeb7c4;
}

.footer-brand p {
  max-width: 360px;
  margin: 0 0 18px;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #111c2c;
  color: #fff;
  font-weight: 900;
}

.web-footer h3 {
  margin: 0 0 16px;
  font-size: 15px;
  text-transform: uppercase;
}

.footer-links div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-links button {
  padding: 6px 0;
  color: #d6dce5;
  text-align: left;
  font-weight: 750;
}
.footer-links a {
  padding: 6px 0;
  color: #d6dce5;
  text-align: left;
  font-weight: 750;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-contact p {
  margin: 0;
}

.footer-contact a {
  text-decoration: none;
}

.footer-contact button {
  width: fit-content;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
}
.footer-ad-link { display: inline-flex; width: fit-content; min-height: 38px; margin-top: 6px; padding: 0 16px; align-items: center; border-radius: 5px; background: var(--red); color: #fff !important; font-weight: 900; text-transform: uppercase; }

.footer-bottom {
  width: min(100% - 40px, 1260px);
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px;
}

/* Keep video cards inside their existing TV sections without changing page layout. */
.tv-latest-videos,
.tv-interviews { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; justify-self: stretch; overflow: hidden; }
.tv-latest-videos .video-news-grid,
.tv-interview-grid { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: clip; }
.tv-latest-videos .video-news-card,
.tv-interview-grid .video-news-card { box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; overflow: hidden; contain: inline-size; }
.tv-latest-videos .video-news-card > *,
.tv-interview-grid .video-news-card > * { box-sizing: border-box; min-width: 0; max-width: 100%; }
.tv-latest-videos .video-news-image,
.tv-interview-grid .video-news-image { width: 100%; max-width: 100%; overflow: hidden; background-size: cover; }
.tv-latest-videos .video-news-card h3,
.tv-interview-grid .video-news-card h3 { width: 100%; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; word-break: break-word; }

@media (max-width: 1420px) {
  body { min-width: 0; }
  .topbar-inner, .web-header-inner { width: min(100% - 32px, 1120px); }
  .topbar-inner { gap: 18px; }
  .topbar-inner span:nth-child(n+3):nth-child(-n+4),
  .topbar-inner b:nth-of-type(n+4) { display: none; }
  .page-shell { width: min(100% - 32px, 1120px); grid-template-columns: 1fr; }
  .web-header-inner { grid-template-columns: 126px minmax(0, 1fr) 104px 40px; column-gap: 10px; }
  .web-logo { width: 126px; height: 68px; }
  .web-header:has(.web-logo-tv) .web-logo-tv { width: 126px; height: 68px; }
  .web-header nav { gap: 16px; min-width: 0; overflow-x: auto; overflow-y: hidden; }
  .web-header nav a { font-size: 12px; }
  .web-header nav .tv-live { height: 40px; min-width: 104px; padding: 4px 11px 4px 7px; }
  .web-header-inner > .tv-live { width: 104px; min-width: 104px; height: 40px; padding: 4px 11px 4px 7px; }
  .web-header-inner > .tv-live span { width: 34px; height: 24px; font-size: 12px; }
  .web-header-inner > .tv-live b { font-size: 12px; }
  .web-header nav .tv-live span { width: 34px; height: 24px; font-size: 12px; }
  .web-header nav .tv-live b { font-size: 12px; }
  .side-rail { display: none; }
  .web-main { width: 100%; }
  .home-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .hero-desktop { height: 340px; }
  .wide-ad.kontakt { width: 100%; margin-left: 0; }
  .content-row { grid-template-columns: minmax(0, 1fr); }
  .right-stack { display: none; }
  .latest-cards { grid-template-columns: repeat(4, 1fr); }
  .home-promo-row { grid-template-columns: 240px minmax(0, 1fr); }
  .category-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .article-share { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .web-footer-inner { width: min(100% - 32px, 1120px); grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-bottom { width: min(100% - 32px, 1120px); }
  .page-shell.tv-shell { width: min(100% - 32px, 1120px); }
  .tv-page { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
  .tv-right { display: none; }
  .tv-latest-videos, .tv-interviews { grid-column: 1 / 3; }
}

@media (max-width: 820px) {
  .tv-page { grid-template-columns: 1fr; }
  .tv-middle, .tv-latest-videos, .tv-interviews { grid-column: 1; }
  .tv-latest-videos .video-news-grid,
  .tv-interview-grid { grid-template-columns: repeat(2, calc((100% - 14px) / 2)); }
  .tv-studio { height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .tv-latest-videos .video-news-grid,
  .tv-interview-grid { grid-template-columns: minmax(0, 100%); }
}


@media (min-width: 1181px) and (max-width: 1420px) {
  .page-shell.article-shell {
    width: min(100% - 32px, 1260px);
    grid-template-columns: minmax(86px, 104px) minmax(0, 1fr) minmax(86px, 104px);
    gap: 18px;
  }

  .page-shell.article-shell .side-rail {
    display: block;
  }

  .page-shell.article-shell .skyscraper {
    max-width: 104px;
  }
}

@media (min-width: 1421px) and (max-width: 1535px) {
  .web-header-inner,
  .topbar-inner {
    width: min(100% - 32px, 1200px);
  }

  .page-shell {
    grid-template-columns: 104px minmax(0, 1fr) 104px;
  }

  .home-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .content-row {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 900px) {
  .admin-app { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; grid-template-rows: auto auto auto; gap: 18px; padding: 20px; }
  .admin-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-main { padding: 18px; }
  .admin-top { align-items: stretch; flex-direction: column; }
  .admin-top h1 { font-size: 30px; }
  .admin-top-actions { flex-direction: column; }
  .admin-stats, .admin-grid, .editor-layout, .editor-row { grid-template-columns: 1fr; }
  .editor-side, .editor-preview { position: static; }
  .admin-table { min-width: 640px; }
}

/* Flash notification newsroom */
.admin-body .push-studio-premium {
  --push-ink: #101828;
  --push-muted: #667085;
  --push-blue: #155eef;
  --push-red: #e30613;
  display: grid;
  gap: 14px;
  max-width: 1540px;
  margin: 0 auto;
}

/* Campaign studio */
.admin-body .ad-campaign-studio {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  max-width: 1480px;
  margin: 0 auto;
}
.admin-body .ad-campaign-form,
.admin-body .ad-campaign-side {
  min-width: 0;
}
.admin-body .ad-campaign-form > header {
  padding-bottom: 18px;
  border-bottom: 1px solid #e8edf4;
}
.admin-body .ad-campaign-form > header h2,
.admin-body .ad-preview-card header h2 {
  margin: 3px 0 0;
  font-size: 20px;
}
.admin-body .ad-campaign-form > header p {
  margin: 6px 0 0;
  color: var(--admin-muted);
}
.admin-body .section-kicker {
  color: #155eef;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.admin-body .ad-campaign-form fieldset {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid #e8edf4;
}
.admin-body .ad-campaign-form fieldset:last-child { border-bottom: 0; }
.admin-body .ad-campaign-form legend {
  margin-bottom: 12px;
  color: #101828;
  font-size: 15px;
  font-weight: 900;
}
.admin-body .ad-campaign-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .ad-campaign-form input,
.admin-body .ad-campaign-form select,
.admin-body .ad-campaign-form textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
}
.admin-body .ad-campaign-form .upload-grid button {
  display: grid;
  place-content: center;
  gap: 6px;
  min-height: 116px;
  border: 1px dashed #b9c5d6;
  background: #f8fafc;
  box-shadow: none;
}
.admin-body .ad-campaign-form .upload-grid button::before {
  content: "↑";
  color: #155eef;
  font-size: 24px;
}
.admin-body .ad-campaign-form .upload-grid button small { color: #78869a; font-weight: 650; }
.admin-body .ad-campaign-form .upload-grid button.is-complete {
  border-color: #7bd6a6;
  background: #effcf5;
  color: #087443;
}
.admin-body .ad-device-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 4px 0;
}
.admin-body .ad-device-row label { display: flex; align-items: center; gap: 8px; }
.admin-body .ad-device-row input { width: 18px; min-height: 18px; accent-color: #155eef; }
.admin-body .ad-campaign-side { display: grid; gap: 16px; position: sticky; top: 78px; }
.admin-body .ad-preview-card header { align-items: flex-start; }
.admin-body .ad-preview-card header nav { display: flex; gap: 5px; }
.admin-body .ad-preview-card header nav button { min-height: 30px; padding: 0 9px; font-size: 11px; box-shadow: none; }
.admin-body .ad-preview-card header nav button.active { border-color: #155eef; background: #eef4ff; color: #155eef; }
.admin-body .ad-preview-card .ad-preview {
  display: grid;
  place-items: center;
  aspect-ratio: 970 / 250;
  margin: 0 0 16px;
  border: 1px dashed #b9c5d6;
  background: #f5f7fa center/cover no-repeat;
  color: #758197;
  font-size: 12px;
  font-weight: 800;
}
.admin-body .ad-preview-card .ad-preview::before,
.admin-body .ad-preview-card .ad-preview::after { content: none; }
.admin-body .ad-preview-card .ad-preview.is-mobile { width: min(100%, 240px); aspect-ratio: 3.2 / 1; margin-inline: auto; }
.admin-body .ad-preview-card dl { display: grid; gap: 0; margin: 0; }
.admin-body .ad-preview-card dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid #edf1f6; }
.admin-body .ad-preview-card dt { color: #667085; }
.admin-body .ad-preview-card dd { margin: 0; color: #101828; font-weight: 850; text-align: right; }
.admin-body .ad-publish-card { display: grid; gap: 10px; }
.admin-body .ad-publish-card button { width: 100%; }
.admin-body .ad-publish-card p { margin: 4px 0 0; color: #667085; font-size: 12px; line-height: 1.55; }

.admin-body .news-list-card .filter-row input,
.admin-body .news-list-card .filter-row select,
.admin-body .news-list-card .filter-row button { min-width: 0; }
.admin-body .news-list-card .table-headline select { min-height: 36px; padding: 0 10px; }
.admin-body .portal-pagination > span b { display: grid; place-items: center; min-width: 72px; color: #475467; font-size: 12px; }

@media (max-width: 1180px) {
  .admin-body .ad-campaign-studio { grid-template-columns: 1fr; }
  .admin-body .ad-campaign-side { position: static; grid-template-columns: minmax(0, 1fr) 280px; }
  .admin-body .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .admin-body .ad-campaign-form .form-grid,
  .admin-body .ad-campaign-form .form-grid.three,
  .admin-body .ad-campaign-form .upload-grid,
  .admin-body .ad-campaign-side,
  .admin-body .filter-row { grid-template-columns: 1fr; }
  .admin-body .table-headline,
  .admin-body .portal-pagination { align-items: stretch; flex-direction: column; }
}
.admin-body .push-command {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px 210px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  border-color: #e4e9f1;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .045);
}
.admin-body .push-command-copy h2 {
  margin: 4px 0 6px;
  color: var(--push-ink);
  font-size: 25px;
  line-height: 1.12;
}
.admin-body .push-command-copy p,
.admin-body .push-command-copy span {
  margin: 0;
  color: var(--push-muted);
}
.admin-body .push-eyebrow {
  color: var(--push-red) !important;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.admin-body .push-command-status,
.admin-body .push-command time {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 10px 13px;
  border: 1px solid #e4e9f1;
  border-radius: 8px;
  background: #fbfcfe;
  font-style: normal;
}
.admin-body .push-command-status i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 5px #e8f8f0;
}
.admin-body .push-command-status span,
.admin-body .push-command time {
  display: grid;
  gap: 3px;
}
.admin-body .push-command-status b,
.admin-body .push-command time b {
  color: #344054;
  font-size: 12px;
}
.admin-body .push-command-status small,
.admin-body .push-command time small {
  color: #8490a3;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .push-metrics-premium {
  gap: 12px;
}
.admin-body .push-metrics-premium article {
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 82px;
  padding: 14px 16px;
  border-color: #e5eaf1;
  box-shadow: none;
}
.admin-body .push-metrics-premium article > i {
  grid-row: auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff5ff;
  color: var(--push-blue);
  font-size: 16px;
}
.admin-body .push-metrics-premium article > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2px 12px;
}
.admin-body .push-metrics-premium small {
  grid-column: 1;
  color: #667085;
  font-size: 11px;
  font-weight: 800;
}
.admin-body .push-metrics-premium b {
  grid-column: 1;
  color: var(--push-ink);
  font-size: 20px;
}
.admin-body .push-metrics-premium em {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  max-width: 160px;
  color: #98a2b3;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  text-align: right;
}
.admin-body .push-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, .55fr);
  gap: 14px;
  align-items: start;
}
.admin-body .push-compose-premium {
  gap: 14px;
  padding: 20px;
}
.admin-body .portal-card header.push-section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}
.admin-body .push-section-heading > span {
  position: static;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 7px;
  background: #eff5ff;
  color: var(--push-blue);
  font-size: 11px;
  font-weight: 900;
}
.admin-body .push-section-heading h2 {
  margin: 0 0 2px;
  color: var(--push-ink);
  font-size: 16px;
}
.admin-body .push-section-heading p {
  margin: 0;
  color: #8490a3;
  font-size: 11px;
  font-weight: 700;
}
.admin-body .push-compose-premium label,
.admin-body .push-final label {
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .push-compose-premium label > small,
.admin-body .push-final label > small {
  display: block;
  margin-top: 5px;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 650;
}
.admin-body .push-compose-premium input,
.admin-body .push-compose-premium textarea,
.admin-body .push-compose-premium select,
.admin-body .push-final select {
  border-color: #dfe5ed;
  background: #fff;
  color: #182230;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .03);
}
.admin-body .push-article-picker select {
  width: 100%;
  margin-top: 7px;
}
.admin-body .push-lang-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-body .push-lang-tabs button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  height: 43px;
  padding: 0 12px;
  border-radius: 7px;
  background: #fff;
  color: #475467;
  box-shadow: none;
}
.admin-body .push-lang-tabs button b {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 24px;
  border-radius: 5px;
  background: #f2f4f7;
  color: #344054;
  font-size: 10px;
}
.admin-body .push-lang-tabs button span {
  position: static;
  color: inherit;
  font-size: 11px;
}
.admin-body .push-lang-tabs button.active {
  border-color: #9dbcfb;
  background: #f5f8ff;
  color: #155eef;
}
.admin-body .push-lang-tabs button.active b {
  background: #155eef;
  color: #fff;
}
.admin-body .push-advanced {
  padding: 11px 0 0;
  border-bottom: 0;
}
.admin-body .push-advanced summary {
  color: #475467;
  font-size: 11px;
}
.admin-body .push-preview-premium {
  gap: 14px;
}
.admin-body .phone-preview-card {
  padding: 18px;
}
.admin-body .preview-device {
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  color: #667085;
  font-size: 10px;
}
.admin-body .push-phone {
  width: min(100%, 244px);
  margin-top: 14px;
  padding: 7px;
  border-radius: 29px;
  background: #111827;
  box-shadow: 0 18px 38px rgba(15, 23, 42, .16);
}
.admin-body .push-phone-screen {
  position: relative;
  min-height: 376px;
  padding: 25px 11px 18px;
  border-radius: 23px;
  background: linear-gradient(160deg, #3c4b5e, #182533 48%, #0b1220);
}
.admin-body .phone-island {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 62px;
  height: 16px;
  border-radius: 999px;
  background: #030712;
  transform: translateX(-50%);
}
.admin-body .push-phone-screen > time {
  margin: 12px 0 0;
  font-size: 34px;
  line-height: 1;
}
.admin-body .push-phone-screen > small {
  display: block;
  margin: 3px 0 54px;
  color: rgba(255,255,255,.8);
  font-size: 10px;
  text-align: center;
}
.admin-body .push-notification-card {
  gap: 5px;
  padding: 10px 11px;
  border-radius: 12px;
}
.admin-body .push-notification-card header {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
.admin-body .push-notification-card header > b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #e30613;
  color: #fff;
  font-size: 9px;
}
.admin-body .push-notification-card header span {
  color: #344054;
  font-size: 9px;
  font-weight: 850;
}
.admin-body .push-notification-card header small {
  color: #98a2b3;
  font-size: 8px;
}
.admin-body .push-final {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px;
}
.admin-body .push-final select {
  width: 100%;
  height: 38px;
  margin-top: 7px;
}
.admin-body .push-checklist {
  display: grid;
  gap: 3px;
  padding: 9px 11px;
  border: 1px solid #e8ecf2;
  border-radius: 7px;
  background: #fbfcfd;
}
.admin-body .push-checklist p {
  margin: 2px 0;
  font-size: 10px;
}
.admin-body .push-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
}
.admin-body .push-actions button {
  height: 38px;
  border-radius: 7px;
  font-size: 11px;
}
.admin-body .push-actions .primary {
  background: #155eef;
}
.admin-body .push-history-premium {
  padding: 18px;
}
.admin-body .push-history-premium > header {
  margin-bottom: 12px;
}
.admin-body .push-history-premium > header h2 {
  margin: 0 0 3px;
  font-size: 15px;
}
.admin-body .push-history-premium > header p {
  margin: 0;
  color: #8490a3;
  font-size: 11px;
}
.admin-body .push-history-premium > header > span {
  padding: 5px 8px;
  border-radius: 6px;
  background: #f2f4f7;
  color: #667085;
  font-size: 10px;
  font-weight: 850;
}
.admin-body .push-history-premium .portal-table.compact {
  min-width: 680px;
}
.admin-body .push-history-premium .portal-table td,
.admin-body .push-history-premium .portal-table th {
  padding: 9px 10px;
  font-size: 11px;
}
.admin-body .icon-command {
  width: 30px;
  height: 30px;
  padding: 0;
  border-radius: 6px;
}
.admin-body .push-empty-history {
  padding: 28px !important;
  color: #98a2b3;
  text-align: center;
}
@media (max-width: 1280px) {
  .admin-body .push-command { grid-template-columns: minmax(0, 1fr) 230px; }
  .admin-body .push-command time { display: none; }
  .admin-body .push-workbench { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .admin-body .push-command,
  .admin-body .push-workbench { grid-template-columns: minmax(0, 1fr); }
  .admin-body .push-metrics-premium { grid-template-columns: repeat(3, minmax(170px, 1fr)); overflow-x: auto; }
  .admin-body .push-preview-premium { grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr); }
}

/* Premium flash newsroom studio */
.admin-body .push-studio-premium {
  gap: 16px;
  max-width: 1480px;
}
.admin-body .push-studio-premium .portal-card {
  border-color: #e1e7ef;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}
.admin-body .push-command {
  grid-template-columns: 48px minmax(0, 1fr) 238px 190px;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  background: #fff;
}
.admin-body .push-command-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: #08182a;
  color: #fff;
  font-size: 16px;
  font-style: italic;
  font-weight: 950;
  box-shadow: inset 0 -4px 0 #e80715;
}
.admin-body .push-command-copy h2 {
  margin-top: 3px;
  font-size: 23px;
}
.admin-body .push-command-copy p {
  max-width: 620px;
  font-size: 11px;
}
.admin-body .push-command-status,
.admin-body .push-command time {
  min-height: 54px;
  padding: 9px 12px;
  background: #f8fafc;
}
.admin-body .push-metrics-premium {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.admin-body .push-metrics-premium article {
  min-height: 92px;
  padding: 16px 18px;
  background: #fff;
}
.admin-body .push-metrics-premium article:nth-child(1) > i { background: #eef4ff; color: #155eef; }
.admin-body .push-metrics-premium article:nth-child(2) > i { background: #fff4e5; color: #b54708; }
.admin-body .push-metrics-premium article:nth-child(3) > i { background: #eaf8f0; color: #087a42; }
.admin-body .push-workbench {
  grid-template-columns: minmax(0, 1.5fr) 374px;
  gap: 16px;
}
.admin-body .push-compose-premium {
  padding: 22px;
  gap: 16px;
}
.admin-body .push-compose-premium > label {
  position: relative;
  display: grid;
  gap: 7px;
}
.admin-body .push-compose-premium label > span {
  position: absolute;
  top: 0;
  right: 0;
  color: #98a2b3;
  font-size: 10px;
  font-weight: 750;
}
.admin-body .push-compose-premium input,
.admin-body .push-compose-premium select {
  min-height: 43px;
}
.admin-body .push-compose-premium textarea {
  min-height: 108px;
  line-height: 1.55;
  resize: vertical;
}
.admin-body .push-lang-tabs {
  padding: 4px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #f7f9fc;
}
.admin-body .push-lang-tabs button {
  height: 40px;
  border-color: transparent;
  background: transparent;
}
.admin-body .push-lang-tabs button.active {
  border-color: #d9e4fb;
  background: #fff;
  box-shadow: 0 3px 10px rgba(21, 94, 239, .08);
}
.admin-body .push-type-selector {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}
.admin-body .push-type-selector legend {
  grid-column: 1 / -1;
  margin-bottom: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.admin-body .push-compose-premium .push-type-selector label {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}
.admin-body .push-type-selector input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.admin-body .push-compose-premium .push-type-selector label > span {
  position: relative;
  top: auto;
  right: auto;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  gap: 2px 8px;
  min-height: 61px;
  padding: 11px 12px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fff;
}
.admin-body .push-type-selector i {
  grid-row: 1 / 3;
  width: 8px;
  height: 8px;
  margin-top: 4px;
  border-radius: 50%;
  background: #98a2b3;
}
.admin-body .push-type-selector b { color: #182230; font-size: 11px; }
.admin-body .push-type-selector small { color: #98a2b3; font-size: 9px; }
.admin-body .push-type-selector input:checked + span {
  border-color: #a9c3fb;
  background: #f6f9ff;
  box-shadow: 0 0 0 2px rgba(21, 94, 239, .07);
}
.admin-body .push-type-selector input:checked + span i { background: #e80715; box-shadow: 0 0 0 3px #fee4e6; }
.admin-body .phone-preview-card {
  padding: 18px 18px 20px;
  background: #fff;
}
.admin-body .push-phone {
  width: 244px;
  padding: 6px;
  border: 1px solid #1f2937;
  background: #060d19;
  box-shadow: 0 22px 44px rgba(8, 24, 42, .2);
}
.admin-body .push-phone-screen {
  min-height: 402px;
  padding: 18px 11px;
  background: #15283b;
  overflow: hidden;
}
.admin-body .push-phone-screen::after {
  content: "";
  position: absolute;
  inset: auto -60px -65px 30px;
  height: 180px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.admin-body .phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  color: rgba(255,255,255,.88);
  font-size: 8px;
  font-weight: 800;
}
.admin-body .push-phone-screen > time { margin-top: 25px; font-size: 38px; }
.admin-body .push-phone-screen > small { margin-bottom: 48px; }
.admin-body .push-notification-card {
  position: relative;
  z-index: 1;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(248,250,252,.92);
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.admin-body .push-notification-card header em {
  margin-left: auto;
  padding: 3px 5px;
  border-radius: 4px;
  background: #fee4e6;
  color: #c01020;
  font-size: 7px;
  font-style: normal;
  font-weight: 900;
}
.admin-body .push-notification-card strong {
  margin-top: 2px;
  color: #101828;
  font-size: 11px;
  line-height: 1.3;
}
.admin-body .push-notification-card p {
  color: #475467;
  font-size: 9px;
  line-height: 1.4;
}
.admin-body .push-notification-card footer {
  display: flex;
  justify-content: space-between;
  padding-top: 7px;
  border-top: 1px solid rgba(16,24,40,.08);
  color: #667085;
  font-size: 8px;
  font-weight: 750;
}
.admin-body .phone-home {
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 84px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  transform: translateX(-50%);
}
.admin-body .push-final { padding: 18px; }
.admin-body .push-audience-estimate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 11px;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #f8fafc;
}
.admin-body .push-audience-estimate > span {
  display: grid;
  grid-template-columns: 8px auto;
  gap: 0 7px;
  align-items: center;
}
.admin-body .push-audience-estimate i {
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12b76a;
  box-shadow: 0 0 0 3px #def7e9;
}
.admin-body .push-audience-estimate b { color: #101828; font-size: 13px; }
.admin-body .push-audience-estimate small { color: #98a2b3; font-size: 8px; }
.admin-body .push-audience-estimate em { color: #667085; font-size: 9px; font-style: normal; font-weight: 750; }
.admin-body .push-checklist { padding: 10px 12px; background: #fff; }
.admin-body .push-actions { grid-template-columns: .8fr 1.4fr; }
.admin-body .push-actions button { height: 40px; }
.admin-body .push-history-premium { overflow: hidden; }

@media (max-width: 1280px) {
  .admin-body .push-command { grid-template-columns: 44px minmax(0, 1fr) 224px; }
  .admin-body .push-command time { display: none; }
  .admin-body .push-workbench { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .admin-body .push-command { grid-template-columns: 44px minmax(0, 1fr); }
  .admin-body .push-command-status { grid-column: 1 / -1; }
  .admin-body .push-workbench { grid-template-columns: 1fr; }
  .admin-body .push-preview-premium { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(320px, 1.25fr); }
}
@media (max-width: 720px) {
  .admin-body .push-command-mark { display: none; }
  .admin-body .push-command { grid-template-columns: 1fr; }
  .admin-body .push-metrics-premium { grid-template-columns: 1fr; overflow: visible; }
  .admin-body .push-type-selector { grid-template-columns: 1fr; }
  .admin-body .push-preview-premium { grid-template-columns: 1fr; }
}

/* Premium admin operating system */
.admin-body {
  --admin-ink: #101828;
  --admin-muted: #667085;
  --admin-line: #e4e9f0;
  --admin-soft: #f6f8fb;
  --admin-blue: #155eef;
  --admin-navy: #08182a;
  --admin-red: #e80715;
  background: #f3f6fa;
}
.admin-body .portal-content { padding: 22px 24px 40px; }
.admin-body .portal-crumb { margin-bottom: 14px; color: #7b8798; font-size: 11px; font-weight: 700; }
.admin-body .portal-card { border-color: var(--admin-line); border-radius: 8px; box-shadow: 0 8px 24px rgba(15, 23, 42, .045); }
.admin-body .portal-card h2 { color: var(--admin-ink); letter-spacing: 0; }
.admin-body .portal-card p { color: var(--admin-muted); }
.admin-body input,
.admin-body select,
.admin-body textarea { border-color: #dbe2ea; border-radius: 7px; color: var(--admin-ink); font-size: 12px; }
.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus { border-color: #84adff; box-shadow: 0 0 0 3px rgba(21, 94, 239, .09); outline: 0; }
.admin-body button { border-radius: 7px; }
.admin-body [hidden] { display: none !important; }
.admin-body button.primary { background: var(--admin-blue); box-shadow: 0 6px 14px rgba(21, 94, 239, .16); }
.admin-body .status-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 4px 9px; border: 0; border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 850; }
.admin-body .status-pill.active { background: #e8f8ef; color: #087a42; }
.admin-body .status-pill.paused { background: #fff3e6; color: #b54708; }

.admin-body .dashboard-premium,
.admin-body .campaign-premium-page,
.admin-body .profile-premium-page,
.admin-body .comment-premium-page,
.admin-body .tag-premium-page { display: grid; gap: 16px; }
.admin-body .dashboard-welcome,
.admin-body .campaign-command,
.admin-body .comment-command,
.admin-body .tag-command,
.admin-body .profile-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 22px; overflow: hidden; }
.admin-body .dashboard-welcome > div:first-child,
.admin-body .campaign-command > div:first-child,
.admin-body .comment-command > div:first-child,
.admin-body .tag-command > div:first-child { max-width: 680px; }
.admin-body .dashboard-welcome span,
.admin-body .campaign-command > div > span,
.admin-body .comment-command > div > span,
.admin-body .tag-command > div > span,
.admin-body .profile-hero > div:nth-child(2) > span,
.admin-body .taxonomy-editor > header span { color: var(--admin-blue); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.admin-body .dashboard-welcome h2,
.admin-body .campaign-command h2,
.admin-body .comment-command h2,
.admin-body .tag-command h2,
.admin-body .profile-hero h2 { margin: 4px 0 5px; font-size: 21px; }
.admin-body .dashboard-welcome p,
.admin-body .campaign-command p,
.admin-body .comment-command p,
.admin-body .tag-command p,
.admin-body .profile-hero p { margin: 0; font-size: 11px; }
.admin-body .dashboard-welcome > div:last-child { display: flex; gap: 8px; }
.admin-body .dashboard-welcome button,
.admin-body .campaign-command > button,
.admin-body .tag-command > button { min-height: 38px; padding: 0 15px; }
.admin-body .dashboard-stats,
.admin-body .campaign-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.admin-body .dashboard-stats article,
.admin-body .campaign-metrics article { position: relative; min-height: 110px; padding: 17px 18px; border: 1px solid var(--admin-line); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(15, 23, 42, .035); }
.admin-body .dashboard-stats article i { position: absolute; top: 15px; right: 16px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 7px; background: #edf4ff; color: var(--admin-blue); font-style: normal; }
.admin-body .dashboard-stats article span,
.admin-body .campaign-metrics article span { display: block; color: var(--admin-muted); font-size: 11px; font-weight: 750; }
.admin-body .dashboard-stats article b,
.admin-body .campaign-metrics article b { display: block; margin: 7px 0 3px; color: var(--admin-ink); font-size: 25px; line-height: 1; }
.admin-body .dashboard-stats article small,
.admin-body .campaign-metrics article small { color: #98a2b3; font-size: 10px; }
.admin-body .dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 16px; align-items: start; }
.admin-body .dashboard-news { min-width: 0; padding: 0; overflow: hidden; }
.admin-body .dashboard-news > header,
.admin-body .campaign-table-card > header,
.admin-body .tag-table-card > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--admin-line); }
.admin-body .dashboard-news > header h2,
.admin-body .campaign-table-card > header h2,
.admin-body .tag-table-card > header h2 { margin: 0 0 3px; font-size: 15px; }
.admin-body .dashboard-news > header p,
.admin-body .campaign-table-card > header p,
.admin-body .tag-table-card > header p { margin: 0; font-size: 10px; }
.admin-body .dashboard-news .portal-table { min-width: 1040px; }
.admin-body .dashboard-side,
.admin-body .profile-side-stack,
.admin-body .tag-side-stack,
.admin-body .comment-side,
.admin-body .taxonomy-insights { display: grid; gap: 14px; }
.admin-body .dashboard-side .portal-card,
.admin-body .profile-side-stack .portal-card,
.admin-body .comment-side .portal-card,
.admin-body .taxonomy-insights .portal-card { padding: 17px; }
.admin-body .editorial-health h2 { margin: 0 0 12px; font-size: 14px; }
.admin-body .editorial-health p,
.admin-body .account-summary p { display: flex; align-items: center; justify-content: space-between; margin: 0; padding: 9px 0; border-bottom: 1px solid #edf0f4; font-size: 11px; }
.admin-body .editorial-health p:last-child,
.admin-body .account-summary p:last-child { border-bottom: 0; }
.admin-body .quick-list.premium { display: grid; gap: 6px; }
.admin-body .quick-list.premium button { justify-content: flex-start; min-height: 36px; padding: 0 11px; background: #f8fafc; font-size: 11px; text-align: left; }

.admin-body .campaign-command { border-top: 3px solid var(--admin-blue); }
.admin-body .campaign-table-card { padding: 0; overflow: hidden; }
.admin-body .table-controls { display: flex; gap: 8px; }
.admin-body .table-controls input { width: 190px; }
.admin-body .campaign-table { min-width: 1040px; }
.admin-body .campaign-name { display: flex; align-items: center; gap: 10px; }
.admin-body .campaign-name i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 7px; background: var(--admin-navy); color: #fff; font-size: 9px; font-style: normal; }
.admin-body .campaign-name span,
.admin-body .campaign-table td:nth-child(2) { display: grid; gap: 3px; }
.admin-body .campaign-name small,
.admin-body .campaign-table td:nth-child(2) small { color: #98a2b3; font-size: 9px; }
.admin-body .campaign-duration { display: grid; gap: 3px; min-width: 122px; }
.admin-body .campaign-duration b { width: max-content; padding: 4px 8px; border-radius: 999px; background: #f2f4f7; color: #475467; font-size: 10px; line-height: 1.2; }
.admin-body .campaign-duration small { color: #667085; font-size: 9px; white-space: nowrap; }
.admin-body .campaign-duration.running b { background: #e8f8ef; color: #087a42; }
.admin-body .campaign-duration.ending b { background: #fff4cc; color: #9a6700; }
.admin-body .campaign-duration.expired b { background: #fee4e2; color: #b42318; }

.admin-body .taxonomy-premium-page { display: grid; grid-template-columns: 270px minmax(0, 1fr) 230px; gap: 16px; align-items: start; }
.admin-body .taxonomy-directory,
.admin-body .taxonomy-editor { padding: 18px; }
.admin-body .taxonomy-directory > header,
.admin-body .taxonomy-editor > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.admin-body .taxonomy-directory > header h2,
.admin-body .taxonomy-editor > header h2 { margin: 2px 0 3px; font-size: 16px; }
.admin-body .taxonomy-directory > header p,
.admin-body .taxonomy-editor > header p { margin: 0; font-size: 10px; }
.admin-body .taxonomy-directory > header > span { display: grid; min-width: 28px; height: 28px; place-items: center; border-radius: 6px; background: #edf4ff; color: var(--admin-blue); font-size: 11px; font-weight: 900; }
.admin-body .taxonomy-directory > input { width: 100%; margin-bottom: 8px; }
.admin-body .taxonomy-directory > .primary { width: 100%; margin-bottom: 12px; }
.admin-body .taxonomy-list { display: grid; gap: 5px; max-height: 600px; overflow: auto; }
.admin-body .taxonomy-list > button { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; padding: 8px; border: 1px solid transparent; background: transparent; text-align: left; }
.admin-body .taxonomy-list > button:hover { background: #f8fafc; }
.admin-body .taxonomy-list > button.active { border-color: #b2ccff; background: #eff6ff; }
.admin-body .taxonomy-list i { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 6px; background: #e9eef5; color: #344054; font-style: normal; font-weight: 900; }
.admin-body .taxonomy-list button.active i { background: var(--admin-blue); color: #fff; }
.admin-body .taxonomy-list span { min-width: 0; }
.admin-body .taxonomy-list b,
.admin-body .taxonomy-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .taxonomy-list b { font-size: 11px; }
.admin-body .taxonomy-list small { margin-top: 2px; color: #98a2b3; font-size: 9px; }
.admin-body .taxonomy-list em { color: #667085; font-size: 9px; font-style: normal; }
.admin-body .taxonomy-editor .form-grid { margin-bottom: 12px; }
.admin-body .taxonomy-editor label,
.admin-body .profile-details label { display: grid; gap: 5px; align-content: start; }
.admin-body .taxonomy-editor label > input,
.admin-body .taxonomy-editor label > select,
.admin-body .profile-details label > input,
.admin-body .profile-details label > select { width: 100%; }
.admin-body .taxonomy-editor textarea { width: 100%; margin-top: 5px; }
.admin-body .taxonomy-status-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.admin-body .taxonomy-status-row > label { width: 180px; }
.admin-body .taxonomy-status-row > div { display: flex; gap: 8px; }
.admin-body .taxonomy-stat { display: grid; padding: 16px; border-radius: 7px; background: var(--admin-navy); color: #fff; }
.admin-body .taxonomy-stat span,
.admin-body .taxonomy-stat small { color: #aab7c8; font-size: 10px; }
.admin-body .taxonomy-stat b { margin: 5px 0; font-size: 28px; }
.admin-body .taxonomy-insights code { display: block; margin-top: 7px; overflow: hidden; color: var(--admin-blue); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .taxonomy-guide p { padding-left: 12px; border-left: 2px solid #d9e2ef; font-size: 10px; }

/* Reference-matched category manager */
.admin-body .category-reference-page {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
}
.admin-body .category-reference-page .portal-card {
  border-color: #e4e9f1;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .035);
}
.admin-body .category-tree-panel {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 740px;
  padding: 20px;
}
.admin-body .category-tree-panel h2,
.admin-body .category-info-card > h2,
.admin-body .category-children-card h2 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  line-height: 1.25;
}
.admin-body .category-search-field { position: relative; }
.admin-body .category-search-field input {
  width: 100%;
  min-height: 40px;
  padding: 0 38px 0 12px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
}
.admin-body .category-search-field .lucide-icon {
  position: absolute;
  top: 50%;
  right: 11px;
  width: 17px;
  height: 17px;
  color: #607087;
  transform: translateY(-50%);
}
.admin-body .category-create-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 10px; }
.admin-body .category-create-row button { min-height: 40px; }
.admin-body .category-create-row .lucide-icon { width: 17px; height: 17px; }
.admin-body .category-tree-list {
  display: grid;
  align-content: start;
  gap: 3px;
  max-height: 620px;
  overflow: auto;
  padding-right: 2px;
}
.admin-body .category-tree-branch[hidden] { display: none; }
.admin-body .category-tree-row {
  display: grid;
  grid-template-columns: 14px 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 39px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #243247;
  box-shadow: none;
  text-align: left;
}
.admin-body .category-tree-row:hover { background: #f7f9fc; }
.admin-body .category-tree-row.active {
  border-color: #5266ed;
  background: #f5f6ff;
  color: #2438bd;
}
.admin-body .category-tree-row .tree-chevron {
  display: inline-block;
  color: #68758a;
  font-size: 18px;
  line-height: 1;
  transition: transform .16s ease;
}
.admin-body .category-tree-row.active .tree-chevron.has-children { transform: rotate(90deg); }
.admin-body .category-tree-row > .lucide-icon { width: 17px; height: 17px; color: #53647b; }
.admin-body .category-tree-row b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .category-tree-row em {
  min-width: 28px;
  padding: 4px 6px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #6f7b8c;
  font-size: 9px;
  font-style: normal;
  text-align: center;
}
.admin-body .category-tree-children { display: grid; gap: 2px; padding-left: 31px; }
.admin-body .category-tree-row.child { grid-template-columns: 18px minmax(0, 1fr) auto; }
.admin-body .category-empty { color: #8994a5; font-size: 11px; }
.admin-body .category-reference-main { display: grid; gap: 16px; min-width: 0; }
.admin-body .category-info-card { padding: 20px 22px; }
.admin-body .category-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 22px;
  margin-top: 20px;
}
.admin-body .category-info-card label,
.admin-body .category-icon-field,
.admin-body .category-meta-column {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  color: #27364a;
  font-size: 11px;
  font-weight: 850;
}
.admin-body .category-info-card label > i { color: #e30613; font-style: normal; }
.admin-body .category-info-card input,
.admin-body .category-info-card select,
.admin-body .category-info-card textarea,
.admin-body .category-children-card select {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid #dce3ec;
  border-radius: 6px;
  background: #fff;
  color: #172236;
  font: inherit;
  font-weight: 750;
  outline: none;
}
.admin-body .category-info-card input:focus,
.admin-body .category-info-card select:focus,
.admin-body .category-info-card textarea:focus {
  border-color: #7c8ff4;
  box-shadow: 0 0 0 3px rgba(82, 102, 237, .1);
}
.admin-body .category-info-card label small,
.admin-body .category-icon-field small,
.admin-body .category-meta-column small { color: #8792a2; font-size: 9px; font-weight: 650; line-height: 1.45; }
.admin-body .category-info-card label > em {
  position: absolute;
  right: 10px;
  bottom: 8px;
  color: #8792a2;
  font-size: 9px;
  font-style: normal;
}
.admin-body .category-info-card textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.admin-body .category-icon-field > div { display: flex; align-items: center; gap: 12px; }
.admin-body .category-icon-field figure {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 0;
  place-items: center;
  border-radius: 7px;
  background: #6657ea center / cover no-repeat;
  color: #fff;
}
.admin-body .category-icon-field figure .lucide-icon { width: 24px; height: 24px; }
.admin-body .category-icon-field button { min-height: 38px; }
.admin-body .category-meta-column { gap: 22px; }
.admin-body .category-status-switch > span { display: flex; align-items: center; gap: 8px; color: #344054; }
.admin-body .category-status-switch input {
  appearance: none;
  width: 36px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd3df;
  cursor: pointer;
}
.admin-body .category-status-switch input::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .2);
  transition: transform .16s ease;
}
.admin-body .category-status-switch input:checked { background: #1fb36b; }
.admin-body .category-status-switch input:checked::before { transform: translateX(16px); }
.admin-body .category-menu-switch { display: flex !important; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border: 1px solid #dce5f2; border-radius: 9px; background: #f8faff; }
.admin-body .category-menu-switch > span { min-width: 0; }
.admin-body .category-menu-switch b, .admin-body .category-menu-switch small, .admin-body .category-menu-switch em { display: block; }
.admin-body .category-menu-switch b { color: #243047; font-size: 11px; }
.admin-body .category-menu-switch small { margin-top: 4px; color: #718096; font-size: 9px; line-height: 1.4; }
.admin-body .category-menu-switch em { margin-top: 5px; color: #d92d20; font-size: 10px; font-style: normal; font-weight: 800; }
.admin-body .category-menu-switch em[hidden] { display: none; }
.admin-body .category-menu-switch > input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: #1769e0; }
.admin-body .category-menu-switch.is-disabled { opacity: .62; background: #f5f6f8; }
.admin-body .category-menu-switch.has-error { border-color: #f04438; background: #fff8f7; box-shadow: 0 0 0 3px rgba(240, 68, 56, .08); }
.admin-body .category-info-card > footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #edf1f6;
}
.admin-body .category-children-card { padding: 0; overflow: hidden; }
.admin-body .category-children-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  border-bottom: 1px solid #edf1f6;
}
.admin-body .category-children-card h2 small { color: #7d899a; font-size: 10px; font-weight: 700; }
.admin-body .category-children-card > header > div:last-child { display: flex; gap: 10px; }
.admin-body .category-children-card > header select { width: 180px; min-height: 36px; padding-block: 7px; }
.admin-body .category-children-card > header button { min-height: 36px; white-space: nowrap; }
.admin-body .category-child-table { min-width: 830px; }
.admin-body .category-child-table th,
.admin-body .category-child-table td { padding: 12px 14px; font-size: 10px; }
.admin-body .category-child-table .child-name { display: flex; align-items: center; gap: 8px; }
.admin-body .category-child-table .child-name .lucide-icon { width: 17px; height: 17px; color: #56677c; }
.admin-body .category-child-table mark {
  padding: 4px 8px;
  border-radius: 5px;
  background: #e4f8ec;
  color: #12804a;
  font-size: 9px;
}
.admin-body .category-child-table mark.inactive { background: #f2f4f7; color: #667085; }
.admin-body .category-child-table .row-tools button { width: 31px; min-height: 31px; padding: 0; }
.admin-body .category-child-table .row-tools .lucide-icon { width: 14px; height: 14px; }
.admin-body .category-empty-table { height: 100px; color: #8792a2; text-align: center; }
.admin-body .category-children-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  border-top: 1px solid #edf1f6;
}
.admin-body .category-children-card > footer label { display: flex; align-items: center; gap: 8px; color: #68758a; font-size: 10px; }
.admin-body .category-children-card > footer select { width: 66px; min-height: 32px; padding: 5px 8px; }
.admin-body .category-children-card > footer nav { display: flex; align-items: center; gap: 7px; }
.admin-body .category-children-card > footer nav button,
.admin-body .category-children-card > footer nav b { display: grid; width: 32px; min-height: 32px; place-items: center; border-radius: 5px; }
.admin-body .category-children-card > footer nav b { background: #3e50d9; color: #fff; font-size: 10px; }
@media (max-width: 1120px) {
  .admin-body .category-reference-page { grid-template-columns: 290px minmax(0, 1fr); }
  .admin-body .category-form-grid { gap: 16px; }
}
@media (max-width: 860px) {
  .admin-body .category-reference-page { grid-template-columns: 1fr; }
  .admin-body .category-tree-panel { min-height: 0; }
  .admin-body .category-tree-list { max-height: 340px; }
}
@media (max-width: 640px) {
  .admin-body .category-form-grid { grid-template-columns: 1fr; }
  .admin-body .category-children-card > header,
  .admin-body .category-children-card > footer { align-items: stretch; flex-direction: column; }
  .admin-body .category-children-card > header > div:last-child { flex-direction: column; }
  .admin-body .category-children-card > header select { width: 100%; }
}

.admin-body .profile-hero { justify-content: flex-start; border-top: 3px solid var(--admin-blue); }
.admin-body .profile-avatar-large { display: grid; flex: 0 0 62px; width: 62px; height: 62px; place-items: center; border: 3px solid #eaf0f8; border-radius: 50%; background: var(--admin-navy) center/cover no-repeat; color: #fff; font-size: 24px; font-weight: 900; }
.admin-body .profile-hero > div:nth-child(2) { flex: 1; }
.admin-body .profile-hero > button { min-height: 36px; }
.admin-body .profile-premium-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; align-items: start; }
.admin-body .profile-details { padding: 20px; }
.admin-body .profile-details > header { display: flex; justify-content: space-between; margin-bottom: 18px; }
.admin-body .profile-details > header h2 { margin: 0 0 3px; font-size: 16px; }
.admin-body .profile-details > header p { margin: 0; font-size: 10px; }
.admin-body .profile-details textarea { width: 100%; }
.admin-body .profile-details > footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--admin-line); }
.admin-body .profile-details > footer span { color: #98a2b3; font-size: 10px; }
.admin-body .security-card p { margin: 9px 0; font-size: 10px; }
.admin-body .security-card i { color: #079455; font-style: normal; }

.admin-body .comment-command > div:last-child { display: flex; gap: 8px; }
.admin-body .comment-command article { min-width: 90px; padding: 9px 11px; border: 1px solid var(--admin-line); border-radius: 7px; background: #f9fafb; }
.admin-body .comment-command article b,
.admin-body .comment-command article span { display: block; }
.admin-body .comment-command article b { font-size: 17px; }
.admin-body .comment-command article span { color: #667085; font-size: 9px; }
.admin-body .comment-workspace { display: grid; grid-template-columns: 330px minmax(0, 1fr) 230px; gap: 16px; align-items: start; }
.admin-body .comment-directory { padding: 16px; }
.admin-body .comment-directory > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.admin-body .comment-directory h2 { margin: 0 0 2px; font-size: 15px; }
.admin-body .comment-directory p { margin: 0; font-size: 9px; }
.admin-body .comment-directory select { width: 115px; }
.admin-body .comment-directory > input { width: 100%; margin-bottom: 10px; }
.admin-body .comment-list { display: grid; gap: 5px; }
.admin-body .comment-list > button { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 9px; align-items: start; width: 100%; padding: 9px; border: 1px solid transparent; background: transparent; text-align: left; }
.admin-body .comment-list > button.active { border-color: #b2ccff; background: #eff6ff; }
.admin-body .comment-list > button > i,
.admin-body .comment-author i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #eaf0f8; color: #344054; font-style: normal; font-weight: 900; }
.admin-body .comment-list span { min-width: 0; }
.admin-body .comment-list b,
.admin-body .comment-list small,
.admin-body .comment-list em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .comment-list b { font-size: 10px; }
.admin-body .comment-list small { margin: 3px 0; color: #667085; font-size: 9px; }
.admin-body .comment-list em { color: #98a2b3; font-size: 8px; font-style: normal; }
.admin-body .comment-list mark { padding: 3px 6px; border-radius: 999px; font-size: 8px; }
.admin-body .comment-list mark.waiting { background: #fff3e6; color: #b54708; }
.admin-body .comment-list mark.approved { background: #e8f8ef; color: #087a42; }
.admin-body .comment-list mark.spam { background: #feecee; color: #c01048; }
.admin-body .comment-detail { padding: 19px; }
.admin-body .comment-detail > header,
.admin-body .comment-author { display: flex; align-items: center; gap: 10px; }
.admin-body .comment-detail > header { justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--admin-line); }
.admin-body .comment-author span { display: grid; gap: 2px; }
.admin-body .comment-author b { font-size: 12px; }
.admin-body .comment-author small { color: #98a2b3; font-size: 9px; }
.admin-body .comment-detail > section { padding: 18px 0; }
.admin-body .comment-detail > section > span { color: var(--admin-blue); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.admin-body .comment-detail h3 { margin: 6px 0 15px; font-size: 15px; }
.admin-body .comment-detail blockquote { margin: 0 0 10px; padding: 16px; border-left: 3px solid var(--admin-blue); border-radius: 0 7px 7px 0; background: #f7f9fc; color: #344054; font-size: 12px; line-height: 1.6; }
.admin-body .comment-detail > section > small { color: #98a2b3; font-size: 9px; }
.admin-body .comment-detail > footer { display: flex; justify-content: space-between; gap: 8px; padding-top: 14px; border-top: 1px solid var(--admin-line); }
.admin-body .comment-detail > footer div { display: flex; gap: 8px; }
.admin-body .moderation-ring { display: grid; place-items: center; aspect-ratio: 1; max-width: 130px; margin: 12px auto 0; border: 9px solid #e7f0ff; border-top-color: var(--admin-blue); border-radius: 50%; }
.admin-body .moderation-ring b { font-size: 22px; }
.admin-body .moderation-ring span { color: #667085; font-size: 9px; }

.admin-body .tag-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.admin-body .tag-table-card { padding: 0; overflow: hidden; }
.admin-body .tag-table-card > header input { width: 220px; }
.admin-body .tag-list-premium { display: grid; }
.admin-body .tag-list-premium > button { display: grid; grid-template-columns: 28px minmax(0, 1fr) 90px 70px; align-items: center; gap: 11px; min-height: 54px; padding: 9px 16px; border: 0; border-bottom: 1px solid #edf0f4; border-radius: 0; background: #fff; text-align: left; }
.admin-body .tag-list-premium > button:hover,
.admin-body .tag-list-premium > button.active { background: #f6f9ff; }
.admin-body .tag-list-premium i { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 6px; background: #edf4ff; color: var(--admin-blue); font-style: normal; font-weight: 900; }
.admin-body .tag-list-premium span { display: grid; gap: 2px; }
.admin-body .tag-list-premium b { font-size: 11px; }
.admin-body .tag-list-premium small { color: #98a2b3; font-size: 9px; }
.admin-body .tag-list-premium em { color: #667085; font-size: 10px; font-style: normal; }
.admin-body .tag-list-premium mark { padding: 4px 7px; border-radius: 999px; background: #e8f8ef; color: #087a42; font-size: 8px; text-align: center; }
.admin-body .tag-editor,
.admin-body .tag-insight { padding: 18px; }
.admin-body .tag-editor label { display: grid; gap: 5px; margin-bottom: 11px; }
.admin-body .tag-editor > div { display: flex; justify-content: flex-end; gap: 8px; padding-top: 5px; }
.admin-body .tag-insight > b { display: block; margin: 12px 0 4px; font-size: 32px; }
.admin-body .tag-insight > p { margin: 0 0 12px; font-size: 11px; }
.admin-body .tag-insight > small { color: #98a2b3; font-size: 9px; }

@media (max-width: 1280px) {
  .admin-body .taxonomy-premium-page { grid-template-columns: 250px minmax(0, 1fr); }
  .admin-body .taxonomy-insights { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .admin-body .comment-workspace { grid-template-columns: 300px minmax(0, 1fr); }
  .admin-body .comment-side { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .admin-body .dashboard-stats,
  .admin-body .campaign-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .dashboard-grid,
  .admin-body .profile-premium-grid,
  .admin-body .tag-workspace { grid-template-columns: minmax(0, 1fr); }
  .admin-body .dashboard-side,
  .admin-body .profile-side-stack,
  .admin-body .tag-side-stack { grid-template-columns: 1fr 1fr; }
  .admin-body .taxonomy-premium-page,
  .admin-body .comment-workspace { grid-template-columns: minmax(0, 1fr); }
  .admin-body .taxonomy-insights,
  .admin-body .comment-side { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .admin-body .portal-content { padding: 14px; }
  .admin-body .dashboard-welcome,
  .admin-body .campaign-command,
  .admin-body .comment-command,
  .admin-body .tag-command,
  .admin-body .profile-hero { align-items: flex-start; flex-direction: column; }
  .admin-body .dashboard-stats,
  .admin-body .campaign-metrics,
  .admin-body .dashboard-side,
  .admin-body .profile-side-stack,
  .admin-body .taxonomy-insights,
  .admin-body .comment-side { grid-template-columns: minmax(0, 1fr); }
  .admin-body .comment-command > div:last-child { width: 100%; overflow-x: auto; }
  .admin-body .taxonomy-status-row { align-items: stretch; flex-direction: column; }
  .admin-body .taxonomy-status-row > label { width: 100%; }
  .admin-body .tag-list-premium > button { grid-template-columns: 28px minmax(0, 1fr) 70px; }
  .admin-body .tag-list-premium mark { display: none; }
}

/* Real-device flash notification preview */
.admin-body .phone-preview-card {
  padding: 18px 18px 22px;
  overflow: hidden;
  background: #fbfcfe;
}
.admin-body .push-phone {
  position: relative;
  width: min(100%, 258px);
  aspect-ratio: 9 / 18.9;
  margin: 18px auto 2px;
  padding: 6px;
  border: 1px solid #0b1220;
  border-radius: 42px;
  background: #050a12;
  box-shadow: 0 24px 52px rgba(8, 24, 42, .24), inset 0 0 0 1px rgba(255,255,255,.16);
}
.admin-body .push-phone::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 0;
  border: 1px solid #3b4655;
  border-radius: 39px;
  pointer-events: none;
}
.admin-body .phone-side {
  position: absolute;
  z-index: 2;
  width: 3px;
  border-radius: 2px;
  background: #1d2734;
}
.admin-body .phone-side-left-one { top: 88px; left: -4px; height: 32px; }
.admin-body .phone-side-left-two { top: 132px; left: -4px; height: 54px; }
.admin-body .phone-side-right { top: 124px; right: -4px; height: 72px; }
.admin-body .push-phone-screen {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 14px 12px 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 36px;
  background: linear-gradient(165deg, #526878 0%, #2b4052 42%, #101d2c 72%, #07111d 100%);
}
.admin-body .push-phone-screen::before {
  content: "";
  position: absolute;
  inset: 48% -42% -35% 24%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 48%;
  background: rgba(255,255,255,.035);
  transform: rotate(-28deg);
}
.admin-body .push-phone-screen::after {
  inset: 58% -18% -28% -25%;
  height: auto;
  border-color: rgba(255,255,255,.08);
  transform: rotate(24deg);
}
.admin-body .phone-island {
  top: 10px;
  width: 82px;
  height: 23px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 999px;
  background: #02050a;
}
.admin-body .phone-island i {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #172a40;
  box-shadow: inset 0 0 0 2px #08111c;
}
.admin-body .phone-status {
  position: relative;
  z-index: 2;
  align-items: center;
  padding: 1px 5px 0;
  font-size: 8px;
  letter-spacing: 0;
}
.admin-body .phone-signals {
  display: flex;
  align-items: flex-end;
  gap: 2px;
}
.admin-body .phone-signals > i {
  width: 2px;
  border-radius: 2px;
  background: #fff;
}
.admin-body .phone-signals > i:nth-child(1) { height: 3px; }
.admin-body .phone-signals > i:nth-child(2) { height: 5px; }
.admin-body .phone-signals > i:nth-child(3) { height: 7px; }
.admin-body .phone-signals > i:nth-child(4) { height: 9px; }
.admin-body .phone-signals b { margin-left: 3px; font-size: 11px; line-height: .8; }
.admin-body .phone-signals em {
  min-width: 22px;
  padding: 2px 3px;
  border-radius: 4px;
  background: rgba(255,255,255,.88);
  color: #101828;
  font-size: 7px;
  font-style: normal;
  text-align: center;
}
.admin-body .phone-lock-time {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  margin-top: 42px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.admin-body .phone-lock-time small { font-size: 10px; font-weight: 650; }
.admin-body .phone-lock-time time {
  margin-top: 2px;
  font-size: 53px;
  font-weight: 250;
  line-height: 1;
  letter-spacing: -1px;
}
.admin-body .push-phone .push-notification-card {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 7px;
  margin-top: 54px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.64);
  border-radius: 15px;
  background: rgba(248,250,252,.9);
  box-shadow: 0 16px 34px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}
.admin-body .push-phone .push-notification-card header { gap: 8px; }
.admin-body .push-phone .push-notification-card header > b {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  background: #e80715;
  box-shadow: 0 4px 10px rgba(232,7,21,.18);
}
.admin-body .push-phone .push-notification-card header span { display: grid; gap: 0; font-size: 9px; }
.admin-body .push-phone .push-notification-card header small { font-size: 7px; font-weight: 650; }
.admin-body .push-phone .push-notification-card header em { font-size: 6px; }
.admin-body .push-phone .push-notification-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #101828;
  font-size: 11px;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.admin-body .push-phone .push-notification-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #475467;
  font-size: 8px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.admin-body .push-phone .push-notification-card footer { font-size: 7px; }
.admin-body .phone-lock-actions {
  position: absolute;
  right: 16px;
  bottom: 26px;
  left: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}
.admin-body .phone-lock-actions button {
  display: grid;
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(8,17,28,.55);
  color: #fff;
  font-size: 12px;
  box-shadow: none;
  backdrop-filter: blur(10px);
}
.admin-body .push-phone .phone-home { bottom: 7px; width: 92px; height: 3px; }

@media (max-width: 1280px) {
  .admin-body .push-phone { width: min(100%, 246px); }
  .admin-body .editor-pro-layout { grid-template-columns: minmax(540px, 1fr) 320px; }
  .admin-body .pro-toolbar { flex-wrap: wrap; overflow: visible; }
  .admin-body .pro-toolbar .source-toggle { margin-left: 0; }
  .admin-body .editor-control-column { grid-column: 2; grid-template-columns: 1fr; }
  .admin-body .editor-control-column > section,
  .admin-body .editor-control-column > .publish-card,
  .admin-body .editor-control-column > .publish-meta-card,
  .admin-body .editor-control-column > .editor-readiness-card,
  .admin-body .editor-control-column > .editor-preview-card { grid-column: 1; grid-row: auto; }
}
@media (max-width: 920px) {
  .admin-body .editor-pro-layout { grid-template-columns: 1fr; }
  .admin-body .editor-control-column { grid-column: 1; }
}

.admin-sidebar-backdrop { display: none; }

@media (max-width: 900px) {
  .admin-body .portal-app,
  .admin-body.sidebar-collapsed .portal-app { grid-template-columns: minmax(0, 1fr); }
  .admin-body .portal-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 60;
    width: min(82vw, 264px);
    height: 100dvh;
    padding: 18px 12px;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 18px 0 48px rgba(4, 12, 24, .28);
  }
  .admin-body.sidebar-open .portal-sidebar { transform: translateX(0); }
  .admin-body .portal-sidebar nav { display: grid; grid-template-columns: 1fr; }
  .admin-body .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    border: 0;
    background: rgba(7, 16, 31, .42);
    backdrop-filter: blur(2px);
  }
  .admin-body.sidebar-open .admin-sidebar-backdrop { display: block; }
  .admin-body .portal-top { grid-template-columns: 40px minmax(0, 1fr) auto; min-height: 58px; padding: 0 12px; }
  .admin-body .portal-top h1 { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
  .admin-body .portal-search,
  .admin-body .portal-tools .portal-user { display: none; }
  .admin-body .portal-tools { gap: 6px; }
  .admin-body .portal-content { width: 100%; padding: 12px; }
  .admin-body .portal-crumb { margin-bottom: 12px; font-size: 11px; }
  .admin-body .editor-pro-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-control-column { grid-column: 1; grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-form-pro { padding: 14px; }
  .admin-body .editor-form-pro .rich-editor { min-height: 360px; }
}

/* Functional settings workspace */
.admin-body .settings-heading { margin-bottom: 20px; }
.admin-body .settings-heading span { color: #2854d7; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.admin-body .settings-heading h2 { margin: 4px 0; font-size: 24px; }
.admin-body .settings-heading p { margin: 0; color: #667085; }
.admin-body .settings-main-card form { display: grid; gap: 18px; }
.admin-body .settings-main-card [data-settings-panel] { display: grid; gap: 16px; min-height: 310px; align-content: start; }
.admin-body .settings-main-card [data-settings-panel][hidden] { display: none; }
.admin-body .settings-savebar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 18px; border-top: 1px solid #e7ebf2; }
.admin-body .settings-savebar span, .admin-body .settings-note { color: #667085; font-size: 12px; }
.admin-body .brand-assets { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-body .brand-assets article { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 14px; min-height: 112px; padding: 16px; border: 1px solid #e4e9f1; border-radius: 8px; background: #fafbfc; }
.admin-body .brand-assets img { width: 78px; height: 70px; object-fit: contain; background: #fff; border: 1px solid #edf0f5; }
.admin-body .brand-assets div { display: grid; gap: 4px; }
.admin-body .brand-assets small { color: #7b8494; }
.admin-body .seo-main-card form { display: grid; gap: 16px; }
.admin-body .seo-toggle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-body .settings-link { display: block; padding: 11px 0; border-bottom: 1px solid #edf0f4; color: #2854d7; font-weight: 700; text-decoration: none; }
.admin-body .settings-health p { margin: 12px 0; }
@media (max-width: 1120px) {
  .admin-body .brand-assets, .admin-body .seo-toggle-grid { grid-template-columns: 1fr; }
  .admin-body .brand-assets article { grid-template-columns: 64px 1fr; }
  .admin-body .brand-assets article button { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .admin-body .settings-savebar { align-items: stretch; flex-direction: column; }
  .admin-body .settings-tabs { overflow-x: auto; }
}

/* Reference-matched general settings */
.admin-body .settings-reference-page {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.admin-body .settings-reference-tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  min-width: 0;
  overflow-x: auto;
  padding: 0 8px;
  scrollbar-width: thin;
}
.admin-body .settings-reference-tabs button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #344054;
  font-size: 12px;
  font-weight: 760;
}
.admin-body .settings-reference-tabs button .lucide-icon {
  width: 17px;
  height: 17px;
}
.admin-body .settings-reference-tabs button.active {
  border-bottom-color: #155eef;
  color: #155eef;
}
.admin-body .settings-reference-layout {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 290px;
  gap: 16px;
  align-items: start;
  min-width: 0;
}
.admin-body .settings-reference-main,
.admin-body .settings-behavior-card,
.admin-body .settings-reference-aside {
  min-width: 0;
}
.admin-body .settings-reference-main form,
.admin-body .settings-reference-main [data-settings-panel] {
  display: grid;
  gap: 18px;
}
.admin-body .settings-reference-main [data-settings-panel][hidden] {
  display: none;
}
.admin-body .settings-page-block { display: grid; gap: 14px; padding: 16px; border: 1px solid #e4e9f1; border-radius: 10px; background: #fafbfc; }
.admin-body .settings-page-block + .settings-page-block { margin-top: 2px; }
.admin-body .settings-page-block h3 { margin: 0; color: #243047; font-size: 13px; }
.admin-body .settings-reference-main h2,
.admin-body .settings-behavior-card h2,
.admin-body .settings-reference-aside h2 {
  margin-bottom: 18px;
  font-size: 16px;
}
.admin-body .settings-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  align-items: end;
}
.admin-body .settings-name-row > span {
  display: grid;
  gap: 8px;
}
.admin-body .settings-name-row > span small {
  font-size: 12px;
  font-weight: 800;
}
.admin-body .settings-name-row > span b {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #e1e7ef;
  border-radius: 7px;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
}
.admin-body .settings-reference-main label {
  position: relative;
  display: grid;
  gap: 8px;
}
.admin-body .settings-reference-main label > small {
  justify-self: end;
  color: #98a2b3;
  font-weight: 650;
}
.admin-body .settings-brand-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr);
  gap: 14px;
}
.admin-body .settings-brand-inline article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  background: #fbfcfe;
}
.admin-body .settings-brand-inline img {
  width: min(160px, 48%);
  height: 54px;
  object-fit: contain;
}
.admin-body .settings-brand-inline .favicon-preview img {
  width: 44px;
  height: 44px;
  padding: 5px;
  border-radius: 8px;
  background: #08182a;
}
.admin-body .settings-behavior-card > div {
  display: grid;
}
.admin-body .settings-toggle-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
}
.admin-body .settings-toggle-row:last-child {
  border-bottom: 0;
}
.admin-body .settings-toggle-row > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.admin-body .settings-toggle-row b {
  color: #101828;
  font-size: 12px;
}
.admin-body .settings-toggle-row small {
  line-height: 1.35;
}
.admin-body .settings-toggle-row input {
  appearance: none;
  flex: 0 0 auto;
  width: 36px !important;
  min-height: 20px !important;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
  cursor: pointer;
  transition: background .18s ease;
}
.admin-body .settings-toggle-row input::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .25);
  transition: transform .18s ease;
}
.admin-body .settings-toggle-row input:checked {
  background: #155eef;
}
.admin-body .settings-toggle-row input:checked::before {
  transform: translateX(16px);
}
.admin-body .settings-reference-aside {
  display: grid;
  gap: 16px;
}
.admin-body .settings-quick-card > button {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 9px 2px;
  border: 0;
  border-bottom: 1px solid #edf1f5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}
.admin-body .settings-quick-card > button:last-child {
  border-bottom: 0;
}
.admin-body .settings-quick-card > button .lucide-icon {
  width: 18px;
  height: 18px;
  color: #155eef;
}
.admin-body .settings-quick-card > button span {
  display: grid;
  gap: 3px;
}
.admin-body .settings-quick-card > button b {
  font-size: 12px;
}
.admin-body .settings-quick-card > button small {
  font-size: 10px;
  font-weight: 600;
}
.admin-body .settings-server-card p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #edf1f5;
  font-size: 11px;
}
.admin-body .settings-server-card p b {
  color: #344054;
  text-align: right;
}
.admin-body .settings-server-card button {
  width: 100%;
  margin-top: 12px;
  color: #155eef;
}
.admin-body .settings-system-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.admin-body .settings-system-card h2,
.admin-body .settings-system-card button {
  grid-column: 1 / -1;
}
.admin-body .settings-system-card p {
  display: grid;
  gap: 4px;
  margin: 0;
}
.admin-body .settings-system-card p b {
  font-size: 11px;
}
.admin-body .settings-system-card p small {
  font-size: 10px;
}
.admin-body .settings-system-ok {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #079455;
  font-weight: 900;
}
.admin-body .settings-system-card button {
  justify-self: start;
  color: #155eef;
}
@media (max-width: 1450px) {
  .admin-body .settings-reference-layout {
    grid-template-columns: minmax(460px, 1fr) minmax(340px, .82fr);
  }
  .admin-body .settings-reference-aside {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1120px) {
  .admin-body .settings-reference-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .settings-reference-aside {
    grid-column: 1;
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 680px) {
  .admin-body .settings-name-row,
  .admin-body .settings-brand-inline,
  .admin-body .settings-reference-main .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-body .settings-reference-tabs button {
    min-height: 48px;
    padding: 0 10px;
  }
  .admin-body .settings-reference-main,
  .admin-body .settings-behavior-card,
  .admin-body .settings-reference-aside .portal-card {
    padding: 15px;
  }
}

/* Sidebar sizing and icon-only desktop collapse */
@media (min-width: 901px) {
  .admin-body .portal-app {
    grid-template-columns: 258px minmax(0, 1fr);
    transition: grid-template-columns .22s ease;
  }
  .admin-body .portal-sidebar {
    padding: 16px 13px 18px;
  }
  .admin-body .portal-brand {
    padding: 2px 10px 16px;
  }
  .admin-body .portal-brand strong {
    font-size: 25px;
  }
  .admin-body .portal-brand small {
    padding-left: 56px;
    font-size: 10px;
  }
  .admin-body .portal-sidebar .nav-group-toggle {
    min-height: 32px;
    padding: 0 11px;
    font-size: 10px;
  }
  .admin-body .portal-sidebar nav button {
    min-height: 35px;
    padding: 0 11px;
    font-size: 12.5px;
  }
  .admin-body .portal-sidebar nav button i {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }
  .admin-body .portal-sidebar nav button i .lucide-icon {
    width: 19px;
    height: 19px;
  }
  .admin-body.sidebar-collapsed .portal-app {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .admin-body.sidebar-collapsed .portal-sidebar {
    padding-inline: 10px;
  }
  .admin-body.sidebar-collapsed .portal-brand {
    min-height: 44px;
    padding: 0 0 12px;
  }
  .admin-body.sidebar-collapsed .portal-brand::before {
    content: "IP";
    display: grid;
    width: 40px;
    height: 34px;
    margin: 0 auto;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
  }
  .admin-body.sidebar-collapsed .portal-brand strong,
  .admin-body.sidebar-collapsed .portal-brand small,
  .admin-body.sidebar-collapsed .portal-sidebar .nav-group-toggle {
    display: none;
  }
  .admin-body.sidebar-collapsed .portal-sidebar .nav-group-items {
    display: grid !important;
    gap: 4px;
  }
  .admin-body.sidebar-collapsed .portal-sidebar .nav-group {
    gap: 0;
  }
  .admin-body.sidebar-collapsed .portal-sidebar nav button {
    justify-content: center;
    min-height: 40px;
    padding: 0;
    font-size: 0;
  }
  .admin-body.sidebar-collapsed .portal-sidebar nav button > span {
    display: none;
  }
  .admin-body.sidebar-collapsed .portal-sidebar nav button i,
  .admin-body.sidebar-collapsed .portal-sidebar nav button i .lucide-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
  .admin-body .menu-toggle .lucide-icon {
    width: 19px;
    height: 19px;
  }
}

/* Refined advertisement workflow */
.admin-body .ad-placement-page {
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 18px;
}
.admin-body .ad-workflow-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 13px 18px;
  border: 1px solid #e3e9f1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .035);
}
.admin-body .ad-workflow-bar > div {
  display: grid;
  gap: 3px;
}
.admin-body .ad-workflow-bar > div b {
  color: #101828;
  font-size: 13px;
}
.admin-body .ad-workflow-bar > div span {
  color: #7c8797;
  font-size: 10px;
  font-weight: 700;
}
.admin-body .ad-workflow-bar ol {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.admin-body .ad-workflow-bar li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 108px;
  color: #7b8797;
  font-size: 10px;
  font-weight: 800;
}
.admin-body .ad-workflow-bar li:not(:last-child)::after {
  content: "";
  width: 24px;
  height: 1px;
  margin: 0 10px;
  background: #dce3ec;
}
.admin-body .ad-workflow-bar li i,
.admin-body .ad-section-heading > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: 1px solid #dbe3ed;
  border-radius: 7px;
  background: #f7f9fc;
  color: #59677b;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.admin-body .ad-workflow-bar li.active { color: #155eef; }
.admin-body .ad-workflow-bar li.active i,
.admin-body .ad-section-heading > span {
  border-color: #c8d9ff;
  background: #edf3ff;
  color: #155eef;
}
.admin-body .ad-placement-main,
.admin-body .ad-placement-side { gap: 18px; }
.admin-body .ad-placement-page .portal-card {
  box-shadow: 0 8px 22px rgba(15, 23, 42, .035);
}
.admin-body .ad-form-section { gap: 17px; padding: 20px 22px; }
.admin-body .ad-section-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 11px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}
.admin-body .ad-section-heading > div {
  display: grid;
  gap: 3px;
}
.admin-body .ad-section-heading h2 { font-size: 14px; }
.admin-body .ad-section-heading p {
  margin: 0;
  color: #7c8797;
  font-size: 10px;
  font-weight: 650;
}
.admin-body .ad-section-heading.compact { padding-bottom: 12px; }
.admin-body .ad-section-heading.compact > span { width: 26px; height: 26px; flex-basis: 26px; }
.admin-body .ad-basic-section > label:first-of-type input { min-height: 44px; font-size: 13px; }
.admin-body .ad-device-field {
  padding: 19px 12px 0;
  border: 1px solid #e1e7ef;
  border-radius: 7px;
  background: #fbfcfe;
}
.admin-body .ad-device-field legend { transform: translate(-1px, -21px); }
.admin-body .ad-material-tabs { gap: 10px; padding: 3px; border: 1px solid #e3e8ef; border-radius: 7px; background: #f7f9fc; }
.admin-body .ad-material-tabs button {
  flex: 1;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
}
.admin-body .ad-material-tabs button.active {
  border: 0;
  background: #fff;
  color: #155eef;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}
.admin-body .ad-material-section .upload-grid button { min-height: 148px; }
.admin-body .ad-publish-settings,
.admin-body .ad-stat-card,
.admin-body .ad-help-card,
.admin-body .ad-readiness-card { padding: 18px 19px; }
.admin-body .ad-publish-settings { gap: 15px; }
.admin-body .ad-publish-settings > label:not(.ad-switch-row) { padding-top: 1px; }
.admin-body .ad-switch-row {
  min-height: 58px;
  padding: 9px 2px;
  border-bottom: 1px solid #edf0f4;
}
.admin-body .ad-switch-row > span:first-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.admin-body .ad-switch-row > span:first-child b {
  color: #172033;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}
.admin-body .ad-switch-row > span:first-child small {
  max-width: 210px;
  color: #7b8798;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
}
.admin-body .ad-switch-control {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 8px;
}
.admin-body .ad-switch-control em {
  order: -1;
  min-width: 42px;
  color: #168554;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}
.admin-body .ad-switch-control em::before { content: "Aktiv"; }
.admin-body .ad-switch-control input:not(:checked) + em { color: #8a95a5; }
.admin-body .ad-switch-control input:not(:checked) + em::before { content: "Deaktiv"; }
.admin-body .ad-switch-control input {
  width: 44px;
  height: 24px;
  background: #cbd3df;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .07);
}
.admin-body .ad-switch-control input::before {
  width: 20px;
  height: 20px;
  margin: 2px;
  box-shadow: 0 2px 5px rgba(15, 23, 42, .18);
}
.admin-body .ad-switch-control input:checked {
  background: #16a765;
  box-shadow: inset 0 0 0 1px rgba(6, 118, 71, .08), 0 0 0 3px rgba(22, 167, 101, .08);
}
.admin-body .ad-switch-control input:checked::before { transform: translateX(20px); }
.admin-body .ad-switch-control input:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}
.admin-body .ad-publish-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.admin-body .ad-publish-summary span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e4e9f0;
  border-radius: 7px;
  background: #f8fafc;
}
.admin-body .ad-publish-summary small { color: #8490a1; font-size: 9px; font-weight: 750; }
.admin-body .ad-publish-summary b { overflow: hidden; color: #344054; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .ad-publish-main { min-height: 44px !important; }
.admin-body .ad-readiness-card {
  display: grid;
  gap: 14px;
}
.admin-body .ad-readiness-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.admin-body .ad-readiness-card header div { display: grid; gap: 4px; }
.admin-body .ad-readiness-card header p { margin: 0; color: #7c8797; font-size: 10px; }
.admin-body .ad-readiness-card header strong {
  padding: 6px 8px;
  border-radius: 999px;
  background: #f0f3f7;
  color: #667085;
  font-size: 10px;
}
.admin-body .ad-readiness-card > div { display: grid; gap: 7px; }
.admin-body .ad-readiness-card > div span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: #667085;
  font-size: 11px;
  font-weight: 750;
}
.admin-body .ad-readiness-card > div span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c8d0dc;
  box-shadow: 0 0 0 4px #f1f3f6;
}
.admin-body .ad-readiness-card > div span.is-ready { color: #087a42; }
.admin-body .ad-readiness-card > div span.is-ready i { background: #12b76a; box-shadow: 0 0 0 4px #e8f8ef; }
@media (max-width: 1180px) {
  .admin-body .ad-placement-page { grid-template-columns: minmax(0, 1fr) 320px; }
  .admin-body .ad-workflow-bar li { min-width: auto; }
  .admin-body .ad-workflow-bar li span { display: none; }
}
@media (max-width: 900px) {
  .admin-body .ad-placement-page { grid-template-columns: 1fr; }
  .admin-body .ad-workflow-bar { align-items: flex-start; flex-direction: column; }
  .admin-body .ad-workflow-bar ol { width: 100%; justify-content: space-between; }
  .admin-body .ad-workflow-bar li span { display: inline; }
}
@media (max-width: 680px) {
  .admin-body .ad-workflow-bar { padding: 13px 14px; }
  .admin-body .ad-workflow-bar > div span { display: none; }
  .admin-body .ad-workflow-bar li:not(:last-child)::after { display: none; }
  .admin-body .ad-workflow-bar ol { display: grid; grid-template-columns: repeat(4, 1fr); }
  .admin-body .ad-workflow-bar li { display: grid; justify-items: center; gap: 5px; min-width: 0; }
  .admin-body .ad-workflow-bar li span { display: block; font-size: 9px; }
  .admin-body .ad-form-section { padding: 16px; }
  .admin-body .ad-publish-summary { grid-template-columns: 1fr; }
}
@media (max-width: 1180px) {
  .admin-body .media-workspace { grid-template-columns: 1fr; }
  .admin-body .media-side-stack { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .admin-body .media-archive-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-body .media-side-stack { grid-template-columns: 1fr; }
  .admin-body .media-filter-smart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .admin-body .media-command { align-items: stretch; flex-direction: column; }
  .admin-body .media-command .primary { width: 100%; }
  .admin-body .media-archive-stats,
  .admin-body .media-filter-smart,
  .admin-body .media-search-line,
  .media-metadata-grid { grid-template-columns: 1fr; }
  .media-metadata-grid .wide { grid-column: auto; }
  .media-metadata-modal { padding: 10px; }
  .media-metadata-modal > form { max-height: calc(100vh - 20px); padding: 16px; }
  .media-metadata-modal footer { display: grid; grid-template-columns: 1fr; }
  .watermark-studio { padding: 12px; }
  .watermark-studio > header { display: grid; }
  .watermark-studio > header > button { width: 100%; min-width: 0; }
  .watermark-workspace { grid-template-columns: 1fr; }
  .watermark-canvas,
  .watermark-source { min-height: 220px; }
  .watermark-controls { min-height: 0; }
}
/* Article distribution workspace */
.admin-body .article-distribution-card { grid-column: 1 / -1 !important; display: grid; gap: 14px; overflow: hidden; }
.admin-body .article-distribution-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.admin-body .article-distribution-card > header span { color: #2854d7; font-size: 10px; font-weight: 850; letter-spacing: 0; text-transform: uppercase; }
.admin-body .article-distribution-card > header h2 { margin: 3px 0 0; padding: 0; border: 0; }
.admin-body .article-distribution-card > header > b { padding: 6px 9px; border-radius: 6px; background: #edf3ff; color: #244ec6; font-size: 11px; white-space: nowrap; }
.admin-body .article-format-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 1px solid #e2e8f2; border-radius: 8px; background: #f6f8fb; }
.admin-body .article-format-switch button { min-height: 34px; border: 0; background: transparent; color: #667085; box-shadow: none; font-weight: 780; }
.admin-body .article-format-switch button.active { background: #fff; color: #183b9b; box-shadow: 0 3px 10px rgba(15, 39, 88, .08); }
.admin-body .article-video-source[hidden], .admin-body .facebook-post-link[hidden] { display: none; }
.admin-body .facebook-post-link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .72fr); gap: 10px; }
.admin-body .facebook-post-link > label { min-width: 0; }
.admin-body .article-video-source small, .admin-body .facebook-post-link small { color: #7a8496; font-weight: 600; }
.admin-body .social-channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-body .editor-control-column label.social-channel-option { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) 18px; align-items: center; gap: 9px; min-height: 56px; padding: 9px 10px; border: 1px solid #e2e8f2; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.admin-body .social-channel-option.is-selected { border-color: #b8c9ff; background: #f7f9ff; box-shadow: 0 5px 14px rgba(44, 82, 196, .06); }
.admin-body .social-channel-option.is-disabled { opacity: .48; cursor: not-allowed; }
.admin-body .social-channel-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-body .social-channel-option > i { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 7px; background: #eef2f7; color: #25324a; font-size: 10px; font-style: normal; font-weight: 900; }
.admin-body .social-channel-option .channel-facebook { background: #eaf1ff; color: #1877f2; font-size: 18px; }
.admin-body .social-channel-option .channel-instagram, .admin-body .social-channel-option .channel-instagramChannel { background: #fff0f6; color: #c13584; }
.admin-body .social-channel-option .channel-telegram { background: #e9f7ff; color: #168ac1; }
.admin-body .social-channel-option .channel-whatsapp { background: #eafaf1; color: #128c4a; }
.admin-body .social-channel-option .channel-tiktok { background: #111827; color: #fff; }
.admin-body .social-channel-option .channel-youtube { background: #fff0f0; color: #e60023; }
.admin-body .social-channel-option span { min-width: 0; }
.admin-body .social-channel-option b, .admin-body .social-channel-option small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-body .social-channel-option b { color: #172033; font-size: 11px; }
.admin-body .social-channel-option small { margin-top: 2px; color: #7a8496; font-size: 9px; font-weight: 650; }
.admin-body .social-channel-option > em { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #cbd4e2; border-radius: 5px; background: #fff; }
.admin-body .social-channel-option.is-selected > em { border-color: #315efb; background: #315efb; }
.admin-body .social-channel-option.is-selected > em::after { content: ""; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(-1px); }
.admin-body .article-distribution-card > footer { display: flex; flex-wrap: wrap; gap: 8px 16px; padding-top: 12px; border-top: 1px solid #edf1f6; color: #667085; font-size: 10px; font-weight: 650; }
.admin-body .article-distribution-card > footer span { display: flex; align-items: center; gap: 6px; }
.admin-body .article-distribution-card > footer i { width: 6px; height: 6px; border-radius: 50%; background: #20b26b; }
.admin-body .article-distribution-card > footer span + span i { background: #f2a900; }

/* Facebook remains the source of truth; comments are synchronized into this article surface. */
.facebook-discussion { display: grid; gap: 14px; margin: 26px 0 18px; padding: 18px; border: 1px solid #dce6f7; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px rgba(24, 119, 242, .07); }
.facebook-discussion > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 13px; border-bottom: 1px solid #edf1f7; }
.facebook-discussion > header > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.facebook-discussion > header .share-icon { flex: 0 0 auto; width: 30px; height: 30px; padding: 7px; border-radius: 7px; background: #1877f2; color: #fff; fill: currentColor; stroke: none; }
.facebook-discussion > header span { min-width: 0; }
.facebook-discussion > header b, .facebook-discussion > header small { display: block; }
.facebook-discussion > header b { color: #172033; font-size: 15px; }
.facebook-discussion > header small { margin-top: 3px; color: #667085; font-size: 11px; line-height: 1.4; }
.facebook-discussion > header > strong { display: grid; min-width: 32px; height: 28px; padding: 0 8px; place-items: center; border-radius: 6px; background: #eef5ff; color: #1859ad; font-size: 12px; }
.facebook-comments-status { padding: 16px; border: 1px dashed #d8e1ee; border-radius: 7px; background: #fafcff; color: #667085; font-size: 12px; text-align: center; }
.facebook-comments-list { display: grid; gap: 12px; }
.facebook-comment { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; margin: 0; }
.facebook-comment > img, .facebook-comment > i { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #edf2f8; color: #344054; object-fit: cover; font-size: 11px; font-style: normal; font-weight: 850; }
.facebook-comment > div { min-width: 0; padding: 10px 12px; border-radius: 7px; background: #f5f7fa; }
.facebook-comment header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.facebook-comment b { color: #172033; font-size: 12px; }
.facebook-comment time { color: #98a2b3; font-size: 9px; white-space: nowrap; }
.facebook-comment p { margin: 5px 0 0 !important; color: #344054; font-size: 12px !important; line-height: 1.55; }
.facebook-comment small { display: block; margin-top: 6px; color: #667085; font-size: 9px; }
.facebook-discussion > footer { display: flex; align-items: center; gap: 8px; }
.facebook-discussion > footer button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; border-radius: 6px; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.facebook-discussion > footer [data-facebook-comment] { flex: 1; border: 1px solid #1877f2; background: #1877f2; color: #fff; }
.facebook-discussion > footer [data-facebook-comment] .share-icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.facebook-discussion > footer [data-facebook-comments-refresh] { width: 40px; border: 1px solid #d8e1ee; background: #fff; color: #36516f; }
.facebook-discussion > footer [data-facebook-comments-refresh].is-loading { animation: facebook-refresh .8s linear infinite; }
@keyframes facebook-refresh { to { transform: rotate(360deg); } }
@media (min-width: 1281px) {
  .admin-body .editor-control-column > .article-distribution-card { grid-column: 1 / -1 !important; grid-row: 1; }
  .admin-body .editor-control-column > .publish-card { grid-column: 2; grid-row: 2; }
  .admin-body .editor-control-column > .publish-meta-card { grid-column: 2; grid-row: 3; }
  .admin-body .editor-control-column > .editor-readiness-card { grid-column: 2; grid-row: 4; }
  .admin-body .editor-control-column > .editor-preview-card { grid-column: 1 / -1; grid-row: 5; }
}
@media (max-width: 1280px) {
  .admin-body .editor-control-column > .article-distribution-card,
  .admin-body .editor-control-column > .publish-card,
  .admin-body .editor-control-column > .publish-meta-card,
  .admin-body .editor-control-column > .editor-readiness-card,
  .admin-body .editor-control-column > .editor-preview-card { grid-column: 1 !important; grid-row: auto; }
}
@media (max-width: 620px) { .admin-body .social-channel-grid, .admin-body .facebook-post-link { grid-template-columns: minmax(0, 1fr); } .facebook-discussion { padding: 14px; } .facebook-discussion > header { align-items: flex-start; } .facebook-comment header { align-items: flex-start; flex-direction: column; gap: 2px; } }

.admin-body .user-edit-actions { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; }
.admin-body .user-edit-actions button { min-height: 42px; border: 1px solid #d7deea; border-radius: 7px; background: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.admin-body .facebook-connect-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 14px 0 18px; padding: 16px; border: 1px solid #dce7fa; border-radius: 9px; background: #f5f8ff; }
.admin-body .facebook-connect-card b, .admin-body .facebook-connect-card small { display: block; }
.admin-body .facebook-connect-card b { color: #172b4d; }
.admin-body .facebook-connect-card small { margin-top: 5px; color: #667085; }
@media (max-width: 620px) { .admin-body .user-edit-actions { grid-template-columns: 1fr; } .admin-body .facebook-connect-card { align-items: stretch; flex-direction: column; } }

/* Facebook post interaction surface, matched to the native post hierarchy. */
.facebook-discussion { gap: 0; margin: 28px 0 20px; padding: 0; overflow: hidden; border: 1px solid #d9dde3; border-radius: 8px; box-shadow: none; }
.facebook-post-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 50px; border-bottom: 1px solid #d9dde3; }
.facebook-post-actions button { display: inline-flex; min-width: 0; align-items: center; justify-content: center; gap: 9px; border: 0; background: #fff; color: #606770; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.facebook-post-actions button:hover { background: #f5f6f7; }
.facebook-post-actions button:disabled, .facebook-comment-composer button:disabled { opacity: .48; cursor: not-allowed; }
.facebook-post-actions .share-icon, .facebook-post-actions .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.facebook-post-actions button:first-child .share-icon { fill: none; }
.facebook-comment-toolbar { display: flex; min-height: 44px; align-items: center; gap: 10px; padding: 0 14px; }
.facebook-comment-toolbar label { margin-right: auto; }
.facebook-comment-toolbar select { min-height: 34px; padding: 0 28px 0 0; border: 0; background-color: transparent; color: #4b4f56; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.facebook-comment-toolbar > span { color: #8a9099; font-size: 10px; white-space: nowrap; }
.facebook-comment-toolbar > button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #667085; font-size: 17px; cursor: pointer; }
.facebook-comment-toolbar > button:hover { background: #f0f2f5; }
.facebook-comment-toolbar > button.is-loading { animation: facebook-refresh .8s linear infinite; }
.facebook-comments-status { margin: 2px 14px 14px; padding: 14px; border-color: #d8dde5; background: #f7f8fa; color: #65676b; font-size: 11px; }
.facebook-comments-list { gap: 12px; padding: 4px 14px 12px; }
.facebook-comment { grid-template-columns: 38px minmax(0, 1fr); gap: 9px; }
.facebook-comment > img, .facebook-comment > i { width: 38px; height: 38px; background: #e4e6eb; color: #4b4f56; font-size: 11px; }
.facebook-comment > div.facebook-comment-stack { padding: 0; border-radius: 0; background: transparent; }
.facebook-comment-bubble { width: fit-content; max-width: min(100%, 760px); padding: 9px 13px 10px; border-radius: 18px; background: #f0f2f5; }
.facebook-comment-bubble b { display: block; color: #050505; font-size: 12px; line-height: 1.25; }
.facebook-comment-bubble p { margin: 2px 0 0 !important; color: #050505; font-size: 13px !important; line-height: 1.42; }
.facebook-comment-stack > footer { display: flex; align-items: center; gap: 12px; padding: 4px 10px 0; }
.facebook-comment-stack > footer time, .facebook-comment-stack > footer button, .facebook-comment-stack > footer small { margin: 0; border: 0; background: transparent; color: #65676b; font: inherit; font-size: 10px; font-weight: 650; }
.facebook-comment-stack > footer button { padding: 0; cursor: pointer; }
.facebook-comment-stack > footer button:hover { text-decoration: underline; }
.facebook-comment-stack > footer small { margin-left: auto; }
.facebook-discussion > footer.facebook-comment-composer { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 9px; padding: 13px 14px 14px; border-top: 1px solid #e4e6eb; }
.facebook-comment-composer > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #1877f2; color: #fff; }
.facebook-comment-composer > i .share-icon { width: 19px; height: 19px; fill: currentColor; stroke: none; }
.facebook-discussion > footer.facebook-comment-composer button { display: block; min-height: 40px; padding: 7px 14px; border: 0; border-radius: 20px; background: #f0f2f5; color: #65676b; text-align: left; }
.facebook-comment-composer button span, .facebook-comment-composer button small { display: block; }
.facebook-comment-composer button span { font-size: 12px; font-weight: 650; }
.facebook-comment-composer button small { margin-top: 1px; color: #8a9099; font-size: 8px; font-weight: 500; }
@media (max-width: 620px) {
  .facebook-discussion { padding: 0; }
  .facebook-post-actions button { gap: 6px; font-size: 11px; }
  .facebook-post-actions .share-icon, .facebook-post-actions .icon { width: 19px; height: 19px; }
  .facebook-comment-toolbar > span { display: none; }
}

/* Public advertising inventory and inquiry */
.public-ad-page { display: grid; gap: 18px; padding-top: 8px; }
.public-ad-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 24px 0 18px; border-bottom: 1px solid #dce2ea; }
.public-ad-heading > div:first-child { max-width: 720px; }
.public-ad-heading span, .public-ad-request header > span { color: var(--red); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.public-ad-heading h1 { margin: 5px 0 8px; font-size: 34px; line-height: 1.08; }
.public-ad-heading p, .public-ad-request header p { margin: 0; color: #667085; line-height: 1.55; }
.public-ad-heading > div:last-child { display: grid; min-width: 142px; padding: 13px 16px; border-left: 3px solid var(--red); background: #fff; }
.public-ad-heading > div:last-child b { font-size: 28px; }
.public-ad-heading > div:last-child span { color: #667085; text-transform: none; }
.public-ad-device-tabs { display: inline-flex; width: fit-content; padding: 4px; border: 1px solid #dce2ea; border-radius: 7px; background: #fff; }
.public-ad-device-tabs button { min-height: 36px; padding: 0 18px; border-radius: 5px; color: #667085; font-size: 12px; font-weight: 850; }
.public-ad-device-tabs button.active { background: #07101f; color: #fff; }
.public-ad-browser { overflow: hidden; border: 1px solid #d7dee8; border-radius: 8px; background: #fff; box-shadow: 0 18px 50px rgba(7, 16, 31, .08); }
.public-ad-browserbar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-bottom: 1px solid #e3e8ef; background: #f6f7f9; }
.public-ad-browserbar i { width: 7px; height: 7px; border-radius: 50%; background: #d2d7df; }
.public-ad-browserbar i:first-child { background: #ef4444; }.public-ad-browserbar i:nth-child(2) { background: #f5b82e; }.public-ad-browserbar i:nth-child(3) { background: #2fb871; }
.public-ad-browserbar span { margin-left: 10px; color: #8a94a4; font-size: 10px; }
.public-ad-desktop-grid { display: grid; grid-template-columns: 92px minmax(0, 1fr) 92px; gap: 12px; padding: 14px; background: #f4f6f8; }
.public-ad-desktop-grid > aside { display: grid; align-content: start; }
.public-ad-desktop-grid > main { min-width: 0; padding: 12px; background: #fff; }
.public-ad-desktop-grid > main > header { display: flex; align-items: center; gap: 18px; height: 42px; border-bottom: 1px solid #e8ecf1; }
.public-ad-desktop-grid > main > header i { color: var(--red); font-size: 16px; font-weight: 950; font-style: normal; }
.public-ad-desktop-grid > main > header span { width: 11%; height: 5px; border-radius: 3px; background: #dfe4eb; }
.public-ad-lead { display: grid; grid-template-columns: minmax(0, 1fr) 26%; gap: 10px; margin-top: 10px; }
.public-ad-hero { display: grid; height: 150px; place-items: center; background: #111c2c; color: #fff; font-size: 12px; font-weight: 850; }
.public-ad-lead > aside { display: grid; align-content: start; gap: 7px; padding: 10px; border: 1px solid #e5eaf0; }
.public-ad-lead > aside b { font-size: 9px; text-transform: uppercase; }.public-ad-lead > aside i { height: 17px; background: #edf0f4; }
.public-ad-feed { display: grid; grid-template-columns: minmax(0, 1fr) 26%; gap: 10px; margin-top: 10px; }
.public-ad-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }.public-ad-news-grid i { aspect-ratio: 1.4; background: #e9edf2; }
.public-ad-lower { display: grid; grid-template-columns: 30% minmax(0, 1fr); gap: 7px; margin-top: 9px; }.public-ad-lower > div { display: grid; place-items: center; min-height: 72px; background: #07101f; color: #fff; font-size: 9px; font-weight: 800; }
.public-ad-feed > aside { display: grid; align-content: start; gap: 7px; }.public-ad-widget { height: 52px; background: #edf0f4; }
.public-ad-slot { position: relative; display: grid; width: 100%; min-height: 54px; place-items: center; align-content: center; gap: 2px; padding: 7px; border: 1px dashed #ef3340; border-radius: 5px; background: #fff7f7; color: #9d101a; text-align: center; }
.public-ad-slot[data-public-ad-slot="desktop-left-rail"], .public-ad-slot[data-public-ad-slot="desktop-right-rail"] { min-height: 0; aspect-ratio: 124 / 552; }
.public-ad-slot[data-public-ad-slot="desktop-hero-strip"] { min-height: 0; aspect-ratio: 900 / 65; }
.public-ad-slot[data-public-ad-slot="desktop-sidebar-card"] { min-height: 0; aspect-ratio: 310 / 132; }
.public-ad-slot[data-public-ad-slot="desktop-sidebar-tall"] { min-height: 0; aspect-ratio: 310 / 569; }
.public-ad-slot[data-public-ad-slot="desktop-lower-strip"] { min-height: 0; aspect-ratio: 626 / 197; }
.public-ad-slot[data-public-ad-slot="mobile-top"] { min-height: 0; aspect-ratio: 410 / 72; }
.public-ad-slot[data-public-ad-slot="mobile-hero-strip"] { min-height: 0; aspect-ratio: 410 / 49; }
.public-ad-slot[data-public-ad-slot="mobile-feed-strip"] { min-height: 0; aspect-ratio: 410 / 43; }
.public-ad-slot b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-size: 10px; }
.public-ad-slot span { font-size: 9px; font-weight: 900; }.public-ad-slot small { color: #7c8798; font-size: 8px; }
.public-ad-slot.selected { border-style: solid; border-color: #165dff; background: #eef4ff; color: #1248bf; box-shadow: inset 0 0 0 1px #165dff; }
.public-ad-slot.selected b { background: #165dff; }
.public-ad-mobile-map { padding: 24px; background: #eef1f5; }.public-ad-phone { width: min(100%, 360px); margin: 0 auto; padding: 10px; border: 8px solid #111827; border-radius: 28px; background: #fff; box-shadow: 0 22px 54px rgba(7,16,31,.2); }
.public-ad-phone-status { height: 16px; }.public-ad-phone header { display: flex; align-items: center; justify-content: space-between; height: 42px; border-block: 1px solid #edf0f4; }.public-ad-phone header i { color: var(--red); font-weight: 950; font-style: normal; }.public-ad-phone header span { width: 22px; height: 3px; background: #111827; }
.public-ad-mobile-hero { display: grid; height: 170px; margin-top: 8px; place-items: center; background: #111c2c; color: #fff; font-size: 11px; font-weight: 850; }.public-ad-mobile-news { display: grid; gap: 6px; margin: 8px 0; }.public-ad-mobile-news i { height: 38px; background: #edf0f4; }
.public-ad-request { display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.public-ad-directory, .public-ad-form { padding: 22px; border: 1px solid #dce2ea; border-radius: 8px; background: #fff; }
.public-ad-request h2 { margin: 4px 0 7px; font-size: 22px; }.public-ad-directory > div { display: grid; gap: 6px; margin-top: 18px; }
.ad-placement-option { display: grid; grid-template-columns: 30px minmax(0, 1fr) 24px; gap: 10px; align-items: center; min-height: 54px; padding: 7px 9px; border: 1px solid #e1e6ed; border-radius: 6px; background: #fff; text-align: left; }
.ad-placement-option > b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f1f3f6; font-size: 11px; }.ad-placement-option span { display: grid; gap: 2px; }.ad-placement-option strong { font-size: 12px; }.ad-placement-option small { color: #7b8493; font-size: 9px; }.ad-placement-option > i { color: #667085; font-size: 18px; font-style: normal; text-align: center; }
.ad-placement-option.selected { border-color: #165dff; background: #f3f7ff; }.ad-placement-option.selected > b { background: #165dff; color: #fff; }.ad-placement-option.selected > i { color: #165dff; }
.public-ad-selected { display: flex; flex-wrap: wrap; gap: 7px; min-height: 46px; margin: 18px 0; padding: 9px; border: 1px solid #dfe5ed; border-radius: 6px; background: #f7f8fa; }.public-ad-selected p { margin: auto 5px; color: #8a94a4; font-size: 11px; }
.public-ad-selected span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid #cbd8f0; border-radius: 5px; background: #fff; color: #24364f; font-size: 10px; font-weight: 800; }.public-ad-selected span > b { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: #165dff; color: #fff; font-size: 8px; }.public-ad-selected span small { color: #718096; }.public-ad-selected span button { color: #9d101a; font-size: 15px; }
.public-ad-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.public-ad-form-grid label { display: grid; gap: 6px; color: #344054; font-size: 11px; font-weight: 850; }.public-ad-form-grid label.wide { grid-column: 1 / -1; }.public-ad-form-grid input, .public-ad-form-grid textarea { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #d7dee8; border-radius: 6px; background: #fff; font: inherit; }.public-ad-form-grid textarea { resize: vertical; }
.public-google-gate { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 16px; border: 1px solid #cfd9e8; border-radius: 7px; background: #f7f9fc; }.public-google-gate b { font-size: 12px; }.public-google-gate p { margin: 3px 0 0; color: #667085; font-size: 10px; }.public-google-gate.is-authenticated { border-color: #a6e2c3; background: #f0fbf5; }.public-google-gate.is-authenticated [data-google-signin] { display: none; }
.google-signin-placeholder { display: inline-flex; min-height: 40px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid #c9d0da; border-radius: 5px; background: #fff; color: #273142; font-size: 11px; font-weight: 800; opacity: 1; }.google-signin-placeholder i { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #4285f4; font-size: 15px; font-style: normal; font-weight: 900; }.public-ad-authenticated-fields[hidden] { display: none; }.public-ad-authenticated-fields { margin-top: 16px; }
.public-ad-submit { width: 100%; min-height: 46px; margin-top: 12px; border-radius: 6px; background: var(--red); color: #fff; font-weight: 900; }.public-ad-submit:disabled { background: #c7cdd6; cursor: not-allowed; }.public-ad-form-status { min-height: 18px; margin: 8px 0 0; color: #344054; font-size: 11px; font-weight: 750; }
@media (max-width: 900px) { .page-shell.ads-shell { width: min(100% - 24px, 760px); }.public-ad-request { grid-template-columns: 1fr; }.public-ad-desktop-grid { grid-template-columns: 60px minmax(0, 1fr) 60px; gap: 7px; padding: 8px; }.public-ad-desktop-grid > main { padding: 7px; }.public-ad-desktop-grid > aside .public-ad-slot { min-height: 320px; }.public-ad-slot span { display: none; }.public-ad-heading h1 { font-size: 28px; } }
@media (max-width: 620px) { .public-ad-heading { align-items: start; flex-direction: column; }.public-ad-heading > div:last-child { width: 100%; }.public-ad-browser[data-public-ad-map="desktop"] { overflow-x: auto; }.public-ad-desktop-grid { width: 720px; }.public-ad-form-grid { grid-template-columns: 1fr; }.public-ad-form-grid label.wide { grid-column: auto; }.public-google-gate { align-items: stretch; flex-direction: column; }.public-ad-directory, .public-ad-form { padding: 16px; }.public-ad-selected span { width: 100%; }.public-ad-selected span button { margin-left: auto; } }

/* Article image metadata and per-article discussion permission */
.admin-body .main-image-card { grid-template-columns: minmax(0, 1fr); gap: 10px; overflow: hidden; }
.admin-body .main-image-card > *, .admin-body .image-meta-fields, .admin-body .image-meta-fields > * { min-width: 0; max-width: 100%; }
.admin-body .main-image-card .main-image-preview { width: auto; max-width: none; }
.admin-body .main-image-card input { width: 100%; max-width: 100%; }
.admin-body .image-meta-fields { display: grid; gap: 11px; margin-top: 4px; padding-top: 13px; border-top: 1px solid #e8edf4; }
.admin-body .image-meta-fields > header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.admin-body .image-meta-fields > header b { color: #172033; font-size: 11px; }
.admin-body .image-meta-fields > header span { color: #8a94a6; font-size: 9px; font-weight: 650; text-align: right; }
.admin-body .editor-control-column .image-meta-fields label { gap: 6px; }
.admin-body .image-meta-fields label > span { display: flex; align-items: center; gap: 6px; color: #344054; font-size: 10px; font-weight: 800; }
.admin-body .image-meta-fields label > span em { padding: 2px 5px; border-radius: 4px; background: #edf3ff; color: #2854d7; font-size: 8px; font-style: normal; }
.admin-body .image-meta-fields input { min-height: 38px !important; font-size: 11px !important; }
.admin-body .image-meta-fields label > small { color: #8a94a6; font-size: 9px; font-weight: 600; }
.admin-body .editor-control-column label.article-comment-permission { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 10px 12px; border: 1px solid #e2e8f2; border-radius: 8px; background: #fafbfe; }
.admin-body .article-comment-permission > span { min-width: 0; }
.admin-body .article-comment-permission b, .admin-body .article-comment-permission small { display: block; }
.admin-body .article-comment-permission b { color: #172033; font-size: 11px; }
.admin-body .article-comment-permission small { margin-top: 3px; color: #7a8496; font-size: 9px; font-weight: 600; line-height: 1.4; }
.admin-body .article-comment-permission > input { position: relative; flex: 0 0 auto; width: 19px; height: 19px; min-height: 19px; margin: 0; padding: 0; appearance: none; border: 1px solid #c5cfdd; border-radius: 5px; background: #fff; cursor: pointer; }
.admin-body .article-comment-permission > input:checked { border-color: #315efb; background: #315efb; }
.admin-body .article-comment-permission > input:checked::after { content: ""; position: absolute; top: 4px; left: 4px; width: 8px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* Keep every article-editor action visible at desktop and compact widths. */
.admin-body .pro-toolbar {
  flex-wrap: wrap;
  overflow: visible;
  align-content: center;
}
.admin-body .pro-toolbar > button,
.admin-body .pro-toolbar > select,
.admin-body .pro-toolbar > .toolbar-divider {
  flex: 0 0 auto;
}
.admin-body .pro-toolbar .source-toggle {
  margin-left: 0;
}
@media (max-width: 620px) {
  .admin-body .pro-toolbar {
    gap: 5px;
    padding: 7px;
  }
  .admin-body .pro-toolbar button,
  .admin-body .pro-toolbar select {
    min-height: 30px;
  }
  .admin-body .pro-toolbar select {
    flex: 1 1 112px;
  }
  .admin-body .editor-canvas { overflow: visible; }
  .admin-body .insert-popover {
    top: 10px;
    left: 8px;
    right: 8px;
    width: auto;
    min-width: 0;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-body .insert-popover div { min-width: 0; padding: 10px; }
  .admin-body .insert-popover button { width: 100%; min-width: 0; padding: 0 8px; font-size: 11px; white-space: normal; }
}
.sponsored-badge {
  display: inline-flex; align-items: center; width: fit-content; padding: 5px 9px;
  border: 1px solid #d7a928; border-radius: 999px; background: #fff6d8; color: #765500;
  font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
}
.news-card.is-sponsored, .compact-card.is-sponsored { border-color: #e4c45f; box-shadow: 0 10px 26px rgba(153, 112, 0, .12); }
.compact-card > .sponsored-badge { margin: 10px 12px 0; }
.news-card .sponsored-badge { margin-bottom: 8px; }
.article-web.is-sponsored { border-top: 3px solid #d7a928; }
.video-news-section { padding: 20px; }
.video-news-section > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.video-news-section h2 { margin: 0; font-size: 20px; }
.video-news-section > header span { color: #697486; font-size: 12px; font-weight: 750; }
.video-news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.video-news-card { overflow: hidden; border: 1px solid #e7ebf1; border-radius: 8px; background: #fff; color: #07101f; }
.video-news-image { position: relative; aspect-ratio: 16 / 9; background: #111827 center / cover no-repeat; }
.video-play-badge { position: absolute; inset: 50% auto auto 50%; display: grid; place-items: center; width: 38px; height: 38px; padding-left: 2px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(227, 6, 19, .94); color: #fff; }
.video-news-card > div:last-child { padding: 11px 12px 13px; }
.video-news-card small { color: var(--red); font-size: 10px; font-weight: 900; }
.video-news-card h3 { margin: 5px 0 0; font-size: 14px; line-height: 1.35; }
.video-news-empty { grid-column: 1 / -1; margin: 0; padding: 22px; color: #697486; text-align: center; }
.video-card-placeholder { position: relative; min-height: 0; border-style: dashed; background: #fbfcfe; pointer-events: none; }
.video-card-placeholder .video-news-image { background: linear-gradient(135deg, #e9edf4 0%, #f7f9fc 52%, #e4e9f1 100%); }
.video-card-placeholder .video-news-image::before { content: "INTERPRESS TV"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(31, 42, 61, .2); font-size: 13px; font-weight: 950; letter-spacing: .08em; }
.video-card-placeholder .video-play-badge { opacity: .72; }
.video-card-placeholder h3 { color: #778195; }
.video-placeholder-number { position: absolute; top: 8px; right: 9px; z-index: 2; color: rgba(255,255,255,.9); font-size: 10px; font-weight: 900; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.article-video { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 8px; background: #07101f; }
.article-video video, .article-video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: contain; }
.article-category-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.article-image, .article-photo { position: relative; overflow: hidden; }
.article-image > .article-image-watermark, .article-photo > .article-image-watermark { position: absolute; z-index: 3; height: auto; transform: translate(-50%, -50%); object-fit: contain; pointer-events: none; }
.article-options-card > small { display: block; margin: -3px 0 14px; color: #697486; line-height: 1.45; }
.article-category-multi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 12px; border-top: 1px solid #e8edf4; }
.article-category-multi > b { grid-column: 1 / -1; font-size: 12px; }
.article-category-multi label { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 750; }
.about-page { max-width: 920px; margin: 28px auto; padding: 42px 48px; }
.about-page > span { color: var(--red); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.about-page h1 { margin: 10px 0 24px; font-size: 38px; }
.about-page [data-about-body] { color: #435066; font-size: 17px; line-height: 1.75; }
.category-menu-group { position: relative; align-self: stretch; display: flex; align-items: center; }
.category-menu-group > a::after { content: "⌄"; margin-left: 5px; font-size: 10px; }
.category-submenu { position: absolute; z-index: 30; top: calc(100% - 2px); left: 0; display: none; min-width: 190px; padding: 8px; border: 1px solid #e3e8f0; border-radius: 8px; background: #fff; box-shadow: 0 18px 42px rgba(7,16,31,.16); }
.category-menu-group:hover .category-submenu, .category-menu-group:focus-within .category-submenu { display: grid; }
.category-submenu a { padding: 9px 11px; border-radius: 6px; color: #1c2b42; white-space: nowrap; }
.category-submenu a:hover { background: #fff0f1; color: var(--red); }
.main-image-metadata-card p { margin: 0 0 12px; color: #697486; font-size: 11px; line-height: 1.5; }
.main-image-metadata-card button { width: 100%; min-height: 38px; border: 1px solid #d7deea; border-radius: 7px; background: #f7f9fc; color: #1c2b42; font-weight: 850; }
.main-image-metadata-card button:hover { border-color: #1769e0; color: #1769e0; }

/* New article sidebar: one calm, consistent vertical workflow. */
@media (min-width: 1101px) {
  .admin-body .editor-pro-layout {
    grid-template-columns: minmax(620px, 1fr) minmax(340px, 380px);
    gap: 18px;
  }
  .admin-body .editor-control-column {
    grid-column: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    align-content: start;
  }
  .admin-body .editor-control-column > section,
  .admin-body .editor-control-column > .article-distribution-card,
  .admin-body .editor-control-column > .publish-card,
  .admin-body .editor-control-column > .publish-meta-card,
  .admin-body .editor-control-column > .editor-readiness-card,
  .admin-body .editor-control-column > .editor-preview-card {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100%;
  }
}

.admin-body .editor-control-column > .portal-card {
  padding: 15px 16px;
  border: 1px solid #e5eaf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(15, 23, 42, .045);
}
.admin-body .editor-control-column > .portal-card:hover { border-color: #d8e0eb; }
.admin-body .editor-control-column > .portal-card h2 {
  margin: 0 0 11px;
  padding: 0 0 10px;
  border-bottom: 1px solid #eef1f5;
  font-size: 14px;
}
.admin-body .editor-control-column > .publish-card {
  border-color: #dbe5ff;
  background: linear-gradient(180deg, #fbfdff, #f7faff);
}
.admin-body .editor-control-column > .article-distribution-card { gap: 12px; }
.admin-body .editor-control-column > .sponsored-news-card,
.admin-body .editor-control-column > .article-options-card { background: #fffdf8; }
.admin-body .editor-control-column > .main-image-card,
.admin-body .editor-control-column > .main-image-metadata-card { border-color: #dfe7f3; }
.admin-body .editor-control-column > .main-image-metadata-card { margin-top: -4px; background: #f9fbfe; }
.admin-body .editor-control-column > .publish-meta-card,
.admin-body .editor-control-column > .editor-readiness-card { background: #fafbfc; }

@media (max-width: 1100px) {
  .admin-body .editor-pro-layout { grid-template-columns: minmax(0, 1fr); }
  .admin-body .editor-control-column { grid-column: 1; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .admin-body .editor-control-column > * { grid-column: 1 !important; grid-row: auto !important; }
}

/* Streamlined article publishing and image decision flow. */
.admin-body .article-kind-field { display: grid; grid-template-columns: 118px minmax(0, 340px); align-items: center; gap: 12px; margin: 2px 0 15px; padding: 12px 14px; border: 1px solid #e4eaf3; border-radius: 9px; background: #f8fafc; }
.admin-body .article-kind-field > span { color: #344054; font-size: 11px; font-weight: 850; }
.admin-body .editor-form-pro > .article-video-source { margin: -5px 0 15px; padding: 13px 14px; border: 1px solid #dbe6ff; border-radius: 9px; background: #f7faff; }
.admin-body .article-video-source.is-invalid { border-color: #f04438; background: #fff8f7; box-shadow: 0 0 0 3px rgba(240, 68, 56, .08); }
.admin-body .article-video-details { display: grid; gap: 12px; margin: -5px 0 15px; padding: 14px; border: 1px solid #dbe6ff; border-radius: 10px; background: #f7faff; }
.admin-body .article-video-details[hidden] { display: none; }
.admin-body .article-video-details .article-video-source { margin: 0; }
.admin-body .video-editor-taxonomy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px; padding-top: 12px; border-top: 1px solid #e2e9f6; }
.admin-body .video-editor-taxonomy label { min-width: 0; }
.admin-body .publish-card { position: relative; z-index: 8; overflow: visible; }
.admin-body .publish-split button[data-publish-menu-toggle] { font-size: 17px; transition: transform .18s ease, background .18s ease; }
.admin-body .publish-split button[data-publish-menu-toggle].is-open { background: #123f9c; }
.admin-body .publish-platform-menu { position: absolute; z-index: 40; top: 78px; right: 15px; left: 15px; display: grid; gap: 10px; max-height: min(620px, calc(100vh - 110px)); padding: 12px; overflow: auto; border: 1px solid #cdd9eb; border-radius: 9px; background: #fff; box-shadow: 0 18px 44px rgba(15, 35, 68, .2); }
.admin-body .publish-platform-menu[hidden] { display: none; }
.admin-body .publish-platform-menu > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 9px; border-bottom: 1px solid #edf1f6; }
.admin-body .publish-platform-menu > header b, .admin-body .publish-platform-menu > header small { display: block; }
.admin-body .publish-platform-menu > header b { color: #1d2939; font-size: 11px; }
.admin-body .publish-platform-menu > header small { margin-top: 3px; color: #7a8496; font-size: 9px; line-height: 1.4; }
.admin-body .publish-platform-menu > header > span { display: flex; align-items: center; gap: 7px; }
.admin-body .publish-platform-menu > header strong { display: grid; min-width: 26px; height: 24px; place-items: center; border-radius: 6px; background: #edf3ff; color: #2455c3; font-size: 10px; }
.admin-body .publish-platform-menu [data-publish-menu-close] { display: grid; width: 26px; min-width: 26px; height: 26px; min-height: 26px; padding: 0; place-items: center; border: 1px solid #d8e0eb; border-radius: 7px; background: #f7f9fc; color: #344054; font-size: 18px; line-height: 1; }
.admin-body .publish-platform-menu [data-publish-menu-close]:hover { border-color: #ef4444; background: #fff5f5; color: #d92d20; }
.admin-body .publish-platform-menu .social-channel-grid { grid-template-columns: minmax(0, 1fr); max-height: 260px; overflow: auto; padding-right: 3px; }
.admin-body .publish-platform-menu .facebook-post-link { grid-template-columns: minmax(0, 1fr); }
.admin-body .publish-platform-menu .article-comment-permission { padding: 9px; border-radius: 8px; background: #f7f9fc; }
.admin-body .main-image-card .image-meta-fields { margin-top: 2px; }
.main-image-choice { display: grid; gap: 12px; margin: 14px 18px 18px; padding: 14px; border: 1px solid #cfdcff; border-radius: 11px; background: linear-gradient(180deg, #fbfdff, #f4f8ff); box-shadow: 0 9px 24px rgba(38, 79, 174, .1); }
.main-image-choice[hidden] { display: none; }
.main-image-choice-preview { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 12px; }
.main-image-choice-preview img { width: 82px; aspect-ratio: 16 / 10; border-radius: 8px; background: #e9eef6; object-fit: cover; }
.main-image-choice-preview b, .main-image-choice-preview small { display: block; }
.main-image-choice-preview b { color: #172033; font-size: 12px; }
.main-image-choice-preview small { margin-top: 4px; color: #697586; font-size: 10px; }
.main-image-logo-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid #e0e7f1; border-radius: 9px; background: #fff; cursor: pointer; }
.main-image-logo-option b, .main-image-logo-option small { display: block; }
.main-image-logo-option b { color: #1d2939; font-size: 11px; }
.main-image-logo-option small { margin-top: 3px; color: #7a8496; font-size: 9px; }
.main-image-logo-option input { width: 18px; height: 18px; accent-color: #1769e0; }
.main-image-choice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.main-image-choice-actions button { min-height: 38px; border-radius: 7px; font-weight: 800; }
@media (max-width: 680px) {
  .admin-body .article-kind-field { grid-template-columns: minmax(0, 1fr); }
  .admin-body .video-editor-taxonomy { grid-template-columns: minmax(0, 1fr); }
  .main-image-choice-actions { grid-template-columns: minmax(0, 1fr); }
}

/* Category page filters: the current one gets a red underline */
.category-filters { flex-wrap: wrap; }
.category-filters a { padding: 8px 2px; font-weight: 800; }
.category-filters a.active { color: var(--red); box-shadow: inset 0 -3px 0 var(--red); }

/* Share channels open as a popover above the button, without moving anything around it */
.share-drawer[open] { grid-column: auto; }
.share-drawer[open] summary { width: auto; margin-left: 0; }
.share-drawer .share-sheet { position: absolute; right: 0; bottom: calc(100% + 10px); z-index: 60; width: max-content; max-width: calc(100vw - 24px); margin: 0; box-shadow: 0 14px 30px rgba(7, 16, 31, .28); }
.share-drawer .share-sheet::after { content: ""; position: absolute; right: 26px; bottom: -6px; width: 12px; height: 12px; background: #07101f; transform: rotate(45deg); }
.share-drawer .share-icons-row { flex-wrap: nowrap; gap: 10px; }

/* Header TV button: label only, sized to its content */
.tv-live,
.web-header nav .tv-live,
.web-header-inner > .tv-live { width: auto; min-width: 0; gap: 0; padding: 6px; }

/* Publish block sits last in the editor sidebar, after the live preview. */
.admin-body .editor-control-column > .publish-card { grid-column: 1 / -1 !important; grid-row: auto !important; }
.admin-body .publish-platform-menu { top: auto; bottom: calc(100% - 44px); }
