:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #171b2e;
  background: #f3f4f8;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }

.service-landing {
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  background: #151b32;
}

.service-shell { width: min(100%, 520px); min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; margin: auto; background: #fff; }
.service-hero {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  padding: max(26px, env(safe-area-inset-top)) 24px 44px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 135, 66, .28), transparent 28%),
    radial-gradient(circle at 0 76%, rgba(104, 89, 255, .26), transparent 34%),
    linear-gradient(145deg, #151b32 0%, #252b4c 100%);
}
.service-hero::after {
  content: "";
  position: absolute;
  right: -54px;
  top: 92px;
  width: 174px;
  height: 174px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 56px rgba(255,255,255,.018);
}
.brand-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 14px;
  background: #ff7940;
  box-shadow: 0 9px 20px rgba(255, 121, 64, .25);
}
.brand-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand-row > div { display: grid; gap: 3px; }
.brand-row strong { font-size: 16px; }
.brand-row > div span { color: #aeb5d0; font-size: 12px; }
.online { margin-left: auto; padding: 7px 10px; border-radius: 999px; color: #dff9ec; background: rgba(63, 194, 126, .13); font-size: 12px; }
.online i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #49dc91; box-shadow: 0 0 0 4px rgba(73,220,145,.11); }
.eyebrow { position: relative; z-index: 1; margin: 42px 0 12px; color: #ff9b6d; font-size: 12px; font-weight: 750; letter-spacing: .08em; }
.service-hero h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(35px, 9.2vw, 44px); line-height: 1.18; letter-spacing: -.025em; }
.service-hero h1::after { content: ""; display: block; width: 42px; height: 4px; margin-top: 15px; border-radius: 99px; background: #ff7540; }
.hero-copy { position: relative; z-index: 1; margin: 14px 0 28px; color: #c5cadb; font-size: 16px; line-height: 1.65; }
.service-points { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.service-points::before { content: ""; position: absolute; top: 16px; left: 17%; right: 17%; height: 1px; background: linear-gradient(90deg, #ff7540, rgba(255,255,255,.25), #ff7540); }
.service-points div { position: relative; min-width: 0; display: grid; justify-items: center; text-align: center; }
.service-points b { position: relative; z-index: 1; width: 33px; height: 33px; display: grid; place-items: center; margin-bottom: 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: #ff966b; background: #252b4a; box-shadow: 0 0 0 5px #202641; font-size: 10px; }
.service-points span { white-space: nowrap; color: #e1e4ee; font-size: 12px; font-weight: 650; }

.request-panel { position: relative; z-index: 2; flex: 1 0 auto; min-height: 385px; display: flex; flex-direction: column; overflow: hidden; margin-top: -15px; padding: 32px 24px max(24px, env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: #fff; }
.request-panel::before { content: ""; position: absolute; right: -86px; bottom: -94px; width: 230px; height: 230px; border: 1px solid rgba(255,117,64,.09); border-radius: 50%; box-shadow: 0 0 0 32px rgba(255,117,64,.035), 0 0 0 64px rgba(255,117,64,.02); pointer-events: none; }
.panel-heading { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 25px; }
.panel-kicker { display: flex; align-items: center; gap: 8px; color: #8e93a3; font-size: 12px; }
.panel-kicker::before { content: ""; width: 16px; height: 3px; border-radius: 9px; background: #ff7540; }
.panel-heading h2 { margin: 8px 0 0; font-size: 22px; line-height: 1.35; letter-spacing: -.01em; }
.step-pill { padding: 8px 11px; border-radius: 10px; color: #d95722; background: #fff0e9; font-size: 12px; font-weight: 700; }
.request-panel form { position: relative; z-index: 1; }
.request-panel label { display: block; margin-bottom: 10px; color: #4a4f63; font-size: 14px; font-weight: 700; }
.phone-field { position: relative; display: flex; align-items: center; height: 64px; border: 1.5px solid #e1e3eb; border-radius: 16px; background: #f8f8fb; transition: border-color .2s, box-shadow .2s; }
.phone-field:focus-within { border-color: #ff7940; box-shadow: 0 0 0 4px rgba(255,121,64,.10); background: #fff; }
.country-code { padding: 0 16px; border-right: 1px solid #dddfe7; color: #252a40; font-weight: 750; }
.phone-field input { min-width: 0; flex: 1; height: 100%; padding: 0 15px; border: 0; outline: 0; color: #171b2e; background: transparent; font-size: 17px; }
.phone-field input::placeholder { color: #adb0bc; }
.request-panel button { width: 100%; height: 62px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 42px; border: 0; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #ff824b, #f05f28); box-shadow: 0 14px 28px rgba(240,95,40,.22); font-size: 17px; font-weight: 800; }
.request-panel button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.request-panel button:disabled { opacity: .65; cursor: wait; }
.message { min-height: 22px; margin: 13px 0 0; text-align: center; font-size: 14px; font-weight: 650; }
.message.error { color: #cf3e3e; }
.message.success { color: #15835a; }
.panel-signature { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 28px; color: #c0c3cd; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.panel-signature i { height: 1px; flex: 1; background: linear-gradient(90deg, #dadce3, transparent); }
.panel-signature b { color: #a5a9b5; font-size: 10px; font-weight: 600; letter-spacing: .08em; }

.console-login { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 22px 16px; background: #151b32; }
.login-shell { width: min(430px, calc(100vw - 32px)); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: 0 28px 70px rgba(0,0,0,.30); }
.login-intro { padding: 30px 28px 34px; color: #fff; background: radial-gradient(circle at 95% 0, rgba(255,121,64,.35), transparent 34%), linear-gradient(145deg,#202642,#151b32); }
.console-brand { display: flex; align-items: center; gap: 11px; }
.console-brand .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
.console-brand > span:last-child, .console-brand strong { font-weight: 800; }
.login-intro > p { margin: 42px 0 9px; color: #ff9b6d; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.login-intro h1 { margin: 0 0 7px; font-size: 30px; }
.login-intro > span { color: #b9bfd3; font-size: 14px; }
.login-form-panel { padding: 30px 28px 24px; }
.login-form-panel label { display: block; margin: 18px 0 9px; color: #555a6c; font-size: 13px; font-weight: 750; }
.console-input { display: flex; align-items: center; height: 56px; padding: 0 15px; border: 1.5px solid #e0e2e9; border-radius: 14px; background: #f8f8fb; }
.console-input:focus-within { border-color: #ff7940; box-shadow: 0 0 0 4px rgba(255,121,64,.09); background: #fff; }
.console-input svg { width: 20px; margin-right: 11px; fill: none; stroke: #8d92a2; stroke-width: 1.8; stroke-linecap: round; }
.console-input input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.login-form-panel button { width: 100%; height: 57px; margin-top: 28px; border: 0; border-radius: 14px; color: #fff; background: #ff7137; font-size: 17px; font-weight: 800; box-shadow: 0 12px 24px rgba(240,95,40,.20); }
.login-form-panel button:disabled { opacity: .65; }
.login-footnote { margin: 12px 0 0; color: #9b9eaa; text-align: center; font-size: 11px; }
.login-footnote i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #50c78a; }

.console-admin { min-height: 100vh; background: #f2f3f7; }
.console-topbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 12px max(20px, calc((100% - 1120px) / 2)); color: #fff; background: #171d35; }
.console-topbar .console-brand > div { display: grid; gap: 2px; }
.console-topbar .console-brand span { color: #aeb5cc; font-size: 11px; }
.console-topbar button { padding: 10px 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #d8dced; background: rgba(255,255,255,.07); }
.console-main { max-width: 1120px; margin: auto; padding: 34px 20px 50px; }
.console-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.console-heading p { margin: 0 0 7px; color: #ef6e35; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.console-heading h1 { margin: 0 0 7px; font-size: 28px; }
.console-heading span { color: #858a9a; font-size: 13px; }
.console-heading button { display: flex; align-items: center; gap: 7px; padding: 12px 17px; border: 0; border-radius: 11px; color: #fff; background: #ff7137; font-weight: 750; }
.console-heading button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.records-panel { padding: 20px; border: 1px solid #e9eaf0; border-radius: 18px; background: #fff; box-shadow: 0 13px 38px rgba(36,42,70,.06); }
.records-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.records-title span { font-weight: 800; }
.records-title i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #47c989; box-shadow: 0 0 0 4px rgba(71,201,137,.10); }
.records-title em { color: #a0a4b0; font-size: 11px; font-style: normal; }
.table-card { overflow: auto; border: 1px solid #ececf1; border-radius: 12px; }
table { width: 100%; min-width: 820px; border-collapse: collapse; }
th, td { padding: 15px 17px; border-bottom: 1px solid #eeeeF3; text-align: left; }
th { color: #73788a; background: #f7f7fa; font-size: 12px; }
td { color: #34384b; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
.status { margin: 12px 0 0; color: #9397a5; text-align: right; font-size: 12px; }

@media (max-width: 520px) {
  .service-hero { padding-left: 20px; padding-right: 20px; }
  .request-panel { padding-left: 20px; padding-right: 20px; }
  .hero-copy { width: 100%; }
  .login-shell { border-radius: 24px; }
  .console-topbar { padding: 12px 14px; }
  .console-topbar .console-brand > div span { display: none; }
  .console-main { padding: 25px 12px 40px; }
  .console-heading { align-items: flex-start; flex-direction: column; }
  .console-heading button { width: 100%; justify-content: center; min-height: 46px; }
  .records-panel { padding: 14px 10px; border-radius: 15px; }
  .table-card { overflow: visible; border: 0; }
  table, tbody, tr, td { display: block; width: 100%; }
  table { min-width: 0; }
  thead { display: none; }
  tbody { display: grid; gap: 12px; }
  tr { padding: 12px 15px; border: 1px solid #ececf1; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(36,42,70,.05); }
  td { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #f0f0f3; text-align: right; font-size: 14px; }
  td::before { content: attr(data-label); color: #8b8f9d; font-size: 12px; }
  td:last-child { border-bottom: 0; }
  .empty-row { padding: 18px; }
  .empty-row td { display: block; border: 0; text-align: center; }
  .empty-row td::before { content: none; }
  .status { text-align: center; }
}

@media (max-width: 370px), (max-height: 720px) {
  .eyebrow { margin-top: 28px; }
  .service-hero { padding-bottom: 36px; }
  .service-hero h1::after { margin-top: 11px; }
  .hero-copy { margin-bottom: 22px; font-size: 14px; }
  .request-panel { min-height: 350px; padding-top: 24px; }
  .panel-heading { margin-bottom: 20px; }
  .request-panel button { margin-top: 30px; }
  .panel-signature { padding-top: 18px; }
}
