:root {
  --fresh-bg: #fbfaf7;
  --fresh-card: #ffffff;
  --fresh-soft: #f6f1ec;
  --fresh-coral: #e45b3f;
  --fresh-coral-deep: #c94f36;
  --fresh-coral-soft: #fff0ea;
  --fresh-green: #5f9f77;
  --fresh-green-soft: #eef7f1;
  --fresh-blue: #5c7fa8;
  --fresh-blue-soft: #eef4fb;
  --fresh-amber: #be7b2f;
  --fresh-text: #202124;
  --fresh-muted: #68615b;
  --fresh-subtle: #9b928b;
  --fresh-line: #ece7e2;
  --fresh-shadow: 0 16px 38px rgba(55, 42, 31, .07);
  --primary: var(--fresh-coral);
  --primary-light: var(--fresh-coral-soft);
  --bg: var(--fresh-bg);
  --card: var(--fresh-card);
  --text: var(--fresh-text);
  --text2: var(--fresh-muted);
  --text3: var(--fresh-subtle);
  --border: var(--fresh-line);
  --border2: var(--fresh-line);
  --hover: #fff8f4;
}

/* SaaS blue-purple theme override */
:root {
  --fresh-bg: #dff3ff;
  --fresh-card: #ffffff;
  --fresh-soft: #eef6ff;
  --fresh-coral: #4b83f3;
  --fresh-coral-deep: #6b4fd6;
  --fresh-coral-soft: #eaf2ff;
  --fresh-green: #38b8d2;
  --fresh-green-soft: #e9faff;
  --fresh-blue: #6f5be8;
  --fresh-blue-soft: #f0edff;
  --fresh-amber: #f08b5b;
  --fresh-text: #10172a;
  --fresh-muted: #637087;
  --fresh-subtle: #95a1b7;
  --fresh-line: #e6edf7;
  --fresh-shadow: 0 24px 70px rgba(63, 98, 145, .12);
  --primary: #4b83f3;
  --primary-light: #eaf2ff;
  --bg: #dff3ff;
  --card: #ffffff;
  --text: #10172a;
  --text2: #637087;
  --text3: #95a1b7;
  --border: #e6edf7;
  --border2: #e6edf7;
  --hover: #f3f8ff;
}

html {
  background: radial-gradient(circle at 16% 8%, rgba(255,255,255,.72), transparent 30%),
    linear-gradient(135deg, #c9ecff 0%, #eaf7ff 52%, #d7dcff 100%) !important;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.74), transparent 28%),
    radial-gradient(circle at 92% 100%, rgba(111,91,232,.22), transparent 30%),
    linear-gradient(135deg, #c7ebff 0%, #eff9ff 54%, #d7dcff 100%) !important;
}

.fresh-navbar {
  border-color: rgba(255,255,255,.7) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 18px 45px rgba(62,104,160,.12) !important;
}

.fresh-brand .fresh-iconbox,
.fresh-user-link,
.btn-primary,
.btn-p,
.btn.primary,
.save-btn,
.add-btn,
.nav-action,
.submit-btn {
  background: linear-gradient(135deg, #4a8ff7 0%, #6b51dd 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 34px rgba(75, 112, 230, .25) !important;
}

.fresh-navlinks a.active,
.fresh-navlinks a:hover {
  color: #4b72e8 !important;
  background: #eef5ff !important;
}

.fresh-iconbox,
.iconbox {
  color: #4b83f3 !important;
  background: #ecf5ff !important;
}

.fresh-iconbox.green,
.iconbox.green {
  color: #25a7c4 !important;
  background: #e8fbff !important;
}

.fresh-iconbox.blue,
.iconbox.blue {
  color: #6b51dd !important;
  background: #f0edff !important;
}

.card,
.panel,
.parent-card,
.section,
.summary,
.tool-card,
.calc-card,
.result-card,
.category-card,
.entry-card,
.diary-card,
.process-card,
.check-card,
.hero-main,
.state-card,
.metric-card,
.tool,
.live-widget,
.progress-summary-card,
.progress-timeline-card,
.progress-action-card {
  border-color: rgba(255,255,255,.78) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 22px 58px rgba(70, 104, 154, .12) !important;
}

.hero-main,
.quote-card,
.focus-card {
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(244,249,255,.9)) !important;
}

.fresh-account-menu,
.fresh-sponsor-panel,
.fresh-email-required-panel {
  border-color: rgba(255,255,255,.78) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 24px 70px rgba(58, 77, 118, .18) !important;
}

input,
select,
textarea,
.input {
  border-color: #e2ebf7 !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.94) !important;
}

input:focus,
select:focus,
textarea:focus,
.input:focus {
  border-color: #74a4ff !important;
  box-shadow: 0 0 0 4px rgba(75, 131, 243, .13) !important;
}

.bar-fill,
.budget-fill,
.stage-fill {
  background: linear-gradient(90deg, #4b8ff7, #6b51dd) !important;
}

.toast {
  background: #16233b !important;
  box-shadow: 0 14px 32px rgba(18, 35, 64, .18) !important;
}

* { box-sizing: border-box; }

html { background: var(--fresh-bg); }

body {
  margin: 0 !important;
  color: var(--fresh-text) !important;
  background: linear-gradient(180deg, #fffefb 0%, var(--fresh-bg) 48%, #f7f4ef 100%) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif !important;
  letter-spacing: 0 !important;
}

.fresh-navbar {
  position: sticky;
  top: 12px;
  z-index: 1000;
  width: min(1320px, calc(100% - 32px));
  min-height: 58px;
  margin: 12px auto 4px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--fresh-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 24px rgba(55, 42, 31, .055);
  backdrop-filter: blur(16px);
}

.fresh-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fresh-text);
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.fresh-brand small {
  display: block;
  margin-top: 2px;
  color: var(--fresh-subtle);
  font-size: 11px;
  font-weight: 650;
}

.fresh-iconbox {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--fresh-coral);
  background: var(--fresh-coral-soft);
  line-height: 0;
}

.fresh-brand .fresh-iconbox {
  color: #fff;
  background: var(--fresh-coral);
  box-shadow: 0 10px 24px rgba(228, 91, 63, .2);
}

.fresh-svg {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0;
  overflow: visible;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fresh-navlinks {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.fresh-navlinks::-webkit-scrollbar { display: none; }

.fresh-navlinks a {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  color: var(--fresh-muted);
  font-size: 13px;
  font-weight: 740;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.fresh-navlinks a:hover {
  color: var(--fresh-coral);
  background: #fff8f4;
  transform: translateY(-1px);
}

.fresh-navlinks a.active {
  color: var(--fresh-coral);
  background: var(--fresh-coral-soft);
  font-weight: 820;
}

.fresh-user-link {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  color: #fff;
  background: var(--fresh-coral);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(228, 91, 63, .18);
}

.fresh-account { position: relative; }

.fresh-account-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 1300;
  width: 304px;
  padding: 8px;
  border: 1px solid var(--fresh-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 42px rgba(55, 42, 31, .14);
}

.fresh-account-menu[hidden] { display: none; }

.fresh-account-user {
  padding: 8px 10px 7px;
  border-bottom: 1px solid var(--fresh-line);
}

.fresh-account-user b,
.fresh-account-user span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fresh-account-user b {
  color: var(--fresh-text);
  font-size: 13px;
  line-height: 1.35;
}

.fresh-account-user span {
  margin-top: 2px;
  color: var(--fresh-subtle);
  font-size: 11px;
}

.fresh-account-menu a,
.fresh-account-menu button {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 6px;
  color: var(--fresh-muted);
  background: transparent;
  font-size: 12px;
  font-weight: 760;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.fresh-account-menu a:hover,
.fresh-account-menu button:hover { color: var(--fresh-coral); background: var(--fresh-coral-soft); }
.fresh-account-menu .account-sponsor { color: var(--fresh-green); }
.fresh-account-menu .account-sponsor:hover { color: #447c5b; background: var(--fresh-green-soft); }
.fresh-account-menu .account-danger { margin-top: 3px; border-top: 1px solid var(--fresh-line); border-radius: 0 0 6px 6px; color: #b94a3a; }
.fresh-account-menu .account-danger:hover { color: #a33b2d; background: #fff1ed; }
.fresh-account-menu button:disabled { opacity: .55; cursor: wait; }

.fresh-account-status {
  min-height: 34px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--fresh-line);
  color: var(--fresh-subtle);
  font-size: 11px;
  font-weight: 740;
}

.fresh-account-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--fresh-green); }
.fresh-account-status[data-state="saving"] i,
.fresh-account-status[data-state="loading"] i { background: var(--fresh-amber); }
.fresh-account-status[data-state="error"] i { background: var(--fresh-coral); }

.fresh-douyin-card {
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #efe3d4;
  border-radius: 9px;
  background: linear-gradient(135deg, #fffaf3, #fff 58%, #f7fbf7);
}

.fresh-douyin-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 9px;
}

.fresh-douyin-logo {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--fresh-green);
  line-height: 0;
}

.fresh-douyin-logo .fresh-svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.fresh-douyin-head div { min-width: 0; }
.fresh-douyin-head b,
.fresh-douyin-head span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fresh-douyin-head b {
  color: var(--fresh-text);
  font-size: 13px;
  line-height: 1.35;
}

.fresh-douyin-head span {
  margin-top: 2px;
  color: var(--fresh-subtle);
  font-size: 11px;
}

.fresh-douyin-main {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.fresh-douyin-qr {
  width: 96px;
  aspect-ratio: 1;
  padding: 5px;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #f0e7dc, 0 10px 24px rgba(180, 131, 28, .12);
}

.fresh-douyin-qr img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 9px;
}

.fresh-douyin-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fresh-douyin-copy p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fresh-douyin-copy p b {
  color: var(--fresh-green);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 880;
}

.fresh-douyin-copy p span {
  color: var(--fresh-muted);
  font-size: 12px;
  line-height: 1.5;
}

.fresh-douyin-copy strong {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--fresh-green-soft);
  color: var(--fresh-green);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 850;
}

body.sponsor-dialog-open { overflow: hidden; }
.fresh-sponsor-dialog { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; }
.fresh-sponsor-dialog[hidden] { display: none; }
.email-required-open { overflow: hidden; }
.fresh-email-required-dialog { position: fixed; inset: 0; z-index: 2600; display: grid; place-items: center; padding: 18px; }
.fresh-email-required-dialog[hidden] { display: none; }
.fresh-email-required-backdrop { position: absolute; inset: 0; background: rgba(32, 37, 43, .55); backdrop-filter: blur(3px); }
.fresh-email-required-panel { position: relative; width: min(420px, 100%); display: grid; gap: 12px; padding: 24px; border-radius: 8px; background: #fff; color: var(--fresh-ink); box-shadow: 0 24px 70px rgba(27, 35, 45, .24); text-align: left; }
.fresh-email-required-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--fresh-coral-soft); color: var(--fresh-coral); }
.fresh-email-required-icon .fresh-svg { width: 22px; height: 22px; }
.fresh-email-required-panel h2 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: 0; }
.fresh-email-required-panel p { margin: 0; color: var(--fresh-muted); font-size: 14px; line-height: 1.7; }
.fresh-email-required-panel strong { display: block; padding: 11px 12px; border-radius: 7px; background: #fff1ed; color: #b33829; font-size: 13px; line-height: 1.65; }
.fresh-email-required-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; margin-top: 4px; }
.fresh-email-required-actions button { min-height: 42px; border-radius: 7px; font-weight: 800; cursor: pointer; }
.fresh-email-required-secondary { border: 1px solid var(--fresh-line); background: #fff; color: var(--fresh-muted); }
.fresh-email-required-primary { border: 0; background: var(--fresh-coral); color: #fff; box-shadow: 0 10px 20px rgba(228, 91, 63, .22); }
.fresh-sponsor-backdrop { position: absolute; inset: 0; background: rgba(35,31,28,.38); backdrop-filter: blur(3px); }
.fresh-sponsor-panel { position: relative; width: min(100%,380px); padding: 30px 26px 24px; border: 1px solid var(--fresh-line); border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(48,38,30,.2); text-align: center; }
.fresh-sponsor-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 7px; color: var(--fresh-subtle); background: transparent; cursor: pointer; }
.fresh-sponsor-close:hover { color: var(--fresh-coral); background: var(--fresh-coral-soft); }
.fresh-sponsor-close .fresh-svg { width: 17px; height: 17px; }
.fresh-sponsor-icon { width: 50px; height: 50px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; color: var(--fresh-green); background: var(--fresh-green-soft); }
.fresh-sponsor-icon .fresh-svg { width: 24px; height: 24px; }
.fresh-sponsor-panel h2 { margin: 0; color: var(--fresh-text); font-size: 22px; letter-spacing: 0; }
.fresh-sponsor-panel p { margin: 9px 0 0; color: var(--fresh-muted); font-size: 14px; }
.fresh-sponsor-qr { margin: 18px auto 0; width: min(100%, 258px); }
.fresh-sponsor-qr img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--fresh-line); box-shadow: 0 14px 34px rgba(48,38,30,.12); }
.fresh-sponsor-qr figcaption { margin-top: 10px; color: var(--fresh-text); font-size: 14px; font-weight: 820; }
.fresh-sponsor-amount { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 18px; }
.fresh-sponsor-prefix { font-size: 24px; font-weight: 700; color: var(--fresh-coral); }
.fresh-sponsor-amount input { width: 140px; height: 44px; border: 2px solid var(--fresh-line); border-radius: 8px; text-align: center; font-size: 24px; font-weight: 700; color: var(--fresh-coral); outline: none; }
.fresh-sponsor-amount input:focus { border-color: var(--fresh-coral); }
.fresh-sponsor-presets { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.fresh-sponsor-presets button { min-width: 48px; height: 32px; border: 1px solid var(--fresh-line); border-radius: 6px; background: #fff; color: var(--fresh-muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.fresh-sponsor-presets button:hover { border-color: var(--fresh-coral); color: var(--fresh-coral); }
.fresh-sponsor-panel small { display: block; margin-top: 8px; color: var(--fresh-subtle); font-size: 12px; }
.fresh-sponsor-error { margin-top: 10px; padding: 8px 12px; border-radius: 6px; background: #fff6f4; border: 1px solid #f0d1cb; color: #c94f36; font-size: 13px; }
.fresh-sponsor-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.fresh-sponsor-actions button { min-height: 42px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--fresh-line); border-radius: 8px; color: var(--fresh-muted); background: #fff; font-size: 13px; font-weight: 820; cursor: pointer; }
.fresh-sponsor-actions .fresh-sponsor-confirm { border-color: var(--fresh-coral); color: #fff; background: var(--fresh-coral); box-shadow: 0 12px 26px rgba(228,91,63,.2); }
.fresh-sponsor-actions .fresh-sponsor-confirm:hover { background: #cf5037; }
.fresh-sponsor-actions .fresh-sponsor-confirm:disabled { opacity: .6; cursor: not-allowed; }

.container,
.page,
.main-container,
.content-wrap,
main:not(.page) {
  width: min(1320px, calc(100% - 32px)) !important;
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.container,
.main-container,
.content-wrap { padding: 20px 0 52px !important; }

h1, h2, h3, h4 { color: var(--fresh-text) !important; letter-spacing: 0 !important; }
h1 { font-size: clamp(25px, 3vw, 34px) !important; }
.subtitle, .desc, .description, .hint { color: var(--fresh-muted) !important; }

.card,
.panel,
.parent-card,
.section,
.summary,
.tool-card,
.calc-card,
.result-card,
.category-card,
.entry-card,
.diary-card,
.process-card,
.check-card {
  border: 1px solid var(--fresh-line) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: var(--fresh-shadow) !important;
}

.card:hover,
.parent-card:hover,
.tool-card:hover,
.entry-card:hover {
  box-shadow: 0 18px 42px rgba(55, 42, 31, .09) !important;
}

.card-hd,
.panel-head,
.parent-header,
.section-header,
.category-header {
  border-bottom-color: var(--fresh-line) !important;
}

.sub-header,
.add-custom,
.toolbar,
.filter-bar {
  background: #fcfaf8 !important;
  border-color: var(--fresh-line) !important;
}

button,
.btn,
.btn-primary,
.btn-p,
.action-btn,
.save-btn,
.add-btn {
  border-radius: 9px !important;
  font-family: inherit !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

button:active,
.btn:active,
.action-btn:active { transform: scale(.985); }

.btn-primary,
.btn-p,
.btn.primary,
.save-btn,
.add-btn {
  color: #fff !important;
  background: var(--fresh-coral) !important;
  border-color: var(--fresh-coral) !important;
  box-shadow: 0 10px 22px rgba(228, 91, 63, .17) !important;
}

.btn-primary:hover,
.btn-p:hover,
.save-btn:hover,
.add-btn:hover { background: var(--fresh-coral-deep) !important; }

input,
select,
textarea,
.input {
  border: 1px solid var(--fresh-line) !important;
  border-radius: 9px !important;
  color: var(--fresh-text) !important;
  background: #fff !important;
  font-family: inherit !important;
  outline: none !important;
}

input:focus,
select:focus,
textarea:focus,
.input:focus {
  border-color: var(--fresh-coral) !important;
  box-shadow: 0 0 0 3px rgba(228, 91, 63, .08) !important;
}

input[type="checkbox"], input[type="radio"] { accent-color: var(--fresh-green) !important; }

a, .more, .go-link { color: var(--fresh-coral); }

.tip,
.notice,
.info-box {
  border: 1px solid #d8eadf !important;
  border-left: 3px solid var(--fresh-green) !important;
  border-radius: 10px !important;
  color: var(--fresh-muted) !important;
  background: var(--fresh-green-soft) !important;
}

.tag-selected,
.selected-tag,
.status-done {
  color: #447c5b !important;
  background: var(--fresh-green-soft) !important;
}

.sub-dot,
.active-dot,
.progress-fill,
.budget-fill,
.stage-fill { background: var(--fresh-coral) !important; }

.parent-icon,
.tool-icon,
.category-icon,
.step-icon,
.feature-icon,
.cat-icon,
.bill-icon,
.iconbox,
.fresh-iconbox {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  line-height: 0 !important;
}

.parent-icon > svg,
.tool-icon > svg,
.category-icon > svg,
.step-icon > svg,
.feature-icon > svg,
.cat-icon > svg,
.bill-icon > svg,
.iconbox > svg,
.fresh-iconbox > svg {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  width: 18px !important;
  height: 18px !important;
  display: block !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  transform-origin: center !important;
  vertical-align: middle !important;
}

.header-bar {
  padding: 22px 24px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 12px !important;
  color: var(--fresh-text) !important;
  background: linear-gradient(135deg, #fff, #fff6f1) !important;
  box-shadow: var(--fresh-shadow) !important;
  text-align: left !important;
}

.header-bar * { color: inherit !important; }

.tabs {
  padding: 4px !important;
  gap: 4px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 10px !important;
  background: var(--fresh-soft) !important;
  box-shadow: none !important;
}

.tab {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 7px !important;
  color: var(--fresh-muted) !important;
  background: transparent !important;
}

.tab.active {
  color: var(--fresh-coral) !important;
  background: #fff !important;
  box-shadow: 0 6px 16px rgba(55, 42, 31, .07) !important;
}

.mode-card,
.group-box,
.pool-area {
  border: 1px solid var(--fresh-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: var(--fresh-shadow) !important;
}

.group-box.drag-over {
  border-color: var(--fresh-coral) !important;
  background: var(--fresh-coral-soft) !important;
}

.group-tag,
.cat-chip,
.sub-chip,
.filter-chip,
.chip {
  border-color: var(--fresh-line) !important;
  border-radius: 8px !important;
  color: var(--fresh-muted) !important;
  background: #fff !important;
}

.group-tag {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  touch-action: none !important;
  user-select: none !important;
}

.group-tag.is-selected {
  color: var(--fresh-coral) !important;
  border-color: rgba(228, 91, 63, .34) !important;
  background: var(--fresh-coral-soft) !important;
}

.group-tag:hover,
.cat-chip:hover,
.sub-chip:hover,
.filter-chip:hover { border-color: var(--fresh-coral) !important; }

.cat-chip.selected,
.sub-chip.selected,
.filter-chip.active,
.chip.active {
  color: var(--fresh-coral) !important;
  border-color: rgba(228, 91, 63, .28) !important;
  background: var(--fresh-coral-soft) !important;
}

.cat-item,
.bill-item,
.ref-item,
.step,
.check-item {
  border-bottom-color: var(--fresh-line) !important;
}

.cat-item:hover,
.bill-item:hover,
.ref-item:hover,
.step:hover,
.check-item:hover { background: #fff9f5 !important; }

.cat-icon,
.bill-icon {
  color: var(--fresh-coral) !important;
  background: var(--fresh-coral-soft) !important;
}

.big-stat-dot,
.legend-dot { box-shadow: 0 0 0 3px rgba(255, 255, 255, .8); }

.fab {
  width: 50px !important;
  height: 50px !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: var(--fresh-coral) !important;
  box-shadow: 0 14px 30px rgba(228, 91, 63, .24) !important;
}

.modal-bg { background: rgba(32, 33, 36, .28) !important; backdrop-filter: blur(5px); }

.modal,
.manage-modal,
.dialog,
.popup {
  border: 1px solid var(--fresh-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(55, 42, 31, .16) !important;
}

.submit-btn {
  color: #fff !important;
  background: var(--fresh-coral) !important;
  box-shadow: 0 12px 26px rgba(228, 91, 63, .19) !important;
}

.tool-grid,
.calculator-grid,
.feature-grid {
  gap: 12px !important;
}

.tool-card,
.calculator-card,
.feature-card {
  min-height: 116px !important;
  padding: 16px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: var(--fresh-shadow) !important;
}

/* Compare page */
.page-compare .container { max-width: 1180px !important; }

.page-compare .compare-titlebar {
  min-height: 112px;
  padding: 22px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #fff, #fff7f2) !important;
  box-shadow: var(--fresh-shadow) !important;
}

.page-compare .compare-titlebar h1 {
  margin-bottom: 7px !important;
  font-size: 29px !important;
}

.page-compare .compare-titlebar p {
  color: var(--fresh-muted) !important;
  font-size: 13px !important;
}

.page-compare .compare-toolbar {
  margin: 14px 0 12px !important;
  padding: 14px 16px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: var(--fresh-shadow) !important;
}

.compare-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.compare-summary > div {
  padding: 14px 16px;
  border: 1px solid var(--fresh-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(55, 42, 31, .045);
}

.compare-summary span {
  display: block;
  color: var(--fresh-subtle);
  font-size: 12px;
  font-weight: 720;
}

.compare-summary b {
  display: block;
  margin-top: 5px;
  color: var(--fresh-text);
  font-size: 23px;
}

.page-compare .cat-card {
  margin-bottom: 12px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: var(--fresh-shadow) !important;
}

.page-compare .cat-hd {
  min-height: 74px;
  padding: 14px 16px !important;
  gap: 12px !important;
}

.page-compare .cat-hd:hover { background: #fff9f5 !important; }

.page-compare .cat-icon {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  border-radius: 10px !important;
  color: var(--fresh-coral) !important;
  background: var(--fresh-coral-soft) !important;
}

.page-compare .cat-name { color: var(--fresh-text) !important; font-size: 15px !important; }
.page-compare .cat-meta { color: var(--fresh-subtle) !important; }

.page-compare .cat-lowest {
  color: #447c5b !important;
  background: var(--fresh-green-soft) !important;
  border-radius: 8px !important;
}

.page-compare .cat-bd {
  padding: 14px !important;
  border-top: 1px solid var(--fresh-line) !important;
  background: #fcfaf8 !important;
}

.page-compare .prod-card {
  margin-bottom: 10px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: 0 7px 20px rgba(55, 42, 31, .04) !important;
}

.page-compare .prod-hd { padding: 14px !important; align-items: center !important; }
.page-compare .prod-hd:hover { background: #fffaf7 !important; }

.page-compare .prod-img {
  width: 72px !important;
  height: 72px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 10px !important;
  color: var(--fresh-blue) !important;
  background: var(--fresh-blue-soft) !important;
}

.page-compare .prod-img > svg {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
}

.page-compare .prod-model { color: var(--fresh-text) !important; }

.page-compare .prod-lowest {
  color: var(--fresh-coral) !important;
  background: var(--fresh-coral-soft) !important;
}

.page-compare .prod-bd { padding: 0 14px 14px !important; }

.page-compare .quote-card {
  margin-bottom: 7px !important;
  border: 1px solid var(--fresh-line) !important;
  border-radius: 9px !important;
  background: #fff !important;
}

.page-compare .quote-card.best {
  border-color: #cfe7d7 !important;
  background: var(--fresh-green-soft) !important;
}

.page-compare .quote-card.worst {
  border-color: #f0d1cb !important;
  background: #fff6f4 !important;
}

.page-compare .quote-main { min-height: 48px; padding: 9px 10px !important; }

.page-compare .del-btn,
.page-compare .arrow {
  width: 30px;
  height: 30px;
  display: grid !important;
  place-items: center !important;
  color: var(--fresh-subtle) !important;
}

.page-compare .del-btn .fresh-svg,
.page-compare .arrow .fresh-svg {
  width: 16px !important;
  height: 16px !important;
  display: block !important;
  margin: 0 !important;
}

.page-compare .arrow.open { transform: rotate(90deg); }

.page-compare .total-bar {
  padding: 12px 20px !important;
  border-top: 1px solid var(--fresh-line) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 -10px 30px rgba(55, 42, 31, .08) !important;
  backdrop-filter: blur(14px);
}

.page-compare .total-inner { max-width: 1180px !important; }

@media (max-width: 700px) {
  .compare-summary { grid-template-columns: 1fr 1fr 1fr; }
  .page-compare .compare-titlebar { align-items: flex-start !important; }
  .page-compare .prod-img { width: 56px !important; height: 56px !important; }
  .page-compare .total-bar { bottom: 64px; }
}

.bottom-tab { display: none !important; }

.demo-hint { display: none !important; }

/* Theme color hygiene: old pages still contain inline legacy colors. */
.container h1,
.page h1,
.main-container h1,
.content-wrap h1,
.page-header h1,
.header-bar h1 {
  color: var(--fresh-text) !important;
}

.page-header p,
.header-bar p,
.subtitle,
.desc,
.description,
.tool-desc,
.section-title,
.hint,
.tip,
.meta,
.cat-meta,
.prod-meta,
.quote-meta,
.mode-label,
.mode-desc,
.big-stat-pct,
.cat-count,
.cat-pct,
.bill-date,
.date-header,
.empty,
.group-empty,
.fresh-muted-text {
  color: var(--fresh-muted) !important;
}

.count,
.small,
.caption,
.prod-brand,
.quote-shop,
.ref-spec,
.ref-qty,
.stage-desc,
.step-desc,
.item-desc {
  color: var(--fresh-subtle) !important;
}

.cat-name,
.tool-name,
.prod-model,
.bill-cat,
.stage-name,
.step-title,
.item-title,
.card-title,
.stat-label,
.quote-price,
.amount,
.value,
.total,
.summary-value {
  color: var(--fresh-text) !important;
}

.bill-amount,
.price,
.total-price,
.expense,
.overrun,
.danger-text,
[style*="#EF4444"],
[style*="#ef4444"],
[style*="#DC2626"],
[style*="#dc2626"],
[style*="#e53e3e"] {
  color: var(--fresh-coral) !important;
}

.success-text,
.saving,
.lowest,
.cat-lowest,
[style*="#22C55E"],
[style*="#22c55e"],
[style*="#166534"],
[style*="#38a169"],
[style*="#48bb78"] {
  color: #447c5b !important;
}

[style*="color:#999"],
[style*="color: #999"],
[style*="color:#aaa"],
[style*="color: #aaa"],
[style*="color:#ccc"],
[style*="color: #ccc"],
[style*="color:#9CA3AF"],
[style*="color: #9CA3AF"] {
  color: var(--fresh-subtle) !important;
}

[style*="color:#666"],
[style*="color: #666"],
[style*="color:#555"],
[style*="color: #555"],
[style*="color:#64748B"],
[style*="color: #64748B"] {
  color: var(--fresh-muted) !important;
}

[style*="color:#333"],
[style*="color: #333"],
[style*="color:#1a1a2e"],
[style*="color: #1a1a2e"],
[style*="color:#2d3748"],
[style*="color: #2d3748"] {
  color: var(--fresh-text) !important;
}

.error-msg,
.danger-chip {
  color: var(--fresh-coral) !important;
  background: #fff6f4 !important;
  border: 1px solid #f0d1cb !important;
}

.success-msg,
.success-chip {
  color: #447c5b !important;
  background: var(--fresh-green-soft) !important;
  border: 1px solid #cfe7d7 !important;
}

.toast,
#toast {
  background: rgba(32, 33, 36, .9) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .18) !important;
}

.page-header,
.header-bar {
  color: var(--fresh-text) !important;
  background: linear-gradient(135deg, #fff, #fff7f2) !important;
  border: 1px solid var(--fresh-line) !important;
  box-shadow: var(--fresh-shadow) !important;
  text-align: left !important;
}

.page-header *,
.header-bar * {
  color: inherit;
}

.page-header p,
.header-bar p {
  color: var(--fresh-muted) !important;
}

.tab,
.filter-chip,
.cat-chip,
.sub-chip,
.group-tag {
  color: var(--fresh-muted) !important;
}

.tab.active,
.filter-chip.active,
.cat-chip.selected,
.sub-chip.selected {
  color: var(--fresh-coral) !important;
}

.fresh-mobile-nav { display: none; }

.compare-titlebar,
.compare-toolbar,
.compare-summary {
  width: 100%;
  border: 1px solid var(--fresh-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--fresh-shadow);
}

.compare-summary {
  margin: 0 0 16px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.compare-summary div {
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffdfb, #f8fbf7);
  border: 1px solid var(--fresh-line);
}

.compare-summary span {
  display: block;
  color: var(--fresh-subtle);
  font-size: 12px;
  font-weight: 720;
}

.compare-summary b {
  display: block;
  margin-top: 6px;
  color: var(--fresh-text);
  font-size: 24px;
  font-weight: 840;
}

.page-compare .import-panel,
.page-compare .cat-card,
.page-compare .prod-card,
.page-compare .quote-card {
  box-shadow: 0 14px 34px rgba(55, 42, 31, .05) !important;
}

.page-compare .import-card {
  border-radius: 14px !important;
  border-color: var(--fresh-line) !important;
  background: #fcfaf8 !important;
}

.page-compare .quote-card.best {
  background: linear-gradient(135deg, #f8fdf9, #f2fbf4) !important;
}

.page-compare .quote-card.worst {
  background: linear-gradient(135deg, #fffaf8, #fff4f1) !important;
}

.page-header,
.header-bar,
.compare-titlebar {
  position: relative;
  overflow: hidden;
}

.page-header::after,
.header-bar::after,
.compare-titlebar::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 91, 63, .12), rgba(228, 91, 63, 0));
  pointer-events: none;
}

.tool-card,
.tool,
.parent-card,
.cat-card,
.live-widget,
.metric-card,
.state-card,
.quote-card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
}

.tool-card:hover,
.tool:hover,
.parent-card:hover,
.cat-card:hover,
.live-widget:hover,
.metric-card:hover,
.state-card:hover,
.quote-card:hover {
  transform: translateY(-2px);
  border-color: #e7d7cc !important;
}

.fresh-soft-panel {
  background: linear-gradient(135deg, #fffefd, #f6fbf7);
  border: 1px solid var(--fresh-line);
  border-radius: 14px;
  box-shadow: var(--fresh-shadow);
}

@media (max-width: 900px) {
  .fresh-navbar { grid-template-columns: 1fr auto; width: calc(100% - 20px); }
  .fresh-navlinks { grid-column: 1 / -1; justify-content: flex-start; }
  .container, .page, .main-container, .content-wrap, main:not(.page) {
    width: calc(100% - 24px) !important;
  }
  .compare-summary { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 74px !important; }
  .fresh-navbar {
    position: sticky;
    top: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 56px;
    margin-top: 8px;
    padding: 7px 9px;
  }
  .fresh-brand small { display: none; }
  .fresh-navlinks { display: none; }
  .fresh-user-link {
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
  }
  .fresh-account-menu {
    position: fixed;
    top: 66px;
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }
  .fresh-mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 7px 6px max(7px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--fresh-line);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -8px 28px rgba(55, 42, 31, .07);
    backdrop-filter: blur(15px);
  }
  .fresh-mobile-nav a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--fresh-subtle);
    font-size: 10px;
    font-weight: 720;
    text-decoration: none;
  }
  .fresh-mobile-nav a.active { color: var(--fresh-coral); }
  .fresh-mobile-nav .fresh-svg { width: 19px; height: 19px; }
}

/* home v3: clean card matrix layout */
.home-v3{display:grid!important;grid-template-columns:minmax(0,.58fr) minmax(420px,.42fr)!important;gap:16px!important;align-items:start!important}
.home-v3>.topnav,.home-v3>.fresh-navbar{grid-column:1/-1!important}
.home-v3>.hero{grid-column:1!important;grid-row:2!important;display:block!important;margin:0!important}
.home-v3 .hero-main{min-height:unset!important;grid-template-columns:minmax(0,1fr) 190px!important;padding:22px!important}
.home-v3 .hero h1{font-size:34px!important;line-height:1.18!important}
.home-v3 .hero p{max-width:560px!important}
.home-v3 .home-illus{min-height:180px!important}
.home-v3 .side-state{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:12px!important}
.home-v3 .state-card,.home-v3 .quote-card{box-shadow:0 10px 26px rgba(55,42,31,.045)!important}
.home-v3>.live-widgets{grid-column:2!important;grid-row:2!important;display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0!important}
.home-v3 .live-widget{min-height:auto!important}
.home-v3>.search-card{grid-column:1!important;grid-row:3!important;margin:0!important}
.home-v3>.dashboard-summary{grid-column:1!important;grid-row:4!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important}
.home-v3>.dashboard-summary .metric-card{min-height:104px!important}
.home-v3>.layout{display:contents!important}
.home-v3>.layout>.stack:first-child{display:contents!important}
.home-v3>.layout>.stack:first-child>.card:nth-child(1){grid-column:1!important;grid-row:5!important}
.home-v3>.layout>.stack:first-child>.card:nth-child(2){grid-column:2!important;grid-row:3!important}
.home-v3>.layout>.stack:first-child>.card:nth-child(3){grid-column:2!important;grid-row:4!important}
.home-v3>.layout>aside.stack{grid-column:2!important;grid-row:5!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.home-v3>.layout>aside.stack>.card{margin:0!important}
.home-v3>.layout>aside.stack>.card:nth-child(1){grid-column:1!important}
.home-v3>.layout>aside.stack>.card:nth-child(2){grid-column:2!important}
.home-v3>.layout>aside.stack>.card:nth-child(3),.home-v3>.layout>aside.stack>.card:nth-child(4){grid-column:1/-1!important}
.home-v3 .card{border-radius:20px!important;box-shadow:0 10px 26px rgba(55,42,31,.045)!important}
.home-v3 .card-hd{min-height:58px!important}
.home-v3 .card-bd{padding-top:14px!important}
.home-v3 #budgetArea .budget-bar{height:8px!important;border-radius:999px!important;background:#eeeae5!important;overflow:hidden!important}
.home-v3 #budgetArea .budget-fill{height:100%!important;border-radius:inherit!important}
.home-v3 #sliderBar{border-radius:9px!important}
.home-v3 #budgetArea .drag-handle{border-radius:7px!important}
.home-v3 #budgetArea input[type=number]{background:#fff!important}
@media(max-width:1180px){
  .home-v3{display:block!important}
  .home-v3>.hero,.home-v3>.live-widgets,.home-v3>.search-card,.home-v3>.dashboard-summary,.home-v3>.layout>.stack:first-child>.card:nth-child(1),.home-v3>.layout>.stack:first-child>.card:nth-child(2),.home-v3>.layout>.stack:first-child>.card:nth-child(3),.home-v3>.layout>aside.stack{grid-column:auto!important;grid-row:auto!important;margin-top:14px!important}
  .home-v3>.layout{display:grid!important}
  .home-v3>.layout>.stack:first-child{display:grid!important}
}
@media(max-width:680px){
  .home-v3 .hero-main{grid-template-columns:1fr!important}
  .home-v3 .home-illus{display:none!important}
  .home-v3>.dashboard-summary{grid-template-columns:1fr!important}
  .home-v3>.layout>aside.stack{grid-template-columns:1fr!important}
}

/* home-pro: practical customer-facing dashboard */
.home-pro{
  width:min(1380px,calc(100% - 40px))!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
  align-items:start!important;
}
.home-pro>.fresh-navbar,
.home-pro>.topnav{margin-bottom:0!important}
.home-pro>.hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 390px!important;
  gap:16px!important;
  align-items:stretch!important;
  margin:0!important;
}
.home-pro .hero-main{
  min-height:260px!important;
  grid-template-columns:minmax(0,1fr) 210px!important;
  align-items:center!important;
  padding:24px!important;
  border-radius:22px!important;
}
.home-pro .hero h1{
  max-width:620px!important;
  font-size:36px!important;
  line-height:1.16!important;
}
.home-pro .hero p{max-width:620px!important;color:var(--fresh-muted)!important}
.home-pro .hero-actions{margin-top:20px!important}
.home-pro .side-state{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
}
.home-pro .action-reminder{
  display:none!important;
}
.home-pro .state-card,
.home-pro .quote-card,
.home-pro .live-widget,
.home-pro .metric-card,
.home-pro .card{
  border-radius:8px!important;
  box-shadow:0 10px 28px rgba(55,42,31,.045)!important;
}
.home-pro .state-grid.compact{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.home-pro .state-grid.compact .wide{grid-column:1/-1!important}
.home-pro>.live-widgets{
  display:grid!important;
  grid-template-columns:320px minmax(0,1fr) 280px!important;
  gap:12px!important;
  margin:0!important;
}
.home-pro>.progress-showcase{
  padding:0!important;
}
.progress-summary-card,
.progress-timeline-card,
.progress-action-card{
  position:relative;
  overflow:hidden;
  min-height:188px;
  padding:16px;
  border:1px solid var(--fresh-line);
  border-radius:8px;
  background:rgba(255,255,255,.94);
  box-shadow:0 10px 28px rgba(55,42,31,.045);
}
.progress-summary-card{
  display:grid;
  align-content:space-between;
  background:linear-gradient(135deg,#fffefd 0%,#f4fbf6 100%);
}
.progress-timeline-card{
  background:linear-gradient(135deg,#ffffff 0%,#fbfaf7 100%);
}
.progress-action-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:linear-gradient(135deg,#fffefd 0%,#fff5ef 100%);
}
.stage-focus{
  padding:16px;
  border:1px solid #dcece3;
  border-radius:18px;
  background:#fff;
}
.stage-focus>span{
  display:block;
  color:var(--fresh-green);
  font-size:12px;
  font-weight:900;
}
.stage-focus>strong{
  display:block;
  margin-top:8px;
  font-size:28px;
  line-height:1.25;
}
.stage-focus>p{
  margin:8px 0 0;
  color:var(--fresh-muted);
  font-size:13px;
  line-height:1.55;
}
.stage-count{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  background:var(--fresh-green-soft);
}
.stage-count b{
  color:var(--fresh-green);
  font-size:20px;
}
.stage-count span{
  color:var(--fresh-muted);
  font-size:12px;
  font-weight:850;
}
.home-progress-line{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:0;
  min-height:118px;
  padding:18px 6px 8px;
  overflow-x:auto;
  scrollbar-width:none;
}
.home-progress-line::-webkit-scrollbar{display:none}
.home-progress-line::before{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  top:44px;
  height:4px;
  border-radius:999px;
  background:#eeeae5;
}
.home-step{
  position:relative;
  z-index:1;
  flex:1 0 108px;
  min-width:108px;
  padding:0 8px;
  text-align:center;
  background:transparent;
  border:0;
}
.home-step::before{
  content:"";
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  margin:10px auto 11px;
  border:3px solid #eeeae5;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 6px #fff;
}
.home-step.done{
  color:var(--fresh-green);
}
.home-step.done::before{
  border-color:var(--fresh-green);
  background:var(--fresh-green);
}
.home-step.current{
  color:var(--fresh-coral);
}
.home-step.current::before{
  border-color:var(--fresh-coral);
  background:#fff;
  box-shadow:0 0 0 7px rgba(228,91,63,.12);
}
.home-step span{
  color:var(--fresh-subtle);
  font-size:11px;
  font-weight:900;
}
.home-step b{
  display:block;
  margin-top:0;
  font-size:13px;
  line-height:1.35;
}
.home-step.done span,.home-step.done b{color:var(--fresh-green)}
.home-step.current span,.home-step.current b{color:var(--fresh-coral)}
.next-step-box{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:13px;
  border:1px solid #f0ebe5;
  border-radius:16px;
  background:#fff;
}
.next-step-box b{
  display:block;
  font-size:15px;
  line-height:1.45;
}
.next-step-box small{
  display:block;
  margin-top:5px;
  color:var(--fresh-subtle);
  font-size:12px;
}
.home-pro>.search-card{margin:0!important}
.home-pro>.search-card .card-bd{padding:14px!important}
.home-pro #globalSearch{
  height:46px!important;
  border-radius:14px!important;
}
.home-pro>.dashboard-summary{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:0!important;
}
.home-pro>.dashboard-summary .metric-card{
  min-height:112px!important;
  padding:16px!important;
}
.home-pro>.search-card,
.home-pro>.dashboard-summary{
  display:none!important;
}
.home-pro>.layout{
  display:grid!important;
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr)!important;
  gap:16px!important;
  align-items:start!important;
  margin:0!important;
}
.home-pro>.layout>.stack,
.home-pro>.layout>aside.stack{
  display:grid!important;
  gap:16px!important;
}
.home-pro>.layout>aside.stack{
  grid-template-columns:1fr!important;
}
.home-pro>.layout>.stack:first-child>.card:nth-child(3){
  display:none!important;
}
.home-pro .card-hd{
  min-height:60px!important;
  padding:0 18px!important;
}
.home-pro .home-main-stack.home-layout-budget-first #homeBudgetCard{order:1!important}
.home-pro .home-main-stack.home-layout-budget-first #homeTodoCard{order:2!important}
.home-pro .home-main-stack.home-layout-todo-first #homeTodoCard{order:1!important}
.home-pro .home-main-stack.home-layout-todo-first #homeBudgetCard{order:2!important}
.home-pro .home-main-stack #homeProgressCard{order:3!important}
.home-pro .home-swap-btn{
  width:32px!important;
  height:32px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid var(--fresh-border, #ece7e2)!important;
  border-radius:8px!important;
  background:#fff!important;
  color:var(--fresh-muted, #68615b)!important;
  cursor:pointer!important;
  flex:0 0 auto!important;
  box-shadow:none!important;
}
.home-pro .home-swap-btn:hover{
  border-color:var(--fresh-primary, #e45b3f)!important;
  color:var(--fresh-primary, #e45b3f)!important;
  background:var(--fresh-primary-soft, #fff0ea)!important;
}
.home-pro .home-swap-btn svg{
  width:16px!important;
  height:16px!important;
  stroke:currentColor!important;
}
.home-pro .card-bd{padding:16px 18px 18px!important}
.home-pro .tool-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.home-pro .tool{
  width:100%!important;
  border:1px solid var(--line)!important;
  font:inherit!important;
  text-align:left!important;
  appearance:none!important;
  -webkit-appearance:none!important;
  cursor:pointer!important;
}
.home-pro #budgetArea .budget-bar{
  height:8px!important;
  border-radius:999px!important;
  background:#eeeae5!important;
  overflow:hidden!important;
}
.home-pro #budgetArea .budget-fill{
  height:100%!important;
  border-radius:inherit!important;
}
.home-pro #sliderBar{border-radius:10px!important}
.home-pro #budgetArea .drag-handle{
  border-radius:7px!important;
}
.home-pro #budgetArea input[type=number]{
  background:#fff!important;
}
.home-pro #buyList{
  max-height:min(42vh,360px)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
.home-pro #buyList::-webkit-scrollbar{
  width:6px;
}
.home-pro #buyList::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:#eadfd7;
}
@media(max-width:1120px){
  .home-pro>.hero,
  .home-pro>.layout{
    grid-template-columns:1fr!important;
  }
  .home-pro>.live-widgets,
  .home-pro>.dashboard-summary{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .home-pro>.live-widgets .progress-timeline-card{grid-column:1/-1}
  .home-progress-line{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px){
  .home-pro{width:min(100% - 24px,1380px)!important}
  .home-pro>.hero{gap:12px!important}
  .home-pro .hero-main{min-height:auto!important;padding:20px!important;border-radius:8px!important}
  .home-pro .hero-main{grid-template-columns:1fr!important}
  .home-pro .hero h1{font-size:30px!important;line-height:1.2!important}
  .home-pro .hero p{font-size:14px!important;line-height:1.65!important}
  .home-pro .hero-actions{gap:8px!important;margin-top:18px!important}
  .home-pro .hero-actions .btn{min-height:42px!important;padding:0 13px!important}
  .home-pro .home-illus{display:none!important}
  .home-pro>.live-widgets,
  .home-pro>.dashboard-summary,
  .home-pro .tool-grid{
    grid-template-columns:1fr!important;
  }
  .home-pro>.live-widgets{gap:12px!important}
  .home-pro>.live-widgets .progress-summary-card,
  .home-pro>.live-widgets .progress-action-card,
  .home-pro>.live-widgets .progress-timeline-card{min-height:auto}
  .home-pro>.live-widgets .progress-action-card{order:2;gap:14px}
  .home-pro>.live-widgets .progress-timeline-card{order:3;grid-column:auto}
  .home-progress-line{min-height:112px;padding-top:12px}
  .home-pro .state-card{padding:14px!important}
  .home-pro .card-hd{min-height:54px!important;padding:0 14px!important}
  .home-pro .card-bd{padding:14px!important}
}

/* Mobile polish: operation-first H5 homepage */
@media(max-width:680px){
  html{background:#f8f6f1!important}
  body{
    background:
      radial-gradient(circle at 14% 0%,rgba(95,159,119,.12),transparent 34%),
      linear-gradient(180deg,#fffdf8 0%,#f7f4ef 52%,#f8f6f1 100%)!important;
  }

  .fresh-navbar{
    top:0!important;
    width:100%!important;
    min-height:58px!important;
    margin:0!important;
    padding:8px 12px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    border-width:0 0 1px!important;
    border-radius:0!important;
    box-shadow:0 8px 24px rgba(55,42,31,.055)!important;
    background:rgba(255,255,255,.94)!important;
  }
  .fresh-brand{font-size:17px!important}
  .fresh-brand .fresh-iconbox{width:36px!important;height:36px!important;flex-basis:36px!important}
  .fresh-user-link{min-height:38px!important;border-radius:12px!important;background:var(--fresh-coral)!important;color:#fff!important}
  .fresh-user-link .fresh-svg{width:17px!important;height:17px!important}

  .home-pro{
    width:100%!important;
    max-width:none!important;
    padding:14px 12px 86px!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .home-pro>.hero{order:1!important}
  .home-pro>.dashboard-summary{order:2!important}
  .home-pro>.live-widgets{order:3!important}
  .home-pro>.search-card{order:4!important}
  .home-pro>.layout{order:5!important}
  .home-pro>.hero,
  .home-pro>.dashboard-summary,
  .home-pro>.live-widgets,
  .home-pro>.layout{
    width:100%!important;
    align-self:stretch!important;
  }

  .home-pro>.hero{
    display:block!important;
    margin:0 0 12px!important;
  }
  .home-pro .hero-main{
    min-height:auto!important;
    padding:18px!important;
    display:block!important;
    border:1px solid rgba(236,231,226,.92)!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,rgba(255,255,255,.97),rgba(255,247,242,.92))!important;
    box-shadow:0 14px 34px rgba(55,42,31,.07)!important;
  }
  .home-pro .home-illus{display:none!important}
  .home-pro .eyebrow{
    min-height:24px!important;
    padding:0 9px!important;
    font-size:11px!important;
    background:#eef7f1!important;
    color:var(--fresh-green)!important;
  }
  .home-pro .hero h1{
    margin:10px 0 7px!important;
    font-size:28px!important;
    line-height:1.18!important;
    font-weight:920!important;
    letter-spacing:0!important;
  }
  .home-pro .hero p{
    font-size:13px!important;
    line-height:1.55!important;
    color:var(--fresh-muted)!important;
  }
  .home-pro .hero-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr 1fr!important;
    gap:8px!important;
    margin-top:15px!important;
  }
  .home-pro .hero-actions .btn{
    min-width:0!important;
    min-height:42px!important;
    padding:0 8px!important;
    border-radius:12px!important;
    font-size:12px!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }
  .home-pro .hero-actions .btn.primary,
  .home-pro .hero-actions .btn-p{
    background:var(--fresh-coral)!important;
    border-color:var(--fresh-coral)!important;
  }

  .home-pro .side-state{display:none!important}

  .home-pro>.dashboard-summary{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
    margin:0 0 12px!important;
  }
  .home-pro>.dashboard-summary .metric-card{
    min-height:92px!important;
    padding:12px 10px!important;
    display:block!important;
    align-items:start!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 10px 26px rgba(55,42,31,.055)!important;
  }
  .home-pro>.dashboard-summary .quote-metric{
    display:none!important;
  }
  .home-pro>.dashboard-summary .iconbox{
    width:30px!important;
    height:30px!important;
    border-radius:10px!important;
    margin-bottom:8px!important;
  }
  .home-pro>.dashboard-summary .metric-card span:not(.iconbox){
    font-size:11px!important;
    color:var(--fresh-subtle)!important;
    font-weight:780!important;
  }
  .home-pro>.dashboard-summary .metric-card b{
    margin-top:5px!important;
    font-size:18px!important;
    line-height:1.2!important;
    color:var(--fresh-text)!important;
    word-break:break-word!important;
  }
  .home-pro>.dashboard-summary .quote-metric b{
    font-size:15px!important;
    line-height:1.45!important;
  }
  .home-pro>.dashboard-summary .metric-card em{
    margin-top:4px!important;
    font-size:11px!important;
    line-height:1.35!important;
  }

  .home-pro>.live-widgets{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin:0 0 12px!important;
  }
  .home-pro>.live-widgets .progress-summary-card,
  .home-pro>.live-widgets .progress-action-card{
    display:none!important;
  }
  .home-pro>.live-widgets .progress-timeline-card{
    display:block!important;
    min-height:auto!important;
    padding:11px 12px 10px!important;
    border-radius:16px!important;
    background:linear-gradient(135deg,#fffefd,#f4fbf6)!important;
    box-shadow:0 10px 26px rgba(55,42,31,.055)!important;
  }
  .home-pro>.live-widgets .progress-timeline-card .live-head{
    margin-bottom:2px!important;
  }
  .home-pro>.live-widgets .progress-timeline-card .live-title{
    font-size:14px!important;
  }
  .home-pro>.live-widgets .progress-timeline-card .iconbox{
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
    border-radius:10px!important;
  }
  .home-pro>.live-widgets .progress-timeline-card .more{
    font-size:11px!important;
  }
  .home-pro .home-progress-line{
    min-height:46px!important;
    padding:5px 0 0!important;
    display:flex!important;
    overflow-x:auto!important;
  }
  .home-pro .home-progress-line::before{
    top:19px!important;
    left:18px!important;
    right:18px!important;
    height:3px!important;
  }
  .home-pro .home-step{
    flex:1 0 62px!important;
    min-width:62px!important;
    padding:0 4px!important;
  }
  .home-pro .home-step::before{
    width:16px!important;
    height:16px!important;
    margin:4px auto 5px!important;
    border-width:2px!important;
    box-shadow:0 0 0 4px #fff!important;
  }
  .home-pro .home-step span{
    display:none!important;
  }
  .home-pro .home-step b{
    font-size:10px!important;
    line-height:1.25!important;
  }

  .home-pro>.search-card{display:none!important}
  .home-pro>.search-card .card-bd{padding:10px!important}
  .home-pro #globalSearch{
    height:44px!important;
    min-height:44px!important;
    border-radius:13px!important;
    font-size:13px!important;
    background:#fff!important;
  }

  .home-pro>.layout{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin:0!important;
  }
  .home-pro>.layout>.stack,
  .home-pro>.layout>aside.stack{
    display:contents!important;
  }
  .home-pro>.layout>.stack:first-child>.card:nth-child(1){order:5!important}
  .home-pro>.layout>.stack:first-child>.card:nth-child(2){order:1!important}
  .home-pro>.layout>.stack:first-child>.card:nth-child(3){display:none!important}
  .home-pro>.layout>aside.stack>.card:nth-child(1){order:2!important}
  .home-pro>.layout>aside.stack>.card:nth-child(2){order:3!important}
  .home-pro>.layout>aside.stack>.card:nth-child(3){order:6!important}
  .home-pro>.layout>aside.stack>.card:nth-child(4){order:7!important}

  .home-pro .card{
    width:100%!important;
    border-radius:16px!important;
    box-shadow:0 10px 26px rgba(55,42,31,.052)!important;
    background:rgba(255,255,255,.94)!important;
  }
  .home-pro .card-hd{
    min-height:50px!important;
    padding:0 14px!important;
  }
  .home-pro .card-hd h3{
    min-width:0!important;
    font-size:15px!important;
    line-height:1.25!important;
  }
  .home-pro .card-hd .iconbox{
    width:32px!important;
    height:32px!important;
    flex-basis:32px!important;
  }
  .home-pro .card-bd{
    padding:13px!important;
  }

  .home-pro #todoList,
  .home-pro #buyList{
    display:grid!important;
    gap:8px!important;
  }
  .home-pro #buyList{
    max-height:min(42vh,360px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
  .home-pro #buyList::-webkit-scrollbar{
    width:6px;
  }
  .home-pro #buyList::-webkit-scrollbar-thumb{
    border-radius:999px;
    background:#eadfd7;
  }
  .home-pro .fresh-todo,
  .home-pro .fresh-buy{
    margin:0!important;
    padding:11px 10px!important;
    border:1px solid var(--fresh-line)!important;
    border-radius:13px!important;
    background:#fff!important;
  }
  .home-pro .fresh-todo{
    grid-template-columns:24px minmax(0,1fr)!important;
  }
  .home-pro .fresh-actions{
    grid-column:2!important;
    justify-content:flex-start!important;
    margin-top:4px!important;
  }
  .home-pro .fresh-icon-btn{
    width:28px!important;
    height:28px!important;
  }
  .home-pro .fresh-todo-title,
  .home-pro .fresh-buy-name{
    white-space:normal!important;
    line-height:1.45!important;
  }

  .home-pro #todoText{
    min-width:100%!important;
    flex-basis:100%!important;
  }
  .home-pro #todoDate{flex:1 1 132px!important}
  .home-pro #todoColor{flex:0 0 74px!important}
  .home-pro #todoColor + .btn,
  .home-pro #todoColor ~ .btn{
    flex:1 1 88px!important;
  }

  .home-pro .fresh-bill{
    grid-template-columns:104px minmax(0,1fr)!important;
    gap:12px!important;
  }
  .home-pro .fresh-donut{
    width:104px!important;
    height:104px!important;
  }
  .home-pro .fresh-donut::before{inset:18px!important}
  .home-pro .fresh-legend-row{
    grid-template-columns:9px minmax(0,1fr) auto!important;
    gap:7px!important;
  }
  .home-pro .fresh-legend-row b{font-size:11px!important}

  .home-pro .tool-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
  .home-pro .tool{
    min-height:86px!important;
    padding:11px 8px!important;
    border-radius:14px!important;
    text-align:center!important;
  }
  .home-pro .tool .iconbox{
    margin:0 auto 8px!important;
  }
  .home-pro .tool span:not(.iconbox){
    display:none!important;
  }

  .home-pro #budgetArea{
    overflow:hidden!important;
  }
  .home-pro #budgetArea .budget-bar{
    height:8px!important;
  }
  .home-pro #sliderBar{
    transform:scale(.96)!important;
    transform-origin:left center!important;
  }

  .fresh-mobile-nav{
    height:64px!important;
    padding:7px 6px max(7px,env(safe-area-inset-bottom))!important;
    border-top:1px solid rgba(236,231,226,.96)!important;
    background:rgba(255,255,255,.96)!important;
  }
  .fresh-mobile-nav a{
    gap:3px!important;
    font-size:10px!important;
  }
  .fresh-mobile-nav .fresh-svg{
    width:20px!important;
    height:20px!important;
  }
}

/* Keep the accounting add icon geometrically centered across system fonts. */
.fab{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  font-size:0!important;
  line-height:0!important;
}
.fab::before,
.fab::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:18px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transform:translate(-50%,-50%);
}
.fab::after{
  transform:translate(-50%,-50%) rotate(90deg);
}

/* Mobile polish: compare page */
@media(max-width:680px){
  body.page-compare{
    padding-bottom:76px!important;
    background:
      radial-gradient(circle at 16% 0%,rgba(228,91,63,.10),transparent 34%),
      linear-gradient(180deg,#fffdf8 0%,#f8f6f1 100%)!important;
  }

  .page-compare .container{
    width:100%!important;
    max-width:none!important;
    padding:14px 12px 84px!important;
  }

  .page-compare .compare-titlebar{
    min-height:auto!important;
    padding:18px!important;
    display:block!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#fff,#fff5ef)!important;
    box-shadow:0 14px 34px rgba(55,42,31,.07)!important;
  }
  .page-compare .compare-titlebar::after{display:none!important}
  .page-compare .compare-titlebar h1{
    margin:0 0 7px!important;
    font-size:28px!important;
    line-height:1.18!important;
  }
  .page-compare .compare-titlebar p{
    font-size:13px!important;
    line-height:1.5!important;
  }
  .page-compare .compare-titlebar>div:last-child{
    margin-top:14px!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .page-compare .compare-titlebar .btn{
    min-height:40px!important;
    padding:0 10px!important;
    border-radius:12px!important;
    box-shadow:none!important;
  }

  .page-compare .compare-toolbar{
    margin:12px 0!important;
    padding:12px!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
    align-items:end!important;
    gap:10px!important;
    border-radius:16px!important;
    box-shadow:0 10px 26px rgba(55,42,31,.052)!important;
  }
  .page-compare .compare-toolbar>div:first-child{
    min-width:0!important;
    width:100%!important;
  }
  .page-compare .compare-toolbar label{
    font-size:12px!important;
    font-weight:780!important;
  }
  .page-compare .compare-toolbar #catName{
    width:100%!important;
    height:42px!important;
    border-radius:12px!important;
    font-size:13px!important;
  }
  .page-compare .compare-toolbar>button{
    height:42px!important;
    padding:0 13px!important;
    border-radius:12px!important;
    white-space:nowrap!important;
  }
  .page-compare .compare-toolbar>div:last-child{
    grid-column:1/-1!important;
    margin-left:0!important;
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .page-compare .compare-toolbar>div:last-child .btn{
    min-height:38px!important;
    border-radius:12px!important;
  }

  .page-compare .compare-summary{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
    margin:0 0 12px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .page-compare .compare-summary div,
  .page-compare .compare-summary>div{
    min-height:74px!important;
    padding:11px 10px!important;
    border-radius:15px!important;
    background:rgba(255,255,255,.94)!important;
    box-shadow:0 10px 24px rgba(55,42,31,.05)!important;
  }
  .page-compare .compare-summary span{
    font-size:11px!important;
    line-height:1.2!important;
  }
  .page-compare .compare-summary b{
    margin-top:7px!important;
    font-size:24px!important;
    line-height:1!important;
    color:var(--fresh-coral)!important;
  }

  .page-compare .import-panel{
    padding:13px!important;
    border-radius:16px!important;
  }
  .page-compare .import-head{
    align-items:flex-start!important;
  }
  .page-compare .import-head h3{font-size:15px!important}
  .page-compare .import-head p{line-height:1.45!important}

  .page-compare #list{
    display:grid!important;
    gap:10px!important;
  }
  .page-compare .cat-card{
    margin:0!important;
    border-radius:16px!important;
    background:rgba(255,255,255,.95)!important;
    box-shadow:0 10px 26px rgba(55,42,31,.052)!important;
  }
  .page-compare .cat-hd{
    min-height:68px!important;
    padding:12px!important;
    gap:10px!important;
  }
  .page-compare .cat-icon{
    width:38px!important;
    height:38px!important;
    border-radius:12px!important;
  }
  .page-compare .cat-name{
    font-size:15px!important;
    line-height:1.35!important;
  }
  .page-compare .cat-meta{
    margin-top:2px!important;
    font-size:11px!important;
  }
  .page-compare .cat-actions{
    gap:6px!important;
  }
  .page-compare .cat-lowest{
    padding:4px 8px!important;
    border-radius:10px!important;
    font-size:13px!important;
  }
  .page-compare .cat-bd{
    padding:12px!important;
  }

  .page-compare .prod-card{
    margin-bottom:10px!important;
    border-radius:14px!important;
  }
  .page-compare .prod-hd{
    padding:11px!important;
    gap:10px!important;
    flex-wrap:nowrap!important;
  }
  .page-compare .prod-img{
    width:50px!important;
    height:50px!important;
    border-radius:12px!important;
  }
  .page-compare .prod-model{
    font-size:14px!important;
    line-height:1.35!important;
  }
  .page-compare .field-input{
    font-size:12px!important;
  }
  .page-compare .prod-actions{
    gap:5px!important;
  }
  .page-compare .prod-lowest{
    padding:4px 8px!important;
    font-size:12px!important;
    border-radius:9px!important;
  }
  .page-compare .prod-bd{
    padding:0 11px 11px!important;
  }

  .page-compare .quote-main{
    min-height:auto!important;
    padding:10px!important;
    display:grid!important;
    grid-template-columns:22px minmax(64px,.8fr) minmax(70px,.8fr) 1fr auto!important;
    gap:7px!important;
  }
  .page-compare .quote-channel,
  .page-compare .quote-price,
  .page-compare .quote-date{
    width:auto!important;
  }
  .page-compare .quote-channel{font-size:12px!important}
  .page-compare .quote-price{font-size:13px!important}
  .page-compare .quote-note{min-width:0!important}

  .page-compare .add-row{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .page-compare .add-row input{
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    border-radius:11px!important;
  }
  .page-compare .add-row input:nth-child(3){
    grid-column:1/-1!important;
  }
  .page-compare .add-row .btn{
    min-height:38px!important;
    border-radius:11px!important;
  }

  .page-compare .total-bar{
    bottom:64px!important;
    padding:10px 12px!important;
    border-top-width:1px!important;
  }
  .page-compare .total-inner{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:10px!important;
  }
  .page-compare .total-msg{
    font-size:12px!important;
  }
  .page-compare .total-msg strong{
    font-size:17px!important;
  }
}

/* Mobile density: keep repeated H5 cards compact without shrinking tap targets. */
@media(max-width:680px){
  .container,
  .main-container,
  .content-wrap,
  main:not(.page){
    width:calc(100% - 20px)!important;
  }

  .header-bar,
  .page-header{
    margin-bottom:8px!important;
    padding:14px!important;
    border-radius:14px!important;
  }
  .header-bar h1,
  .page-header h1{
    font-size:24px!important;
    line-height:1.2!important;
  }

  .toolbar-row,
  .tabs,
  .mode-card,
  .card,
  .panel,
  .pool-area{
    margin-bottom:8px!important;
  }
  .group-area{
    gap:8px!important;
    margin-bottom:8px!important;
  }
  .card-hd,
  .panel-head,
  .section-header{
    min-height:46px!important;
    padding:10px 12px!important;
  }
  .card-bd,
  .panel-body,
  .section-body{
    padding:12px!important;
  }
  .home-pro{
    padding:10px 10px 78px!important;
    gap:8px!important;
  }
  .home-pro>.hero,
  .home-pro>.live-widgets{
    margin-bottom:8px!important;
  }
  .home-pro>.layout,
  .home-pro>.layout>.stack,
  .home-pro>.layout>aside.stack{
    gap:8px!important;
  }
  .home-pro .hero-main{
    padding:14px!important;
  }
  .home-pro .card-hd{
    min-height:46px!important;
    padding:0 12px!important;
  }
  .home-pro .card-bd{
    padding:11px 12px!important;
  }

  .page-compare .container{
    width:100%!important;
    padding:10px 10px 78px!important;
  }
  .page-compare .compare-titlebar{
    margin-bottom:8px!important;
    padding:14px!important;
    border-radius:16px!important;
  }
  .page-compare .compare-titlebar>div:last-child{
    margin-top:10px!important;
  }
  .page-compare .compare-toolbar{
    margin:8px 0!important;
    padding:10px!important;
    gap:8px!important;
  }
  .page-compare .compare-summary{
    gap:6px!important;
    margin-bottom:8px!important;
  }
  .page-compare .compare-summary div,
  .page-compare .compare-summary>div{
    min-height:68px!important;
    padding:9px 8px!important;
  }
  .page-compare #list{
    gap:8px!important;
  }
  .page-compare .cat-hd{
    min-height:62px!important;
    padding:10px!important;
  }
  .page-compare .cat-bd{
    padding:10px!important;
  }
  .page-compare .prod-card{
    margin-bottom:8px!important;
  }
}

/* Mobile refinement: simpler first screen and readable stage route */
@media(max-width:680px){
  .home-pro .hero-main{
    padding:16px!important;
    border-radius:18px!important;
  }
  .home-pro .eyebrow{
    min-height:22px!important;
    padding:0 8px!important;
    font-size:11px!important;
  }
  .home-pro .hero h1{
    margin:9px 0 6px!important;
    font-size:24px!important;
    line-height:1.22!important;
  }
  .home-pro .hero p{
    font-size:13px!important;
    line-height:1.5!important;
  }
  .home-pro .hero-actions{
    margin-top:13px!important;
    gap:8px!important;
  }
  .home-pro .hero-actions .btn{
    min-height:40px!important;
    border-radius:12px!important;
  }

  .home-pro>.dashboard-summary{
    gap:8px!important;
  }
  .home-pro>.dashboard-summary .metric-card{
    min-height:86px!important;
    padding:10px!important;
    border-radius:15px!important;
  }
  .home-pro>.dashboard-summary .iconbox{
    width:28px!important;
    height:28px!important;
    margin-bottom:7px!important;
  }
  .home-pro>.dashboard-summary .metric-card span:not(.iconbox){
    font-size:11px!important;
    line-height:1.2!important;
  }
  .home-pro>.dashboard-summary .metric-card b{
    margin-top:4px!important;
    font-size:18px!important;
    line-height:1.18!important;
  }
  .home-pro>.dashboard-summary .metric-card em{
    margin-top:3px!important;
    font-size:10px!important;
  }

  .home-pro>.live-widgets .progress-timeline-card{
    padding:12px!important;
  }
  .home-pro .home-progress-line{
    min-height:60px!important;
    padding:6px 0 0!important;
  }
  .home-pro .home-progress-line::before{
    top:21px!important;
  }
  .home-pro .home-step{
    flex:1 0 74px!important;
    min-width:74px!important;
    padding:0 3px!important;
  }
  .home-pro .home-step::before{
    width:18px!important;
    height:18px!important;
    margin:4px auto 6px!important;
  }
  .home-pro .home-step b{
    max-width:64px!important;
    min-height:16px!important;
    margin:0 auto!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
    white-space:normal!important;
    font-size:11px!important;
    line-height:1.25!important;
    word-break:keep-all!important;
  }
}

@media(max-width:680px){
  .fresh-email-required-panel{padding:20px 18px}
  .fresh-email-required-panel h2{font-size:20px}
  .fresh-email-required-actions{grid-template-columns:1fr}
  .home-pro .hero-main{padding:14px!important}
  .home-pro>.live-widgets .progress-timeline-card{padding:10px 12px!important}
}

/* Mobile rhythm: prevent parent gaps and card margins from stacking. */
@media(max-width:680px){
  .toolbar-row,
  .tabs,
  .mode-card,
  .card,
  .panel,
  .pool-area,
  .group-area{
    margin-bottom:6px!important;
  }

  .home-pro{
    gap:0!important;
  }
  .home-pro>.hero,
  .home-pro>.dashboard-summary,
  .home-pro>.live-widgets{
    margin-bottom:6px!important;
  }
  .home-pro>.layout,
  .home-pro>.layout>.stack,
  .home-pro>.layout>aside.stack{
    gap:6px!important;
  }
  .home-pro .layout .card{
    margin-bottom:0!important;
  }

  .page-compare .compare-titlebar,
  .page-compare .compare-summary{
    margin-bottom:6px!important;
  }
  .page-compare .compare-toolbar{
    margin:6px 0!important;
  }
  .page-compare #list{
    gap:6px!important;
  }
}

/* Mobile density for the remaining feature pages. */
@media(max-width:680px){
  .header-bar,
  .page-header{
    margin-bottom:6px!important;
  }
  .container>.subtitle,
  .container>.tip,
  .container>.summary,
  .container>.quick-add,
  .container>.bulk-actions,
  .container>.stats,
  .container>.diary-card,
  .container>[style*="margin-bottom:14px"],
  .container>[style*="margin-bottom:16px"]{
    margin-bottom:6px!important;
  }
  .container>.tip{
    margin-top:0!important;
  }
  .container>[style*="margin-top:16px"]{
    margin-top:6px!important;
  }

  .parent-card,
  .diary-card,
  .cat-group{
    margin-bottom:6px!important;
  }

  .flow-hero{
    margin-bottom:6px!important;
  }
  .flow-main,
  .timeline,
  .knowledge-doc{
    gap:6px!important;
  }
  .timeline>.step{
    margin-bottom:0!important;
  }
  .type-switch,
  .progress-bar,
  .flow-bulk-actions{
    margin-bottom:6px!important;
  }

  .section-title{
    margin:6px 0!important;
  }
  .tools-grid,
  .tool-grid,
  .calculator-grid,
  .feature-grid{
    gap:6px!important;
  }

  #bigSummary,
  #searchResults{
    margin-bottom:6px!important;
  }
  .page-compare #compareSummary+div{
    margin:0 2px 6px!important;
  }
}

/* Final mint learning-card theme layer. Keep this at the end. */
:root {
  --fresh-bg: #bff1df;
  --fresh-card: #fffaf7;
  --fresh-soft: #f5f0ec;
  --fresh-coral: #4b4f56;
  --fresh-coral-deep: #343840;
  --fresh-coral-soft: #f4dde3;
  --fresh-green: #64d8ae;
  --fresh-green-soft: #dff8ec;
  --fresh-blue: #a79af5;
  --fresh-blue-soft: #e9e3ff;
  --fresh-amber: #f0b977;
  --fresh-amber-soft: #ffe7c7;
  --fresh-pink: #f3a8b1;
  --fresh-pink-soft: #ffd9de;
  --fresh-mint: #bff1df;
  --fresh-mint-deep: #70d9b7;
  --fresh-text: #151519;
  --fresh-muted: #68615d;
  --fresh-subtle: #a49b96;
  --fresh-line: #eee6df;
  --fresh-shadow: 0 26px 70px rgba(65, 93, 81, .14);
  --primary: #4b4f56;
  --primary-light: #f4dde3;
  --bg: #bff1df;
  --card: #fffaf7;
  --text: #151519;
  --text2: #68615d;
  --text3: #a49b96;
  --border: #eee6df;
  --border2: #eee6df;
  --hover: #fff2f4;
}

html {
  background:
    radial-gradient(circle at 12% 7%, rgba(255,255,255,.68), transparent 28%),
    linear-gradient(135deg, #c7f3df 0%, #b6ecd8 45%, #bff0df 100%) !important;
}

body {
  background:
    radial-gradient(circle at 10% -8%, rgba(255,255,255,.76), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255,236,205,.42), transparent 28%),
    linear-gradient(135deg, #c6f3df 0%, #b8eedc 46%, #c9f2e4 100%) !important;
  color: var(--fresh-text) !important;
}

.fresh-navbar {
  border-color: rgba(255,255,255,.82) !important;
  border-radius: 22px !important;
  background: rgba(255,250,247,.9) !important;
  box-shadow: 0 24px 58px rgba(65, 93, 81, .13) !important;
}

.fresh-brand .fresh-iconbox,
.fresh-user-link,
.btn-primary,
.btn-p,
.btn.primary,
.save-btn,
.add-btn,
.nav-action,
.submit-btn {
  color: #fff !important;
  background: #4b4f56 !important;
  border-color: transparent !important;
  box-shadow: 0 16px 34px rgba(75, 79, 86, .22) !important;
}

.fresh-navlinks a.active,
.fresh-navlinks a:hover {
  color: #fff !important;
  background: #4b4f56 !important;
}

.fresh-iconbox,
.iconbox {
  color: #4b4f56 !important;
  background: #f4dde3 !important;
}

.fresh-iconbox.green,
.iconbox.green {
  color: #237d60 !important;
  background: #dff8ec !important;
}

.fresh-iconbox.blue,
.iconbox.blue {
  color: #5d4fd0 !important;
  background: #e9e3ff !important;
}

.card,
.panel,
.parent-card,
.section,
.summary,
.tool-card,
.calc-card,
.result-card,
.category-card,
.entry-card,
.diary-card,
.process-card,
.check-card,
.hero-main,
.state-card,
.metric-card,
.tool,
.live-widget,
.progress-summary-card,
.progress-timeline-card,
.progress-action-card {
  border-color: rgba(255,255,255,.82) !important;
  border-radius: 22px !important;
  background: rgba(255,250,247,.88) !important;
  box-shadow: 0 24px 64px rgba(65, 93, 81, .13) !important;
}

.hero-main,
.quote-card,
.focus-card {
  background: linear-gradient(135deg, rgba(255,250,247,.96), rgba(255,243,236,.9)) !important;
}

.fresh-account-menu,
.fresh-sponsor-panel,
.fresh-email-required-panel {
  border-color: rgba(255,255,255,.84) !important;
  border-radius: 22px !important;
  background: rgba(255,250,247,.98) !important;
  box-shadow: 0 26px 72px rgba(52, 67, 58, .2) !important;
}

input,
select,
textarea,
.input {
  border-color: #eee2dc !important;
  border-radius: 14px !important;
  background: rgba(255,250,247,.96) !important;
  color: var(--fresh-text) !important;
}

input:focus,
select:focus,
textarea:focus,
.input:focus {
  border-color: #4b4f56 !important;
  box-shadow: 0 0 0 4px rgba(75, 79, 86, .1) !important;
}

.bar-fill,
.budget-fill,
.stage-fill {
  background: linear-gradient(90deg, #4b4f56, #64d8ae) !important;
}

.toast {
  background: #4b4f56 !important;
  box-shadow: 0 14px 32px rgba(75, 79, 86, .2) !important;
}

.fresh-mobile-nav {
  border-color: rgba(255,255,255,.82) !important;
  background: rgba(255,250,247,.94) !important;
  box-shadow: 0 -18px 44px rgba(65, 93, 81, .12) !important;
}

.fresh-mobile-nav a.active {
  color: #4b4f56 !important;
  background: #f4dde3 !important;
}

.btn:not(.primary):not(.btn-p),
.btn-o,
.row-action,
.panel-action,
.more,
.card-hd .more {
  color: #4b4f56 !important;
  border-color: #eee2dc !important;
  background: rgba(255,250,247,.88) !important;
}

.pill,
.eyebrow,
.rhythm-tag,
.fresh-step.current,
.kb-label-s,
.tag,
.badge {
  color: #4b4f56 !important;
  background: #f4dde3 !important;
}

.state-item.good,
.fresh-step.done,
.step.done .step-card,
.action-reminder,
.kb-label-a {
  background: #dff8ec !important;
  border-color: #bee9d4 !important;
}

.state-item.warn,
.kb-label-r {
  background: #ffe7c7 !important;
  border-color: #f4d2a0 !important;
}

.metric-card:nth-child(4n+1),
.tool:nth-child(4n+1),
.live-widget:nth-child(4n+1),
.category-card:nth-child(4n+1),
.entry-card:nth-child(4n+1),
.diary-card:nth-child(4n+1),
.process-card:nth-child(4n+1),
.check-card:nth-child(4n+1),
.state-item:nth-child(4n+1) {
  background: #ffd9de !important;
}

.metric-card:nth-child(4n+2),
.tool:nth-child(4n+2),
.live-widget:nth-child(4n+2),
.category-card:nth-child(4n+2),
.entry-card:nth-child(4n+2),
.diary-card:nth-child(4n+2),
.process-card:nth-child(4n+2),
.check-card:nth-child(4n+2),
.state-item:nth-child(4n+2) {
  background: #ffe7c7 !important;
}

.metric-card:nth-child(4n+3),
.tool:nth-child(4n+3),
.live-widget:nth-child(4n+3),
.category-card:nth-child(4n+3),
.entry-card:nth-child(4n+3),
.diary-card:nth-child(4n+3),
.process-card:nth-child(4n+3),
.check-card:nth-child(4n+3),
.state-item:nth-child(4n+3) {
  background: #e9e3ff !important;
}

.metric-card:nth-child(4n),
.tool:nth-child(4n),
.live-widget:nth-child(4n),
.category-card:nth-child(4n),
.entry-card:nth-child(4n),
.diary-card:nth-child(4n),
.process-card:nth-child(4n),
.check-card:nth-child(4n),
.state-item:nth-child(4n) {
  background: #dff8ec !important;
}

.metric-card,
.tool,
.live-widget,
.category-card,
.entry-card,
.diary-card,
.process-card,
.check-card,
.state-item {
  border-color: rgba(255,255,255,.68) !important;
}

.fresh-donut::before,
.pie-center,
.health-ring::before,
.budget-ring-inner {
  background: #fffaf7 !important;
}

.health-ring,
.pie,
.fresh-donut,
.budget-ring {
  background: conic-gradient(#4b4f56 var(--pct, 62%), #f4dde3 0) !important;
}

.fresh-progress-bar,
.budget-bar,
.stage-bar,
.bar,
.bar-track,
.rhythm-line {
  background: rgba(75, 79, 86,.08) !important;
}

table,
th,
td,
.panel-head,
.card-hd,
.admin-table-head,
.budget-line,
.fresh-todo,
.fresh-buy,
.buy-item,
.stage-row,
.budget-row {
  border-color: #eee2dc !important;
}

th,
.muted,
.fresh-muted,
.admin-card span,
.admin-card small,
.admin-user,
.admin-top p,
.admin-field label {
  color: #766f6a !important;
}

.admin-side,
.admin-main,
.admin-card,
.admin-login-card,
.auth-card {
  border-color: rgba(255,255,255,.82) !important;
  border-radius: 22px !important;
  background: rgba(255,250,247,.9) !important;
  box-shadow: 0 24px 64px rgba(65, 93, 81, .13) !important;
}

.admin-logo {
  border-radius: 14px !important;
  background: #4b4f56 !important;
  box-shadow: 0 16px 34px rgba(75, 79, 86,.2) !important;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: #fff !important;
  background: #4b4f56 !important;
}

.admin-user,
.admin-login {
  background: rgba(191,241,223,.58) !important;
}

.admin-kicker,
.panel-action,
.more,
.card-hd .more,
.fresh-account-menu a:hover,
.fresh-account-menu button:hover {
  color: #4b4f56 !important;
}

.admin-search,
.auth-page {
  background: transparent !important;
}

.page,
.container,
.admin-shell {
  color: var(--fresh-text) !important;
}


.fresh-nav-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.spa-shell {
  min-height: 100vh;
  overflow: hidden;
}

.spa-frame-shell {
  position: fixed;
  left: 0;
  right: 0;
  top: 86px;
  bottom: 0;
  overflow: hidden;
}

.spa-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: transparent;
  transition: opacity .16s ease;
}

.spa-frame.is-loading {
  opacity: .38;
}

.spa-frame-loading[hidden] {
  display: none;
}

.spa-frame-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 9px;
  align-content: center;
  color: #68615d;
  background: rgba(255,250,247,.38);
  pointer-events: none;
}

.spa-frame-loading span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(75,79,86,.16);
  border-top-color: #4b4f56;
  animation: spa-spin .72s linear infinite;
}

.spa-frame-loading b {
  font-size: 12px;
  letter-spacing: 0;
}

.fresh-embedded body,
body.fresh-embedded-body {
  min-height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 22px !important;
}

.fresh-embedded .fresh-navbar,
.fresh-embedded .fresh-mobile-nav,
.fresh-embedded .fresh-project-popover,
.fresh-embedded .site-icp,
.fresh-embedded .navbar,
.fresh-embedded nav.navbar,
.fresh-embedded .topnav,
.fresh-embedded .bottom-tab {
  display: none !important;
}

@keyframes spa-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .fresh-nav-actions { grid-column: 2; grid-row: 1; }
  .spa-frame-shell { top: 76px; bottom: 68px; }
}

@media (max-width: 680px) {
  .fresh-nav-actions { grid-column: 2; grid-row: 1; gap: 6px; }
  .spa-frame-shell { top: 66px; bottom: 64px; }
}

/* reference dashboard theme: soft gray shell, purple/pink accents */
:root {
  --fresh-bg: #dfe8ed;
  --fresh-card: #ffffff;
  --fresh-soft: #f4f3fb;
  --fresh-coral: #7661d9;
  --fresh-coral-deep: #5e48c6;
  --fresh-coral-soft: #f0edff;
  --fresh-green: #80c7d7;
  --fresh-green-soft: #eefaff;
  --fresh-blue: #7661d9;
  --fresh-blue-soft: #f0edff;
  --fresh-amber: #f0c46f;
  --fresh-pink: #ee8fbb;
  --fresh-pink-soft: #fff0f7;
  --fresh-ink: #222631;
  --fresh-text: #222631;
  --fresh-muted: #747987;
  --fresh-subtle: #a8adb8;
  --fresh-line: #edf0f6;
  --fresh-shadow: 0 22px 58px rgba(42, 48, 68, .09);
  --primary: var(--fresh-coral);
  --primary-light: var(--fresh-coral-soft);
  --bg: var(--fresh-bg);
  --card: var(--fresh-card);
  --text: var(--fresh-text);
  --text2: var(--fresh-muted);
  --text3: var(--fresh-subtle);
  --border: var(--fresh-line);
  --border2: var(--fresh-line);
  --hover: #f7f5ff;
  --coral: var(--fresh-coral);
  --coral-deep: var(--fresh-coral-deep);
  --green: #72bfcf;
  --blue: var(--fresh-coral);
  --amber: var(--fresh-amber);
  --red: #d95c78;
  --line: var(--fresh-line);
  --paper: #ffffff;
  --soft: var(--fresh-soft);
  --soft-coral: var(--fresh-coral-soft);
  --soft-green: var(--fresh-green-soft);
  --soft-blue: var(--fresh-blue-soft);
  --shadow: var(--fresh-shadow);
  --shadow-soft: 0 12px 30px rgba(42, 48, 68, .07);
}

html,
body {
  background: #dfe8ed !important;
}

body {
  color: var(--fresh-text) !important;
}

.spa-shell {
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.78), transparent 28%),
    radial-gradient(circle at 86% 2%, rgba(238,143,187,.16), transparent 24%),
    linear-gradient(135deg, #dbe6eb 0%, #eef3f7 46%, #dfe8ed 100%) !important;
}

.fresh-navbar {
  width: min(1320px, calc(100% - 44px)) !important;
  min-height: 68px !important;
  margin-top: 18px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(255,255,255,.84) !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 24px 66px rgba(42,48,68,.1) !important;
}

.fresh-brand {
  font-size: 18px !important;
  color: var(--fresh-ink) !important;
}

.fresh-brand small {
  color: var(--fresh-subtle) !important;
}

.fresh-brand .fresh-iconbox {
  color: #fff !important;
  background: radial-gradient(circle at 30% 25%, #f4a5c8 0%, #a675ef 44%, #7661d9 100%) !important;
  box-shadow: 0 15px 30px rgba(118,97,217,.24) !important;
}

.fresh-navlinks {
  padding: 4px !important;
  border-radius: 18px !important;
  background: #f7f7fb !important;
}

.fresh-navlinks a {
  min-height: 38px !important;
  padding: 0 13px !important;
  border-radius: 14px !important;
  color: #8a8f9d !important;
}

.fresh-navlinks a:hover,
.fresh-navlinks a.active {
  color: #fff !important;
  background: linear-gradient(135deg, #7661d9 0%, #6d57d3 100%) !important;
  box-shadow: 0 12px 24px rgba(118,97,217,.22) !important;
}

.fresh-user-link,
.fresh-notice-link,
.nav-action,
.btn.primary,
.btn-p,
.btn-primary,
.save-btn,
.add-btn,
.submit-btn,
button.primary,
.primary-btn {
  border-color: transparent !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ee8fbb 0%, #7661d9 100%) !important;
  box-shadow: 0 16px 34px rgba(118,97,217,.22) !important;
}

.fresh-notice-link {
  width: auto !important;
  min-width: 76px !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 13px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ee8fbb 0%, #7661d9 100%) !important;
  box-shadow: 0 14px 28px rgba(118,97,217,.2) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.fresh-notice-link svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  flex: 0 0 17px !important;
  stroke: currentColor !important;
  fill: none !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.fresh-notice-link span {
  display: inline-block !important;
  white-space: nowrap !important;
}

.fresh-iconbox,
.iconbox {
  color: #7661d9 !important;
  background: #f0edff !important;
}

.fresh-iconbox.green,
.iconbox.green {
  color: #63b7c9 !important;
  background: #eefaff !important;
}

.fresh-iconbox.blue,
.iconbox.blue {
  color: #ee8fbb !important;
  background: #fff0f7 !important;
}

.page,
.admin-page,
.account-page,
.auth-page {
  background: transparent !important;
}

.spa-frame-shell {
  width: min(1320px, calc(100% - 44px)) !important;
  left: 50% !important;
  right: auto !important;
  top: 102px !important;
  bottom: 22px !important;
  transform: translateX(-50%) !important;
  border: 1px solid rgba(255,255,255,.82) !important;
  border-radius: 30px !important;
  background: rgba(255,255,255,.48) !important;
  box-shadow: 0 30px 80px rgba(42,48,68,.12) !important;
}

.spa-frame {
  border-radius: inherit !important;
  background: transparent !important;
}

.fresh-embedded body,
body.fresh-embedded-body {
  background: transparent !important;
}

.card,
.panel,
.parent-card,
.section,
.tool-card,
.calc-card,
.result-card,
.category-card,
.entry-card,
.diary-card,
.process-card,
.check-card,
.hero-main,
.state-card,
.metric-card,
.tool,
.live-widget,
.quote-card,
.focus-card,
.progress-summary-card,
.progress-timeline-card,
.progress-action-card,
.fresh-account-menu,
.fresh-project-popover,
.fresh-sponsor-panel,
.fresh-email-required-panel,
.auth-card,
.admin-card,
.account-card,
table,
.table-wrap {
  border-color: rgba(255,255,255,.88) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 20px 54px rgba(42,48,68,.08) !important;
}

.hero-main,
.focus-card,
.quote-card,
.live-widget {
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(247,245,255,.9)) !important;
}

.metric-card:nth-child(2n) .iconbox,
.state-item.warn .iconbox,
.live-widget:nth-child(3n) .iconbox {
  color: #ee8fbb !important;
  background: #fff0f7 !important;
}

.panel-head,
.card-hd,
.fresh-account-user,
.fresh-account-status,
thead,
.table-head {
  border-color: var(--fresh-line) !important;
}

table th,
thead th,
.table-head,
.fresh-account-user b,
.panel-title,
.card-hd h3,
h1,
h2,
h3 {
  color: var(--fresh-ink) !important;
}

table td,
table th,
.muted,
.subtle,
.empty,
.fresh-account-user span {
  color: var(--fresh-muted) !important;
}

input,
select,
textarea,
.input,
.search-input {
  min-height: 40px;
  border-color: #eceef6 !important;
  border-radius: 14px !important;
  color: var(--fresh-ink) !important;
  background: #f8f8fc !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72) !important;
}

input:focus,
select:focus,
textarea:focus,
.input:focus,
.search-input:focus {
  border-color: #a99af0 !important;
  box-shadow: 0 0 0 4px rgba(118,97,217,.12) !important;
}

.budget-fill,
.stage-fill,
.bar-fill,
.fresh-progress-bar i,
.progress-fill {
  background: linear-gradient(90deg, #ee8fbb 0%, #7661d9 100%) !important;
}

.budget-bar,
.stage-bar,
.bar,
.fresh-progress-bar {
  background: #eef0f6 !important;
}

.fresh-douyin-card,
.budget-note,
.eyebrow,
.rhythm-tag,
.fresh-step.current {
  border-color: #f8d7e8 !important;
  color: #d86fa4 !important;
  background: #fff0f7 !important;
}

.toast,
.tooltip,
.popover {
  background: #222631 !important;
  color: #fff !important;
}

.admin-shell,
.account-shell {
  gap: 22px !important;
}

.account-shell {
  border-color: rgba(255,255,255,.88) !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,.72) !important;
  box-shadow: 0 24px 66px rgba(42,48,68,.1) !important;
}

.admin-side,
.sidebar {
  border-color: rgba(255,255,255,.88) !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 24px 66px rgba(42,48,68,.1) !important;
}

.admin-main,
.content {
  border-color: rgba(255,255,255,.88) !important;
  border-radius: 26px !important;
  background: rgba(255,255,255,.82) !important;
  box-shadow: 0 24px 66px rgba(42,48,68,.08) !important;
}

.admin-logo,
.brand-mark,
.avatar {
  color: #fff !important;
  background: radial-gradient(circle at 30% 25%, #f4a5c8 0%, #a675ef 44%, #7661d9 100%) !important;
  box-shadow: 0 15px 30px rgba(118,97,217,.24) !important;
}

.admin-kicker,
.back,
.panel-action,
.more,
.card-hd .more {
  color: #7661d9 !important;
}

.admin-nav a,
.tab {
  color: #8a8f9d !important;
  border-radius: 14px !important;
}

.admin-nav a.active,
.admin-nav a:hover,
.tab.active,
.tab:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #7661d9 0%, #6d57d3 100%) !important;
  box-shadow: 0 12px 24px rgba(118,97,217,.18) !important;
}

.admin-user,
.security-note {
  border: 1px solid #f5d7e7 !important;
  background: linear-gradient(135deg, #fff0f7, #f2efff) !important;
  color: #747987 !important;
}

.pill,
.row-action {
  color: #7661d9 !important;
  background: #f0edff !important;
}

.row-action:hover {
  background: #e7e1ff !important;
}

.budget-ring {
  background: conic-gradient(#7661d9 var(--pct,0%), #f0edff 0) !important;
}

.budget-ring-inner,
.admin-login-card {
  border-color: rgba(255,255,255,.88) !important;
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(42,48,68,.09) !important;
}

.message.success {
  color: #4e9caf !important;
  background: #eefaff !important;
  border-color: #c8edf5 !important;
}

.message.error,
.admin-msg.error {
  color: #d95c78 !important;
  background: #fff0f7 !important;
  border-color: #f8d7e8 !important;
}

.site-icp {
  position: fixed;
  left: 50%;
  bottom: 8px;
  z-index: 1800;
  transform: translateX(-50%);
  padding: 4px 9px;
  border-radius: 999px;
  color: rgba(116,121,135,.92);
  background: rgba(255,255,255,.58);
  box-shadow: 0 8px 20px rgba(42,48,68,.06);
  backdrop-filter: blur(10px);
  font-size: 12px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}

.site-icp:hover {
  color: #7661d9;
  background: rgba(255,255,255,.82);
}

.spa-shell .site-icp {
  bottom: 30px !important;
}

.auth-page {
  padding: 28px !important;
}

.auth-card {
  width: min(460px, 100%) !important;
  padding: 34px 34px 30px !important;
}

.auth-card h1 {
  margin-bottom: 10px !important;
  font-size: 30px !important;
  line-height: 1.18 !important;
}

.auth-card p {
  margin-bottom: 24px !important;
  font-size: 14px !important;
}

.auth-card .field {
  gap: 8px !important;
  margin-bottom: 16px !important;
}

.auth-card .field label {
  font-size: 13px !important;
}

.auth-card input,
.auth-card select {
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 14px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
}

.auth-card .btn.primary,
.auth-card button[type="submit"] {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 850 !important;
  line-height: 48px !important;
}

.auth-card .auth-links {
  margin-top: 18px !important;
  font-size: 13px !important;
}

body:has(.admin-shell) {
  background: #f7f7f7 !important;
}

.admin-shell {
  width: 100% !important;
  min-height: 100vh !important;
  margin: 0 !important;
  grid-template-columns: 220px minmax(0,1fr) !important;
  gap: 0 !important;
  color: #111 !important;
  background: #f7f7f7 !important;
}

.admin-side {
  min-height: 100vh !important;
  padding: 28px 14px !important;
  border: 0 !important;
  border-right: 1px solid #ededed !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.admin-brand {
  margin: 0 -14px 22px !important;
  padding: 0 22px 24px !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.admin-logo {
  display: none !important;
}

.admin-nav a {
  min-height: 44px !important;
  border-radius: 8px !important;
  color: #222 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: #fff !important;
  background: #050505 !important;
}

.admin-user {
  border: 1px solid #eee !important;
  border-radius: 12px !important;
  background: #fafafa !important;
  color: #777 !important;
  box-shadow: none !important;
}

.admin-main {
  min-height: 100vh !important;
  padding: 0 28px 44px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f7f7f7 !important;
  box-shadow: none !important;
}

.admin-top {
  min-height: 76px !important;
  margin: 0 -28px 24px !important;
  padding: 0 28px !important;
  align-items: center !important;
  border-bottom: 1px solid #ededed !important;
  background: #fff !important;
}

.admin-kicker,
.admin-top p {
  color: #777 !important;
}

.admin-top h1 {
  font-size: 22px !important;
}

.admin-actions {
  flex-wrap: wrap !important;
}

.admin-search {
  width: 260px !important;
  height: 42px !important;
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  background: #fff !important;
}

.admin-grid {
  grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 14px !important;
}

.admin-card {
  border: 1px solid #ececec !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.04) !important;
}

.admin-content {
  grid-template-columns: 1fr !important;
  gap: 18px !important;
}

.admin-table-card {
  padding: 0 !important;
}

.admin-table-head {
  min-height: 70px !important;
  padding: 0 22px !important;
  border-bottom-color: #eee !important;
}

table th,
table td {
  padding: 18px 22px !important;
  border-bottom-color: #f1f1f1 !important;
}

table th {
  color: #777 !important;
  font-weight: 900 !important;
}

.pill {
  color: #111 !important;
  background: #f4f4f4 !important;
}

.row-action,
.detail-actions button {
  min-height: 34px !important;
  border: 1px solid #eee !important;
  border-radius: 999px !important;
  color: #111 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.row-action:hover,
.detail-actions button:hover {
  background: #f5f5f5 !important;
}

.row-action:disabled,
.detail-actions button:disabled {
  opacity: .5 !important;
  cursor: not-allowed !important;
}

.row-action.beta,
.detail-actions button:first-child {
  color: #111 !important;
  background: #f3f3f3 !important;
}

.row-action.danger,
.detail-actions .danger {
  color: #d04444 !important;
  background: #fff6f6 !important;
}

.password-box {
  border-color: #eee !important;
  background: #fafafa !important;
}

@media (max-width: 680px) {
  .site-icp {
    bottom: 10px;
    font-size: 11px;
  }

  .spa-shell .site-icp {
    bottom: 72px;
  }

  .auth-page {
    padding: 18px !important;
  }

  .auth-card {
    width: 100% !important;
    padding: 30px 24px 26px !important;
  }

  .auth-card h1 {
    font-size: 28px !important;
  }
}

@media (max-width: 900px) {
  .fresh-navbar {
    width: min(100% - 24px, 1320px) !important;
    min-height: 64px !important;
    border-radius: 22px !important;
  }

  .spa-frame-shell {
    width: calc(100% - 24px) !important;
    top: 88px !important;
    bottom: 76px !important;
    border-radius: 24px !important;
  }
}

@media (max-width: 680px) {
  .fresh-navbar {
    width: calc(100% - 18px) !important;
    margin-top: 9px !important;
    border-radius: 20px !important;
  }

  .fresh-navlinks {
    background: transparent !important;
  }

  .fresh-notice-link {
    min-width: 42px !important;
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 14px !important;
  }

  .fresh-notice-link span {
    display: none !important;
  }

  .spa-frame-shell {
    width: calc(100% - 18px) !important;
    top: 76px !important;
    bottom: 72px !important;
    border-radius: 22px !important;
  }
}

/* clean finance dashboard palette: white, graphite, warm coral */
:root {
  --fresh-bg: #efefed;
  --fresh-card: #ffffff;
  --fresh-soft: #f5f4f2;
  --fresh-coral: #ec5f45;
  --fresh-coral-deep: #d94b35;
  --fresh-coral-soft: #fff0ec;
  --fresh-green: #58a976;
  --fresh-green-soft: #edf8f1;
  --fresh-blue: #4d5564;
  --fresh-blue-soft: #f1f2f4;
  --fresh-amber: #d99a42;
  --fresh-pink: #ec5f45;
  --fresh-pink-soft: #fff0ec;
  --fresh-ink: #202124;
  --fresh-text: #202124;
  --fresh-muted: #6f747d;
  --fresh-subtle: #a1a6ae;
  --fresh-line: #ececec;
  --fresh-shadow: 0 18px 46px rgba(22, 24, 28, .07);
  --primary: var(--fresh-coral);
  --primary-light: var(--fresh-coral-soft);
  --bg: var(--fresh-bg);
  --card: var(--fresh-card);
  --text: var(--fresh-text);
  --text2: var(--fresh-muted);
  --text3: var(--fresh-subtle);
  --border: var(--fresh-line);
  --border2: var(--fresh-line);
  --hover: #fff6f3;
  --coral: var(--fresh-coral);
  --coral-deep: var(--fresh-coral-deep);
  --green: var(--fresh-green);
  --blue: var(--fresh-blue);
  --amber: var(--fresh-amber);
  --red: #d94b35;
  --line: var(--fresh-line);
  --paper: #ffffff;
  --soft: var(--fresh-soft);
  --soft-coral: var(--fresh-coral-soft);
  --soft-green: var(--fresh-green-soft);
  --soft-blue: var(--fresh-blue-soft);
  --shadow: var(--fresh-shadow);
  --shadow-soft: 0 10px 26px rgba(22,24,28,.05);
}

html,
body {
  background: #efefed !important;
}

.spa-shell {
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.76), transparent 26%),
    linear-gradient(135deg, #eeeeec 0%, #f7f7f5 48%, #e7e7e4 100%) !important;
}

.fresh-navbar {
  border-color: rgba(255,255,255,.9) !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 18px 46px rgba(22,24,28,.07) !important;
}

.fresh-brand,
.admin-brand,
h1,
h2,
h3,
.panel-title,
.card-hd h3 {
  color: #202124 !important;
}

.fresh-brand .fresh-iconbox {
  color: #fff !important;
  background: #202124 !important;
  box-shadow: 0 14px 28px rgba(22,24,28,.18) !important;
}

.fresh-navlinks {
  background: #f5f4f2 !important;
}

.fresh-navlinks a {
  color: #6f747d !important;
}

.fresh-navlinks a:hover {
  color: #ec5f45 !important;
  background: #fff0ec !important;
}

.fresh-navlinks a.active {
  color: #fff !important;
  background: #202124 !important;
  box-shadow: 0 12px 24px rgba(22,24,28,.16) !important;
}

.fresh-user-link,
.fresh-notice-link,
.nav-action,
.btn.primary,
.btn-p,
.btn-primary,
.save-btn,
.add-btn,
.submit-btn,
button.primary,
.primary-btn {
  border-color: transparent !important;
  color: #fff !important;
  background: #ec5f45 !important;
  box-shadow: 0 14px 30px rgba(236,95,69,.22) !important;
}

.fresh-iconbox,
.iconbox {
  color: #ec5f45 !important;
  background: #fff0ec !important;
}

.fresh-iconbox.green,
.iconbox.green {
  color: #58a976 !important;
  background: #edf8f1 !important;
}

.fresh-iconbox.blue,
.iconbox.blue {
  color: #4d5564 !important;
  background: #f1f2f4 !important;
}

.card,
.panel,
.parent-card,
.section,
.tool-card,
.calc-card,
.result-card,
.category-card,
.entry-card,
.diary-card,
.process-card,
.check-card,
.hero-main,
.state-card,
.metric-card,
.tool,
.live-widget,
.quote-card,
.focus-card,
.progress-summary-card,
.progress-timeline-card,
.progress-action-card,
.fresh-account-menu,
.fresh-project-popover,
.fresh-sponsor-panel,
.fresh-email-required-panel,
.auth-card,
.admin-card,
.account-card,
table,
.table-wrap {
  border-color: rgba(255,255,255,.92) !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 18px 46px rgba(22,24,28,.06) !important;
}

.hero-main,
.focus-card,
.quote-card,
.live-widget {
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(250,249,247,.92)) !important;
}

input,
select,
textarea,
.input,
.search-input {
  border-color: #e9e9e7 !important;
  color: #202124 !important;
  background: #fafafa !important;
}

input:focus,
select:focus,
textarea:focus,
.input:focus,
.search-input:focus {
  border-color: #ec5f45 !important;
  box-shadow: 0 0 0 4px rgba(236,95,69,.12) !important;
}

.budget-fill,
.stage-fill,
.bar-fill,
.fresh-progress-bar i,
.progress-fill {
  background: linear-gradient(90deg, #ec5f45 0%, #f18a57 100%) !important;
}

.budget-bar,
.stage-bar,
.bar,
.fresh-progress-bar {
  background: #eeeeec !important;
}

.fresh-douyin-card,
.budget-note,
.eyebrow,
.rhythm-tag,
.fresh-step.current {
  border-color: #ffd8ce !important;
  color: #d94b35 !important;
  background: #fff0ec !important;
}

.site-icp {
  color: rgba(95,99,107,.9) !important;
  background: rgba(255,255,255,.62) !important;
}

.site-icp:hover {
  color: #ec5f45 !important;
}

@media (max-width: 680px) {
  .home-pro #homeBudgetCard {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .home-pro #homeBudgetCard .card-bd {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 12px 13px 16px !important;
    padding-bottom: 16px !important;
  }

  .home-pro #budgetArea {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    color: var(--fresh-text) !important;
  }

  .home-pro #budgetArea > div:first-child {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 0 !important;
  }

  .home-pro #budgetArea > div:first-child > div:last-child {
    min-width: 76px !important;
  }

  .home-pro #budgetArea:empty::before {
    content: "预算数据加载中，请稍等";
    min-height: 118px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--fresh-muted);
    background: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 760;
  }

  .home-pro #sliderBar {
    transform: none !important;
  }
}

/* mobile shell bottom nav: rounded desktop-like capsule */
@media (max-width: 680px) {
  .fresh-navbar {
    width: calc(100% - 28px) !important;
    margin: 9px auto 0 !important;
  }

  body.spa-shell {
    padding-bottom: 88px !important;
  }

  .spa-frame-shell {
    left: 50% !important;
    right: auto !important;
    width: calc(100% - 28px) !important;
    max-width: none !important;
    transform: translateX(-50%) !important;
    top: 89px !important;
    bottom: calc(100px + env(safe-area-inset-bottom)) !important;
  }

  .fresh-embedded {
    padding-bottom: 18px !important;
  }

  .fresh-mobile-nav {
    left: 14px !important;
    right: 14px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    max-width: none !important;
    min-height: 72px !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 5px !important;
    align-items: center !important;
    padding: 7px !important;
    border: 1px solid rgba(255,255,255,.88) !important;
    border-radius: 26px !important;
    background: rgba(255,255,255,.9) !important;
    box-shadow: 0 -18px 44px rgba(42,48,68,.13), inset 0 1px 0 rgba(255,255,255,.75) !important;
    backdrop-filter: blur(18px) !important;
  }

  .fresh-mobile-nav a {
    min-width: 0 !important;
    min-height: 56px !important;
    height: 56px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    padding: 0 4px !important;
    border-radius: 20px !important;
    color: #8a8f9d !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
  }

  .fresh-mobile-nav .fresh-svg,
  .fresh-mobile-nav svg {
    width: 20px !important;
    height: 20px !important;
  }

  .fresh-mobile-nav a.active {
    color: #fff !important;
    background: #202124 !important;
    box-shadow: 0 12px 24px rgba(22,24,28,.16) !important;
  }

  .spa-shell .site-icp {
    bottom: calc(104px + env(safe-area-inset-bottom)) !important;
    z-index: 1250 !important;
    min-height: 20px !important;
    padding: 2px 10px !important;
    font-size: 10px !important;
  }
}

/* brand refresh: Jiangji logo */
.fresh-brand .fresh-iconbox,
.brand .iconbox,
.admin-logo {
  color: transparent !important;
  background-color: #fff !important;
  background-image: url('/assets/img/jiangji-logo-compact.png') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 72% auto !important;
  border: 1px solid rgba(32,33,36,.12) !important;
  box-shadow: 0 14px 28px rgba(22,24,28,.1) !important;
  overflow: hidden !important;
}

.fresh-brand .fresh-iconbox,
.brand .iconbox {
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  flex-basis: 58px !important;
}

.admin-logo {
  width: 58px !important;
  height: 58px !important;
}

.fresh-brand .fresh-iconbox svg,
.brand .iconbox svg {
  opacity: 0 !important;
}

@media (max-width: 640px) {
  .fresh-brand {
    min-width: 58px !important;
    width: 58px !important;
    flex: 0 0 58px !important;
  }

  .fresh-brand .fresh-iconbox {
    width: 58px !important;
    height: 58px !important;
    min-width: 58px !important;
    flex-basis: 58px !important;
    background-size: 72% auto !important;
  }

  .fresh-brand > span:not(.fresh-iconbox) {
    display: none !important;
  }
}

/* Mobile progress preview: keep the desktop-style timeline instead of the compact text strip. */
@media(max-width:680px){
  .home-pro>.live-widgets .progress-timeline-card{
    padding:18px 18px 20px!important;
    border-radius:18px!important;
    background:linear-gradient(135deg,#fffefd 0%,#f4fbf6 100%)!important;
  }
  .home-pro>.live-widgets .progress-timeline-card .live-head{
    margin-bottom:14px!important;
  }
  .home-pro>.live-widgets .progress-timeline-card .live-title{
    font-size:20px!important;
    line-height:1.2!important;
  }
  .home-pro>.live-widgets .progress-timeline-card .more{
    font-size:15px!important;
    font-weight:900!important;
  }
  .home-pro .home-progress-line{
    min-height:88px!important;
    padding:10px 0 2px!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    justify-content:space-between!important;
  }
  .home-pro .home-progress-line::before{
    top:30px!important;
    left:20px!important;
    right:20px!important;
    height:4px!important;
    border-radius:999px!important;
    background:#eeeae5!important;
  }
  .home-pro .home-step{
    flex:1 1 0!important;
    min-width:0!important;
    padding:0 1px!important;
    display:grid!important;
    justify-items:center!important;
    align-content:start!important;
    gap:6px!important;
    scroll-snap-align:none!important;
  }
  .home-pro .home-step::before{
    width:24px!important;
    height:24px!important;
    margin:0 auto 2px!important;
    border:3px solid #eeeae5!important;
    border-radius:50%!important;
    background:#fff!important;
    box-shadow:0 0 0 4px #fff!important;
  }
  .home-pro .home-step.done::before{
    border-color:var(--fresh-green)!important;
    background:var(--fresh-green)!important;
  }
  .home-pro .home-step.current::before{
    border-color:var(--fresh-coral)!important;
    background:#fff!important;
    box-shadow:0 0 0 5px rgba(228,91,63,.12)!important;
  }
  .home-pro .home-step span{
    display:block!important;
    color:var(--fresh-subtle)!important;
    font-size:9px!important;
    font-weight:900!important;
    line-height:1!important;
  }
  .home-pro .home-step b{
    width:44px!important;
    max-width:44px!important;
    min-height:28px!important;
    margin:0 auto!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    color:var(--fresh-text)!important;
    font-size:10px!important;
    font-weight:900!important;
    line-height:1.2!important;
    text-align:center!important;
    overflow:visible!important;
    white-space:normal!important;
    -webkit-line-clamp:unset!important;
  }
  .home-pro .home-step.done span,
  .home-pro .home-step.done b{
    color:var(--fresh-green)!important;
  }
  .home-pro .home-step.current span,
  .home-pro .home-step.current b{
    color:var(--fresh-coral)!important;
  }
}
