:root {
  --red: #1f7cff;
  --red-dark: #0d56d9;
  --red-soft: #4bd8ff;
  --text: #202124;
  --muted: #9aa0aa;
  --line: #f0f0f0;
  --panel: #ffffff;
  --field: #fafafa;
  --sidebar: #202733;
}

* {
  box-sizing: border-box;
}

html,
body,
main {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    Arial,
    sans-serif;
  background: #f5f9ff;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.login-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 54px 32px 76px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.9) 0 10%, transparent 22%),
    radial-gradient(circle at 58% 64%, rgba(31, 124, 255, 0.1) 0 12%, transparent 28%),
    linear-gradient(rgba(31, 124, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 124, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 20% 95%, rgba(255, 255, 255, 0.94) 0 26%, transparent 27%),
    radial-gradient(circle at 78% 100%, rgba(215, 235, 255, 0.78) 0 24%, transparent 25%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 48%, #eef6ff 100%);
  background-size:
    auto,
    auto,
    38px 38px,
    38px 38px,
    auto,
    auto,
    auto;
}

.login-page::after {
  position: absolute;
  right: -8vw;
  bottom: -3vh;
  width: 78vw;
  height: 22vh;
  content: "";
  background:
    linear-gradient(160deg, transparent 0 44%, rgba(31, 124, 255, 0.2) 45% 48%, transparent 49%),
    linear-gradient(158deg, transparent 0 48%, rgba(75, 216, 255, 0.16) 49% 52%, transparent 53%),
    linear-gradient(156deg, transparent 0 52%, rgba(31, 124, 255, 0.1) 53% 56%, transparent 57%);
  pointer-events: none;
}

.login-page::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 36%, rgba(31, 124, 255, 0.1) 37%, transparent 38%),
    linear-gradient(122deg, transparent 0 42%, rgba(75, 216, 255, 0.18) 43%, transparent 44%),
    linear-gradient(124deg, transparent 0 47%, rgba(31, 124, 255, 0.08) 48%, transparent 49%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 100%);
  pointer-events: none;
}

.login-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 565px 565px;
  align-items: center;
  justify-content: center;
  gap: 120px;
  width: min(100%, 1250px);
  margin-top: 38px;
}

.login-copy {
  position: relative;
  color: #0d56d9;
  transform: translateY(-58px);
}

.login-copy::before {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  margin-bottom: 26px;
  color: rgba(13, 86, 217, 0.72);
  content: "INSURANCE TECHNOLOGY";
  border: 1px solid rgba(31, 124, 255, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.login-copy p {
  margin: 0;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: 0;
}

.login-copy span {
  display: block;
  width: 135px;
  height: 7px;
  margin: 48px 0 50px;
  background: var(--red-dark);
}

.login-copy h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: 0 10px 30px rgba(31, 124, 255, 0.12);
}

.login-panel {
  position: relative;
  width: 565px;
  min-height: 592px;
  padding: 50px 55px 58px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow:
    0 28px 70px rgba(13, 86, 217, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.login-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red), var(--red-soft), transparent);
}

.login-panel::after {
  position: absolute;
  top: -80px;
  right: -90px;
  width: 180px;
  height: 180px;
  content: "";
  background: radial-gradient(circle, rgba(31, 124, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.login-panel h2 {
  margin: 0;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
}

.title-line {
  display: block;
  width: 58px;
  height: 5px;
  margin: 22px auto 40px;
  background: var(--red-dark);
}

.login-form {
  display: grid;
  gap: 26px;
}

.login-field {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  height: 80px;
  background: rgba(250, 250, 250, 0.9);
  border: 1px solid rgba(240, 240, 240, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.login-field:focus-within {
  border-color: rgba(31, 124, 255, 0.36);
  box-shadow:
    0 0 0 4px rgba(31, 124, 255, 0.08),
    0 14px 28px rgba(31, 124, 255, 0.08);
}

.field-icon {
  position: relative;
  width: 70px;
  height: 80px;
}

.user-icon::before {
  position: absolute;
  top: 26px;
  left: 31px;
  width: 12px;
  height: 12px;
  content: "";
  border: 2px solid #8e8e8e;
  border-radius: 50%;
}

.user-icon::after {
  position: absolute;
  top: 44px;
  left: 26px;
  width: 22px;
  height: 10px;
  content: "";
  border: 2px solid #8e8e8e;
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.lock-icon::before {
  position: absolute;
  top: 39px;
  left: 28px;
  width: 24px;
  height: 18px;
  content: "";
  border: 2px solid #8e8e8e;
  border-radius: 3px;
}

.lock-icon::after {
  position: absolute;
  top: 26px;
  left: 33px;
  width: 14px;
  height: 18px;
  content: "";
  border: 2px solid #8e8e8e;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.login-field input {
  width: 100%;
  height: 100%;
  padding: 0 20px;
  color: #444;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 23px;
}

.login-field input::placeholder {
  color: #a8acb6;
}

.login-error {
  min-height: 22px;
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
}

.login-button {
  height: 80px;
  margin-top: 38px;
  color: #fff;
  background: linear-gradient(135deg, #1f7cff, #0d56d9);
  border: 0;
  border-radius: 8px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 8px;
  box-shadow: 0 18px 36px rgba(31, 124, 255, 0.28);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.login-button:hover {
  background: linear-gradient(135deg, #268bff, #0b4fcb);
  box-shadow: 0 20px 42px rgba(31, 124, 255, 0.36);
  transform: translateY(-1px);
}

.login-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.login-footer {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 28px;
  color: #555;
  font-size: 16px;
}

.login-footer a {
  color: #3d7cff;
  text-decoration: none;
}

.system-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 240px 1fr;
  background: #f4f6f8;
}

.sidebar {
  padding: 28px 18px;
  color: #fff;
  background: var(--sidebar);
}

.system-logo {
  padding: 0 12px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.system-logo strong,
.system-logo small {
  display: block;
}

.system-logo strong {
  font-size: 20px;
}

.system-logo small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.side-nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.side-nav a {
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 6px;
}

.side-nav a.active,
.side-nav a:hover {
  color: #fff;
  background: var(--red);
}

.system-main {
  min-width: 0;
}

.system-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 96px;
  padding: 20px 32px;
  background: #fff;
  border-bottom: 1px solid #e9edf2;
}

.system-header h1 {
  margin: 0;
  font-size: 24px;
}

.system-header p {
  margin: 8px 0 0;
  color: #7b8494;
}

.user-box {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.user-box span {
  font-weight: 700;
}

.user-box button {
  height: 36px;
  padding: 0 14px;
  color: var(--red);
  background: #fff;
  border: 1px solid rgba(229, 57, 53, 0.32);
  border-radius: 6px;
}

.workspace {
  padding: 30px 32px;
}

.workspace-title {
  padding: 24px;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 8px;
}

.workspace-title h2 {
  margin: 0;
  font-size: 22px;
}

.workspace-title p {
  margin: 10px 0 0;
  color: #7b8494;
}

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

.quick-grid article {
  min-height: 130px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e9edf2;
  border-radius: 8px;
}

.quick-grid strong,
.quick-grid span {
  display: block;
}

.quick-grid strong {
  font-size: 18px;
}

.quick-grid span {
  margin-top: 12px;
  color: #7b8494;
  line-height: 1.7;
}

.system-page {
  min-height: 100vh;
  display: block;
  background:
    linear-gradient(180deg, #edf6ff 0, #f7f9fc 280px),
    #f7f9fc;
  color: #333;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 38px;
  background:
    linear-gradient(135deg, rgba(5, 35, 87, 0.98), rgba(9, 83, 160, 0.96)),
    #08275b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 30px rgba(8, 39, 91, 0.18);
}

.portal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 56px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 12px;
  overflow: hidden;
}

.portal-logo img {
  display: block;
  width: 114px;
  height: 48px;
  object-fit: contain;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  height: auto;
  margin-left: 26px;
}

.portal-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
}

.portal-nav a.active {
  color: #08326d;
  background: #fff;
}

.portal-nav a:focus-visible {
  outline: 2px solid rgba(38, 146, 248, 0.35);
  outline-offset: 4px;
}

.portal-nav a.active::after {
  content: none;
}

.portal-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  white-space: nowrap;
}

.portal-user strong {
  color: #fff;
  font-weight: 700;
}

.notice-dot,
.avatar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
}

.notice-dot {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.16);
}

.notice-dot::before {
  width: 10px;
  height: 12px;
  content: "";
  background: #62d7ff;
  border-radius: 8px 8px 5px 5px;
}

.avatar-button {
  width: 42px;
  height: 42px;
  background: linear-gradient(180deg, #d9f3ff, #8ed8ff);
}

.avatar-button::before {
  width: 18px;
  height: 18px;
  content: "";
  background: #2f99ff;
  border-radius: 50%;
  box-shadow: 0 15px 0 5px #2f99ff;
  transform: translateY(-8px);
}

.logout-link {
  height: 32px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.portal-banner {
  width: min(1840px, calc(100% - 88px));
  height: 118px;
  display: flex;
  align-items: center;
  margin: 24px auto 0;
  padding: 0 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 55, 132, 0.95), rgba(21, 132, 206, 0.9)),
    #0b4b9c;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(42, 122, 206, 0.22);
  overflow: hidden;
}

.portal-banner h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
}

.portal-banner h1::after {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 400;
  content: "产品检索 / 投保方案 / 快速询价";
}

.portal-content {
  width: min(1840px, calc(100% - 88px));
  margin: 20px auto 48px;
}

.filter-panel,
.business-product-card {
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(20, 74, 129, 0.08);
}

.filter-panel {
  position: relative;
  padding: 18px 24px 0;
  overflow: hidden;
}

.filter-panel::before {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  content: "";
  background: linear-gradient(180deg, #2aa4ff, #20c997);
  border-radius: 0 999px 999px 0;
}

.filter-row,
.search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  min-height: 48px;
  padding-bottom: 6px;
}

.filter-label {
  flex: 0 0 96px;
  color: #26364a;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.filter-pill,
.filter-more {
  height: 32px;
  min-width: 104px;
  padding: 0 16px;
  color: #536173;
  background: #f8fbff;
  border: 1px solid #dbe7f4;
  border-radius: 999px;
  font-size: 14px;
}

.filter-pill.active {
  color: #fff;
  background: #0869c7;
  border-color: #0869c7;
  box-shadow: 0 8px 18px rgba(8, 105, 199, 0.2);
}

.filter-more {
  min-width: 84px;
  color: #3098f5;
  border-color: transparent;
}

.search-row {
  flex-wrap: nowrap;
  min-height: 72px;
  padding: 14px 0;
  margin: 10px -24px 0;
  padding-left: 24px;
  padding-right: 24px;
  background: linear-gradient(90deg, #f4f9ff, #f8fafc);
  border-top: 1px solid #e6eef7;
}

.search-row select,
.search-row input[type="search"] {
  height: 42px;
  padding: 0 14px;
  color: #666;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  outline: 0;
  font-size: 15px;
}

.search-row select:first-of-type {
  width: 160px;
}

.search-row select:nth-of-type(2) {
  width: 220px;
}

.search-row input[type="search"] {
  width: 240px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 15px;
}

.search-button,
.reset-button {
  height: 42px;
  border-radius: 8px;
  font-size: 15px;
}

.search-button {
  color: #fff;
  background: #0869c7;
  border: 1px solid #0869c7;
}

.reset-button {
  color: #0869c7;
  background: #fff;
  border: 1px solid #0869c7;
}

.result-count {
  margin-left: auto;
  color: #555;
  font-size: 15px;
}

.result-count strong {
  color: #0869c7;
  font-size: 22px;
}

.product-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.portal-empty-state {
  margin: 0;
  padding: 46px 24px;
  color: #6b7280;
  text-align: center;
  background: #fff;
  border: 1px solid #e5eaf1;
  border-radius: 6px;
  font-size: 18px;
}

.business-product-card {
  position: relative;
  overflow: hidden;
}

.business-product-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  content: "";
  background: linear-gradient(180deg, #0b78d0, #22c55e);
}

.business-product-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  min-height: auto;
  padding: 22px 28px 18px 34px;
  border-bottom: 1px solid #edf2f7;
  background: linear-gradient(90deg, #fff, #f8fbff);
}

.business-product-card h2 {
  margin: 8px 0 0;
  color: #1f2937;
  font-size: 23px;
  font-weight: 800;
}

.product-tag {
  display: inline-flex;
  height: 26px;
  align-items: center;
  padding: 0 10px;
  color: #0869c7;
  background: #eaf5ff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.product-meta {
  margin: 8px 0 0;
  color: #667085;
  font-size: 14px;
}

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

.card-actions button {
  height: 34px;
  padding: 0 14px;
  color: #0869c7;
  background: #fff;
  border: 1px solid #cfe4fa;
  border-radius: 999px;
  font-size: 14px;
}

.product-body {
  display: grid;
  grid-template-columns: 178px minmax(0, 1fr) 220px;
  gap: 20px;
  min-height: 250px;
  padding: 24px 28px 24px 34px;
}

.product-media {
  padding: 0;
}

.product-image {
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 120, 208, 0.12), rgba(34, 197, 94, 0.1)),
    #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  font-size: 30px;
  font-weight: 900;
  color: #3098f5;
}

.shield-product {
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 177, 69, 0.48), transparent 28%),
    linear-gradient(150deg, #fff0e7, #ffe0d1);
}

.handshake-product {
  background:
    radial-gradient(circle at 50% 46%, rgba(48, 152, 245, 0.2), transparent 34%),
    linear-gradient(150deg, #fff4eb, #e9f4ff);
}

.product-image.small {
  height: 148px;
}

.score {
  width: 148px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 10px;
  color: #334155;
  background: #f0f9ff;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.score strong {
  margin-left: 6px;
  color: #0869c7;
  font-size: 15px;
}

.product-media a {
  display: block;
  margin: 14px 0 0;
  color: #0869c7;
  font-size: 14px;
  text-decoration: none;
}

.product-main {
  display: grid;
  gap: 16px;
  align-content: start;
}

.product-rules,
.coverage {
  padding: 0;
}

.product-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.product-rules p {
  min-height: 58px;
  margin: 0;
  padding: 12px 14px;
  color: #1f2937;
  background: #f8fafc;
  border: 1px solid #e6eef7;
  border-radius: 12px;
  font-size: 15px;
}

.product-rules p span {
  display: block;
  margin-bottom: 5px;
  color: #7b8794;
  font-size: 12px;
}

.coverage h3 {
  margin: 0 0 12px;
  color: #1f2937;
  font-size: 18px;
}

.coverage p {
  position: relative;
  margin: 0 0 10px;
  padding-left: 16px;
  color: #536173;
  font-size: 15px;
  line-height: 1.7;
}

.coverage p::before {
  position: absolute;
  top: 8px;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: #22c55e;
  border-radius: 50%;
}

.price-box {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  background: linear-gradient(180deg, #f7fbff, #eef8ff);
  border: 1px solid #dbeafe;
  border-radius: 16px;
}

.insurer-logo {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0869c7, #22c55e);
  border-radius: 16px;
  font-size: 22px;
  font-weight: 900;
}

.price-box strong {
  color: #ef4444;
  font-size: 26px;
}

.apply-button,
.plan-button {
  width: 100%;
  height: 44px;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
}

.apply-button {
  background: #0869c7;
}

.plan-button {
  color: #0869c7;
  background: #fff;
  border: 1px solid #b7d8f7;
}

.business-product-card > footer {
  padding: 18px 32px 22px;
  color: #ff3131;
  border-top: 1px solid #edf0f5;
  font-size: 17px;
  line-height: 1.7;
}

.compact-card .product-body {
  min-height: 250px;
}

.product-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 18px;
}

.product-pagination button {
  min-width: 40px;
  height: 36px;
  padding: 0 14px;
  color: #606a75;
  background: #fff;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  cursor: pointer;
}

.product-pagination button.active,
.product-pagination button:hover {
  color: #fff;
  background: #3098f5;
  border-color: #3098f5;
}

.portal-site-footer {
  display: flex;
  justify-content: center;
  gap: 34px;
  padding: 18px 0 10px;
  color: #8a94a3;
  font-size: 14px;
}

.portal-site-footer a {
  color: #7f8b9a;
  text-decoration: none;
}

.portal-float-help {
  position: fixed;
  right: 18px;
  top: 280px;
  z-index: 18;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7b61ff, #f05aa6);
  box-shadow: 0 10px 24px rgba(93, 83, 220, 0.32);
  cursor: pointer;
}

.portal-float-help::before {
  position: absolute;
  top: 10px;
  left: 16px;
  width: 22px;
  height: 28px;
  background: #fff;
  clip-path: polygon(48% 0, 100% 0, 66% 42%, 96% 42%, 34% 100%, 45% 57%, 12% 57%);
  content: "";
}

.portal-float-help::after {
  position: absolute;
  right: 10px;
  bottom: 9px;
  left: 10px;
  height: 5px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  content: "";
}

.portal-placeholder {
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(20, 74, 129, 0.08);
}

.portal-placeholder h2 {
  margin: 0;
  color: #2e333a;
  font-size: 24px;
}

.portal-placeholder p {
  margin: 12px 0 24px;
  color: #687282;
  line-height: 1.7;
}

.application-page {
  padding: 0;
  overflow: hidden;
}

.application-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 30px;
  background:
    linear-gradient(135deg, #ffffff, #f4faff);
  border-bottom: 1px solid #e4edf7;
}

.application-header button,
.application-form footer button,
.application-result footer button {
  height: 40px;
  min-width: 104px;
  padding: 0 18px;
  color: #0869c7;
  background: #fff;
  border: 1px solid #b7d8f7;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.application-header p {
  margin: 0 0 5px;
  color: #8290a2;
  font-size: 14px;
}

.application-header h2 {
  margin: 0;
  color: #1f2937;
  font-size: 24px;
}

.application-header span {
  color: #64748b;
  font-size: 15px;
}

.application-stepper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 22px 30px;
  background: #f4f9ff;
  border-bottom: 1px solid #e4edf7;
}

.application-stepper span {
  position: relative;
  height: 42px;
  display: grid;
  place-items: center;
  color: #64748b;
  background: #fff;
  border: 1px solid #dce7f5;
  border-radius: 999px;
  font-size: 16px;
}

.application-stepper span.active {
  color: #fff;
  background: #0869c7;
  border-color: #0869c7;
}

.application-summary {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 24px 30px;
  padding: 18px;
  background: linear-gradient(135deg, #f6fbff, #eef7ff);
  border: 1px solid #dbeafe;
  border-radius: 8px;
}

.application-summary .product-badge {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b63ce, #2fb4ff);
  border-radius: 8px;
  font-size: 18px;
  font-weight: 800;
}

.application-summary h3 {
  margin: 0 0 8px;
  color: #1f2937;
  font-size: 22px;
}

.application-summary p {
  margin: 0;
  color: #64748b;
}

.application-summary strong {
  color: #ff3b30;
  font-size: 28px;
}

.application-form {
  display: grid;
  gap: 18px;
  padding: 0 30px 30px;
}

.application-form fieldset {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 22px;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
}

.application-form legend {
  padding: 0 10px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 700;
}

.application-form label {
  display: grid;
  gap: 8px;
  color: #536173;
  font-size: 14px;
}

.application-form input,
.application-form select {
  height: 42px;
  padding: 0 14px;
  color: #334155;
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 5px;
  outline: 0;
  font: inherit;
}

.application-form input:focus,
.application-form select:focus {
  border-color: #329dff;
  box-shadow: 0 0 0 3px rgba(50, 157, 255, 0.12);
}

.application-form footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
}

.application-form footer .primary,
.application-result footer button:first-child {
  color: #fff;
  background: #0869c7;
  border-color: #0869c7;
}

.application-form button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.application-result {
  margin: 0 30px 30px;
  padding: 22px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
}

.application-result > span {
  display: inline-flex;
  height: 30px;
  align-items: center;
  padding: 0 12px;
  color: #047857;
  background: #dcfce7;
  border-radius: 999px;
  font-size: 14px;
}

.application-result h3 {
  margin: 12px 0 16px;
  color: #14532d;
  font-size: 22px;
}

.application-result dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 12px 18px;
  margin: 0;
}

.application-result div {
  display: grid;
  gap: 5px;
}

.application-result dt {
  color: #64748b;
  font-size: 13px;
}

.application-result dd {
  margin: 0;
  color: #1f2937;
  font-weight: 700;
}

.application-result footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.product-info-page article,
.proposal-page article {
  min-height: 620px;
  background:
    linear-gradient(180deg, #f3f9ff, #f8fafc 280px),
    #f8fafc;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  gap: 20px;
  padding: 24px 30px;
}

.scheme-panel,
.detail-benefits,
.proposal-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 63, 113, 0.06);
}

.scheme-panel h3,
.detail-benefits h3,
.proposal-card h3 {
  margin: 0 0 18px;
  color: #172033;
  font-size: 20px;
}

.option-line {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 46px;
  color: #455468;
  font-size: 15px;
}

.option-line > span {
  text-align: right;
}

.option-line > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-chip {
  min-width: 82px;
  height: 34px;
  padding: 0 16px;
  color: #4b5563;
  background: #f8fbff;
  border: 1px solid #dbe7f4;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.option-chip.active,
.option-chip:hover {
  color: #fff;
  background: #0869c7;
  border-color: #0869c7;
}

.option-line select,
.proposal-form input,
.proposal-form select {
  height: 40px;
  min-width: 180px;
  padding: 0 12px;
  color: #334155;
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 8px;
  outline: 0;
  font: inherit;
}

.detail-benefits dl {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 6px;
  background: #f8fbff;
  border-radius: 14px;
}

.detail-benefits div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6eef7;
  border-radius: 12px;
}

.detail-benefits dt,
.detail-benefits dd {
  margin: 0;
}

.detail-benefits dt {
  color: #64748b;
}

.detail-benefits dd {
  color: #1f2937;
  font-weight: 700;
}

.detail-doc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 30px;
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.detail-doc-tabs a {
  min-width: 126px;
  padding: 16px 20px;
  color: #0869c7;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid #e6edf5;
}

.detail-notice {
  margin: 0 30px 24px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e4edf7;
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.detail-notice p {
  margin: 0 0 10px;
  color: #4b5563;
  line-height: 1.8;
}

.floating-premium {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 16px 30px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #e4edf7;
  box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
}

.floating-premium span {
  margin-right: auto;
  color: #374151;
}

.floating-premium strong {
  color: #ef4444;
  font-size: 30px;
}

.floating-premium button,
.proposal-card header button,
.proposal-total button,
.text-button {
  height: 42px;
  min-width: 126px;
  padding: 0 18px;
  color: #fff;
  background: #0869c7;
  border: 1px solid #0869c7;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.floating-premium button:last-child,
.text-button {
  color: #0869c7;
  background: #fff;
  border-color: #b7d8f7;
}

.proposal-form {
  display: grid;
  gap: 18px;
  padding: 24px 30px 30px;
}

.proposal-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.proposal-card header h3 {
  margin: 0;
}

.proposal-grid {
  display: grid;
  grid-template-columns: 220px repeat(3, minmax(160px, 1fr));
  gap: 16px;
}

.proposal-grid label,
.proposal-job-card label {
  display: grid;
  gap: 8px;
  color: #536173;
  font-size: 14px;
}

.proposal-grid .wide {
  grid-column: span 2;
}

.upload-box {
  display: grid;
  min-height: 138px;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: #64748b;
  background: #f8fafc;
  border: 1px dashed #9ccbf4;
  border-radius: 14px;
}

.upload-box span {
  color: #0869c7;
  font-size: 28px;
}

.upload-box p {
  margin: 0;
}

.proposal-job-card {
  display: grid;
  grid-template-columns: 90px repeat(4, minmax(130px, 1fr));
  gap: 16px;
  align-items: end;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid #e4edf7;
  border-radius: 14px;
}

.proposal-job-card > strong {
  align-self: center;
  color: #1f2937;
  font-size: 18px;
}

.proposal-job-card > div {
  display: grid;
  gap: 8px;
  color: #536173;
  font-size: 14px;
}

.proposal-job-card > div strong {
  color: #ef4444;
  font-size: 20px;
}

.proposal-job-card .option-line {
  grid-column: span 2;
  grid-template-columns: 130px minmax(0, 1fr);
}

.proposal-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 16px;
}

.proposal-total span {
  margin-right: auto;
  color: #ef4444;
  font-size: 20px;
  font-weight: 700;
}

.personal-center {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 14px;
  padding: 0;
  background: linear-gradient(180deg, #5eb0fb 0%, #d9ecff 100%);
  border-radius: 0;
  box-shadow: none;
}

.personal-center[hidden] {
  display: none;
}

.personal-sidebar {
  overflow: hidden;
  background: #fff;
}

.personal-title {
  height: 138px;
  padding-top: 44px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(12, 55, 216, 0.94), rgba(55, 173, 255, 0.82)),
    url("../assets/insurance-hero.webp") center / cover;
}

.personal-title strong,
.personal-title span {
  display: block;
}

.personal-title strong {
  font-size: 30px;
  font-weight: 500;
}

.personal-title span {
  margin-top: 6px;
  font-size: 16px;
  opacity: 0.9;
}

.personal-menu {
  padding: 12px 0 26px;
}

.personal-menu h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  margin: 0;
  padding: 0 24px;
  color: #252b33;
  font-size: 20px;
  font-weight: 700;
}

.menu-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #329dff;
  box-shadow: 0 7px 14px rgba(50, 157, 255, 0.22);
}

.menu-icon.red {
  background: #ff6677;
}

.menu-icon.blue {
  background: #329dff;
}

.menu-icon.yellow {
  background: #f9b33f;
}

.menu-icon.coral {
  background: #ff6677;
}

.menu-icon.indigo {
  background: #6b8cff;
}

.menu-icon.purple {
  background: #745ef6;
}

.personal-menu button {
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 0 0 62px;
  color: #606a75;
  font: inherit;
  font-size: 18px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.personal-menu button:hover,
.personal-menu button.active {
  color: #fff;
  background: #329dff;
}

.personal-content {
  min-width: 0;
  margin: 40px 0 40px;
  padding: 28px 24px 36px;
  background: #fff;
  border-radius: 6px;
}

.agent-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.agent-module-header p {
  margin: 0 0 6px;
  color: #8290a2;
  font-size: 14px;
}

.agent-module-header h2 {
  margin: 0;
  color: #1f2937;
  font-size: 24px;
}

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

.agent-module-actions button,
.agent-module-query button,
.agent-module-form button {
  height: 40px;
  min-width: 82px;
  padding: 0 16px;
  color: #fff;
  font: inherit;
  font-size: 15px;
  border: 0;
  border-radius: 5px;
  background: #329dff;
  cursor: pointer;
}

.agent-module-actions button:hover,
.agent-module-query button:hover,
.agent-module-form button:hover {
  background: #1888eb;
}

.agent-module-query {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 18px;
  padding: 16px;
  background: #f7fbff;
  border: 1px solid #e3f1ff;
  border-radius: 6px;
}

.agent-module-query input,
.agent-module-form input {
  height: 40px;
  padding: 0 14px;
  color: #334155;
  font: inherit;
  border: 1px solid #d7dce3;
  border-radius: 5px;
  outline: 0;
}

.agent-module-query input {
  width: min(430px, 100%);
}

.agent-module-query input:focus,
.agent-module-form input:focus {
  border-color: #329dff;
  box-shadow: 0 0 0 3px rgba(50, 157, 255, 0.12);
}

.agent-module-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 6px;
}

.agent-module-form label {
  display: grid;
  gap: 8px;
  color: #536173;
  font-size: 14px;
}

.agent-module-form button {
  align-self: end;
}

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

.agent-stat-grid article {
  padding: 24px;
  border: 1px solid #e3f1ff;
  border-radius: 6px;
  background: #f7fbff;
}

.agent-stat-grid span,
.agent-stat-grid strong {
  display: block;
}

.agent-stat-grid span {
  color: #64748b;
}

.agent-stat-grid strong {
  margin-top: 14px;
  color: #1f2937;
  font-size: 28px;
}

.order-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-toolbar input {
  width: min(430px, 100%);
  height: 46px;
  padding: 0 14px;
  color: #334155;
  border: 1px solid #d7dce3;
  border-radius: 5px;
  outline: 0;
}

.order-toolbar input:focus {
  border-color: #329dff;
  box-shadow: 0 0 0 3px rgba(50, 157, 255, 0.12);
}

.icon-search,
.export-button,
.filter-toggle {
  height: 44px;
  color: #fff;
  background: #329dff;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.icon-search {
  position: relative;
  width: 56px;
}

.icon-search::before {
  position: absolute;
  top: 12px;
  left: 17px;
  width: 15px;
  height: 15px;
  border: 3px solid #fff;
  border-radius: 50%;
  content: "";
}

.icon-search::after {
  position: absolute;
  top: 27px;
  left: 34px;
  width: 12px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  transform: rotate(45deg);
  content: "";
}

.export-button {
  min-width: 58px;
  padding: 0 16px;
  font-size: 16px;
}

.filter-toggle {
  margin-left: auto;
  padding: 0 32px 0 18px;
  color: #329dff;
  background: transparent;
}

.filter-toggle::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-top: 10px solid #329dff;
  border-right: 9px solid transparent;
  border-left: 9px solid transparent;
  content: "";
}

.order-tabs {
  display: flex;
  gap: 48px;
  margin-top: 24px;
}

.order-tabs button {
  position: relative;
  padding: 0 0 13px;
  color: #303844;
  font: inherit;
  font-size: 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.order-tabs button.active {
  color: #329dff;
}

.order-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: #329dff;
  border-radius: 999px;
  content: "";
}

.order-table-wrap {
  overflow: auto;
  max-height: 660px;
  margin-top: 12px;
  border: 1px solid #e3e8ef;
}

.order-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  color: #59616c;
  font-size: 15px;
}

.order-table th {
  height: 56px;
  color: #262b33;
  font-size: 17px;
  font-weight: 700;
  background: #e1f1ff;
}

.order-table td {
  height: 116px;
  padding: 10px 14px;
  border-top: 1px solid #e3e8ef;
  border-left: 1px solid #e3e8ef;
  vertical-align: middle;
}

.order-table tr:nth-child(even) td {
  background: #f3f9ff;
}

.order-table td:first-child {
  width: 28%;
  border-left: 0;
}

.order-table td:nth-child(2) {
  width: 17%;
  text-align: center;
}

.order-table td:nth-child(3) {
  width: 22%;
}

.order-table td:nth-child(4) {
  width: 7%;
  text-align: center;
}

.order-table td:nth-child(5) {
  width: 14%;
}

.order-table td:nth-child(6) {
  width: 12%;
  min-width: 112px;
}

.order-table a,
.order-table span,
.order-table button {
  display: block;
}

.order-table a {
  margin: 4px 0;
  color: #3292e7;
  text-decoration: none;
}

.order-table span {
  margin: 5px 0;
}

.order-table button {
  width: 100%;
  margin: 5px 0;
  color: #238ce8;
  font: inherit;
  font-size: 15px;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.order-table button:hover {
  text-decoration: underline;
}

.order-table .empty-row {
  height: 160px;
  color: #6b7280;
  text-align: center;
  background: #fff;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  color: #606a75;
  font-size: 18px;
}

.pagination div {
  display: flex;
  gap: 12px;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  color: #4b5563;
  font: inherit;
  background: #fff;
  border: 1px solid #d8dee8;
  border-radius: 5px;
  cursor: pointer;
}

.pagination button.active,
.pagination button:hover {
  color: #fff;
  background: #329dff;
  border-color: #329dff;
}

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

.placeholder-grid article {
  padding: 20px;
  background: #f7fbff;
  border: 1px solid #dcecff;
  border-radius: 8px;
}

.placeholder-grid strong,
.placeholder-grid span {
  display: block;
}

.placeholder-grid span {
  margin-top: 10px;
  color: #687282;
}

.job-search {
  display: flex;
  gap: 12px;
}

.job-search input {
  width: 360px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
}

.job-search button {
  width: 110px;
  color: #fff;
  background: #3098f5;
  border: 0;
  border-radius: 4px;
}

.portal-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  max-width: 360px;
  padding: 13px 16px;
  color: #fff;
  background: #1f2a3d;
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.portal-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reserved-feature-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.38);
}

.reserved-feature-panel.show {
  display: flex;
}

.reserved-feature-card {
  width: min(620px, 100%);
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.25);
}

.reserved-feature-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid #e7eef7;
  background: #f7fbff;
}

.reserved-feature-card header span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #329dff;
  font-size: 14px;
  font-weight: 700;
}

.reserved-feature-card h2 {
  margin: 0;
  color: #172033;
  font-size: 24px;
}

.reserved-feature-card header button {
  width: 36px;
  height: 36px;
  color: #64748b;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.reserved-feature-card > p {
  margin: 0;
  padding: 22px 26px 10px;
  color: #465568;
  font-size: 16px;
  line-height: 1.65;
}

.reserved-feature-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 26px 24px;
}

.reserved-feature-card dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #edf2f7;
  border-radius: 6px;
}

.reserved-feature-card dt {
  color: #6b7280;
  font-weight: 700;
}

.reserved-feature-card dd {
  margin: 0;
  color: #263241;
}

.reserved-feature-card footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 26px 24px;
}

.reserved-feature-card footer button {
  height: 40px;
  min-width: 96px;
  color: #fff;
  font: inherit;
  background: #329dff;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
}

.channel-system {
  min-height: 100vh;
  color: #4b5563;
  background: #d9e1ea;
}

.channel-system[hidden] {
  display: none;
}

.channel-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  padding: 0 34px;
  background: #fff;
  border-bottom: 1px solid #d6dde5;
}

.channel-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #8b8f96;
  text-decoration: none;
}

.channel-brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
}

.channel-brand strong {
  color: #07308f;
  font-size: 28px;
  font-weight: 700;
}

.channel-account {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #6b7280;
  font-size: 18px;
}

.channel-account strong {
  color: #5f6670;
  font-weight: 500;
}

.channel-account button {
  color: #2f96ee;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.channel-shell {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  min-height: calc(100vh - 74px);
}

.channel-sidebar {
  position: relative;
  overflow: hidden;
  background: #29333c;
  transition: width 0.18s ease;
}

.channel-sidebar-title {
  height: 58px;
  margin: 0;
  padding: 16px 34px;
  color: #8f9aa5;
  font-size: 18px;
  background: #232c34;
}

.channel-menu {
  display: grid;
}

.channel-menu button {
  display: grid;
  align-items: center;
  grid-template-columns: 34px 1fr 18px;
  gap: 12px;
  height: 60px;
  padding: 0 32px;
  color: #aeb8c2;
  font: inherit;
  font-size: 20px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.channel-menu button:hover,
.channel-menu button.active {
  color: #fff;
  background: #0fb0ad;
}

.channel-submenu {
  display: none;
  padding: 8px 0 10px 82px;
  background: #202830;
}

.channel-submenu.open {
  display: grid;
}

.channel-submenu a {
  display: flex;
  align-items: center;
  height: 38px;
  color: #9da8b4;
  font-size: 17px;
  text-decoration: none;
}

.channel-submenu a:hover,
.channel-submenu a.active {
  color: #fff;
}

.channel-menu-icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.channel-menu-icon::before,
.channel-menu-icon::after {
  position: absolute;
  content: "";
}

.channel-menu-icon::before {
  inset: 4px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.channel-menu-icon::after {
  right: 1px;
  bottom: 1px;
  left: 1px;
  height: 2px;
  background: currentColor;
}

.channel-arrow {
  width: 0;
  height: 0;
  border-top: 6px solid currentColor;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  opacity: 0.85;
}

.channel-collapse {
  position: absolute;
  right: -2px;
  bottom: 190px;
  width: 72px;
  height: 50px;
  color: #fff;
  font-size: 28px;
  background: #1f252d;
  border: 0;
  border-radius: 28px 0 0 28px;
  cursor: pointer;
}

.channel-sidebar.collapsed {
  width: 88px;
}

.channel-sidebar.collapsed .channel-sidebar-title,
.channel-sidebar.collapsed .channel-menu button {
  color: transparent;
}

.channel-sidebar.collapsed .channel-menu button {
  grid-template-columns: 34px;
  padding: 0 28px;
}

.channel-sidebar.collapsed .channel-submenu {
  display: none;
}

.channel-sidebar.collapsed .channel-menu-icon {
  color: #aeb8c2;
}

.channel-main {
  overflow: auto;
  padding: 26px 40px 42px;
}

.channel-card {
  overflow: hidden;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 8px;
}

.channel-card > header,
.channel-card-header {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 0 32px;
  border-bottom: 1px solid #edf0f3;
}

.channel-card > header h2,
.channel-card-header h2 {
  margin: 0;
  color: #222831;
  font-size: 24px;
}

.channel-card-header {
  justify-content: flex-start;
  gap: 26px;
}

.channel-card-header > div:first-child,
.channel-card > header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.channel-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 6px;
  background: #3299f4;
}

.channel-card-icon::before {
  font-size: 24px;
  font-weight: 800;
}

.channel-card-icon.sound::before {
  content: "!";
}

.channel-card-icon.data::before {
  content: "=";
}

.channel-card-icon.latest::before {
  content: "+";
}

.channel-message {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 84px;
  padding-right: 32px;
}

.channel-message header {
  border-bottom: 0;
}

.channel-message p {
  margin: 0;
  color: #545b66;
  text-align: center;
  font-size: 22px;
}

.channel-segments {
  display: inline-flex;
  overflow: hidden;
  margin-left: 12px;
  border-radius: 5px;
  background: #f2f2f6;
}

.channel-segments button {
  min-width: 98px;
  height: 46px;
  color: #747b85;
  font: inherit;
  font-size: 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.channel-segments button.active {
  color: #fff;
  background: #3299f4;
}

.channel-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  min-height: 250px;
  padding: 48px 34px 38px;
}

.channel-stats article {
  text-align: center;
}

.channel-stats span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 54px;
  color: #6f7680;
  font-size: 20px;
  background: #f0f0f6;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
}

.channel-stats strong {
  display: block;
  margin-top: 38px;
  color: #202832;
  font-size: 30px;
  font-weight: 400;
}

.channel-stats small {
  display: block;
  margin-top: 34px;
  color: #6b7280;
  font-size: 20px;
}

.channel-stats b {
  font-weight: 500;
}

.channel-orders header {
  min-height: 80px;
}

.channel-order-list {
  display: grid;
}

.channel-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.75fr);
  gap: 48px;
  padding: 26px 28px;
  border-top: 1px solid #edf0f3;
}

.channel-order-item:first-child {
  border-top: 0;
}

.channel-order-item p {
  margin: 0 0 18px;
  color: #64707f;
  font-size: 20px;
  line-height: 1.35;
}

.channel-order-item p:last-child {
  margin-bottom: 0;
}

.channel-empty {
  margin: 0;
  padding: 42px;
  color: #6b7280;
  text-align: center;
  font-size: 20px;
}

.channel-workspace {
  min-height: calc(100vh - 132px);
}

.channel-workspace-header {
  justify-content: space-between;
}

.channel-workspace-header > div:first-child {
  display: block;
}

.channel-workspace-header p {
  margin: 0 0 8px;
  color: #8b95a3;
  font-size: 15px;
}

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

.channel-workspace-actions button,
.channel-query-form button,
.channel-edit-form button {
  min-width: 92px;
  height: 38px;
  padding: 0 18px;
  color: #fff;
  font: inherit;
  font-size: 16px;
  border: 0;
  border-radius: 4px;
  background: #3299f4;
  cursor: pointer;
}

.channel-workspace-actions button:hover,
.channel-query-form button:hover,
.channel-edit-form button:hover {
  background: #187fe1;
}

.channel-query {
  padding: 22px 28px;
  border-bottom: 1px solid #edf0f3;
  background: #f8fafc;
}

.channel-query-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.channel-query-form input,
.channel-edit-form input,
.channel-edit-form select,
.channel-edit-form textarea {
  height: 38px;
  padding: 0 14px;
  color: #2f3742;
  font: inherit;
  font-size: 16px;
  border: 1px solid #dce3ec;
  border-radius: 4px;
  background: #fff;
  outline: 0;
}

.channel-edit-form select {
  appearance: none;
  padding-right: 34px;
  background:
    linear-gradient(45deg, transparent 50%, #8b95a3 50%) calc(100% - 18px) 16px / 7px 7px no-repeat,
    linear-gradient(135deg, #8b95a3 50%, transparent 50%) calc(100% - 12px) 16px / 7px 7px no-repeat,
    #fff;
}

.channel-edit-form textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.channel-query-form input {
  width: min(420px, 100%);
}

.channel-query-form input:focus,
.channel-edit-form input:focus,
.channel-edit-form select:focus,
.channel-edit-form textarea:focus {
  border-color: #3299f4;
  box-shadow: 0 0 0 3px rgba(50, 153, 244, 0.12);
}

.channel-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 28px 0;
}

.channel-summary article {
  padding: 18px 20px;
  border: 1px solid #edf0f3;
  border-radius: 6px;
  background: #fbfdff;
}

.channel-summary span {
  display: block;
  color: #778292;
  font-size: 15px;
}

.channel-summary strong {
  display: block;
  margin-top: 10px;
  color: #1f2937;
  font-size: 24px;
  font-weight: 600;
}

.channel-form-panel {
  padding: 22px 28px;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
}

.channel-edit-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 18px 22px;
}

.channel-edit-form label {
  display: grid;
  gap: 8px;
  color: #5f6b7a;
  font-size: 15px;
}

.channel-form-actions {
  display: flex;
  align-items: end;
  gap: 12px;
}

.channel-form-actions button[type="button"] {
  color: #3299f4;
  border: 1px solid #3299f4;
  background: #fff;
}

.channel-form-actions button[type="button"]:hover {
  color: #fff;
  background: #3299f4;
}

.channel-table-wrap {
  overflow: auto;
}

.channel-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}

.channel-table th,
.channel-table td {
  padding: 15px 16px;
  color: #566170;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  border-right: 1px solid #e9eef4;
  border-bottom: 1px solid #e9eef4;
  vertical-align: middle;
}

.channel-table th {
  color: #202832;
  font-weight: 600;
  white-space: nowrap;
  background: #eaf5ff;
}

.channel-table td:last-child,
.channel-table th:last-child {
  border-right: 0;
}

.channel-table tbody tr:nth-child(even) {
  background: #f7fbff;
}

.channel-table-actions {
  min-width: 128px;
}

.channel-table-actions button {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  color: #3299f4;
  font: inherit;
  font-size: 15px;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.channel-table-actions button:hover {
  color: #187fe1;
  text-decoration: underline;
}

.channel-loading {
  padding: 46px 20px;
  color: #7b8491;
  text-align: center;
}

.channel-module-footer {
  padding: 18px 28px 24px;
  color: #687384;
  font-size: 16px;
}

/* 2026-06 visual differentiation: make the two systems feel original. */
[data-login-page].login-page {
  background:
    radial-gradient(circle at 15% 24%, rgba(23, 143, 255, 0.2), transparent 28%),
    radial-gradient(circle at 84% 74%, rgba(32, 201, 151, 0.18), transparent 30%),
    linear-gradient(135deg, #eef8ff 0%, #ffffff 48%, #eefcf8 100%);
}

[data-login-page] .login-layout {
  width: min(1180px, calc(100% - 64px));
  grid-template-columns: minmax(360px, 0.95fr) 420px;
}

[data-login-page] .login-copy {
  padding: 44px 0 44px 48px;
  border-left: 6px solid #16a3ff;
}

[data-login-page] .login-copy p {
  color: #0c5fa8;
  font-size: 34px;
}

[data-login-page] .login-copy h1 {
  color: #063b7a;
  font-size: 72px;
}

[data-login-page] .login-panel {
  min-height: 520px;
  border: 1px solid rgba(48, 152, 245, 0.16);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(11, 83, 144, 0.14);
}

[data-channel-login-page].login-page {
  background:
    linear-gradient(120deg, rgba(7, 23, 48, 0.9), rgba(7, 44, 86, 0.86)),
    #071730;
}

[data-channel-login-page] .login-layout {
  width: min(1120px, calc(100% - 72px));
  grid-template-columns: 420px 420px;
  justify-content: center;
}

[data-channel-login-page] .login-copy {
  min-height: 520px;
  padding: 46px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  transform: none;
}

[data-channel-login-page] .login-copy p,
[data-channel-login-page] .login-copy h1 {
  color: #fff;
}

[data-channel-login-page] .login-copy h1::after {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  font-weight: 500;
  content: "渠道管理系统";
}

[data-channel-login-page] .login-panel {
  min-height: 520px;
  border-radius: 24px;
}

.system-page {
  background:
    linear-gradient(180deg, #f0f8ff 0, #f7fbff 260px),
    #f7fbff;
}

.portal-header {
  height: 72px;
  padding: 0 46px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(207, 223, 241, 0.9);
  box-shadow: 0 12px 28px rgba(15, 64, 116, 0.08);
  backdrop-filter: blur(14px);
}

.portal-logo {
  width: 154px;
  background: transparent;
  border-radius: 0;
}

.portal-logo img {
  width: 132px;
}

.portal-nav {
  gap: 4px;
  padding: 5px;
  background: #eef6ff;
  border: 1px solid #d9eaff;
  border-radius: 999px;
}

.portal-nav a {
  height: 36px;
  color: #53657a;
  font-size: 15px;
}

.portal-nav a.active {
  color: #fff;
  background: #0c78d8;
  box-shadow: 0 8px 18px rgba(12, 120, 216, 0.2);
}

.portal-user {
  color: #53657a;
}

.portal-user strong {
  color: #0d3b66;
}

.notice-dot {
  background: #eaf6ff;
}

.logout-link {
  color: #0c78d8;
  background: #fff;
  border-color: #c9e3fb;
}

.portal-banner {
  position: relative;
  height: 142px;
  align-items: flex-end;
  padding: 0 34px 28px;
  background:
    linear-gradient(135deg, rgba(8, 77, 143, 0.92), rgba(20, 157, 187, 0.88)),
    #084d8f;
  border: 0;
  border-radius: 0 0 22px 22px;
}

.portal-banner::before {
  position: absolute;
  top: 20px;
  right: 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  content: "产品工作台";
}

.portal-banner h1 {
  font-size: 36px;
}

.portal-banner h1::after {
  content: "产品筛选、方案试算、在线投保";
}

.filter-panel {
  display: grid;
  grid-template-columns: 1fr;
  padding: 22px 26px 0;
  border: 0;
  border-radius: 18px;
}

.filter-panel::before {
  display: none;
}

.filter-row {
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px dashed #e1ebf5;
}

.filter-label {
  flex-basis: 86px;
  padding-top: 7px;
  color: #0f3e68;
}

.filter-pill,
.filter-more {
  min-width: auto;
  height: 34px;
  background: transparent;
  border-color: transparent;
  border-radius: 8px;
}

.filter-pill.active {
  background: #0c78d8;
  border-color: #0c78d8;
}

.search-row {
  margin-top: 16px;
  background: #eef7ff;
  border-top: 0;
  border-radius: 14px;
}

.business-product-card {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(16, 72, 121, 0.1);
}

.business-product-card::before {
  width: 0;
}

.business-product-card > header {
  padding: 24px 28px 14px;
  background: #fff;
}

.business-product-card h2 {
  color: #10233d;
  font-size: 24px;
}

.product-body {
  grid-template-columns: 170px minmax(0, 1fr) 240px;
  padding: 22px 28px 28px;
}

.product-image,
.score,
.product-media a {
  width: 136px;
}

.product-image {
  height: 136px;
  border-radius: 24px;
}

.product-rules {
  grid-template-columns: repeat(3, minmax(130px, 1fr));
}

.product-rules p {
  min-height: 52px;
  background: #fff;
  border-color: #dfeaf6;
}

.coverage {
  padding: 18px 20px;
  background: #f8fbff;
  border: 1px solid #e3eef9;
  border-radius: 16px;
}

.price-box {
  background: #ffffff;
  border-color: #d7eaff;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px #f4f9ff;
}

.apply-button {
  background: linear-gradient(135deg, #0c78d8, #0aa6c8);
}

.business-product-card > footer {
  margin: 0 28px 24px;
  padding: 14px 18px;
  color: #b42318;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  font-size: 14px;
}

.channel-system {
  color: #263241;
  background: #f2f5f8;
}

.channel-topbar {
  height: 68px;
  padding: 0 28px;
  color: #fff;
  background: linear-gradient(135deg, #0b1f3a, #123f66);
  border-bottom: 0;
}

.channel-brand {
  color: #fff;
}

.channel-brand-logo {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 12px;
}

.channel-brand strong,
.channel-account,
.channel-account strong {
  color: #fff;
}

.channel-account {
  font-size: 15px;
}

.channel-account button {
  height: 34px;
  padding: 0 14px;
  color: #d8efff;
  border: 1px solid rgba(216, 239, 255, 0.35);
  border-radius: 999px;
}

.channel-shell {
  grid-template-columns: 248px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

.channel-sidebar {
  background: #fff;
  border-right: 1px solid #dde6ef;
  box-shadow: 8px 0 24px rgba(20, 47, 76, 0.04);
}

.channel-sidebar-title {
  height: 48px;
  padding: 14px 22px;
  color: #6b7c8f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  background: #f7fafc;
}

.channel-menu button {
  grid-template-columns: 24px 1fr 12px;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  color: #526171;
  font-size: 15px;
}

.channel-menu button:hover,
.channel-menu button.active {
  color: #0c65b5;
  background: #eef7ff;
}

.channel-submenu {
  padding: 4px 0 8px 52px;
  background: #fff;
}

.channel-submenu a {
  height: 32px;
  color: #6b7785;
  font-size: 14px;
}

.channel-submenu a:hover,
.channel-submenu a.active {
  color: #0c65b5;
}

.channel-collapse {
  right: 12px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  color: #0c65b5;
  background: #e8f4ff;
  border-radius: 999px;
  font-size: 20px;
}

.channel-main {
  padding: 24px 28px 40px;
}

.channel-card {
  margin-bottom: 20px;
  border: 1px solid #e0e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(20, 47, 76, 0.06);
}

.channel-card > header,
.channel-card-header {
  min-height: 64px;
  padding: 0 24px;
}

.channel-card > header h2,
.channel-card-header h2 {
  color: #162436;
  font-size: 19px;
}

.channel-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0c78d8, #20c997);
}

.channel-message {
  grid-template-columns: 260px 1fr;
  min-height: 74px;
}

.channel-message p {
  font-size: 17px;
}

.channel-segments {
  border-radius: 999px;
}

.channel-segments button {
  min-width: 76px;
  height: 36px;
  font-size: 15px;
}

.channel-segments button.active {
  background: #0c78d8;
}

.channel-stats {
  grid-template-columns: repeat(5, minmax(136px, 1fr));
  gap: 14px;
  min-height: auto;
  padding: 24px;
}

.channel-stats article {
  padding: 18px 16px;
  text-align: left;
  background: #f8fbff;
  border: 1px solid #e1ebf5;
  border-radius: 14px;
}

.channel-stats span {
  display: block;
  min-width: 0;
  height: auto;
  color: #66788a;
  background: transparent;
  clip-path: none;
  font-size: 14px;
}

.channel-stats strong {
  margin-top: 12px;
  color: #0b1f3a;
  font-size: 26px;
  font-weight: 700;
}

.channel-stats small {
  margin-top: 10px;
  font-size: 13px;
}

.channel-order-item {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 28px;
  padding: 20px 24px;
}

.channel-order-item p {
  margin-bottom: 10px;
  font-size: 15px;
}

.channel-workspace {
  min-height: calc(100vh - 116px);
}

.channel-workspace-actions button,
.channel-query-form button,
.channel-edit-form button {
  height: 36px;
  border-radius: 999px;
  background: #0c78d8;
  font-size: 14px;
}

.channel-query {
  padding: 18px 24px;
}

.channel-edit-form {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.channel-table th,
.channel-table td {
  padding: 12px 14px;
  font-size: 14px;
}

.channel-table th {
  background: #f3f8fd;
}

/* Workflow polish: compact sign-in, guided application and a distinct operations console. */
.login-page {
  padding: 36px 28px 54px;
}

[data-login-page] .login-layout,
[data-channel-login-page] .login-layout {
  width: min(980px, calc(100% - 56px));
  grid-template-columns: minmax(320px, 430px) 380px;
  gap: 72px;
  margin-top: 0;
}

[data-login-page] .login-copy,
[data-channel-login-page] .login-copy {
  min-height: auto;
  padding: 34px 0 34px 38px;
  color: #0d56d9;
  background: transparent;
  border: 0;
  border-left: 5px solid #16a3ff;
  border-radius: 0;
  transform: none;
}

[data-login-page] .login-copy p,
[data-channel-login-page] .login-copy p {
  color: #0c5fa8;
  font-size: 29px;
}

[data-login-page] .login-copy span,
[data-channel-login-page] .login-copy span {
  width: 92px;
  height: 5px;
  margin: 30px 0 32px;
}

[data-login-page] .login-copy h1,
[data-channel-login-page] .login-copy h1 {
  color: #063b7a;
  font-size: 58px;
}

.login-system-name {
  display: block;
  margin-top: 14px;
  color: #55718e;
  font-size: 18px;
  font-weight: 600;
}

[data-channel-login-page].login-page {
  background:
    radial-gradient(circle at 15% 24%, rgba(23, 143, 255, 0.2), transparent 28%),
    radial-gradient(circle at 84% 74%, rgba(32, 201, 151, 0.18), transparent 30%),
    linear-gradient(135deg, #eef8ff 0%, #ffffff 48%, #eefcf8 100%);
}

[data-channel-login-page] .login-copy h1::after {
  display: none;
}

[data-login-page] .login-panel,
[data-channel-login-page] .login-panel {
  width: 380px;
  min-height: 430px;
  padding: 40px 38px 42px;
  border-radius: 12px;
}

[data-login-page] .login-panel h2,
[data-channel-login-page] .login-panel h2 {
  font-size: 27px;
}

[data-login-page] .title-line,
[data-channel-login-page] .title-line {
  margin: 18px auto 30px;
}

[data-login-page] .login-form,
[data-channel-login-page] .login-form {
  gap: 18px;
}

[data-login-page] .login-field,
[data-channel-login-page] .login-field {
  grid-template-columns: 56px 1fr;
  height: 62px;
}

[data-login-page] .field-icon,
[data-channel-login-page] .field-icon {
  width: 56px;
  height: 62px;
  transform: scale(0.86);
}

[data-login-page] .login-field input,
[data-channel-login-page] .login-field input {
  padding: 0 12px;
  font-size: 17px;
}

[data-login-page] .login-button,
[data-channel-login-page] .login-button {
  height: 58px;
  margin-top: 20px;
  font-size: 20px;
}

.application-stepper span.current {
  box-shadow: 0 0 0 4px rgba(8, 105, 199, 0.13);
}

.application-form-step {
  display: grid;
  gap: 18px;
}

.step-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 4px 0;
}

.step-heading div {
  display: grid;
  gap: 5px;
}

.step-heading span {
  color: #0c78d8;
  font-size: 13px;
  font-weight: 700;
}

.step-heading h3 {
  margin: 0;
  color: #152438;
  font-size: 22px;
}

.step-heading p {
  margin: 0;
  color: #7a8796;
  font-size: 13px;
}

.application-form .wide-field {
  grid-column: span 2;
}

.application-material-fields input[type="file"] {
  height: auto;
  min-height: 42px;
  padding: 8px;
  background: #f8fbff;
}

.application-material-fields small {
  color: #8a96a5;
  font-size: 12px;
}

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

.application-review section {
  display: grid;
  min-height: 112px;
  align-content: center;
  gap: 8px;
  padding: 20px;
  background: #f7faff;
  border: 1px solid #dce8f5;
  border-radius: 8px;
}

.application-review span,
.application-review small {
  color: #718096;
  font-size: 13px;
}

.application-review strong {
  color: #1b2d43;
  font-size: 18px;
}

.application-review .premium-review {
  background: #eff8ff;
  border-color: #b8dcfb;
}

.application-review .premium-review strong {
  color: #d92d20;
  font-size: 26px;
}

.application-declaration {
  display: flex !important;
  align-items: flex-start;
  gap: 10px !important;
  padding: 16px 18px;
  color: #475569 !important;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  line-height: 1.6;
}

.application-declaration input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
}

.record-detail-card {
  width: min(760px, calc(100% - 32px));
}

.record-detail-card dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.channel-topbar {
  background: #102d33;
}

.channel-brand > span {
  display: grid;
  gap: 2px;
}

.channel-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 500;
}

.channel-menu button:hover,
.channel-menu button.active {
  color: #0f766e;
  background: #edf9f7;
}

.channel-submenu a:hover,
.channel-submenu a.active {
  color: #0f766e;
}

.channel-card-icon,
.channel-workspace-actions button,
.channel-query-form button,
.channel-edit-form button,
.channel-segments button.active {
  background: #0f766e;
}

.channel-stats article:nth-child(1) {
  border-top: 3px solid #0f766e;
}

.channel-stats article:nth-child(2) {
  border-top: 3px solid #2563eb;
}

.channel-stats article:nth-child(3) {
  border-top: 3px solid #d97706;
}

.channel-stats article:nth-child(4) {
  border-top: 3px solid #7c3aed;
}

.channel-stats article:nth-child(5) {
  border-top: 3px solid #0891b2;
}

.channel-table th {
  color: #28444a;
  background: #edf6f5;
}

@media (max-width: 1100px) {
  [data-login-page] .login-layout,
  [data-channel-login-page] .login-layout {
    width: min(760px, calc(100% - 40px));
    grid-template-columns: 300px 360px;
    gap: 40px;
  }

  [data-login-page] .login-panel,
  [data-channel-login-page] .login-panel {
    width: 360px;
  }

  .login-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    width: min(100%, 565px);
  }

  .login-panel {
    width: 100%;
    min-height: auto;
  }

  .login-copy {
    transform: none;
  }

  .login-footer {
    position: relative;
    flex-wrap: wrap;
    margin-top: 34px;
    bottom: auto;
    font-size: 13px;
  }

  .channel-shell {
    grid-template-columns: 1fr;
  }

  .channel-sidebar {
    max-height: 320px;
    overflow: auto;
  }

  .channel-sidebar.collapsed {
    width: auto;
  }

  .channel-collapse {
    display: none;
  }

  .channel-main {
    padding: 18px;
  }

  .channel-card {
    margin-bottom: 18px;
  }

  .channel-workspace-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .channel-workspace-actions {
    justify-content: flex-start;
  }

  .channel-summary,
  .channel-edit-form,
  .channel-stats,
  .application-form fieldset,
  .application-result dl,
  .product-detail-layout,
  .proposal-grid,
  .proposal-job-card {
    grid-template-columns: 1fr;
  }

  .application-header,
  .application-summary {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .option-line,
  .proposal-job-card .option-line {
    grid-template-columns: 1fr;
  }

  .option-line > span {
    text-align: left;
  }

  .channel-order-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 1400px) {
  .portal-header {
    padding: 0 24px;
  }

  .portal-banner,
  .portal-content {
    width: calc(100% - 48px);
  }

  .search-row {
    flex-wrap: wrap;
  }

  .result-count {
    margin-left: 126px;
  }

  .product-body {
    grid-template-columns: 160px minmax(0, 1fr) 210px;
  }

  .product-image,
  .score {
    width: 138px;
  }
}

@media (max-width: 760px) {
  [data-login-page] .login-layout,
  [data-channel-login-page] .login-layout {
    width: min(390px, calc(100% - 24px));
    grid-template-columns: 1fr;
    gap: 20px;
  }

  [data-login-page] .login-copy,
  [data-channel-login-page] .login-copy {
    padding: 10px 0 10px 20px;
  }

  [data-login-page] .login-copy p,
  [data-channel-login-page] .login-copy p,
  [data-login-page] .login-copy > span,
  [data-channel-login-page] .login-copy > span {
    display: none;
  }

  [data-login-page] .login-copy h1,
  [data-channel-login-page] .login-copy h1 {
    font-size: 38px;
  }

  [data-login-page] .login-panel,
  [data-channel-login-page] .login-panel {
    width: 100%;
    min-height: auto;
  }

  .login-copy p {
    font-size: 30px;
  }

  .login-copy h1 {
    font-size: 44px;
  }

  .login-copy span {
    margin: 28px 0 34px;
  }

  .login-panel {
    padding: 36px 22px;
  }

  .login-field {
    grid-template-columns: 54px 1fr;
    height: 64px;
  }

  .field-icon {
    width: 54px;
    height: 64px;
  }

  .login-field input {
    font-size: 18px;
  }

  .login-button {
    height: 64px;
    font-size: 24px;
  }

  .system-page {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .system-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .portal-header {
    height: 72px;
    flex-wrap: nowrap;
    gap: 14px;
    padding: 0 14px;
  }

  .portal-logo {
    width: 74px;
    height: 48px;
    flex: 0 0 74px;
    padding: 4px 8px;
  }

  .portal-logo img {
    width: 60px;
    height: 40px;
    transform: none;
  }

  .portal-nav {
    order: 0;
    width: auto;
    flex: 1 1 auto;
    gap: 6px;
    height: auto;
    margin-left: 0;
  }

  .portal-nav a {
    height: 34px;
    padding: 0 10px;
    font-size: 14px;
  }

  .portal-user {
    flex: 0 0 auto;
    margin-left: 0;
    font-size: 12px;
  }

  .portal-user > span:not(.notice-dot) {
    display: none;
  }

  .notice-dot {
    display: none;
  }

  .portal-banner {
    width: calc(100% - 24px);
    height: 92px;
    padding: 0 20px;
  }

  .portal-content {
    width: calc(100% - 24px);
    margin-top: 14px;
  }

  .filter-panel {
    padding: 12px;
  }

  .filter-label {
    flex-basis: 86px;
    font-size: 15px;
  }

  .filter-pill {
    min-width: 108px;
  }

  .search-row {
    margin-right: -12px;
    margin-left: -12px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .result-count {
    margin-left: 0;
  }

  .product-body,
  .placeholder-grid,
  .application-stepper {
    grid-template-columns: 1fr;
  }

  .agent-module-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .agent-module-form,
  .agent-stat-grid,
  .application-form fieldset,
  .application-review,
  .application-result dl,
  .product-detail-layout,
  .proposal-grid,
  .proposal-job-card {
    grid-template-columns: 1fr;
  }

  .application-header,
  .application-summary {
    align-items: flex-start;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .application-form .wide-field {
    grid-column: auto;
  }

  .step-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .application-header,
  .application-stepper,
  .application-form,
  .proposal-form {
    padding-right: 16px;
    padding-left: 16px;
  }

  .application-summary,
  .application-result,
  .detail-doc-tabs,
  .detail-notice {
    margin-right: 16px;
    margin-left: 16px;
  }

  .application-form footer,
  .application-result footer,
  .floating-premium,
  .proposal-total {
    justify-content: stretch;
    flex-direction: column;
  }

  .option-line,
  .proposal-job-card .option-line {
    grid-template-columns: 1fr;
  }

  .option-line > span {
    text-align: left;
  }

  .price-box {
    padding: 22px;
    border-left: 0;
    border-top: 1px solid #edf0f5;
  }

  .business-product-card > header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }
}
