:root {
  --page-bg: #ffffff;
  --panel-bg: #ffffff;
  --panel-subtle: #f7f9fc;
  --panel-border: #dbe3ee;
  --text-main: #1e293b;
  --text-subtle: #64748b;
  --accent: #1d4f91;
  --accent-soft: rgba(29, 79, 145, 0.12);
  --accent-line: rgba(29, 79, 145, 0.22);
  --nav-bg: #162131;
  --nav-card: rgba(255, 255, 255, 0.06);
  --info: #2b6fd3;
  --success: #1c8f63;
  --warning: #c9861f;
  --danger: #d2545f;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  --font-sans: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow: hidden;
}

body.portal-mode {
  overflow: auto;
}

body.shell-mode {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

.org-admin-app {
  min-height: 100vh;
}

.hidden {
  display: none !important;
}

.login-view {
  position: relative;
  min-height: 100vh;
  padding: 32px 32px 44px;
}

.legal-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 18px auto 0;
  color: #8a99ab;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
}

.legal-footer a:hover {
  color: #315b8f;
  text-decoration: underline;
}

.login-backdrop {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.login-backdrop::before {
  display: none;
}

.portal-shell,
.login-page {
  position: relative;
  z-index: 1;
}

.portal-shell {
  width: min(1560px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.portal-header {
  position: sticky;
  top: 18px;
  z-index: 4;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid #e3ebf4;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 252, 255, 0.98) 100%);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
}

.portal-header::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32, 74, 136, 0.88) 0%, rgba(15, 122, 116, 0.88) 52%, rgba(32, 74, 136, 0.18) 100%);
}

.portal-header::after {
  content: "";
  position: absolute;
  right: -28px;
  top: -48px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 74, 136, 0.08) 0%, rgba(15, 122, 116, 0.05) 34%, transparent 72%);
  pointer-events: none;
}

.portal-brand {
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.portal-brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(25, 84, 148, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.portal-brand-copy strong,
.portal-brand-copy span {
  display: block;
}

.portal-brand-copy strong {
  color: #16283d;
  font-size: 20px;
  line-height: 1.2;
}

.portal-brand-copy span {
  margin-top: 4px;
  color: #63758a;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.portal-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid #e4ebf3;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbfe 0%, #f1f5fa 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  position: relative;
  z-index: 1;
}

.portal-nav-item {
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #425469;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.portal-nav-item:hover,
.portal-nav-item.is-active {
  border-color: rgba(32, 74, 136, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(242, 247, 253, 0.96) 100%);
  color: #15355e;
  box-shadow: 0 12px 24px rgba(23, 52, 92, 0.08);
  transform: translateY(-1px);
}

.portal-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 1;
}

.portal-login-trigger {
  min-width: 146px;
  height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%);
  box-shadow: 0 18px 30px rgba(32, 74, 136, 0.2);
  border: 0;
}

.portal-content {
  min-height: calc(100vh - 148px);
}

.portal-home-grid,
.portal-intro-hero,
.portal-intro-section {
  border: 1px solid rgba(214, 225, 238, 0.92);
  border-radius: 28px;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.08);
}

.portal-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.portal-intro-page {
  --portal-theme-shell-start: #eef6ff;
  --portal-theme-shell-end: #f7fbff;
  --portal-theme-panel-start: rgba(255, 255, 255, 0.98);
  --portal-theme-panel-end: rgba(245, 250, 255, 0.98);
  --portal-theme-soft: rgba(43, 104, 180, 0.08);
  --portal-theme-soft-strong: rgba(43, 104, 180, 0.14);
  --portal-theme-line: #dbe7f4;
  --portal-theme-head: #e9f1fb;
  --portal-theme-accent: #1f5a98;
  --portal-theme-accent-2: #13827a;
  --portal-theme-dark: #16283d;
  --portal-theme-poster: url("./assets/poster-attendance.png");
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(214, 225, 238, 0.86);
  border-radius: 34px;
  background: linear-gradient(180deg, var(--portal-theme-shell-start) 0%, var(--portal-theme-shell-end) 100%);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.08);
}

.portal-intro-page-attendance {
  --portal-theme-shell-start: #ebf5ff;
  --portal-theme-shell-end: #f1fbfb;
  --portal-theme-panel-start: rgba(255, 255, 255, 0.985);
  --portal-theme-panel-end: rgba(240, 249, 255, 0.985);
  --portal-theme-soft: rgba(32, 108, 178, 0.08);
  --portal-theme-soft-strong: rgba(21, 178, 165, 0.14);
  --portal-theme-line: #d7e7f4;
  --portal-theme-head: #e8f3fb;
  --portal-theme-accent: #1f5a98;
  --portal-theme-accent-2: #14978a;
  --portal-theme-poster: url("./assets/poster-attendance.png");
}

.portal-intro-page-claims {
  --portal-theme-shell-start: #fff3ea;
  --portal-theme-shell-end: #fff6fa;
  --portal-theme-panel-start: rgba(255, 255, 255, 0.985);
  --portal-theme-panel-end: rgba(255, 247, 242, 0.985);
  --portal-theme-soft: rgba(211, 106, 31, 0.09);
  --portal-theme-soft-strong: rgba(226, 81, 114, 0.15);
  --portal-theme-line: #f0dfd7;
  --portal-theme-head: #fbece4;
  --portal-theme-accent: #b85d1d;
  --portal-theme-accent-2: #d94c68;
  --portal-theme-poster: url("./assets/poster-claims.png");
}

.portal-intro-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 30px;
  background: linear-gradient(180deg, var(--portal-theme-panel-start) 0%, var(--portal-theme-panel-end) 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 18px;
  align-items: stretch;
  border-color: var(--portal-theme-line);
}

.portal-intro-hero::before {
  content: "";
  position: absolute;
  inset: -10% -6% auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--portal-theme-accent) 22%, #ffffff 78%) 0%, color-mix(in srgb, var(--portal-theme-accent-2) 12%, transparent) 42%, transparent 72%);
  filter: blur(4px);
  z-index: 0;
}

.portal-intro-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--portal-theme-accent) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--portal-theme-accent) 5%, transparent) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.32), transparent 58%);
  pointer-events: none;
  z-index: 0;
}

.portal-intro-hero-attendance {
  background:
    radial-gradient(circle at top right, rgba(47, 145, 197, 0.16) 0%, transparent 35%),
    linear-gradient(180deg, var(--portal-theme-panel-start) 0%, var(--portal-theme-panel-end) 100%);
}

.portal-intro-hero-claims {
  background:
    radial-gradient(circle at top right, rgba(214, 116, 63, 0.16) 0%, transparent 35%),
    linear-gradient(180deg, var(--portal-theme-panel-start) 0%, var(--portal-theme-panel-end) 100%);
}

.portal-intro-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  position: relative;
  z-index: 1;
}

.portal-intro-copy-block {
  display: grid;
  gap: 12px;
}

.portal-intro-copy-block p {
  margin: 0;
  color: #42556d;
  font-size: 14px;
  line-height: 1.95;
}

.portal-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--portal-theme-soft);
  color: var(--portal-theme-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-title {
  margin: 0;
  color: #142437;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.portal-lead {
  margin: 0;
  color: #607288;
  font-size: 15px;
  line-height: 1.9;
  max-width: 680px;
}

.portal-feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-feature-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--portal-theme-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, color-mix(in srgb, var(--portal-theme-shell-start) 48%, #ffffff 52%) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.portal-feature-card strong,
.portal-feature-card p {
  display: block;
}

.portal-feature-card strong {
  color: var(--portal-theme-dark);
  font-size: 15px;
}

.portal-feature-card p {
  margin: 8px 0 0;
  color: #677a90;
  font-size: 13px;
  line-height: 1.75;
}

.portal-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-hero-actions .layui-btn {
  min-width: 148px;
  height: 46px;
  border-radius: 999px;
  padding: 0 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.portal-intro-page .portal-hero-actions .layui-btn:hover {
  transform: translateY(-1px);
}

.portal-intro-page .portal-hero-actions .layui-btn-normal {
  border: 0 !important;
  background: linear-gradient(135deg, var(--portal-theme-accent) 0%, var(--portal-theme-accent-2) 100%) !important;
  box-shadow: 0 16px 28px color-mix(in srgb, var(--portal-theme-accent) 22%, transparent) !important;
}

.portal-secondary-trigger {
  min-width: 148px;
  border-color: var(--portal-theme-line) !important;
  background: color-mix(in srgb, var(--portal-theme-soft) 80%, #ffffff 20%) !important;
  color: var(--portal-theme-accent) !important;
  box-shadow: none !important;
}

.portal-intro-summary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--portal-theme-accent) 84%, #112034 16%) 0%, color-mix(in srgb, var(--portal-theme-accent-2) 68%, #112034 32%) 100%);
  color: #f9fbff;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 40px color-mix(in srgb, var(--portal-theme-accent) 18%, transparent);
}

.portal-intro-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.portal-intro-summary::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 22%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22) 0%, transparent 34%);
  z-index: 0;
  pointer-events: none;
}

.portal-intro-summary::after {
  content: "";
  position: absolute;
  right: -34px;
  top: 18px;
  width: 220px;
  height: 286px;
  border-radius: 30px;
  background-image: var(--portal-theme-poster);
  background-size: cover;
  background-position: center top;
  opacity: 0.15;
  transform: rotate(10deg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  z-index: 0;
  pointer-events: none;
}

.portal-intro-summary-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.portal-intro-summary-card::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.18) 100%);
}

.portal-intro-summary-card span,
.portal-intro-summary-card strong {
  display: block;
}

.portal-intro-summary-card span {
  color: rgba(247, 251, 255, 0.56);
  font-size: 11px;
}

.portal-intro-summary-card strong {
  margin-top: 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

.portal-intro-summary-note {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
  position: relative;
  z-index: 1;
}

.portal-intro-summary-note strong,
.portal-intro-summary-note p {
  display: block;
}

.portal-intro-summary-note strong {
  color: #fff;
  font-size: 15px;
}

.portal-intro-summary-note p {
  margin: 8px 0 0;
  color: rgba(247, 251, 255, 0.72);
  font-size: 13px;
  line-height: 1.8;
}

.portal-intro-section {
  padding: 24px;
  background: linear-gradient(180deg, var(--portal-theme-panel-start) 0%, var(--portal-theme-panel-end) 100%);
  border-color: var(--portal-theme-line);
}

.portal-intro-section-story {
  position: relative;
  overflow: hidden;
}

.portal-intro-section-story::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -56px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--portal-theme-accent-2) 14%, #ffffff 86%) 0%, transparent 72%);
  pointer-events: none;
}

.portal-intro-section-flow {
  background:
    linear-gradient(180deg, var(--portal-theme-panel-start) 0%, var(--portal-theme-panel-end) 100%);
}

.portal-intro-section-matrix,
.portal-intro-section-scenarios {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, color-mix(in srgb, var(--portal-theme-shell-start) 34%, #ffffff 66%) 100%);
}

.portal-intro-section-head {
  margin-bottom: 14px;
}

.portal-intro-section-head h2 {
  margin: 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--portal-theme-dark);
  font-size: 24px;
}

.portal-intro-section-head h2::before {
  content: "";
  width: 10px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--portal-theme-accent) 0%, var(--portal-theme-accent-2) 100%);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--portal-theme-accent) 18%, transparent);
}

.portal-intro-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 20px;
  align-items: start;
}

.portal-intro-story-copy {
  display: grid;
  gap: 14px;
  padding: 4px 2px 4px 0;
}

.portal-intro-story-lead {
  margin: 0;
  color: #3f5269;
  font-size: 14px;
  line-height: 1.9;
}

.portal-intro-story-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.portal-intro-story-points li {
  position: relative;
  padding-left: 18px;
  color: #24384f;
  font-size: 14px;
  line-height: 1.85;
}

.portal-intro-story-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-theme-accent) 0%, var(--portal-theme-accent-2) 100%);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--portal-theme-soft-strong) 58%, transparent);
}

.portal-intro-story-side {
  padding: 18px;
  border: 1px solid var(--portal-theme-line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--portal-theme-shell-start) 62%, #ffffff 38%) 100%);
  box-shadow: 0 18px 36px color-mix(in srgb, var(--portal-theme-accent) 8%, transparent);
}

.portal-intro-story-side .portal-intro-section-head {
  margin-bottom: 14px;
}

.portal-intro-story-side .portal-feature-list {
  grid-template-columns: 1fr;
  gap: 14px;
}

.portal-intro-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.portal-intro-flow-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  padding: 22px 22px 20px;
  border: 1px solid var(--portal-theme-line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, color-mix(in srgb, var(--portal-theme-shell-start) 46%, #ffffff 54%) 100%);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--portal-theme-accent) 10%, transparent);
  overflow: hidden;
}

.portal-intro-flow-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--portal-theme-accent) 0%, var(--portal-theme-accent-2) 100%);
}

.portal-intro-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-intro-flow-index {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--portal-theme-accent) 0%, var(--portal-theme-accent-2) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 24px color-mix(in srgb, var(--portal-theme-accent) 24%, transparent);
}

.portal-intro-flow-role {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--portal-theme-soft);
  color: var(--portal-theme-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-intro-flow-card strong,
.portal-intro-flow-card p {
  display: block;
  margin: 0;
}

.portal-intro-flow-card strong {
  margin-top: 18px;
  color: var(--portal-theme-dark);
  font-size: 18px;
  line-height: 1.5;
}

.portal-intro-flow-card p {
  margin-top: 10px;
  color: #607388;
  font-size: 14px;
  line-height: 1.85;
}

.portal-intro-matrix {
  border: 1px solid var(--portal-theme-line);
  border-radius: 24px;
  overflow: hidden;
  background: color-mix(in srgb, var(--portal-theme-shell-start) 72%, #ffffff 28%);
}

.portal-intro-matrix-head,
.portal-intro-matrix-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.78fr) minmax(0, 1.22fr) minmax(220px, 0.9fr);
  gap: 16px;
  padding: 16px 20px;
}

.portal-intro-matrix-head {
  background: var(--portal-theme-head);
  color: #5e738c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-intro-matrix-row {
  align-items: start;
  border-top: 1px solid var(--portal-theme-line);
  background: rgba(255, 255, 255, 0.96);
}

.portal-intro-matrix-row:hover {
  background: color-mix(in srgb, var(--portal-theme-shell-start) 58%, #ffffff 42%);
}

.portal-intro-matrix-row strong,
.portal-intro-matrix-row p,
.portal-intro-matrix-row span {
  display: block;
  margin: 0;
}

.portal-intro-matrix-row strong {
  color: #142b43;
  font-size: 15px;
  line-height: 1.7;
}

.portal-intro-matrix-row p {
  color: #556980;
  font-size: 14px;
  line-height: 1.85;
}

.portal-intro-matrix-row span {
  color: var(--portal-theme-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.portal-intro-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-intro-scenario-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 22px 20px;
  border: 1px solid var(--portal-theme-line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--portal-theme-shell-start) 48%, #ffffff 52%) 100%);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--portal-theme-accent) 8%, transparent);
  overflow: hidden;
}

.portal-intro-scenario-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--portal-theme-accent) 0%, var(--portal-theme-accent-2) 100%);
}

.portal-intro-scenario-index {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--portal-theme-soft);
  color: var(--portal-theme-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-intro-scenario-card strong,
.portal-intro-scenario-card p,
.portal-intro-scenario-result span,
.portal-intro-scenario-result b {
  display: block;
  margin: 0;
}

.portal-intro-scenario-card strong {
  color: var(--portal-theme-dark);
  font-size: 18px;
  line-height: 1.55;
}

.portal-intro-scenario-card p {
  color: #607286;
  font-size: 14px;
  line-height: 1.9;
}

.portal-intro-scenario-result {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--portal-theme-soft) 0%, color-mix(in srgb, var(--portal-theme-soft-strong) 66%, #ffffff 34%) 100%);
}

.portal-intro-scenario-result span {
  color: var(--portal-theme-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-intro-scenario-result b {
  margin-top: 8px;
  color: color-mix(in srgb, var(--portal-theme-accent) 74%, #20384f 26%);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
}

.portal-poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-poster-card {
  position: relative;
  min-height: 600px;
  aspect-ratio: 4 / 4.8;
  padding: 0;
  border: 0;
  border-radius: 40px;
  overflow: hidden;
  display: block;
  color: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 28px 56px rgba(15, 23, 42, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, outline-color 0.22s ease, filter 0.22s ease;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
}

.portal-poster-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  pointer-events: none;
  z-index: 2;
}

.portal-poster-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 38px 68px rgba(15, 23, 42, 0.22);
  filter: saturate(1.06);
}

.portal-poster-card.is-active {
  outline: 3px solid rgba(24, 67, 114, 0.22);
  outline-offset: 0;
}

.portal-poster-card-attendance {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.22) 0%, transparent 28%),
    linear-gradient(150deg, #163e78 0%, #1f73a5 54%, #1bb2a2 100%);
}

.portal-poster-card-claims {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18) 0%, transparent 28%),
    linear-gradient(150deg, #b55512 0%, #d4631d 44%, #d94763 100%);
}

.portal-poster-card-bidding {
  background:
    radial-gradient(circle at top right, rgba(116, 151, 217, 0.22) 0%, transparent 26%),
    linear-gradient(150deg, #21314b 0%, #172335 48%, #0d1420 100%);
}

.portal-poster-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-poster-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.portal-poster-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-poster-glow {
  position: absolute;
  inset: auto -14% -20% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.05) 36%, transparent 70%);
  pointer-events: none;
}

.portal-poster-watermark {
  position: absolute;
  right: 18px;
  bottom: 10px;
  z-index: 0;
  color: rgba(255, 255, 255, 0.08);
  font-size: 92px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 0.9;
  pointer-events: none;
  user-select: none;
}

.portal-poster-head,
.portal-poster-main,
.portal-poster-footer,
.portal-poster-visual,
.portal-poster-content {
  position: relative;
  z-index: 1;
}

.portal-poster-visual {
  position: relative;
  min-height: 178px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.portal-poster-content {
  display: grid;
  gap: 18px;
  margin-top: auto;
}

.portal-poster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portal-poster-code {
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.portal-poster-main {
  display: grid;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  gap: 16px;
}

.portal-poster-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.portal-poster-card strong {
  display: block;
  font-size: 40px;
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.portal-poster-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.9;
  max-width: none;
}

.portal-poster-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-poster-highlights span {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 700;
}

.portal-poster-visual-attendance .portal-poster-visual-circle {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.1) 42%, transparent 72%);
}

.portal-poster-visual-attendance .portal-poster-visual-ring {
  position: absolute;
  left: 72px;
  top: 50px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.portal-poster-visual-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.18);
}

.portal-poster-visual-line-a {
  left: 40px;
  right: 36px;
  top: 76px;
  height: 1px;
}

.portal-poster-visual-line-b {
  top: 28px;
  bottom: 28px;
  left: 112px;
  width: 1px;
}

.portal-poster-visual-tags {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
  justify-items: end;
}

.portal-poster-visual-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.portal-poster-slip {
  position: absolute;
  left: 26px;
  right: 64px;
  top: 28px;
  bottom: 28px;
  padding: 20px 20px 18px;
  border-radius: 18px;
  background: rgba(255, 248, 244, 0.92);
  transform: rotate(-7deg);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
}

.portal-poster-slip span {
  display: block;
  height: 10px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(216, 99, 38, 0.22), rgba(216, 99, 38, 0.08));
}

.portal-poster-slip span:first-child {
  width: 82%;
  margin-top: 0;
}

.portal-poster-slip span:nth-child(2) {
  width: 64%;
}

.portal-poster-slip span:nth-child(3) {
  width: 72%;
}

.portal-poster-stamp {
  position: absolute;
  right: 26px;
  bottom: 30px;
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  transform: rotate(12deg);
}

.portal-poster-gridbeam {
  position: absolute;
  inset: 18px;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 26px 26px;
}

.portal-poster-bars {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.portal-poster-bars span {
  flex: 1 1 0;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(140, 175, 228, 0.88) 0%, rgba(255, 255, 255, 0.16) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.portal-poster-bars span:nth-child(1) {
  height: 54px;
}

.portal-poster-bars span:nth-child(2) {
  height: 82px;
}

.portal-poster-bars span:nth-child(3) {
  height: 118px;
}

.portal-poster-bars span:nth-child(4) {
  height: 148px;
}

.portal-poster-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.portal-poster-link,
.portal-poster-meta {
  display: inline-flex;
  align-items: center;
}

.portal-poster-link {
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.portal-poster-link::after {
  content: "→";
}

.portal-poster-meta {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: right;
}

.login-page {
  width: min(1080px, 100%);
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 28px 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.login-page-head {
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid #e4ebf4;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 255, 0.98) 100%);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
}

.login-page-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.login-page-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 14px 26px rgba(25, 84, 148, 0.2);
}

.login-page-brand-copy {
  min-width: 0;
}

.login-page-brand-copy strong,
.login-page-brand-copy span {
  display: block;
}

.login-page-brand-copy strong {
  color: #15263a;
  font-size: 18px;
  line-height: 1.2;
}

.login-page-brand-copy span {
  margin-top: 4px;
  color: #6a7d92;
  font-size: 12px;
}

.portal-login-back {
  min-width: 110px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #e0e8f2;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
  color: #1b3553;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
}

.portal-login-panel {
  position: relative;
  width: min(560px, 100%);
}

.portal-login-panel::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32, 74, 136, 0.92) 0%, rgba(15, 122, 116, 0.92) 60%, rgba(32, 74, 136, 0.2) 100%);
  z-index: 2;
}

.portal-login-panel::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -42px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 74, 136, 0.08) 0%, rgba(15, 122, 116, 0.05) 34%, transparent 72%);
  pointer-events: none;
}

.login-panel {
  position: relative;
  width: min(1160px, 100%);
  margin: 0 auto;
  border: 1px solid #e3ebf4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 66px rgba(15, 23, 42, 0.12);
}

.login-panel-body {
  padding: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.login-panel-compact {
  width: min(560px, 100%);
  min-height: 432px;
  border-radius: 28px;
}

.login-panel-shell {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 0.92fr);
}

.login-side {
  padding: 40px 38px 34px;
  background: linear-gradient(180deg, #1a2739 0%, #213147 100%);
  color: #f8fbff;
  display: grid;
  gap: 24px;
  align-content: start;
}

.login-side-top h1 {
  margin: 18px 0 12px;
  font-size: 36px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.login-side-top p {
  margin: 0;
  color: rgba(248, 251, 255, 0.74);
  line-height: 1.8;
}

.login-brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #5ad486;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.login-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.login-side-card {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.login-side-card span,
.login-side-card strong,
.login-side-card p {
  display: block;
}

.login-side-card span {
  color: rgba(248, 251, 255, 0.54);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.login-side-card strong {
  margin-top: 8px;
  font-size: 16px;
}

.login-side-card p {
  margin: 8px 0 0;
  color: rgba(248, 251, 255, 0.74);
  font-size: 13px;
  line-height: 1.7;
}

.login-side-note {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-side-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.login-side-note p {
  margin: 0;
  color: rgba(248, 251, 255, 0.74);
  line-height: 1.8;
}

.login-form-panel {
  padding: 42px 40px 34px;
  background: #fff;
}

.login-form-panel-compact {
  min-height: 432px;
  display: flex;
  flex-direction: column;
  padding: 34px 34px 28px;
}

.login-form {
  display: grid;
  gap: 14px;
  align-content: start;
}

.login-identity-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding: 2px 0 18px;
  border-bottom: 1px solid #e8eef5;
}

.login-identity-head::before {
  content: "";
  width: 7px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d4f91 0%, #0f7a74 100%);
  box-shadow: 0 10px 20px rgba(29, 79, 145, 0.16);
}

.login-backend-title {
  margin: 0;
  color: #152435;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.login-backend-note {
  margin: 10px 0 0;
  color: #617286;
  font-size: 13px;
  line-height: 1.7;
}

.login-mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
  padding: 5px;
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #f7f9fc;
}

.login-mode-btn {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #55657c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.login-mode-btn:hover {
  color: #203249;
}

.login-mode-btn.is-active {
  background: #162131;
  color: #f8fbff;
  box-shadow: 0 10px 20px rgba(22, 33, 49, 0.16);
}

.login-field-label {
  display: block;
  margin-bottom: 10px;
  color: #23354b;
  font-size: 13px;
  font-weight: 700;
}

.login-form .layui-form-item {
  margin-bottom: 0;
}

.login-form .layui-input {
  height: 52px;
  padding-inline: 15px;
  border-radius: 14px;
  border-color: #dbe4ef;
  background: #fbfcfe;
  font-size: 14px;
}

.login-form .layui-input:focus {
  border-color: #8aa8d6 !important;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(61, 118, 188, 0.08);
}

.login-actions {
  margin-top: 4px;
  padding-top: 12px;
}

.login-actions .layui-btn {
  height: 52px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%);
  box-shadow: 0 18px 30px rgba(32, 74, 136, 0.18);
  border: 0;
}

.login-actions .login-scan-button {
  margin-top: 12px;
  background: #f6f9fc;
  color: #214867;
  box-shadow: none;
  border: 1px solid #dbe6f0;
}

.portal-login-panel {
  width: min(980px, 100%);
  border: 1px solid #dfe7f0;
  border-radius: 20px;
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.12);
  background: #ffffff;
  overflow: hidden;
}

.portal-login-panel::before,
.portal-login-panel::after {
  display: none;
}

.login-home-button {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 3;
  height: 38px;
  padding: 0 16px;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #f8fafc;
  color: #486078;
  font-size: 13px;
  font-weight: 800;
  line-height: 38px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.login-home-button:hover {
  border-color: #b8cbe1;
  background: #ffffff;
  color: #204a88;
  transform: translateY(-1px);
}

.portal-login-panel .login-panel-body {
  padding: 0;
  background: #ffffff;
}

.login-panel-shell-compact {
  display: flex;
  align-items: center;
  gap: 42px;
  min-height: 392px;
  padding: 50px 64px 48px;
  background:
    radial-gradient(circle at 0 0, rgba(32, 74, 136, 0.045) 0, transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.login-qr-side {
  display: flex;
  flex: 0 0 282px;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  padding: 0;
  background: transparent;
  transform: translateY(-10px);
}

.login-qr-head {
  display: grid;
  gap: 10px;
}

.login-qr-side .login-backend-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.24;
  letter-spacing: 0;
  color: #121826;
  white-space: nowrap;
}

.login-qr-caption {
  margin: 0;
  color: #7b8ea3;
  font-size: 13px;
  line-height: 1.6;
}

.login-qr-panel {
  position: relative;
  width: 150px;
  max-width: 150px;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border: 1px solid #d4dfec;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-column-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 242px;
  margin: 0;
  background: #d7e1ec;
  align-self: center;
}

.login-qr-panel:hover {
  border-color: #b7c8de;
  box-shadow: 0 12px 26px rgba(20, 40, 65, 0.08);
  transform: translateY(-1px);
}

.login-qr-panel:disabled {
  cursor: default;
  transform: none;
  box-shadow: none;
}

.login-qr-panel.is-expired {
  border-color: #d9a065;
}

.login-qr-panel.is-expired .login-qr-image {
  opacity: 0.18;
  filter: grayscale(1);
}

.login-qr-expired-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.54);
  color: #252525;
  pointer-events: none;
}

.login-qr-expired-overlay strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.4;
}

.login-qr-expired-overlay > span {
  min-width: 96px;
  padding: 7px 12px;
  border: 1px solid #777777;
  background: rgba(255, 255, 255, 0.92);
  color: #333333;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.login-qr-expired-overlay-empty {
  background: rgba(255, 255, 255, 0.82);
}

.login-qr-placeholder-expired {
  opacity: 0.34;
}

.login-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.login-qr-placeholder {
  color: #71839a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 1.7;
}

.login-qr-status {
  min-height: 20px;
  color: #62748a;
  font-size: 12px;
  line-height: 1.6;
}

.login-qr-status.is-expired {
  color: #b86b22;
}

.login-account-side {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  padding: 0;
  background: transparent;
}

.login-form-inline {
  width: 100%;
  max-width: 430px;
  gap: 18px;
}

.login-form-grid {
  width: 100%;
  display: grid;
  gap: 16px;
}

.login-field-shell {
  display: grid;
  grid-template-columns: 102px minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  border: 1px solid #d4deea;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.login-field-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 16px;
  border-right: 1px solid #e3ebf4;
  color: #445468;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.login-field-shell .layui-input {
  height: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.login-field-shell .layui-input:focus {
  background: transparent;
  box-shadow: none;
}

.login-submit-button {
  height: 56px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%);
  box-shadow: 0 16px 28px rgba(32, 74, 136, 0.18);
}

.layui-layer.scan-login-shell {
  border: 1px solid #e4ebf4 !important;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 32px 74px rgba(19, 36, 58, 0.18) !important;
}

.layui-layer.scan-login-shell .layui-layer-title {
  height: auto;
  line-height: 1.2;
  padding: 18px 24px 0;
  border-bottom: none;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #152435;
  font-size: 17px;
  font-weight: 800;
}

.layui-layer.scan-login-shell .layui-layer-content {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  overflow: hidden !important;
}

.layui-layer.scan-login-shell .layui-layer-setwin {
  top: 18px;
  right: 20px;
}

.scan-login-layer {
  padding: 18px 24px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.scan-login-head {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8eef5;
}

.scan-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.scan-login-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
}

.scan-login-brand-copy {
  display: grid;
  gap: 4px;
}

.scan-login-brand-copy strong {
  color: #152435;
  font-size: 16px;
}

.scan-login-brand-copy span,
.scan-login-head p,
.scan-login-meta-note {
  color: #637588;
  font-size: 13px;
  line-height: 1.7;
}

.scan-login-head h3 {
  margin: 0;
  color: #152435;
  font-size: 22px;
}

.scan-login-head p {
  margin: 8px 0 0;
}

.scan-login-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.scan-login-qr-card {
  padding: 16px;
  border-radius: 22px;
  border: 1px solid #dfe8f1;
  background: #f8fbfd;
}

.scan-login-qr-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #ffffff;
}

.scan-login-qr-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: #ffffff;
  color: #718496;
  font-size: 14px;
}

.scan-login-qr-caption {
  margin-top: 12px;
  text-align: center;
  color: #214867;
  font-size: 13px;
  font-weight: 700;
}

.scan-login-meta {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid #dfe8f1;
  background: #ffffff;
}

.scan-login-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.scan-login-status-row strong {
  color: #152435;
  font-size: 16px;
}

.scan-login-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(32, 74, 136, 0.1);
  color: #204a88;
  font-size: 13px;
  font-weight: 700;
}

.scan-login-status-chip.is-expired {
  background: rgba(183, 67, 67, 0.1);
  color: #b74343;
}

.scan-login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 18px;
}

.layui-layer.login-entry-shell {
  border: 1px solid #e4ebf4 !important;
  border-radius: 28px !important;
  overflow: hidden;
  box-shadow: 0 32px 74px rgba(19, 36, 58, 0.18) !important;
}

.layui-layer.login-entry-shell .layui-layer-title {
  height: auto;
  line-height: 1.2;
  padding: 18px 24px 0;
  border-bottom: none;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  color: #152435;
  font-size: 17px;
  font-weight: 800;
}

.layui-layer.login-entry-shell .layui-layer-content {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  overflow: hidden !important;
}

.layui-layer.login-entry-shell .layui-layer-setwin {
  top: 18px;
  right: 20px;
}

.login-entry-layer {
  position: relative;
  padding: 18px 24px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  max-height: min(68vh, 560px);
  overflow-y: auto;
}

.login-entry-layer::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32, 74, 136, 0.92) 0%, rgba(15, 122, 116, 0.92) 58%, rgba(32, 74, 136, 0.18) 100%);
}

.login-entry-head {
  position: relative;
  margin-bottom: 18px;
  padding: 2px 0 18px;
  border-bottom: 1px solid #e8eef5;
}

.login-entry-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.login-entry-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(25, 84, 148, 0.2);
}

.login-entry-brand-copy strong,
.login-entry-brand-copy span {
  display: block;
}

.login-entry-brand-copy strong {
  color: #15263a;
  font-size: 16px;
  line-height: 1.2;
}

.login-entry-brand-copy span {
  margin-top: 4px;
  color: #6a7d92;
  font-size: 12px;
}

.login-entry-head h3 {
  margin: 10px 0 6px;
  color: #152435;
  font-size: 24px;
  line-height: 1.2;
}

.login-entry-head p {
  margin: 0;
  color: #617286;
  font-size: 13px;
  line-height: 1.7;
}

.login-entry-step {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef4fb 0%, #e4edf8 100%);
  color: #244a79;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #dce5f1;
}

.login-entry-stack,
.login-entry-list {
  display: grid;
  gap: 12px;
}

.login-entry-option,
.login-entry-tenant-card {
  width: 100%;
  position: relative;
  border: 1px solid #dde6f0;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.login-entry-option::before,
.login-entry-tenant-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32, 74, 136, 0.9) 0%, rgba(15, 122, 116, 0.78) 100%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.login-entry-option {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
}

.login-entry-tenant-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
}

.login-entry-option:hover,
.login-entry-tenant-card:hover {
  border-color: #bdd0e8;
  box-shadow: 0 16px 30px rgba(26, 39, 57, 0.08);
  transform: translateY(-1px);
}

.login-entry-option:hover::before,
.login-entry-tenant-card:hover::before,
.login-entry-tenant-card.is-selected::before {
  opacity: 1;
}

.login-entry-option.is-disabled,
.login-entry-option[disabled],
.login-entry-tenant-card[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
  transform: none;
}

.login-entry-option-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 56px;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.login-entry-option-mark-personal {
  background: linear-gradient(135deg, #eef5ff, #dde9ff);
  color: #244a79;
}

.login-entry-option-mark-organization {
  background: linear-gradient(135deg, #eef7f3, #d9efe5);
  color: #1c7254;
}

.login-entry-option.is-disabled .login-entry-option-mark {
  background: #edf1f5;
  color: #8e9cab;
}

.login-entry-option-main,
.login-entry-tenant-main {
  display: grid;
  gap: 4px;
}

.login-entry-option-main strong,
.login-entry-tenant-main strong {
  color: #152435;
  font-size: 17px;
}

.login-entry-option-main span,
.login-entry-tenant-main span,
.login-entry-check {
  color: #617286;
  font-size: 13px;
  line-height: 1.55;
}

.login-entry-option-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #eff5fb 0%, #e7eef8 100%);
  color: #244a79;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid #dbe4ef;
}

.login-entry-tenant-card.is-selected {
  border-color: #8fb2df;
  background: linear-gradient(180deg, #ffffff 0%, #f1f7ff 100%);
  box-shadow: 0 18px 32px rgba(63, 118, 191, 0.14);
}

.login-entry-check {
  font-weight: 700;
  color: #244a79;
}

.login-entry-empty {
  padding: 18px;
  border: 1px dashed #d8e2ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f3f8fd 100%);
  color: #617286;
  text-align: center;
  font-size: 13px;
}

.login-entry-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  padding-top: 4px;
}

.login-entry-actions .layui-btn {
  min-width: 122px;
  height: 44px;
  border-radius: 999px;
  font-weight: 800;
}

.login-entry-actions .layui-btn-primary {
  border-color: #e0e8f2 !important;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%) !important;
  color: #1b3553 !important;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
}

.login-entry-actions .layui-btn-normal {
  border: 0 !important;
  background: linear-gradient(135deg, #204a88 0%, #0f7a74 100%) !important;
  box-shadow: 0 16px 28px rgba(32, 74, 136, 0.16);
}

.tenant-candidate-board {
  margin-top: 8px;
  padding: 14px;
  border: 1px dashed #cad7e7;
  border-radius: 12px;
  background: #f8fbff;
}

.tenant-candidate-board strong {
  display: block;
  margin-bottom: 10px;
}

.tenant-candidate-grid {
  display: grid;
  gap: 10px;
}

.tenant-candidate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #d8e2ef;
  border-radius: 10px;
  background: #fff;
}

#loginFlash.flash-banner,
#globalFlash.flash-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300000;
  margin-top: 0;
  width: min(420px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(36, 74, 121, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #244a79;
  line-height: 1.6;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(12px);
  pointer-events: none;
  white-space: pre-wrap;
}

#loginFlash.flash-banner.is-error,
#globalFlash.flash-banner.is-error {
  background: #fff1f2;
  color: #a53e49;
  border-color: rgba(165, 62, 73, 0.18);
}

#loginFlash.flash-banner.is-success,
#globalFlash.flash-banner.is-success {
  background: #eefbf5;
  color: #1b7b58;
  border-color: rgba(27, 123, 88, 0.16);
}

#loginFlash.flash-banner.is-warning,
#globalFlash.flash-banner.is-warning {
  background: #fff7ed;
  color: #9a4d14;
  border-color: rgba(154, 77, 20, 0.18);
}

.shell-view {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.shell-aside {
  width: 224px;
  height: 100vh;
  padding: 16px 14px 14px;
  background: var(--nav-bg);
  color: #f7fbff;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.aside-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.aside-brand strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  word-break: break-word;
}

.aside-brand p {
  display: block;
  margin: 4px 0 0;
  color: rgba(247, 251, 255, 0.76);
  font-size: 11px;
  line-height: 1.5;
}

.aside-brand-copy {
  min-width: 0;
  flex: 1;
}

.aside-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #22334b;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.aside-brand-hovercard {
  position: absolute;
  top: 0;
  left: calc(100% + 12px);
  z-index: 18;
  width: 336px;
  max-width: min(336px, calc(100vw - 280px));
  padding: 14px 16px;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.aside-brand:hover .aside-brand-hovercard {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.aside-brand-hover-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.aside-brand-hover-label {
  display: inline-block;
  margin-bottom: 6px;
  color: #72859c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.aside-brand-hover-head strong {
  display: block;
  color: #15263a;
  font-size: 18px;
  line-height: 1.3;
}

.aside-brand-hover-head p {
  margin: 6px 0 0;
  color: #617286;
  font-size: 12px;
  line-height: 1.6;
}

.aside-brand-hover-pills {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.aside-brand-hover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.tenant-summary {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: var(--nav-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tenant-summary h3,
.tenant-summary p {
  margin: 0;
}

.tenant-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.tenant-summary-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(247, 251, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.tenant-summary-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.tenant-summary-cell {
  padding: 10px 10px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.tenant-summary-cell span,
.tenant-summary-cell strong {
  display: block;
}

.tenant-summary-cell span {
  color: rgba(247, 251, 255, 0.56);
  font-size: 12px;
}

.tenant-summary-cell strong {
  margin-top: 7px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.tenant-membership {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.nav-board {
  margin-top: 14px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.nav-title {
  margin-bottom: 8px;
  color: rgba(247, 251, 255, 0.56);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.sidebar-nav {
  display: grid;
  gap: 6px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #edf4fb;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.nav-item:hover,
.nav-item.is-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-item.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-item.is-disabled:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.05);
  transform: none;
}

.nav-item.is-disabled .nav-badge {
  background: rgba(255, 205, 122, 0.14);
  color: #ffd7a2;
}

.nav-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.nav-item small {
  display: block;
  margin-top: 2px;
  color: rgba(237, 244, 251, 0.66);
  font-size: 10px;
  line-height: 1.35;
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.aside-footer {
  margin-top: auto;
  padding-top: 12px;
}

.aside-footer .layui-btn {
  height: 38px;
  border-radius: 10px;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(247, 251, 255, 0.78);
  font-size: 13px;
}

.shell-main {
  flex: 1;
  min-width: 0;
  height: 100vh;
  padding: 16px 20px 22px;
  overflow-y: auto;
}

.shell-legal-footer {
  padding-bottom: 4px;
}

.shell-header {
  display: none !important;
}

.shell-header-main {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.shell-header-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef4fb;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.shell-header h2 {
  margin: 0;
  font-size: 28px;
  color: #15263a;
  line-height: 1.2;
}

.shell-header p {
  margin: 0;
  color: var(--text-subtle);
  font-size: 14px;
  line-height: 1.6;
}

.me-summary {
  position: relative;
  width: auto;
  max-width: 100%;
  margin-left: auto;
}

.me-summary-panel {
  padding: 14px 16px;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: none;
}

.me-summary-panel-compact {
  min-width: 290px;
  padding: 12px 14px;
  cursor: default;
}

.me-summary-glance {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.me-summary-glance-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.me-summary-expire {
  text-align: right;
}

.me-summary-expire span,
.me-summary-expire strong {
  display: block;
}

.me-summary-expire span {
  color: #72859c;
  font-size: 11px;
}

.me-summary-expire strong {
  margin-top: 4px;
  color: #15263a;
  font-size: 13px;
  line-height: 1.4;
}

.me-summary-switch-btn {
  min-width: 86px;
  height: 32px;
  padding: 0 13px;
  border: 1px solid #d6e2ef;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f7fb 100%);
  color: #244a79;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.me-summary-switch-btn:hover {
  border-color: #9bb9db;
  background: #eef5fc;
  transform: translateY(-1px);
}

.me-summary-hovercard {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 12;
  width: 420px;
  max-width: min(420px, calc(100vw - 280px));
  padding: 14px 16px;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.me-summary:hover .me-summary-hovercard {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.me-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.me-summary-title-wrap {
  min-width: 0;
}

.me-summary-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  color: #72859c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.me-summary-title {
  display: block;
  color: #15263a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.me-summary-pills {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.me-role-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #d8e3f1;
  background: #eef4fb;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.me-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.me-summary-cell {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid #e4ebf3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
}

.me-summary-cell span,
.me-summary-cell strong {
  display: block;
}

.me-summary-cell span {
  color: #6d7f95;
  font-size: 11px;
}

.me-summary-cell strong {
  margin-top: 6px;
  color: #17283d;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}

.me-role-pill-tenant {
  border-color: rgba(29, 79, 145, 0.14);
  background: rgba(29, 79, 145, 0.08);
}

.me-summary-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 6px;
  color: #51657d;
  font-size: 12px;
  line-height: 1.5;
}

.me-summary-line span {
  white-space: nowrap;
}

.me-summary-meta {
  display: block;
  margin-top: 12px;
  color: #5e6f84;
  font-size: 12px;
  line-height: 1.5;
}

.module-board {
  display: grid;
  gap: 18px;
}

.dashboard-grid,
.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 16px;
}

.panel-stack {
  display: grid;
  gap: 16px;
}

.panel-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.metric-card,
.panel-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 16px;
}

.metric-card {
  padding: 18px 18px 16px;
  border-top: 4px solid transparent;
}

.dashboard-grid .metric-card:nth-child(1) {
  border-top-color: var(--warning);
}

.dashboard-grid .metric-card:nth-child(2) {
  border-top-color: var(--info);
}

.dashboard-grid .metric-card:nth-child(3) {
  border-top-color: var(--accent);
}

.dashboard-grid .metric-card:nth-child(4) {
  border-top-color: var(--success);
}

.metric-title {
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: 600;
}

.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: 28px;
  line-height: 1;
  color: #142338;
}

.metric-note {
  margin-top: 10px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-head h3 {
  margin: 0;
  font-size: 18px;
  color: #17283d;
}

.panel-head p {
  margin: 6px 0 0;
  color: var(--text-subtle);
  line-height: 1.65;
}

.panel-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-footnote {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #dde6f2;
  color: var(--text-subtle);
  font-size: 13px;
}

.dashboard-list,
.feature-list,
.detail-list,
.inline-list,
.summary-list {
  display: grid;
  gap: 10px;
}

.dashboard-list-item,
.detail-row,
.summary-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #e2e9f3;
  border-radius: 12px;
  background: #f8fafc;
}

.dashboard-list-item strong,
.dashboard-list-item small,
.summary-list-item strong,
.summary-list-item small {
  display: block;
}

.dashboard-list-item small,
.summary-list-item small,
.detail-label,
.muted-text {
  color: var(--text-subtle);
}

.dashboard-list-side {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.list-amount {
  color: #142338;
  font-weight: 700;
}

.summary-strip {
  margin-bottom: 14px;
}

.summary-chip {
  padding: 14px;
  border: 1px solid #e2e9f4;
  border-radius: 12px;
  background: #f8fafc;
}

.summary-chip span,
.summary-chip strong,
.summary-chip small {
  display: block;
}

.summary-chip span {
  color: var(--text-subtle);
  font-size: 12px;
}

.summary-chip strong {
  margin-top: 8px;
  color: #17283d;
  font-size: 24px;
  line-height: 1.1;
}

.summary-chip small {
  margin-top: 8px;
  color: var(--text-subtle);
  line-height: 1.5;
}

.section-form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.filter-panel {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e3e9f3;
  border-radius: 14px;
  background: var(--panel-subtle);
}

.section-form-grid .layui-form-item {
  margin-bottom: 0;
}

.checkbox-field .layui-input-block {
  display: flex;
  align-items: center;
  min-height: 38px;
}

.layui-form-checkbox-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #24364d;
}

.section-form-grid .wide {
  grid-column: span 2;
}

.section-form-grid .full {
  grid-column: 1 / -1;
}

.layui-form-label.compact {
  width: auto;
  padding: 0 0 10px;
  color: #334155;
  font-size: 13px;
}

.section-form-grid .layui-input,
.section-form-grid .layui-select-title input,
.section-form-grid .layui-textarea,
.section-form-grid .layui-unselect {
  border-radius: 10px;
}

.table-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.table-shell {
  overflow: auto;
  border: 1px solid #dee7f1;
  border-radius: 14px;
  background: #fff;
}

.table-shell .layui-table {
  margin: 0;
  min-width: 880px;
}

.table-shell .layui-table th {
  background: #f5f8fc;
  color: #1d2d3d;
  font-weight: 700;
}

.table-shell .layui-table td,
.table-shell .layui-table th {
  padding-top: 12px;
  padding-bottom: 12px;
}

.table-shell .layui-table tr:hover td {
  background: #fbfdff;
}

.tag-tone {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag-tone.info {
  background: #eaf3ff;
  color: var(--info);
}

.tag-tone.warning {
  background: #fff4df;
  color: var(--warning);
}

.tag-tone.success {
  background: #ebfbf4;
  color: var(--success);
}

.tag-tone.danger {
  background: #fff1f2;
  color: var(--danger);
}

.empty-state {
  padding: 42px 18px;
  text-align: center;
  color: var(--text-subtle);
}

.empty-state.compact {
  padding: 20px 12px;
}

.detail-modal {
  padding: 8px;
  background: #f6f8fb;
}

.detail-modal-wide {
  padding: 10px;
}

.detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid #dde6f2;
  border-radius: 14px;
  background: #fff;
}

.detail-hero h3 {
  margin: 0;
  font-size: 24px;
}

.detail-hero p {
  margin: 8px 0 0;
  color: var(--text-subtle);
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.detail-card {
  padding: 16px;
  border: 1px solid #e0e8f2;
  border-radius: 14px;
  background: #fff;
}

.detail-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.detail-card-subsection {
  padding: 16px 18px;
}

.detail-list-item {
  padding: 10px 0;
  border-bottom: 1px dashed #e1e8f2;
}

.detail-list-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.detail-list-item strong,
.detail-list-item span,
.detail-list-item small {
  display: block;
}

.tree-name-cell {
  position: relative;
  min-height: 20px;
}

.detail-json-block {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: #f5f8fc;
  color: #24364d;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
}

.detail-ops {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.detail-ops-right {
  justify-content: flex-end;
}

.detail-ops-tight {
  margin-top: 12px;
}

.file-action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.employee-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}

.employee-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  background: #edf2f8;
}

.employee-avatar.fallback {
  display: grid;
  place-items: center;
  color: #37506a;
  font-size: 24px;
  font-weight: 700;
}

.text-right {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

.claim-sheet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 16px;
  margin-top: 18px;
}

.claim-sheet-main,
.claim-sheet-side {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.claim-line-table .layui-table {
  min-width: 0;
}

.detail-grid-employee {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.employee-reference-bank-card {
  padding: 14px;
  border: 1px solid #e1e8f2;
  border-radius: 12px;
  background: #fbfcfe;
}

.employee-reference-bank-card + .employee-reference-bank-card {
  margin-top: 12px;
}

.employee-reference-bank-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.employee-reference-bank-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.employee-reference-bank-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.employee-reference-bank-meta div {
  padding: 10px 12px;
  border: 1px solid #e4ebf4;
  border-radius: 10px;
  background: #fff;
}

.employee-reference-bank-meta strong,
.employee-reference-bank-meta span {
  display: block;
}

.employee-reference-bank-meta strong {
  margin-bottom: 6px;
  color: #22364f;
  font-size: 12px;
}

.employee-reference-bank-meta span {
  color: #40556d;
  font-size: 13px;
  line-height: 1.6;
}

.word-break {
  word-break: break-all;
}

.minor-note {
  color: var(--text-subtle);
  font-size: 13px;
  line-height: 1.6;
}

.login-panel {
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
}

.login-panel-shell {
  grid-template-columns: minmax(0, 0.96fr) 520px;
}

.login-side {
  gap: 20px;
}

.login-side-top h1 {
  font-size: 32px;
  line-height: 1.28;
}

.login-side-lines {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.login-side-line {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-side-line:last-child {
  border-bottom: 0;
}

.login-side-line > span {
  color: rgba(248, 251, 255, 0.52);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.login-side-line strong {
  display: block;
  font-size: 16px;
}

.login-side-line p {
  margin: 8px 0 0;
  color: rgba(248, 251, 255, 0.74);
  font-size: 13px;
  line-height: 1.7;
}

.shell-aside {
  width: 224px;
  padding: 14px 12px 12px;
}

.tenant-summary {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
}

.tenant-summary-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.tenant-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tenant-summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tenant-summary-row span {
  color: rgba(247, 251, 255, 0.54);
  font-size: 12px;
}

.tenant-summary-row strong {
  color: #fff;
  font-size: 13px;
}

.nav-item {
  padding: 10px 11px;
  border-radius: 10px;
  border-left: 3px solid transparent;
}

.nav-item:hover,
.nav-item.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.06);
  border-left-color: #5e94db;
}

.shell-main {
  padding: 16px 18px 20px;
}

.shell-header {
  margin-bottom: 14px;
  padding: 6px 0 12px;
  box-shadow: none;
}

.shell-header h2 {
  font-size: 24px;
}

.module-board {
  gap: 14px;
}

.workspace-surface {
  padding: 18px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: #fff;
}

.surface-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf5;
}

.surface-toolbar h3 {
  margin: 0;
  color: #17283d;
  font-size: 22px;
}

.surface-toolbar p {
  margin: 7px 0 0;
  color: var(--text-subtle);
  line-height: 1.65;
}

.surface-toolbar-actions {
  margin-left: auto;
  margin-top: 0;
  justify-content: flex-end;
}

.dashboard-toolbar-links .dashboard-link-btn {
  min-width: 68px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  border-color: #d7e1ec;
  background: #f8fafc;
  color: #24425f;
}

.surface-summary-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.module-summary-row .summary-token {
  min-height: 84px;
  padding: 11px 13px 13px;
  border-radius: 12px;
  border-top-width: 1px;
  border-bottom: 2px solid transparent;
  background: #ffffff;
}

.module-summary-row .summary-token.tone-warning {
  border-bottom-color: var(--warning);
}

.module-summary-row .summary-token.tone-info {
  border-bottom-color: var(--info);
}

.module-summary-row .summary-token.tone-accent {
  border-bottom-color: var(--accent);
}

.module-summary-row .summary-token.tone-success {
  border-bottom-color: var(--success);
}

.module-summary-row-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.dashboard-summary-row {
  margin-top: 16px;
}

.dashboard-summary-row .summary-token {
  min-height: 108px;
  padding: 12px 14px 14px;
  border-radius: 12px;
  border-top-width: 1px;
  border-bottom: 3px solid transparent;
  background: #ffffff;
}

.dashboard-summary-row .summary-token.tone-warning {
  border-bottom-color: var(--warning);
}

.dashboard-summary-row .summary-token.tone-info {
  border-bottom-color: var(--info);
}

.dashboard-summary-row .summary-token.tone-accent {
  border-bottom-color: var(--accent);
}

.dashboard-summary-row .summary-token.tone-success {
  border-bottom-color: var(--success);
}

.summary-token {
  padding: 12px 14px;
  border: 1px solid #e6ebf3;
  border-radius: 10px;
  background: #f8fafc;
  border-top-width: 3px;
}

.summary-token span,
.summary-token strong,
.summary-token small {
  display: block;
}

.summary-token span {
  color: var(--text-subtle);
  font-size: 12px;
}

.summary-token strong {
  margin-top: 8px;
  color: #17283d;
  font-size: 22px;
  line-height: 1.15;
}

.summary-token small {
  margin-top: 8px;
  color: var(--text-subtle);
  line-height: 1.5;
}

.summary-token.tone-warning {
  border-top-color: var(--warning);
}

.summary-token.tone-info {
  border-top-color: var(--info);
}

.summary-token.tone-accent {
  border-top-color: var(--accent);
}

.summary-token.tone-success {
  border-top-color: var(--success);
}

.summary-token.tone-danger {
  border-top-color: var(--danger);
}

.surface-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: 20px;
  margin-top: 16px;
}

.surface-section,
.surface-panel {
  min-width: 0;
}

.surface-panel {
  padding: 16px;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: #fbfcfe;
}

.module-composite-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 0;
  margin-top: 18px;
  border: 1px solid #e3eaf3;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.module-composite-column {
  min-width: 0;
  padding: 16px 18px;
}

.module-composite-divider {
  background: #e8eef5;
}

.module-section-head {
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eef5;
}

.module-flat-list {
  gap: 0;
}

.module-flat-list .summary-list-item {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e8eef5;
  border-radius: 0;
  background: transparent;
}

.module-flat-list .summary-list-item:first-child {
  padding-top: 12px;
}

.module-flat-list .summary-list-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.module-inline-note {
  margin-top: 12px;
}

.personal-profile-identity-files {
  display: grid;
  gap: 4px;
}

.personal-asset-remark-shell {
  background: #fbfcfe;
}

.personal-asset-remark-list {
  display: grid;
  gap: 14px;
}

.personal-asset-remark-card {
  padding: 16px 18px;
  border: 1px solid #e1e8f2;
  border-radius: 14px;
  background: #fff;
}

.personal-asset-remark-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.personal-asset-remark-head strong,
.personal-asset-remark-head span {
  display: block;
}

.personal-asset-remark-head span {
  margin-top: 6px;
  color: var(--text-subtle);
  line-height: 1.6;
}

.personal-asset-remark-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.personal-asset-remark-files {
  margin-top: 12px;
}

.personal-asset-remark-table {
  margin-top: 14px;
}

.personal-asset-file-input {
  display: grid;
  gap: 8px;
}

.personal-asset-file-input input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8e1ec;
  border-radius: 10px;
  background: #fff;
  line-height: 1.4;
}

.personal-asset-file-hint {
  color: var(--text-subtle);
  font-size: 12px;
  line-height: 1.6;
}

.personal-attendance-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.personal-attendance-calendar-wrap {
  padding-top: 14px;
}

.personal-attendance-calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  color: var(--text-subtle);
  font-size: 12px;
}

.personal-attendance-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.personal-attendance-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.personal-attendance-weekday {
  padding: 8px 0;
  text-align: center;
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 700;
}

.personal-attendance-day {
  min-height: 112px;
  padding: 12px;
  border: 1px solid #e4ebf4;
  border-radius: 14px;
  background: #fbfcfe;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.personal-attendance-day.is-empty {
  border-style: dashed;
  background: #f8fafc;
}

.personal-attendance-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.personal-attendance-day-head strong {
  font-size: 18px;
  color: #17283d;
}

.personal-attendance-day-label {
  color: #27435f;
  font-size: 13px;
  font-weight: 700;
}

.personal-attendance-day small {
  color: var(--text-subtle);
  line-height: 1.5;
}

.personal-attendance-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  background: #c9d6e5;
}

.personal-attendance-dot.tone-success {
  background: #2f8f54;
}

.personal-attendance-dot.tone-warning {
  background: #c7821b;
}

.personal-attendance-dot.tone-danger {
  background: #c94b4b;
}

.personal-attendance-dot.tone-muted {
  background: #c9d6e5;
}

.personal-attendance-day.tone-success {
  border-color: rgba(47, 143, 84, 0.2);
  background: rgba(47, 143, 84, 0.05);
}

.personal-attendance-day.tone-warning {
  border-color: rgba(199, 130, 27, 0.24);
  background: rgba(199, 130, 27, 0.06);
}

.personal-attendance-day.tone-danger {
  border-color: rgba(201, 75, 75, 0.22);
  background: rgba(201, 75, 75, 0.05);
}

.personal-attendance-day.is-today {
  border-color: #2f6fec;
  box-shadow: 0 0 0 2px rgba(47, 111, 236, 0.14);
  background: linear-gradient(180deg, rgba(47, 111, 236, 0.08) 0%, #ffffff 100%);
}

.personal-attendance-day.is-today .personal-attendance-day-head strong {
  color: #2457be;
}

.personal-attendance-day.is-today .personal-attendance-day-label {
  color: #2457be;
}

.personal-claim-draft-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #e6ebf3;
  border-radius: 12px;
  background: #fbfcfe;
}

.personal-claim-draft-overview strong {
  display: block;
  color: #17283d;
  font-size: 14px;
}

.personal-claim-draft-overview span {
  display: block;
  margin-top: 4px;
  color: var(--text-subtle);
  font-size: 12px;
}

.personal-claim-draft-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.personal-claim-draft-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.personal-claim-draft-selection-note {
  margin-bottom: 12px;
  color: var(--text-subtle);
  font-size: 12px;
}

.personal-claim-draft-list {
  display: grid;
  gap: 10px;
}

.personal-claim-draft-card {
  border: 1px solid #e3eaf3;
  border-radius: 14px;
  background: #fbfcfe;
}

.personal-claim-draft-card.compact {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
}

.personal-claim-draft-card.is-selected {
  border-color: rgba(47, 111, 236, 0.28);
  box-shadow: 0 0 0 2px rgba(47, 111, 236, 0.08);
  background: linear-gradient(180deg, rgba(47, 111, 236, 0.04) 0%, #ffffff 100%);
}

.personal-claim-draft-check {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.personal-claim-draft-check input {
  width: 16px;
  height: 16px;
}

.personal-claim-draft-main {
  min-width: 0;
}

.personal-claim-draft-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.personal-claim-draft-head strong {
  display: block;
  color: #17283d;
  font-size: 15px;
}

.personal-claim-draft-head span {
  display: block;
  margin-top: 6px;
  color: var(--text-subtle);
  font-size: 12px;
}

.personal-claim-draft-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.personal-claim-draft-body {
  margin-top: 12px;
}

.personal-claim-draft-body.compact {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.personal-claim-draft-amount {
  color: #17283d;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.personal-claim-draft-body p {
  margin: 8px 0 0;
  color: var(--text-subtle);
  line-height: 1.6;
}

.personal-claim-draft-body.compact p {
  margin: 0;
  font-size: 12px;
}

.personal-claim-draft-ops {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.personal-claim-witness-summary {
  padding: 14px 16px;
  border: 1px solid #dfe7f1;
  border-radius: 14px;
  background: #fbfdff;
}

.personal-claim-witness-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.personal-claim-witness-summary-head strong {
  color: #17283d;
  font-size: 14px;
}

.personal-claim-witness-summary-head span,
.personal-claim-witness-empty,
.personal-claim-witness-picker-section-head span,
.personal-claim-witness-picker-count {
  color: #6b8097;
  font-size: 12px;
  line-height: 1.6;
}

.personal-claim-witness-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.personal-claim-witness-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef4ff;
  color: #204062;
  font-size: 13px;
  font-weight: 700;
}

.personal-claim-witness-chip small {
  color: #5f7690;
  font-size: 11px;
  font-weight: 500;
}

.personal-claim-witness-actions {
  margin-top: 14px;
}

.personal-claim-witness-picker {
  padding: 16px 18px 18px;
  background: #f8fbff;
}

.personal-claim-witness-picker-head strong,
.personal-claim-witness-picker-section-head strong {
  display: block;
  color: #17283d;
  font-size: 18px;
}

.personal-claim-witness-picker-head span {
  display: block;
  margin-top: 6px;
  color: #6b8097;
  line-height: 1.6;
}

.personal-claim-witness-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.personal-claim-witness-picker-body {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.personal-claim-witness-picker-section {
  padding: 16px 18px;
  border: 1px solid #dfe8f2;
  border-radius: 14px;
  background: #fff;
}

.personal-claim-witness-picker-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.personal-claim-witness-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-height: 28vh;
  overflow-y: auto;
  padding-right: 4px;
}

.personal-claim-witness-item {
  width: 100%;
  padding: 14px 14px 14px 16px;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  background: #fbfdff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.personal-claim-witness-item:hover,
.personal-claim-witness-item.is-active {
  border-color: #2f6fec;
  box-shadow: 0 12px 28px rgba(35, 88, 160, 0.1);
  transform: translateY(-1px);
}

.personal-claim-witness-item-main {
  min-width: 0;
}

.personal-claim-witness-item-main strong {
  display: block;
  color: #17283d;
  font-size: 14px;
}

.personal-claim-witness-item-main span {
  display: block;
  margin-top: 4px;
  color: #6b8097;
  font-size: 12px;
  line-height: 1.5;
}

.personal-claim-witness-item-check {
  min-width: 48px;
  padding: 6px 0;
  border-radius: 999px;
  background: #eef3f8;
  color: #50667f;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.personal-claim-witness-item.is-active .personal-claim-witness-item-check {
  background: rgba(47, 111, 236, 0.12);
  color: #2457be;
}

.personal-claim-witness-picker-foot {
  margin-top: 16px;
}

.business-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.business-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d9e4f1;
  background: #f7fafc;
  color: #27435f;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.business-chip-enabled,
.business-chip-highlight {
  border-color: rgba(28, 143, 99, 0.16);
  background: rgba(28, 143, 99, 0.1);
  color: var(--success);
}

.module-inline-filter {
  margin-top: 16px;
  padding: 12px;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  background: #f9fbfd;
}

.module-inline-filter .layui-form-item {
  margin-bottom: 0;
}

.module-filter-block {
  padding: 16px 18px 0;
  border-bottom: 1px solid #eef3f8;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.module-filter-block .module-inline-filter {
  margin-top: 12px;
}

.module-section-head-compact {
  padding-bottom: 0;
  border-bottom: 0;
}

.module-section-head-compact h4 {
  font-size: 16px;
}

.module-section-head-compact p {
  margin-top: 5px;
}

.claims-filter-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f7fafd 100%);
}

.claims-filter-hint strong,
.claims-filter-hint span {
  display: block;
}

.claims-filter-hint strong {
  color: #203247;
  font-size: 14px;
}

.claims-filter-hint span {
  margin-top: 5px;
  color: #64768c;
  line-height: 1.6;
}

.claims-filter-hint-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.claims-filter-grid {
  grid-template-columns: minmax(0, 1.1fr) 220px 220px 180px;
  align-items: end;
}

.claims-filter-submit {
  align-self: stretch;
}

.claims-filter-submit .layui-form-label {
  visibility: hidden;
}

.module-table-panel {
  margin-top: 16px;
  border: 1px solid #e3eaf3;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.organization-base-panel,
.organization-base-panel .module-table-panel-body {
  overflow: visible;
}

.module-table-panel > .section-head {
  margin-bottom: 0;
  padding: 16px 18px 12px;
}

.module-table-panel-body {
  padding: 12px 18px 18px;
}

.module-table-panel-body > .empty-state {
  padding: 28px 0;
  border: 1px dashed #dbe4ef;
  border-radius: 12px;
  background: #fbfcfe;
}

.module-table-panel-body > .table-shell {
  margin-top: 0;
}

.claims-table-caption {
  margin-bottom: 12px;
}

.claims-table-caption-split {
  align-items: flex-end;
}

.claims-table-shell .layui-table th,
.claims-table-shell .layui-table td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.claims-table-shell .layui-table td {
  vertical-align: middle;
}

.claims-table-shell .layui-table {
  margin-bottom: 0;
}

.claims-cell-stack {
  display: grid;
  gap: 4px;
}

.claims-cell-primary {
  color: #182a40;
  font-size: 14px;
  line-height: 1.45;
}

.claims-cell-secondary {
  color: #677a90;
  line-height: 1.5;
}

.claims-amount {
  display: inline-block;
  color: #16283d;
  font-size: 16px;
  font-weight: 700;
}

.claims-action-cell {
  text-align: right;
}

.claims-action-stack {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.claims-action-button {
  min-width: 88px;
  border-radius: 8px;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px 0;
  border-top: 1px solid #e7eef6;
}

.claims-pagination-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #61758b;
  font-size: 13px;
}

.claims-pagination-meta strong {
  color: #1a2b40;
  font-size: 13px;
}

.claims-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.employees-table-shell .layui-table th,
.employees-table-shell .layui-table td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.employees-table-shell .layui-table td {
  vertical-align: middle;
}

.employees-cell-stack {
  display: grid;
  gap: 4px;
}

.employees-cell-primary {
  color: #182a40;
  font-size: 14px;
  line-height: 1.45;
}

.employees-cell-secondary {
  color: #677a90;
  line-height: 1.5;
}

.employees-action-cell {
  text-align: right;
}

.employees-action-stack {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.employees-action-button {
  min-width: 88px;
  border-radius: 8px;
}

.employee-join-request-panel {
  margin-top: 16px;
}

.employee-join-request-panel-compact .section-head {
  margin-bottom: 8px;
}

.employee-join-request-panel-compact .section-head p {
  font-size: 12px;
  line-height: 1.5;
}

.employee-join-request-panel-compact .panel-toolbar .layui-btn {
  height: 30px;
  line-height: 28px;
  padding: 0 12px;
}

.employee-join-request-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.employee-join-request-tabbar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.employee-join-request-toolbar .business-chip {
  min-height: 30px;
  padding: 0 12px;
  line-height: 28px;
}

.employee-join-request-caption {
  margin-bottom: 8px;
}

.employee-join-request-panel-compact .module-table-panel-body {
  display: grid;
  gap: 6px;
}

.employee-join-request-list {
  display: grid;
  gap: 8px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 4px;
}

.employee-join-request-item {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.8fr) auto;
  align-items: center;
  gap: 16px;
  padding: 11px 14px;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
  background: #fbfcfe;
}

.employee-join-request-main {
  min-width: 0;
}

.employee-join-request-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.employee-join-request-head strong {
  color: #17293f;
  font-size: 14px;
  line-height: 1.4;
}

.employee-join-request-head span {
  color: #6b7c91;
  font-size: 12px;
  white-space: nowrap;
}

.employee-join-request-subhead {
  margin-top: 6px;
  color: #52657d;
  font-size: 12px;
  line-height: 1.5;
  word-break: break-all;
}

.employee-join-request-note {
  margin: 6px 0 0;
  color: #33485f;
  font-size: 12px;
  line-height: 1.55;
  word-break: break-word;
}

.employee-join-request-record-meta {
  margin-top: 6px;
  color: #6d7f95;
  font-size: 11px;
  line-height: 1.5;
  word-break: break-word;
}

.employee-join-request-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.employee-join-request-actions {
  justify-content: flex-end;
  align-self: flex-start;
}

.employee-join-request-footnote {
  margin-top: 10px;
  text-align: right;
}

.employee-join-request-review-surface {
  display: grid;
  gap: 14px;
}

.employee-join-request-summary-card {
  padding: 16px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  display: grid;
  gap: 14px;
}

.employee-join-request-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.employee-join-request-summary-head strong {
  display: block;
  font-size: 15px;
  color: #17293f;
}

.employee-join-request-summary-head p {
  margin: 4px 0 0;
}

.employee-join-request-summary-chip {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf4ff;
  color: #3760a8;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.employee-join-request-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.employee-join-request-summary-item {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  gap: 6px;
}

.employee-join-request-summary-item label {
  color: #6b7c91;
  font-size: 12px;
  line-height: 1.4;
}

.employee-join-request-summary-item strong {
  color: #17293f;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-all;
}

.employee-join-request-summary-item span {
  color: #6d7f95;
  font-size: 12px;
  line-height: 1.45;
  word-break: break-word;
}

.employee-join-request-detail-grid {
  margin-top: 0;
}

.employee-join-request-note-card {
  padding: 14px 16px;
}

.employee-join-request-note-text {
  margin: 0;
  color: #33485f;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.employee-join-request-alert {
  padding: 12px 14px;
  border: 1px solid rgba(217, 119, 6, 0.24);
  border-radius: 12px;
  background: rgba(255, 247, 237, 0.96);
  color: #9a6700;
  font-size: 13px;
  line-height: 1.7;
}

.employee-join-request-record-tag {
  display: flex;
  justify-content: flex-end;
}

.caption-primary strong {
  display: block;
  color: #17283d;
  font-size: 15px;
  line-height: 1.3;
}

.caption-primary .minor-note,
.caption-secondary {
  margin-top: 4px;
}

.panel-toolbar .layui-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
}

.module-inline-filter .layui-btn-fluid {
  height: 40px;
  border-radius: 10px;
}

.attendance-flow-surface {
  margin-top: 18px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.attendance-flow-header {
  padding: 18px 18px 12px;
  border-bottom: 1px solid #edf2f8;
}

.attendance-flow-filter {
  margin: 0;
}

.attendance-flow-filter .module-inline-filter {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.attendance-flow-filter .filter-toolbar .layui-form-item {
  padding: 0;
  border: 0;
  background: transparent;
}

.attendance-flow-filter .filter-toolbar .layui-form-item:last-child {
  display: flex;
  align-items: flex-end;
}

.attendance-flow-filter .layui-form-label.compact {
  padding-left: 0;
}

.attendance-meta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 0;
  padding: 16px 18px 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.attendance-business-panel {
  padding: 0 18px 0 0;
  border-right: 1px solid #edf2f8;
  background: transparent;
}

.attendance-meta-strip .attendance-business-panel:last-child {
  padding: 0 0 0 18px;
  border-right: 0;
}

.attendance-panel-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f8;
}

.attendance-panel-head h4,
.attendance-inline-section-head h5,
.attendance-flow-section-head h4 {
  margin: 0;
  color: #17283d;
}

.attendance-panel-head p,
.attendance-flow-section-head p {
  margin: 6px 0 0;
}

.attendance-capability-note,
.attendance-summary-note {
  margin-top: 14px;
}

.attendance-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.attendance-metric-grid .metric-card {
  min-height: 96px;
  padding: 14px 14px 12px;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
}

.attendance-metric-grid .metric-card:nth-child(1) {
  border-top-color: var(--accent);
}

.attendance-metric-grid .metric-card:nth-child(2) {
  border-top-color: var(--success);
}

.attendance-metric-grid .metric-card:nth-child(3) {
  border-top-color: var(--warning);
}

.attendance-metric-grid .metric-card:nth-child(4) {
  border-top-color: #d15b45;
}

.attendance-flow-section {
  padding: 18px;
}

.attendance-flow-section + .attendance-flow-section {
  border-top: 1px solid #edf2f8;
}

.attendance-flow-section-head {
  margin-bottom: 14px;
}

.attendance-inline-section {
  display: grid;
  gap: 12px;
}

.attendance-inline-section-separated {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #e4ebf4;
}

.attendance-inline-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.attendance-flow-surface .table-shell {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.attendance-flow-surface .table-shell .layui-table {
  min-width: 100%;
}

.attendance-flow-surface .table-shell .layui-table th {
  background: #f7f9fc;
}

.attendance-flow-surface .table-shell .layui-table td,
.attendance-flow-surface .table-shell .layui-table th {
  border-color: #edf2f8;
}

.attendance-rule-upgrade-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  background: #f8fafc;
}

.attendance-rule-upgrade-note strong {
  display: block;
  color: #17283d;
  font-size: 14px;
}

.attendance-rule-upgrade-note .minor-note {
  margin-top: 6px;
}

.dashboard-surface {
  padding-bottom: 18px;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  gap: 18px;
  margin-top: 18px;
}

.dashboard-primary-panel,
.dashboard-side-panel,
.dashboard-bottom-panel {
  border: 1px solid #e3eaf3;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.dashboard-primary-panel,
.dashboard-side-panel {
  padding: 16px 18px;
}

.dashboard-panel-head {
  margin-bottom: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eef5;
}

.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) 1px minmax(0, 0.94fr);
  align-items: stretch;
}

.dashboard-bottom-section {
  padding: 16px 18px;
}

.dashboard-bottom-divider {
  background: #e8eef5;
}

.dashboard-surface .dashboard-list,
.dashboard-surface .summary-list,
.dashboard-surface .feature-list {
  gap: 0;
}

.dashboard-surface .compact-list .dashboard-list-item,
.dashboard-surface .compact-list .summary-list-item,
.dashboard-surface .compact-list .detail-row {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #e8eef5;
  border-radius: 0;
  background: transparent;
}

.dashboard-surface .compact-list .dashboard-list-item:first-child,
.dashboard-surface .compact-list .summary-list-item:first-child,
.dashboard-surface .compact-list .detail-row:first-child {
  padding-top: 12px;
}

.dashboard-surface .compact-list .dashboard-list-item:last-child,
.dashboard-surface .compact-list .summary-list-item:last-child,
.dashboard-surface .compact-list .detail-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.dashboard-surface .dashboard-list-side {
  gap: 6px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h4,
.section-head h3 {
  margin: 0;
  color: #17283d;
  font-size: 17px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--text-subtle);
  line-height: 1.6;
}

.surface-divider {
  margin: 18px 0 4px;
  border-top: 1px solid #e7edf5;
}

.compact-list {
  gap: 8px;
}

.compact-list .dashboard-list-item,
.compact-list .summary-list-item,
.compact-list .detail-row {
  padding: 10px 12px;
  border-radius: 10px;
  background: #fafbfd;
}

.filter-toolbar {
  margin: 14px 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.filter-toolbar .layui-form-item {
  padding: 12px;
  border: 1px solid #e6ebf3;
  border-radius: 10px;
  background: #fafbfd;
}

.filter-toolbar .layui-form-item:last-child {
  background: transparent;
  border-color: transparent;
  padding: 0;
}

.filter-toolbar .layui-input-block {
  margin-left: 0;
}

.inbox-filter-toolbar {
  display: grid;
  gap: 12px;
}

.inbox-filter-group {
  display: grid;
  gap: 8px;
}

.inbox-filter-label {
  color: #5e7188;
  font-size: 12px;
  font-weight: 700;
}

.inbox-filter-chip-list {
  margin-top: 0;
}

.inbox-message-row {
  align-items: flex-start;
  width: 100%;
  border: 1px solid #e2e9f3;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.inbox-message-row:hover,
.inbox-message-row:focus-visible {
  border-color: #b9cde5;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 79, 145, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.inbox-message-main {
  display: grid;
  gap: 4px;
}

.inbox-message-main strong,
.inbox-message-main small {
  display: block;
}

.personal-inbox-detail-modal {
  min-height: 100%;
}

.personal-inbox-detail-hero {
  align-items: flex-start;
}

.personal-inbox-detail-hero .business-chip {
  flex-shrink: 0;
}

.personal-inbox-detail-card {
  margin-top: 14px;
}

.personal-inbox-detail-card h4 {
  margin: 0 0 12px;
  color: #17283d;
  font-size: 16px;
}

.table-caption {
  margin-top: 4px;
}

.table-shell {
  border-radius: 12px;
  box-shadow: none;
  overflow-x: auto;
}

.table-shell .layui-table {
  margin: 0;
}

.table-shell .layui-table th {
  background: #f7f9fc;
  color: #31445d;
  font-weight: 700;
}

.table-shell .layui-table th,
.table-shell .layui-table td {
  padding: 12px 10px;
}

.table-shell .layui-table td {
  color: #24364c;
  vertical-align: top;
}

.table-shell .layui-table tr:hover {
  background: #fbfdff;
}

.stack-section-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.dashboard-stack-panel,
.stack-section-list .module-table-panel {
  margin-top: 0;
}

.dashboard-report-grid {
  display: grid;
  gap: 14px;
}

.dashboard-report-grid-claims,
.dashboard-report-grid-exports {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.dashboard-report-card {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e2eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fcfdff 0%, #f7faff 100%);
}

.dashboard-report-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-report-title,
.dashboard-report-side {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-report-eyebrow {
  color: #6b7f95;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dashboard-report-title strong,
.dashboard-report-side strong,
.dashboard-report-meta-cell strong,
.dashboard-overview-card strong,
.dashboard-progress-meta strong {
  color: #182a40;
}

.dashboard-report-title strong {
  font-size: 19px;
  line-height: 1.25;
}

.dashboard-report-title small,
.dashboard-report-side small,
.dashboard-report-meta-cell small,
.dashboard-overview-card small,
.dashboard-progress-meta span {
  color: #6b7f95;
  line-height: 1.5;
}

.dashboard-report-side {
  justify-items: end;
  text-align: right;
}

.dashboard-report-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-report-meta-cell {
  padding: 12px 14px;
  border: 1px solid #e4ebf4;
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  gap: 5px;
}

.dashboard-report-meta-cell span,
.dashboard-overview-card span {
  color: #70839a;
  font-size: 12px;
}

.dashboard-report-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-report-btn {
  min-width: 96px;
  border-radius: 10px;
}

.dashboard-progress-block {
  display: grid;
  gap: 8px;
}

.dashboard-progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-progress-track {
  height: 10px;
  border-radius: 999px;
  background: #eaf1f8;
  overflow: hidden;
}

.dashboard-progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #46a4ff 0%, #2c7ef8 100%);
}

.dashboard-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dashboard-overview-card {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e2eaf3;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%);
  display: grid;
  gap: 8px;
}

.dashboard-overview-card strong {
  font-size: 24px;
  line-height: 1.2;
}

.dashboard-overview-card-accent {
  border-color: rgba(35, 109, 255, 0.18);
}

.dashboard-overview-card-success {
  border-color: rgba(16, 185, 129, 0.18);
}

.dashboard-overview-card-info {
  border-color: rgba(59, 130, 246, 0.18);
}

.dashboard-overview-card-warning {
  border-color: rgba(245, 158, 11, 0.18);
}

.dashboard-overview-card-neutral {
  border-color: #e2eaf3;
}

.organization-base-glance {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid #e0e8f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f6f9fc 100%);
}

.organization-base-glance-main {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.organization-base-glance-main strong,
.organization-base-glance-main small {
  display: block;
}

.organization-base-glance-main strong {
  color: #16283d;
  font-size: 26px;
  line-height: 1.2;
}

.organization-base-glance-main small {
  color: #61758b;
  line-height: 1.6;
}

.organization-base-eyebrow,
.organization-card-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #6b7f95;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.organization-base-hovercard h4,
.organization-public-card h4 {
  margin: 0;
  color: #16283d;
  font-size: 28px;
  line-height: 1.2;
}

.organization-base-hovercard p,
.organization-public-card p {
  margin: 8px 0 0;
  color: #61758b;
  line-height: 1.7;
}

.organization-base-hovercard {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 14;
  width: min(760px, calc(100vw - 360px));
  padding: 16px;
  border: 1px solid #dce5f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.organization-base-glance:hover .organization-base-hovercard {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.organization-base-hover-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.organization-base-hover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.organization-base-pills {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.organization-base-grid,
.organization-public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.organization-public-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.organization-info-card {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid #e2e9f3;
  border-radius: 14px;
  background: #fbfcfe;
}

.organization-info-card strong,
.organization-info-card span,
.organization-info-card small {
  display: block;
}

.organization-info-card strong {
  color: #5b6c81;
  font-size: 12px;
}

.organization-info-card span {
  color: #17293f;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  word-break: break-word;
}

.organization-info-card small {
  color: #6c7f95;
  line-height: 1.6;
}

.organization-public-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.organization-public-card,
.organization-qr-panel {
  padding: 16px 18px;
  border: 1px solid #e0e8f2;
  border-radius: 16px;
  background: #fbfcfe;
}

.organization-membership-block + .organization-membership-block {
  margin-top: 16px;
}

.organization-membership-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
}

.organization-membership-toolbar-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.organization-membership-toolbar-copy strong {
  color: #1a2c42;
  font-size: 15px;
}

.organization-membership-toolbar-copy span {
  color: #5f7388;
  line-height: 1.7;
}

.organization-membership-block > strong {
  display: block;
  color: #4f6279;
  font-size: 13px;
}

.organization-membership-block .business-chip-list {
  margin-top: 10px;
}

.organization-membership-qr-block .organization-card-qr,
.organization-membership-qr-block .empty-state {
  margin-top: 10px;
}

.organization-membership-qr-block .organization-card-qr {
  max-width: 280px;
}

.organization-order-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.organization-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #e3eaf3;
  border-radius: 12px;
  background: #fff;
}

.organization-order-item-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.organization-order-item-main strong {
  color: #1a2c42;
}

.organization-order-item-main small {
  color: #6a7d92;
  line-height: 1.6;
}

.organization-order-item-side {
  flex-shrink: 0;
}

.organization-order-table-shell {
  margin-top: 10px;
}

.organization-order-clickable-row {
  cursor: pointer;
}

.organization-order-clickable-row:hover td {
  background: #f7fbff;
}

.organization-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.organization-plan-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 188px;
  padding: 18px;
  border: 1px solid #dfe7f2;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.organization-plan-card input {
  position: absolute;
  top: 18px;
  right: 18px;
}

.organization-plan-card:hover {
  border-color: #bfd0e8;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.organization-plan-card:has(input:checked) {
  border-color: rgba(29, 79, 145, 0.48);
  background: rgba(29, 79, 145, 0.05);
  box-shadow: inset 0 0 0 1px rgba(29, 79, 145, 0.12);
}

.organization-plan-title {
  display: block;
  padding-right: 26px;
  color: #1d2d43;
  font-weight: 700;
  font-size: 16px;
}

.organization-plan-card strong {
  color: #17324d;
  font-size: 22px;
}

.organization-plan-card small,
.organization-plan-card p {
  margin: 0;
  color: #5f7388;
  line-height: 1.7;
}

.organization-subscription-form-grid {
  grid-template-columns: 240px minmax(0, 1fr);
}

.organization-subscription-form-grid .layui-form-item {
  margin-bottom: 0;
}

.organization-public-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.organization-qr-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.organization-qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 18px;
  align-items: start;
}

.organization-qr-layout-compact {
  grid-template-columns: minmax(0, 1fr) 248px;
}

.organization-qr-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.organization-qr-copy-head {
  display: grid;
  gap: 6px;
}

.organization-qr-copy-head strong {
  color: #17293f;
  font-size: 18px;
}

.organization-qr-copy-head span {
  color: #607286;
  line-height: 1.75;
}

.organization-qr-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.organization-card-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: #fff;
}

.organization-qr-caption {
  color: #5e7288;
  font-size: 12px;
  text-align: center;
}

.organization-qr-image {
  width: 220px;
  height: 220px;
  padding: 10px;
  border: 1px solid #dfe8f2;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
}

.organization-qr-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 14px 16px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: #fff;
}

.organization-qr-note-copy {
  display: grid;
  gap: 6px;
}

.organization-qr-note strong {
  color: #17293f;
  font-size: 16px;
}

.organization-qr-note span {
  color: #607286;
  line-height: 1.7;
}

.inline-action-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-action-list-wide {
  align-items: center;
}

.department-action-stack {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.department-action-main,
.department-action-side {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}

.department-action-side {
  padding-top: 2px;
}

.department-action-stack .layui-btn {
  min-width: 78px;
  border-radius: 8px;
}

.sheet-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf5;
  margin-bottom: 16px;
}

.sheet-form-head h4 {
  margin: 0;
  color: #17283d;
  font-size: 20px;
}

.sheet-form-head p {
  margin: 6px 0 0;
}

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

.attendance-rule-top-grid {
  margin-bottom: 6px;
}

.attendance-rule-top-grid .layui-form-item.wide {
  grid-column: span 2;
}

.attendance-rule-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e2e9f3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

.attendance-rule-panel .module-section-head {
  padding: 0 0 14px;
  background: none;
}

.attendance-group-qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}

.attendance-group-qr-copy .detail-list-item {
  padding-top: 0;
}

.attendance-group-qr-copy .detail-list-item span {
  margin-top: 6px;
  color: #5f7388;
  line-height: 1.7;
}

.attendance-group-qr-copy .detail-list-item small {
  margin-top: 8px;
}

.attendance-capability-field {
  grid-column: 1 / -1;
}

.attendance-rule-capability-grid {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px 16px;
  align-items: start;
}

.attendance-rule-capability-grid .layui-form-label.compact,
.attendance-location-form-grid .layui-form-label.compact {
  float: none;
  display: block;
  width: auto;
  padding: 0 0 8px;
  line-height: 1.4;
  text-align: left;
}

.attendance-rule-capability-grid .layui-input-block,
.attendance-location-form-grid .layui-input-block {
  margin-left: 0;
  min-height: 0;
}

.attendance-rule-capability-grid .layui-form-item {
  margin-bottom: 0;
}

.attendance-rule-capability-grid .layui-form-item.capability-radius {
  align-self: start;
  padding: 14px;
  border: 1px solid #e4ebf4;
  border-radius: 14px;
  background: #fff;
}

.attendance-rule-capability-grid .attendance-capability-field {
  grid-column: auto;
}

.attendance-capability-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.attendance-capability-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 16px 18px;
  border: 1px solid #dfe7f2;
  border-radius: 14px;
  background: #fbfcfe;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.attendance-capability-card input {
  position: absolute;
  top: 16px;
  right: 16px;
}

.attendance-capability-card:hover {
  border-color: #bfd0e8;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.attendance-capability-card:has(input:checked) {
  border-color: rgba(29, 79, 145, 0.48);
  background: rgba(29, 79, 145, 0.05);
  box-shadow: inset 0 0 0 1px rgba(29, 79, 145, 0.12);
}

.attendance-capability-title {
  display: block;
  padding-right: 24px;
  color: #1d2d43;
  font-weight: 700;
}

.attendance-capability-card small {
  color: #61758b;
  line-height: 1.6;
}

.detail-card-form-sheet {
  padding: 18px 20px 20px;
}

.department-form-card {
  display: grid;
  align-content: start;
}

.department-form-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e7edf5;
}

.department-form-footer .layui-btn {
  min-width: 108px;
  border-radius: 10px;
}

.department-dialog-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.form-sheet-table {
  display: grid;
  gap: 0;
  border: 1px solid #dfe7f2;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.form-sheet-table-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  align-items: center;
  min-height: 72px;
  border-bottom: 1px solid #e8eef5;
}

.form-sheet-table-row:last-child {
  border-bottom: 0;
}

.form-sheet-table-head {
  min-height: 48px;
  background: #f7f9fc;
  color: #4d6178;
  font-size: 12px;
  font-weight: 700;
}

.form-sheet-table-row > span {
  padding: 14px 16px;
  min-width: 0;
}

.form-sheet-table-row > span + span {
  border-left: 1px solid #e8eef5;
}

.form-sheet-table-label {
  color: #1d2d43;
  font-weight: 700;
}

.form-sheet-table-note {
  color: #6b7f95;
  line-height: 1.7;
  font-size: 13px;
}

.form-sheet-table-control .layui-input,
.form-sheet-table-control select {
  width: 100%;
}

.department-form-sheet-table .form-sheet-table-row {
  grid-template-columns: 168px minmax(300px, 1fr) 240px;
  min-height: 68px;
}

.department-form-sheet-table .layui-form-select,
.department-form-sheet-table .layui-textarea {
  width: 100%;
}

.organization-card-form-table .form-sheet-table-row:last-child {
  min-height: 132px;
  align-items: stretch;
}

.organization-card-form-table .layui-textarea {
  min-height: 108px;
  border-radius: 12px;
}

.employee-create-no-preview {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #dbe5f0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
  color: #17314c;
}

.employee-create-no-preview strong {
  font-size: 16px;
  letter-spacing: 0.04em;
}

.sheet-inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.sheet-inline-control .layui-btn {
  min-width: 96px;
  border-radius: 10px;
}

.employee-create-platform-summary {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px dashed #cfdaea;
  border-radius: 12px;
  background: #f8fbfe;
}

.employee-create-platform-summary strong {
  color: #17314c;
  font-size: 14px;
}

.employee-platform-search-shell {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: linear-gradient(180deg, #fcfdff 0%, #f5f8fc 100%);
}

.employee-platform-search-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.employee-platform-search-head strong {
  color: #17283d;
  font-size: 15px;
}

.employee-platform-search-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.employee-platform-search-inline .layui-btn {
  min-width: 104px;
  border-radius: 10px;
}

.employee-platform-search-panel {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}

.employee-platform-selected-inline {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
}

.employee-platform-search-panel-results {
  margin-top: 14px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.employee-platform-result-head-compact {
  margin-bottom: 10px;
}

.employee-platform-result-list-scroll {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.employee-platform-result-shell {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: #fbfcfe;
}

.employee-platform-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.employee-platform-result-head strong {
  color: #17283d;
  font-size: 15px;
}

.employee-platform-result-list {
  display: grid;
  gap: 10px;
}

.employee-platform-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #dde6f2;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.employee-platform-result-card.active {
  border-color: rgba(29, 79, 145, 0.48);
  background: rgba(29, 79, 145, 0.05);
  box-shadow: inset 0 0 0 1px rgba(29, 79, 145, 0.08);
}

.employee-platform-result-card strong {
  display: block;
  color: #17283d;
  font-size: 14px;
}

.employee-platform-result-card .layui-btn,
.employee-platform-result-card .business-chip {
  flex-shrink: 0;
}

.employee-create-success-grid {
  margin-top: 14px;
}

.department-members-surface,
.department-assign-surface {
  display: grid;
  align-content: start;
}

.department-members-table-shell .layui-table th,
.department-members-table-shell .layui-table td {
  padding-top: 10px;
  padding-bottom: 10px;
}

.shift-sheet-table {
  display: grid;
  gap: 8px;
  margin-top: 2px;
  padding: 14px;
  border: 1px solid #e2e9f3;
  border-radius: 16px;
  background: #fff;
}

.shift-sheet-row {
  display: grid;
  grid-template-columns: 130px repeat(6, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.shift-sheet-head {
  padding: 0 4px 6px;
  border-bottom: 1px solid #e7edf5;
  color: #51657d;
  font-size: 12px;
  font-weight: 700;
}

.shift-sheet-label {
  color: #1f3046;
  font-weight: 700;
}

.shift-sheet-label label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.attendance-location-builder {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: 18px;
  margin-top: 8px;
}

.attendance-location-builder-expanded {
  grid-template-columns: minmax(0, 1fr);
}

.attendance-location-builder-dialog {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
}

.attendance-location-builder-dialog .attendance-location-builder-main,
.attendance-location-builder-dialog .attendance-location-builder-side {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.attendance-location-builder-dialog .attendance-location-builder-side {
  position: sticky;
  top: 0;
}

.attendance-location-form-shell,
.attendance-location-result-shell,
.attendance-location-preview-shell {
  padding: 14px;
  border: 1px solid #e4ebf4;
  border-radius: 16px;
  background: #fff;
}

.attendance-location-builder-expanded .attendance-location-builder-main,
.attendance-location-builder-expanded .attendance-location-builder-side {
  min-width: 0;
}

.attendance-location-builder-expanded .attendance-location-builder-side {
  margin-top: 4px;
}

.attendance-location-form-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 132px;
  gap: 12px;
}

.attendance-location-form-grid .layui-form-item {
  margin-bottom: 0;
}

.attendance-location-form-grid .attendance-inline-button-item .layui-form-label.compact {
  visibility: hidden;
}

.attendance-location-form-grid .layui-form-item.wide {
  grid-column: span 2;
}

.attendance-location-form-grid .layui-form-item.full {
  grid-column: 1 / -1;
}

.attendance-location-form-grid .layui-form-item.narrow {
  align-self: end;
}

.location-search-results {
  margin-top: 0;
  max-height: 282px;
  overflow-y: auto;
  padding-right: 4px;
}

.location-result-list {
  display: grid;
  gap: 10px;
}

.location-result-item {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #fbfcfe;
  text-align: left;
  cursor: pointer;
}

.location-result-item strong,
.location-result-item span,
.location-result-item small {
  display: block;
}

.location-result-item span {
  margin-top: 6px;
  color: #51657d;
}

.location-result-item small {
  margin-top: 6px;
  color: #70829a;
}

.attendance-location-preview-card,
.attendance-location-preview-empty {
  min-height: 340px;
  padding: 18px;
  border: 1px solid #dfe7f2;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(29, 79, 145, 0.04) 0%, rgba(29, 79, 145, 0.01) 100%),
    linear-gradient(rgba(29, 79, 145, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 79, 145, 0.05) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
}

.attendance-location-preview-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.attendance-location-preview-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px 18px 18px 4px;
  background: #1d4f91;
  color: #fff;
  font-weight: 700;
}

.attendance-location-preview-empty {
  display: grid;
  place-items: center;
  text-align: center;
  color: #64748b;
  line-height: 1.8;
}

.attendance-horizontal-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.attendance-toolbar-inline {
  grid-template-columns: minmax(0, 1.1fr) 220px;
}

.attendance-inline-button-item .layui-btn {
  height: 40px;
  border-radius: 10px;
}

.export-checkbox-field {
  grid-column: 1 / -2;
}

.export-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
  padding-top: 4px;
}

.export-checkbox-shell {
  padding: 12px;
  border: 1px solid #e4ebf4;
  border-radius: 14px;
  background: #fbfcfe;
}

.export-checkbox-item {
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #fbfcfe;
}

.claim-dialog-head {
  align-items: center;
}

.claim-head-meta {
  margin-top: 10px;
  line-height: 1.8;
}

.claim-dialog-stack {
  display: grid;
  gap: 18px;
}

.claim-case-file {
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  background: #fff;
}

.claim-case-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 22px;
  align-items: stretch;
  padding: 24px 26px;
  border-bottom: 1px solid #dbe5ef;
  background: linear-gradient(135deg, #fbfdff 0%, #edf4fb 100%);
}

.claim-case-hero-main {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.claim-case-kicker {
  color: #5e7288;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.claim-case-hero h4 {
  margin: 0;
  color: #17293f;
  font-size: 26px;
  line-height: 1.25;
}

.claim-case-hero p {
  margin: 0;
  color: #607286;
  line-height: 1.7;
}

.claim-case-hero-side {
  display: grid;
  align-self: start;
  align-items: start;
  justify-content: flex-start;
  justify-items: start;
  gap: 8px;
  min-width: 0;
  padding: 16px 18px 18px;
  border: 1px solid #dce6f1;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.claim-case-hero-side strong,
.claim-case-hero-side small {
  display: block;
}

.claim-case-hero-side strong {
  color: #14283f;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.claim-case-hero-side small {
  color: #61758b;
  line-height: 1.6;
}

.claim-case-file > .claim-dialog-stack {
  padding: 18px;
  gap: 16px;
}

.claim-case-ledger-section,
.claim-sheet-stage,
.claim-work-panel {
  padding: 20px;
  border: 1px solid #dfe8f2;
  border-radius: 16px;
  background: #fff;
}

.claim-case-section-head,
.claim-work-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7edf5;
}

.claim-case-section-head h4,
.claim-work-panel-head h4 {
  margin: 0;
  color: #17293f;
  font-size: 17px;
}

.claim-case-section-head p {
  margin: 6px 0 0;
}

.claim-work-panel-head span {
  flex-shrink: 0;
  padding: 4px 9px;
  border: 1px solid #dfe8f2;
  border-radius: 999px;
  color: #607286;
  font-size: 12px;
  background: #f8fafc;
}

.claim-case-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  background: #dce6f1;
}

.claim-ledger-cell {
  min-width: 0;
  padding: 13px 14px;
  background: #fbfcfe;
}

.claim-ledger-cell strong,
.claim-ledger-cell span,
.claim-ledger-cell small {
  display: block;
}

.claim-ledger-cell strong {
  margin-bottom: 6px;
  color: #607286;
  font-size: 12px;
}

.claim-ledger-cell span {
  overflow: hidden;
  color: #17293f;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.claim-ledger-cell small {
  margin-top: 4px;
  color: #7b8da2;
}

.claim-sheet-stage-head {
  align-items: center;
}

.claim-sheet-tools {
  flex-shrink: 0;
  margin-top: 0;
}

.claim-review-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.claim-process-list {
  display: grid;
  gap: 0;
}

.claim-process-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  padding: 0 0 14px;
}

.claim-process-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 0;
  width: 1px;
  background: #dce6f1;
}

.claim-process-dot {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 3px;
  border: 3px solid #dceaf8;
  border-radius: 50%;
  background: #2d7dd2;
}

.claim-process-body {
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2eaf3;
}

.claim-process-item:last-child .claim-process-body {
  padding-bottom: 0;
  border-bottom: 0;
}

.claim-process-body strong,
.claim-process-body span,
.claim-process-body small {
  display: block;
}

.claim-process-body strong {
  color: #17293f;
  line-height: 1.5;
}

.claim-process-body span {
  margin-top: 4px;
  color: #5f7288;
}

.claim-process-body small {
  margin-top: 6px;
  color: #7a8da2;
  line-height: 1.6;
}

.claim-applicant-card {
  padding: 16px 18px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: #fbfcfe;
}

.claim-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6edf5;
}

.claim-block-head h4 {
  margin: 0;
  color: #17283d;
  font-size: 17px;
}

.claim-block-head p {
  margin: 6px 0 0;
}

.claim-block-head-tag {
  flex-shrink: 0;
}

.claim-applicant-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.claim-applicant-card-head strong {
  font-size: 22px;
  color: #182a40;
}

.claim-applicant-card-head span {
  color: #607286;
}

.claim-applicant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.claim-applicant-grid div,
.employee-sheet-kv-grid div {
  padding: 12px 14px;
  border: 1px solid #e4ebf4;
  border-radius: 12px;
  background: #fff;
}

.claim-applicant-grid strong,
.claim-applicant-grid span,
.employee-sheet-kv-grid strong,
.employee-sheet-kv-grid span {
  display: block;
}

.claim-applicant-grid strong,
.employee-sheet-kv-grid strong {
  margin-bottom: 6px;
  color: #5b6c81;
  font-size: 12px;
}

.claim-applicant-grid span,
.employee-sheet-kv-grid span {
  color: #1d2d43;
  line-height: 1.6;
}

.claim-sheet-preview {
  padding: 14px;
  border: 1px solid #d7e0eb;
  border-radius: 18px;
  background: linear-gradient(180deg, #fdfefe 0%, #f7f9fc 100%);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.claim-sheet-preview-wrap {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.claim-followup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.claim-attachment-list {
  display: grid;
  gap: 12px;
}

.claim-attachment-item {
  padding: 14px;
  border: 1px solid #e4ebf4;
  border-radius: 12px;
  background: #fbfcfe;
}

.claim-attachment-item strong,
.claim-attachment-item span {
  display: block;
}

.claim-attachment-item span {
  margin-top: 6px;
  color: #61758b;
}

.claim-attachment-actions {
  margin-top: 10px;
}

.claim-action-dialog {
  display: grid;
  gap: 16px;
}

.claim-action-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.claim-action-form-grid {
  display: grid;
  gap: 14px;
}

.claim-action-form-grid .layui-form-item {
  margin-bottom: 0;
}

.claim-action-form-grid .layui-form-item.wide {
  grid-column: 1 / -1;
}

.claim-action-form-grid .layui-textarea {
  min-height: 118px;
  border-radius: 12px;
}

.claim-action-no-invoice {
  padding: 14px 16px;
  border: 1px dashed #d8e2ef;
  border-radius: 14px;
  background: #f8fbff;
}

.claim-action-no-invoice .minor-note {
  margin-top: 8px;
}

.claim-action-dialog-footer {
  padding-top: 4px;
}

.claim-action-footer {
  margin-top: 0;
  padding: 18px;
  border-top: 1px solid #dbe5ef;
  background: #fff;
}

.claim-sheet-paper {
  padding: 22px 22px 18px;
  border: 1px solid #cad5e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.claim-sheet-title {
  text-align: center;
  color: #16293f;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 2px 0 0;
}

.claim-sheet-doc-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 14px;
  color: #5a6c83;
  font-size: 12px;
  line-height: 1.5;
}

.claim-sheet-doc-line span {
  white-space: normal;
  overflow-wrap: anywhere;
}

.claim-sheet-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  max-width: 100%;
}

.claim-sheet-table th,
.claim-sheet-table td {
  border: 1px solid #cfd9e5;
  padding: 10px 12px;
  font-size: 13px;
  vertical-align: top;
  text-align: left;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.claim-sheet-table th {
  background: #f5f8fc;
  color: #31455f;
  font-weight: 700;
}

.claim-sheet-column-head th {
  background: #edf3f9;
  text-align: center;
}

.claim-sheet-sign-head th {
  background: #f8fafc;
  text-align: center;
}

.claim-sheet-empty-row {
  height: 40px;
}

.claim-sheet-total-amount {
  color: #18314f;
  font-size: 15px;
  font-weight: 800;
}

.claim-sheet-sign-space td {
  height: 76px;
  vertical-align: top;
}

.inline-image-preview {
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #f7f9fc;
  overflow: auto;
  box-sizing: border-box;
}

.inline-image-preview img {
  display: block;
  max-width: 100%;
  max-height: calc(88vh - 96px);
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  background: #fff;
}

.claim-side-note-stack {
  display: grid;
  gap: 16px;
}

.employee-sheet-card {
  padding: 18px;
}

.employee-detail-surface {
  display: grid;
  align-content: start;
}

.employee-identity-banner {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 188px;
  gap: 18px;
  padding: 18px;
  border: 1px solid #deE8f3;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.employee-identity-main {
  display: grid;
  gap: 14px;
}

.employee-identity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.employee-identity-copy h3 {
  margin: 0;
  color: #182a40;
  font-size: 24px;
}

.employee-identity-copy p {
  margin: 6px 0 0;
  color: #4f647c;
  font-size: 14px;
}

.employee-identity-subline {
  margin-top: 8px;
  color: #6b7f95;
  font-size: 13px;
}

.employee-identity-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.employee-identity-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.employee-identity-side {
  display: flex;
  align-items: stretch;
}

.employee-identity-qr-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 100%;
  min-height: 100%;
  padding: 12px;
  border: 1px solid #d8e4f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  gap: 10px;
}

.employee-identity-qr-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.employee-identity-qr-head strong {
  color: #1d2d43;
  font-size: 14px;
}

.employee-identity-qr-head span,
.employee-identity-qr-meta span {
  color: #6c8097;
  font-size: 12px;
  line-height: 1.5;
}

.employee-identity-qr-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
}

.employee-identity-qr-frame img {
  width: 100%;
  max-width: 144px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}

.employee-identity-qr-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 144px;
  padding: 12px;
  border: 1px dashed #cad8e6;
  border-radius: 14px;
  color: #6b7f95;
  font-size: 12px;
  text-align: center;
  background: #f8fbfe;
}

.employee-identity-qr-meta {
  display: grid;
  gap: 4px;
}

.employee-identity-cell {
  padding: 12px 14px;
  border: 1px solid #dde7f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
}

.employee-identity-cell strong,
.employee-identity-cell span {
  display: block;
}

.employee-identity-cell strong {
  margin-bottom: 6px;
  color: #5b6c81;
  font-size: 12px;
}

.employee-identity-cell span {
  color: #1d2d43;
  line-height: 1.6;
}

.employee-sheet-status {
  margin-left: auto;
}

.employee-sheet-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.employee-sheet-block {
  padding: 16px 18px;
  border: 1px solid #e3eaf3;
  border-radius: 16px;
  background: #fff;
}

.employee-detail-section-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7edf5;
}

.employee-detail-section-head h4 {
  margin: 0;
  color: #182a40;
  font-size: 17px;
}

.employee-detail-section-head p {
  margin: 0;
  color: #667990;
  line-height: 1.6;
}

.employee-sheet-kv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.employee-inline-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.employee-inline-ops-card {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid #e3eaf3;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}

.employee-inline-ops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.employee-inline-ops-head strong {
  color: #182a40;
  font-size: 14px;
}

.exports-filter-hint,
.exports-create-hint {
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfcfe 0%, #f7fafd 100%);
}

.exports-filter-hint strong,
.exports-filter-hint span,
.exports-create-hint strong,
.exports-create-hint span {
  display: block;
}

.exports-filter-hint strong,
.exports-create-hint strong {
  color: #203247;
  font-size: 14px;
}

.exports-filter-hint span,
.exports-create-hint span {
  margin-top: 5px;
  color: #64768c;
  line-height: 1.6;
}

.exports-record-surface .module-table-panel-body {
  padding-top: 10px;
}

.exports-record-filter {
  margin-bottom: 8px;
  padding: 10px 12px 12px;
  border: 1px solid #e6ecf3;
  border-radius: 14px;
  background: #fbfcfe;
}

.exports-record-filter-head {
  margin-bottom: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.exports-record-filter-grid {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.exports-record-filter-grid .layui-form-item {
  padding: 10px 12px;
}

.exports-create-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.export-create-card {
  min-width: 0;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #e4ebf3;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 38, 68, 0.04);
}

.export-create-card-head {
  min-height: 0;
  margin-bottom: 14px;
}

.export-create-card-head strong,
.export-create-card-head span {
  display: block;
}

.export-create-card-head strong {
  color: #1f3248;
  font-size: 14px;
}

.export-create-card-head span {
  margin-top: 4px;
  color: #66778c;
  line-height: 1.45;
  font-size: 12px;
}

.export-create-card-body {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
}

.export-create-card-body-stack {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
}

.export-create-card-primary .export-create-card-body {
  justify-content: flex-start;
}

.export-create-control-prominent {
  max-width: 320px;
}

.export-create-control,
.export-create-extra-control {
  width: 100%;
}

.export-create-control .layui-form-select,
.export-create-extra-control .layui-form-select,
.export-create-control select,
.export-create-extra-control select {
  width: 100%;
}

.export-create-control select,
.export-create-extra-control select {
  height: 52px;
  padding: 0 44px 0 16px;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  background-color: #ffffff;
  background-image:
    linear-gradient(45deg, transparent 50%, #6a7b90 50%),
    linear-gradient(135deg, #6a7b90 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  color: #22344a;
  font-size: 15px;
  font-weight: 600;
  line-height: 52px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.export-create-control .layui-input,
.export-create-control .layui-select-title input,
.export-create-control .layui-unselect,
.export-create-extra-control .layui-select-title input,
.export-create-extra-control .layui-unselect {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 16px;
  border-color: #d8e2ee;
  border-radius: 12px;
  background: #ffffff;
  color: #22344a;
  font-size: 15px;
  font-weight: 600;
  box-sizing: border-box;
}

.export-create-selection-note {
  color: #6a7c92;
  font-size: 12px;
  line-height: 1.55;
}

.export-create-static-value {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #dfe6f0;
  border-radius: 10px;
  background: #f7faff;
  color: #22344a;
  font-weight: 600;
}

.export-create-inline-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.export-create-inline-cell {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.export-create-inline-cell-secondary {
  justify-content: flex-start;
}

.export-create-inline-label {
  color: #64768c;
  font-size: 12px;
  line-height: 1.4;
}

.export-create-inline-note {
  margin-top: 10px;
  color: #6b7b90;
  font-size: 12px;
  line-height: 1.55;
}

.export-create-extra-row {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px dashed #d6e2ef;
  border-radius: 14px;
  background: #f8fbff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.export-create-extra-main {
  min-width: 0;
}

.export-create-extra-main strong,
.export-create-extra-main span {
  display: block;
}

.export-create-extra-main strong {
  color: #213349;
  font-size: 13px;
}

.export-create-extra-main span {
  margin-top: 4px;
  color: #6b7b90;
  font-size: 12px;
  line-height: 1.45;
}

.export-create-extra-control {
  flex: 0 0 240px;
}

.exports-create-submit-row {
  margin-top: 16px;
  display: flex;
  justify-content: flex-end;
}

.exports-create-submit-button {
  min-width: 180px;
  height: 42px;
  border-radius: 10px;
}

.export-create-card-wide {
  grid-column: span 2;
}

.export-scope-trigger {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #d8e4f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #fdfefe 0%, #f5f9fd 100%);
  text-align: left;
  display: grid;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.export-scope-trigger:hover {
  border-color: #8fb2de;
  box-shadow: 0 10px 26px rgba(24, 59, 101, 0.08);
  transform: translateY(-1px);
}

.export-scope-trigger-label {
  color: #667a92;
  font-size: 12px;
}

.export-scope-trigger strong {
  color: #17283d;
  font-size: 18px;
  line-height: 1.2;
}

.export-scope-trigger small {
  color: #6d8199;
  line-height: 1.6;
}

.export-scope-trigger-arrow {
  color: #2f6fec;
  font-size: 13px;
  font-weight: 700;
}

.export-scope-trigger-static {
  cursor: default;
}

.export-scope-trigger-static:hover {
  border-color: #d8e4f0;
  box-shadow: none;
  transform: none;
}

.export-scope-modal {
  padding: 16px 18px 18px;
  background: #f8fbff;
}

.export-scope-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.export-scope-modal-head strong,
.export-scope-selection-head strong,
.export-scope-picker-head strong {
  display: block;
  color: #17283d;
  font-size: 18px;
}

.export-scope-modal-head span,
.export-scope-selection-head span,
.export-scope-picker-head span {
  display: block;
  margin-top: 6px;
  color: #6b8097;
  line-height: 1.6;
}

.export-scope-close {
  border: 0;
  background: transparent;
  color: #5d738d;
  font-size: 13px;
  cursor: pointer;
}

.export-scope-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.export-scope-type-card {
  padding: 14px 16px;
  border: 1px solid #d8e2ee;
  border-radius: 14px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.export-scope-type-card strong {
  display: block;
  color: #17283d;
  font-size: 15px;
}

.export-scope-type-card span {
  display: block;
  margin-top: 6px;
  color: #6b8097;
  line-height: 1.55;
}

.export-scope-type-card:hover,
.export-scope-type-card.is-active {
  border-color: #2f6fec;
  box-shadow: 0 10px 26px rgba(47, 111, 236, 0.12);
  transform: translateY(-1px);
}

.export-scope-selection-card,
.export-scope-picker-card {
  padding: 16px 18px;
  border: 1px solid #dfe8f2;
  border-radius: 14px;
  background: #fff;
}

.export-scope-selection-card {
  margin-bottom: 14px;
}

.export-scope-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.export-scope-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4ff;
  color: #204062;
  font-size: 13px;
}

.export-scope-chip.is-static {
  background: #eef3f8;
}

.export-scope-empty {
  color: #7b8ea4;
  font-size: 13px;
}

.export-scope-item-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  max-height: 38vh;
  overflow-y: auto;
  padding-right: 4px;
}

.export-scope-item {
  width: 100%;
  padding: 14px 14px 14px 12px;
  border: 1px solid #dce6f1;
  border-radius: 14px;
  background: #fbfdff;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.export-scope-item:hover,
.export-scope-item.is-active {
  border-color: #2f6fec;
  box-shadow: 0 12px 28px rgba(35, 88, 160, 0.1);
  transform: translateY(-1px);
}

.export-scope-item-check {
  min-width: 44px;
  padding: 6px 0;
  border-radius: 999px;
  background: #eef3f8;
  color: #50667f;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.export-scope-item.is-active .export-scope-item-check {
  background: #2f6fec;
  color: #fff;
}

.export-scope-item-body {
  min-width: 0;
}

.export-scope-item-body strong,
.export-scope-item-body small {
  display: block;
}

.export-scope-item-body strong {
  color: #17283d;
  font-size: 14px;
  line-height: 1.45;
}

.export-scope-item-body small {
  margin-top: 6px;
  color: #6b8097;
  line-height: 1.55;
  word-break: break-all;
}

.export-scope-footer {
  margin-top: 16px;
}

.audit-detail-list {
  gap: 10px;
}

.audit-detail-list .detail-list-item {
  border-radius: 12px;
  background: #fafbfd;
}

@media (max-width: 1320px) {
  .login-panel-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1160px) {
  .surface-section-grid {
    grid-template-columns: 1fr;
  }

  .claim-sheet-grid {
    grid-template-columns: 1fr;
  }

  .module-composite-panel {
    grid-template-columns: 1fr;
  }

  .module-composite-divider {
    display: none;
  }

  .module-composite-column + .module-composite-column {
    border-top: 1px solid #e8eef5;
  }

  .attendance-group-qr-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-content-grid,
  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-overview-grid,
  .dashboard-report-meta-grid {
    grid-template-columns: 1fr;
  }

  .attendance-meta-strip {
    grid-template-columns: 1fr;
  }

  .organization-base-grid,
  .organization-base-hover-grid,
  .organization-public-grid,
  .organization-public-layout,
  .organization-qr-layout,
  .organization-qr-copy-grid,
  .organization-subscription-form-grid,
  .department-dialog-summary-grid,
  .claim-action-summary-grid,
  .attendance-location-builder,
  .attendance-rule-capability-grid,
  .attendance-capability-strip,
  .employee-identity-banner,
  .claim-applicant-grid,
  .claim-followup-grid,
  .employee-identity-strip,
  .employee-sheet-kv-grid,
  .employee-inline-ops-grid,
  .form-sheet-table-row {
    grid-template-columns: 1fr;
  }

  .employee-identity-side {
    align-items: initial;
  }

  .dashboard-report-head,
  .dashboard-report-foot,
  .dashboard-progress-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-report-side {
    justify-items: start;
    text-align: left;
  }

  .attendance-location-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exports-create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .export-create-card-wide {
    grid-column: auto;
  }

  .export-create-inline-pair {
    grid-template-columns: 1fr;
  }

  .export-scope-type-grid,
  .export-scope-item-list,
  .personal-claim-witness-list {
    grid-template-columns: 1fr;
  }

  .personal-claim-witness-search-form {
    grid-template-columns: 1fr;
  }

  .sheet-inline-control,
  .employee-platform-result-card,
  .employee-platform-result-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .attendance-location-form-grid .layui-form-item.full,
  .attendance-location-form-grid .layui-form-item.wide {
    grid-column: 1 / -1;
  }

  .organization-base-glance,
  .organization-base-hover-head,
  .organization-membership-toolbar,
  .organization-qr-note,
  .organization-order-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .organization-base-hovercard {
    position: static;
    width: 100%;
    margin-top: 14px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .form-sheet-table-row > span + span {
    border-left: 0;
    border-top: 1px solid #e8eef5;
  }

  .organization-qr-note {
    grid-template-columns: 1fr;
  }

  .shift-sheet-row,
  .attendance-toolbar-inline {
    grid-template-columns: 1fr;
  }

  .claim-sheet-doc-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard-bottom-divider {
    display: none;
  }

  .dashboard-bottom-section + .dashboard-bottom-section {
    border-top: 1px solid #e8eef5;
  }

  .section-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .shell-view {
    flex-direction: column;
  }

  .shell-aside {
    width: 100%;
    padding: 14px;
    overflow: visible;
  }

  .shell-main {
    padding: 14px;
  }

  .shell-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .shell-header-main {
    width: 100%;
  }

  .surface-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .organization-membership-toolbar .layui-btn {
    width: 100%;
  }

  .me-summary {
    width: 100%;
    margin-left: 0;
  }

  .aside-brand {
    width: 100%;
  }

  .aside-brand-hovercard {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .aside-brand-hover-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .aside-brand-hover-grid {
    grid-template-columns: 1fr;
  }

  .me-summary-hovercard {
    position: static;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .me-summary-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .me-summary-grid {
    grid-template-columns: 1fr;
  }

  .sidebar-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-item {
    min-height: 62px;
    padding: 10px 11px;
  }

  .nav-item small {
    display: none;
  }
}

@media (max-width: 760px) {
  .login-panel-shell-compact {
    flex-direction: column;
    gap: 24px;
    padding: 30px 24px 34px;
  }

  .login-column-divider {
    display: none;
  }

  .login-qr-side,
  .login-account-side {
    align-items: center;
  }

  .login-qr-side {
    transform: translateY(-6px);
  }

  .login-form-inline {
    width: 100%;
    max-width: 480px;
  }

  .login-qr-side .login-backend-title,
  .login-qr-caption,
  .login-qr-status {
    text-align: center;
  }

  .surface-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .login-view {
    padding: 14px;
  }

  .login-home-button {
    top: 12px;
    right: 12px;
    height: 34px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 34px;
  }

  .portal-login-panel {
    width: 100%;
  }

  .login-panel-shell-compact {
    min-height: auto;
    padding: 24px 16px 28px;
  }

  .login-qr-side {
    align-items: center;
    gap: 14px;
    transform: translateY(-4px);
  }

  .login-qr-head {
    width: 100%;
    gap: 10px;
  }

  .login-qr-side .login-backend-title {
    font-size: 28px;
    white-space: normal;
    text-align: center;
  }

  .login-qr-caption {
    text-align: center;
  }

  .login-qr-panel {
    width: 138px;
    max-width: 138px;
  }

  .login-account-side {
    width: 100%;
  }

  .login-field-shell {
    grid-template-columns: 80px minmax(0, 1fr);
    min-height: 50px;
  }

  .login-field-tag {
    min-height: 50px;
    padding: 0 10px;
    font-size: 13px;
  }

  .login-field-shell .layui-input {
    min-height: 48px;
    padding: 0 12px;
    font-size: 14px;
  }

  .login-submit-button {
    height: 50px;
    font-size: 16px;
  }

  .surface-summary-row,
  .section-form-grid {
    grid-template-columns: 1fr;
  }

  .exports-create-grid {
    grid-template-columns: 1fr;
  }

  .export-create-card-wide {
    grid-column: auto;
  }

  .export-create-extra-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .export-create-extra-control {
    width: 100%;
    flex-basis: auto;
  }

  .export-scope-type-grid,
  .export-scope-item-list {
    grid-template-columns: 1fr;
  }

  .employee-reference-bank-meta {
    grid-template-columns: 1fr;
  }

  .panel-card,
  .metric-card,
  .workspace-surface {
    padding: 14px;
  }

  .shell-aside {
    padding: 12px;
  }

  .aside-brand {
    gap: 8px;
    padding-bottom: 8px;
  }

  .aside-brand strong {
    font-size: 16px;
  }

  .aside-brand p {
    font-size: 10px;
  }

  .attendance-metric-grid {
    grid-template-columns: 1fr;
  }

  .attendance-horizontal-summary {
    grid-template-columns: 1fr;
  }

  .attendance-meta-strip {
    padding: 14px;
  }

  .attendance-business-panel {
    padding: 0 0 18px 0;
    border-right: 0;
    border-bottom: 1px solid #edf2f8;
  }

  .attendance-meta-strip .attendance-business-panel:last-child {
    padding: 18px 0 0 0;
    border-bottom: 0;
  }

  .attendance-inline-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .employee-create-no-preview {
    width: 100%;
  }

  .employee-platform-search-head {
    flex-direction: column;
    align-items: stretch;
  }

  .employee-platform-search-inline {
    grid-template-columns: 1fr;
  }

  .employee-platform-search-inline .layui-btn {
    width: 100%;
  }

  .employee-join-request-item {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .employee-join-request-summary-grid {
    grid-template-columns: 1fr;
  }

  .employee-join-request-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .employee-join-request-actions {
    justify-content: flex-start;
  }

  .sheet-inline-control .layui-btn,
  .employee-platform-result-card .layui-btn,
  .employee-platform-result-card .business-chip {
    width: 100%;
  }

  .filter-toolbar .layui-form-item:last-child {
    padding-top: 4px;
  }

  .surface-toolbar h3 {
    font-size: 20px;
  }

  .summary-token strong {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .sidebar-nav {
    grid-template-columns: 1fr;
  }

  .shell-header h2 {
    font-size: 24px;
  }
}

@media (max-width: 1180px) {
  .portal-header {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .portal-header-actions {
    justify-content: flex-start;
  }

  .portal-intro-hero {
    grid-template-columns: 1fr;
  }

  .portal-intro-summary::after {
    right: -16px;
    top: 10px;
    width: 196px;
    height: 250px;
    opacity: 0.12;
  }

  .portal-intro-story-grid {
    grid-template-columns: 1fr;
  }

  .portal-feature-list,
  .portal-intro-summary,
  .portal-intro-flow-grid,
  .portal-intro-scenario-grid,
  .portal-home-grid,
  .portal-poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-poster-card {
    min-height: 300px;
    aspect-ratio: auto;
  }

  .portal-poster-card strong {
    font-size: 34px;
  }

  .portal-poster-watermark {
    font-size: 76px;
  }

  .portal-poster-visual {
    min-height: 154px;
  }
}

@media (max-width: 860px) {
  .login-view {
    padding: 20px 16px 28px;
  }

  .portal-title {
    font-size: 30px;
  }

  .portal-feature-list,
  .portal-intro-summary,
  .portal-intro-flow-grid,
  .portal-intro-scenario-grid,
  .portal-home-grid,
  .portal-poster-grid {
    grid-template-columns: 1fr;
  }

  .portal-intro-hero,
  .portal-intro-summary,
  .portal-intro-section {
    padding: 22px;
    border-radius: 22px;
  }

  .portal-intro-summary::after {
    display: none;
  }

  .portal-poster-card {
    min-height: 280px;
    border-radius: 28px;
  }

  .portal-poster-card strong {
    font-size: 30px;
  }

  .portal-poster-card p {
    max-width: none;
  }

  .portal-poster-watermark {
    right: 14px;
    bottom: 16px;
    font-size: 58px;
  }

  .portal-poster-visual {
    min-height: 134px;
  }

  .personal-claim-draft-card.compact {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .personal-claim-draft-ops {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
  }

  .personal-claim-witness-list {
    grid-template-columns: 1fr;
  }

  .portal-poster-slip {
    left: 18px;
    right: 48px;
    top: 18px;
    bottom: 18px;
  }

  .portal-poster-stamp {
    font-size: 14px;
  }

  .portal-poster-visual-tags {
    right: 14px;
    bottom: 14px;
  }

  .portal-poster-visual-tags span {
    min-height: 26px;
    padding: 0 10px;
    font-size: 11px;
  }

  .portal-poster-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .portal-poster-meta {
    text-align: left;
  }

  .login-page {
    min-height: calc(100vh - 40px);
  }

  .portal-intro-matrix-head {
    display: none;
  }

  .portal-intro-matrix-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
