:root {
  --el-color-primary: #6d5efc;
  --el-color-primary-light-3: #9489ff;
  --el-color-primary-light-5: #b3abff;
  --el-color-primary-light-7: #d2ccff;
  --el-color-primary-light-8: #e4e0ff;
  --el-color-primary-light-9: #f1efff;
  --el-color-primary-dark-2: #5747e6;
  --brand-1: #4c33e6;
  --brand-2: #7c5cff;
  --brand-3: #22c6d8;
  --ink: #1f2340;
  --muted: #8a90ab;
  --bg: #f4f5fb;
}

* { box-sizing: border-box; }
html, body, #app { height: 100%; margin: 0; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
[v-cloak] { display: none; }

/* ---------------- 登录 ---------------- */
.login-wrap {
  height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1c1650 0%, #3b2a9e 45%, #6d4bf0 100%);
  position: relative; overflow: hidden;
}
.login-bg::before, .login-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
}
.login-bg::before { width: 520px; height: 520px; background: #22c6d8; left: -160px; top: -160px; }
.login-bg::after { width: 460px; height: 460px; background: #ff7ac8; right: -140px; bottom: -160px; }
.login-card {
  position: relative; z-index: 2; width: 400px; padding: 44px 40px 30px;
  background: rgba(255,255,255,.96); border-radius: 22px;
  box-shadow: 0 30px 80px rgba(16, 12, 64, .45);
}
.login-brand { text-align: center; margin-bottom: 26px; }
.login-logo {
  width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #fff;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 12px 24px rgba(109, 94, 252, .45);
}
.login-brand h1 { font-size: 21px; margin: 0 0 6px; letter-spacing: 2px; }
.login-brand p { margin: 0; color: var(--muted); font-size: 13px; }
.login-btn { width: 100%; height: 46px; font-size: 16px; letter-spacing: 8px; border-radius: 12px; margin-top: 6px; }
.login-foot { text-align: center; color: #b5b9cc; font-size: 12px; margin-top: 26px; }

/* ---------------- 布局 ---------------- */
.layout { height: 100%; }
.aside {
  background: linear-gradient(180deg, #241d63 0%, #342a8f 55%, #4534b8 100%);
  color: #e9e7ff; display: flex; flex-direction: column; position: relative;
}
.logo {
  height: 64px; display: flex; align-items: center; gap: 10px;
  padding: 0 22px; font-size: 16px; font-weight: 600; letter-spacing: 1px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo-mark { font-size: 20px; color: #8ef0ff; }
.menu { border: 0; background: transparent; padding: 12px 10px; flex: 1; }
.menu .el-menu-item {
  color: #c9c4f5; border-radius: 10px; margin: 4px 0; height: 44px;
}
.menu .el-menu-item .mi { margin-right: 10px; opacity: .9; }
.menu .el-menu-item:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu .el-menu-item.is-active {
  background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  color: #fff; box-shadow: inset 3px 0 0 #8ef0ff;
}
.aside-foot { padding: 16px 22px; font-size: 12px; color: rgba(255,255,255,.45); }

.header {
  height: 64px; background: #fff; display: flex; align-items: center;
  justify-content: space-between; padding: 0 26px;
  box-shadow: 0 1px 0 rgba(31,35,64,.06); z-index: 5;
}
.crumb { font-size: 16px; font-weight: 600; }
.crumb::before {
  content: ""; display: inline-block; width: 4px; height: 16px; margin-right: 10px;
  border-radius: 2px; background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
  transform: translateY(2px);
}
.header-right { display: flex; align-items: center; gap: 8px; }
.welcome { color: var(--muted); font-size: 13px; }

.main { padding: 22px 26px 36px; overflow-y: auto; }
.page { width: 100%; max-width: none; }
.page.narrow { max-width: 760px; }

/* ---------------- 卡片与面板 ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-grid.small .stat-card { padding: 16px 18px; }
.stat-card {
  border-radius: 16px; padding: 20px 22px; display: flex; align-items: center; gap: 16px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 10px 26px rgba(60, 50, 160, .18);
}
.stat-card::after {
  content: ""; position: absolute; right: -30px; bottom: -40px;
  width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.12);
}
.stat-card.c1 { background: linear-gradient(135deg, #5b3df5, #8b6bff); }
.stat-card.c2 { background: linear-gradient(135deg, #0ea5c6, #22d3ee); }
.stat-card.c3 { background: linear-gradient(135deg, #7c3aed, #c084fc); }
.stat-card.c4 { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.stat-ico { font-size: 26px; opacity: .95; }
.stat-label { font-size: 13px; opacity: .9; margin-bottom: 6px; }
.stat-value { font-size: 26px; font-weight: 700; letter-spacing: .5px; }
.stat-value .unit { font-size: 13px; font-weight: 400; margin-left: 4px; opacity: .9; }

.panel {
  background: #fff; border-radius: 14px; padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(31, 35, 64, .06); margin-bottom: 18px;
}
.panel-title {
  font-size: 15px; font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.panel-title::before {
  content: ""; width: 4px; height: 14px; border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
}

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pager { display: flex; justify-content: flex-end; margin-top: 14px; }

.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quick {
  border: 1px solid #ecebfa; border-radius: 12px; padding: 16px 18px; cursor: pointer;
  transition: .18s; background: linear-gradient(180deg, #fbfbff, #f6f5ff);
}
.quick:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(109,94,252,.14); border-color: #d7d2ff; }
.quick b { display: block; margin-bottom: 6px; color: var(--brand-1); }
.quick span { color: var(--muted); font-size: 13px; }

.detail-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; }
.mini-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.mini { background: #f7f7fd; border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.mini span { color: var(--muted); font-size: 12px; }
.mini b { font-size: 18px; }
.mini b.violet { color: var(--brand-1); }
.mini b.cyan { color: #0891b2; }
.detail-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.cred-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.cred-row > span { width: 70px; color: var(--muted); }
.cred-row code {
  flex: 1; background: #f5f4ff; border: 1px solid #e7e4ff; border-radius: 8px;
  padding: 8px 10px; word-break: break-all; color: var(--brand-1);
}
.hint { color: var(--muted); font-size: 12px; margin-left: 10px; }
.hint-block {
  margin-top: 8px; background: #f7f7fd; border-left: 3px solid var(--brand-2);
  padding: 10px 14px; color: #6b7086; font-size: 12.5px; border-radius: 6px; line-height: 1.7;
}
.hint-block p { margin: 5px 0; }
.hint-block p:first-child { margin-top: 0; }
.hint-block p:last-child { margin-bottom: 0; }
.hint-block b { color: #4c33e6; font-weight: 600; }

.el-table th.el-table__cell { background: #faf9ff !important; color: #5a5f7a; font-weight: 600; }
.panel .el-table { width: 100%; }
.el-button--primary { --el-button-bg-color: var(--el-color-primary); }
.el-page-header__content { font-weight: 600; }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
}

/* ---------------- 门户 ---------------- */
/* 门户登录：沿用链证云落地页的渐变与玻璃质感 */
.portal-login.login-wrap {
  background:
    radial-gradient(900px 520px at 86% 8%, rgba(255, 78, 80, .42), transparent 62%),
    radial-gradient(820px 520px at 8% 92%, rgba(52, 152, 219, .5), transparent 62%),
    linear-gradient(135deg, #3498db 0%, #8224e3 52%, #f48d07 100%);
}
.portal-login .login-bg::before { background: #ff4e50; opacity: .28; }
.portal-login .login-bg::after { background: #3498db; opacity: .3; }
.portal-login .login-card {
  width: 420px; color: #fff;
  background: rgba(12, 20, 40, .34);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(6, 16, 38, .45);
}
.portal-login .login-brand { margin-bottom: 28px; }
.portal-login-brandline { display: flex; align-items: center; justify-content: center; gap: 10px; }
.portal-login-mark { width: 38px; height: 38px; flex: none; }
.portal-login-mark circle { fill: none; stroke: #fff; stroke-width: 2.2; }
.portal-login-mark circle.dot { fill: #fff; stroke: none; }
.portal-login-mark path { fill: none; stroke: #fff; stroke-width: 2.2; }
.portal-login-title {
  font-size: 27px; font-weight: 900; letter-spacing: .16em; line-height: 1;
  color: #fff; text-shadow: 0 4px 18px rgba(6, 16, 38, .28);
}
.portal-login .login-brand h1 {
  margin: 16px 0 6px; font-size: 18px; font-weight: 600; letter-spacing: 3px; color: #fff;
}
.portal-login .login-brand p { color: rgba(255, 255, 255, .72); font-size: 13px; letter-spacing: .5px; }
.portal-login .el-input__wrapper {
  background: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .24) inset;
}
.portal-login .el-input__wrapper.is-focus { box-shadow: 0 0 0 1px rgba(255, 255, 255, .65) inset; }
.portal-login .el-input__inner { color: #fff; }
.portal-login .el-input__inner::placeholder { color: rgba(255, 255, 255, .55); }
.portal-login .el-input__icon,
.portal-login .el-input__password,
.portal-login .el-input__password svg { color: rgba(255, 255, 255, .72); }
.portal-login .login-btn {
  --el-button-bg-color: #fff;
  --el-button-border-color: #fff;
  --el-button-text-color: #16305c;
  --el-button-hover-bg-color: #eef2ff;
  --el-button-hover-border-color: #eef2ff;
  --el-button-hover-text-color: #16305c;
  height: 48px; border-radius: 999px; font-weight: 800; letter-spacing: 8px; font-size: 15px;
}
.portal-login .login-foot { color: rgba(255, 255, 255, .6); }
.portal-login .login-home {
  display: block; margin-top: 10px; text-align: center;
  color: rgba(255, 255, 255, .8); font-size: 12.5px; text-decoration: none;
}
.portal-login .login-home:hover { color: #fff; }
.portal-login .login-icp { margin-top: 8px; text-align: center; font-size: 12px; color: rgba(255, 255, 255, .55); text-decoration: none; display: block; }
.portal-login .login-icp:hover { text-decoration: underline; }
.portal-foot {
  padding: 18px 28px 26px; text-align: center;
  font-size: 12px; color: var(--muted);
}
.portal-foot a { color: inherit; text-decoration: none; }
.portal-foot a:hover { text-decoration: underline; }

/* 登录后「首页」：内嵌链证云落地页 */
.landing-embed { position: relative; height: calc(100vh - 84px); height: calc(100dvh - 84px); background: #252635; }
.landing-embed iframe {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0;
}
@media (max-width: 1120px) {
  .landing-embed { height: calc(100vh - 140px); height: calc(100dvh - 140px); }
}
.portal-shell {
  min-height: 100%;
  background:
    radial-gradient(1200px 360px at 12% -8%, rgba(109, 94, 252, .14), transparent 60%),
    radial-gradient(900px 300px at 88% -12%, rgba(34, 198, 216, .12), transparent 60%),
    var(--bg);
}
.portal-header {
  position: relative; min-height: 84px; overflow: hidden;
  display: flex; align-items: center; gap: 28px; padding: 0 36px;
  color: #fff;
  background:
    radial-gradient(900px 260px at 8% -60%, rgba(34, 198, 216, .35), transparent 65%),
    radial-gradient(700px 240px at 82% -70%, rgba(255, 122, 200, .22), transparent 65%),
    linear-gradient(100deg, #100c2e 0%, #241d63 44%, #382c9c 100%);
  box-shadow: 0 18px 40px rgba(20, 16, 64, .28);
}
.portal-header::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 82%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 82%);
}
.portal-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 240, 255, .55), rgba(255, 122, 200, .38), transparent);
}
.portal-header > * { position: relative; z-index: 1; }
.portal-brand { display: flex; align-items: center; gap: 14px; }
.portal-logo {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 23px; color: #fff;
  background: linear-gradient(135deg, #22c6d8, #6d5efc 62%, #a855f7);
  box-shadow: 0 10px 26px rgba(34, 198, 216, .32), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.portal-brand-title { font-size: 20px; font-weight: 700; letter-spacing: 2.5px; line-height: 1.2; }
.portal-brand-sub { margin-top: 4px; font-size: 10px; letter-spacing: 2.6px; color: rgba(233, 231, 255, .48); font-weight: 500; }
.portal-nav { display: flex; align-items: center; gap: 10px; flex: 1; margin-left: 28px; }
.portal-nav a {
  position: relative; display: flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: 12px; border: 1px solid transparent;
  color: rgba(233, 231, 255, .72); font-size: 15px; font-weight: 500; letter-spacing: .5px;
  cursor: pointer; user-select: none;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.portal-nav a .nav-ico { font-size: 15px; opacity: .85; }
.portal-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; transform: translateY(-1px); }
.portal-nav a.active {
  color: #fff; border-color: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07));
  box-shadow: 0 10px 26px rgba(10, 8, 48, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.portal-nav a.active::after {
  content: ""; position: absolute; left: 24px; right: 24px; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #8ef0ff, #a78bfa);
  box-shadow: 0 0 12px rgba(142, 240, 255, .7);
}
.portal-header-right { display: flex; align-items: center; gap: 16px; }
.portal-user {
  display: flex; align-items: center; gap: 11px; padding: 7px 16px 7px 7px;
  border-radius: 999px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.portal-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #1b1449;
  background: linear-gradient(135deg, #8ef0ff, #c4b5fd);
  box-shadow: 0 4px 12px rgba(142, 240, 255, .28);
}
.portal-user-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.portal-company {
  color: #f0eeff; font-size: 13px; font-weight: 600;
  max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.portal-user-sub { color: rgba(233, 231, 255, .45); font-size: 10px; letter-spacing: 1.5px; }
.portal-logout {
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #e9e7ff;
  font-size: 13px; padding: 9px 18px; border-radius: 999px; cursor: pointer;
  transition: .2s; font-family: inherit;
}
.portal-logout:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); color: #fff; }
.portal-main { max-width: 1240px; margin: 0 auto; padding: 28px 28px 56px; }
.portal-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin: 2px 0 22px; padding: 0 4px;
}
.portal-hero.compact { margin-bottom: 18px; }
.portal-hero-left { display: flex; align-items: center; gap: 16px; }
.portal-hero-eyebrow {
  display: block; font-size: 10px; letter-spacing: 3px; font-weight: 700;
  color: var(--brand-1); opacity: .8; margin-bottom: 7px;
}
.portal-hero-text h2 {
  position: relative; margin: 0; padding-left: 14px;
  font-size: 27px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; color: var(--ink);
}
.portal-hero-text h2::before {
  content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--brand-2), var(--brand-3));
}
.portal-hero-text p { margin: 8px 0 0 14px; color: var(--muted); font-size: 13.5px; letter-spacing: .3px; }
.portal-hero-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-bottom: 4px; }
.hero-badge {
  padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #e8e6f8;
  color: #5a5f7a; font-size: 12px; box-shadow: 0 4px 12px rgba(31, 35, 64, .05);
}
.hero-date { font-size: 12.5px; color: var(--muted); letter-spacing: .6px; }
.hero-count {
  padding: 9px 16px; border-radius: 12px; font-size: 12.5px; color: #4c4790;
  background: linear-gradient(135deg, rgba(109, 94, 252, .1), rgba(34, 198, 216, .1));
  border: 1px solid rgba(109, 94, 252, .18);
}
.hero-count b { font-size: 19px; color: var(--brand-1); margin-right: 4px; }
.portal-back {
  width: 42px; height: 42px; flex: none; padding: 0 0 3px; border-radius: 12px;
  border: 1px solid #e6e4f7; background: #fff; color: var(--brand-1); cursor: pointer;
  font-size: 24px; line-height: 1; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(31, 35, 64, .06); transition: .2s;
}
.portal-back:hover { border-color: #c9c2ff; background: #f7f5ff; transform: translateX(-2px); }
.portal-summary { display: flex; gap: 18px; color: #6b7086; font-size: 13px; flex-wrap: wrap; }
.portal-summary b { color: var(--brand-1); font-size: 15px; }

.attr-wrap { width: 100%; }
.attr-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.attr-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.deposit-form .el-input { max-width: 680px; }
.result-panel .panel-title { color: #15803d; }
.result-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.result-row > span { width: 90px; color: var(--muted); font-size: 13px; }
.result-row code {
  flex: 1; background: #f2fbf5; border: 1px solid #ccebd6; border-radius: 8px;
  padding: 8px 10px; word-break: break-all; color: #166534;
}
.result-actions { display: flex; gap: 10px; margin-top: 16px; }

@media (max-width: 1120px) {
  .portal-header { flex-wrap: wrap; gap: 14px; padding: 14px 22px; }
  .portal-nav { order: 3; flex-basis: 100%; margin-left: 0; }
  .portal-brand-sub, .portal-user-sub { display: none; }
  .portal-company { max-width: 160px; }
}
@media (max-width: 720px) {
  .portal-brand-title { font-size: 17px; letter-spacing: 1px; }
  .portal-logo { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
  .portal-nav a { padding: 10px 16px; font-size: 14px; }
  .portal-user { padding: 4px; }
  .portal-user-text { display: none; }
  .portal-avatar { width: 32px; height: 32px; }
  .portal-logout { padding: 8px 14px; }
  .portal-main { padding: 20px 16px 40px; }
  .portal-hero { flex-direction: column; align-items: flex-start; gap: 14px; }
  .portal-hero-meta { padding-bottom: 0; }
  .portal-hero-text h2 { font-size: 23px; }
}

/* 门户一键存证 · 文件哈希 */
.file-hash { width: 100%; }
.file-hash-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.file-name { font-size: 13px; color: #303133; word-break: break-all; }
.file-name.muted { color: #909399; }
.hash-line { margin-top: 6px; font-size: 12.5px; color: #606266; word-break: break-all; }
.hash-line code { font-size: 12px; color: #303133; }
.hash-warn { margin-top: 4px; font-size: 12px; color: #e6a23c; }

/* ---------------- 移动端适配 ---------------- */
.deposit-table-wrap { display: block; }
.mobile-deposits { display: none; }
.mobile-list { display: none; }
.m-deposit {
  border: 1px solid #ecebfa; border-radius: 12px; padding: 12px;
  margin-bottom: 10px; background: #fff;
}
.m-deposit-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; margin-bottom: 8px;
}
.m-deposit-head b { font-size: 14px; line-height: 1.45; word-break: break-all; }
.m-deposit-row {
  display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px;
  color: #5a5f7a; line-height: 1.85; word-break: normal;
}
.m-deposit-row > span:first-child { flex: 0 0 64px; color: var(--muted); }
.m-deposit-row code {
  flex: 1; min-width: 0;
  font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--brand-1);
  word-break: break-all;
}
.m-deposit-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.m-empty { padding: 24px 0; text-align: center; color: var(--muted); font-size: 13px; }

@media (max-width: 768px) {
  html, body { overflow-x: hidden; -webkit-overflow-scrolling: touch; }
  a, button, .el-button { touch-action: manipulation; }
  .login-wrap { height: 100vh; height: 100dvh; min-height: 100vh; min-height: 100dvh; }
  .login-card, .portal-login .login-card {
    width: calc(100vw - 32px); max-width: 420px; padding: 32px 22px 24px;
  }
  .portal-shell {
    min-height: 100vh; min-height: 100dvh;
    display: flex; flex-direction: column;
  }
  .portal-header {
    flex: none; gap: 10px; padding: 12px 14px; min-height: 64px;
  }
  .portal-brand { gap: 10px; }
  .portal-brand-title { font-size: 16px; letter-spacing: .5px; }
  .portal-logo { width: 36px; height: 36px; border-radius: 11px; font-size: 18px; }
  .portal-nav {
    gap: 4px; margin-left: 0; overflow-x: auto; -webkit-overflow-scrolling: touch;
  }
  .portal-nav a {
    padding: 8px 12px; font-size: 13px; gap: 5px; white-space: nowrap;
  }
  .portal-nav a .nav-ico { display: none; }
  .portal-header-right { gap: 8px; }
  .portal-main { flex: 1; padding: 16px 12px 32px; min-width: 0; width: 100%; margin: 0; }
  .landing-embed { flex: 1; height: auto; min-height: 0; }
  .landing-embed iframe { height: 100%; }
  .portal-hero { gap: 10px; margin-bottom: 14px; }
  .portal-hero-text h2 { font-size: 20px; }
  .portal-hero-text p { font-size: 12.5px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 14px; gap: 10px; border-radius: 12px; }
  .stat-ico { font-size: 20px; }
  .stat-value { font-size: 20px; }
  .stat-label { font-size: 12px; }
  .panel { padding: 14px 12px; border-radius: 12px; overflow: hidden; min-width: 0; }
  .panel .el-table { width: 100% !important; }
  .panel .el-table__body-wrapper,
  .panel .el-scrollbar__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 10px; }
  .filters { width: 100%; gap: 8px; }
  .filters .el-input,
  .filters .el-select,
  .filters .el-date-editor { width: 100% !important; }
  .toolbar > .el-button { width: 100%; }
  .deposit-form .el-form-item__label { width: 88px !important; padding-right: 8px; }
  .deposit-form .el-form-item { margin-bottom: 16px; }
  .deposit-form .el-input,
  .deposit-form .el-textarea { max-width: 100%; }
  .result-row { flex-wrap: wrap; gap: 6px; }
  .result-row > span { width: 72px; }
  .hint-block { font-size: 12px; }
  .portal-foot { padding: 14px 12px 20px; font-size: 11px; }
  .deposit-table-wrap { display: none; }
  .mobile-deposits { display: block; }
  .desktop-table { display: none; }
  .mobile-list { display: block; }
  .pager { justify-content: center; overflow-x: auto; padding-top: 10px; }
}
@media (min-width: 769px) {
  .mobile-deposits { display: none; }
}
@media (max-width: 360px) {
  .stat-grid { grid-template-columns: 1fr; }
  .portal-nav a { padding: 8px 10px; }
}

