:root {
  --brand-dark: #11151c;
  --brand-deep: #0b0f15;
  --brand-accent: #c99a2e;
  --brand-accent-soft: rgba(201, 154, 46, 0.14);
  --bg-soft: #e8edf3;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --surface-raised: rgba(248, 250, 252, 0.78);
  --card-shadow: 0 12px 32px rgba(17, 24, 39, 0.075);
  --card-shadow-hover: 0 22px 48px rgba(17, 24, 39, 0.15);
  --line: rgba(15, 23, 42, 0.08);
  --line-soft: rgba(15, 23, 42, 0.07);
  --line-strong: rgba(15, 23, 42, 0.14);
  --panel-wash: rgba(244, 247, 251, 0.66);
  --panel-shadow: 0 18px 54px rgba(17, 24, 39, 0.075);
  --inner-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.64);
  --text: #111827;
  --muted: #697386;
  --ok: #4f8ee8;
  --warn: #f59e0b;
  --paused: #a3a3a3;
  --danger: #dc2626;
  --success: #16a34a;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-press: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(201, 154, 46, 0.22);
}

.brand-serif {
  font-family: "Cormorant Garamond", "Microsoft YaHei", "PingFang SC", serif;
}

.kicker {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  margin: 8px 0 16px;
}

.muted-side {
  color: rgba(255, 255, 255, 0.4);
}

.sub {
  color: var(--muted);
  font-size: 12px;
}

.hidden {
  display: none !important;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 18% 12%, rgba(201, 154, 46, 0.14) 0, transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(79, 142, 232, 0.10) 0, transparent 30%),
    linear-gradient(130deg, #f8fafc 0%, #edf2f7 100%);
}

.login-card {
  width: min(100%, 460px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.10);
  padding: 30px;
  backdrop-filter: blur(18px);
  animation: fade-up 0.45s var(--ease-out);
}

.login-card h1 {
  margin: 8px 0 6px;
  font-size: 44px;
  line-height: 0.9;
}

.stack {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.check-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  min-height: 40px;
}

.check-inline input {
  width: auto;
  margin: 0;
}

input,
select {
  width: 100%;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  font-size: 14px;
  color: var(--text);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s var(--ease-out);
}

input:hover,
select:hover {
  border-color: transparent;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

input:focus,
select:focus {
  outline: none;
  background: #fff;
  border-color: transparent;
  box-shadow:
    inset 0 0 0 1px rgba(17, 24, 39, 0.22),
    0 0 0 4px rgba(79, 142, 232, 0.12);
  transform: translateY(-1px);
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  cursor: pointer;
  background-clip: padding-box;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 1px 2px rgba(15, 23, 42, 0.035);
  transform: translateY(0);
  will-change: transform, box-shadow;
  transition:
    transform 0.28s var(--ease-spring),
    box-shadow 0.28s var(--ease-spring),
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.18) 46%, transparent 66%);
  opacity: 0;
  transform: translateY(4px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.36s var(--ease-spring);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.30) 45%, transparent 72%);
  opacity: 0;
  transform: translateX(-120%);
  pointer-events: none;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 28px rgba(17, 24, 39, 0.12);
}

.btn:hover:not(:disabled)::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.btn:active:not(:disabled) {
  transform: translateY(0) scale(0.975);
  box-shadow: 0 5px 14px rgba(17, 24, 39, 0.10);
  transition-duration: 0.08s;
}

.btn.is-pressing:not(:disabled) {
  transform: translateY(0) scale(0.975);
}

.btn.is-feedback:not(:disabled)::after {
  animation: button-sheen 0.62s var(--ease-out);
}

.btn-ripple {
  position: absolute;
  left: var(--ripple-x);
  top: var(--ripple-y);
  z-index: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  pointer-events: none;
  background: currentColor;
  opacity: 0.12;
  transform: translate(-50%, -50%) scale(0);
  animation: btn-ripple 0.56s var(--ease-out);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(79, 142, 232, 0.18), 0 8px 22px rgba(17, 24, 39, 0.10);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent 42%),
    linear-gradient(180deg, #1d2430 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 8px 18px rgba(17, 24, 39, 0.14);
}

.btn-primary:hover:not(:disabled) {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(180deg, #2a3341 0%, #111827 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    0 16px 34px rgba(17, 24, 39, 0.20);
}

.btn-ghost {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(248, 250, 252, 0.46));
  color: #475569;
}

.btn-ghost:hover:not(:disabled) {
  border-color: transparent;
  background:
    linear-gradient(180deg, #ffffff, rgba(248, 250, 252, 0.86));
  color: #111827;
}

.btn-danger {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(254, 242, 242, 0.72));
  color: #b91c1c;
}

.btn-danger:hover:not(:disabled) {
  border-color: transparent;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(180deg, #b91c1c 0%, #991b1b 100%);
  color: #fff;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  background:
    radial-gradient(circle at 18% 0%, rgba(79, 142, 232, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(218, 226, 236, 0.82), rgba(242, 246, 250, 0.66) 48%, rgba(232, 237, 244, 0.72)),
    var(--bg-soft);
}

.sidebar {
  width: 260px;
  background:
    radial-gradient(circle at 28% 0%, rgba(201, 154, 46, 0.18), transparent 34%),
    linear-gradient(180deg, #151a22 0%, var(--brand-deep) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 26px 18px;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.sidebar-header h2 {
  margin: 0;
  font-size: 36px;
  line-height: 0.96;
  letter-spacing: 0;
}

.sidebar-header p {
  margin-top: 8px;
}

.sidebar-nav {
  margin-top: 24px;
  display: grid;
  gap: 5px;
}

.tab-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 12px 11px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transform: translateX(0);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.22s var(--ease-out);
}

.tab-btn::before {
  content: "";
  position: absolute;
  inset: 9px auto 9px 6px;
  width: 3px;
  border-radius: 999px;
  background: var(--brand-accent);
  opacity: 0;
  transform: scaleY(0.45);
  transition: opacity 0.2s ease, transform 0.22s var(--ease-out);
}

.tab-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--pointer-x, 12%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.12), transparent 42%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(2px);
}

.tab-btn:hover::before {
  opacity: 0.56;
  transform: scaleY(0.8);
}

.tab-btn:hover::after {
  opacity: 1;
}

.tab-btn.active {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(201, 154, 46, 0.14), rgba(255, 255, 255, 0.07));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.tab-btn.active::before {
  opacity: 1;
  transform: scaleY(1);
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.86);
}

.sidebar-user {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
}

.main-shell {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 78px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  background:
    linear-gradient(90deg, rgba(238, 244, 250, 0.90), rgba(255, 255, 255, 0.82));
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.inline-metrics {
  display: flex;
  gap: 12px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.inline-metrics strong {
  color: var(--text);
}

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

.clock {
  min-width: 94px;
  text-align: center;
  font-size: 13px;
  color: #334155;
  font-variant-numeric: tabular-nums;
  padding: 8px 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  background: rgba(232, 239, 247, 0.78);
}

.content {
  flex: 1;
  overflow: auto;
  padding: 26px 30px 34px;
  background:
    radial-gradient(circle at 76% 0%, rgba(79, 142, 232, 0.12), transparent 32%),
    radial-gradient(circle at 4% 28%, rgba(201, 154, 46, 0.075), transparent 28%),
    linear-gradient(90deg, #d9e1eb 0%, #eef3f8 38%, #f5f7fa 72%, #e7edf4 100%),
    linear-gradient(180deg, #eef3f8 0%, #dfe7f0 100%);
}

.tab-panel.panel-swap-in {
  position: relative;
  overflow: hidden;
  animation: panel-swap-in 0.42s var(--ease-spring);
}

.tab-panel.panel-swap-in::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.52) 42%, transparent 72%);
  animation: panel-sheen 0.52s var(--ease-out);
}

.start-tab-panel.panel-swap-in {
  animation: segment-swap-in 0.22s var(--ease-out);
}

.dashboard-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(244, 247, 251, 0.86) 100%);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-md);
  padding: 15px 15px 14px;
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: var(--card-shadow-hover);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: rgba(18, 20, 23, 0.18);
}

.stat-card-feature {
  min-height: 132px;
  padding: 19px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(135deg, rgba(201, 154, 46, 0.22), transparent 46%),
    linear-gradient(135deg, #121722 0%, #262d38 100%);
}

.stat-card-feature::before {
  width: 4px;
  background: var(--brand-accent);
}

.stat-card-running {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(79, 142, 232, 0.22), transparent 48%),
    linear-gradient(135deg, #182333 0%, #26364a 100%);
}

.stat-card-rate {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.11), transparent 28%),
    linear-gradient(135deg, rgba(22, 163, 74, 0.18), transparent 48%),
    linear-gradient(135deg, #111827 0%, #273449 100%);
}

.stat-card-paused::before {
  background: var(--warn);
}

.stat-card-idle::before {
  background: #94a3b8;
}

.stat-card h4 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7d8795;
}

.stat-card-feature h4 {
  color: rgba(255, 255, 255, 0.68);
}

.stat-value {
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.stat-card-feature .stat-value {
  font-size: 52px;
  font-weight: 400;
}

.stat-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

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

.section-head h3 {
  margin: 0;
  font-size: 30px;
}

.inline-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-table-wrap {
  border-radius: var(--radius-lg);
  box-shadow: var(--panel-shadow), var(--inner-highlight);
  background: rgba(246, 249, 252, 0.76);
  border: 1px solid var(--line-soft);
}

.dashboard-table-wrap .grid-table {
  border: 0;
}

.new-table,
.filter-row {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(238, 244, 250, 0.70));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--panel-shadow), var(--inner-highlight);
  padding: 14px;
  margin-bottom: 14px;
  backdrop-filter: blur(12px);
}

.new-table h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.row-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  align-items: end;
}

.filter-row label,
.new-table label {
  color: #475569;
}

.filter-row .btn,
.new-table .btn {
  min-height: 42px;
}

.table-filter-row {
  position: sticky;
  top: 12px;
  z-index: 10;
  margin-bottom: 10px;
}

.table-quick-filter {
  align-self: stretch;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.72);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.check-inline input {
  accent-color: var(--brand-dark);
}

.table-quick-filter:hover {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.07);
}

.table-overview-hero {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2fr);
  gap: 14px;
  margin-bottom: 12px;
}

.table-overview-clock,
.table-weather-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--panel-shadow), var(--inner-highlight);
  background: rgba(246, 249, 252, 0.76);
  backdrop-filter: blur(14px);
}

.table-overview-clock {
  display: grid;
  align-content: center;
  min-height: 176px;
  padding: 20px;
  background:
    radial-gradient(circle at 80% 18%, rgba(201, 154, 46, 0.18), transparent 30%),
    linear-gradient(135deg, #121722 0%, #26303d 100%);
  color: #fff;
}

.board-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.table-page-clock {
  margin-top: 12px;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.table-page-date {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.table-weather-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(320px, 1.1fr);
  gap: 12px;
  min-height: 176px;
  padding: 18px;
}

.table-weather-panel .board-kicker {
  color: #7d8795;
  grid-column: 1 / -1;
}

.table-weather-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.table-weather-temp {
  color: #111827;
  font-size: 48px;
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.table-weather-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.table-weather-meta strong {
  color: #1f2937;
  font-size: 15px;
}

.table-weather-forecast {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-self: stretch;
}

.table-weather-day {
  display: grid;
  gap: 6px;
  align-content: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.74);
}

.table-weather-day-label,
.table-weather-day span:last-child {
  color: #7d8795;
  font-size: 11px;
}

.table-weather-day strong {
  color: #1f2937;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr) minmax(260px, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}

.chart-panel {
  min-width: 0;
  background: rgba(246, 249, 252, 0.76);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--panel-shadow), var(--inner-highlight);
  padding: 14px;
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.2s ease;
}

.chart-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: var(--card-shadow-hover);
}

.chart-panel-wide {
  grid-column: span 1;
}

.chart-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.chart-head h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.chart-panel canvas {
  display: block;
  width: 100%;
  height: 260px;
}

.area-form {
  margin-bottom: 12px;
}

.area-group {
  position: relative;
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(15, 23, 42, 0.045);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(230, 238, 247, 0.34)),
    radial-gradient(circle at 8% 0%, rgba(201, 154, 46, 0.08), transparent 34%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.area-group:last-child {
  margin-bottom: 0;
}

.area-group-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1f2937;
}

.area-group-title::before {
  content: "";
  width: 3px;
  height: 15px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--brand-accent), rgba(201, 154, 46, 0.36));
}

.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 11px;
}

.area-list .card {
  margin-bottom: 0;
}

.table-grid {
  display: block;
}

.modal.hidden {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  max-width: 520px;
  margin: 10vh auto 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.26);
  padding: 18px;
  z-index: 1;
  backdrop-filter: blur(18px);
  animation: modal-in 0.22s var(--ease-out);
}

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

.modal-body {
  display: grid;
  gap: 14px;
}
.modal-card-danger {
  max-width: 640px;
}

.delete-modal-copy {
  display: grid;
  gap: 8px;
}

.delete-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.delete-choice-list {
  display: grid;
  gap: 12px;
}

.delete-choice-btn {
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  border-radius: 14px;
}

.delete-choice-btn strong {
  font-size: 14px;
}

.delete-choice-btn span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.delete-choice-btn.btn-danger span {
  color: rgba(255, 255, 255, 0.86);
}

.delete-no-history-box {
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fafafa;
}

.delete-modal-actions {
  gap: 10px;
}

.transfer-summary {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.transfer-summary span {
  color: #7a828f;
  font-size: 11px;
  font-weight: 800;
}

.transfer-summary strong {
  color: #202734;
  font-size: 15px;
}

.transfer-actions {
  justify-content: flex-end;
}


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

.fixed-end-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fixed-end-quick-btn {
  min-height: 40px;
}

.start-time-field {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.start-time-hint {
  margin: 0;
}

/* 桌台详情弹窗 */
.modal-card-detail {
  max-width: 560px;
}

.detail-head-text {
  display: grid;
  gap: 2px;
}

.detail-head-text h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1;
}

.detail-body {
  display: grid;
  gap: 16px;
}

.detail-timer-block {
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 16px 18px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(18, 20, 23, 0.04), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #fafbfd 0%, #f4f6f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.detail-timer-block.running {
  background:
    linear-gradient(135deg, rgba(147, 197, 253, 0.10), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  border-color: rgba(147, 197, 253, 0.18);
}

.detail-timer-block.paused {
  background:
    linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #fffdf9 0%, #fdf6ea 100%);
  border-color: rgba(245, 158, 11, 0.22);
}

.detail-timer-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b93a0;
}

.detail-timer {
  font-size: 46px;
  line-height: 0.95;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}

.detail-timer.warn {
  color: #c07a03;
}

.detail-timer.critical {
  color: #b91c1c;
}

.detail-timer.paused {
  color: #9aa1ab;
}

.detail-timer.forward {
  color: #2563eb;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.detail-info-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
}

.detail-info-row span {
  color: #8b93a0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}

.detail-info-row strong {
  color: #202734;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.detail-section-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b6472;
  margin-top: -2px;
}

.detail-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.detail-actions .btn {
  letter-spacing: 0.04em;
  padding: 11px 8px;
  text-transform: none;
  font-size: 12px;
}

.start-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 0;
  border-radius: var(--radius-md);
  background: rgba(226, 232, 240, 0.55);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.start-tab-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.24s var(--ease-spring),
    transform 0.24s var(--ease-spring);
}

.start-tab-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.9), transparent 42%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.start-tab-btn:hover::before {
  opacity: 1;
}

.start-tab-btn:hover {
  color: #111827;
  background: rgba(255, 255, 255, 0.58);
}

.start-tab-btn.active {
  color: #111827;
  background: #fff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.start-tab-btn:active {
  transform: scale(0.98);
}

@media (max-width: 560px) {
  .detail-info-grid {
    grid-template-columns: 1fr;
  }
  .detail-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(240, 245, 250, 0.82) 100%);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.045);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.76) inset,
    0 10px 26px rgba(17, 24, 39, 0.045);
  padding: 15px;
  display: grid;
  gap: 10px;
  transition:
    transform 0.28s var(--ease-out),
    box-shadow 0.28s var(--ease-out),
    border-color 0.22s ease,
    background 0.22s ease;
  will-change: transform, box-shadow;
}

/* 卡片现在是 role="button" 的可点击区域。 */
.card-button {
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(255, 255, 255, 0.86), transparent 26%),
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(79, 142, 232, 0.13), transparent 38%);
  opacity: 0;
  transition: opacity 0.28s ease;
}

/* 顶部状态色细条，营造层次。 */
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.04));
  opacity: 0.74;
  transition: opacity 0.22s ease, height 0.22s var(--ease-out);
}

.card.running {
  background:
    linear-gradient(180deg, rgba(79, 142, 232, 0.045) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(237, 245, 255, 0.84) 100%);
  border-color: rgba(79, 142, 232, 0.12);
}

.card.running::after {
  background: linear-gradient(90deg, var(--ok), rgba(79, 142, 232, 0.18));
}

.card.paused {
  background:
    linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.90) 0%, rgba(255, 248, 235, 0.82) 100%);
  border-color: rgba(245, 158, 11, 0.13);
}

.card.paused::after {
  background: linear-gradient(90deg, var(--warn), rgba(245, 158, 11, 0.15));
}

.card:hover {
  transform: translateY(-5px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  border-color: rgba(15, 23, 42, 0.12);
  background: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.88) inset,
    0 18px 40px rgba(17, 24, 39, 0.105);
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  height: 5px;
  opacity: 1;
}

.card:focus-visible {
  outline: none;
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 4px rgba(79, 142, 232, 0.16), var(--card-shadow-hover);
}

.card.idle {
  border-color: rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, rgba(250, 252, 254, 0.86) 0%, rgba(235, 241, 248, 0.80) 100%);
}

.card.idle::after {
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.46), rgba(148, 163, 184, 0.08));
}

.table-grid-hint {
  margin: 2px 2px 10px;
  color: #7d8795;
}

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

.table-meta {
  margin: 0 0 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b95a4;
}

.card-name {
  margin: 0;
  font-size: 23px;
  line-height: 1.06;
  color: #121722;
}

.dot-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-top: 2px;
  box-shadow: 0 0 0 5px rgba(15, 23, 42, 0.05);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.card:hover .dot-indicator {
  transform: scale(1.08);
  box-shadow: 0 0 0 6px rgba(15, 23, 42, 0.07);
}

.dot-running {
  background: var(--ok);
}

.dot-paused {
  background: var(--warn);
}

.dot-idle {
  background: #d1d5db;
}

.timer-display {
  font-size: 35px;
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: #172033;
  transition: color 0.2s ease, transform 0.22s var(--ease-out);
}

.card:hover .timer-display {
  transform: translateY(-1px);
}

.timer-display.warn {
  color: #c07a03;
}

.timer-display.critical {
  color: #b91c1c;
  animation: timer-alert-pulse 1.2s ease-in-out infinite;
}

.timer-display.paused {
  color: #9aa1ab;
}

.compact-card-line {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.compact-status {
  max-width: 45%;
  text-align: right;
  line-height: 1.35;
  color: #7b8493;
}

.timer-display.forward {
  color: #2563eb;
}

.timer-alert {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 10px;
  width: fit-content;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.07);
}

.timer-alert.warn {
  color: #9a6700;
  background: #fef3c7;
}

.timer-alert.critical {
  color: #991b1b;
  background: #fee2e2;
}

.progress-container {
  height: 4px;
  width: 100%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.72);
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f2937, #475569);
  transition: width 0.45s var(--ease-out), background 0.2s ease;
}

.progress-bar.warn {
  background: var(--warn);
}

.progress-bar.critical {
  background: var(--danger);
}

.progress-bar.paused {
  background: #c6cbd3;
}

.progress-bar.forward {
  width: 100% !important;
  background: linear-gradient(90deg, #bfdbfe, var(--ok));
}

.table-note {
  min-height: 16px;
  white-space: normal;
}

.table-note-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(248, 250, 252, 0.70);
  border: 1px solid rgba(15, 23, 42, 0.045);
  line-height: 1.45;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.card:hover .table-note-strip {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 23, 42, 0.075);
}

.table-note-strip span {
  color: #7a828f;
  font-size: 11px;
  font-weight: 800;
}

.table-note-strip strong {
  min-width: 0;
  color: #202734;
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.table-note-strip.empty strong {
  color: #9aa1ac;
  font-weight: 500;
}

.table-actions-toggle {
  width: 100%;
  padding: 8px 10px;
}

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

.compact-details {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: rgba(248, 250, 252, 0.72);
}

.actions-collapsed {
  display: none;
}

.actions .btn {
  letter-spacing: 0.04em;
  padding: 9px 8px;
  text-transform: none;
  font-size: 11px;
}

.timer-mode-block {
  display: grid;
  gap: 10px;
}

.timer-mode-title {
  margin: 0;
  color: #5b6472;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timer-mode-divider {
  border-top: 1px dashed rgba(15, 23, 42, 0.14);
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--panel-shadow), var(--inner-highlight);
  border: 1px solid var(--line-soft);
  background: rgba(246, 249, 252, 0.76);
}

.grid-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  border: 0;
}

.grid-table th,
.grid-table td {
  font-size: 12px;
  padding: 11px 12px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(226, 232, 240, 0.72);
}

.grid-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #7a828f;
  background: rgba(248, 250, 252, 0.94);
}

.grid-table tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.52);
}

.grid-table tbody tr {
  position: relative;
  transition: background 0.18s ease;
}

.grid-table tbody tr td:first-child {
  position: relative;
}

.grid-table tbody tr td:first-child::before {
  content: "";
  position: absolute;
  inset: 8px auto 8px 0;
  width: 3px;
  border-radius: 999px;
  background: var(--brand-accent);
  opacity: 0;
  transform: scaleY(0.5);
  transition: opacity 0.18s ease, transform 0.22s var(--ease-out);
}

.grid-table tbody tr:hover td {
  background: #f5f8fc;
}

.grid-table tbody tr:hover td:first-child::before {
  opacity: 0.85;
  transform: scaleY(1);
}

.pager {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 13px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.24);
  z-index: 1000;
  backdrop-filter: blur(12px);
  animation: toast-in 0.22s var(--ease-out);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panel-swap-in {
  from {
    opacity: 0.82;
    transform: translateX(12px) translateY(3px) scale(0.996);
  }
  62% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
  }
}

@keyframes panel-sheen {
  from {
    opacity: 0;
    transform: translateX(-120%);
  }
  28% {
    opacity: 0.75;
  }
  to {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes segment-swap-in {
  from {
    opacity: 0.72;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes btn-ripple {
  from {
    width: 12px;
    height: 12px;
    opacity: 0.14;
    transform: translate(-50%, -50%) scale(0);
  }
  70% {
    opacity: 0.07;
  }
  to {
    width: var(--ripple-size);
    height: var(--ripple-size);
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes button-sheen {
  from {
    opacity: 0;
    transform: translateX(-120%);
  }
  28% {
    opacity: 0.46;
  }
  to {
    opacity: 0;
    transform: translateX(120%);
  }
}

@keyframes timer-alert-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.58;
  }
  100% {
    opacity: 1;
  }
}

@media (max-width: 1120px) {
  .sidebar {
    width: 220px;
  }
  .content {
    padding: 20px;
  }
  .dashboard-hero {
    grid-template-columns: 1fr;
  }
  .chart-grid {
    grid-template-columns: 1fr 1fr;
  }
  .table-overview-hero,
  .table-weather-panel {
    grid-template-columns: 1fr;
  }
  .chart-panel-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    width: 100%;
    padding: 16px;
    gap: 10px;
  }

  .sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .sidebar-footer {
    margin-top: 6px;
  }

  .main-shell {
    height: auto;
    min-height: calc(100vh - 250px);
  }

  .topbar {
    padding: 12px 16px;
    height: auto;
    flex-wrap: wrap;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .table-filter-row {
    position: static;
  }

  .table-weather-forecast {
    grid-template-columns: 1fr;
  }

  .row-form {
    grid-template-columns: 1fr;
  }

  .chart-grid {
    grid-template-columns: 1fr;
  }

  .chart-panel-wide {
    grid-column: auto;
  }

  .chart-panel canvas {
    height: 220px;
  }
}

@media (max-width: 640px) {
  .content {
    padding: 16px;
  }

  .area-list {
    grid-template-columns: 1fr;
  }

  .compact-card-line {
    display: grid;
    align-items: start;
  }

  .compact-status {
    max-width: none;
    text-align: left;
  }

  .table-page-clock {
    font-size: 40px;
  }

  .table-weather-main {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


.user-form {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.user-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


.super-panel {
  display: grid;
  gap: 14px;
}

.super-panel-head {
  align-items: flex-start;
  margin-bottom: 8px;
}

.super-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.super-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.super-badge-soft {
  background: #eef2f7;
  color: #334155;
}

.super-hint-card {
  display: grid;
  gap: 6px;
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafc;
  color: #334155;
  font-size: 13px;
}

.user-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.user-status-pill.enabled {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.user-status-pill.disabled {
  background: rgba(220, 38, 38, 0.10);
  color: #b91c1c;
}

.audit-action-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.audit-detail-cell {
  max-width: 280px;
  white-space: normal;
  line-height: 1.55;
}

.password-reset-hint {
  margin-top: 0;
}

.password-reset-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.password-reset-tip {
  margin: 0;
}
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
