:root {
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "SimSun", Georgia, serif;
  --font-mono: "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --bg: #f4f1ea;
  --surface: #fffdf8;
  --surface-soft: #fbf8f1;
  --ink: #2b2721;
  --ink-2: #574f44;
  --muted: #8f8473;
  --muted-2: #a89b88;
  --line: #e7ded0;
  --line-soft: #efe8dc;
  --green-900: #1f3d33;
  --green-800: #295144;
  --green-700: #2f6b57;
  --green-soft: #e9f1ec;
  --rust: #b8503a;
  --rust-soft: #f9ebe5;

  --qq: #3a8fd8;
  --qq-soft: #e9f2fa;
  --wx: #2e9e6b;
  --wx-soft: #e7f3ec;
  --xy: #c2911b;
  --xy-soft: #fbf1da;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --shadow-card: 0 4px 14px -12px rgba(60, 50, 35, .35);
  --shadow-lift: 0 16px 34px -26px rgba(60, 50, 35, .6);
  --shadow-sheet: 0 40px 90px -30px rgba(30, 25, 18, .55);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  background:
    radial-gradient(900px 520px at 6% -8%, #e9f0e8 0%, rgba(233, 240, 232, 0) 62%),
    radial-gradient(820px 520px at 98% 0%, #f7e9dc 0%, rgba(247, 233, 220, 0) 58%),
    linear-gradient(180deg, #f7f4ed 0%, #f3efe6 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
svg { display: block; }
::selection { background: #d9e6dc; color: var(--green-900); }

* { scrollbar-width: thin; scrollbar-color: #d8cdbb transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #dcd1c0; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

.page {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- topbar ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.brand-seal {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 700;
  color: #fbf4e6;
  background: linear-gradient(155deg, #cb6743 0%, #b34f2f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 8px 18px -10px rgba(160, 70, 45, .65);
  position: relative;
}
.brand-seal::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(251, 244, 230, .28);
  border-radius: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .08em;
}
.brand-text small {
  margin-top: 2px;
  font-size: 8px;
  letter-spacing: .22em;
  color: var(--muted-2);
  font-weight: 600;
}
.topbar-right { display: flex; align-items: center; gap: 9px; }

.cloud-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border: 1px solid #dfe6dd;
  border-radius: 999px;
  background: #f2f7f3;
  color: #4f715d;
  font-size: 9.5px;
  white-space: nowrap;
}
.cloud-chip[hidden] { display: none; }
.cloud-dot { width: 5px; height: 5px; border-radius: 50%; background: #5b9a72; flex: none; }
.cloud-chip.is-saving .cloud-dot { background: #c28a1c; }
.cloud-chip.is-offline .cloud-dot,
.cloud-chip.is-auth .cloud-dot { background: #b8503a; }
.cloud-menu-group[hidden] { display: none; }

.today-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(211, 201, 184, .75);
  background: rgba(255, 253, 247, .6);
  color: #7d7264;
  font-size: 11.5px;
  letter-spacing: .02em;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 37px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--green-900);
  border-color: var(--green-900);
  color: #f8f4ea;
  box-shadow: 0 8px 18px -12px rgba(31, 61, 51, .75);
}
.btn.primary:hover { background: #274c3f; border-color: #274c3f; box-shadow: 0 10px 22px -12px rgba(31, 61, 51, .85); }
.btn.ghost {
  background: rgba(255, 253, 247, .64);
  border-color: #ded5c6;
  color: var(--ink-2);
}
.btn.ghost:hover { background: #fffdf8; border-color: #cbbda8; }
.btn.danger { background: var(--rust); border-color: var(--rust); color: #fff; box-shadow: 0 8px 18px -12px rgba(176, 67, 47, .7); }
.btn.sm { height: 31px; padding: 0 11px; font-size: 12px; border-radius: 8px; }
.btn:focus-visible, .icon-btn:focus-visible, .tab:focus-visible,
.segmented button:focus-visible, .filter-chips button:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 2px;
}

.icon-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  flex: none;
}
.icon-btn:hover { background: #f1ece3; color: var(--ink); }
.icon-btn.on-dark { color: #f1ebdf; background: rgba(255, 255, 255, .1); }
.icon-btn.on-dark:hover { background: rgba(255, 255, 255, .18); }

/* ---------- data menu ---------- */
.menu-wrap { position: relative; }
.menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 60;
  width: 212px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid #e5dccd;
  background: #fffdf9;
  box-shadow: 0 24px 50px -24px rgba(50, 42, 30, .45);
  animation: popIn .16s ease both;
}
.menu[hidden] { display: none; }
.menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #4c4438;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
}
.menu button:hover { background: #f5f0e7; }
.menu button.is-danger { color: var(--rust); }
.menu button.is-danger:hover { background: #fbeee9; }
.menu-sep { height: 1px; margin: 5px 6px; background: #eee6d9; }

/* ---------- overview ---------- */
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 4px;
}
.pulse-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 23px 28px 21px;
  min-height: 226px;
  display: flex;
  flex-direction: column;
  color: #f5efe2;
  background:
    radial-gradient(420px 260px at 88% 12%, rgba(122, 170, 145, .18) 0%, rgba(122, 170, 145, 0) 70%),
    linear-gradient(135deg, #254c3f 0%, #1e3d33 52%, #183128 100%);
  box-shadow: 0 24px 50px -30px rgba(24, 49, 40, .7);
}
.pulse-card::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -108px;
  top: -158px;
  border: 1px solid rgba(245, 239, 226, .10);
  border-radius: 50%;
  pointer-events: none;
}
.pulse-card::after {
  content: "";
  position: absolute;
  width: 470px;
  height: 470px;
  right: -180px;
  top: -228px;
  border: 1px solid rgba(245, 239, 226, .055);
  border-radius: 50%;
  pointer-events: none;
}
.pulse-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; z-index: 1; }
.eyebrow {
  margin: 0;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #a1937f;
}
.eyebrow.light { color: rgba(245, 239, 226, .56); }
.pulse-today {
  font-size: 10.5px;
  color: rgba(245, 239, 226, .7);
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}
.pulse-number {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.03em;
}
.pulse-number span { font-variant-numeric: tabular-nums; }
.pulse-number small { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: rgba(245, 239, 226, .5); letter-spacing: 0; }
.pulse-meta { margin: 9px 0 0; font-size: 11.5px; color: rgba(245, 239, 226, .55); position: relative; z-index: 1; }

.dist { margin-top: auto; padding-top: 20px; position: relative; z-index: 1; }
.dist-bar { display: flex; gap: 3px; height: 7px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, .075); }
.dist-seg { height: 100%; transition: width .35s ease; }
.dist-seg.qq { background: #63a9e4; }
.dist-seg.wx { background: #63c190; }
.dist-seg.xy { background: #e2b552; }
.dist-empty { height: 100%; width: 100%; background: rgba(255, 255, 255, .09); }
.dist-legend { display: flex; flex-wrap: wrap; gap: 4px 15px; margin-top: 10px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: rgba(245, 239, 226, .6); }
.legend i { width: 5px; height: 5px; border-radius: 50%; flex: none; }
.legend i.qq { background: #63a9e4; }
.legend i.wx { background: #63c190; }
.legend i.xy { background: #e2b552; }
.legend b { color: rgba(245, 239, 226, .92); font-weight: 600; font-variant-numeric: tabular-nums; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 15px 17px 12px;
  border: 1px solid rgba(221, 211, 195, .82);
  border-radius: 18px;
  background: rgba(255, 253, 247, .8);
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stat-button { cursor: pointer; font-family: inherit; }
.stat-button:hover { transform: translateY(-2px); border-color: #cdbda5; box-shadow: var(--shadow-lift); }
.stat-head { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #7d7261; font-weight: 500; }
.stat-icon {
  width: 21px;
  height: 21px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  flex: none;
}
.stat-icon.reship { background: #f8edd8; color: #956511; }
.stat-icon.forward { background: #e8f1f4; color: #2d6478; }
.stat-icon.link { background: #eae6f4; color: #60528c; }
.stat-icon.done { background: #e7f0e9; color: #356b4f; }
.stat-card strong {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #2f2a23;
  font-variant-numeric: tabular-nums;
}
.stat-card p { margin: 2px 0 0; font-size: 10.5px; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- DDL alert ---------- */
.due-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid #ecd1bd;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdf5ed 0%, #fbece2 100%);
  color: #8a4b32;
  box-shadow: 0 10px 24px -22px rgba(140, 60, 35, .5);
}
.due-alert[hidden] { display: none; }
.due-alert-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  background: #f6dfd2;
  color: #a84b2f;
}
.due-alert-text { flex: 1; margin: 0; font-size: 12px; line-height: 1.55; }
.due-alert-text strong { color: #a33f26; font-weight: 600; }
.due-sep { margin: 0 6px; color: #c8a48f; }
.due-alert-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #e1bda8;
  border-radius: 8px;
  background: #fffaf5;
  color: #8d452e;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
}
.due-alert-btn:hover { background: #fff; border-color: #c98f75; }
.due-alert:not([hidden]) + .board { margin-top: 16px; }

/* ---------- board ---------- */
.board {
  margin-top: 26px;
  padding: 17px 22px 22px;
  border: 1px solid rgba(222, 212, 195, .85);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, .9);
  box-shadow: 0 24px 60px -55px rgba(50, 42, 30, .5);
  backdrop-filter: blur(4px);
}
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tabs { display: flex; gap: 24px; }
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0 10px;
  border: 0;
  background: transparent;
  color: #9a8f7f;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: color .15s ease;
}
.tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.tab:hover { color: #5c5346; }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { transform: scaleX(1); }
.tab-count {
  min-width: 19px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eee8dc;
  color: #817564;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.tab.is-active .tab-count { background: #e3ede7; color: #2f6b57; }

.board-tools { display: flex; align-items: center; gap: 8px; }
.search {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 252px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e7dfd1;
  border-radius: 10px;
  background: #f7f3eb;
  color: #9b9081;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.search:focus-within { background: #fffdf9; border-color: #9db6a9; box-shadow: 0 0 0 3px rgba(47, 107, 87, .08); }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 12.5px;
  color: var(--ink);
}
.search input::placeholder { color: #a89d8d; }
.search kbd {
  font-family: var(--font-sans);
  font-size: 9.5px;
  color: #a09585;
  background: #fffdf8;
  border: 1px solid #e0d7c7;
  border-radius: 4px;
  padding: 0 4px;
  line-height: 15px;
}
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none;
  height: 36px;
  padding: 0 29px 0 12px;
  border: 1px solid #e7dfd1;
  border-radius: 10px;
  background: #f7f3eb;
  color: #5e5548;
  font-size: 12px;
  cursor: pointer;
}
.select-wrap svg { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #8d8170; }

.filter-row {
  display: flex;
  align-items: center;
  gap: 10px 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #ebe3d7;
}
.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid #eae2d5;
  border-radius: 999px;
  background: #f5f1e9;
}
.segmented button {
  height: 27px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a7f70;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.segmented button:hover { color: #4f473b; }
.segmented button.is-active {
  background: #fffdf9;
  color: #2b2721;
  box-shadow: 0 1px 3px rgba(50, 42, 30, .1), 0 0 0 1px rgba(217, 206, 188, .55);
}
.dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; flex: none; }
.dot.qq { background: var(--qq); }
.dot.wx { background: var(--wx); }
.dot.xy { background: var(--xy); }

.filter-chips { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.filter-chips button {
  height: 29px;
  padding: 0 10px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #8a7f70;
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.filter-chips button:hover { background: #f5f0e7; color: #4f473b; }
.filter-chips button.is-active { background: #2b2721; color: #f8f4ea; }
.filter-chips button span {
  font-size: 9.5px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 999px;
  background: rgba(43, 39, 33, .07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}
.filter-chips button.is-active span { background: rgba(255, 255, 255, .16); color: #f8f4ea; }
.result-count { margin-left: auto; font-size: 10.5px; color: #9c9182; white-space: nowrap; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  align-items: start;
  gap: 12px;
  margin-top: 16px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 15px 16px 12px;
  border: 1px solid #ece3d4;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  animation: cardIn .28s ease both;
}
.card:hover { transform: translateY(-2px); border-color: #ddcfba; box-shadow: var(--shadow-lift); }
.card.is-done { background: #fcfbf7; border-color: #ebe6db; }
.card.has-due { border-color: #e7d2b8; }
.card.has-due::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #c9a45a;
  pointer-events: none;
}
.card.due-overdue { background: #fdf7f3; border-color: #e7c3b5; }
.card.due-overdue::before { background: #b8503a; }
.card.due-today { background: #fdfaf1; border-color: #e7d2a7; }
.card.due-today::before { background: #c28a1c; }
.card.due-soon { background: #fdfaf3; border-color: #e8d8bd; }
.card.due-soon::before { background: #c9a45a; }
.card.due-future::before { background: #aebfa9; }
.card.has-due:hover { border-color: #dbc3a4; }
.card.due-overdue:hover { border-color: #d8a897; }

.task-card { background: #fdf8ef; border-color: #ecd9bf; }
.task-card.task-forward { background: #f6fafb; border-color: #d5e4e9; }
.task-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #d2a25a;
  pointer-events: none;
}
.task-card.task-forward::before { background: #5b93a5; }
.task-card:hover { border-color: #dfc6a4; }
.task-card.task-forward:hover { border-color: #c3d9e0; }
.task-badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.task-badge.reship { background: #f7e7c8; color: #8f5f0e; }
.task-badge.forward { background: #deedf2; color: #2d6679; }
.task-from { margin-left: 2px; color: #a08f78; font-size: 9px; white-space: nowrap; }
.task-note {
  padding: 8px 9px;
  border: 1px solid #eddfca;
  border-radius: 9px;
  background: rgba(255, 255, 255, .62);
}
.task-card.task-forward .task-note { border-color: #dce8ec; }
.task-note-label { display: block; margin-bottom: 2px; color: #a08b6d; font-size: 9px; letter-spacing: .03em; }
.task-note p { margin: 0; color: #5e5445; font-size: 11.5px; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.task-target { display: inline-flex; margin-top: 5px; padding: 2px 7px; border-radius: 5px; background: #e8f1f4; color: #2d6478; font-size: 9.5px; }
.task-card .card-foot { flex-wrap: wrap; border-top-color: #ecdfcd; }
.task-card.task-forward .card-foot { border-top-color: #dbe7eb; }
.task-card .card-foot .meta { max-width: 52%; }
.task-card .actions { flex-wrap: wrap; }
.task-card .img-label { background: #f1e5d2; }
.task-card.task-forward .img-label { background: #e3eff2; color: #4a7788; }

.task-progress { display: flex; flex-wrap: wrap; gap: 4px; }
.task-require {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f8eee0;
  color: #986634;
  font-size: 9.5px;
}
.task-require::before { content: ""; width: 4px; height: 4px; margin-right: 4px; border-radius: 50%; background: currentColor; opacity: .7; }
.task-require.is-ok { background: #e9f2ea; color: #4d7359; }
.task-tracking-line,
.task-history-line {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #dbe7dd;
  border-radius: 8px;
  background: #edf3ee;
}
.task-tracking-line span,
.task-history-line span {
  flex: none;
  padding: 0 4px;
  border: 1px solid #dbe7dd;
  border-radius: 4px;
  background: #fffdf8;
  color: #6b7c6d;
  font-size: 9px;
}
.task-tracking-line b,
.task-history-line b {
  flex: 1;
  min-width: 0;
  color: #31543f;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.task-tracking-line .copy-btn,
.task-history-line .copy-btn { position: static; width: 20px; height: 20px; flex: none; opacity: .65; }

.task-history-time {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #e7e0d3;
  border-radius: 8px;
  background: #fbf8f1;
}
.task-history-time span { flex: none; color: #8c7e6a; font-size: 9px; }
.task-history-time b { color: #5b5144; font-size: 10.5px; font-weight: 600; }

.task-detail {
  margin-top: 2px;
  padding-top: 9px;
  border-top: 1px dashed #e7d6bd;
}
.task-detail-head { display: flex; flex-direction: column; gap: 1px; margin-bottom: 6px; }
.task-detail-head span { color: #8a5f2e; font-size: 10.5px; font-weight: 600; }
.task-detail-head small { color: #a69176; font-size: 9.5px; }
.task-flat-uploader { border-color: #dcc7a4; background: #fbf5e9; }
.task-field-label { display: block; margin-top: 4px; color: #8a7a64; font-size: 10px; }
.task-tracking-input {
  width: 100%;
  height: 34px;
  margin-top: 6px;
  padding: 0 10px;
  border: 1px solid #e1d6c5;
  border-radius: 9px;
  background: #fffdf8;
  font-family: inherit;
  font-size: 12px;
  outline: none;
}
.task-tracking-input:focus { border-color: #8cae9e; box-shadow: 0 0 0 3px rgba(47, 107, 87, .08); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.chips { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; min-width: 0; }
.ch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 19px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.ch i { width: 4px; height: 4px; border-radius: 50%; }
.ch.qq { background: var(--qq-soft); color: #2b74ad; }
.ch.qq i { background: var(--qq); }
.ch.wx { background: var(--wx-soft); color: #2b7d55; }
.ch.wx i { background: var(--wx); }
.ch.xy { background: var(--xy-soft); color: #956d17; }
.ch.xy i { background: var(--xy); }
.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 19px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid #d5e2d4;
  background: #eef4ed;
  color: #55705d;
  font-size: 9.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: help;
  font-family: inherit;
}
.badge-link[data-act] { cursor: pointer; }
.badge-link[data-act]:hover { background: #e5efe4; border-color: #b9cdb8; }
.card-menu { display: flex; gap: 1px; opacity: 0; transform: translateX(3px); transition: opacity .15s ease, transform .15s ease; }
.card:hover .card-menu, .card:focus-within .card-menu { opacity: 1; transform: none; }
.card-menu .icon-btn { width: 26px; height: 26px; border-radius: 7px; }

.due-line {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #f2ece1;
  color: #7e6c50;
  font-size: 10.5px;
  line-height: 1.4;
}
.due-line svg { width: 12px; height: 12px; flex: none; opacity: .85; }
.due-line b { font-weight: 600; }
.due-line em { margin-left: 5px; font-style: normal; font-weight: 600; }
.due-line.due-overdue { background: #f9e7e1; color: #a5432d; }
.due-line.due-today { background: #fbefd2; color: #92600f; }
.due-line.due-soon { background: #f8f0df; color: #8a6727; }
.due-line.due-future { background: #eef2ec; color: #64765f; }

.card-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cn-line { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; min-width: 0; }
.cn {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.done-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e3efe6;
  color: #2f6b57;
  display: grid;
  place-items: center;
  flex: none;
}
.done-check svg { width: 9px; height: 9px; }
.tag-btn {
  height: 19px;
  padding: 0 7px;
  border: 1px solid #e6dccb;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  color: #8a7d6a;
  font-size: 9.5px;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.tag-btn:hover { border-color: #c8b79d; color: #5f5445; background: #fff; }

.address {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 9px;
  border: 1px solid #efe8db;
  border-radius: 9px;
  background: rgba(255, 255, 255, .5);
}
.address > svg { color: #a89b87; margin-top: 2px; flex: none; }
.address p {
  margin: 0;
  padding-right: 17px;
  color: #6a6154;
  font-size: 11.5px;
  line-height: 1.55;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.copy-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #a89b87;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: .55;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.copy-btn:hover { background: #f1ece3; color: #5f5445; opacity: 1; }

.items {
  margin: 0;
  color: #6f6557;
  font-size: 11.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.items-label {
  display: inline-block;
  margin-right: 4px;
  padding: 0 4px;
  border-radius: 3px;
  background: #f0eade;
  color: #8f826e;
  font-size: 9px;
  vertical-align: 1px;
}
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.flat-warning {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px dashed #d8b18b;
  border-radius: 6px;
  background: #fcf2e7;
  color: #9a5f2c;
  font-family: inherit;
  font-size: 10px;
  cursor: pointer;
}
.flat-warning:hover { border-color: #c19164; background: #fbe9d8; }

.intl-box {
  padding: 7px 9px;
  border: 1px solid #e6ddce;
  border-radius: 9px;
  background: #f8f5ed;
}
.intl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.intl-head > span { color: #8f816d; font-size: 9.5px; letter-spacing: .02em; }
.intl-head em { margin-left: 4px; color: #a89b88; font-style: normal; font-size: 9px; }
.intl-head strong { color: #2f5b45; font-family: var(--font-serif); font-size: 16px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.intl-row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; color: #827560; font-size: 9.5px; }
.intl-name { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.intl-calc { flex: none; color: #a19482; font-size: 9px; }
.intl-row b { flex: none; color: #4f473a; font-weight: 600; font-variant-numeric: tabular-nums; }
.intl-more { margin-top: 3px; color: #a19482; font-size: 9px; }
.badges:empty { display: none; }
.special-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: transform .14s ease, filter .14s ease;
}
.special-pill:hover { transform: translateY(-1px); filter: brightness(.985); }
.special-pill::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .7; }
.special-pill.reship { background: #fbf0d9; border-color: #efdcb6; color: #946410; }
.special-pill.forward { background: #eaf2f5; border-color: #d3e4ea; color: #2f687c; }
.special-pill.is-done { background: #edf2eb; border-color: #dce7d8; color: #6b7b66; text-decoration: none; }
.special-pill.is-done::after { content: " ✓"; font-size: 9px; opacity: .8; }

.img-group { display: flex; align-items: center; gap: 6px; min-width: 0; }
.img-group-flat .thumb { width: 52px; height: 52px; }
.img-label { font-size: 9px; color: #9a8d7a; background: #f1ebe0; border-radius: 4px; padding: 1px 5px; white-space: nowrap; flex: none; }
.thumbs { display: flex; gap: 5px; flex-wrap: wrap; min-width: 0; }
.thumb {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e6dccb;
  border-radius: 7px;
  overflow: hidden;
  background: #f2ece1;
  cursor: zoom-in;
  flex: none;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease; }
.thumb:hover img { transform: scale(1.06); }
.thumb-more {
  width: 44px;
  height: 44px;
  border: 1px dashed #d8cbb7;
  border-radius: 7px;
  background: #f8f3ea;
  color: #8e806c;
  font-size: 10.5px;
  display: grid;
  place-items: center;
  flex: none;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px dashed #e9e0d2;
  min-height: 41px;
}
.meta { font-size: 9.5px; color: #9d9282; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.link-undo {
  border: 0;
  background: transparent;
  color: #8b7e6b;
  font-size: 10.5px;
  cursor: pointer;
  padding: 3px 5px;
  border-radius: 5px;
  font-family: inherit;
}
.link-undo:hover { background: #f1ece3; color: #4f473b; }

.done-facts {
  border: 1px solid #dbe7dd;
  border-radius: 10px;
  background: #eef4ef;
  overflow: hidden;
}
.done-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 6px 9px;
}
.done-row + .done-row { border-top: 1px dashed #d4e2d6; }
.done-label {
  flex: none;
  padding: 0 4px;
  border: 1px solid #dbe7dd;
  border-radius: 4px;
  background: #fffdf8;
  color: #6b7c6d;
  font-size: 9px;
}
.done-value {
  flex: 1;
  min-width: 0;
  color: #31543f;
  font-size: 11px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.done-value.mono {
  font-family: var(--font-mono);
  letter-spacing: .01em;
}
.done-row .copy-btn { position: static; width: 20px; height: 20px; flex: none; opacity: .65; }

.complete-form { display: flex; align-items: center; gap: 5px; width: 100%; }
.complete-form input {
  flex: 1;
  min-width: 0;
  height: 31px;
  padding: 0 9px;
  border: 1px solid #d8cbb6;
  border-radius: 8px;
  background: #fffdf8;
  font-size: 11.5px;
  outline: none;
}
.complete-form input:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(47, 107, 87, .1); }
.complete-form .btn { height: 31px; padding: 0 9px; font-size: 11px; }

.empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 18px 52px;
  color: #8c8171;
}
.empty-art { margin-bottom: 14px; opacity: .92; }
.empty h3 { margin: 0 0 4px; font-family: var(--font-serif); font-size: 20px; font-weight: 600; color: #3b352c; }
.empty p { margin: 0 0 16px; max-width: 390px; font-size: 12px; line-height: 1.7; }
.empty-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* ---------- footer ---------- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin: 24px 2px 34px;
  color: #9b9081;
  font-size: 10.5px;
}
.footer-note { display: inline-flex; align-items: center; gap: 5px; }
.footer-brand { letter-spacing: .04em; }

/* ---------- modals ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(35, 31, 25, .44);
  backdrop-filter: blur(4px);
  animation: fadeIn .18s ease both;
}
.sheet {
  position: relative;
  width: min(700px, 100%);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: var(--radius-lg);
  background: #fdfaf4;
  box-shadow: var(--shadow-sheet);
  animation: sheetIn .26s cubic-bezier(.2, .85, .25, 1) both;
}
.sheet-sm { width: min(560px, 100%); }
.sheet-xs { width: min(420px, 100%); }
.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #eee5d7;
  flex: none;
}
.sheet-head h2 {
  margin: 3px 0 0;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: .01em;
}
.sheet-body { padding: 20px 24px 8px; overflow-y: auto; overscroll-behavior: contain; }
.form { display: flex; flex-direction: column; gap: 16px; padding-bottom: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; position: relative; }
.field label, .field-label { font-size: 12.5px; font-weight: 600; color: #4a4238; letter-spacing: .01em; }
.field em { font-style: normal; color: var(--rust); margin-left: 2px; }
.optional { margin-left: 5px; font-size: 10px; font-weight: 400; color: #9b8f7e; }
.field input, .field textarea, .combo input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #ddd2c1;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 13px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 60px; line-height: 1.6; }
.field input:focus, .field textarea:focus, .combo input:focus {
  border-color: #8cae9e;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 107, 87, .09);
}
.field input::placeholder, .field textarea::placeholder, .combo input::placeholder { color: #b0a491; }
.hint { margin: 0; font-size: 10.5px; line-height: 1.5; color: #9b8f7e; }
.hint.info {
  display: block;
  padding: 7px 9px;
  border: 1px solid #dfeae2;
  border-radius: 8px;
  background: #eef4ef;
  color: #5e7466;
  line-height: 1.6;
}
.hint.info strong { color: #365b46; font-weight: 600; }
.hint.info .hint-auto { color: #7d9384; }
.hint-sep { margin: 0 4px; opacity: .5; }
.hint.info[hidden] { display: none; }

.combo { position: relative; }
.combo input { padding-right: 32px; }
.combo-panel {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  max-height: 270px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #e2d7c6;
  border-radius: 12px;
  background: #fffdf9;
  box-shadow: 0 24px 46px -24px rgba(50, 42, 30, .5);
  animation: popIn .14s ease both;
}
.combo-panel[hidden] { display: none; }
.cn-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.cn-option:hover, .cn-option.is-active { background: #f5f0e7; }
.opt-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #efe9dc;
  color: #7c6f5b;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 13px;
  flex: none;
}
.opt-main { flex: 1; min-width: 0; }
.opt-name { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #332e27; }
.opt-sub { margin-top: 1px; font-size: 10px; color: #9d9180; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opt-count { flex: none; padding: 1px 6px; border-radius: 999px; background: #f1ece2; color: #9d9180; font-size: 9.5px; }
.combo-empty { padding: 10px; font-size: 11px; color: #a19583; text-align: center; }

.addr-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.addr-chips[hidden] { display: none; }
.addr-chip {
  max-width: 100%;
  padding: 4px 7px;
  border: 1px dashed #d5c7b2;
  border-radius: 7px;
  background: #faf6ee;
  color: #7a6e5d;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  font-family: inherit;
}
.addr-chip:hover { border-color: #a9977d; color: #4c4337; }

.channel-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.channel-picker button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 33px;
  padding: 0 13px;
  border: 1px solid #e2d8c8;
  border-radius: 999px;
  background: #faf6ef;
  color: #7e7261;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.channel-picker button:hover { border-color: #cfc0a9; }
.channel-picker button.is-active { font-weight: 600; box-shadow: inset 0 0 0 1px currentColor; }
.channel-picker button[data-channel="QQ"].is-active { background: var(--qq-soft); border-color: #a9cdea; color: #236a9f; }
.channel-picker button[data-channel="微信"].is-active { background: var(--wx-soft); border-color: #a9d6bd; color: #26734e; }
.channel-picker button[data-channel="闲鱼"].is-active { background: var(--xy-soft); border-color: #e3cd93; color: #8a6412; }

.special-card {
  border: 1px solid #e6ddce;
  border-radius: 13px;
  background: rgba(255, 253, 248, .55);
  padding: 0 13px;
  transition: border-color .18s ease, background .18s ease;
}
.special-card.is-on { border-color: #d6c8b2; background: #fffdf8; }
.special-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; }
.switch-row { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1; min-width: 0; }
.switch { position: relative; display: inline-flex; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  display: block;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #ddd3c4;
  position: relative;
  transition: background .18s ease;
}
.switch .track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fffdf8;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .18s ease;
}
.switch input:checked + .track { background: var(--green-700); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--green-700); outline-offset: 2px; }
.special-copy { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.special-copy strong { font-size: 12px; font-weight: 600; color: #3f382e; }
.special-copy small { font-size: 10px; color: #a09480; }
.special-tag { flex: none; padding: 2px 6px; border-radius: 4px; font-size: 9px; font-weight: 600; letter-spacing: .06em; }
.special-tag.reship { background: #f8edd8; color: #956511; }
.special-tag.forward { background: #e8f1f4; color: #2d6478; }
.special-body { display: flex; flex-direction: column; gap: 8px; padding: 11px 0 13px; border-top: 1px dashed #ece2d3; }
.special-body[hidden] { display: none; }
.special-body textarea {
  width: 100%;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid #e1d6c5;
  border-radius: 9px;
  background: #fffdf8;
  font-size: 12px;
  line-height: 1.55;
  outline: none;
  resize: vertical;
}
.special-body textarea:focus { border-color: #8cae9e; box-shadow: 0 0 0 3px rgba(47, 107, 87, .08); }
.target-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.mini-label { font-size: 10.5px; color: #8f8371; }
.target-picker { display: flex; gap: 2px; padding: 2px; border: 1px solid #e7ddcd; border-radius: 999px; background: #f4efe6; }
.target-picker button {
  padding: 3px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #837662;
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
}
.target-picker button.is-active { background: #fffdf9; color: #2b2721; font-weight: 600; box-shadow: 0 1px 3px rgba(50, 42, 30, .12); }
#forwardCustom {
  width: 136px;
  height: 29px;
  padding: 0 8px;
  border: 1px solid #e1d6c5;
  border-radius: 8px;
  background: #fffdf8;
  font-size: 11.5px;
  outline: none;
}
#forwardCustom[hidden] { display: none; }

.uploader { padding: 9px 10px; border: 1.4px dashed #ddd0bd; border-radius: 11px; background: rgba(250, 246, 238, .7); transition: border-color .15s ease, background .15s ease; }
.uploader.is-drag { border-color: #5c8a76; background: #eef4ef; }
.uploader-flat { border-color: #d9c7a9; background: #fbf6ec; }
.uploader-flat .upload-btn { border-color: #cdb795; background: #fffdf8; font-weight: 600; }
.uploader.is-invalid { border-color: #c06a54; background: #fdf3ef; box-shadow: 0 0 0 3px rgba(184, 80, 58, .07); }
.upload-head { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 27px;
  padding: 0 9px;
  border: 1px solid #ded1bd;
  border-radius: 7px;
  background: #fffdf8;
  color: #685d4c;
  font-size: 10.5px;
  cursor: pointer;
  font-family: inherit;
}
.upload-btn:hover { border-color: #bfae94; }
.upload-hint { font-size: 9.5px; color: #a99d8b; }
.upload-thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.upload-thumbs:empty { display: none; }
.upload-thumb { position: relative; width: 58px; height: 58px; border: 1px solid #e3d8c6; border-radius: 8px; overflow: hidden; background: #f2ece1; }
.upload-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; }
.upload-thumb button {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 26, 20, .7);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.tracking-field .optional { color: #9a8b74; }
.due-field .due-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.due-field input[type="date"] {
  width: 170px;
  height: 38px;
  flex: none;
  color-scheme: light;
}
.due-presets { display: flex; gap: 4px; flex-wrap: wrap; }
.due-presets button {
  height: 27px;
  padding: 0 8px;
  border: 1px solid #e1d6c5;
  border-radius: 7px;
  background: #faf6ef;
  color: #7a6e5d;
  font-family: inherit;
  font-size: 10.5px;
  cursor: pointer;
}
.due-presets button:hover { border-color: #bfae94; background: #fffdf8; color: #4c4337; }

.intl-field { gap: 8px; }
.intl-field-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.intl-add {
  height: 27px;
  padding: 0 9px;
  border: 1px solid #ded1bd;
  border-radius: 7px;
  background: #fffdf8;
  color: #685d4c;
  font-family: inherit;
  font-size: 10.5px;
  cursor: pointer;
  white-space: nowrap;
}
.intl-add:hover { border-color: #bfae94; }
.intl-list { display: flex; flex-direction: column; gap: 7px; }
.intl-empty {
  padding: 9px 10px;
  border: 1px dashed #e1d6c5;
  border-radius: 9px;
  background: #faf6ee;
  color: #a19583;
  font-size: 10.5px;
  text-align: center;
}
.intl-item {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto minmax(0, .9fr) auto 24px;
  gap: 6px;
  align-items: center;
  padding: 7px;
  border: 1px solid #e6ddce;
  border-radius: 10px;
  background: #fffdf8;
}
.intl-label {
  width: 100%;
  height: 31px;
  padding: 0 8px;
  border: 1px solid #e1d6c5;
  border-radius: 7px;
  background: #fffdf8;
  font-size: 11px;
  outline: none;
}
.intl-label:focus { border-color: #8cae9e; box-shadow: 0 0 0 3px rgba(47, 107, 87, .08); }
.intl-mode { display: flex; gap: 2px; padding: 2px; border: 1px solid #e7ddcd; border-radius: 999px; background: #f4efe6; }
.intl-mode button {
  padding: 3px 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #837662;
  font-family: inherit;
  font-size: 9.5px;
  white-space: nowrap;
  cursor: pointer;
}
.intl-mode button.is-active { background: #fffdf9; color: #2b2721; font-weight: 600; box-shadow: 0 1px 3px rgba(50, 42, 30, .12); }
.intl-value-wrap { min-width: 0; }
.intl-value {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 31px;
  min-width: 0;
  padding: 0 7px;
  border: 1px solid #e1d6c5;
  border-radius: 7px;
  background: #fffdf8;
}
.intl-value input { width: 100%; min-width: 0; padding: 0; border: 0; outline: none; background: transparent; font-size: 11.5px; }
.intl-value span { flex: none; color: #a19583; font-size: 9.5px; }
.intl-value[hidden] { display: none; }
.intl-value input::-webkit-outer-spin-button,
.intl-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.intl-value input[type="number"] { -moz-appearance: textfield; }
.intl-equal { color: #8f816d; font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.intl-equal b { color: #2f5b45; font-weight: 600; }
.intl-remove {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #a89b88;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.intl-remove:hover { background: #fbeee9; color: #b0432f; }
.intl-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 2px; color: #81745f; font-size: 11px; }
.intl-total-row strong { color: #2f5b45; font-family: var(--font-serif); font-size: 17px; font-weight: 600; }
.intl-total-row strong.is-zero { color: #a19583; }
.input-icon { position: relative; display: flex; align-items: center; }
.input-icon > svg { position: absolute; left: 11px; color: #a29582; pointer-events: none; }
.input-icon input { padding-left: 34px !important; }

.sheet-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  flex: none;
  padding: 13px 24px calc(15px + env(safe-area-inset-bottom));
  border-top: 1px solid #eee5d7;
  background: #fdfaf4;
}
.form-hint { font-size: 10.5px; color: #a19583; }
.form-hint.is-error { color: var(--rust); font-weight: 500; }
.sheet-actions { display: flex; gap: 8px; margin-left: auto; }

/* ---------- CN drawer ---------- */
.drawer-modal { justify-content: flex-end; align-items: stretch; padding: 0; }
.drawer {
  position: relative;
  width: min(440px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fdfaf4;
  box-shadow: -30px 0 70px -30px rgba(30, 25, 18, .5);
  animation: drawerIn .28s cubic-bezier(.2, .85, .25, 1) both;
}
.drawer-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 24px 22px 18px;
  border-bottom: 1px solid #eee5d7;
  flex: none;
}
.drawer-close { position: absolute; top: 13px; right: 13px; }
.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: linear-gradient(150deg, #f2e3d7, #e9d3c2);
  border: 1px solid #e6d2c1;
  color: #8a4d32;
  font-family: var(--font-serif);
  font-size: 21px;
}
.drawer-title { min-width: 0; padding-right: 26px; }
.drawer-title h2 { margin: 2px 0 3px; font-family: var(--font-serif); font-size: 25px; font-weight: 600; line-height: 1.2; word-break: break-word; }
.drawer-meta { margin: 0; font-size: 10.5px; color: #978b79; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 22px 22px; overscroll-behavior: contain; }
.drawer-foot { flex: none; padding: 13px 22px calc(15px + env(safe-area-inset-bottom)); border-top: 1px solid #eee5d7; background: #fdfaf4; }
.drawer-foot .btn { width: 100%; }

.dw-section { margin-bottom: 18px; }
.dw-section:last-child { margin-bottom: 0; }
.dw-label { margin: 0 0 7px; font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #a1937f; }
.dw-channels { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.addr-box { position: relative; padding: 10px 11px; border: 1px solid #eee5d7; border-radius: 11px; background: #fff; margin-bottom: 6px; }
.addr-box p { margin: 0; padding-right: 24px; font-size: 11.5px; line-height: 1.6; color: #5f574b; white-space: pre-line; overflow-wrap: anywhere; }
.addr-box .copy-btn { opacity: .6; }
.mini-record { padding: 11px 12px; margin-bottom: 8px; border: 1px solid #ece3d5; border-radius: 12px; background: #fffdf9; }
.mini-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.mini-top .chips { gap: 3px; }
.mini-items { margin: 0 0 4px; font-size: 11.5px; line-height: 1.55; color: #5c5346; overflow-wrap: anywhere; }
.mini-addr { margin: 0; font-size: 10px; color: #9a8e7c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: 7px; padding-top: 7px; border-top: 1px dashed #f0e8dc; font-size: 9.5px; color: #a79b89; }
.status { padding: 1px 6px; border-radius: 999px; background: #eef3ea; color: #4a7359; font-size: 9px; font-weight: 600; flex: none; }
.status.done { background: #edf1ef; color: #6e7c70; }
.link-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  margin-bottom: 7px;
  border: 1px solid #ece3d5;
  border-radius: 11px;
  background: #fffdf9;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s ease, background .15s ease;
}
.link-row:hover { border-color: #d5c5ad; background: #fff; }
.link-row .avatar { width: 34px; height: 34px; font-size: 14px; background: #f2e9dc; color: #7f6b51; border-color: #eadccb; }
.link-main { flex: 1; min-width: 0; }
.link-name { font-size: 12.5px; font-weight: 600; color: #332e27; }
.link-sub { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 2px; font-size: 9.5px; color: #9a8e7c; }
.link-count { flex: none; padding: 2px 7px; border-radius: 999px; background: #f4efe6; color: #8f8270; font-size: 9.5px; white-space: nowrap; }
.links-intro { margin: 0 0 14px; font-size: 11.5px; line-height: 1.65; color: #8a7e6c; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(18, 16, 13, .86); backdrop-filter: blur(6px); animation: fadeIn .2s ease both; }
.lb-inner { position: relative; z-index: 1; width: min(1000px, 100%); display: flex; flex-direction: column; gap: 10px; animation: popIn .2s ease both; }
.lb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 5px; color: #f1ebdf; font-size: 11.5px; letter-spacing: .02em; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; }
.lb-stage img { max-width: 100%; max-height: 78vh; border-radius: 10px; background: #14110e; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); object-fit: contain; }
.lb-nav {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  padding-bottom: 3px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #f1ebdf;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.lb-nav:hover { background: rgba(255, 255, 255, .16); }
.lb-nav[hidden] { display: none; }

/* ---------- confirm ---------- */
.confirm-body { padding: 26px 24px 18px; text-align: center; }
.confirm-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f8e9e3;
  color: var(--rust);
  font-family: var(--font-serif);
  font-size: 21px;
}
.confirm-body h2 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 21px; font-weight: 600; }
.confirm-body p { margin: 0; font-size: 11.5px; line-height: 1.7; color: #877b6a; }
.sheet-xs .sheet-foot { justify-content: flex-end; }

/* ---------- toasts ---------- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: 11px;
  background: #26221c;
  color: #f6f0e4;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .4);
  animation: toastIn .24s cubic-bezier(.2, .85, .25, 1) both;
  pointer-events: auto;
}
.toast.is-out { animation: toastOut .2s ease both; }
.toast-action {
  padding: 2px 0;
  border: 0;
  border-bottom: 1px solid rgba(231, 201, 168, .5);
  background: transparent;
  color: #e7c9a8;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.noscript { position: fixed; inset: auto 16px 16px; padding: 12px; background: #fff; border: 1px solid #ddd; text-align: center; }

/* ---------- cloud login ---------- */
.boot-screen {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #f4f1ea;
  color: #7d7264;
  font-size: 11.5px;
  letter-spacing: .05em;
}
.boot-screen[hidden] { display: none; }
.boot-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(155deg, #cb6743, #b34f2f);
  color: #fbf4e6;
  font-family: var(--font-serif);
  font-size: 24px;
  box-shadow: 0 10px 24px -12px rgba(160, 70, 45, .65);
  animation: bootPulse 1.4s ease-in-out infinite;
}
@keyframes bootPulse { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-3px); opacity: .7; } }

.login-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(700px 430px at 12% 0%, #e8f0e7 0%, rgba(232, 240, 231, 0) 65%),
    radial-gradient(650px 420px at 100% 100%, #f7e9dc 0%, rgba(247, 233, 220, 0) 62%),
    #f4f1ea;
}
.login-screen[hidden] { display: none; }
.login-card {
  width: min(420px, 100%);
  padding: 30px 30px 24px;
  border: 1px solid #e5dccd;
  border-radius: 24px;
  background: #fdfaf4;
  box-shadow: 0 34px 80px -34px rgba(40, 33, 24, .45);
  animation: sheetIn .32s cubic-bezier(.2, .85, .25, 1) both;
}
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.login-brand .brand-seal { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.login-brand .brand-text strong { font-size: 19px; }
.login-brand .brand-text small { font-size: 7.5px; }
.login-card .eyebrow { margin-bottom: 7px; }
.login-card h1 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
}
.login-intro { margin: 0; color: #877b6a; font-size: 11.5px; line-height: 1.7; }
.login-form { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.login-form label { color: #4a4238; font-size: 11.5px; font-weight: 600; }
.login-form input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #ddd2c1;
  border-radius: 10px;
  background: #fffdf8;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}
.login-form input:focus { border-color: #8cae9e; box-shadow: 0 0 0 3px rgba(47, 107, 87, .09); }
.login-form .btn { height: 42px; margin-top: 4px; width: 100%; }
.login-error { margin: 2px 0 0; color: #b0432f; font-size: 10.5px; line-height: 1.5; }
.login-error[hidden] { display: none; }
.login-note { margin: 16px 0 0; color: #a19583; font-size: 9.5px; text-align: center; }
body.cloud-locked { overflow: hidden; }
@media (max-width: 760px) { .cloud-chip { display: none; } }
@media (max-width: 600px) {
  .login-screen { padding: 14px; align-items: flex-end; }
  .login-card { padding: 24px 20px 20px; border-radius: 20px; }
  .login-card h1 { font-size: 27px; }
}

/* ---------- animations ---------- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(4px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes drawerIn { from { opacity: .4; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-3px); } 40%, 60% { transform: translateX(3px); } }
.shake { animation: shake .4s ease both; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .overview { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .pulse-card { padding: 21px 23px 19px; }
  .pulse-number { font-size: 60px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); }
}
@media (max-width: 920px) {
  .page { padding: 0 22px; }
  .overview { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-card { padding: 13px 14px 11px; }
  .stat-card strong { font-size: 26px; }
  .stat-card p { font-size: 9.5px; }
  .pulse-card { min-height: 196px; }
  .board { padding: 15px 16px 18px; }
}
@media (max-width: 760px) {
  .page { padding: 0 16px; }
  .today-chip { display: none; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .board-head { align-items: stretch; }
  .board-tools { width: 100%; }
  .search { flex: 1; width: auto; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .result-count { display: none; }
  .footer { margin-bottom: 28px; }
}
@media (max-width: 600px) {
  .page { padding: 0 13px; }
  .field input, .field textarea, .combo input, .special-body textarea, #forwardCustom, .search input, .complete-form input, .select-wrap select { font-size: 16px; }
  .intl-item { display: flex; flex-wrap: wrap; align-items: center; }
  .intl-label { flex: 1 1 100%; }
  .intl-mode { flex: none; }
  .intl-value-wrap { flex: 1 1 96px; }
  .intl-equal { flex: none; }
  .intl-remove { margin-left: auto; }
  .intl-item input { font-size: 12px; }
  .task-tracking-input { font-size: 16px; }
  .due-field input[type="date"] { width: 100%; }
  .due-presets { width: 100%; }
  .due-presets button { flex: 1; }
  .due-alert { flex-wrap: wrap; gap: 8px; padding: 9px 11px; }
  .due-alert-text { flex: 1 1 calc(100% - 40px); font-size: 11.5px; }
  .due-alert-btn { margin-left: 36px; height: 27px; }
  body { background-attachment: scroll; }
  .complete-form input { height: 34px; }
  .search { height: 38px; }
  .topbar { padding: 18px 0 14px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-seal { width: 38px; height: 38px; border-radius: 11px; font-size: 20px; }
  .brand-seal::after { inset: 2px; border-radius: 8px; }
  .brand-text strong { font-size: 18px; }
  .brand-text small { font-size: 7px; letter-spacing: .16em; }
  .topbar-right { gap: 6px; }
  .topbar-right .btn.ghost { width: 36px; padding: 0; font-size: 0; gap: 0; }
  .topbar-right .btn.ghost svg:last-child { display: none; }
  .topbar-right .btn.primary { height: 36px; padding: 0 12px; font-size: 12px; }
  .pulse-card { padding: 19px 20px 18px; min-height: 190px; border-radius: 19px; }
  .pulse-number { font-size: 55px; margin-top: 8px; }
  .pulse-meta { font-size: 10.5px; }
  .dist { padding-top: 16px; }
  .stat-card { padding: 12px 12px 10px; border-radius: 15px; }
  .stat-head { font-size: 10.5px; gap: 5px; }
  .stat-icon { width: 18px; height: 18px; border-radius: 6px; font-size: 9px; }
  .stat-card strong { font-size: 24px; margin-top: 4px; }
  .stat-card p { font-size: 9px; }
  .board { margin-top: 18px; padding: 13px 12px 15px; border-radius: 19px; }
  .tabs { gap: 18px; }
  .tab { font-size: 14px; padding-bottom: 8px; }
  .board-head { gap: 10px; }
  .filter-row { gap: 8px; margin-top: 11px; padding-top: 11px; }
  .segmented { width: 100%; justify-content: space-between; }
  .segmented button { flex: 1; justify-content: center; padding: 0 6px; }
  .filter-chips { width: 100%; }
  .filter-chips button { flex: 0 0 auto; }
  .card-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 13px; }
  .card { padding: 13px 13px 11px; }
  .card-menu { opacity: 1; transform: none; }
  .copy-btn { opacity: .7; }
  .cn { font-size: 19px; }
  .search kbd { display: none; }
  .sheet { border-radius: 20px 20px 0 0; max-height: 94vh; }
  .sheet-head { padding: 16px 16px 13px; }
  .sheet-head h2 { font-size: 20px; }
  .sheet-body { padding: 15px 16px 6px; }
  .form { gap: 14px; }
  .sheet-foot { padding: 12px 16px calc(13px + env(safe-area-inset-bottom)); }
  .sheet-xs { border-radius: 20px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal .sheet { width: 100%; }
  .drawer-modal { padding: 0; }
  .drawer { width: 100%; }
  .lightbox { padding: 14px; }
  .lb-stage { gap: 4px; }
  .lb-nav { width: 32px; height: 32px; font-size: 20px; }
  .lb-stage img { max-height: 74vh; }
  .footer { font-size: 9.5px; }
  .footer-brand { display: none; }
  .toasts { bottom: 18px; }
}
@media (max-width: 360px) {
  .stat-card p { display: none; }
  .stat-card { min-height: 76px; }
  .pulse-number { font-size: 50px; }
  .filter-chips button span { display: none; }
}
@media (hover: none) {
  .card-menu { opacity: 1; transform: none; }
  .copy-btn { opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* ---------- interaction states ---------- */
.is-invalid {
  border-color: #c06a54 !important;
  box-shadow: 0 0 0 3px rgba(184, 80, 58, .1) !important;
}
.btn:disabled {
  opacity: .55;
  cursor: default;
  transform: none;
  box-shadow: none;
}
.link-name { display: block; }
.link-sub { display: flex; }
.stat-button { appearance: none; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
