:root {
  --fe-ink-950: #10233f;
  --fe-ink-900: #18314f;
  --fe-ink-800: #254363;
  --fe-ink-700: #345677;
  --fe-slate-100: #f5f7fb;
  --fe-slate-200: #e4e8f0;
  --fe-slate-300: #cfd7e5;
  --fe-slate-500: #71839b;
  --fe-slate-700: #425468;
  --fe-gold-500: #b89253;
  --fe-gold-300: #dec188;
  --fe-emerald-500: #3f7d68;
  --fe-white: #ffffff;
  --fe-success: #1f7a52;
  --fe-danger: #ac3d3d;
  --fe-shadow: 0 14px 34px rgba(16, 35, 63, 0.09);
  --fe-radius-lg: 8px;
  --fe-radius-md: 8px;
  --fe-radius-sm: 6px;
  --fe-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fe-ink-950);
  background:
    radial-gradient(circle at 12% 0%, rgba(184, 146, 83, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(247, 249, 252, 1) 0%, rgba(255, 255, 255, 0.98) 44%, rgba(245, 247, 251, 1) 100%);
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Noto Serif SC", sans-serif;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

.fe-portal-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24, 49, 79, 0.035), rgba(24, 49, 79, 0) 280px),
    linear-gradient(90deg, rgba(63, 125, 104, 0.045), rgba(184, 146, 83, 0.035));
  z-index: -1;
}

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

.fe-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
}

.fe-site-header > .fe-shell {
  position: relative;
}

.fe-site-header__bar {
  border-bottom: 1px solid rgba(24, 49, 79, 0.08);
  background: linear-gradient(90deg, rgba(16, 35, 63, 0.97), rgba(24, 49, 79, 0.94));
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
}

.fe-site-header__bar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fe-site-header__bar-inner a {
  color: var(--fe-gold-300);
  text-decoration: none;
  white-space: nowrap;
}

.fe-site-header__bar-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.fe-site-header__bar-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.82rem;
}

.fe-site-header__main {
  margin: 12px 0 0;
  padding: 13px 18px;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 38px rgba(16, 35, 63, 0.08);
  display: flex;
  align-items: center;
  gap: 22px;
}

.fe-brand {
  min-width: 0;
  max-width: 280px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.fe-brand__mark {
  display: none;
}

.fe-brand__text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.fe-brand__text strong {
  display: block;
  overflow: hidden;
  color: var(--fe-ink-950);
  font-size: 1.12rem;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fe-brand__text small {
  overflow: hidden;
  color: var(--fe-gold-500);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fe-site-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
}

.fe-site-nav a {
  position: relative;
  text-decoration: none;
  color: var(--fe-slate-700);
  font-size: 0.94rem;
  padding: 8px 0;
}

.fe-site-nav a.is-active,
.fe-site-nav a:hover {
  color: var(--fe-ink-900);
}

.fe-site-nav a.is-active::after,
.fe-site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--fe-gold-500), rgba(184, 146, 83, 0.2));
}

.fe-site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fe-site-actions form {
  margin: 0;
}

.fe-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--fe-radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.fe-btn:hover {
  transform: translateY(-1px);
}

.fe-btn--primary {
  background: linear-gradient(135deg, var(--fe-ink-900), var(--fe-ink-700));
  color: var(--fe-white);
  box-shadow: 0 12px 24px rgba(24, 49, 79, 0.16);
}

.fe-btn--outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(24, 49, 79, 0.16);
  color: var(--fe-ink-900);
}

.fe-btn--ghost {
  background: rgba(255, 255, 255, 0.65);
  color: var(--fe-ink-800);
}

.fe-btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.fe-menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(24, 49, 79, 0.12);
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.84);
  color: var(--fe-ink-900);
  font: inherit;
  font-weight: 700;
}

.fe-menu-toggle i {
  width: 16px;
  height: 10px;
  position: relative;
  display: inline-block;
  margin-left: 8px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

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

.fe-flash {
  margin: 20px auto 0;
  padding: 14px 18px;
  border-radius: var(--fe-radius-md);
  border: 1px solid transparent;
}

.fe-flash--success {
  background: rgba(31, 122, 82, 0.1);
  color: var(--fe-success);
  border-color: rgba(31, 122, 82, 0.18);
}

.fe-flash--danger {
  background: rgba(172, 61, 61, 0.1);
  color: var(--fe-danger);
  border-color: rgba(172, 61, 61, 0.18);
}

.fe-flash--form {
  margin-top: 18px;
}

.fe-page-hero,
.fe-home-hero,
.fe-auth-wrap,
.fe-dashboard-hero,
.fe-pay-layout,
.fe-order-layout {
  margin-top: 28px;
}

.fe-page-hero,
.fe-home-hero,
.fe-auth-wrap,
.fe-dashboard-hero,
.fe-pay-layout,
.fe-order-layout,
.fe-content-grid,
.fe-faq-list,
.fe-tax-grid,
.fe-dashboard-grid,
.fe-home-grid {
  display: grid;
  gap: 22px;
}

.fe-page-hero,
.fe-home-hero,
.fe-auth-wrap,
.fe-dashboard-hero,
.fe-pay-layout,
.fe-order-layout {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.9fr);
}

.fe-page-hero--card {
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(16, 35, 63, 0.07);
}

.fe-page-hero--card .fe-visual-card {
  min-height: 260px;
}

.fe-page-hero--card .fe-page-hero__copy {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: 6px 0;
}

.fe-page-hero__copy h1,
.fe-home-hero__copy h1,
.fe-auth-copy h1,
.fe-dashboard-hero__copy h1,
.fe-pay-hero h1,
.fe-order-hero h1 {
  margin: 0 0 16px;
  font-size: 3.35rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.fe-page-hero__copy p,
.fe-home-hero__copy p,
.fe-auth-copy p,
.fe-dashboard-hero__copy p,
.fe-pay-hero p,
.fe-order-hero p {
  margin: 0;
  max-width: 62ch;
  color: var(--fe-slate-700);
  font-size: 1.04rem;
}

.fe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--fe-ink-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fe-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--fe-gold-500), rgba(184, 146, 83, 0));
}

.fe-hero-actions,
.fe-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.fe-inline-links__item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 49, 79, 0.1);
  text-decoration: none;
  color: var(--fe-ink-800);
}

.fe-inline-links__item:hover {
  color: var(--fe-ink-950);
  box-shadow: 0 10px 25px rgba(16, 35, 63, 0.08);
}

.fe-visual-card,
.fe-panel,
.fe-auth-card,
.fe-summary-card,
.fe-order-panel,
.fe-pay-panel,
.fe-cookie__inner {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-lg);
  box-shadow: var(--fe-shadow);
}

.fe-visual-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 280px;
  padding: 28px;
  display: grid;
  align-content: end;
  gap: 8px;
  background:
    linear-gradient(140deg, rgba(24, 49, 79, 0.94), rgba(41, 75, 98, 0.9)),
    linear-gradient(90deg, rgba(184, 146, 83, 0.18), rgba(63, 125, 104, 0.16));
  color: rgba(255, 255, 255, 0.94);
}

.fe-visual-card picture,
.fe-visual-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fe-visual-card img {
  object-fit: cover;
}

.fe-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 35, 63, 0.06), rgba(16, 35, 63, 0.72)),
    linear-gradient(90deg, rgba(16, 35, 63, 0.42), rgba(16, 35, 63, 0.1));
}

.fe-visual-card figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.fe-visual-card strong {
  font-size: 2rem;
}

.fe-visual-card small,
.fe-visual-card__label {
  color: rgba(255, 255, 255, 0.76);
}

.fe-visual-card--compact {
  min-height: 240px;
}

.fe-visual-card--hero {
  min-height: 540px;
}

.fe-home-hero--background {
  position: relative;
  min-height: min(720px, calc(100vh - 132px));
  padding: 70px 64px;
  grid-template-columns: minmax(0, 0.9fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-lg);
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.98) 0%, rgba(245, 247, 251, 0.92) 42%, rgba(16, 35, 63, 0.18) 100%),
    url("../images/frontend-portal/hero-business-tax-portal.png") right center / cover no-repeat;
  box-shadow: 0 20px 58px rgba(16, 35, 63, 0.1);
}

.fe-home-hero--background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(16, 35, 63, 0.06));
  pointer-events: none;
}

.fe-home-hero--background .fe-home-hero__copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0;
}

.fe-home-hero--background .fe-home-hero__copy p {
  max-width: 58ch;
}

.fe-section-visual,
.fe-service-visual,
.fe-auth-visual {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-lg);
  box-shadow: var(--fe-shadow);
  background: rgba(255, 255, 255, 0.92);
}

.fe-section-visual {
  display: grid;
  aspect-ratio: 16 / 6;
  min-height: 300px;
  margin-bottom: 18px;
}

.fe-section-visual img,
.fe-service-visual img,
.fe-auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fe-section-visual figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  max-width: 680px;
  padding: 16px 18px;
  border-radius: var(--fe-radius-md);
  background: rgba(16, 35, 63, 0.82);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  backdrop-filter: blur(12px);
}

.fe-service-visual {
  aspect-ratio: 16 / 7;
  min-height: 340px;
}

.fe-service-visual--hero {
  min-height: 260px;
  aspect-ratio: 16 / 6;
}

.fe-auth-visual {
  min-height: 100%;
  margin-bottom: 0;
  display: grid;
  align-items: end;
}

.fe-auth-visual img {
  position: absolute;
  inset: 0;
}

.fe-auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 35, 63, 0.86), rgba(16, 35, 63, 0.34)),
    linear-gradient(180deg, rgba(16, 35, 63, 0.06), rgba(16, 35, 63, 0.72));
}

.fe-auth-visual figcaption {
  position: relative;
  z-index: 1;
  padding: 36px;
  color: rgba(255, 255, 255, 0.94);
  max-width: 620px;
}

.fe-auth-visual h1 {
  margin: 0 0 12px;
  font-size: 3rem;
  line-height: 1.12;
}

.fe-auth-visual p,
.fe-auth-visual .fe-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.fe-auth-visual .fe-auth-steps span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
}

.fe-auth-visual .fe-btn--outline,
.fe-auth-visual .fe-btn--ghost {
  background: rgba(255, 255, 255, 0.9);
}

.fe-auth-copy > .fe-eyebrow,
.fe-auth-copy > h1,
.fe-auth-copy > p,
.fe-auth-copy > .fe-auth-steps,
.fe-auth-copy > .fe-hero-actions {
  display: none;
}

.fe-section {
  margin-top: 28px;
}

.fe-section__head {
  margin-bottom: 18px;
}

.fe-section__head--compact {
  margin-bottom: 14px;
}

.fe-section__head--stacked {
  margin: 18px 0 0;
}

.fe-section__head h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.18;
}

.fe-section__title--md {
  font-size: 1.6rem;
}

.fe-section__title--sm {
  font-size: 1.4rem;
}

.fe-section__head p {
  margin: 0;
  max-width: 65ch;
  color: var(--fe-slate-700);
}

.fe-content-grid,
.fe-tax-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.fe-faq-list {
  margin-top: 18px;
}

.fe-panel,
.fe-tax-card,
.fe-faq-card,
.fe-summary-card,
.fe-order-panel,
.fe-pay-panel,
.fe-auth-card {
  padding: 28px;
}

.fe-tax-card,
.fe-faq-card,
.fe-panel--article {
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.07);
}

.fe-tax-card,
.fe-faq-card,
.fe-panel--article {
  display: grid;
  align-content: start;
  gap: 10px;
  border-top: 3px solid rgba(184, 146, 83, 0.38);
}

.fe-panel--article h2,
.fe-tax-card h3,
.fe-faq-card h3,
.fe-summary-card strong,
.fe-order-panel h2,
.fe-pay-panel h2,
.fe-auth-card h2 {
  margin: 0 0 12px;
}

.fe-panel--article p,
.fe-tax-card p,
.fe-faq-card p,
.fe-summary-card small,
.fe-order-panel p,
.fe-pay-panel p,
.fe-auth-card p {
  margin: 0;
  color: var(--fe-slate-700);
}

.fe-bullet-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--fe-slate-700);
}

.fe-bullet-list li + li {
  margin-top: 8px;
}

.fe-tax-card__source,
.fe-metric-label,
.fe-order-meta,
.fe-auth-note {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--fe-slate-500);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.fe-home-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
}

.fe-service-layout {
  margin-top: 28px;
}

.fe-service-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 420px);
  align-items: start;
  gap: 24px;
}

.fe-service-summary-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(16, 35, 63, 0.08);
}

.fe-service-summary-strip .fe-total-card--service {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px 24px;
  background: linear-gradient(150deg, rgba(16, 35, 63, 0.98), rgba(52, 86, 119, 0.92));
  color: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.fe-service-summary-strip .fe-total-card--service p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.fe-service-summary-strip .fe-total-card--service strong {
  font-size: 2rem;
}

.fe-service-summary-promise {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 22px 24px;
  border-left: 1px solid rgba(24, 49, 79, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 253, 0.98), rgba(241, 244, 248, 0.92));
}

.fe-service-summary-promise .fe-eyebrow {
  margin-bottom: 0;
}

.fe-service-error {
  margin-bottom: 18px;
}

.fe-service-main,
.fe-service-side {
  display: grid;
  gap: 22px;
}

.fe-service-side {
  position: sticky;
  top: 126px;
  align-self: start;
}

.fe-service-card-panel {
  min-height: 100%;
}

.fe-service-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 28px;
  margin-top: 28px;
}

.fe-service-hero--background {
  position: relative;
  min-height: 360px;
  padding: 44px;
  grid-template-columns: minmax(0, 720px);
  overflow: hidden;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-lg);
  background:
    linear-gradient(90deg, rgba(245, 247, 251, 0.98) 0%, rgba(245, 247, 251, 0.92) 44%, rgba(16, 35, 63, 0.12) 100%),
    url("../images/frontend-portal/service-desk-contracts.png") center / cover no-repeat;
  box-shadow: 0 20px 58px rgba(16, 35, 63, 0.09);
}

.fe-service-hero--background > div {
  position: relative;
  z-index: 1;
}

.fe-service-hero h1,
.fe-home-cta h2 {
  margin: 0 0 12px;
  font-size: 2.6rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.fe-service-hero p,
.fe-home-cta p {
  margin: 0;
  max-width: 62ch;
  color: var(--fe-slate-700);
}

.fe-home-hero--compact {
  min-height: calc(100vh - 132px);
  align-items: center;
}

.fe-home-hero--compact.fe-home-hero--background {
  min-height: min(720px, calc(100vh - 132px));
}

.fe-section--tight {
  margin-top: 18px;
}

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

.fe-service-strip article {
  padding: 24px;
  border-radius: var(--fe-radius-lg);
  border: 1px solid rgba(24, 49, 79, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(16, 35, 63, 0.07);
}

.fe-service-strip span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--fe-gold-500);
  font-weight: 700;
}

.fe-service-strip h2 {
  margin: 0 0 8px;
  font-size: 1.24rem;
}

.fe-service-strip p {
  margin: 0;
  color: var(--fe-slate-700);
}

.fe-service-strip--hero {
  margin-top: 22px;
  max-width: 760px;
}

.fe-service-strip--hero article {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.fe-service-strip--hero span {
  margin-bottom: 8px;
}

.fe-service-strip--hero h2 {
  font-size: 1.08rem;
}

.fe-service-strip--hero p {
  font-size: 0.92rem;
}

.fe-home-cta {
  margin-top: 22px;
  padding: 30px;
  border-radius: var(--fe-radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.96), rgba(37, 67, 99, 0.9)),
    url("../images/frontend-portal/tax-insights-office.png") center / cover;
  color: rgba(255, 255, 255, 0.95);
  overflow: hidden;
  position: relative;
}

.fe-home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 35, 63, 0.42);
}

.fe-home-cta > * {
  position: relative;
  z-index: 1;
}

.fe-home-cta p,
.fe-home-cta .fe-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.fe-form-grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.fe-home-main,
.fe-home-side {
  display: grid;
  gap: 22px;
}

.fe-home-hero {
  align-items: stretch;
}

.fe-home-hero__copy {
  padding: 18px 0;
}

.fe-home-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.fe-home-hero__fact {
  padding: 18px 20px;
  border-radius: var(--fe-radius-md);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(24, 49, 79, 0.07);
  box-shadow: 0 12px 30px rgba(16, 35, 63, 0.05);
}

.fe-home-hero__fact strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.fe-home-hero__fact span {
  color: var(--fe-slate-700);
  font-size: 0.92rem;
}

.fe-process-list,
.fe-promise-list,
.fe-news-list,
.fe-order-actions,
.fe-order-kpis {
  display: grid;
  gap: 14px;
}

.fe-process-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fe-process-card,
.fe-promise-card,
.fe-news-item,
.fe-kpi-card {
  padding: 20px;
  border-radius: var(--fe-radius-md);
  border: 1px solid rgba(24, 49, 79, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.fe-process-card span,
.fe-promise-card span,
.fe-news-item span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--fe-gold-500);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fe-process-card h3,
.fe-promise-card h3,
.fe-news-item h3,
.fe-kpi-card strong,
.fe-summary-card strong {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.fe-process-card p,
.fe-promise-card p,
.fe-news-item p,
.fe-kpi-card p {
  margin: 0;
  color: var(--fe-slate-700);
}

.fe-news-list {
  grid-template-columns: 1fr;
}

.fe-news-item a {
  margin-top: 16px;
}

.fe-form-grid {
  display: grid;
  gap: 16px;
}

.fe-field,
.fe-input-wrap,
.fe-total-card,
.fe-order-detail {
  display: grid;
  gap: 10px;
}

.fe-field label,
.fe-input-wrap label,
.fe-order-detail__label {
  color: var(--fe-slate-700);
  font-size: 0.92rem;
  font-weight: 600;
}

.fe-field label span {
  color: var(--fe-danger);
}

.fe-field input,
.fe-input-line input,
.fe-filter-select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(24, 49, 79, 0.14);
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.94);
  color: var(--fe-ink-950);
  font: inherit;
}

.fe-field input:focus,
.fe-input-line input:focus,
.fe-filter-select:focus {
  outline: none;
  border-color: rgba(52, 86, 119, 0.5);
  box-shadow: 0 0 0 4px rgba(52, 86, 119, 0.12);
}

.fe-home-body {
  display: block;
}

.fe-home-form,
.fe-sidebar-card,
.fe-auth-card,
.fe-dashboard-card,
.fe-order-panel,
.fe-pay-panel {
  padding: 24px;
}

.fe-service-order-panel {
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(247, 249, 252, 0.94)),
    linear-gradient(135deg, rgba(184, 146, 83, 0.1), rgba(63, 125, 104, 0.06));
}

.fe-service-order-panel .fe-btn {
  width: 100%;
}

.fe-card {
  width: 100%;
  padding: 22px;
  border-radius: var(--fe-radius-md);
  border: 1px solid rgba(24, 49, 79, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(16, 35, 63, 0.07);
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fe-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(16, 35, 63, 0.1);
}

.fe-card.is-selected {
  border-color: rgba(184, 146, 83, 0.55);
  box-shadow: 0 16px 36px rgba(16, 35, 63, 0.12);
}

.fe-price-card {
  position: relative;
  min-height: 248px;
  display: grid;
  align-content: start;
  gap: 10px;
  border-color: rgba(24, 49, 79, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.94)),
    linear-gradient(135deg, rgba(184, 146, 83, 0.1), rgba(24, 49, 79, 0.02));
}

.fe-price-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fe-gold-500), rgba(184, 146, 83, 0.08));
}

.fe-price-card__label {
  color: var(--fe-gold-500);
  font-size: 0.78rem;
  font-weight: 700;
}

.fe-price-card__action {
  align-self: end;
  justify-self: start;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: var(--fe-radius-sm);
  border: 1px solid rgba(24, 49, 79, 0.12);
  color: var(--fe-ink-800);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.fe-price-card__controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.fe-qty-btn {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(24, 49, 79, 0.14);
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.86);
  color: var(--fe-ink-900);
  font-weight: 800;
  line-height: 1;
}

.fe-qty-btn:hover {
  border-color: rgba(184, 146, 83, 0.44);
  background: rgba(184, 146, 83, 0.12);
}

.fe-qty-input {
  width: 54px;
  height: 34px;
  border: 1px solid rgba(24, 49, 79, 0.14);
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--fe-ink-900);
  text-align: center;
  font-weight: 700;
}

.fe-price-card button {
  cursor: pointer;
}

.fe-cart-summary {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.68);
}

.fe-cart-summary__items {
  display: grid;
  gap: 8px;
}

.fe-cart-summary__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  color: var(--fe-ink-900);
  font-size: 0.94rem;
}

.fe-cart-summary__item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fe-cart-summary__item strong {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fe-cart-summary__empty {
  margin: 0;
  color: var(--fe-slate-700);
  font-size: 0.92rem;
}

.fe-order-products {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(24, 49, 79, 0.08);
}

.fe-order-products__title {
  margin: 0 0 10px;
  color: var(--fe-ink-900);
  font-size: 0.98rem;
  font-weight: 800;
}

.fe-order-products__list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.fe-order-products__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(24, 49, 79, 0.09);
}

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

.fe-order-products__row span {
  min-width: 0;
  color: var(--fe-slate-700);
  overflow-wrap: anywhere;
}

.fe-order-products__row span small,
.fe-order-products__row span em {
  color: var(--fe-slate-500);
  font-size: 0.82rem;
  font-style: normal;
  white-space: nowrap;
}

.fe-order-products__row span em::before {
  content: " · ";
}

.fe-order-products__row strong {
  color: var(--fe-ink-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fe-order-products__row--adjustment span {
  color: var(--fe-ink-800);
}

.fe-order-products__more {
  margin: 2px 0 0;
  color: var(--fe-slate-500);
  font-size: 0.86rem;
}

.fe-price-card.is-selected .fe-price-card__action {
  border-color: rgba(184, 146, 83, 0.38);
  background: rgba(184, 146, 83, 0.14);
  color: var(--fe-ink-950);
}

.fe-price-card.is-selected .fe-price-card__action::before {
  content: "已选择 · ";
}

.fe-card__price {
  color: var(--fe-ink-900);
  font-size: 1.7rem;
  font-weight: 700;
}

.fe-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.fe-card__desc {
  margin: 0 0 14px;
  color: var(--fe-slate-700);
}

.fe-card__price-row,
.fe-card__tags,
.fe-section-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fe-card__tags {
  margin-top: 12px;
}

.fe-card__orig {
  color: var(--fe-slate-500);
}

.fe-card__tag {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  background: rgba(184, 146, 83, 0.12);
  border: 1px solid rgba(184, 146, 83, 0.18);
  border-radius: var(--fe-radius-sm);
  border-color: rgba(184, 146, 83, 0.18);
  color: var(--fe-ink-900);
  font-size: 0.86rem;
}

.fe-link-btn {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(24, 49, 79, 0.14);
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  color: var(--fe-ink-800);
  font: inherit;
}

.fe-total-card {
  padding: 20px;
  border-radius: var(--fe-radius-md);
  background: linear-gradient(150deg, rgba(16, 35, 63, 0.96), rgba(52, 86, 119, 0.9));
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(16, 35, 63, 0.12);
}

.fe-total-card strong {
  font-size: 2rem;
}

.fe-total-card small {
  color: rgba(255, 255, 255, 0.72);
}

.fe-auth-wrap,
.fe-dashboard-hero,
.fe-order-layout,
.fe-pay-layout {
  align-items: start;
}

.fe-dashboard-hero__copy,
.fe-pay-hero,
.fe-order-hero {
  padding: 18px 0;
}

.fe-auth-wrap {
  align-items: stretch;
}

.fe-auth-copy {
  display: grid;
}

.fe-auth-card form,
.fe-home-form form,
.fe-password-form,
.fe-order-actions,
.fe-pay-actions {
  display: grid;
  gap: 14px;
}

.fe-auth-card {
  display: grid;
  align-content: center;
  min-height: 620px;
}

.fe-auth-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.fe-auth-steps span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--fe-radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(24, 49, 79, 0.08);
  color: var(--fe-ink-800);
  font-size: 0.9rem;
}

.fe-check-row {
  gap: 12px;
}

.fe-checkbox-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fe-slate-700);
}

.fe-checkbox-line input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--fe-ink-800);
}

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

.fe-summary-card strong {
  display: block;
  font-size: 1.7rem;
}

.fe-summary-card small {
  display: block;
  margin-top: 12px;
}

.fe-summary-card--accent {
  background: linear-gradient(150deg, rgba(24, 49, 79, 0.94), rgba(52, 86, 119, 0.88));
  color: rgba(255, 255, 255, 0.96);
}

.fe-summary-card--accent span,
.fe-summary-card--accent small {
  color: rgba(255, 255, 255, 0.72);
}

.fe-summary-card--accent strong {
  color: var(--fe-gold-300);
}

.fe-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.fe-filter-actions {
  margin-top: auto;
}

.fe-filter-block {
  min-width: 180px;
  display: grid;
  gap: 8px;
}

.fe-table-wrap {
  overflow-x: auto;
}

.fe-orders-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.fe-orders-table th,
.fe-orders-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(24, 49, 79, 0.08);
  vertical-align: middle;
}

.fe-orders-table th {
  color: var(--fe-slate-500);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fe-order-no {
  font-family: "Consolas", "SFMono-Regular", monospace;
  word-break: break-all;
}

.fe-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--fe-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
}

.fe-status--0 {
  background: rgba(184, 146, 83, 0.14);
  color: #7d5b26;
}

.fe-status--1 {
  background: rgba(31, 122, 82, 0.12);
  color: var(--fe-success);
}

.fe-status--2 {
  background: rgba(172, 61, 61, 0.12);
  color: var(--fe-danger);
}

.fe-status--3 {
  background: rgba(113, 131, 155, 0.12);
  color: var(--fe-slate-700);
}

.fe-pay-panel__amount,
.fe-order-panel__amount {
  font-size: 2.2rem;
  color: var(--fe-ink-900);
  font-weight: 700;
}

.fe-order-panel__amount--code {
  font-size: 1.6rem;
}

.fe-countdown {
  color: var(--fe-gold-500);
  font-weight: 600;
}

.fe-pay-actions,
.fe-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.fe-pay-inline,
.fe-order-meta-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.fe-order-detail {
  grid-template-columns: 140px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid rgba(24, 49, 79, 0.08);
}

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

.fe-copy-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--fe-radius-sm);
  border: 1px solid rgba(24, 49, 79, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--fe-ink-900);
}

.fe-cookie {
  position: fixed;
  right: 16px;
  bottom: calc(16px + var(--fe-safe-bottom));
  z-index: 60;
  width: min(420px, calc(100% - 24px));
}

.fe-cookie__inner {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.fe-cookie__inner p {
  margin: 0;
  color: var(--fe-slate-700);
  font-size: 0.94rem;
}

.fe-site-footer {
  margin-top: 36px;
  padding: 32px 0 calc(22px + var(--fe-safe-bottom));
  background: linear-gradient(180deg, rgba(16, 35, 63, 0.96), rgba(16, 35, 63, 1));
  color: rgba(255, 255, 255, 0.86);
}

.fe-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}

.fe-site-footer__column h2 {
  margin: 0 0 12px;
  font-size: 1.32rem;
  color: var(--fe-white);
}

.fe-site-footer__column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.fe-site-footer__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--fe-gold-300);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fe-panel--spaced {
  margin-top: 26px;
}

.fe-table-wrap--spaced {
  margin-top: 20px;
}

.fe-actions--flat {
  margin: 0;
}

.fe-pagination {
  margin-top: 18px;
}

.fe-site-footer__links {
  display: grid;
  gap: 8px;
}

.fe-site-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.fe-site-footer__links a:hover {
  color: var(--fe-gold-300);
}

.fe-site-footer__column--legal {
  justify-self: end;
}

.fe-site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 22px;
}

.fe-site-footer__legal-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
}

.fe-site-footer__legal-links a:hover {
  color: var(--fe-gold-300);
}

.fe-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fe-site-footer__bottom p {
  margin: 0;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.fe-site-footer__bottom a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.fe-site-footer__bottom a:hover {
  color: var(--fe-gold-300);
}

.fe-check-list {
  margin: 0;
  padding-left: 18px;
  color: var(--fe-slate-700);
}

.fe-check-list li + li {
  margin-top: 10px;
}

.fe-panel--plain {
  box-shadow: 0 8px 22px rgba(16, 35, 63, 0.05);
}

.fe-mobile-tabbar {
  display: none;
}

@media (max-width: 1080px) {
  .fe-site-header__main,
  .fe-site-footer__grid,
  .fe-home-hero,
  .fe-home-grid,
  .fe-service-form-shell,
  .fe-service-hero,
  .fe-page-hero,
  .fe-auth-wrap,
  .fe-dashboard-hero,
  .fe-pay-layout,
  .fe-order-layout,
  .fe-content-grid,
  .fe-faq-list {
    grid-template-columns: 1fr;
  }

  .fe-site-header__main {
    display: flex;
    gap: 14px;
  }

  .fe-brand {
    max-width: min(280px, 34vw);
  }

  .fe-site-nav {
    justify-content: flex-start;
  }

  .fe-site-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .fe-dashboard-grid,
  .fe-process-list,
  .fe-service-strip,
  .fe-form-grid--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fe-service-side {
    position: static;
  }

  .fe-auth-card {
    min-height: auto;
  }

  .fe-service-hero--background {
    min-height: 300px;
    padding: 32px;
  }

  .fe-site-footer__column--legal {
    justify-self: start;
  }

  .fe-site-footer__legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    padding-bottom: calc(82px + var(--fe-safe-bottom));
    background:
      linear-gradient(180deg, #0d203a 0, #132942 156px, #f4f6fa 157px, #f7f9fc 100%);
  }

  .fe-shell {
    width: min(100%, calc(100% - 24px));
    padding-top: 76px;
  }

  .fe-shell--home,
  .fe-shell--service,
  .fe-site-header > .fe-shell {
    padding-top: 0;
  }

  .fe-portal-bg {
    background:
      linear-gradient(180deg, rgba(13, 32, 58, 0.92), rgba(13, 32, 58, 0) 260px),
      linear-gradient(90deg, rgba(184, 146, 83, 0.12), rgba(63, 125, 104, 0.05));
  }

  .fe-site-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 120;
    pointer-events: none;
    padding-top: env(safe-area-inset-top, 0px);
  }

  .fe-site-header > * {
    pointer-events: auto;
  }

  .fe-site-header__bar-inner {
    display: none;
  }

  .fe-site-header__bar {
    display: none;
  }

  .fe-site-header__bar-inner {
    gap: 10px;
    align-items: flex-start;
  }

  .fe-site-header__bar-inner > span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.74rem;
  }

  .fe-site-header__bar-links {
    gap: 8px 12px;
  }

  .fe-site-header__bar-links a {
    font-size: 0.72rem;
  }

  .fe-site-header__main {
    margin-top: 0;
    padding: 10px 12px 10px 14px;
    border-radius: 0 0 18px 18px;
    justify-content: space-between;
    position: relative;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(9, 24, 44, 0.68);
    box-shadow: 0 14px 36px rgba(7, 17, 31, 0.22);
    backdrop-filter: blur(18px);
  }

  .fe-brand__text small {
    display: none;
  }

  .fe-brand {
    max-width: calc(100vw - 128px);
  }

  .fe-brand__text strong {
    color: var(--fe-white);
    font-size: 0.98rem;
  }

  .fe-site-nav,
  .fe-site-actions {
    display: none;
  }

  .fe-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    font-size: 0.86rem;
  }

  .fe-mobile-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    z-index: 130;
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(16, 35, 63, 0.96), rgba(11, 25, 45, 0.96)),
      rgba(16, 35, 63, 0.96);
    box-shadow: 0 26px 70px rgba(7, 17, 31, 0.36);
    backdrop-filter: blur(18px);
    max-height: calc(100vh - 110px);
    overflow: auto;
  }

  .fe-mobile-menu[hidden] {
    display: none;
  }

  .fe-mobile-menu nav,
  .fe-mobile-menu__actions {
    display: grid;
    gap: 10px;
  }

  .fe-mobile-menu nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fe-mobile-menu a {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-radius: var(--fe-radius-sm);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .fe-mobile-menu form {
    margin: 0;
  }

  .fe-mobile-menu .fe-btn {
    min-height: 42px;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
  }

  .fe-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 125;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 12px calc(8px + var(--fe-safe-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 21, 39, 0.94);
    box-shadow: 0 -18px 44px rgba(7, 17, 31, 0.22);
    backdrop-filter: blur(18px);
  }

  .fe-mobile-tabbar a {
    min-width: 0;
    min-height: 54px;
    display: grid;
    place-items: center;
    gap: 3px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
  }

  .fe-mobile-tabbar a.is-active {
    color: var(--fe-white);
    background: linear-gradient(180deg, rgba(184, 146, 83, 0.22), rgba(184, 146, 83, 0.08));
  }

  .fe-mobile-tabbar__icon {
    position: relative;
    width: 21px;
    height: 21px;
    display: block;
    color: currentColor;
  }

  .fe-mobile-tabbar__icon::before,
  .fe-mobile-tabbar__icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
  }

  .fe-mobile-tabbar__icon--home::before {
    left: 3px;
    top: 8px;
    width: 15px;
    height: 10px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 2px;
  }

  .fe-mobile-tabbar__icon--home::after {
    left: 5px;
    top: 3px;
    width: 11px;
    height: 11px;
    border-left: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
  }

  .fe-mobile-tabbar__icon--news::before {
    inset: 3px 4px;
    border: 2px solid currentColor;
    border-radius: 3px;
  }

  .fe-mobile-tabbar__icon--news::after {
    left: 7px;
    right: 7px;
    top: 8px;
    height: 6px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
  }

  .fe-mobile-tabbar__icon--service::before {
    left: 4px;
    right: 4px;
    top: 6px;
    height: 11px;
    border: 2px solid currentColor;
    border-radius: 3px;
  }

  .fe-mobile-tabbar__icon--service::after {
    left: 8px;
    top: 3px;
    width: 6px;
    height: 5px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
  }

  .fe-mobile-tabbar__icon--mine::before {
    left: 7px;
    top: 3px;
    width: 8px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .fe-mobile-tabbar__icon--mine::after {
    left: 4px;
    right: 4px;
    bottom: 3px;
    height: 8px;
    border: 2px solid currentColor;
    border-radius: 9px 9px 3px 3px;
  }

  .fe-home-hero__facts,
  .fe-dashboard-grid,
  .fe-process-list,
  .fe-tax-grid,
  .fe-service-strip,
  .fe-form-grid--cards {
    grid-template-columns: 1fr;
  }

  .fe-page-hero__copy h1,
  .fe-home-hero__copy h1,
  .fe-auth-copy h1,
  .fe-dashboard-hero__copy h1,
  .fe-pay-hero h1,
  .fe-order-hero h1 {
    font-size: 2.05rem;
  }

  .fe-home-hero,
  .fe-page-hero,
  .fe-auth-wrap,
  .fe-dashboard-hero,
  .fe-pay-layout,
  .fe-order-layout,
  .fe-service-hero {
    gap: 16px;
    margin-top: 18px;
  }

  .fe-home-hero--background {
    min-height: 520px;
    margin: -4px -12px 0;
    padding: 112px 22px 28px;
    border-radius: 0 0 26px 26px;
    border: 0;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.28), rgba(7, 17, 31, 0.84)),
      linear-gradient(90deg, rgba(10, 24, 43, 0.74), rgba(10, 24, 43, 0.18)),
      url("../images/frontend-portal/mobile-portal-hero.png") center / cover no-repeat;
    color: var(--fe-white);
    box-shadow: 0 22px 48px rgba(7, 17, 31, 0.18);
  }

  .fe-home-hero--background .fe-eyebrow,
  .fe-home-hero--background .fe-home-hero__copy p {
    color: rgba(255, 255, 255, 0.78);
  }

  .fe-home-hero--background .fe-eyebrow::before {
    background: linear-gradient(90deg, var(--fe-gold-300), rgba(222, 193, 136, 0));
  }

  .fe-home-hero--background .fe-home-hero__copy h1 {
    color: var(--fe-white);
    max-width: 11em;
    font-size: 2.32rem;
    line-height: 1.1;
  }

  .fe-home-hero--background .fe-home-hero__copy {
    display: grid;
    align-content: end;
    min-height: 340px;
  }

  .fe-home-hero--background .fe-hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .fe-home-hero--background .fe-btn {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
  }

  .fe-home-hero--background .fe-btn--outline {
    color: var(--fe-white);
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.1);
  }

  .fe-home-hero--compact.fe-home-hero--background {
    min-height: 500px;
  }

  .fe-service-hero--background {
    min-height: 300px;
    margin: 18px 0 0;
    padding: 92px 22px 28px;
    align-items: end;
    border: 0;
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.82)),
      linear-gradient(90deg, rgba(10, 24, 43, 0.72), rgba(10, 24, 43, 0.08)),
      url("../images/frontend-portal/service-desk-contracts.png") center / cover no-repeat;
    color: var(--fe-white);
  }

  .fe-service-hero--background .fe-eyebrow,
  .fe-service-hero--background p {
    color: rgba(255, 255, 255, 0.78);
  }

  .fe-service-hero--background h1 {
    color: var(--fe-white);
    max-width: 10em;
  }

  .fe-page-hero--card {
    overflow: hidden;
    padding: 0;
    gap: 0;
    border: 0;
    border-radius: 22px;
    background: var(--fe-white);
  }

  .fe-page-hero--card .fe-page-hero__copy {
    min-height: auto;
    padding: 20px;
    order: 2;
  }

  .fe-page-hero--card .fe-visual-card {
    order: 1;
    min-height: 220px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fe-page-hero__copy h1,
  .fe-service-hero h1,
  .fe-dashboard-hero__copy h1,
  .fe-pay-hero h1,
  .fe-order-hero h1 {
    font-size: 1.78rem;
  }

  .fe-page-hero__copy p,
  .fe-service-hero p,
  .fe-dashboard-hero__copy p,
  .fe-pay-hero p,
  .fe-order-hero p {
    font-size: 0.96rem;
  }

  .fe-auth-visual {
    min-height: 320px;
  }

  .fe-auth-visual figcaption {
    padding: 24px;
  }

  .fe-auth-visual h1 {
    font-size: 2rem;
  }

  .fe-home-hero__facts {
    gap: 10px;
    margin-top: 18px;
  }

  .fe-home-hero__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fe-home-hero__fact {
    min-height: 82px;
    padding: 11px 10px;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: none;
    backdrop-filter: blur(10px);
  }

  .fe-home-hero__fact span {
    display: none;
  }

  .fe-home-hero__fact,
  .fe-service-strip article,
  .fe-card {
    padding: 16px;
  }

  .fe-section--tight {
    margin-top: 16px;
  }

  .fe-service-strip {
    gap: 10px;
  }

  .fe-service-strip--hero {
    display: grid;
  }

  .fe-service-strip article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    align-items: center;
    padding: 15px;
    border-radius: 16px;
  }

  .fe-service-strip article span {
    grid-row: span 2;
    margin: 0;
  }

  .fe-service-strip h2 {
    margin: 0;
    font-size: 1.02rem;
  }

  .fe-service-strip p {
    font-size: 0.9rem;
  }

  .fe-home-cta {
    display: none;
  }

  .fe-shell--home .fe-service-strip {
    display: none;
  }

  .fe-order-detail {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .fe-panel,
  .fe-tax-card,
  .fe-faq-card,
  .fe-summary-card,
  .fe-order-panel,
  .fe-pay-panel,
  .fe-auth-card,
  .fe-home-form,
  .fe-sidebar-card,
  .fe-dashboard-card {
    padding: 18px;
  }

  .fe-service-layout,
  .fe-content-grid,
  .fe-tax-grid,
  .fe-dashboard-grid {
    margin-top: 16px;
  }

  .fe-service-form-shell {
    gap: 14px;
  }

  .fe-service-summary-strip {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 18px;
  }

  .fe-service-card-panel,
  .fe-service-order-panel,
  .fe-tax-card,
  .fe-faq-card,
  .fe-panel--article,
  .fe-summary-card,
  .fe-order-panel,
  .fe-pay-panel,
  .fe-auth-card {
    border-radius: 18px;
  }

  .fe-service-card-panel .fe-section__head p,
  .fe-service-order-panel .fe-section__head p,
  .fe-tax-card p {
    font-size: 0.92rem;
  }

  .fe-price-card {
    min-height: 188px;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(16, 35, 63, 0.07);
  }

  .fe-card__title {
    font-size: 1.08rem;
  }

  .fe-card__desc {
    margin-bottom: 8px;
    font-size: 0.92rem;
  }

  .fe-card__price {
    font-size: 1.52rem;
  }

  .fe-price-card__action {
    width: 100%;
    justify-content: center;
    min-height: 38px;
    color: var(--fe-white);
    border-color: rgba(24, 49, 79, 0);
    background: linear-gradient(135deg, var(--fe-ink-900), var(--fe-ink-700));
  }

  .fe-service-order-panel {
    padding: 18px;
    position: relative;
  }

  .fe-total-card {
    padding: 18px;
    border-radius: 18px;
  }

  .fe-service-summary-strip .fe-total-card--service {
    padding: 18px;
    border-radius: 0;
    background: linear-gradient(150deg, rgba(16, 35, 63, 0.98), rgba(52, 86, 119, 0.92));
  }

  .fe-service-summary-strip .fe-total-card--service p {
    display: none;
  }

  .fe-service-summary-promise {
    display: none;
  }

  .fe-panel--plain {
    padding: 16px;
    font-size: 0.92rem;
  }

  .fe-tax-card {
    gap: 9px;
  }

  .fe-tax-card .fe-inline-links__item {
    min-height: 40px;
    margin-top: 4px;
  }

  .fe-auth-wrap {
    margin-top: 18px;
  }

  .fe-visual-card {
    min-height: 210px;
    padding: 22px;
  }

  .fe-visual-card--hero,
  .fe-service-visual,
  .fe-section-visual,
  .fe-service-visual--hero {
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }

  .fe-home-hero--compact {
    min-height: auto;
  }

  .fe-service-hero h1,
  .fe-home-cta h2 {
    font-size: 2rem;
  }

  .fe-home-cta {
    display: grid;
    padding: 22px;
  }

  .fe-auth-visual {
    border: 0;
    border-radius: 22px;
    min-height: 330px;
  }

  .fe-auth-card {
    border-radius: 18px;
  }

  .fe-dashboard-hero {
    margin-top: 18px;
  }

  .fe-dashboard-hero .fe-visual-card {
    min-height: 220px;
  }

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

  .fe-summary-card {
    min-height: 118px;
  }

  .fe-table-wrap {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
  }

  .fe-section-visual figcaption {
    position: static;
    border-radius: 0;
  }

  .fe-filter-block {
    width: 100%;
  }

  .fe-table-wrap {
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px;
  }

  .fe-pay-actions,
  .fe-order-actions,
  .fe-hero-actions,
  .fe-inline-links {
    flex-direction: column;
  }

  .fe-btn,
  .fe-inline-links__item {
    width: 100%;
  }

  .fe-cookie {
    left: 12px;
    right: 12px;
    bottom: calc(88px + var(--fe-safe-bottom));
    z-index: 140;
    width: auto;
  }

  .fe-cookie__inner {
    padding: 16px;
  }

  .fe-site-footer {
    margin-top: 20px;
    padding-top: 18px;
    padding-bottom: calc(84px + var(--fe-safe-bottom));
  }

  .fe-site-footer__grid {
    gap: 12px;
  }

  .fe-site-footer__column h2 {
    margin-bottom: 4px;
    font-size: 1rem;
  }

  .fe-site-footer__column p {
    font-size: 0.82rem;
    line-height: 1.48;
  }

  .fe-site-footer__bottom {
    margin-top: 10px;
    padding-top: 10px;
    gap: 6px 12px;
  }

  .fe-site-footer__bottom p {
    max-width: none;
    font-size: 0.8rem;
  }

  .fe-site-footer__legal-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
  }

  .fe-page-hero__copy h1,
  .fe-service-hero h1,
  .fe-dashboard-hero__copy h1,
  .fe-pay-hero h1,
  .fe-order-hero h1,
  .fe-auth-visual h1 {
    font-size: 1.58rem;
    line-height: 1.18;
  }

  .fe-home-hero--background .fe-home-hero__copy h1 {
    font-size: 2.02rem;
    line-height: 1.12;
    max-width: 10em;
  }

  .fe-home-hero--background .fe-home-hero__copy p,
  .fe-service-hero p,
  .fe-page-hero__copy p,
  .fe-auth-visual p,
  .fe-dashboard-hero__copy p,
  .fe-section__head p {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .fe-home-hero--background {
    min-height: 470px;
    padding: 104px 20px 24px;
  }

  .fe-home-hero--background .fe-home-hero__copy {
    min-height: 300px;
  }

  .fe-home-hero--compact.fe-home-hero--background {
    min-height: 470px;
  }

  .fe-service-hero--background {
    min-height: 260px;
    padding: 82px 20px 24px;
    border-radius: 18px;
  }

  .fe-page-hero--card,
  .fe-auth-visual,
  .fe-service-card-panel,
  .fe-service-order-panel,
  .fe-tax-card,
  .fe-faq-card,
  .fe-panel--article,
  .fe-summary-card,
  .fe-order-panel,
  .fe-pay-panel,
  .fe-auth-card {
    border-radius: 16px;
  }

  .fe-page-hero--card .fe-visual-card,
  .fe-dashboard-hero .fe-visual-card {
    min-height: 190px;
  }

  .fe-visual-card strong {
    font-size: 1.38rem;
  }

  .fe-panel,
  .fe-tax-card,
  .fe-faq-card,
  .fe-summary-card,
  .fe-order-panel,
  .fe-pay-panel,
  .fe-auth-card,
  .fe-home-form,
  .fe-sidebar-card,
  .fe-dashboard-card,
  .fe-service-order-panel {
    padding: 16px;
  }

  .fe-price-card {
    min-height: 168px;
    padding: 16px;
  }

  .fe-card__title,
  .fe-panel--article h2,
  .fe-tax-card h3,
  .fe-faq-card h3,
  .fe-auth-card h2 {
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .fe-card__desc,
  .fe-panel--article p,
  .fe-tax-card p,
  .fe-faq-card p,
  .fe-auth-card p,
  .fe-check-list {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .fe-card__price {
    font-size: 1.32rem;
  }

  .fe-total-card strong,
  .fe-order-panel__amount,
  .fe-pay-panel__amount,
  .fe-summary-card strong {
    font-size: 1.42rem;
  }

  .fe-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fe-summary-card {
    min-height: auto;
  }

  .fe-table-wrap {
    background: transparent;
    padding: 0;
  }

  .fe-mobile-menu {
    gap: 10px;
    padding: 14px;
  }

  .fe-mobile-menu nav {
    gap: 8px;
  }

  .fe-mobile-menu a,
  .fe-mobile-menu .fe-btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .fe-site-footer__eyebrow {
    margin-bottom: 8px;
    font-size: 0.76rem;
  }

  .fe-site-footer__column h2 {
    font-size: 1rem;
  }
}
