:root {
  color-scheme: light;
  --blue: #2f86de;
  --blue-dark: #1267bd;
  --blue-soft: #eaf4ff;
  --cyan: #11bfb3;
  --orange: #ff7a2f;
  --ink: #172033;
  --text: #344054;
  --muted: #667085;
  --line: #d9e3ef;
  --panel: #ffffff;
  --wash: #f4f7fb;
  --title: #0e2f72;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7fbff 0, #fff 180px),
    #fff;
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

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

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

.portal-container {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
}

.portal-header {
  background:
    linear-gradient(90deg, rgba(47, 134, 222, 0.04), transparent 28%, rgba(17, 191, 179, 0.05)),
    #fff;
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  min-height: 30px;
  border-bottom: 1px solid #e7edf6;
  background: #f7fbff;
  color: #111827;
  font-size: 13px;
}

.utility-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  min-height: 30px;
}

.utility-inner nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-inner nav a + a::before,
.footer-links a + a::before {
  content: "|";
  margin-right: 10px;
  color: #98a2b3;
}

.alert-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.alert-link b {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff6b2c;
  color: #fff;
  font-size: 11px;
  line-height: 1;
}

.masthead {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  min-height: 116px;
  position: relative;
}

.masthead::after {
  content: "";
  position: absolute;
  inset: 12px 130px 0 auto;
  width: 430px;
  opacity: 0.2;
  background:
    linear-gradient(180deg, transparent 62%, rgba(47, 134, 222, 0.18) 63% 64%, transparent 65%),
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(47, 134, 222, 0.16) 36px 38px);
  pointer-events: none;
}

.portal-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--title);
}

.logo-emblem {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #3c8ce7 0%, #3c8ce7 58%, transparent 59%),
    radial-gradient(circle at 65% 32%, #fff 0 7px, transparent 8px),
    #1b65b9;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.portal-logo strong {
  display: block;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.portal-logo small {
  display: block;
  margin-top: 4px;
  color: #17336d;
  font-size: 18px;
  line-height: 1;
}

.masthead-search {
  max-width: 710px;
}

.top-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px 90px;
  height: 42px;
}

.top-search input {
  min-width: 0;
  border: 1px solid var(--blue);
  border-right: 0;
  padding: 0 12px;
  outline: 0;
  color: var(--ink);
}

.top-search button,
.advanced-search,
.blue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.advanced-search {
  margin-left: 8px;
  background: #3989e5;
}

.hot-words {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  color: #182230;
  font-size: 13px;
}

.hot-words strong {
  color: var(--orange);
}

.main-nav {
  background: var(--blue);
}

.main-nav-inner {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  min-height: 44px;
}

.main-nav-inner a {
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav-inner a.active {
  background: var(--cyan);
}

.channel-strip {
  border-bottom: 1px solid #dfe7f2;
  background: #f3f7fc;
}

.mobile-channel-menu {
  display: none;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  min-height: 96px;
  border-left: 1px solid #cdd9e8;
  border-right: 1px solid #cdd9e8;
}

.channel-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(24px, auto));
  align-items: center;
  gap: 6px 12px;
  min-height: 96px;
  padding: 12px 14px;
  border-right: 1px solid #cdd9e8;
  background: linear-gradient(180deg, #f8fbff, #eef5fd);
}

.channel-card:first-child {
  border-left: 0;
}

.channel-card b {
  grid-row: span 2;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 5px;
  align-self: stretch;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.channel-card b::before {
  content: "";
  display: block;
  width: 30px;
  height: 24px;
  margin: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #67b6ff, #2f86de);
}

.channel-card:nth-child(2) b::before {
  background: linear-gradient(135deg, #7dd3fc, #2563eb);
}

.channel-card:nth-child(3) b::before {
  background: linear-gradient(135deg, #a7f3d0, #0f9f76);
}

.channel-card:nth-child(4) b::before {
  background: linear-gradient(135deg, #93c5fd, #4f46e5);
}

.channel-card:nth-child(5) b::before {
  background: linear-gradient(135deg, #fdba74, #ea580c);
}

.pulse-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
}

.pulse-strip a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #cae1f8;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(235,247,255,0.92)),
    repeating-linear-gradient(90deg, rgba(47,134,222,0.07) 0 1px, transparent 1px 18px);
  color: #174174;
  box-shadow: 0 8px 22px rgba(36, 82, 132, 0.08);
}

.pulse-strip span {
  color: #51667f;
  font-weight: 800;
}

.pulse-strip strong {
  color: var(--blue-dark);
  font-size: 24px;
  line-height: 1;
}

.source-ticker {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin-top: 10px;
  border: 1px solid #cbdff5;
  background: #fff;
}

.source-ticker > strong {
  display: grid;
  place-items: center;
  height: 100%;
  background: #edf6ff;
  color: var(--title);
  font-size: 15px;
}

.source-ticker > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.source-ticker a {
  min-width: 0;
  overflow: hidden;
  color: #24364d;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.source-ticker span {
  margin-right: 6px;
  color: var(--blue);
  font-weight: 900;
}

.source-ticker > a:last-child {
  padding-right: 12px;
  color: var(--blue);
  font-weight: 900;
  text-align: right;
}

.channel-card span {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 4px 12px;
  min-height: 24px;
}

.channel-card a {
  color: #176dd0;
  font-size: 14px;
  line-height: 1.25;
  white-space: nowrap;
}

.message-stack {
  padding-top: 12px;
}

.message {
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid #bcd8f4;
  background: #f5fbff;
}

.home-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr) 240px;
  gap: 18px;
  padding-top: 12px;
}

.left-rail,
.right-rail,
.center-stage {
  display: grid;
  gap: 12px;
  align-content: start;
}

.info-panel,
.login-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 6px 18px rgba(26, 65, 110, 0.06);
}

.info-panel header,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, #edf6ff, #f8fcff);
}

.hot-panel header {
  background: linear-gradient(90deg, #e9f5ff, #ffffff);
}

.supplier-panel header {
  background: linear-gradient(90deg, #ecfdf5, #ffffff);
}

.project-panel header {
  background: linear-gradient(90deg, #eef6ff, #ffffff);
}

.info-panel header > div,
.panel-heading > div {
  display: flex;
  align-items: center;
}

.info-panel h2,
.login-panel h2,
.panel-heading h2 {
  margin: 0;
  color: var(--title);
  font-size: 20px;
  font-weight: 900;
}

.panel-heading a {
  margin-right: 12px;
  color: #fff;
  border-radius: 999px;
  background: #52c2c7;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}

.panel-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 8px 0 12px;
  border-radius: 50%;
  background: #58a7f3;
  color: #fff;
  font-weight: 900;
}

.tight-list,
.name-list,
.bullet-list,
.locked-list {
  padding: 8px 12px;
}

.tight-list a,
.bullet-list a {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  min-height: 29px;
  color: #24364d;
}

.tight-list a::before,
.bullet-list a::before,
.name-list a::before {
  content: "›";
  color: #1881e5;
  font-weight: 900;
}

.tight-list a span,
.bullet-list a span,
.name-list a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tight-list time,
.bullet-list time {
  color: #8a98ad;
  text-align: right;
}

.name-list {
  display: grid;
  gap: 2px;
}

.name-list a {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  min-height: 31px;
  align-items: center;
}

.hero-ad {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b3563;
  box-shadow: 0 10px 26px rgba(18, 103, 189, 0.16);
}

.hero-ad::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.9) 0 20%, rgba(255,255,255,0.58) 43%, rgba(4,39,76,0.12) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.76), transparent 42%);
  pointer-events: none;
}

.hero-ad-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ad-brand {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: start;
  width: 58%;
  padding: 26px 0 0 34px;
  color: #363f4f;
}

.ad-brand span {
  color: #c41828;
  font-weight: 900;
}

.ad-brand strong {
  color: #153d70;
  font-size: 34px;
  line-height: 1.1;
  text-align: left;
  letter-spacing: 0;
}

.ad-brand small {
  font-size: 13px;
  font-weight: 800;
}

.ad-slogan {
  position: absolute;
  left: 34px;
  bottom: 54px;
  z-index: 3;
  color: #ef233c;
  font-size: 26px;
  font-weight: 900;
  text-shadow: 2px 2px 0 rgba(255,255,255,0.9);
}

.ad-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: flex;
  gap: 7px;
  transform: translateX(-50%);
}

.ad-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
}

.ad-dots span:first-child {
  background: var(--cyan);
}

.wide-banner,
.publish-ad {
  display: block;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #1f5da8, #1f86cf 48%, #f7943c);
  color: #fff;
}

.wide-banner {
  min-height: 76px;
  padding: 16px 22px;
  background:
    linear-gradient(90deg, rgba(14,74,138,0.95), rgba(31,134,207,0.78), rgba(247,148,60,0.72)),
    url("../img/data-strip.png") center / cover;
}

.wide-banner span,
.publish-ad span {
  display: block;
  font-size: 15px;
}

.wide-banner strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

.publish-ad {
  min-height: 96px;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(255,236,218,0.86), rgba(255,138,54,0.74)),
    url("../img/publish-ad.png") center / cover;
  color: #b02c0a;
}

.publish-ad strong {
  display: block;
  font-size: 27px;
  line-height: 1.1;
}

.login-panel {
  padding: 0 10px 12px;
  background: #eaf2fa;
}

.login-panel h2 {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: #176dd0;
  font-size: 20px;
}

.compact-login {
  display: grid;
  gap: 8px;
}

.compact-login label {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #cbd7e4;
  background: #fff;
}

.compact-login label span {
  display: grid;
  place-items: center;
  color: #98a2b3;
  font-weight: 700;
}

.compact-login input {
  min-width: 0;
  height: 34px;
  border: 0;
  outline: 0;
  padding: 0 9px;
}

.captcha-row {
  grid-template-columns: 36px minmax(0, 1fr) 62px !important;
}

.captcha-row b {
  display: grid;
  place-items: center;
  height: 34px;
  color: #a200ff;
  background: #f7f0ff;
  font-size: 18px;
  letter-spacing: 0;
}

.login-links,
.login-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.login-links {
  font-size: 13px;
}

.orange-button,
.blue-button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 4px;
}

.orange-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.user-summary {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 12px 0;
}

.blue-tab {
  display: inline-grid;
  place-items: center;
  min-width: 92px;
  min-height: 42px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  padding-top: 12px;
}

.two-col-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
}

.locked-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px dotted #d4deeb;
}

.locked-list a:last-child {
  border-bottom: 0;
}

.locked-list strong,
.locked-list span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.locked-list strong {
  color: var(--ink);
}

.locked-list span {
  color: #176dd0;
  font-size: 13px;
}

.empty-line {
  margin: 0;
  padding: 12px;
  color: var(--muted);
}

.portal-footer {
  margin-top: 20px;
  border-top: 3px solid var(--blue);
  background: #f6f9fd;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--muted);
}

.footer-inner strong {
  display: block;
  color: var(--title);
  font-size: 18px;
}

/* Shared inner pages */
.page-head,
.content-shell,
.detail-shell,
.pricing-shell,
.checkout-shell,
.account-shell,
.form-shell,
.auth-shell {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 24px 0;
}

.page-head h1,
.detail-head h1,
.account-hero h1,
.checkout-card h1 {
  margin: 0;
  color: var(--title);
  font-size: 32px;
  line-height: 1.2;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(120px, 0.8fr)) minmax(120px, 0.9fr) repeat(2, minmax(130px, 0.8fr)) 74px;
  gap: 8px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  background: #f5f9ff;
}

.filter-bar label,
.auth-card p,
.editor-form p {
  display: grid;
  gap: 5px;
  margin: 0;
}

.filter-bar span,
.auth-card label,
.editor-form label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select,
.auth-card input,
.editor-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd7e4;
  padding: 7px 9px;
  background: #fff;
  color: var(--ink);
}

.filter-bar button,
.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.ghost-button {
  border-color: #cbd7e4;
  background: #fff;
  color: var(--blue);
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
}

.text-button.danger {
  color: #b42318;
}

.danger-button {
  background: #b42318;
}

.list-board,
.detail-article,
.checkout-card,
.auth-card,
.editor-form,
.account-hero,
.panel {
  border: 1px solid var(--line);
  background: #fff;
}

.list-board {
  margin-top: 12px;
}

.notice-database-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  padding: 24px 0 14px;
}

.notice-database-head h1 {
  margin: 0;
  color: var(--title);
  font-size: 34px;
  line-height: 1.18;
}

.notice-database-head p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

.database-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  min-width: 320px;
  border: 1px solid #cbdff5;
  background: #fff;
}

.database-kpis span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-right: 1px solid #edf3fb;
  color: var(--muted);
  font-weight: 800;
}

.database-kpis span:last-child {
  border-right: 0;
}

.database-kpis b {
  color: var(--blue-dark);
  font-size: 26px;
  line-height: 1;
}

.type-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 12px;
}

.type-ribbon a {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #cbdff5;
  background: linear-gradient(180deg, #fff, #f5f9ff);
  color: #175da8;
  font-weight: 800;
}

.type-ribbon small {
  color: var(--orange);
  font-weight: 900;
}

.notice-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 14px;
  align-items: start;
  padding-bottom: 26px;
}

.notice-results,
.detail-main {
  min-width: 0;
}

.advanced-filter {
  grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(108px, 0.82fr)) minmax(108px, 0.82fr);
}

.advanced-filter button {
  min-width: 86px;
}

.quick-subscribe-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #dbe8f6;
  background: #f8fbff;
}

.quick-subscribe-strip div {
  display: grid;
  gap: 2px;
}

.quick-subscribe-strip strong {
  color: var(--title);
  font-weight: 900;
}

.quick-subscribe-strip span {
  color: var(--muted);
  font-size: 12px;
}

.quick-subscribe-strip form {
  margin: 0;
}

.result-board {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.result-board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px 98px 96px;
  gap: 10px;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid #dbe8f6;
  background: #f8fbff;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.notice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 142px;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf3fb;
}

.notice-row:last-child {
  border-bottom: 0;
}

.row-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.row-flags b,
.row-flags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid #d7e5f5;
  background: #f7fbff;
  color: #176dd0;
  font-size: 12px;
  font-weight: 800;
}

.row-flags .vip-tag {
  border-color: #ffd2b8;
  background: #fff3eb;
  color: #c2410c;
}

.notice-row h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.notice-row h2 a:hover,
.side-list a:hover span,
.side-locked-list a:hover strong {
  color: var(--blue-dark);
}

.notice-row p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.row-procurement-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 10px 0 0;
  border: 1px solid #dbe8f6;
  background: #dbe8f6;
}

.row-procurement-facts div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 7px 8px;
  background: #fbfdff;
}

.row-procurement-facts dt,
.row-procurement-facts dd {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-procurement-facts dt {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.row-procurement-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.row-meta {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.row-meta span,
.row-meta b,
.row-meta time,
.row-meta a {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-meta b {
  color: var(--blue-dark);
}

.row-meta .amount-normalized {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  border: 1px solid #cdebd8;
  background: #f0fff5;
  color: #157348;
  font-weight: 900;
}

.row-meta a {
  color: var(--blue);
  font-weight: 900;
}

.portal-side {
  display: grid;
  gap: 12px;
}

.side-panel {
  border: 1px solid var(--line);
  background: #fff;
}

.side-panel header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid #dbe8f6;
  background: linear-gradient(90deg, #edf6ff, #fff);
}

.side-panel h2 {
  margin: 0;
  color: var(--title);
  font-size: 18px;
}

.side-panel header a {
  color: var(--blue);
  font-weight: 900;
}

.side-list,
.side-locked-list {
  display: grid;
}

.side-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid #edf3fb;
}

.side-list a:last-child,
.side-locked-list a:last-child {
  border-bottom: 0;
}

.side-list span,
.side-list time {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-list time {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.member-teaser {
  border-color: #ffd2b8;
}

.side-locked-list a {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid #fff0e6;
}

.side-locked-list strong,
.side-locked-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-locked-list strong {
  color: var(--ink);
  font-size: 13px;
}

.side-locked-list span {
  color: #c2410c;
  font-size: 12px;
  font-weight: 800;
}

.project-context-card {
  border-color: #b9d7f5;
}

.context-project-name {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-bottom: 1px solid #edf3fb;
}

.context-project-name span,
.source-entry span,
.source-entry small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.context-project-name strong {
  color: var(--title);
  font-size: 15px;
  line-height: 1.45;
}

.context-facts {
  display: grid;
  margin: 0;
  border-bottom: 1px solid #edf3fb;
}

.context-facts div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 34px;
  border-top: 1px solid #edf3fb;
}

.context-facts div:first-child {
  border-top: 0;
}

.context-facts dt,
.context-facts dd {
  margin: 0;
  padding: 8px 10px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.context-facts dt {
  background: #f4f8fd;
  color: #536579;
  font-size: 12px;
  font-weight: 900;
}

.context-facts dd {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.context-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 12px;
}

.context-actions a,
.source-entry a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid #b7d4f3;
  background: #edf6ff;
  color: var(--blue-dark);
  font-weight: 900;
}

.source-entry {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.source-entry strong {
  color: var(--title);
  line-height: 1.4;
}

.context-link-list {
  display: grid;
}

.context-link-list a {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf3fb;
}

.context-link-list a:last-child {
  border-bottom: 0;
}

.context-link-list strong,
.context-link-list span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.context-link-list strong {
  color: var(--ink);
  font-size: 13px;
}

.context-link-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.context-link-list a:hover strong {
  color: var(--blue-dark);
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #edf3fb;
}

.region-grid a {
  min-height: 36px;
  padding: 8px;
  background: #fff;
  color: #175da8;
  font-weight: 800;
  text-align: center;
}

.hot-region-panel header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.hot-region-list {
  display: grid;
}

.hot-region-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 12px;
  border-bottom: 1px solid #edf3fb;
}

.hot-region-list a:last-child {
  border-bottom: 0;
}

.hot-region-list span {
  color: var(--ink);
  font-weight: 900;
}

.hot-region-list b {
  color: var(--blue-dark);
  font-size: 12px;
}

.side-service-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid #ffc28e;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.side-service-card strong {
  color: #9a3412;
  font-size: 18px;
}

.side-service-card span {
  color: #7c2d12;
}

.notice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid #edf2f7;
}

.notice-card:last-child {
  border-bottom: 0;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags span,
.type-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #bfd8f5;
  background: #f5faff;
  color: #176dd0;
  font-size: 12px;
  font-weight: 800;
}

.card-tags .vip-tag,
.vip-tag {
  border-color: #ffd2b8;
  background: #fff3eb;
  color: #c2410c;
}

.notice-card h2 {
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.35;
}

.notice-card p,
.muted {
  color: var(--muted);
}

.notice-card-side {
  display: grid;
  justify-items: end;
  align-content: space-between;
  color: var(--muted);
}

.notice-card-side a,
.section-heading a,
.panel-title a,
.source-link,
.pagination a {
  color: var(--blue);
  font-weight: 800;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.breadcrumb {
  margin-bottom: 10px;
  color: var(--muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 14px;
  align-items: start;
  padding: 22px 0 28px;
}

.detail-head {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  background: #f8fbff;
}

.detail-head.refined {
  background:
    linear-gradient(135deg, #f8fbff, #ffffff 62%),
    repeating-linear-gradient(90deg, rgba(47,134,222,0.05) 0 1px, transparent 1px 24px);
}

.detail-head h1 {
  margin-top: 12px;
}

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

.meta-grid div {
  padding: 10px;
  border: 1px solid #e4ebf4;
  background: #fff;
}

.meta-grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.meta-grid dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.article-body,
.member-wall,
.detail-summary,
.member-preview,
.procurement-core-module,
.notice-contact-module,
.source-trace-module,
.notice-overview-module,
.notice-attachments {
  padding: 24px;
}

.article-body {
  font-size: 16px;
}

.article-body h2,
.detail-summary h2,
.member-preview h2,
.procurement-core-module h2,
.notice-contact-module h2,
.source-trace-module h2,
.notice-overview-module h2,
.notice-attachments h2 {
  margin: 0 0 12px;
  color: var(--title);
  font-size: 22px;
}

.detail-summary {
  border-bottom: 1px solid #edf3fb;
  background: #fff;
}

.detail-summary p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}

.article-body p {
  line-height: 1.9;
}

.structured-article-body {
  border-bottom: 1px solid #edf3fb;
  background: #fff;
}

.structured-article-body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.structured-article-body > header h2 {
  margin: 0;
}

.structured-article-body > header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.body-section-list {
  display: grid;
  gap: 10px;
}

.body-section-card {
  padding: 14px;
  border: 1px solid #dbe8f6;
  background: #fbfdff;
}

.body-section-card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 17px;
}

.body-section-card p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.procurement-core-module {
  border-bottom: 1px solid #dbe8f6;
  background: #fbfdff;
}

.procurement-core-module > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.procurement-core-module > header h2 {
  margin-bottom: 0;
}

.procurement-core-module > header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.procurement-core-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid #bfd8f5;
  background: #bfd8f5;
}

.procurement-core-grid div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 46px;
  background: #fff;
}

.procurement-core-grid dt {
  margin: 0;
  padding: 10px;
  background: #eaf5ff;
  color: #0c3b78;
  font-size: 13px;
  font-weight: 900;
}

.procurement-core-grid dd {
  margin: 0;
  padding: 10px;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.notice-overview-module {
  border-bottom: 1px solid #edf3fb;
  background: #fff;
}

.notice-contact-module,
.source-trace-module {
  border-bottom: 1px solid #edf3fb;
  background: #fff;
}

.notice-contact-module dl,
.source-trace-module dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid #dbe8f6;
  background: #dbe8f6;
}

.notice-contact-module div,
.source-trace-module div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 42px;
  background: #fff;
}

.notice-contact-module dt,
.source-trace-module dt {
  margin: 0;
  padding: 10px;
  background: #f4f8fd;
  color: #536579;
  font-size: 13px;
  font-weight: 900;
}

.notice-contact-module dd,
.source-trace-module dd {
  margin: 0;
  padding: 10px;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.source-trace-module a {
  color: var(--blue-dark);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #dbe8f6;
  border-left: 1px solid #dbe8f6;
}

.overview-grid div {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 42px;
  border-right: 1px solid #dbe8f6;
  border-bottom: 1px solid #dbe8f6;
}

.overview-grid dt {
  margin: 0;
  padding: 10px;
  background: #f4f8fd;
  color: #536579;
  font-size: 13px;
  font-weight: 900;
}

.overview-grid dd {
  margin: 0;
  padding: 10px;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.notice-attachments {
  border-top: 1px solid #edf3fb;
}

.notice-attachments div {
  display: grid;
  gap: 8px;
}

.notice-attachments a {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #dbe8f6;
  background: #f8fbff;
  color: var(--blue-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 24px;
}

.detail-subscribe-form,
.detail-subscribe-link {
  margin-top: 10px;
  width: 100%;
}

.detail-subscribe-form button,
.detail-subscribe-link {
  width: 100%;
}

.source-link {
  display: inline-flex;
  margin: 0;
}

.member-wall {
  margin: 24px;
  border: 1px solid #ffd2b8;
  background: #fff7ed;
}

.member-wall h2 {
  margin-top: 0;
  color: #9a3412;
}

.masked-lines {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  color: #9a3412;
  font-weight: 900;
}

.masked-lines span {
  padding: 10px;
  background: #fff;
}

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

.member-preview {
  margin: 24px;
  border: 1px solid #ffd2b8;
  background: linear-gradient(180deg, #fff7ed, #fff);
}

.preview-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.preview-head span {
  min-height: 28px;
  padding: 5px 9px;
  background: #fff;
  color: #c2410c;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.masked-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.public-project-name {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ffd7bd;
  background: #fff;
}

.public-project-name b {
  color: #7c2d12;
}

.public-project-name span {
  min-width: 0;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.masked-fields div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #ffe0c7;
  background: #fff;
}

.masked-fields b {
  color: #7c2d12;
}

.masked-fields span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #c2410c;
  font-weight: 900;
  letter-spacing: 0;
}

.member-preview > p {
  color: #7c2d12;
  line-height: 1.75;
}

.pricing-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  display: grid;
  gap: 18px;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.price-card h2 {
  margin: 0;
  color: var(--title);
  font-size: 46px;
  line-height: 1;
}

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

.payment-options button {
  min-height: 38px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.checkout-shell,
.auth-shell {
  display: grid;
  min-height: 500px;
  place-items: center;
}

.checkout-card,
.auth-card,
.editor-form {
  width: min(100%, 720px);
  padding: 24px;
}

.auth-card {
  width: min(100%, 430px);
  display: grid;
  gap: 14px;
}

.auth-card ul,
.auth-card .helptext {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.account-hero,
.panel {
  padding: 20px;
}

.account-hero {
  display: grid;
  gap: 10px;
  background:
    linear-gradient(135deg, #f8fbff 0%, #ffffff 64%),
    repeating-linear-gradient(90deg, rgba(47, 134, 222, 0.05) 0 1px, transparent 1px 24px);
}

.account-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
}

.account-kpis div {
  padding: 10px 12px;
  border: 1px solid #dbe8f6;
  background: #fff;
}

.account-kpis span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.account-kpis strong {
  display: block;
  margin-top: 2px;
  color: var(--title);
  font-size: 22px;
  line-height: 1.1;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
  margin-top: 16px;
}

.subscription-workspace {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.subscription-edit-panel,
.confirm-panel {
  margin-top: 16px;
}

.subscription-edit-form {
  max-width: 760px;
}

.subscription-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.subscription-form label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.subscription-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.subscription-form .wide {
  grid-column: 1 / -1;
}

.subscription-form input,
.subscription-form select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd7e4;
  padding: 7px 9px;
  background: #fff;
  color: var(--ink);
}

.subscription-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #dbe8f6;
  background: #f8fbff;
}

.subscription-check input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.subscription-rules,
.subscription-hits {
  display: grid;
  gap: 10px;
}

.subscription-rules {
  margin-top: 14px;
}

.subscription-rule,
.subscription-hit {
  border: 1px solid #dfe8f3;
  background: #fff;
}

.subscription-rule {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.subscription-rule.paused {
  background: #f8fafc;
}

.subscription-rule header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.subscription-rule strong,
.subscription-hit a {
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.subscription-rule header span,
.hit-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid #cfe0f4;
  background: #f5faff;
  color: #176dd0;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.subscription-rule p {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
}

.subscription-rule small,
.subscription-hit small {
  color: var(--muted);
}

.rule-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rule-actions form,
.panel-title form {
  margin: 0;
}

.form-actions,
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.notification-panel {
  margin-top: 16px;
}

.notification-log-panel {
  margin-top: 16px;
}

.notification-form {
  display: grid;
  gap: 14px;
  max-width: 860px;
}

.notification-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid #e4ebf4;
  background: #f8fbff;
}

.notification-section h2 {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--title);
  font-size: 18px;
  font-weight: 900;
}

.notification-section label {
  display: grid;
  gap: 5px;
  margin: 0;
}

.notification-section label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.notification-section .wide {
  grid-column: 1 / -1;
}

.notification-section input,
.notification-section select {
  width: 100%;
  min-height: 38px;
  border: 1px solid #cbd7e4;
  padding: 7px 9px;
  background: #fff;
  color: var(--ink);
}

.channel-toggles {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.channel-toggles label,
.notification-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #dbe8f6;
  background: #fff;
}

.channel-toggles input,
.notification-check input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.delivery-log-list {
  display: grid;
  gap: 10px;
}

.delivery-log-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dfe8f3;
  background: #fff;
}

.delivery-log-row.pending,
.delivery-log-row.deferred {
  border-left: 4px solid #f59e0b;
  background: #fffaf0;
}

.delivery-log-row.sent {
  border-left: 4px solid #12b76a;
}

.delivery-log-row.failed {
  border-left: 4px solid #b42318;
}

.delivery-log-row.skipped {
  border-left: 4px solid #98a2b3;
  background: #f8fafc;
}

.delivery-log-row strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.delivery-log-row span,
.delivery-log-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.delivery-log-row b {
  color: var(--blue);
  text-align: right;
}

.confirm-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.confirm-facts div {
  padding: 12px;
  border: 1px solid #e4ebf4;
  background: #f8fbff;
}

.confirm-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.confirm-facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.subscription-hit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.subscription-hit.unread {
  border-left: 4px solid var(--blue);
  background: #f8fbff;
}

.subscription-hit a {
  display: block;
  margin: 6px 0 2px;
  line-height: 1.35;
}

.subscription-hit strong {
  color: #047857;
  font-size: 13px;
  white-space: nowrap;
}

.alerts-shell {
  max-width: 1200px;
}

.alert-center-panel {
  margin-top: 16px;
}

.alert-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.alert-toolbar form {
  margin: 0;
}

.alert-tabs {
  display: inline-flex;
  border: 1px solid #cbdff5;
  background: #f8fbff;
}

.alert-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  color: var(--blue);
  font-weight: 900;
}

.alert-tabs a + a {
  border-left: 1px solid #cbdff5;
}

.alert-tabs a.active {
  background: var(--blue);
  color: #fff;
}

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

.alert-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 14px;
  padding: 14px;
  border: 1px solid #dfe8f3;
  background: #fff;
}

.alert-card.unread {
  border-left: 4px solid var(--blue);
  background: #f8fbff;
}

.alert-card-main h2 {
  margin: 8px 0 5px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.alert-card-main h2 a {
  overflow-wrap: anywhere;
}

.alert-card-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.alert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.alert-meta span,
.alert-meta b {
  padding: 2px 7px;
  border: 1px solid #e4ebf4;
  background: #fff;
}

.alert-meta b {
  color: #047857;
}

.alert-card-actions {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: stretch;
}

.alert-card-actions form {
  margin: 0;
}

.alert-card-actions small {
  color: var(--muted);
  text-align: center;
}

.panel-title,
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.panel-title span,
.section-heading h2 {
  color: var(--title);
  font-size: 22px;
  font-weight: 900;
}

.order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 118px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf2f7;
}

.order-row:last-child {
  border-bottom: 0;
}

.empty-state {
  padding: 24px;
  color: var(--muted);
}

/* Staff operations workspace */
.staff-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.staff-sidebar {
  align-self: start;
  border: 1px solid #cbdff5;
  background:
    linear-gradient(180deg, #f4faff, #ffffff);
  box-shadow: 0 8px 24px rgba(28, 82, 142, 0.08);
}

.staff-sidebar-title {
  padding: 18px;
  border-bottom: 1px solid #dbe8f6;
}

.staff-sidebar-title strong {
  display: block;
  color: var(--title);
  font-size: 22px;
  font-weight: 900;
}

.staff-sidebar-title span {
  color: var(--muted);
}

.staff-sidebar nav {
  display: grid;
  padding: 10px;
}

.staff-sidebar nav a {
  min-height: 38px;
  padding: 9px 10px;
  border-bottom: 1px solid #edf3fb;
  color: #175da8;
  font-weight: 800;
}

.staff-sidebar nav a:hover {
  background: #eaf5ff;
}

.staff-main {
  display: grid;
  gap: 14px;
  align-content: start;
}

.staff-page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding: 20px;
  border: 1px solid #cbdff5;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(235,247,255,0.92)),
    repeating-linear-gradient(90deg, rgba(47,134,222,0.06) 0 1px, transparent 1px 22px);
}

.staff-page-head h1 {
  margin: 0;
  color: var(--title);
  font-size: 30px;
  line-height: 1.15;
}

.staff-page-head p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
}

.staff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.staff-actions.bottom {
  justify-content: flex-start;
  margin-top: 16px;
}

.staff-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.staff-metrics a {
  min-height: 86px;
  padding: 14px;
  border: 1px solid #cbdff5;
  background:
    linear-gradient(180deg, #ffffff, #f4faff);
  box-shadow: 0 8px 20px rgba(28, 82, 142, 0.06);
}

.staff-metrics span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.staff-metrics strong {
  display: block;
  margin-top: 10px;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1;
}

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

.staff-grid.split {
  grid-template-columns: 1fr;
}

.staff-card {
  border: 1px solid #cbdff5;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 82, 142, 0.06);
}

.staff-card > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid #dbe8f6;
  background: linear-gradient(90deg, #edf6ff, #fff);
}

.staff-card h2 {
  margin: 0;
  color: var(--title);
  font-size: 20px;
}

.staff-card header a {
  color: var(--blue);
  font-weight: 800;
}

.staff-card header span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quality-board {
  margin-bottom: 14px;
  border: 1px solid #b9d7f5;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 82, 142, 0.06);
}

.quality-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid #dbe8f6;
  background: linear-gradient(90deg, #eaf5ff, #fbfdff);
}

.quality-board-head h2 {
  margin: 0;
  color: var(--title);
  font-size: 22px;
}

.quality-board-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.quality-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid #edf3fb;
}

.scheduler-health-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.72fr) minmax(220px, 0.92fr);
  border-bottom: 1px solid #edf3fb;
  background: #fbfdff;
}

.scheduler-health-strip > div {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 14px;
  border-right: 1px solid #edf3fb;
}

.scheduler-health-strip > div:last-child {
  border-right: 0;
}

.scheduler-health-strip span,
.scheduler-health-strip small {
  color: var(--muted);
  font-weight: 800;
}

.scheduler-health-strip b:not(.status-dot) {
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.1;
}

.quality-metric {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 14px;
  border-right: 1px solid #edf3fb;
}

.quality-metric:last-child {
  border-right: 0;
}

.quality-metric span,
.quality-metric small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.quality-metric strong {
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.05;
}

.quality-board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.9fr) minmax(220px, 0.9fr);
  gap: 0;
}

.quality-block {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid #edf3fb;
}

.quality-block:last-child {
  border-right: 0;
}

.quality-block h3 {
  margin: 0 0 10px;
  color: var(--title);
  font-size: 16px;
}

.quality-bars {
  display: grid;
  gap: 8px;
}

.quality-bars p {
  position: relative;
  display: grid;
  grid-template-columns: 72px 54px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 24px;
  margin: 0;
}

.quality-bars span,
.quality-list span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quality-bars b,
.quality-list b {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.quality-bars i {
  display: block;
  width: var(--bar-width);
  min-width: 4px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e7bd7, #20bba6);
}

.quality-bars em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.quality-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quality-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 24px;
}

.schedule-guide {
  margin-bottom: 14px;
}

.schedule-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
}

.schedule-guide-grid p {
  margin: 0;
  padding: 12px;
  border: 1px solid #dbe8f6;
  background: #fbfdff;
}

.schedule-guide-grid b,
.schedule-guide-grid span {
  display: block;
}

.schedule-guide-grid b {
  margin-bottom: 5px;
  color: var(--blue-dark);
  font-size: 14px;
}

.schedule-guide-grid span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.schedule-guide-grid code {
  color: #0c3b78;
  font-weight: 900;
}

.staff-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 160px 74px;
  gap: 8px;
  padding: 12px;
  border: 1px solid #cbdff5;
  background: #f5f9ff;
}

.staff-filter input,
.staff-filter select,
.staff-form input,
.staff-form select,
.staff-form textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #c7d7ea;
  padding: 7px 9px;
  background: #fff;
  color: var(--ink);
}

.staff-filter button,
.staff-table button,
.inline-form button {
  min-height: 32px;
  border: 1px solid #b7d4f3;
  background: #edf6ff;
  color: var(--blue-dark);
  font-weight: 800;
  cursor: pointer;
}

.staff-table {
  display: grid;
}

.staff-table > div,
.staff-table-head {
  display: grid;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid #edf3fb;
}

.staff-table > div:last-child {
  border-bottom: 0;
}

.staff-table.compact > div {
  grid-template-columns: minmax(0, 1fr) 88px 70px;
}

.staff-table.notices > div {
  grid-template-columns: minmax(0, 1.6fr) 76px 92px 88px 150px;
}

.staff-table.orders > div {
  grid-template-columns: minmax(0, 1.4fr) 110px 100px 70px 72px 170px;
}

.staff-table.members > div {
  grid-template-columns: 120px minmax(0, 1fr) 90px 140px 160px;
}

.staff-table.sources > div {
  grid-template-columns: minmax(0, 0.95fr) minmax(215px, 0.76fr) minmax(286px, 0.86fr) 116px;
}

.staff-table.runs > div {
  grid-template-columns: minmax(0, 1fr) 82px 54px 54px 54px 70px 90px;
}

.staff-table.alerts > div {
  grid-template-columns: minmax(220px, 1.4fr) 74px 140px 90px 86px 120px;
}

.staff-table.scheduler-runs > div {
  grid-template-columns: 92px 92px 86px 118px 86px 70px 90px;
}

.staff-table.seo-audit > div {
  grid-template-columns: 36px minmax(0, 1.3fr) 96px 70px minmax(0, 0.86fr) minmax(0, 1fr) 150px;
}

.staff-table.seo-suggestions-table > div {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 86px 120px 108px;
}

.staff-table-head {
  min-height: 38px !important;
  background: #f8fbff;
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.staff-table span,
.staff-table small,
.staff-table b,
.staff-table time {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-table b {
  color: var(--blue-dark);
}

.staff-table b.severity,
.status-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.status-dot.never {
  background: #eef2f6;
  color: #536579;
}

.status-dot.success {
  background: #e9f9ef;
  color: #157348;
}

.status-dot.failed,
.severity.error {
  background: #fff0f0;
  color: #b42318;
}

.status-dot.skipped,
.status-dot.partial,
.severity.warning {
  background: #fff7df;
  color: #a15c07;
}

.status-dot.noop {
  background: #eef2f6;
  color: #536579;
}

.severity.info {
  background: #eaf5ff;
  color: var(--blue-dark);
}

.staff-table small,
.staff-table time {
  color: var(--muted);
}

.seo-filter {
  grid-template-columns: minmax(220px, 1fr) 150px 150px 170px 74px;
}

.seo-queue-filter {
  grid-template-columns: minmax(220px, 1fr) 150px 74px;
}

.bulk-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #edf3fb;
  background: #fbfdff;
}

.bulk-action-bar span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.select-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.select-cell input {
  width: 16px;
  height: 16px;
}

.seo-metrics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.seo-ops-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 14px;
}

.seo-issue-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.seo-issue-list a {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
  border-right: 1px solid #edf3fb;
}

.seo-issue-list a:last-child {
  border-right: 0;
}

.seo-issue-list b {
  color: var(--title);
  font-size: 13px;
}

.seo-issue-list strong {
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1;
}

.seo-issue-list span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.seo-rule-panel dl {
  display: grid;
  margin: 0;
}

.seo-rule-panel dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf3fb;
}

.seo-rule-panel dl div:last-child {
  border-bottom: 0;
}

.seo-rule-panel dt {
  color: var(--blue-dark);
  font-weight: 900;
}

.seo-rule-panel dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.seo-notice-cell {
  display: grid;
  gap: 4px;
}

.seo-notice-cell a {
  min-width: 0;
  overflow: hidden;
  color: var(--title);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seo-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 46px;
  min-height: 28px;
  border: 1px solid #dbe8f6;
  background: #f8fbff;
}

.seo-score.good {
  border-color: #bfe9ce;
  background: #effaf3;
}

.seo-score.warn {
  border-color: #ffe1a8;
  background: #fff8e9;
}

.seo-score.muted {
  color: var(--muted);
}

.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  white-space: normal !important;
}

.seo-tags em {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  max-width: 100%;
  padding: 2px 7px;
  border: 1px solid #dbe8f6;
  background: #f8fbff;
  color: var(--blue-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.seo-tags em.error {
  border-color: #ffd0d0;
  background: #fff4f4;
  color: #b42318;
}

.seo-tags em.warning {
  border-color: #ffe1a8;
  background: #fff8e9;
  color: #a15c07;
}

.seo-advice {
  color: var(--muted);
  line-height: 1.5;
  white-space: normal !important;
}

.seo-review-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
}

.seo-review-notice,
.seo-review-side dl {
  padding: 14px;
}

.seo-review-notice {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid #edf3fb;
}

.seo-review-notice strong {
  color: var(--title);
  font-size: 18px;
  line-height: 1.35;
}

.seo-review-notice span,
.seo-review-notice p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.seo-review-side dl {
  display: grid;
  gap: 8px;
  margin: 0;
  border-bottom: 1px solid #edf3fb;
}

.seo-review-side dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
}

.seo-review-side dt {
  color: #536579;
  font-weight: 900;
}

.seo-review-side dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--title);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-tags {
  padding: 14px;
}

.seo-suggestion-meta {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-top: 1px solid #edf3fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.seo-suggestion-form {
  display: grid;
  align-content: start;
}

.seo-suggestion-fields {
  display: grid;
  grid-template-columns: minmax(130px, 0.32fr) minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
}

.seo-suggestion-fields label {
  display: grid;
  gap: 6px;
}

.seo-suggestion-fields label span {
  color: #536579;
  font-size: 12px;
  font-weight: 900;
}

.seo-suggestion-fields .wide {
  grid-column: 1 / -1;
}

.seo-suggestion-fields input,
.seo-suggestion-fields textarea {
  width: 100%;
  min-height: 38px;
  border: 1px solid #c7d7ea;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}

.seo-suggestion-fields textarea {
  resize: vertical;
  line-height: 1.7;
}

.dismiss-review-form {
  grid-column: 2;
  justify-self: start;
}

.dismiss-review-form button {
  min-height: 34px;
}

.staff-table.sources > div > span:first-child small {
  display: block;
}

.staff-table .source-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 8px;
  overflow: visible;
  white-space: normal;
}

.staff-table .source-meta small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.staff-table .source-meta small:last-child {
  grid-column: 1 / -1;
}

.staff-table .source-meta b:not(.status-dot) {
  font-size: 13px;
}

.schedule-editor {
  display: grid;
  grid-template-columns: 78px 58px 58px 64px;
  align-items: end;
  gap: 7px;
}

.schedule-editor label {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.schedule-editor label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.schedule-editor input[type="number"] {
  width: 100%;
  min-height: 32px;
  border: 1px solid #c7d7ea;
  padding: 5px 6px;
  color: var(--ink);
}

.schedule-editor .mini-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 6px;
  border: 1px solid #dbe8f6;
  background: #fbfdff;
}

.schedule-editor .mini-check input {
  margin: 0;
}

.schedule-editor button {
  min-width: 64px;
  padding: 0 8px;
}

.alert-board {
  border-color: #ffd8a8;
}

.inline-actions,
.inline-actions form {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.inline-actions a {
  color: var(--blue);
  font-weight: 800;
}

.staff-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-tabs a {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #cbdff5;
  background: #fff;
  color: var(--blue-dark);
  font-weight: 800;
}

.staff-form {
  padding: 16px;
}

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

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

.form-grid label {
  display: grid;
  gap: 6px;
}

.form-grid label span {
  color: #536579;
  font-size: 12px;
  font-weight: 900;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

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

.check-row input {
  width: auto;
  min-height: auto;
}

.form-errors {
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #ffd2b8;
  background: #fff7ed;
  color: #9a3412;
}

.inline-form {
  display: grid;
  grid-template-columns: 72px 64px;
  gap: 6px;
}

.inline-form input {
  min-width: 0;
  min-height: 32px;
  border: 1px solid #c7d7ea;
  padding: 4px 7px;
}

@media (max-width: 1100px) {
  .masthead,
  .home-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

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

  .main-nav-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .left-rail,
  .right-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-shell,
  .staff-grid,
  .staff-grid.split,
  .staff-metrics,
  .notice-workbench,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .advanced-filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .staff-sidebar nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seo-ops-grid {
    grid-template-columns: 1fr;
  }

  .seo-review-layout {
    grid-template-columns: 1fr;
  }

  .dismiss-review-form {
    grid-column: 1;
  }

  .seo-review-layout {
    grid-template-columns: 1fr;
  }

  .seo-issue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .portal-container,
  .page-head,
  .content-shell,
  .detail-shell,
  .pricing-shell,
  .checkout-shell,
  .account-shell,
  .form-shell,
  .auth-shell {
    width: min(100% - 20px, 1200px);
  }

  .notice-database-head {
    display: grid;
    align-items: start;
  }

  .notice-database-head h1 {
    font-size: 28px;
  }

  .database-kpis {
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .utility-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 6px 0;
  }

  .masthead {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 12px 0;
  }

  .masthead::after {
    inset: 8px 0 auto auto;
    width: 200px;
    height: 78px;
  }

  .portal-logo {
    gap: 10px;
  }

  .logo-emblem {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .portal-logo strong {
    font-size: 28px;
  }

  .portal-logo small {
    font-size: 13px;
  }

  .top-search,
  .filter-bar,
  .advanced-filter,
  .notice-card,
  .notice-row,
  .meta-grid,
  .masked-fields,
  .overview-grid,
  .pricing-shell,
  .payment-options,
  .account-kpis,
  .account-grid,
  .subscription-workspace,
  .subscription-form,
  .notification-section,
  .channel-toggles,
  .delivery-log-row,
  .subscription-hit,
  .alert-card,
  .order-row,
  .two-col-list {
    grid-template-columns: 1fr;
  }

  .quick-subscribe-strip,
  .alert-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-subscribe-strip .ghost-button,
  .quick-subscribe-strip form,
  .alert-toolbar .ghost-button,
  .alert-toolbar form {
    width: 100%;
  }

  .alert-tabs {
    width: 100%;
  }

  .alert-tabs a {
    flex: 1;
    justify-content: center;
  }

  .top-search {
    height: auto;
  }

  .top-search button,
  .advanced-search {
    min-height: 36px;
  }

  .advanced-search {
    margin-left: 0;
    min-height: 38px;
  }

  .masthead-search {
    overflow: hidden;
  }

  .hot-words {
    gap: 6px;
    max-height: 44px;
    overflow: hidden;
    font-size: 12px;
  }

  .hot-words a:nth-of-type(n+4) {
    display: none;
  }

  .left-rail,
  .right-rail {
    grid-template-columns: 1fr;
  }

  .main-nav {
    overflow: hidden;
  }

  .main-nav-inner {
    display: flex;
    min-height: 38px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .main-nav-inner::-webkit-scrollbar {
    display: none;
  }

  .main-nav-inner a {
    flex: 0 0 auto;
    min-width: 92px;
    padding: 0 10px;
    font-size: 15px;
  }

  .channel-strip {
    background: #eef5fd;
  }

  .channel-grid {
    display: none;
  }

  .mobile-channel-menu {
    display: block;
    padding: 8px 0;
  }

  .mobile-channel-menu summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #cbdff5;
    background: #fff;
    color: var(--blue-dark);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
  }

  .mobile-channel-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-channel-menu summary::after {
    content: "展开";
    color: var(--muted);
    font-size: 12px;
  }

  .mobile-channel-menu[open] summary::after {
    content: "收起";
  }

  .mobile-channel-menu div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 6px;
    background: #dbe8f6;
  }

  .mobile-channel-menu a {
    min-height: 36px;
    padding: 8px 10px;
    background: #fff;
    color: #176dd0;
    font-weight: 800;
  }

  .hero-ad {
    min-height: 220px;
  }

  .ad-brand strong {
    font-size: 22px;
  }

  .ad-slogan {
    left: 20px;
    right: 20px;
    bottom: 58px;
    font-size: 22px;
  }

  .train {
    width: 150px;
  }

  .notice-card-side {
    justify-items: start;
  }

  .pulse-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .pulse-strip a {
    min-height: 48px;
    padding: 0 12px;
  }

  .source-ticker {
    grid-template-columns: 1fr auto;
    gap: 0;
  }

  .source-ticker > strong {
    justify-content: start;
    padding-left: 10px;
  }

  .source-ticker > div {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    min-width: 0;
    padding: 6px 10px 8px;
    border-top: 1px solid #edf3fb;
  }

  .source-ticker a {
    display: block;
    width: 100%;
  }

  .source-ticker > a:last-child {
    padding-right: 10px;
  }

  .result-board-head {
    display: none;
  }

  .row-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: start;
  }

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

  .portal-side {
    grid-template-columns: 1fr;
  }

  .masked-fields div {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .procurement-core-module > header {
    display: grid;
  }

  .structured-article-body > header {
    display: grid;
  }

  .procurement-core-grid,
  .notice-contact-module dl,
  .source-trace-module dl,
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .procurement-core-grid div,
  .notice-contact-module div,
  .source-trace-module div,
  .overview-grid div,
  .public-project-name {
    grid-template-columns: 1fr;
  }

  .procurement-core-grid dt,
  .procurement-core-grid dd,
  .notice-contact-module dt,
  .notice-contact-module dd,
  .source-trace-module dt,
  .source-trace-module dd,
  .overview-grid dt,
  .overview-grid dd,
  .public-project-name {
    padding: 8px;
  }

  .preview-head {
    display: grid;
  }

  .staff-page-head,
  .quality-board-head,
  .quality-metrics,
  .scheduler-health-strip,
  .quality-board-grid,
  .staff-filter,
  .schedule-guide-grid,
  .form-grid.two,
  .staff-table.compact > div,
  .staff-table.notices > div,
  .staff-table.orders > div,
  .staff-table.members > div,
  .staff-table.sources > div,
  .staff-table.runs > div,
  .staff-table.scheduler-runs > div,
  .staff-table.alerts > div,
  .staff-table.seo-audit > div,
  .staff-table.seo-suggestions-table > div,
  .seo-filter,
  .seo-queue-filter,
  .seo-ops-grid,
  .seo-issue-list {
    grid-template-columns: 1fr;
  }

  .staff-page-head {
    display: grid;
    align-items: start;
  }

  .staff-card > header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 8px 12px;
  }

  .quality-board-head {
    display: grid;
    align-items: start;
  }

  .quality-metric {
    min-height: 78px;
    border-right: 0;
    border-bottom: 1px solid #edf3fb;
  }

  .quality-metric:last-child,
  .scheduler-health-strip > div:last-child,
  .quality-block:last-child {
    border-bottom: 0;
  }

  .scheduler-health-strip > div {
    border-right: 0;
    border-bottom: 1px solid #edf3fb;
  }

  .quality-block {
    border-right: 0;
    border-bottom: 1px solid #edf3fb;
  }

  .seo-issue-list a {
    border-right: 0;
    border-bottom: 1px solid #edf3fb;
  }

  .seo-issue-list a:last-child {
    border-bottom: 0;
  }

  .seo-rule-panel dl div {
    grid-template-columns: 1fr;
  }

  .seo-suggestion-fields {
    grid-template-columns: 1fr;
  }

  .schedule-editor {
    grid-template-columns: minmax(0, 1fr) 74px 74px 68px;
    width: 100%;
  }

  .staff-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .staff-table-head {
    display: none !important;
  }
}
