:root {
  --th-blue: #0878f9;
  --th-blue-strong: #0068ee;
  --th-blue-soft: #eef6ff;
  --th-navy: #0b1f47;
  --th-text: #13284f;
  --th-muted: #62779c;
  --th-border: #dce9fb;
  --th-card: rgba(255, 255, 255, 0.94);
  --th-bg: #f7faff;
  --th-success: #0faf55;
  --th-warning: #f59a23;
  --th-danger: #ef4444;
  --th-shadow: 0 10px 28px rgba(31, 87, 156, 0.09);
  --th-radius: 18px;
  --th-radius-sm: 12px;
  --th-sidebar: 232px;
  --th-topbar: 62px;
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  color: var(--th-text);
  background:
    radial-gradient(circle at 85% 0%, rgba(110, 177, 255, 0.23), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f4f9ff 100%);
  font-size: 15px;
}

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

button, input, select { font: inherit; }

.th-shell { min-height: 100vh; }

.th-topbar {
  height: var(--th-topbar);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 34px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--th-border);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.th-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.th-brand__mark { width: 36px; height: 36px; }

.th-brand__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #0d1f46;
}

.th-brand__divider {
  width: 1px;
  height: 24px;
  background: #cbd9ee;
  margin: 0 5px;
}

.th-brand__tagline {
  color: #526a91;
  font-weight: 600;
  font-size: 13px;
}

.th-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 700;
  color: #18345f;
}

.th-nav a {
  padding: 20px 0 17px;
  border-bottom: 3px solid transparent;
}

.th-nav a.is-active,
.th-nav a:hover {
  color: var(--th-blue);
  border-bottom-color: var(--th-blue);
}

.th-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.th-btn {
  min-height: 38px;
  border: 1px solid #a9c9f5;
  border-radius: 10px;
  padding: 0 18px;
  background: #fff;
  color: var(--th-blue-strong);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.th-btn--primary {
  color: #fff;
  border-color: var(--th-blue);
  background: linear-gradient(135deg, #1787ff 0%, #0069ef 100%);
  box-shadow: 0 8px 18px rgba(0, 105, 239, .2);
}

.th-btn--soft {
  background: var(--th-blue-soft);
  border-color: #cfe2fb;
}

.th-btn--wide { min-width: 178px; }

.th-page {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 56px;
}

.th-hero {
  min-height: 440px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 46px;
  position: relative;
}

.th-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #356cae;
  background: #edf5ff;
  border: 1px solid #d9e9ff;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  font-size: 13px;
}

.th-hero h1,
.th-page-title {
  margin: 18px 0 12px;
  color: #071d49;
  letter-spacing: -.6px;
}

.th-hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; }

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

.th-lead {
  color: #536b92;
  line-height: 1.8;
  font-size: 16px;
  max-width: 610px;
}

.th-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.th-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: #46658c;
  font-size: 13px;
}

.th-checks span::before {
  content: "✓";
  color: var(--th-success);
  margin-right: 6px;
  font-weight: 800;
}

.th-product-preview {
  min-height: 320px;
  border-radius: 22px;
  border: 1px solid #cfe1f8;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(237,246,255,.96)),
    linear-gradient(180deg,#fff,#eef6ff);
  box-shadow: 0 20px 50px rgba(43, 107, 188, .18);
  padding: 18px;
}

.th-preview-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 14px;
}

.th-preview-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c6d8ef;
}

.th-preview-grid {
  display: grid;
  grid-template-columns: .7fr 1.1fr .9fr;
  gap: 10px;
  height: 265px;
}

.th-preview-panel,
.th-preview-mini {
  background: rgba(255,255,255,.94);
  border: 1px solid #dce9f9;
  border-radius: 12px;
}

.th-preview-panel { padding: 12px; }

.th-preview-line {
  height: 9px;
  background: #e8f1fc;
  border-radius: 999px;
  margin: 10px 0;
}

.th-preview-line.is-blue { background: #d4e8ff; width: 70%; }
.th-preview-line.is-short { width: 48%; }

.th-section { margin-top: 34px; }

.th-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.th-section-title h2 {
  margin: 0;
  font-size: 25px;
  color: #0a214d;
}

.th-section-title p {
  margin: 4px 0 0;
  color: var(--th-muted);
}

.th-grid {
  display: grid;
  gap: 16px;
}

.th-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.th-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.th-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.th-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.th-card {
  background: var(--th-card);
  border: 1px solid var(--th-border);
  border-radius: var(--th-radius);
  box-shadow: var(--th-shadow);
}

.th-card--pad { padding: 22px; }

.th-card h3 {
  margin: 0 0 9px;
  color: #0d244e;
}

.th-card p {
  margin: 0;
  color: var(--th-muted);
  line-height: 1.65;
}

.th-feature-card { min-height: 150px; padding: 22px; }

.th-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--th-blue);
  background: #eaf4ff;
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 14px;
}

.th-kpi {
  min-height: 142px;
  padding: 18px;
}

.th-kpi__label {
  color: #29436c;
  font-weight: 700;
  font-size: 14px;
}

.th-kpi__value {
  margin-top: 14px;
  color: #0a1f49;
  font-size: 25px;
  font-weight: 800;
}

.th-kpi__meta {
  margin-top: 8px;
  color: var(--th-muted);
  font-size: 12px;
}

.th-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e9f7ef;
  color: #16954c;
  font-size: 12px;
  font-weight: 800;
}

.th-badge--blue { background: #e8f2ff; color: #0875ec; }
.th-badge--muted { background: #f1f4f8; color: #6b7b93; }

.th-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.th-data-table th {
  text-align: left;
  background: #edf4fd;
  color: #2d456d;
  padding: 11px 12px;
  font-weight: 800;
}

.th-data-table td {
  border-bottom: 1px solid #e8eef8;
  padding: 12px;
  color: #4b6284;
}

.th-empty {
  min-height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #8798b4;
}

.th-console {
  min-height: calc(100vh - var(--th-topbar));
  display: grid;
  grid-template-columns: var(--th-sidebar) minmax(0, 1fr);
}

.th-sidebar {
  background: rgba(250,252,255,.95);
  border-right: 1px solid var(--th-border);
  min-height: calc(100vh - var(--th-topbar));
  padding: 24px 16px;
}

.th-side-title {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 0 8px 20px;
  color: #0b234d;
}

.th-side-title strong { display: block; font-size: 18px; }
.th-side-title small { display: block; color: #7587a5; margin-top: 3px; }

.th-side-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg,#69b4ff,#2785f7);
  color: white;
  font-weight: 800;
}

.th-side-nav { display: grid; gap: 6px; }

.th-side-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-radius: 10px;
  color: #193765;
  font-weight: 700;
}

.th-side-nav a:hover,
.th-side-nav a.is-active {
  color: white;
  background: linear-gradient(135deg,#1588ff,#006af0);
  box-shadow: 0 8px 18px rgba(0,105,239,.18);
}

.th-side-nav .nav-glyph {
  width: 24px;
  text-align: center;
  font-weight: 900;
}

.th-console-main {
  min-width: 0;
  padding: 28px 26px 34px;
  background:
    radial-gradient(circle at 80% 0%, rgba(98,165,255,.19), transparent 35%),
    linear-gradient(180deg,#f7faff 0,#f4f9ff 100%);
}

.th-console-main h1 {
  margin: 0;
  font-size: 28px;
  color: #0a1f48;
}

.th-console-subtitle {
  margin: 7px 0 22px;
  color: #647a9c;
}

.th-console-section { margin-top: 16px; }

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

.th-panel-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid #e1ebf8;
}

.th-panel-head h2,
.th-panel-head h3 {
  margin: 0;
  font-size: 18px;
}

.th-panel-body { padding: 16px 18px; }

.th-search {
  min-width: 430px;
  max-width: 520px;
  height: 38px;
  border: 1px solid #c9dbf4;
  border-radius: 9px;
  background: #fff;
  color: #6c7f9d;
  padding: 0 14px;
}

.th-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.th-user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e5f1ff;
  color: var(--th-blue);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.th-public-footer {
  margin-top: 46px;
  border-top: 1px solid var(--th-border);
  padding: 34px 0 24px;
  color: #65799a;
  background: rgba(250,252,255,.75);
}

.th-footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 28px;
}

.th-footer-col strong {
  display: block;
  color: #203b65;
  margin-bottom: 10px;
}

.th-footer-col a,
.th-footer-col span {
  display: block;
  margin: 8px 0;
  font-size: 13px;
}

.th-skeleton {
  background: linear-gradient(90deg,#eef4fb 25%,#f8fbff 50%,#eef4fb 75%);
  background-size: 200% 100%;
  border-radius: 8px;
  min-height: 18px;
}

.th-price-shell { min-height: 250px; }
.th-price-shell.is-featured { border-color: #62a8ff; box-shadow: 0 12px 34px rgba(30,113,221,.15); }

.th-cta {
  display: grid;
  grid-template-columns: .8fr 1.5fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 0 100%, rgba(96,174,255,.25), transparent 45%),
    linear-gradient(135deg,#eef6ff,#ddecff);
}

.th-cta-visual {
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(145deg,#1c6fd5,#9ed2ff);
  position: relative;
}

.th-cta-visual::after {
  content: "";
  position: absolute;
  width: 58%;
  height: 72%;
  left: 21%;
  top: 11%;
  border-radius: 9px;
  background: linear-gradient(180deg,#e8f4ff,#fff);
  box-shadow: 0 12px 25px rgba(16,57,110,.22);
}

.th-faq {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border: 1px solid var(--th-border);
  border-radius: 10px;
  background: white;
  font-weight: 700;
  color: #29446d;
}

.th-layout-note {
  color: #8090aa;
  font-size: 12px;
}

@media (max-width: 1100px) {
  :root { --th-sidebar: 205px; }
  .th-grid--6 { grid-template-columns: repeat(3,1fr); }
  .th-topbar { padding: 0 20px; }
  .th-nav { gap: 18px; }
  .th-search { min-width: 280px; }
}

@media (max-width: 820px) {
  .th-brand__tagline,
  .th-brand__divider,
  .th-nav { display: none; }
  .th-topbar { height: 58px; padding: 0 16px; }
  .th-page { width: min(100% - 28px, 720px); padding-top: 20px; }
  .th-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 20px; }
  .th-hero h1 { font-size: 42px; }
  .th-grid--6,
  .th-grid--4,
  .th-grid--3,
  .th-grid--2 { grid-template-columns: 1fr; }
  .th-console { grid-template-columns: 1fr; }
  .th-sidebar {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--th-border);
  }
  .th-side-title { padding-bottom: 12px; }
  .th-side-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .th-console-main { padding: 20px 14px 30px; }
  .th-console-grid { grid-template-columns: 1fr; }
  .th-search { display: none; }
  .th-footer-inner { grid-template-columns: 1fr 1fr; }
  .th-cta { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .th-top-actions .th-btn:first-child { display: none; }
  .th-footer-inner { grid-template-columns: 1fr; }
  .th-side-nav { grid-template-columns: 1fr; }
  .th-grid--6 { grid-template-columns: 1fr; }
}
/* THC-T049 customer overview */
.th-customer-body{background:#f5f9ff}
.th-customer-console .th-console-main{padding:26px 24px 34px}
.th-side-link{min-height:48px;display:flex;align-items:center;gap:12px;padding:0 14px;border-radius:10px;color:#617694;font-weight:700;cursor:default;user-select:none}
.customer-overview{max-width:1380px;margin:0 auto}
.customer-overview__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:18px}
.customer-overview__heading h1{margin:7px 0 0;font-size:27px;line-height:1.2}
.customer-overview__heading h1 span{color:var(--th-blue)}
.customer-overview__heading .th-console-subtitle{margin:7px 0 0}
.customer-overview__eyebrow,.customer-panel-kicker{display:block;color:var(--th-blue);font-size:11px;font-weight:800}
.customer-overview__status{min-height:34px;display:inline-flex;align-items:center;gap:8px;padding:0 12px;border:1px solid #cfe3fb;border-radius:999px;background:#fff;color:#466183;font-size:12px;font-weight:700;white-space:nowrap}
.customer-overview__status-dot{width:8px;height:8px;border-radius:50%;background:var(--th-success);box-shadow:0 0 0 4px rgba(15,175,85,.1)}
.customer-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.customer-kpi-card{min-height:138px;padding:16px;position:relative;overflow:hidden}
.customer-kpi-card::after{content:"";position:absolute;right:-25px;bottom:-30px;width:90px;height:90px;border-radius:50%;background:rgba(8,120,249,.06)}
.customer-kpi-card__icon{width:29px;height:29px;margin-bottom:12px;border-radius:9px;display:grid;place-items:center;background:#e8f3ff;color:var(--th-blue);font-size:11px;font-weight:900}
.customer-kpi-card .th-kpi__value{margin-top:7px;font-size:20px;line-height:1.2;word-break:break-word}
.customer-kpi-card .th-kpi__meta{margin-top:6px;font-size:10px;line-height:1.45}
.customer-summary-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}
.customer-panel-kicker{margin-bottom:3px;font-size:9px}
.customer-panel-copy{margin:10px 0 14px!important;font-size:11px;line-height:1.65}
.customer-wallet-balance{margin-bottom:10px;color:#0a2859;font-size:27px;font-weight:850;line-height:1.2}
.customer-wallet-currencies{display:flex;flex-wrap:wrap;gap:8px;min-height:34px}
.customer-currency-chip{min-width:118px;padding:8px 10px;border:1px solid #d8e8fb;border-radius:10px;background:#f8fbff;display:grid;gap:3px}
.customer-currency-chip small{color:#7286a2;font-size:9px}
.customer-currency-chip strong{color:#15355f;font-size:12px}
.customer-inline-muted{color:#8192aa;font-size:11px}
.customer-download-panel__body{min-height:154px;display:grid;grid-template-columns:70px 1fr;gap:16px;align-items:center}
.customer-download-panel__mark{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#1688ff,#0069ef);color:#fff;font-size:27px;font-weight:900;box-shadow:0 11px 23px rgba(0,105,239,.2)}
.customer-download-panel__body strong{color:#16365e;font-size:15px}
.customer-table-wrap{overflow-x:auto}
.customer-orders-table{min-width:560px}
.customer-orders-table td,.customer-orders-table th{padding-top:12px;padding-bottom:12px}
.customer-order-status{display:inline-flex;min-height:24px;align-items:center;padding:0 8px;border-radius:999px;background:#edf5ff;color:#1970d9;font-size:10px;font-weight:800}
.customer-device-summary{display:grid;grid-template-columns:46px 1fr;gap:12px;align-items:center;padding:2px 0 14px}
.customer-device-summary__icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#e9f4ff;color:var(--th-blue);font-size:18px;font-weight:900}
.customer-device-summary strong{color:#15365f;font-size:14px}
.customer-device-summary p{margin:4px 0 0;color:#7385a0;font-size:10px;line-height:1.5}
.customer-info-row{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e5edf8;color:#74859e;font-size:11px}
.customer-info-row strong{color:#29466d;font-size:11px}
.customer-security-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.customer-security-grid>div{min-height:94px;padding:13px;border:1px solid #ddeafb;border-radius:12px;background:#fafdff}
.customer-security-grid__icon{width:27px;height:27px;margin-bottom:9px;border-radius:8px;display:grid;place-items:center;background:#e9f4ff;color:var(--th-blue);font-size:11px;font-weight:900}
.customer-security-grid strong{color:#17365f;font-size:12px}
.customer-security-grid p{margin:5px 0 0!important;color:#71849f;font-size:10px;line-height:1.5}
.customer-page-message{margin-top:14px;padding:12px 14px;border:1px solid #f2d7a8;border-radius:10px;background:#fff8ea;color:#8a6119;font-size:11px}
.th-user-chip #customer-user-email{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1280px){.customer-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.customer-summary-grid,.customer-security-grid{grid-template-columns:1fr}.customer-overview__heading{flex-direction:column}.customer-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.th-customer-console .th-console-main{padding:18px 12px 28px}.customer-kpi-grid{grid-template-columns:1fr}.customer-download-panel__body{grid-template-columns:1fr}.customer-overview__heading h1{font-size:23px}.customer-overview__status{white-space:normal}.th-user-chip #customer-user-email{max-width:120px}}
/* THC-T050 plan and validity */
.customer-plan{max-width:1380px;margin:0 auto}
.customer-plan-current{overflow:hidden}
.customer-plan-current__grid{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);gap:20px;align-items:stretch}
.customer-plan-primary{min-height:138px;padding:20px;border:1px solid #dbe9fa;border-radius:14px;background:linear-gradient(145deg,#f8fbff,#eef6ff)}
.customer-plan-primary__label{display:block;margin-bottom:10px;color:#6b7f9d;font-size:11px;font-weight:700}
.customer-plan-primary strong{display:block;color:#0b2a59;font-size:28px;line-height:1.2}
.customer-plan-primary p{margin:9px 0 0;color:#5e7392;font-size:11px;line-height:1.6}
.customer-plan-facts{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-plan-facts>div{min-height:64px;padding:12px 14px;border:1px solid #e0ebf8;border-radius:12px;background:#fbfdff}
.customer-plan-facts dt{margin:0 0 5px;color:#7c8da5;font-size:10px}
.customer-plan-facts dd{margin:0;color:#17365f;font-size:13px;font-weight:800}
.customer-plan-validity{margin-top:16px}
.customer-plan-validity__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;color:#607592;font-size:11px}
.customer-plan-validity__head strong{color:#29466e}
.customer-plan-validity__track{height:8px;overflow:hidden;border-radius:999px;background:#e7eef8}
.customer-plan-validity__track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#21a4ff,#0878f9);transition:width .25s ease}
.customer-plan-wallet-list{display:flex;flex-wrap:wrap;gap:10px}
.customer-plan-wallet-item{min-width:150px;padding:11px 13px;border:1px solid #dceafb;border-radius:12px;background:#f9fcff;display:flex;align-items:center;justify-content:space-between;gap:14px}
.customer-plan-wallet-item span{color:#7386a2;font-size:10px;font-weight:800}
.customer-plan-wallet-item strong{color:#17375f;font-size:13px}
.customer-plan-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 2px 12px}
.customer-plan-section-head h2{margin:5px 0 0;color:#0a1f48;font-size:21px}
.customer-plan-section-head p{margin:5px 0 0;color:#7285a1;font-size:11px}
.customer-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.customer-plan-loading{grid-column:1/-1}
.customer-plan-option{padding:18px;display:flex;flex-direction:column;min-height:255px}
.customer-plan-option__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:14px;border-bottom:1px solid #e4edf8}
.customer-plan-option__head h3{margin:0 0 6px;font-size:17px}
.customer-plan-option__head p{margin:0;max-width:260px;color:#71849f;font-size:10px;line-height:1.55}
.customer-plan-option__price{color:var(--th-blue);font-size:20px;white-space:nowrap}
.customer-plan-option__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}
.customer-plan-option__facts>div{padding:9px 10px;border-radius:9px;background:#f7faff;display:flex;align-items:center;justify-content:space-between;gap:10px}
.customer-plan-option__facts span{color:#8292a8;font-size:9px}
.customer-plan-option__facts strong{color:#2b466d;font-size:10px}
.customer-plan-option__footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-plan-option__footer .th-btn{min-width:124px}
#plan-page-message[data-kind="success"]{border-color:#bfe6ce;background:#f0fff6;color:#167443}
#plan-page-message[data-kind="warning"]{border-color:#f2d7a8;background:#fff8ea;color:#8a6119}
@media(max-width:1200px){.customer-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.customer-plan-current__grid{grid-template-columns:1fr}.customer-plan-grid{grid-template-columns:1fr}.customer-plan-section-head{align-items:flex-start;flex-direction:column}.customer-plan-option__footer{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.customer-plan-facts{grid-template-columns:1fr}.customer-plan-primary strong{font-size:24px}.customer-plan-option__head{flex-direction:column}.customer-plan-option__price{font-size:18px}.customer-plan-option__footer .th-btn{width:100%}}
/* THC-T051 wallet and recharge */
.customer-wallet-page,.customer-recharge-page{max-width:1380px;margin:0 auto}
.customer-wallet-page-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.customer-wallet-balance-card,.customer-wallet-page-empty{min-height:126px;padding:18px;border:1px solid #dbe9fa;border-radius:14px;background:linear-gradient(145deg,#f9fcff,#eef6ff);display:flex;flex-direction:column;justify-content:center}
.customer-wallet-balance-card span{color:#6d82a0;font-size:11px;font-weight:800}
.customer-wallet-balance-card strong{margin:7px 0 5px;color:#0b2b59;font-size:25px;line-height:1.15}
.customer-wallet-balance-card small{color:#7f91aa;font-size:9px}
.customer-wallet-page-empty{grid-column:1/-1;align-items:center;color:#778aa5;font-size:11px}
.customer-wallet-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.customer-wallet-action-card__body{display:flex;align-items:center;justify-content:space-between;gap:24px}
.customer-wallet-action-card__body h2{margin:5px 0 0;color:#0b2856;font-size:20px}
.customer-recharge-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:14px;align-items:start}
.customer-recharge-unavailable{padding:18px;border:1px solid #f0d9ad;border-radius:12px;background:#fff9ee}
.customer-recharge-unavailable strong{display:block;color:#805d1c;font-size:14px}
.customer-recharge-unavailable p{margin:6px 0 0;color:#8d754c;font-size:10px;line-height:1.6}
.customer-recharge-form{display:grid;gap:17px}
.customer-recharge-form fieldset{margin:0;padding:0;border:0}
.customer-recharge-form legend{margin-bottom:8px;color:#1f3d64;font-size:10px;font-weight:800}
.customer-provider-grid{display:flex;flex-wrap:wrap;gap:8px}
.customer-provider-option{min-width:130px;position:relative}
.customer-provider-option input{position:absolute;opacity:0;pointer-events:none}
.customer-provider-option span{min-height:38px;padding:0 13px;border:1px solid #d4e4f7;border-radius:10px;background:#fbfdff;display:flex;align-items:center;justify-content:center;color:#456383;font-size:10px;font-weight:800;cursor:pointer}
.customer-provider-option input:checked+span{border-color:#7db7ff;background:#eaf4ff;color:#0878f9;box-shadow:0 0 0 2px rgba(8,120,249,.08)}
.customer-recharge-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.customer-recharge-fields label>span{display:block;margin-bottom:6px;color:#1f3d64;font-size:10px;font-weight:800}
.customer-recharge-fields input{width:100%;height:42px;box-sizing:border-box;padding:0 12px;border:1px solid #d2e2f5;border-radius:9px;background:#fff;color:#17365f;font-size:12px;outline:none}
.customer-recharge-fields input:focus{border-color:#6cabff;box-shadow:0 0 0 3px rgba(8,120,249,.08)}
.customer-recharge-fields small{display:block;margin-top:6px;color:#8293aa;font-size:9px;line-height:1.5}
.customer-recharge-summary{min-height:46px;padding:0 13px;border-radius:10px;background:#f4f8fd;display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-recharge-summary span{color:#71839d;font-size:10px}
.customer-recharge-summary strong{color:#15365f;font-size:14px}
.customer-recharge-submit{width:100%;min-height:42px;border:0}
.customer-recharge-side{position:sticky;top:18px}
.customer-recharge-notes{display:grid;gap:10px;margin-top:16px}
.customer-recharge-notes>div{padding:11px 12px;border:1px solid #e2ecf8;border-radius:10px;background:#fafcff}
.customer-recharge-notes strong{color:#26466e;font-size:10px}
.customer-recharge-notes p{margin:4px 0 0;color:#7487a2;font-size:9px;line-height:1.55}
#recharge-message[data-kind="success"]{border-color:#bfe6ce;background:#f0fff6;color:#167443}
#recharge-message[data-kind="warning"]{border-color:#f2d7a8;background:#fff8ea;color:#8a6119}
@media(max-width:1000px){.customer-wallet-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-recharge-grid{grid-template-columns:1fr}.customer-recharge-side{position:static}}
@media(max-width:720px){.customer-wallet-info-grid,.customer-recharge-fields{grid-template-columns:1fr}.customer-wallet-action-card__body{align-items:flex-start;flex-direction:column}.customer-wallet-page-grid{grid-template-columns:1fr}}
@media(max-width:520px){.customer-provider-option{width:100%}.customer-recharge-fields input{font-size:16px}}
/* THC-T052 orders */
.customer-orders-page{max-width:1380px;margin:0 auto}
.customer-orders-page__actions{display:flex;gap:10px;flex-wrap:wrap}
.customer-orders-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.customer-orders-kpi{padding:16px;min-height:116px;display:flex;flex-direction:column;justify-content:center}
.customer-orders-kpi span{color:#6f82a0;font-size:10px;font-weight:800}
.customer-orders-kpi strong{margin:7px 0 5px;color:#0d2b58;font-size:24px}
.customer-orders-kpi small{color:#8494aa;font-size:9px}
.customer-orders-page-table-wrap{overflow-x:auto}
.customer-orders-page-table{min-width:1080px}
.customer-orders-page-table th,.customer-orders-page-table td{padding-top:12px;padding-bottom:12px;white-space:nowrap}
.customer-order-no{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px;color:#365479}
.customer-order-status.is-success{background:#e9f9ef;color:#16814c}
.customer-order-status.is-danger{background:#fff0f0;color:#b74242}
.customer-order-status.is-muted{background:#f0f3f7;color:#6d7c90}
.customer-order-status.is-pending{background:#edf5ff;color:#1970d9}
.customer-panel-actions{display:flex;align-items:center;gap:10px}
.customer-panel-link{color:var(--th-blue);font-size:10px;font-weight:800;text-decoration:none}
@media(max-width:900px){.customer-orders-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.customer-orders-kpi-grid{grid-template-columns:1fr}.customer-orders-page__actions{width:100%}.customer-orders-page__actions .th-btn{flex:1}}
/* THC-T053 device management */
.customer-devices-page{max-width:1380px;margin:0 auto}
.customer-devices-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.customer-devices-kpi{min-height:116px;padding:16px;display:flex;flex-direction:column;justify-content:center}
.customer-devices-kpi span{color:#6f82a0;font-size:10px;font-weight:800}
.customer-devices-kpi strong{margin:7px 0 5px;color:#0d2b58;font-size:24px}
.customer-devices-kpi small{color:#8494aa;font-size:9px}
.customer-devices-table-wrap{overflow-x:auto}
.customer-devices-table{min-width:960px}
.customer-devices-table th,.customer-devices-table td{padding-top:12px;padding-bottom:12px;white-space:nowrap}
.customer-device-id{display:flex;align-items:center;gap:10px}
.customer-device-id>span{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#eaf4ff;color:var(--th-blue);font-weight:900}
.customer-device-id strong{display:block;color:#24476f;font-size:11px}
.customer-device-id small{display:block;margin-top:3px;color:#8a99ad;font-size:8px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.customer-device-status{display:inline-flex;min-height:24px;align-items:center;padding:0 8px;border-radius:999px;font-size:10px;font-weight:800}
.customer-device-status.is-active{background:#e9f9ef;color:#16814c}
.customer-device-status.is-revoked{background:#f0f3f7;color:#69798e}
.customer-device-action{min-width:82px}
.th-btn--danger{border:1px solid #f0caca;background:#fff5f5;color:#b74242}
.th-btn--danger:hover{background:#ffeded}
.customer-device-note strong{color:#24476f;font-size:12px}
.customer-device-note p{margin:6px 0 0;color:#70839f;font-size:10px;line-height:1.6}
#devices-page-message[data-kind="success"]{border-color:#bfe6ce;background:#f0fff6;color:#167443}
#devices-page-message[data-kind="warning"]{border-color:#f2d7a8;background:#fff8ea;color:#8a6119}
@media(max-width:720px){.customer-devices-kpi-grid{grid-template-columns:1fr}}
/* THC-T054 account security */
.customer-security-page{max-width:1380px;margin:0 auto}
.customer-security-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.customer-security-kpi{min-height:94px;padding:13px;display:flex;flex-direction:column;justify-content:center}
.customer-security-kpi span{color:#6f82a0;font-size:10px;font-weight:800}
.customer-security-kpi strong{margin:7px 0 5px;color:#0d2b58;font-size:22px}
.customer-security-kpi small{color:#8494aa;font-size:9px;line-height:1.5}
.customer-security-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:14px}
.customer-security-account-row{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #e8eef7;color:#71849f;font-size:10px}
.customer-security-account-row:last-child{border-bottom:0}
.customer-security-account-row strong{color:#27476f;font-size:11px;text-align:right}
.customer-security-account-row a{color:var(--th-blue);font-size:10px;font-weight:800;text-decoration:none}
.customer-security-session-card .th-panel-body{display:flex;flex-direction:column;align-items:flex-start}
.customer-password-note{padding:10px 12px;border:1px solid #d8e8fb;border-radius:11px;background:#f7fbff}
.customer-password-note strong{color:#23476f;font-size:11px}
.customer-password-note p{margin:5px 0 0;color:#70839f;font-size:9px;line-height:1.6}
.customer-password-flow{display:grid;grid-template-columns:.8fr 1.2fr;gap:12px;margin-top:10px}
.customer-password-step{padding:12px;border:1px solid #dde9f7;border-radius:12px;background:#fbfdff}
.customer-password-step[hidden],.customer-security-relogin[hidden]{display:none!important}
.customer-password-step__head{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.customer-password-step__head span{min-width:45px;height:24px;border-radius:999px;display:grid;place-items:center;background:#eaf4ff;color:var(--th-blue);font-size:9px;font-weight:900}
.customer-password-step__head strong{color:#26476e;font-size:12px}
.customer-password-step>p{margin:0 0 13px;color:#7386a1;font-size:9px;line-height:1.6}
.customer-password-step>p strong{color:#365679;word-break:break-all}
.customer-security-password-form{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.customer-security-password-form label:first-child{grid-column:1/-1}
.customer-security-password-form label>span{display:block;margin-bottom:6px;color:#29496f;font-size:9px;font-weight:800}
.customer-security-password-form input{width:100%;height:40px;box-sizing:border-box;padding:0 11px;border:1px solid #d4e3f5;border-radius:9px;background:#fff;color:#17365f;font-size:11px;outline:none}
.customer-security-password-form input:focus{border-color:#6cabff;box-shadow:0 0 0 3px rgba(8,120,249,.08)}
.customer-security-password-form button{grid-column:1/-1}
.customer-security-relogin{margin-top:12px}
.customer-security-boundary strong{color:#29496f;font-size:11px}
.customer-security-boundary p{margin:6px 0 0;color:#70839f;font-size:9px;line-height:1.6}
#security-page-message[data-kind="success"]{border-color:#bfe6ce;background:#f0fff6;color:#167443}
#security-page-message[data-kind="warning"]{border-color:#f2d7a8;background:#fff8ea;color:#8a6119}
@media(max-width:900px){.customer-security-layout,.customer-password-flow{grid-template-columns:1fr}}
@media(max-width:720px){.customer-security-kpi-grid,.customer-security-password-form{grid-template-columns:1fr}.customer-security-password-form label:first-child,.customer-security-password-form button{grid-column:auto}.customer-security-account-row{align-items:flex-start;flex-direction:column;padding:9px 0}.customer-security-account-row strong{text-align:left}}
@media(max-width:520px){.customer-security-password-form input{font-size:16px}}

.customer-security-page .th-console-section{margin-top:10px}
.customer-security-page .th-panel-head{min-height:44px;padding:0 14px}
.customer-security-page .th-panel-body{padding:12px 16px}
.customer-security-page .customer-overview__heading{margin-bottom:12px}
/* THC-T055 admin dashboard */
.th-admin-shell{min-height:100vh;background:#f3f7fc}
.th-admin-topbar{grid-template-columns:240px minmax(320px,620px) 1fr}
.th-admin-search-wrap{position:relative;max-width:620px;width:100%;justify-self:center}
.th-admin-search-wrap .th-search{width:100%;padding-right:76px}
.th-admin-search-note{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#8b9ab0;font-size:8px;font-weight:800}
.th-admin-actions{gap:10px}
.th-admin-icon-button{width:34px;height:34px;border:1px solid #d8e5f5;border-radius:10px;background:#f7fbff;color:#6a7f9e;font-size:16px}
.th-admin-icon-button:disabled{opacity:.8;cursor:default}
.th-admin-user-chip{min-width:144px}
.th-admin-user-chip>span:last-child{display:flex;flex-direction:column}
.th-admin-user-chip strong{font-size:10px;color:#254467}
.th-admin-user-chip small{font-size:8px;color:#8a9ab0}
.th-admin-console{grid-template-columns:220px minmax(0,1fr)}
.th-admin-sidebar{display:flex;flex-direction:column;padding-bottom:14px}
.th-admin-sidebar-title{padding:18px 20px 12px;border-bottom:1px solid #e2ebf6}
.th-admin-sidebar-title span{display:block;color:#17355e;font-size:12px;font-weight:900}
.th-admin-sidebar-title small{display:block;margin-top:3px;color:#91a0b4;font-size:8px}
.th-admin-sidebar .th-side-nav{padding-top:10px}
.th-admin-sidebar-foot{margin-top:auto;padding:14px 18px 0;border-top:1px solid #e2ebf6}
.th-admin-sidebar-foot small{display:block;margin-top:7px;color:#8999ae;font-size:8px;line-height:1.5}
.th-admin-main{padding:22px 22px 18px}
.admin-dashboard{max-width:1450px;margin:0 auto}
.admin-dashboard__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.admin-dashboard__heading h1{margin:4px 0 4px;font-size:26px;color:#0d2b58}
.admin-eyebrow,.admin-panel-kicker{display:block;color:var(--th-blue);font-size:9px;font-weight:900}
.admin-dashboard__heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.admin-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px}
.admin-kpi-card{min-height:96px;padding:13px;display:flex;flex-direction:column;justify-content:center}
.admin-kpi-card span{color:#6e819d;font-size:9px;font-weight:800}
.admin-kpi-card strong{margin:6px 0 4px;color:#102f5d;font-size:23px}
.admin-kpi-card small{color:#8a9ab0;font-size:8px;line-height:1.45}
.admin-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.admin-dashboard-card{min-width:0;overflow:hidden}
.admin-dashboard-card .th-panel-head{min-height:44px;padding:0 14px}
.admin-dashboard-card .th-panel-head h2{font-size:15px}
.admin-dashboard-card .th-panel-body{padding:0 14px 12px}
.admin-data-table{table-layout:fixed}
.admin-data-table th{padding-top:10px;padding-bottom:8px;font-size:8px}
.admin-data-table td{padding-top:10px;padding-bottom:10px;font-size:9px}
.admin-empty{min-height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.admin-empty strong{color:#526b8a;font-size:10px}
.admin-empty span{color:#92a0b3;font-size:8px;text-align:center}
.admin-dashboard-boundary{margin-top:12px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.admin-dashboard-boundary strong{display:block;color:#27476f;font-size:10px}
.admin-dashboard-boundary p{margin:4px 0 0;color:#72849d;font-size:8px;line-height:1.5}
@media(max-width:1280px){.admin-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.th-admin-topbar{grid-template-columns:210px minmax(280px,1fr) auto}}
@media(max-width:900px){.th-admin-console{grid-template-columns:1fr}.th-admin-sidebar{display:none}.th-admin-main{padding:16px}.admin-dashboard-grid{grid-template-columns:1fr}.admin-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-admin-topbar{grid-template-columns:1fr auto}.th-admin-search-wrap{display:none}}
@media(max-width:560px){.admin-kpi-grid{grid-template-columns:1fr}.admin-dashboard__heading{flex-direction:column}.th-admin-user-chip{min-width:0}.th-admin-user-chip small{display:none}}
/* THC-T056 admin management */
.admin-workspace{max-width:1450px;margin:0 auto}
.admin-workspace__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}
.admin-workspace__heading h1{margin:4px 0;font-size:25px;color:#0d2b58}
.admin-toolbar-card{padding:13px 14px;margin-bottom:12px}
.admin-inline-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.admin-inline-form label{min-width:260px;flex:1}
.admin-inline-form label>span,.admin-form-grid label>span{display:block;margin-bottom:6px;color:#29496f;font-size:9px;font-weight:800}
.admin-inline-form input,.admin-form-grid input,.admin-form-grid textarea,.admin-form-grid select{width:100%;box-sizing:border-box;border:1px solid #d4e3f5;border-radius:9px;background:#fff;color:#17365f;font-size:10px;outline:none}
.admin-inline-form input,.admin-form-grid input,.admin-form-grid select{height:38px;padding:0 10px}
.admin-form-grid textarea{padding:9px 10px;resize:vertical}
.admin-inline-form input:focus,.admin-form-grid input:focus,.admin-form-grid textarea:focus,.admin-form-grid select:focus{border-color:#6cabff;box-shadow:0 0 0 3px rgba(8,120,249,.08)}
.admin-table-card,.admin-editor-card{min-width:0}
.admin-table-card .th-panel-head,.admin-editor-card .th-panel-head{min-height:46px;padding:0 14px}
.admin-table-card .th-panel-body,.admin-editor-card .th-panel-body{padding:12px 14px}
.admin-table-wrap{overflow-x:auto}
.admin-management-table{min-width:900px}
.admin-management-table th,.admin-management-table td{padding-top:10px;padding-bottom:10px;white-space:nowrap}
.admin-row-action{min-width:58px;min-height:30px;padding:0 10px}
.admin-management-grid{display:grid;gap:12px;align-items:start}
.admin-management-grid--plan{grid-template-columns:minmax(0,1.35fr) minmax(380px,.65fr)}
.admin-management-grid--wallet{grid-template-columns:minmax(0,1.45fr) minmax(360px,.55fr)}
.admin-editor-card{position:sticky;top:14px}
.admin-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.admin-form-span-2{grid-column:1/-1}
.admin-check-label{display:flex!important;align-items:center;gap:8px;margin-top:18px}
.admin-check-label input{width:16px!important;height:16px!important}
.admin-check-label span{margin:0!important}
.admin-filter-form{margin-bottom:10px}
.admin-section-gap{margin-top:12px}
.admin-message{margin-top:12px}
.admin-message[data-kind="success"]{border-color:#bfe6ce;background:#f0fff6;color:#167443}
.admin-message[data-kind="warning"]{border-color:#f2d7a8;background:#fff8ea;color:#8a6119}
.admin-release-state .th-panel-body{padding:14px}
.admin-release-gates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.admin-release-gates>div{padding:14px;border:1px solid #dce9f7;border-radius:11px;background:#f9fcff}
.admin-release-gates strong{display:block;color:#29496f;font-size:10px}
.admin-release-gates span{display:block;margin-top:5px;color:#71849e;font-size:9px;line-height:1.5}
.admin-boundary-copy{margin:12px 0 0;color:#71849e;font-size:9px;line-height:1.6}
.admin-system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.admin-system-card{min-height:100px;padding:15px;display:flex;flex-direction:column;justify-content:center}
.admin-system-card span{color:#70839d;font-size:9px;font-weight:800}
.admin-system-card strong{margin-top:8px;color:#15365f;font-size:18px}
.admin-system-boundary strong{color:#29496f;font-size:11px}
.admin-system-boundary p{margin:5px 0 0;color:#71849e;font-size:9px;line-height:1.6}
@media(max-width:1180px){.admin-management-grid--plan,.admin-management-grid--wallet{grid-template-columns:1fr}.admin-editor-card{position:static}.admin-release-gates{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.admin-workspace__heading{flex-direction:column}.admin-form-grid,.admin-system-grid{grid-template-columns:1fr}.admin-form-span-2{grid-column:auto}.admin-release-gates{grid-template-columns:1fr}.admin-inline-form label{min-width:100%;width:100%}.admin-form-grid input,.admin-form-grid select{font-size:16px}}
