﻿/* ==========================================================================
   写手台账 · 样式
   ========================================================================== */
:root {
  --ink: #1b2233;
  --ink-2: #3c4560;
  --muted: #7b8399;
  --faint: #9aa1b5;
  --line: rgba(26, 34, 56, 0.09);
  --bg: #f1f4fb;
  --card: #ffffff;
  --mint: #4fd1b0;
  --mint-deep: #10a98c;
  --indigo: #7a7bf0;
  --indigo-deep: #5b5ce0;
  --coral: #ff9677;
  --coral-deep: #ef6a45;
  --sand: #f5b96b;
  --violet: #b193f2;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 22px 50px -38px rgba(22, 31, 58, 0.55);
  --shadow-soft: 0 10px 26px -22px rgba(22, 31, 58, 0.5);
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------------------------------------------------------------- 背景 */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.aurora__b {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.65;
}
.aurora__b--mint {
  width: 620px; height: 620px; left: -180px; top: -220px;
  background: radial-gradient(circle at 45% 45%, rgba(94, 216, 186, 0.42), rgba(94, 216, 186, 0) 68%);
}
.aurora__b--indigo {
  width: 700px; height: 700px; right: -220px; top: 30px;
  background: radial-gradient(circle at 50% 50%, rgba(128, 129, 246, 0.36), rgba(128, 129, 246, 0) 68%);
}
.aurora__b--sand {
  width: 560px; height: 560px; left: 26%; bottom: -280px;
  background: radial-gradient(circle at 50% 50%, rgba(248, 196, 132, 0.34), rgba(248, 196, 132, 0) 68%);
}

/* ---------------------------------------------------------------- 框架 */
.app {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 252px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  box-shadow: 22px 0 60px -60px rgba(22, 31, 58, 0.6);
  z-index: 30;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 6px;
}
.brand__mark {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  background: linear-gradient(145deg, #6f7bf3, #48cbb1);
  box-shadow: 0 12px 24px -14px rgba(86, 104, 232, 0.9);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-size: 15.5px; letter-spacing: -0.01em; }
.brand__text small { font-size: 9px; letter-spacing: 0.18em; color: var(--faint); }

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(122, 123, 240, 0.12);
  box-shadow: var(--shadow-soft);
}
.who__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, #e7e9ff, #d8f6ee);
  color: #4d53b8;
  font-size: 13px; font-weight: 700;
}
.who__text { display: flex; flex-direction: column; line-height: 1.3; }
.who__text strong { font-size: 12.5px; }
.who__text small { font-size: 10.5px; color: var(--muted); }

.nav { display: flex; flex-direction: column; gap: 4px; margin-top: 2px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.nav-item:hover { background: rgba(255, 255, 255, 0.9); }
.nav-item.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}
.nav-item.is-active .nav-item__icon { color: var(--indigo-deep); }
.nav-item__icon { width: 17px; height: 17px; color: var(--faint); }
.nav-item__count {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--muted);
  background: rgba(122, 123, 240, 0.1);
  border-radius: 8px;
  padding: 1px 7px;
  font-weight: 600;
}
.nav-item--cta {
  margin-top: 8px;
  color: var(--indigo-deep);
  border: 1px dashed rgba(122, 123, 240, 0.35);
  background: rgba(255, 255, 255, 0.5);
}
.nav-item--cta .nav-item__icon { color: var(--indigo); }

.side-foot {
  margin-top: auto;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(122, 123, 240, 0.1), rgba(79, 209, 176, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.side-foot__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 11.5px; color: var(--muted); }
.side-foot__top strong { font-size: 16px; color: var(--ink); letter-spacing: -0.02em; }
.side-foot__bar {
  height: 5px; margin: 9px 0 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}
.side-foot__bar span {
  display: block; height: 100%; width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #7a7bf0, #4fd1b0);
  transition: width 0.6s ease;
}
.side-foot__note { font-size: 10.5px; color: var(--muted); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- 顶栏 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  height: 66px;
  padding: 0 30px;
  background: rgba(244, 246, 252, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-2);
  transition: background 0.18s, transform 0.18s;
}
.icon-btn:hover { background: #fff; transform: translateY(-1px); }
.menu-btn { display: none; }
.icon-btn .dot {
  position: absolute; top: 8px; right: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral-deep);
  box-shadow: 0 0 0 2px #fff;
}
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.crumb i { font-style: normal; color: var(--faint); }
.crumb strong { color: var(--ink); font-weight: 600; }

.search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(360px, 34vw);
  padding: 0 12px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--faint);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.search:focus-within { border-color: rgba(122, 123, 240, 0.4); box-shadow: 0 0 0 4px rgba(122, 123, 240, 0.08); }
.search input {
  flex: 1; min-width: 0;
  border: 0; background: none; outline: none;
  font-size: 12.5px; color: var(--ink);
}
.search kbd {
  font-size: 9.5px; color: var(--faint);
  border: 1px solid var(--line); border-radius: 6px;
  padding: 1px 5px; white-space: nowrap;
}
.top-actions { display: flex; align-items: center; gap: 10px; }

/* ---------------------------------------------------------------- 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.16s, box-shadow 0.16s, background 0.16s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 15px; height: 15px; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #7d7cf3, #5f63e8);
  box-shadow: 0 14px 26px -16px rgba(95, 99, 232, 0.9);
}
.btn--primary:hover { box-shadow: 0 18px 30px -16px rgba(95, 99, 232, 0.95); }
.btn--ghost {
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(26, 34, 56, 0.08);
}
.btn--ghost:hover { background: #fff; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 11.5px; border-radius: 10px; }
.btn--danger-ghost { color: #d1594a; background: rgba(255, 150, 119, 0.12); }
.btn--danger-ghost:hover { background: rgba(255, 150, 119, 0.2); }
.link {
  display: inline-flex; align-items: center; gap: 5px;
  border: 0; background: none; padding: 0;
  color: var(--indigo-deep); font-size: 12px; font-weight: 600;
}
.link .icon { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- 页面 */
.view { padding: 26px 30px 56px; max-width: 1320px; width: 100%; }

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--muted); letter-spacing: 0.01em;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(79, 209, 176, 0.18);
}
.page-head h1 {
  margin: 6px 0 4px;
  font-size: 30px;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.page-head__sub { font-size: 12.5px; color: var(--muted); max-width: 620px; }
.page-head__side { display: flex; align-items: center; gap: 10px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stat {
  position: relative;
  overflow: hidden;
  padding: 16px 18px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}
.stat::after {
  content: "";
  position: absolute;
  right: -34px; top: -46px;
  width: 120px; height: 120px;
  border-radius: 50%;
  opacity: 0.16;
  background: radial-gradient(circle, var(--accent, #7a7bf0), transparent 70%);
}
.stat--mint { --accent: #35c8a4; }
.stat--sand { --accent: #f3ad55; }
.stat--coral { --accent: #ff8a66; }
.stat--indigo { --accent: #7a7bf0; }
.stat__head { display: flex; align-items: center; gap: 8px; }
.stat__icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: color-mix(in srgb, var(--accent) 82%, #1b2233);
}
.stat__icon .icon { width: 15px; height: 15px; }
.stat__label { font-size: 11.5px; color: var(--muted); }
.stat__value {
  margin: 9px 0 4px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.stat__foot {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; color: var(--faint);
}
.stat__foot em { font-style: normal; color: color-mix(in srgb, var(--accent) 70%, #1b2233); }

.grid { display: grid; gap: 16px; }
.grid--main { grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); align-items: start; }
.rail { display: flex; flex-direction: column; gap: 16px; }

.panel {
  padding: 18px 18px 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}
.panel__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.panel__head--tight { margin-bottom: 10px; }
.panel__title { font-size: 14.5px; font-weight: 650; letter-spacing: -0.01em; }
.panel__sub { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* 即将交付 */
.due-list { display: flex; flex-direction: column; }
.due {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 11px 8px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  border-radius: 10px;
  transition: background 0.16s;
}
.due:first-child { border-top: 0; }
.due:hover { background: rgba(122, 123, 240, 0.05); }
.due__date {
  width: 54px; flex: none;
  display: flex; flex-direction: column; align-items: center;
  padding: 5px 0;
  border-radius: 10px;
  background: rgba(79, 209, 176, 0.1);
  color: #0e937a;
}
.due__date strong { font-size: 12.5px; letter-spacing: -0.01em; }
.due__date small { font-size: 9px; }
.due__main { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; }
.due__title {
  font-size: 12.8px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.due__meta { font-size: 10.5px; color: var(--muted); }
.due__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.due__side em { font-style: normal; font-size: 12px; font-weight: 650; }

/* 中介待收 */
.agent-mini { display: flex; flex-direction: column; gap: 11px; }
.agent-mini__row { display: flex; align-items: center; gap: 9px; }
.mini-avatar {
  width: 26px; height: 26px; flex: none;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  color: #5b5ce0;
  background: rgba(122, 123, 240, 0.12);
}
.agent-mini__main { flex: 1; min-width: 0; }
.agent-mini__top {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11.5px; margin-bottom: 4px;
}
.agent-mini__top strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agent-mini__top span { color: var(--coral-deep); font-weight: 650; font-size: 11.5px; }

/* 最近接单 */
.recent { display: flex; flex-direction: column; }
.recent__row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 6px;
  border: 0; background: none; text-align: left;
  border-top: 1px solid var(--line);
  border-radius: 8px;
}
.recent__row:first-child { border-top: 0; }
.recent__row:hover { background: rgba(122, 123, 240, 0.05); }
.recent__date { width: 38px; flex: none; font-size: 10.5px; color: var(--faint); }
.recent__main { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.recent__main strong {
  font-size: 12px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.recent__main small { font-size: 10px; color: var(--muted); }
.recent__amount { font-size: 11.5px; font-weight: 650; color: var(--ink-2); }

/* ---------------------------------------------------------------- 单子 */
.toolbar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  border-radius: 99px;
  border: 1px solid rgba(26, 34, 56, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink-2);
  font-size: 11.5px;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}
.chip span { font-size: 9.5px; color: var(--faint); }
.chip:hover { background: #fff; }
.chip.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip.is-on span { color: rgba(255, 255, 255, 0.65); }

.seg {
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(26, 34, 56, 0.06);
}
.seg button {
  border: 0; background: none;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 11.5px; color: var(--muted);
}
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: 0 6px 14px -12px rgba(22, 31, 58, 0.8); }

.orders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.order {
  display: flex; flex-direction: column; gap: 9px;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s, box-shadow 0.18s;
}
.order:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.order__top { display: flex; align-items: center; gap: 7px; }
.order__amount { margin-left: auto; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.order__title {
  font-size: 14px; font-weight: 650; line-height: 1.45;
  cursor: pointer;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.order__agent { display: flex; align-items: center; gap: 5px; font-size: 11.2px; color: var(--muted); }
.order__agent .icon { width: 13px; height: 13px; }
.order__dates {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--muted);
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(241, 244, 251, 0.8);
}
.order__dates strong { color: var(--ink-2); font-weight: 600; }
.order__dates i { font-style: normal; color: var(--faint); }
.order__dates em { margin-left: auto; font-style: normal; font-weight: 650; color: var(--indigo-deep); }
.order__dates em.is-late { color: var(--coral-deep); }
.order__pay { display: flex; gap: 8px; flex-wrap: wrap; font-size: 10.8px; }
.order__pay .is-paid { color: var(--mint-deep); }
.order__pay .is-wait { color: var(--coral-deep); }
.order__pay .is-muted { color: var(--muted); }
.order__foot { display: flex; align-items: center; gap: 7px; margin-top: auto; }
.order__paid { margin-right: auto; font-size: 10.5px; color: var(--faint); }

.bar {
  height: 5px;
  border-radius: 99px;
  background: rgba(26, 34, 56, 0.07);
  overflow: hidden;
}
.bar span {
  display: block; height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7a7bf0, #4fd1b0);
  transition: width 0.7s cubic-bezier(0.25, 0.9, 0.3, 1);
}
.bar--thin { height: 4px; }

/* 徽标与标签 */
.badge {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px;
  border-radius: 99px;
  font-size: 9.8px; font-weight: 650;
  white-space: nowrap;
}
.badge--indigo { color: #5153c9; background: rgba(122, 123, 240, 0.13); }
.badge--mint { color: #0e937a; background: rgba(79, 209, 176, 0.15); }
.badge--sand { color: #b6741c; background: rgba(245, 185, 107, 0.2); }
.badge--coral { color: #d45634; background: rgba(255, 150, 119, 0.18); }
.badge--slate { color: #5c6478; background: rgba(26, 34, 56, 0.07); }
.badge--violet { color: #7b52cf; background: rgba(177, 147, 242, 0.18); }

.tag {
  display: inline-flex; align-items: center;
  height: 20px; padding: 0 8px;
  border-radius: 7px;
  font-size: 9.8px; font-weight: 650;
  letter-spacing: 0.01em;
}
.tag--indigo { color: #5153c9; background: rgba(122, 123, 240, 0.12); }
.tag--mint { color: #0e937a; background: rgba(79, 209, 176, 0.14); }
.tag--sand { color: #b6741c; background: rgba(245, 185, 107, 0.18); }
.tag--violet { color: #7b52cf; background: rgba(177, 147, 242, 0.16); }
.tag--coral { color: #d45634; background: rgba(255, 150, 119, 0.16); }
.tag--slate { color: #5c6478; background: rgba(26, 34, 56, 0.06); }

/* ---------------------------------------------------------------- 中介 */
.agents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.agent {
  padding: 16px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}
.agent__head { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 38px; height: 38px; flex: none;
  border-radius: 13px;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 700;
  color: #4d53b8;
  background: linear-gradient(150deg, rgba(122, 123, 240, 0.16), rgba(79, 209, 176, 0.16));
}
.agent__id { min-width: 0; }
.agent__id h3 { font-size: 13.5px; font-weight: 650; }
.agent__id p { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent__stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 14px 0 12px;
  padding: 11px 10px;
  border-radius: 14px;
  background: rgba(241, 244, 251, 0.75);
}
.agent__stats div { display: flex; flex-direction: column; gap: 2px; }
.agent__stats span { font-size: 9.8px; color: var(--muted); }
.agent__stats strong { font-size: 12.5px; font-weight: 650; letter-spacing: -0.01em; }
.agent__stats .is-coral { color: var(--coral-deep); }
.agent__foot { display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; color: var(--faint); }

/* ---------------------------------------------------------------- 日历 */
.month-nav {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(26, 34, 56, 0.06);
}
.month-nav button {
  width: 28px; height: 28px;
  border: 0; border-radius: 8px;
  background: none;
  color: var(--muted);
  font-size: 15px;
}
.month-nav button:hover { background: #fff; color: var(--ink); }
.month-nav strong { font-size: 12.5px; padding: 0 8px; }

.cal { padding: 18px 20px; }
.cal__head {
  display: grid; grid-template-columns: repeat(7, 1fr);
  font-size: 10.5px; color: var(--faint);
  text-align: center;
  padding-bottom: 8px;
}
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__cell {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(241, 244, 251, 0.6);
  color: var(--ink-2);
  transition: background 0.16s, border-color 0.16s;
}
.cal__cell:hover { background: #fff; border-color: rgba(122, 123, 240, 0.25); }
.cal__cell.is-blank { background: none; }
.cal__cell.is-today { border-color: rgba(122, 123, 240, 0.45); background: #fff; }
.cal__cell.is-on { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(122, 123, 240, 0.12); background: #fff; }
.cal__num { font-size: 12.5px; font-weight: 600; }
.cal__dots { display: flex; gap: 3px; height: 5px; }
.dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }
.dot--mint { background: var(--mint-deep); }
.dot--indigo { background: var(--indigo); }
.cal__legend {
  display: flex; gap: 14px; justify-content: flex-end;
  margin-top: 10px;
  font-size: 10.5px; color: var(--muted);
}
.cal__legend span { display: inline-flex; align-items: center; gap: 5px; }
.day { margin-top: 16px; }

/* ---------------------------------------------------------------- 空态 */
.empty { padding: 26px 0; text-align: center; font-size: 12px; color: var(--muted); }
.empty-state {
  padding: 54px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  border: 1px dashed rgba(122, 123, 240, 0.3);
  text-align: center;
}
.empty-state .icon { width: 30px; height: 30px; color: var(--indigo); }
.empty-state h3 { margin: 10px 0 4px; font-size: 15px; }
.empty-state p { font-size: 12px; color: var(--muted); margin-bottom: 14px; }

/* ---------------------------------------------------------------- 弹窗 */
.modal {
  width: min(600px, calc(100vw - 32px));
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
.modal--sm { width: min(440px, calc(100vw - 32px)); }
.modal::backdrop {
  background: rgba(21, 27, 45, 0.42);
  backdrop-filter: blur(4px);
}
.modal__card {
  display: flex; flex-direction: column;
  max-height: 92vh;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 40px 90px -40px rgba(16, 22, 40, 0.6);
  overflow: hidden;
}
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 12px;
}
.modal__title { font-size: 19px; letter-spacing: -0.02em; margin-top: 4px; }
.modal__close {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 0; border-radius: 10px;
  background: rgba(26, 34, 56, 0.05);
  color: var(--muted);
}
.modal__close:hover { background: rgba(26, 34, 56, 0.09); color: var(--ink); }
.modal__close:focus { outline: none; }
.modal__close:focus-visible { outline: 2px solid rgba(122, 123, 240, 0.55); outline-offset: 2px; }
.modal__body { padding: 6px 22px 18px; overflow-y: auto; }
.modal__foot {
  display: flex; align-items: center; gap: 9px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--line);
  background: rgba(249, 250, 253, 0.7);
}
.modal__spacer { flex: 1; }

.field { margin-bottom: 14px; }
.field__label { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.field__hint { font-size: 10px; color: var(--faint); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(26, 34, 56, 0.1);
  border-radius: 11px;
  background: #fbfcfe;
  outline: none;
  font-size: 13px;
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
}
.input:focus {
  border-color: rgba(122, 123, 240, 0.5);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(122, 123, 240, 0.1);
}
.input--area { height: auto; padding: 10px 12px; resize: vertical; min-height: 76px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #8b93a8 50%), linear-gradient(135deg, #8b93a8 50%, transparent 50%); background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.money { position: relative; }
.money span {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  font-size: 12px; color: var(--faint);
}
.money .input { padding-left: 27px; }

.chips .chip { height: 32px; }

/* 详情 */
.detail__hero {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(122, 123, 240, 0.09), rgba(79, 209, 176, 0.09));
  margin: 6px 0 14px;
}
.detail__hero div { display: flex; flex-direction: column; gap: 2px; }
.detail__hero span { font-size: 10px; color: var(--muted); }
.detail__hero strong { font-size: 18px; letter-spacing: -0.02em; }
.detail__hero .is-mint { color: var(--mint-deep); }
.detail__hero .is-coral { color: var(--coral-deep); }
.detail__rows { display: flex; flex-direction: column; }
.detail__rows > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 9px 2px;
  border-top: 1px solid var(--line);
  font-size: 12.2px;
}
.detail__rows > div:first-child { border-top: 0; }
.detail__rows span { color: var(--muted); flex: none; }
.detail__rows strong { font-weight: 600; text-align: right; }
.detail__rows strong em { font-style: normal; color: var(--indigo-deep); font-size: 11px; margin-left: 4px; }
.detail__note strong { max-width: 70%; line-height: 1.55; }
.detail__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 16px; }
.toggle {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 11px 12px;
  border: 1px solid rgba(26, 34, 56, 0.08);
  border-radius: 13px;
  background: #fbfcfe;
  text-align: left;
  transition: background 0.16s, border-color 0.16s;
}
.toggle .icon { width: 15px; height: 15px; color: var(--faint); margin-bottom: 3px; }
.toggle span { font-size: 11px; color: var(--muted); }
.toggle em { font-style: normal; font-size: 11.5px; font-weight: 650; }
.toggle.is-on { background: rgba(79, 209, 176, 0.12); border-color: rgba(79, 209, 176, 0.4); }
.toggle.is-on .icon { color: var(--mint-deep); }
.toggle.is-on em { color: var(--mint-deep); }

/* ---------------------------------------------------------------- 提示 */
.toasts {
  position: fixed; right: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 80;
}
.toast {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(24, 31, 51, 0.94);
  color: #fff;
  font-size: 12px;
  box-shadow: 0 18px 40px -20px rgba(12, 18, 34, 0.8);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.24s, transform 0.24s;
}
.toast.is-in { opacity: 1; transform: translateY(0); }
.toast .icon { width: 15px; height: 15px; color: #6fe3c6; }

.scrim {
  position: fixed; inset: 0;
  background: rgba(21, 27, 45, 0.35);
  backdrop-filter: blur(2px);
  z-index: 25;
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0;
    transform: translateX(-102%);
    transition: transform 0.28s cubic-bezier(0.3, 0.8, 0.25, 1);
    box-shadow: 0 40px 70px -40px rgba(16, 22, 40, 0.5);
  }
  .sidebar.is-open { transform: translateX(0); }
  .menu-btn { display: grid; }
  .view { padding: 22px 22px 48px; }
  .topbar { padding: 0 22px; }
  .grid--main { grid-template-columns: minmax(0, 1fr); }
  .rail { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .topbar { height: auto; flex-wrap: wrap; padding: 12px 18px; gap: 10px; }
  .crumb { display: none; }
  .search { order: 3; width: 100%; margin-left: 0; }
  .top-actions { margin-left: auto; }
  .view { padding: 18px 18px 44px; }
  .page-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-head__side { width: 100%; justify-content: space-between; }
  .orders { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-template-columns: minmax(0, 1fr); }
  .agents { grid-template-columns: minmax(0, 1fr); }
  .page-head h1 { font-size: 26px; }
}

@media (max-width: 620px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .detail__hero { grid-template-columns: 1fr 1fr; }
  .detail__actions { grid-template-columns: minmax(0, 1fr); }
  .modal {
    width: 100vw; max-width: 100vw; max-height: 100vh;
    margin: 0;
  }
  .modal[open] { display: flex; align-items: flex-end; height: 100vh; }
  .modal__card { max-height: 94vh; border-radius: 22px 22px 0 0; }
  .cal { padding: 14px 12px; }
  .cal__cell { min-height: 48px; }
  .toasts { left: 14px; right: 14px; bottom: 14px; }
}


/* ==========================================================================
   清爽化调整 + 本月统计 + 登录
   ========================================================================== */

/* 更轻的层次 */
.panel {
  background: #fff;
  border: 1px solid rgba(26, 34, 56, 0.06);
  box-shadow: 0 1px 2px rgba(23, 32, 58, 0.03);
}
.order {
  box-shadow: none;
  border: 1px solid rgba(26, 34, 56, 0.07);
}
.order:hover {
  box-shadow: 0 18px 36px -30px rgba(23, 32, 58, 0.4);
  border-color: rgba(122, 123, 240, 0.22);
}
.agent { box-shadow: none; border: 1px solid rgba(26, 34, 56, 0.07); }
.nav-item.is-active { box-shadow: 0 1px 2px rgba(23, 32, 58, 0.04); }
.aurora__b { opacity: 0.45; }
.sidebar { background: rgba(255, 255, 255, 0.82); }

/* 本月统计 */
.hero { padding: 20px 22px 18px; }
.hero__tag {
  font-size: 11px;
  color: var(--muted);
  background: rgba(241, 244, 251, 0.9);
  border-radius: 99px;
  padding: 3px 10px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.metric {
  padding: 14px 16px 12px;
  border-radius: 16px;
  background: rgba(241, 244, 251, 0.72);
  border: 1px solid transparent;
}
.metric span { display: block; font-size: 11.5px; color: var(--muted); }
.metric strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.metric strong em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.metric small { font-size: 10.5px; color: var(--faint); }
.metric--mint { background: rgba(79, 209, 176, 0.1); border-color: rgba(79, 209, 176, 0.18); }
.metric--mint strong { color: var(--mint-deep); }
.metric--coral { background: rgba(255, 150, 119, 0.1); border-color: rgba(255, 150, 119, 0.18); }
.metric--coral strong { color: var(--coral-deep); }

.split { margin-top: 14px; }
.split__bar {
  display: flex;
  gap: 2px;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(26, 34, 56, 0.06);
}
.split__seg { display: block; height: 100%; }
.split__seg--deposit { background: linear-gradient(90deg, #5fd8bd, #35c5a5); }
.split__seg--balance { background: linear-gradient(90deg, #9a9bf6, #7a7bf0); }
.split__seg--rest { background: rgba(255, 150, 119, 0.35); }
.split__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}
.split__legend span { display: inline-flex; align-items: center; gap: 5px; }
.split__legend b { color: var(--ink-2); font-weight: 650; margin-left: 2px; }
.dot--coral { background: var(--coral); }

/* 筛选工具栏 */
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(26, 34, 56, 0.06);
  margin-bottom: 14px;
}
.tsearch {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  background: rgba(241, 244, 251, 0.8);
  border: 1px solid transparent;
  color: var(--faint);
  width: 220px;
}
.tsearch:focus-within { background: #fff; border-color: rgba(122, 123, 240, 0.35); box-shadow: 0 0 0 3px rgba(122, 123, 240, 0.08); }
.tsearch .icon { width: 15px; height: 15px; }
.tsearch input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 12px; color: var(--ink); }
.select-inline {
  width: auto;
  min-width: 148px;
  height: 34px;
  font-size: 12px;
  background-color: rgba(241, 244, 251, 0.8);
  border-color: transparent;
}
.select-inline:focus { background-color: #fff; }
.toolbar .chips { margin-left: auto; }

/* 空状态 */
.blank {
  padding: 22px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 11.5px;
}
.blank strong { display: block; color: var(--ink-2); font-size: 12.8px; font-weight: 600; margin-bottom: 3px; }
.blank p { margin-bottom: 10px; }
.blank .btn { margin: 0 auto; }
.blank--lg {
  padding: 56px 20px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px dashed rgba(122, 123, 240, 0.28);
}
.blank--lg strong { font-size: 15px; }
.blank--lg p { font-size: 12px; margin: 4px auto 16px; max-width: 380px; }
.blank__actions { display: flex; gap: 9px; justify-content: center; }

/* 退出登录 */
.who { position: relative; }
.who__out {
  margin-left: auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 0; border-radius: 8px;
  background: none;
  color: var(--faint);
}
.who__out .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.who__out:hover { background: rgba(26, 34, 56, 0.06); color: var(--ink-2); }

/* 登录 */
.login {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: linear-gradient(160deg, #f7f9fe 0%, #eef3fb 55%, #eaf6f2 100%);
}
.login.is-hidden { display: none; }
.login::before,
.login::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}
.login::before {
  width: 560px; height: 560px;
  left: 12%; top: -220px;
  background: radial-gradient(circle, rgba(122, 123, 240, 0.2), transparent 68%);
}
.login::after {
  width: 460px; height: 460px;
  left: 4%; bottom: -220px;
  background: radial-gradient(circle, rgba(79, 209, 176, 0.22), transparent 68%);
}
.login__art {
  position: relative;
  padding: 64px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.login__art::before,
.login__art::after { content: none; }
.login__brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.login__brand .brand__mark { width: 32px; height: 32px; border-radius: 11px; font-size: 15px; }
.login h1 {
  position: relative;
  margin: 26px 0 14px;
  font-size: 42px;
  line-height: 1.28;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.login__lead { position: relative; font-size: 13.5px; color: var(--muted); max-width: 380px; }
.login__points { position: relative; list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.login__points li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-2); }
.login__points li span {
  width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(135deg, #7a7bf0, #4fd1b0);
}

.login__panel {
  display: grid;
  place-items: center;
  padding: 30px;
}
.login__form {
  width: min(400px, 100%);
  padding: 30px 28px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(26, 34, 56, 0.05);
  box-shadow: 0 30px 70px -50px rgba(22, 31, 58, 0.55);
}
.login__form h2 { font-size: 21px; letter-spacing: -0.02em; }
.login__sub { margin: 6px 0 20px; font-size: 11.8px; color: var(--muted); line-height: 1.6; }
.login__form .field { display: block; margin-bottom: 0; }
.login__form .field + .field { margin-top: 14px; }
.phone, .code {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: #fbfcfe;
  border: 1px solid rgba(26, 34, 56, 0.1);
}
.phone:focus-within, .code:focus-within {
  background: #fff;
  border-color: rgba(122, 123, 240, 0.5);
  box-shadow: 0 0 0 4px rgba(122, 123, 240, 0.1);
}
.phone i { font-style: normal; font-size: 12px; color: var(--muted); padding-right: 8px; border-right: 1px solid var(--line); }
.phone input, .code input {
  flex: 1; min-width: 0;
  border: 0; outline: none; background: none;
  font-size: 14px; letter-spacing: 0.02em;
}
.code input { letter-spacing: 0.18em; font-weight: 600; }
.code .btn { flex: none; height: 30px; padding: 0 10px; font-size: 11.5px; }
.code .btn:disabled { opacity: 0.55; cursor: default; }
.login__hint { min-height: 16px; margin: 2px 0 12px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.login__hint.is-error { color: var(--coral-deep); }
.login__hint.is-ok { color: var(--mint-deep); }
.login__hint b { font-weight: 700; letter-spacing: 0.08em; }
.btn--block { width: 100%; height: 44px; border-radius: 12px; }
.login__note { margin-top: 14px; font-size: 10.5px; color: var(--faint); line-height: 1.6; }

.toast--warn { background: rgba(58, 45, 30, 0.95); }
.toast--warn .icon { color: #f7c07a; }

@media (max-width: 1024px) {
  .login { grid-template-columns: 1fr; }
  .login__art { display: none; }
  .login__panel { padding: 20px; }
}
@media (max-width: 620px) {
  .login__form { padding: 24px 20px 20px; border-radius: 20px; }
  .metrics { grid-template-columns: 1fr; }
  .toolbar { padding: 10px; }
  .tsearch { width: 100%; }
  .select-inline { flex: 1; }
  .toolbar .chips { margin-left: 0; }
  .split__legend { gap: 10px; }
}

@media (max-width: 820px) {
  .page-head__side [data-action="new-order"] { display: none; }
}
@media (max-width: 620px) {
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .metric { padding: 10px 10px 9px; border-radius: 12px; }
  .metric span { font-size: 10px; }
  .metric strong { font-size: 17px; margin: 3px 0 0; }
  .metric strong em { font-size: 10px; }
  .metric small { display: none; }
  .split__legend { font-size: 10px; gap: 8px; }
}


/* ---------------------------------------------------------- 中介输入建议 */
.combo { position: relative; }
.combo__list {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(38, 42, 74, .35), 0 0 0 1px rgba(38, 42, 74, .06);
  padding: 6px;
  max-height: 240px;
  overflow: auto;
}
.combo__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.combo__item:hover { background: rgba(99, 91, 255, .09); }
.combo__item span { color: #8b8fa3; font-size: 12px; }

/* ---------------------------------------------------------- 移动端悬浮记单 */
.fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #6a5cf5, #8f7bff);
  color: #fff;
  font: inherit;
  font-weight: 600;
  box-shadow: 0 16px 30px -12px rgba(90, 76, 240, .65);
}
.fab .icon { width: 18px; height: 18px; }
@media (max-width: 820px) {
  .fab { display: inline-flex; }
  .page { padding-bottom: 96px; }
}


/* ---------------------------------------------------------- 卡片收款标签 */
.pay-chip {
  border: 0;
  font: inherit;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pay-chip:active { transform: scale(.97); }
.pay-chip.is-wait { background: rgba(255, 138, 92, .14); color: #b5542b; }
.pay-chip.is-paid { background: rgba(45, 190, 145, .16); color: #16805e; }
.agent__ops { display: flex; align-items: center; gap: 12px; }
.link--muted { color: #9a9db0; }
.link--muted:hover { color: #6a5cf5; }

@media (max-width: 820px) {
  .toast { bottom: 92px; }
}

.chip--sm { padding: 6px 12px; font-size: 12px; }
.quick-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* ---------------------------------------------------------- 表单折叠区 */
.more { margin-top: 6px; border-top: 1px dashed rgba(38, 42, 74, .12); padding-top: 12px; }
.more > summary {
  cursor: pointer;
  font-size: 13px;
  color: #6a6f88;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0 8px;
}
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before { content: '＋'; font-weight: 600; color: #6a5cf5; }
.more[open] > summary::before { content: '－'; }
.quick-row { align-items: center; }
.quick-row__hint { font-size: 12px; color: #8b8fa3; margin-left: auto; }
.quick-row--dates { margin-bottom: 8px; }

/* ---------------------------------------------------------- 一句话记单 */
.quickbar {
  display: flex;
  gap: 10px;
  margin: 0 0 8px;
  padding: 8px;
  background: rgba(255, 255, 255, .72);
  border-radius: 18px;
  box-shadow: 0 10px 30px -22px rgba(38, 42, 74, .5);
  backdrop-filter: blur(10px);
}
.quickbar__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  padding: 10px 12px;
  color: inherit;
}
.quickbar__input:focus { outline: none; }
.quickbar__input::placeholder { color: #a3a7bb; }
.quickbar__hint {
  margin: 0 0 18px;
  font-size: 12px;
  color: #8b8fa3;
  padding-left: 6px;
}
@media (max-width: 820px) {
  .quickbar { border-radius: 16px; }
  .quickbar__input { font-size: 14px; }
}
