:root {
  --ink: #102229;
  --muted: #64757b;
  --line: #dce6e5;
  --paper: #ffffff;
  --canvas: #f3f7f5;
  --mint: #9fe1ca;
  --green: #167858;
  --green-dark: #0e5d45;
  --amber: #e6a13c;
  --red: #c75151;
  --navy: #0d252a;
  --shadow: 0 28px 70px rgba(30, 65, 60, .11);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.page-width { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

.ambient { position: fixed; border-radius: 50%; filter: blur(2px); pointer-events: none; z-index: -1; }
.ambient-one { width: 520px; height: 520px; right: -180px; top: 50px; background: radial-gradient(circle, rgba(159,225,202,.24), transparent 68%); }
.ambient-two { width: 420px; height: 420px; left: -240px; top: 520px; background: radial-gradient(circle, rgba(229,190,109,.14), transparent 70%); }

.site-header {
  width: min(1260px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: var(--mint); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(13,37,42,.18); }
.brand-mark svg { width: 25px; }
.brand span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: 17px; letter-spacing: .08em; }
.brand small { margin-top: 6px; font-size: 8px; color: #7e8d90; letter-spacing: .22em; }
.top-nav { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid rgba(163,183,180,.35); background: rgba(255,255,255,.6); border-radius: 999px; backdrop-filter: blur(14px); }
.top-nav a { padding: 9px 17px; border-radius: 999px; font-size: 13px; color: #66777b; transition: .2s ease; }
.top-nav a:hover, .top-nav a.active { background: var(--navy); color: white; }

.hero { min-height: 470px; padding: 62px 6px 72px; display: grid; grid-template-columns: 1.55fr .8fr; gap: 100px; align-items: center; }
.eyebrow, .section-number { color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; }
.eyebrow i { width: 23px; height: 1px; background: var(--green); }
.hero h1 { margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(48px, 5.2vw, 76px); line-height: 1.08; letter-spacing: -.04em; font-weight: 500; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy > p { max-width: 560px; margin: 26px 0 32px; color: var(--muted); font-size: 16px; line-height: 1.9; }
.hero-points { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-points span { color: #52656a; font-size: 12px; }
.hero-points b { margin-right: 7px; color: var(--green); font-family: Georgia, serif; font-size: 11px; }

.hero-status-card { position: relative; overflow: hidden; padding: 30px; min-height: 320px; border-radius: 30px; color: #e8f6f1; background: var(--navy); box-shadow: 0 30px 70px rgba(8,38,41,.22); }
.hero-status-card::after { content: ""; position: absolute; width: 210px; height: 210px; right: -70px; top: -85px; border: 1px solid rgba(159,225,202,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(159,225,202,.035), 0 0 0 56px rgba(159,225,202,.025); }
.pulse-wrap { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(159,225,202,.1); }
.pulse-wrap span { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(159,225,202,.1); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(159,225,202,0); } }
.hero-status-card > p { margin: 22px 0 6px; color: #8eb1aa; font-size: 12px; }
.hero-status-card > strong { font-family: Georgia, "Songti SC", serif; font-weight: 500; font-size: 26px; }
.mini-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 34px 0 28px; }
.mini-flow div { position: relative; display: grid; gap: 8px; justify-items: start; color: #78948f; font-size: 10px; }
.mini-flow div:not(:last-child)::after { content: ""; position: absolute; top: 12px; left: 27px; width: calc(100% - 31px); height: 1px; background: #2a4a4c; }
.mini-flow i { position: relative; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #36585a; border-radius: 50%; background: var(--navy); font-style: normal; }
.mini-flow .done { color: var(--mint); }
.mini-flow .done i { color: var(--navy); border-color: var(--mint); background: var(--mint); }
.hero-status-card > small { display: block; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); color: #78948f; font-size: 10px; letter-spacing: .04em; }

.service-card { margin-bottom: 90px; padding: 42px 54px 54px; background: rgba(255,255,255,.92); border: 1px solid rgba(198,214,211,.65); border-radius: 32px; box-shadow: var(--shadow); }
.card-heading { display: flex; align-items: end; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.card-heading h2, .dashboard h1 { margin: 7px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 34px; font-weight: 500; }
.service-tabs { display: flex; gap: 7px; padding: 5px; border-radius: 14px; background: #edf3f1; }
.tab-button { display: flex; align-items: center; gap: 8px; padding: 11px 17px; border: 0; border-radius: 10px; color: #71827f; background: transparent; cursor: pointer; font-size: 13px; font-weight: 650; transition: .2s ease; }
.tab-button svg { width: 17px; }
.tab-button.active { color: white; background: var(--navy); box-shadow: 0 6px 14px rgba(13,37,42,.16); }
.client-panel { padding-top: 38px; }
.form-section-title { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.form-section-title > span { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #c6ddd6; border-radius: 50%; color: var(--green); font-family: Georgia, serif; font-size: 11px; }
.form-section-title h3 { margin: 0 0 3px; font-size: 15px; }
.form-section-title p { margin: 0; color: #8a9899; font-size: 11px; }
.section-gap { margin-top: 42px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.full-field { grid-column: 1 / -1; }
.field { display: grid; gap: 9px; }
.field > span { color: #344a4f; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.field b { color: var(--red); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 0 15px; border: 1px solid #d3dfdd; outline: 0; border-radius: 10px; color: var(--ink); background: #fbfdfc; transition: .2s ease;
}
.field textarea { min-height: 100px; padding-block: 13px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a5b1b1; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #62ac91; box-shadow: 0 0 0 3px rgba(98,172,145,.1); background: white; }
.field > small, .email-list + .text-button + small { color: #93a1a1; font-size: 10px; }
.email-list { display: grid; gap: 9px; }
.email-row { display: grid; grid-template-columns: 1fr 40px; gap: 8px; }
.icon-button { border: 1px solid #d9e3e2; border-radius: 10px; background: white; color: #8a999a; font-size: 20px; cursor: pointer; }
.icon-button:hover:not(:disabled) { color: var(--red); border-color: #efc9c9; }
.icon-button:disabled { opacity: .3; cursor: not-allowed; }
.text-button { width: max-content; padding: 0; border: 0; color: var(--green); background: transparent; font-size: 11px; font-weight: 700; cursor: pointer; }
.text-button span { font-size: 16px; vertical-align: -1px; }

.upload-box { position: relative; min-height: 170px; overflow: hidden; border: 1px dashed #b7cbc6; border-radius: 14px; background: #f8fbfa; transition: .2s ease; }
.upload-box.dragging, .upload-box:hover { border-color: var(--green); background: #f1f8f5; }
.upload-box > input { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-placeholder { height: 168px; display: grid; place-items: center; align-content: center; gap: 7px; color: #788b89; }
.upload-placeholder strong { font-size: 12px; }
.upload-placeholder small { color: #a0adab; font-size: 9px; }
.upload-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 3px; border-radius: 13px; color: var(--green); background: #e4f2ed; }
.upload-icon svg { width: 21px; }
.upload-preview { position: relative; height: 168px; background: #eaf0ee; }
.upload-preview img { width: 100%; height: 100%; object-fit: contain; }
.upload-preview span { position: absolute; right: 10px; top: 10px; max-width: calc(100% - 20px); padding: 5px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 7px; color: white; background: rgba(8,30,33,.72); font-size: 9px; }
.upload-preview button { position: absolute; z-index: 4; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 6px 11px; border: 0; border-radius: 8px; color: white; background: rgba(8,30,33,.78); font-size: 10px; pointer-events: none; }
.privacy-note { display: flex; align-items: center; gap: 8px; margin: 26px 0 20px; padding: 12px 14px; border-radius: 10px; color: #678078; background: #f0f6f3; font-size: 10px; }
.privacy-note svg { width: 16px; color: var(--green); }

.primary-button, .secondary-button { min-height: 46px; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 12px; transition: .2s ease; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 0 20px; border: 1px solid var(--navy); color: white; background: var(--navy); box-shadow: 0 10px 24px rgba(13,37,42,.14); }
.primary-button:hover { transform: translateY(-1px); background: #173a40; }
.primary-button:disabled { opacity: .6; cursor: wait; transform: none; }
.primary-button i { font-style: normal; font-size: 17px; }
.secondary-button { padding: 0 19px; border: 1px solid #cbd9d7; color: #4d6264; background: white; }
.secondary-button:hover { border-color: #91aaa5; }
.wide-button { width: 100%; }

.receipt-result { text-align: center; padding: 28px 20px 12px; }
.success-seal { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; color: var(--green); background: #e6f5ef; box-shadow: 0 0 0 9px #f3faf7; }
.success-seal svg { width: 38px; stroke-width: 2.2; }
.receipt-result h3 { margin: 10px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 31px; font-weight: 500; }
.receipt-result > p { margin: 0 auto 25px; max-width: 510px; color: var(--muted); line-height: 1.8; font-size: 12px; }
.receipt-code { max-width: 520px; margin: 0 auto; padding: 16px 18px; display: flex; align-items: center; justify-content: center; gap: 18px; border: 1px dashed #89b5a7; border-radius: 12px; background: #f1f8f5; }
.receipt-code span { color: var(--green-dark); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: clamp(16px, 2.5vw, 23px); font-weight: 700; letter-spacing: .07em; }
.receipt-code button { padding: 6px 10px; border: 0; border-radius: 7px; color: var(--green); background: #dcefe8; font-size: 10px; cursor: pointer; }
.receipt-actions { display: flex; justify-content: center; gap: 10px; margin-top: 25px; }

.track-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; padding: 28px 10px 34px; }
.track-intro h3 { margin: 9px 0 12px; font-family: Georgia, "Songti SC", serif; font-size: 30px; font-weight: 500; }
.track-intro p { max-width: 430px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.receipt-hint { width: max-content; margin-top: 22px; padding: 8px 11px; border-radius: 8px; color: #82918f; background: #f1f5f4; font-size: 9px; }
.receipt-hint span { margin-right: 8px; color: var(--green); font-weight: 700; }
.track-form { padding: 29px; border: 1px solid var(--line); border-radius: 18px; background: #f8fbfa; }
.track-form .primary-button { margin-top: 17px; }
.track-result { margin-top: 15px; padding: 30px; border-top: 1px solid var(--line); }
.status-result-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.status-result-head h3 { margin: 4px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 24px; font-weight: 500; }
.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; font-size: 10px; font-weight: 750; }
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-badge.pending { color: #a86e18; background: #fff3db; }
.status-badge.rejected { color: #aa4646; background: #fdeaea; }
.status-badge.processed { color: var(--green); background: #e3f4ed; }
.status-timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin: 8px 0 28px; }
.status-step { position: relative; display: grid; justify-items: center; gap: 8px; color: #9ba8a8; font-size: 10px; text-align: center; }
.status-step:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 13px; left: 55%; width: 90%; height: 2px; background: #e0e8e6; }
.status-step i { position: relative; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; border: 2px solid #dce6e4; border-radius: 50%; color: #9aa9a7; background: white; font-style: normal; font-weight: 800; }
.status-step.done { color: var(--green); }
.status-step.done i { border-color: var(--green); color: white; background: var(--green); }
.status-step.done:not(:last-child)::after { background: #9bd6c2; }
.result-box { padding: 18px; border-radius: 12px; background: #f5f8f7; }
.result-box > span { color: #879795; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.result-box p, .result-box pre { margin: 8px 0 0; color: #31484c; font-size: 13px; line-height: 1.7; }
.result-box pre { white-space: pre-wrap; word-break: break-word; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }

.admin-main { min-height: calc(100vh - 88px); }
.login-wrap { width: min(1050px, calc(100% - 48px)); min-height: 610px; margin: 42px auto 90px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid #dbe5e3; border-radius: 32px; background: white; box-shadow: var(--shadow); }
.login-visual { position: relative; overflow: hidden; padding: 60px; color: white; background: var(--navy); }
.login-visual::before { content: ""; position: absolute; width: 500px; height: 500px; left: -220px; bottom: -260px; border: 1px solid rgba(159,225,202,.15); border-radius: 50%; box-shadow: 0 0 0 48px rgba(159,225,202,.03), 0 0 0 96px rgba(159,225,202,.02); }
.section-number.light { color: var(--mint); }
.login-visual h1 { margin: 22px 0; font-family: Georgia, "Songti SC", serif; font-size: 43px; line-height: 1.25; font-weight: 500; }
.login-visual > p { max-width: 380px; color: #94b1ac; font-size: 13px; line-height: 1.9; }
.login-orbit { position: absolute; right: -40px; bottom: -25px; width: 310px; height: 310px; display: grid; place-items: center; border: 1px solid rgba(159,225,202,.14); border-radius: 50%; }
.login-orbit::before, .login-orbit::after { content: ""; position: absolute; border: 1px solid rgba(159,225,202,.11); border-radius: 50%; }
.login-orbit::before { inset: 37px; }
.login-orbit::after { inset: 75px; }
.login-orbit div { position: relative; z-index: 1; width: 130px; height: 130px; display: grid; place-items: center; align-content: center; border-radius: 50%; background: #16383c; box-shadow: 0 0 50px rgba(159,225,202,.08); }
.login-orbit span { width: 10px; height: 10px; margin-bottom: 10px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 7px rgba(159,225,202,.08); }
.login-orbit b { font-family: Georgia, "Songti SC", serif; font-size: 14px; font-weight: 500; }
.login-orbit small { margin-top: 5px; color: #789791; font-size: 7px; letter-spacing: .16em; text-transform: uppercase; }
.login-card { align-self: center; padding: 70px 65px; }
.login-icon { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 15px; color: var(--green); background: #e8f4f0; }
.login-icon svg { width: 24px; }
.login-card h2 { margin: 10px 0 8px; font-family: Georgia, "Songti SC", serif; font-size: 31px; font-weight: 500; }
.login-card > p { margin: 0 0 28px; color: var(--muted); font-size: 12px; }
.login-card form { display: grid; gap: 20px; }
.password-field { position: relative; }
.password-field input { padding-right: 60px; }
.password-field button { position: absolute; right: 5px; top: 5px; height: 38px; padding: 0 10px; border: 0; color: var(--green); background: transparent; font-size: 10px; cursor: pointer; }
.login-note { display: block; margin-top: 20px; color: #98a6a5; text-align: center; font-size: 9px; }

.dashboard { padding: 42px 0 90px; }
.dashboard-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; }
.dashboard-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { position: relative; overflow: hidden; min-height: 142px; padding: 21px; border: 1px solid #dce6e4; border-radius: 17px; text-align: left; background: rgba(255,255,255,.86); cursor: pointer; transition: .2s ease; }
.stat-card::after { content: ""; position: absolute; width: 80px; height: 80px; right: -30px; bottom: -35px; border-radius: 50%; background: #edf4f2; }
.stat-card:hover, .stat-card.active { transform: translateY(-2px); border-color: #8fb8ac; box-shadow: 0 14px 32px rgba(34,76,69,.08); }
.stat-card > span { display: block; color: #6b7d7e; font-size: 11px; font-weight: 700; }
.stat-card strong { display: block; margin: 9px 0 3px; font-family: Georgia, serif; font-size: 34px; font-weight: 500; }
.stat-card small { color: #9aa7a6; font-size: 9px; }
.stat-card.pending strong { color: #b07a25; }
.stat-card.rejected strong { color: #b64d4d; }
.stat-card.processed strong { color: var(--green); }
.ticket-board { overflow: hidden; border: 1px solid #dce6e4; border-radius: 21px; background: rgba(255,255,255,.94); box-shadow: 0 18px 48px rgba(34,76,69,.06); }
.board-toolbar { padding: 23px 25px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-bottom: 1px solid #e2e9e8; }
.board-toolbar h2 { margin: 0 0 5px; font-size: 16px; }
.board-toolbar p { margin: 0; color: #91a09f; font-size: 9px; }
.search-box { min-width: 350px; height: 39px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; overflow: hidden; border: 1px solid #d7e2e0; border-radius: 9px; background: #f8fbfa; }
.search-box svg { width: 16px; margin-left: 13px; color: #8fa09e; }
.search-box input { min-width: 0; border: 0; outline: 0; background: transparent; font-size: 10px; }
.search-box button { align-self: stretch; padding: 0 13px; border: 0; color: white; background: var(--navy); font-size: 10px; cursor: pointer; }
.table-wrap { min-height: 330px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 12px 24px; color: #91a09f; background: #f8faf9; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-align: left; }
td { padding: 17px 24px; border-top: 1px solid #edf1f0; color: #4e6265; font-size: 11px; vertical-align: middle; }
tbody tr { transition: .18s ease; }
tbody tr:hover { background: #fafcfb; }
.ticket-id-cell strong { display: block; margin-bottom: 4px; color: #263e43; font-size: 11px; }
.ticket-id-cell code { color: #8b9a99; font-size: 8px; }
.contact-cell span { display: block; color: #344b4f; }
.contact-cell small { display: block; margin-top: 4px; color: #96a4a3; font-size: 8px; }
.table-action { padding: 6px 10px; border: 1px solid #d4dfdd; border-radius: 7px; color: var(--green); background: white; font-size: 9px; cursor: pointer; }
.table-action:hover { border-color: var(--green); background: #f2f8f6; }
.empty-state { min-height: 330px; display: grid; justify-items: center; align-content: center; color: #91a09f; text-align: center; }
.empty-state > span { font-size: 34px; color: #adc1bc; }
.empty-state h3 { margin: 8px 0 4px; color: #52676a; font-size: 13px; }
.empty-state p { margin: 0; font-size: 9px; }
.pagination { height: 60px; padding: 0 23px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; border-top: 1px solid #e6eceb; }
.pagination span { color: #7f8f8e; font-size: 9px; }
.pagination button { padding: 7px 10px; border: 1px solid #d7e1df; border-radius: 7px; color: #657777; background: white; font-size: 9px; cursor: pointer; }
.pagination button:disabled { opacity: .35; cursor: default; }

.drawer-shell { position: fixed; z-index: 50; inset: 0; }
.drawer-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(4,22,25,.5); backdrop-filter: blur(3px); cursor: default; animation: fade-in .2s ease; }
.ticket-drawer { position: absolute; right: 0; top: 0; width: min(620px, 100%); height: 100%; overflow-y: auto; background: #f8faf9; box-shadow: -25px 0 70px rgba(4,22,25,.2); animation: slide-in .25s ease; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer-header { position: sticky; z-index: 3; top: 0; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dde6e4; background: rgba(248,250,249,.94); backdrop-filter: blur(12px); }
.drawer-header h2 { margin: 5px 0 0; font-family: Georgia, "Songti SC", serif; font-size: 24px; font-weight: 500; }
.drawer-close { width: 36px; height: 36px; border: 1px solid #d7e0df; border-radius: 50%; color: #6f8180; background: white; font-size: 22px; cursor: pointer; }
.drawer-content { padding: 25px 28px 50px; }
.drawer-loading { padding: 90px 0; color: #80908f; text-align: center; font-size: 11px; }
.detail-status-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.detail-status-row code { color: #7f9090; font-size: 9px; }
.detail-card { margin-bottom: 13px; padding: 19px; border: 1px solid #dfe7e5; border-radius: 14px; background: white; }
.detail-card > h3 { margin: 0 0 16px; font-size: 12px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.detail-item span { display: block; margin-bottom: 5px; color: #91a09f; font-size: 8px; font-weight: 700; letter-spacing: .08em; }
.detail-item strong, .detail-item p { margin: 0; color: #354c50; font-size: 11px; line-height: 1.6; word-break: break-word; }
.detail-item.full { grid-column: 1 / -1; }
.email-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.email-chips span { margin: 0; padding: 5px 8px; border-radius: 6px; color: #45625d; background: #edf5f2; font-size: 9px; letter-spacing: 0; }
.proof-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 10px; }
.proof-image { overflow: hidden; min-height: 170px; border: 1px solid #e0e7e6; border-radius: 10px; background: #edf2f0; }
.proof-image img { width: 100%; height: 210px; display: block; object-fit: contain; cursor: zoom-in; }
.proof-image span { display: block; padding: 8px 10px; color: #778987; background: white; font-size: 8px; text-align: center; }
.processing-card { border-color: #bdd8d0; box-shadow: 0 10px 30px rgba(39,91,79,.07); }
.processing-card .field { margin-bottom: 14px; }
.radio-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { min-height: 40px; display: grid; place-items: center; border: 1px solid #d7e1df; border-radius: 9px; color: #71817f; font-size: 9px; font-weight: 700; cursor: pointer; }
.radio-card input:checked + span { border-color: var(--green); color: var(--green); background: #edf7f3; box-shadow: 0 0 0 2px rgba(22,120,88,.08); }
.conditional-fields { margin-top: 4px; }
.result-preview { margin-bottom: 14px; padding: 12px; border-radius: 9px; color: #4e6662; background: #edf5f2; font-size: 10px; line-height: 1.6; word-break: break-word; }
.drawer-actions { display: flex; gap: 8px; }
.drawer-actions .primary-button { flex: 1; }

.toast-region { position: fixed; z-index: 100; right: 22px; top: 100px; display: grid; gap: 9px; pointer-events: none; }
.toast { min-width: 280px; max-width: 390px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid #d8e2e0; border-radius: 10px; color: #40575a; background: rgba(255,255,255,.96); box-shadow: 0 15px 35px rgba(20,54,51,.14); font-size: 11px; animation: toast-in .2s ease; }
.toast::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); }
.toast.error::before { background: var(--red); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } }
footer { width: min(1180px, calc(100% - 48px)); margin: -50px auto 0; padding: 25px 0 35px; display: flex; justify-content: space-between; color: #91a09f; font-size: 9px; letter-spacing: .05em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 42px; }
  .hero-status-card { max-width: 480px; }
  .service-card { padding: 35px; }
  .track-layout { gap: 35px; }
  .login-wrap { grid-template-columns: 1fr; }
  .login-visual { min-height: 350px; }
  .login-orbit { width: 270px; height: 270px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .page-width, .site-header, .login-wrap { width: min(100% - 26px, 1180px); }
  .site-header { height: 74px; }
  .brand strong { font-size: 14px; }
  .brand small { display: none; }
  .brand-mark { width: 36px; height: 36px; }
  .top-nav a { padding: 8px 11px; font-size: 11px; }
  .hero { padding: 36px 2px 55px; }
  .hero h1 { font-size: 46px; }
  .hero-copy > p { font-size: 14px; }
  .hero-points { gap: 13px 20px; }
  .service-card { padding: 25px 18px 30px; border-radius: 23px; }
  .card-heading { align-items: stretch; flex-direction: column; gap: 20px; }
  .service-tabs { width: 100%; }
  .tab-button { flex: 1; justify-content: center; padding-inline: 8px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .full-field { grid-column: auto; }
  .track-layout { grid-template-columns: 1fr; padding-inline: 0; }
  .track-form { padding: 20px; }
  .track-result { padding: 25px 0 0; }
  .status-result-head { align-items: flex-start; flex-direction: column; }
  .receipt-actions { flex-direction: column; }
  .login-wrap { margin-top: 20px; }
  .login-visual { min-height: 330px; padding: 36px 28px; }
  .login-visual h1 { font-size: 34px; }
  .login-card { padding: 42px 25px; }
  .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { min-height: 125px; padding: 16px; }
  .stat-card strong { font-size: 28px; }
  .board-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { min-width: 0; width: 100%; }
  th, td { padding: 13px 14px; }
  th:nth-child(2), td:nth-child(2), th:nth-child(3), td:nth-child(3) { display: none; }
  .pagination { justify-content: center; }
  .drawer-content, .drawer-header { padding-inline: 18px; }
  .proof-grid { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-item.full { grid-column: auto; }
  .radio-row { grid-template-columns: 1fr; }
  .toast-region { left: 13px; right: 13px; top: 82px; }
  .toast { min-width: 0; max-width: none; }
  footer { width: calc(100% - 30px); margin-top: -50px; flex-direction: column; gap: 8px; }
}
