
.sw[data-v-2a59b452] {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--surface-3);
  padding: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.16s, border-color 0.16s;
}
.sw span[data-v-2a59b452] {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink-3);
  transition: transform 0.16s, background 0.16s;
}
.sw.on[data-v-2a59b452] {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(34, 211, 238, 0.5);
}
.sw.on span[data-v-2a59b452] {
  transform: translateX(18px);
  background: var(--brand);
}
.set-input.wide[data-v-2a59b452] {
  gap: 6px;
}
.set-input.wide input[type='time'][data-v-2a59b452] {
  width: 92px;
}
.set-input.wide span[data-v-2a59b452] {
  width: auto;
  font-size: 12px;
}
.import-box[data-v-2a59b452] {
  margin: 2px 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--surface-2);
}
.import-head[data-v-2a59b452] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.import-name[data-v-2a59b452] {
  font-size: 12.5px;
  color: var(--ink);
}
.import-x[data-v-2a59b452] {
  border: 0;
  background: transparent;
  color: var(--ink-3);
  font-size: 11.5px;
  cursor: pointer;
}
.import-x[data-v-2a59b452]:hover {
  color: var(--ink);
}
.import-meta[data-v-2a59b452] {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--ink-3);
}
.import-meta b[data-v-2a59b452] {
  color: var(--brand);
}
.import-tags[data-v-2a59b452] {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.import-tag[data-v-2a59b452] {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--brand);
  font-size: 11px;
}
.import-engine[data-v-2a59b452] {
  margin-top: 8px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-3);
}
.import-sample[data-v-2a59b452] {
  margin-top: 8px;
  font-family: Consolas, 'Courier New', monospace;
  font-size: 11px;
  line-height: 1.7;
  color: var(--ink-3);
}
.import-actions[data-v-2a59b452] {
  display: flex;
  gap: 8px;
}
.import-box .import-actions[data-v-2a59b452] {
  margin-top: 12px;
}
.import-note[data-v-2a59b452] {
  margin-top: 8px;
  font-size: 11px;
  color: var(--ink-3);
}
.btn-main[data-v-2a59b452] {
  height: 30px;
  padding: 0 14px;
  border: 1px solid rgba(34, 211, 238, 0.5);
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.16);
  color: var(--brand);
  font-size: 12.5px;
  cursor: pointer;
}
.btn-main[data-v-2a59b452]:hover {
  background: rgba(34, 211, 238, 0.26);
}
.set-tip[data-v-2a59b452] {
  margin: 0 0 10px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--brand);
}

.history[data-v-b1da2fce] {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 14px;
  height: 100%;
  align-items: start;
}
.cal[data-v-b1da2fce] {
  padding: 12px;
  position: sticky;
  top: 0;
}
.cal-head[data-v-b1da2fce] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cal-head b[data-v-b1da2fce] {
  font-size: 12.5px;
  color: var(--ink);
}
.cal-nav[data-v-b1da2fce] {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.cal-nav[data-v-b1da2fce]:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.cal-week[data-v-b1da2fce],
.cal-grid[data-v-b1da2fce] {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-week span[data-v-b1da2fce] {
  text-align: center;
  font-size: 10px;
  color: var(--ink-3);
  padding-bottom: 4px;
}
.cal-cell[data-v-b1da2fce] {
  height: 26px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-size: 11px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cal-cell.blank[data-v-b1da2fce] {
  cursor: default;
}
.cal-cell.other[data-v-b1da2fce] {
  opacity: 0.3;
  cursor: default;
}
.cal-cell[data-v-b1da2fce]:hover:not(.blank) {
  background: rgba(34, 211, 238, 0.1);
}
.cal-cell.today[data-v-b1da2fce] {
  border-color: var(--line-2);
}
.cal-cell.active[data-v-b1da2fce] {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--brand);
  color: var(--brand);
}
.dot[data-v-b1da2fce] {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.dot.met[data-v-b1da2fce] {
  background: var(--ok);
}
.dot.half[data-v-b1da2fce] {
  background: var(--brand);
}
.dot.low[data-v-b1da2fce] {
  background: var(--ink-3);
}
.cal-foot[data-v-b1da2fce] {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--ink-3);
}
.cal-foot b[data-v-b1da2fce] {
  color: var(--ink-2);
}
.list[data-v-b1da2fce] {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.toolbar[data-v-b1da2fce] {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search[data-v-b1da2fce] {
  flex: 1;
  min-width: 120px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-size: 11.5px;
  outline: none;
}
.search[data-v-b1da2fce]:focus {
  border-color: var(--brand);
}
.search[data-v-b1da2fce]::placeholder {
  color: var(--ink-3);
}
.tip[data-v-b1da2fce] {
  font-size: 11px;
  color: var(--brand);
}
.tool-actions[data-v-b1da2fce] {
  display: flex;
  gap: 6px;
}
.list-head[data-v-b1da2fce] {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-3);
}
.list-head b[data-v-b1da2fce] {
  color: var(--ink);
}
.table[data-v-b1da2fce] {
  padding: 0;
  overflow: hidden;
}
.thead[data-v-b1da2fce],
.trow[data-v-b1da2fce] {
  display: grid;
  grid-template-columns: 34px 78px minmax(96px, 1.2fr) 64px minmax(80px, 1.4fr) 34px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 34px;
  font-size: 11.5px;
}
.thead[data-v-b1da2fce] {
  height: 30px;
  color: var(--ink-3);
  font-size: 10.5px;
  border-bottom: 1px solid var(--line);
}
.trow[data-v-b1da2fce] {
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.trow[data-v-b1da2fce]:last-child {
  border-bottom: none;
}
.trow[data-v-b1da2fce]:hover {
  background: var(--surface-2);
}
.trow.picked[data-v-b1da2fce] {
  background: rgba(34, 211, 238, 0.08);
}
.cb input[data-v-b1da2fce] {
  accent-color: var(--brand);
  cursor: pointer;
}
.when[data-v-b1da2fce] {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.when b[data-v-b1da2fce] {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
}
.when small[data-v-b1da2fce] {
  color: var(--ink-3);
  font-family: Consolas, ui-monospace, monospace;
  font-size: 9.5px;
}
.cat[data-v-b1da2fce] {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat i[data-v-b1da2fce] {
  font-style: normal;
}
.vol[data-v-b1da2fce] {
  font-family: Consolas, ui-monospace, monospace;
  color: var(--brand);
}
.right[data-v-b1da2fce] {
  text-align: right;
}
.note[data-v-b1da2fce] {
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.del[data-v-b1da2fce] {
  border: none;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  font-size: 11px;
  opacity: 0;
}
.trow:hover .del[data-v-b1da2fce] {
  opacity: 1;
}
.del[data-v-b1da2fce]:hover {
  color: #f87171;
}
.empty[data-v-b1da2fce] {
  padding: 40px 16px;
  text-align: center;
}
.bulk[data-v-b1da2fce] {
  position: sticky;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 11.5px;
  color: var(--ink-2);
  width: fit-content;
}
.btn-danger[data-v-b1da2fce] {
  height: 26px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
  font-size: 11.5px;
  cursor: pointer;
}
.btn-danger[data-v-b1da2fce]:hover {
  background: rgba(248, 113, 113, 0.2);
}

.stats[data-v-87eea72d] {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}
.stats-head[data-v-87eea72d] {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.stats-head h1[data-v-87eea72d] {
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--ink);
}
.sub[data-v-87eea72d] {
  margin: 0;
  font-size: 11px;
  color: var(--ink-3);
}
.kpis[data-v-87eea72d] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.kpi[data-v-87eea72d] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
}
.k-label[data-v-87eea72d] {
  font-size: 10.5px;
  color: var(--ink-3);
}
.k-value[data-v-87eea72d] {
  font-size: 22px;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.k-value small[data-v-87eea72d] {
  font-size: 10.5px;
  color: var(--ink-3);
  margin-left: 3px;
  font-weight: 400;
}
.k-sub[data-v-87eea72d] {
  font-size: 10px;
  color: var(--ink-3);
}
.chart-card[data-v-87eea72d] {
  position: relative;
}
.chart[data-v-87eea72d] {
  position: relative;
  height: 168px;
  padding: 6px 4px 0;
}
.goal-line[data-v-87eea72d] {
  position: absolute;
  left: 0;
  right: 0;
}
.goal-line[data-v-87eea72d]::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-top: 1px dashed var(--ok);
  opacity: 0.6;
}
.goal-line span[data-v-87eea72d] {
  position: absolute;
  right: 2px;
  top: -12px;
  font-size: 9px;
  color: var(--ok);
  font-family: Consolas, ui-monospace, monospace;
  opacity: 0.8;
}
.bars[data-v-87eea72d] {
  position: absolute;
  inset: 0 0 14px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.bar-cell[data-v-87eea72d] {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-width: 0;
}
.bar[data-v-87eea72d] {
  width: 100%;
  max-width: 54px;
  margin: 0 auto;
  border-radius: 3px 3px 0 0;
  transition: height 0.2s;
}
.bar.met[data-v-87eea72d] {
  background: linear-gradient(180deg, #34d399, #10b981);
}
.bar.near[data-v-87eea72d] {
  background: linear-gradient(180deg, #22d3ee, #0ea5e9);
}
.bar.low[data-v-87eea72d] {
  background: var(--surface-3);
}
.bar.zero[data-v-87eea72d] {
  background: transparent;
}
.x-label[data-v-87eea72d] {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--ink-3);
  white-space: nowrap;
}
.chart-empty[data-v-87eea72d] {
  position: absolute;
  inset: 40% 0 auto;
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
}
.bottom-row[data-v-87eea72d] {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 10px;
}
.stack[data-v-87eea72d] {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--surface-3);
}
.stack-seg[data-v-87eea72d] {
  height: 100%;
}
.cat-list[data-v-87eea72d] {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cat-row[data-v-87eea72d] {
  display: grid;
  grid-template-columns: 10px 1fr auto 42px;
  align-items: center;
  gap: 8px;
  font-size: 11px;
}
.sw[data-v-87eea72d] {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.nm[data-v-87eea72d] {
  color: var(--ink-2);
}
.vol[data-v-87eea72d] {
  color: var(--ink);
  font-family: Consolas, ui-monospace, monospace;
}
.pct[data-v-87eea72d] {
  text-align: right;
  color: var(--ink-3);
}
.mini-empty[data-v-87eea72d] {
  font-size: 11px;
  color: var(--ink-3);
  padding: 6px 0;
}
.heat-wrap[data-v-87eea72d] {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.heat-y[data-v-87eea72d] {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 9px;
  color: var(--ink-3);
  padding: 1px 0;
}
.heat[data-v-87eea72d] {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, 11px);
  grid-template-columns: repeat(12, 11px);
  gap: 3px;
}
.heat-cell[data-v-87eea72d] {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--surface-3);
}
.lv0[data-v-87eea72d] {
  background: var(--surface-3);
}
.lv1[data-v-87eea72d] {
  background: rgba(34, 211, 238, 0.18);
}
.lv2[data-v-87eea72d] {
  background: rgba(34, 211, 238, 0.45);
}
.lv3[data-v-87eea72d] {
  background: rgba(34, 211, 238, 0.8);
}
.lv4[data-v-87eea72d] {
  background: #34d399;
}
.legend[data-v-87eea72d] {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font-size: 9.5px;
  color: var(--ink-3);
}
.legend .heat-cell[data-v-87eea72d] {
  width: 9px;
  height: 9px;
}

.plant[data-v-93c1f78f] {
  width: 150px;
  height: 150px;
  transition: transform 0.25s;
}
.grow[data-v-93c1f78f] {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

html,body {
  background: transparent !important;
  overflow: hidden;
}
.hud[data-v-3eb96c2f] {
  width: 330px;
  height: 132px;
  box-sizing: border-box;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(10, 15, 21, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  color: #e8eef6;
  font-family: inherit;
  -webkit-app-region: drag;
  user-select: none;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.top[data-v-3eb96c2f] {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  height: 26px;
  flex: none;
}
.left[data-v-3eb96c2f] {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.num[data-v-3eb96c2f] {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1;
}
.unit[data-v-3eb96c2f] {
  font-size: 11px;
  color: #93a1b5;
}
.right[data-v-3eb96c2f] {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pct[data-v-3eb96c2f] {
  font-size: 12px;
  font-weight: 600;
  color: #22d3ee;
}
.rest[data-v-3eb96c2f] {
  font-size: 10px;
  color: #61707f;
}
.spark[data-v-3eb96c2f] {
  position: relative;
  flex: 1;
  min-height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.spark svg[data-v-3eb96c2f] {
  width: 100%;
  height: 100%;
  display: block;
}
.flash[data-v-3eb96c2f] {
  position: absolute;
  right: 6px;
  top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  border-radius: 6px;
  padding: 1px 6px;
}
.acts[data-v-3eb96c2f] {
  display: flex;
  gap: 6px;
  height: 28px;
  flex: none;
  -webkit-app-region: no-drag;
}
.act[data-v-3eb96c2f],
.open[data-v-3eb96c2f] {
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #e8eef6;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.act[data-v-3eb96c2f]:hover {
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.45);
}
.open[data-v-3eb96c2f] {
  flex: 1.1;
  background: rgba(34, 211, 238, 0.14);
  border-color: rgba(34, 211, 238, 0.35);
  color: #22d3ee;
}
.open[data-v-3eb96c2f]:hover {
  background: rgba(34, 211, 238, 0.24);
}
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: block))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: "Microsoft YaHei UI", "Segoe UI", "PingFang SC", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .flex {
    display: flex;
  }

  .table {
    display: table;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .ring {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --canvas: #0a0e13;
  --surface: #111721;
  --surface-2: #161e2a;
  --surface-3: #1c2634;
  --line: #1e2836;
  --line-2: #2a3648;
  --ink: #e8eef6;
  --ink-2: #93a1b5;
  --ink-3: #61707f;
  --brand: #22d3ee;
  --brand-2: #0ea5e9;
  --ok: #34d399;
  --warn: #f5b544;
  --danger: #f87171;
  --coffee: #b07b3e;
  --shadow: 0 18px 50px #00000059;
}

body.light {
  --canvas: #f3f6f8;
  --surface: #fff;
  --surface-2: #f7fafc;
  --surface-3: #eef3f7;
  --line: #e3e9ef;
  --line-2: #d2dce5;
  --ink: #0d141c;
  --ink-2: #55636f;
  --ink-3: #8a97a4;
  --brand: #0891b2;
  --brand-2: #0e7490;
  --ok: #0e9f6e;
  --warn: #c77e10;
  --danger: #dc2626;
  --coffee: #8a5a28;
  --shadow: 0 18px 40px #0f1e2d1f;
}

* {
  box-sizing: border-box;
}

html, body, #app {
  height: 100%;
  margin: 0;
}

body {
  background: var(--canvas);
  color: var(--ink);
  -webkit-user-select: none;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  font-family: Microsoft YaHei UI, Segoe UI, PingFang SC, sans-serif;
  overflow: hidden;
}

button, input {
  font-family: inherit;
}

button {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 6px;
}

::-webkit-scrollbar-track {
  background: none;
}

.app {
  background: var(--canvas);
  grid-template-rows: 44px minmax(0, 1fr) auto;
  height: 100%;
  display: grid;
}

.titlebar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  -webkit-app-region: drag;
  align-items: center;
  gap: 14px;
  padding: 0 0 0 14px;
  display: flex;
}

.brand {
  letter-spacing: .4px;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
}

.brand-mark {
  border-radius: 6px;
  width: 22px;
  height: 22px;
}

.brand-sub {
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  letter-spacing: 0;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 10px;
  font-weight: 500;
}

.title-progress {
  flex: 1;
  align-items: center;
  gap: 10px;
  max-width: 430px;
  margin-left: 26px;
  display: flex;
}

.mini-track {
  background: var(--surface-3);
  border-radius: 3px;
  flex: 1;
  height: 3px;
  overflow: hidden;
}

.mini-track i {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  height: 100%;
  transition: width .35s;
  display: block;
}

.mini-num {
  color: var(--ink-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.mini-num b {
  color: var(--ink);
  font-size: 12px;
}

.mini-num em {
  color: var(--ink-3);
  font-style: normal;
}

.save-state {
  color: var(--ink-2);
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  display: flex;
}

.dot-ok {
  background: var(--ok);
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.cmd-hint {
  gap: 3px;
  display: flex;
}

.cmd-hint kbd {
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9.5px;
}

.win-btns {
  -webkit-app-region: no-drag;
  align-self: stretch;
  margin-left: auto;
  display: flex;
}

.win-btn {
  width: 46px;
  height: 44px;
  color: var(--ink-2);
  background: none;
  border: 0;
  place-items: center;
  display: grid;
}

.win-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2px;
  width: 12px;
  height: 12px;
}

.win-btn:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.win-btn.close:hover {
  color: #fff;
  background: #e5484d;
}

.workspace {
  grid-template-columns: 60px minmax(0, 1fr) 272px;
  min-height: 0;
  display: grid;
}

.workspace.no-insight {
  grid-template-columns: 60px minmax(0, 1fr);
}

.rail {
  background: var(--canvas);
  border-right: 1px solid var(--line);
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  display: flex;
}

.rail-btn {
  width: 46px;
  height: 50px;
  color: var(--ink-3);
  background: none;
  border: 0;
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  transition: all .15s;
  display: flex;
}

.rail-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7px;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 19px;
  height: 19px;
}

.rail-btn:hover {
  color: var(--ink-2);
  background: var(--surface-2);
}

.rail-btn.active {
  color: var(--brand);
  background: #22d3ee1a;
}

.main {
  min-width: 0;
  padding: 16px 20px 10px;
  overflow: auto;
}

body.layout-top .workspace {
  grid-template: "nav nav" 44px
                 "main insight" minmax(0, 1fr)
                 / minmax(0, 1fr) 276px;
}

body.layout-top .workspace.no-insight {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "nav nav"
                       "main main";
}

body.layout-top .rail {
  background: var(--surface);
  border-right: 0;
  border-bottom: 1px solid var(--line);
  flex-direction: row;
  grid-area: nav;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 0 14px;
}

body.layout-top .rail-btn {
  border-radius: 999px;
  flex-direction: row;
  gap: 6px;
  width: auto;
  height: 30px;
  padding: 0 12px;
  font-size: 11px;
}

body.layout-top .rail-btn svg {
  width: 15px;
  height: 15px;
}

body.layout-top .main {
  grid-area: main;
  padding: 16px 22px 140px;
}

body.layout-top .insight {
  grid-area: insight;
}

body.layout-top .dock-wrap {
  z-index: 20;
  background: linear-gradient(to top, var(--canvas) 64%, #0a0e1300);
  pointer-events: none;
  border-top: 0;
  padding: 8px 22px 14px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

body.layout-top .dock {
  max-width: 1040px;
  box-shadow: var(--shadow);
  pointer-events: auto;
  border-radius: 14px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  body.layout-top .workspace {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "nav"
                         "main";
  }
}

body.layout-bento .workspace {
  grid-template-columns: 76px minmax(0, 1fr) 236px;
}

body.layout-bento .rail {
  background: linear-gradient(180deg, var(--surface), var(--canvas) 72%);
  border-right: 1px solid var(--line);
  gap: 16px;
  width: auto;
  padding: 18px 0;
  position: relative;
}

body.layout-bento .rail:before {
  content: "";
  background: linear-gradient(180deg, var(--line-2), transparent 94%);
  width: 1px;
  margin-left: -.5px;
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 50%;
}

body.layout-bento .rail-btn {
  z-index: 1;
  border: 1px solid var(--line-2);
  background: var(--canvas);
  width: 46px;
  height: 46px;
  color: var(--ink-3);
  border-radius: 50%;
  gap: 2px;
  font-size: 9px;
  transition: all .18s;
  position: relative;
}

body.layout-bento .rail-btn svg {
  width: 16px;
  height: 16px;
}

body.layout-bento .rail-btn:hover {
  color: var(--ink);
  background: var(--surface-2);
  transform: translateY(-1px);
}

body.layout-bento .rail-btn.active {
  color: var(--brand);
  background: #22d3ee1a;
  border-color: #22d3ee8c;
  box-shadow: 0 0 0 3px #22d3ee12, 0 8px 22px #22d3ee33;
}

body.layout-bento .main {
  background-image: radial-gradient(#ffffff0b 1px, #0000 1px);
  background-position: 0 0;
  background-size: 22px 22px;
  padding: 18px 18px 140px;
}

body.light.layout-bento .main {
  background-image: radial-gradient(#0f1e2d0d 1px, #0000 1px);
}

body.layout-bento .today {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-content: start;
  gap: 14px;
  display: grid;
}

body.layout-bento .today-head, body.layout-bento .chart-card, body.layout-bento .catband, body.layout-bento .table-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 #ffffff0a;
  position: relative;
  overflow: hidden;
}

body.layout-bento .today-head:before, body.layout-bento .chart-card:before, body.layout-bento .catband:before, body.layout-bento .table-card:before {
  content: "";
  background: linear-gradient(180deg, var(--brand), #22d3ee00);
  width: 3px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

body.layout-bento .today-head {
  border-radius: 22px;
  grid-area: 1 / 1 / auto / -1;
  padding: 20px 22px 18px;
}

body.layout-bento .today-head:before {
  width: 4px;
}

body.layout-bento .hero-num {
  letter-spacing: -1px;
  font-size: 44px;
}

body.layout-bento .chart-card {
  border-radius: 14px;
  grid-area: 2 / 1 / auto / 9;
  padding: 16px 18px 12px;
}

body.layout-bento .chart-card:before {
  background: linear-gradient(180deg, var(--brand-2), #0ea5e900);
}

body.layout-bento .catband {
  border-radius: 20px;
  flex-direction: column;
  grid-area: 2 / 9 / auto / -1;
  justify-content: center;
  align-self: stretch;
  gap: 20px;
  padding: 16px 18px 14px;
  display: flex;
}

body.layout-bento .catbar {
  border-radius: 6px;
  height: 10px;
  overflow: hidden;
}

body.layout-bento .legend {
  gap: 10px 16px;
}

body.layout-bento .catband:before {
  background: linear-gradient(180deg, var(--ok), #34d39900);
}

body.layout-bento .table-card {
  border-radius: 12px;
  grid-area: 3 / 1 / auto / -1;
  padding: 14px 16px 10px;
}

body.layout-bento .table-card:before {
  background: linear-gradient(180deg, var(--warn), #f5b54400);
}

body.layout-bento .dock-wrap {
  z-index: 20;
  background: linear-gradient(to top, var(--canvas) 58%, #0a0e1300);
  pointer-events: none;
  border-top: 0;
  padding: 6px 18px 16px;
  position: fixed;
  bottom: 0;
  left: 76px;
  right: 236px;
}

body.layout-bento .dock {
  max-width: 920px;
  box-shadow: var(--shadow);
  pointer-events: auto;
  border-radius: 16px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  body.layout-bento .workspace {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  body.layout-bento .today-head, body.layout-bento .chart-card, body.layout-bento .catband, body.layout-bento .table-card {
    grid-area: auto / 1 / auto / -1;
  }

  body.layout-bento .dock-wrap {
    right: 0;
  }
}

.today {
  flex-direction: column;
  gap: 12px;
  min-height: 100%;
  display: flex;
}

.today-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 2px 2px 0;
  display: flex;
}

.date-line {
  color: var(--ink-3);
  letter-spacing: .4px;
  font-size: 11.5px;
}

.hero-num {
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
  margin: 5px 0 2px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.hero-num small {
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 500;
}

.hero-sub {
  color: var(--ink-2);
  font-size: 11.5px;
}

.hero-sub b {
  color: var(--ink);
}

.head-right {
  align-items: center;
  gap: 14px;
  padding-top: 4px;
  display: flex;
}

.ring {
  background: conic-gradient(var(--brand) var(--p), var(--surface-3) 0);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 70px;
  height: 70px;
  display: grid;
  position: relative;
}

.ring:before {
  content: "";
  background: var(--canvas);
  border-radius: 50%;
  position: absolute;
  inset: 6px;
}

.ring span {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

.head-note {
  max-width: 190px;
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.6;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}

.card-head {
  color: var(--ink-3);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 11px;
  display: flex;
}

.card-head b {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.chart-card {
  padding-bottom: 4px;
}

.water-chart {
  width: 100%;
  height: 176px;
  display: block;
}

.grid-line {
  stroke: var(--line);
  stroke-width: 1px;
  stroke-dasharray: 2 5;
}

.axis-label {
  fill: var(--ink-3);
  font-family: Consolas, ui-monospace, monospace;
  font-size: 9px;
}

.goal-line {
  stroke: var(--ok);
  stroke-width: 1px;
  stroke-dasharray: 5 4;
  opacity: .65;
}

.goal-label {
  fill: var(--ok);
  opacity: .85;
  font-family: Consolas, ui-monospace, monospace;
  font-size: 9px;
}

.water-line {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2px;
  stroke-linejoin: round;
}

.now-dot {
  fill: var(--brand);
  stroke: var(--canvas);
  stroke-width: 2px;
}

.now-label {
  fill: var(--brand);
  font-family: Consolas, ui-monospace, monospace;
  font-size: 9.5px;
}

.empty-title {
  fill: var(--ink-2);
  font-size: 12px;
}

.empty-sub {
  fill: var(--ink-3);
  font-size: 10px;
}

.catband {
  padding: 2px 2px 0;
}

.catbar {
  background: var(--surface-3);
  border-radius: 4px;
  height: 6px;
  display: flex;
  overflow: hidden;
}

.catbar i {
  min-width: 2px;
  height: 100%;
  display: block;
}

.catbar-empty {
  background: var(--surface-3);
  flex: 1;
}

.legend {
  color: var(--ink-2);
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
  font-size: 10.5px;
  display: flex;
}

.legend span {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.legend .dot {
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.legend b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.legend em {
  color: var(--ink-3);
  font-style: normal;
}

.legend-empty {
  color: var(--ink-3);
  margin-top: 8px;
  font-size: 10.5px;
}

.table-card {
  flex-direction: column;
  flex: 1;
  min-height: 140px;
  display: flex;
}

.rtable {
  flex-direction: column;
  min-height: 0;
  display: flex;
  overflow: auto;
}

.rhead, .rrow {
  grid-template-columns: 58px minmax(0, 1fr) 62px 68px 28px;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  font-size: 11.5px;
  display: grid;
}

.rhead {
  height: 26px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}

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

.rrow {
  border-bottom: 1px solid var(--line);
  height: 34px;
}

.rrow:last-child {
  border-bottom: 0;
}

.rrow:hover {
  background: var(--surface-2);
}

.rtime {
  color: var(--ink-3);
  font-family: Consolas, ui-monospace, monospace;
  font-size: 10.5px;
}

.rname {
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.rname i {
  font-size: 13px;
  font-style: normal;
}

.rsrc {
  color: var(--ink-3);
  font-size: 10px;
}

.rvol {
  text-align: right;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.rdel {
  width: 22px;
  height: 22px;
  color: var(--ink-3);
  opacity: 0;
  background: none;
  border: 0;
  border-radius: 5px;
  font-size: 10px;
}

.rrow:hover .rdel {
  opacity: 1;
}

.rdel:hover {
  color: var(--danger);
  background: #f8717126;
}

.empty-flow {
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 18px 0;
  display: flex;
}

.empty-drop {
  opacity: .5;
  filter: grayscale(.2);
  font-size: 26px;
}

.empty-flow p {
  color: var(--ink-2);
  margin: 2px 0 0;
  font-size: 12.5px;
}

.empty-flow span {
  color: var(--ink-3);
  font-size: 10.5px;
}

.insight {
  border-left: 1px solid var(--line);
  flex-direction: column;
  gap: 10px;
  padding: 14px 14px 12px;
  display: flex;
  overflow: auto;
}

.ic-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 11px 12px;
}

.ic-head {
  color: var(--ink-3);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 11px;
  display: flex;
}

.ic-head b {
  color: var(--ink);
  font-size: 12px;
}

.tag-off {
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 9px;
}

.ic-text {
  color: var(--ink-2);
  font-size: 10.5px;
  line-height: 1.65;
}

.ic-sub {
  color: var(--ink-3);
  margin-top: 6px;
  font-size: 9.5px;
}

.week-bars {
  justify-content: space-between;
  align-items: flex-end;
  gap: 6px;
  height: 64px;
  display: flex;
}

.week-item {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 4px;
  display: flex;
}

.week-item i {
  background: var(--brand);
  border-radius: 3px;
  width: 100%;
  max-width: 18px;
  transition: height .3s;
}

.week-item span {
  color: var(--ink-3);
  font-size: 9px;
}

.garden-mini {
  align-items: center;
  gap: 10px;
  display: flex;
}

.garden-orb {
  background: radial-gradient(circle at 35% 30%, #34d39940, #34d3990f);
  border-radius: 50%;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 18px;
  display: grid;
}

.garden-line {
  color: var(--ink-2);
  font-size: 11px;
}

.medal-mini {
  filter: grayscale(.55);
  opacity: .75;
  gap: 6px;
  font-size: 17px;
  display: flex;
}

.ic-tip {
  background: var(--surface-2);
  border: 1px dashed var(--line-2);
  color: var(--ink-3);
  border-radius: 10px;
  margin-top: auto;
  padding: 10px 12px;
  font-size: 10px;
  line-height: 1.6;
}

.dock-wrap {
  background: var(--canvas);
  border-top: 1px solid var(--line);
  padding: 10px 20px 12px;
  position: relative;
}

.dock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 8px 9px;
  display: flex;
}

.dock-top, .dock-bottom {
  align-items: center;
  gap: 8px;
  min-width: 0;
  display: flex;
}

.dock-subs {
  border-left: 1px solid var(--line-2);
  flex-wrap: wrap;
  flex: auto;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: 2px;
  padding-left: 12px;
  display: flex;
}

.sub-chip {
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  white-space: nowrap;
  background: #ffffff09;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 500;
  transition: background .15s, border-color .15s, color .15s;
}

.sub-chip:hover {
  border-color: var(--c, var(--brand));
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .sub-chip:hover {
    background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
  }
}

.sub-chip:hover {
  color: var(--c, var(--brand));
}

.sub-chip.active {
  color: #fff;
  background: var(--c, var(--brand));
  font-weight: 600;
}

@supports (color: color-mix(in lab, red, red)) {
  .sub-chip.active {
    background: color-mix(in srgb, var(--c, var(--brand)) 78%, #0d1319);
  }
}

.sub-chip.active {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .sub-chip.active {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 78%, #0d1319);
  }
}

body.light .sub-chip {
  color: #47535f;
  background: #fff;
  border-color: #dfe6ec;
}

body.light .sub-chip.active {
  color: #fff;
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .sub-chip.active {
    background: color-mix(in srgb, var(--c, var(--brand)) 82%, #101418);
  }
}

body.light .sub-chip.active {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .sub-chip.active {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 82%, #101418);
  }
}

.dock-cats {
  flex: none;
  gap: 6px;
  display: flex;
}

.cat-chip {
  border: 1px solid var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .cat-chip {
    border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 30%, transparent);
  }
}

.cat-chip {
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .cat-chip {
    background: color-mix(in srgb, var(--c, var(--brand)) 12%, transparent);
  }
}

.cat-chip {
  color: var(--c, var(--brand));
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  display: flex;
}

.cat-chip i {
  opacity: 1;
  font-size: 13px;
  font-style: normal;
}

.cat-chip:hover {
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .cat-chip:hover {
    background: color-mix(in srgb, var(--c, var(--brand)) 22%, transparent);
  }
}

.cat-chip:hover {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .cat-chip:hover {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 54%, transparent);
  }
}

.cat-chip.active {
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .cat-chip.active {
    background: color-mix(in srgb, var(--c, var(--brand)) 82%, #0d1319);
  }
}

.cat-chip.active {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .cat-chip.active {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 82%, #0d1319);
  }
}

.cat-chip.active {
  color: #fff;
  box-shadow: 0 3px 14px var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .cat-chip.active {
    box-shadow: 0 3px 14px color-mix(in srgb, var(--c, var(--brand)) 45%, transparent);
  }
}

body.light .cat-chip {
  color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .cat-chip {
    color: color-mix(in srgb, var(--c, var(--brand)) 66%, #101418);
  }
}

body.light .cat-chip {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .cat-chip {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 38%, transparent);
  }
}

body.light .cat-chip {
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .cat-chip {
    background: color-mix(in srgb, var(--c, var(--brand)) 10%, transparent);
  }
}

body.light .cat-chip.active {
  color: #fff;
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .cat-chip.active {
    background: color-mix(in srgb, var(--c, var(--brand)) 84%, #101418);
  }
}

body.light .cat-chip.active {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .cat-chip.active {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 84%, #101418);
  }
}

.dock-vols {
  flex: none;
  align-items: center;
  gap: 5px;
  display: flex;
}

.vol-btn {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  min-width: 44px;
  height: 32px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 600;
}

.vol-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.vol-custom {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  width: 84px;
  height: 32px;
  color: var(--ink);
  border-radius: 8px;
  outline: none;
  padding: 0 8px;
  font-size: 11px;
}

.vol-custom:focus, .dock-note:focus {
  border-color: var(--brand);
}

.dock-note {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  min-width: 70px;
  height: 32px;
  color: var(--ink);
  border-radius: 8px;
  outline: none;
  flex: 1;
  padding: 0 9px;
  font-size: 11px;
}

.dock-time {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  height: 32px;
  color: var(--ink-2);
  white-space: nowrap;
  border-radius: 8px;
  padding: 0 9px;
  font-size: 10.5px;
}

.dock-add {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  color: #04141a;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  height: 32px;
  padding: 0 14px;
  font-size: 11.5px;
  font-weight: 700;
}

body.light .dock-add {
  color: #fff;
}

.dock-add:active {
  transform: translateY(1px);
}

.toast {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--ink);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  position: absolute;
  top: -34px;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-note {
  color: var(--ink-3);
  text-align: center;
  padding: 0 20px 14px;
  font-size: 10px;
}

.settings, .placeholder {
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
}

.page-head h1 {
  margin: 4px 0 3px;
  font-size: 22px;
  font-weight: 700;
}

.page-head p {
  color: var(--ink-3);
  margin: 0;
  font-size: 11px;
}

.set-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}

.set-title {
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 13px;
  display: flex;
}

.set-title b {
  font-weight: 600;
}

.saved {
  color: var(--ok);
  font-size: 10px;
}

.set-row {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 11px 0;
  display: flex;
}

.set-row:first-of-type {
  border-top: 0;
}

.set-label {
  color: var(--ink);
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.set-desc {
  color: var(--ink-3);
  max-width: 420px;
  margin-top: 3px;
  font-size: 10.5px;
  line-height: 1.55;
}

.set-input {
  flex: none;
  align-items: center;
  gap: 6px;
  display: flex;
}

.set-input input {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  width: 88px;
  height: 32px;
  color: var(--ink);
  text-align: right;
  border-radius: 8px;
  outline: none;
  padding: 0 9px;
  font-size: 12px;
}

.set-input span {
  color: var(--ink-3);
  font-size: 10.5px;
}

.seg {
  border: 1px solid var(--line-2);
  border-radius: 8px;
  flex: none;
  display: flex;
  overflow: hidden;
}

.seg button {
  background: var(--surface-2);
  color: var(--ink-3);
  border: 0;
  padding: 7px 12px;
  font-size: 11px;
}

.seg button.on {
  color: var(--brand);
  background: #22d3ee24;
}

.badge-later {
  color: var(--warn);
  border: 1px solid #f5b54466;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 9px;
}

.btn-ghost {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink-3);
  border-radius: 8px;
  flex: none;
  padding: 7px 13px;
  font-size: 11px;
}

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

.about-mark {
  color: var(--brand);
  letter-spacing: 2px;
  flex: none;
  font-size: 15px;
  font-weight: 700;
}

.ph-card {
  border: 1px dashed var(--line-2);
  text-align: center;
  background: var(--surface);
  border-radius: 14px;
  margin-top: 6px;
  padding: 54px 30px;
}

.ph-icon {
  opacity: .65;
  font-size: 40px;
}

.ph-card h2 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.ph-card p {
  max-width: 430px;
  color: var(--ink-2);
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.75;
}

.ph-hint {
  color: var(--ink-3);
  margin-top: 18px;
  font-size: 10.5px;
}

@media (max-width: 980px) {
  .workspace {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .insight {
    display: none;
  }
}

.garden {
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 100%;
  display: grid;
}

.garden-left, .garden-right {
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  display: flex;
}

.g-plant {
  background: radial-gradient(120% 80% at 50% 100%, #22d3ee1a, transparent 70%), var(--surface);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 372px;
  padding: 18px 16px 14px;
  display: flex;
}

.g-name {
  color: var(--ink);
  margin-top: 8px;
  font-size: 17px;
  font-weight: 700;
}

.g-sub {
  color: var(--ink-3);
  text-align: center;
  margin-top: 3px;
  font-size: 11px;
}

.g-bar {
  background: var(--surface-3);
  border-radius: 3px;
  width: 200px;
  height: 5px;
  margin-top: 12px;
  overflow: hidden;
}

.g-bar i {
  background: linear-gradient(90deg, #34d399, #22d3ee);
  border-radius: 3px;
  height: 100%;
  transition: width .3s;
  display: block;
}

.g-foot {
  color: var(--ink-3);
  margin-top: 10px;
  font-size: 10.5px;
}

.g-foot b {
  color: var(--ink-2);
}

.g-variants {
  gap: 8px;
  margin-top: 4px;
  display: flex;
}

.g-variant {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: .65;
  background: none;
  border-radius: 8px;
  flex: 1;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  transition: all .15s;
  display: flex;
}

.g-variant:hover {
  opacity: 1;
  border-color: var(--line-2);
}

.g-variant.on {
  opacity: 1;
  border-color: var(--brand);
  background: #22d3ee1a;
}

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

.g-kpi {
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  display: flex;
}

.g-kpi span {
  color: var(--ink-3);
  font-size: 10.5px;
}

.g-kpi b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  line-height: 1.1;
}

.g-kpi b small {
  color: var(--ink-3);
  margin-left: 3px;
  font-size: 10px;
  font-weight: 400;
}

.g-wall-card {
  flex-direction: column;
  min-height: 344px;
  display: flex;
}

.g-wall {
  flex: 1;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-content: center;
  gap: 8px;
  margin-top: 6px;
  display: grid;
}

.g-medal {
  aspect-ratio: 1;
  background: #22d3ee14;
  border: 1px solid #22d3ee59;
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  display: flex;
  overflow: hidden;
}

.g-medal.locked {
  border-style: dashed;
  border-color: var(--line-2);
  opacity: .4;
  background: none;
}

.g-m-icon {
  font-size: 18px;
  line-height: 1;
}

.g-m-name {
  color: var(--ink-2);
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  padding: 0 2px;
  font-size: 9px;
  overflow: hidden;
}

.g-wall-foot {
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  font-size: 11px;
  display: flex;
}

.g-link {
  color: var(--brand);
  cursor: pointer;
  background: none;
  border: none;
  font-size: 11px;
}

.g-link:hover {
  text-decoration: underline;
}

.medals {
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
  display: flex;
}

.m-top {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.m-stat {
  color: var(--ink-3);
  align-items: baseline;
  gap: 5px;
  font-size: 11.5px;
  display: flex;
}

.m-stat b {
  color: var(--ink);
  font-size: 22px;
}

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

.m-card {
  flex-direction: column;
  gap: 8px;
  padding: 12px 13px;
  display: flex;
}

.m-card.locked {
  border-style: dashed;
}

.m-card.locked .m-icon {
  filter: grayscale(.6);
  opacity: .55;
}

.m-head {
  align-items: center;
  gap: 9px;
  display: flex;
}

.m-icon {
  font-size: 22px;
  line-height: 1;
}

.m-title {
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  display: flex;
}

.m-title b {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.m-title span {
  color: var(--ink-3);
  font-size: 9.5px;
}

.m-card:not(.locked) .m-title span {
  color: var(--ok);
}

.m-desc {
  color: var(--ink-2);
  min-height: 33px;
  font-size: 10.5px;
  line-height: 1.6;
}

.m-progress {
  align-items: center;
  gap: 8px;
  display: flex;
}

.m-bar {
  background: var(--surface-3);
  border-radius: 2px;
  flex: 1;
  height: 4px;
  overflow: hidden;
}

.m-bar i {
  background: var(--brand);
  border-radius: 2px;
  height: 100%;
  display: block;
}

.m-progress span {
  color: var(--ink-3);
  white-space: nowrap;
  font-family: Consolas, ui-monospace, monospace;
  font-size: 9.5px;
}

.m-empty {
  text-align: center;
  color: var(--ink-3);
  padding: 40px 16px;
  font-size: 11.5px;
}

@media (max-width: 980px) {
  .garden {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .g-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .m-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.medal-mini span.dim {
  opacity: .35;
  filter: grayscale(.6);
}

body.layout-tank .workspace {
  grid-template-columns: 34px minmax(0, 1fr);
}

body.layout-tank .main.tank-main {
  padding: 0;
  overflow: hidden;
}

body.layout-tank .rail {
  border-right: 1px solid var(--line);
  background: none;
  gap: 0;
  width: 34px;
  padding: 10px 0;
}

body.layout-tank .rail-btn {
  background: none;
  border: 0;
  border-radius: 0;
  gap: 0;
  width: 34px;
  height: 54px;
  font-size: 0;
  position: relative;
}

body.layout-tank .rail-btn svg, body.layout-tank .rail-btn span {
  display: none;
}

body.layout-tank .rail-btn:before {
  content: "";
  background: var(--line-2);
  border-radius: 2px;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  transition: all .18s;
  position: absolute;
  top: 50%;
  left: 50%;
}

body.layout-tank .rail-btn:hover:before {
  background: var(--ink-2);
}

body.layout-tank .rail-btn.active:before {
  background: var(--brand);
  width: 24px;
  height: 3px;
  box-shadow: 0 0 12px var(--brand);
  margin: -1.5px 0 0 -12px;
}

body.layout-tank .rail-btn:after {
  content: attr(data-label);
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 10px;
  line-height: 1.6;
  transition: all .15s;
  position: absolute;
  top: 50%;
  left: 32px;
  transform: translateY(-50%);
}

body.layout-tank .rail-btn:hover:after {
  opacity: 1;
}

.tank {
  background: radial-gradient(120% 90% at 18% 0%, #22d3ee17, transparent 62%), var(--canvas);
  flex-direction: column;
  height: 100%;
  display: flex;
  position: relative;
  overflow: hidden;
}

.tank-stage {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.tank-wall {
  opacity: .55;
  pointer-events: none;
  background-image: linear-gradient(90deg, #ffffff07 1px, #0000 1px);
  background-size: 64px 100%;
  position: absolute;
  inset: 0;
}

.tank-marks {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.tank-mark, .tank-goal {
  align-items: center;
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
}

.tank-mark i {
  background: #93a1b559;
  width: 18px;
  height: 1px;
  margin-left: 18px;
  display: block;
}

.tank-mark em {
  letter-spacing: .3px;
  color: var(--ink-3);
  text-shadow: 0 1px 4px #0009;
  margin-left: 8px;
  font-size: 9.5px;
  font-style: normal;
}

.tank-goal {
  border-top: 1px dashed #22d3ee29;
}

.tank-goal i {
  border-top: 1px dashed var(--brand);
  opacity: .85;
  width: 34px;
  margin-left: 12px;
  display: block;
}

.tank-goal em {
  color: var(--brand);
  letter-spacing: .3px;
  background: #06141a73;
  border-radius: 4px;
  margin-left: auto;
  margin-right: 26%;
  padding: 1px 6px;
  font-size: 10px;
  font-style: normal;
}

.tank-liquid {
  pointer-events: none;
  background-image: repeating-linear-gradient(#ffffff0e 0 1px, #0000 1px 46px), linear-gradient(#22d3ee4d, #0e749029 58%, #082f4942);
  border-top: 2px solid #22d3eeb3;
  transition: height .8s cubic-bezier(.34, .8, .3, 1);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.tank-liquid:before {
  content: "";
  background-image: repeating-linear-gradient(115deg, #ffffff0b 0 34px, #0000 34px 132px), linear-gradient(#38bdf829, #0000 34%);
  animation: 22s linear infinite tank-drift;
  position: absolute;
  inset: -40px 0 0;
}

@keyframes tank-drift {
  to {
    background-position: 640px 0, 0 0;
  }
}

.tank-liquid:after {
  content: "";
  background: radial-gradient(58% 38% at 26% 6%, #ffffff1f, #0000 70%);
  position: absolute;
  inset: 0;
}

.tank-wave {
  fill: #22d3ee80;
  width: 100%;
  height: 30px;
  position: absolute;
  top: -26px;
  left: 0;
  right: 0;
}

.tank-readout {
  pointer-events: none;
  transition: bottom .8s cubic-bezier(.34, .8, .3, 1);
  position: absolute;
  left: 38px;
  right: 52%;
}

.tank-date {
  letter-spacing: .6px;
  color: var(--ink-3);
  background: #06141a80;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 11px;
  display: inline-block;
}

body.light .tank-date {
  background: #ffffffb8;
}

.tank-num {
  letter-spacing: -1.6px;
  color: var(--ink);
  text-shadow: 0 6px 30px #22d3ee38;
  font-variant-numeric: tabular-nums;
  margin: 3px 0 0;
  font-size: 50px;
  font-weight: 800;
  line-height: .95;
}

.tank-num small {
  letter-spacing: 0;
  color: var(--ink-3);
  margin-left: 6px;
  font-size: 13px;
  font-weight: 500;
}

.tank-hint {
  color: var(--ink-2);
  margin-top: 7px;
  font-size: 11.5px;
}

.tank-bubbles {
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.bubble {
  color: var(--ink-2);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #1117218c;
  border: 1px solid #22d3ee2e;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 7px;
  font-size: 10.5px;
  transition: bottom .8s cubic-bezier(.34, .8, .3, 1);
  animation: .6s both bubble-rise;
  display: inline-flex;
  position: absolute;
  right: 26px;
}

body.light .bubble {
  background: #ffffffb8;
  border-color: #0891b233;
}

.bubble i {
  font-size: 12px;
  font-style: normal;
}

.bubble b {
  color: var(--ink);
  font-weight: 600;
}

.bubble em {
  color: var(--ink-3);
  font-size: 9.5px;
  font-style: normal;
}

@keyframes bubble-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.tank-hud {
  text-align: right;
  letter-spacing: .3px;
  color: var(--ink-3);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  text-shadow: 0 1px 3px #00000080;
  background: linear-gradient(#040e14d6, #040e1485);
  border-radius: 12px;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  font-size: 10px;
  display: flex;
  position: absolute;
  top: 16px;
  right: 24px;
}

body.light .tank-hud {
  text-shadow: none;
  background: linear-gradient(#ffffffd1, #fff6);
}

.tank-hud-date {
  letter-spacing: .6px;
  color: var(--ink-2);
  margin-bottom: 6px;
  font-size: 11px;
}

.tank-hud b {
  color: var(--ink);
  font-size: 11px;
}

.tank-dock {
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: #0a0e13b8;
  flex-direction: column;
  gap: 6px;
  padding: 8px 16px 10px;
  display: flex;
}

.tank-dock-row {
  align-items: center;
  gap: 10px;
  display: flex;
}

.tank-subs {
  border-left: 1px solid var(--line-2);
  flex-wrap: wrap;
  flex: auto;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin-left: 2px;
  padding-left: 12px;
  display: flex;
}

.tank-subs button {
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  white-space: nowrap;
  background: #ffffff09;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 500;
  transition: background .15s, border-color .15s, color .15s;
}

.tank-subs button:hover {
  border-color: var(--c, var(--brand));
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-subs button:hover {
    background: color-mix(in srgb, var(--c, var(--brand)) 14%, transparent);
  }
}

.tank-subs button:hover {
  color: var(--c, var(--brand));
}

.tank-subs button.on {
  color: #fff;
  background: var(--c, var(--brand));
  font-weight: 600;
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-subs button.on {
    background: color-mix(in srgb, var(--c, var(--brand)) 78%, #0d1319);
  }
}

.tank-subs button.on {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-subs button.on {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 78%, #0d1319);
  }
}

body.light .tank-subs button {
  color: #47535f;
  background: #fff;
  border-color: #dfe6ec;
}

body.light .tank-subs button.on {
  color: #fff;
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .tank-subs button.on {
    background: color-mix(in srgb, var(--c, var(--brand)) 82%, #101418);
  }
}

body.light .tank-subs button.on {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .tank-subs button.on {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 82%, #101418);
  }
}

body.light .tank-dock {
  background: #f3f6f8db;
}

.tank-cats {
  gap: 2px;
  display: flex;
}

.tank-cats button {
  border: 1px solid var(--c, var(--brand));
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  display: flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-cats button {
    border: 1px solid color-mix(in srgb, var(--c, var(--brand)) 30%, transparent);
  }
}

.tank-cats button {
  background: var(--c, var(--brand));
  border-radius: 999px;
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-cats button {
    background: color-mix(in srgb, var(--c, var(--brand)) 12%, transparent);
  }
}

.tank-cats button {
  color: var(--c, var(--brand));
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.tank-cats button i {
  font-size: 13px;
  font-style: normal;
}

.tank-cats button:hover {
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-cats button:hover {
    background: color-mix(in srgb, var(--c, var(--brand)) 22%, transparent);
  }
}

.tank-cats button:hover {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-cats button:hover {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 54%, transparent);
  }
}

.tank-cats button.on {
  color: #fff;
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-cats button.on {
    background: color-mix(in srgb, var(--c, var(--brand)) 82%, #0d1319);
  }
}

.tank-cats button.on {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-cats button.on {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 82%, #0d1319);
  }
}

.tank-cats button.on {
  box-shadow: 0 3px 14px var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  .tank-cats button.on {
    box-shadow: 0 3px 14px color-mix(in srgb, var(--c, var(--brand)) 45%, transparent);
  }
}

body.light .tank-cats button {
  color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .tank-cats button {
    color: color-mix(in srgb, var(--c, var(--brand)) 66%, #101418);
  }
}

body.light .tank-cats button {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .tank-cats button {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 38%, transparent);
  }
}

body.light .tank-cats button {
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .tank-cats button {
    background: color-mix(in srgb, var(--c, var(--brand)) 10%, transparent);
  }
}

body.light .tank-cats button.on {
  color: #fff;
  background: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .tank-cats button.on {
    background: color-mix(in srgb, var(--c, var(--brand)) 84%, #101418);
  }
}

body.light .tank-cats button.on {
  border-color: var(--c, var(--brand));
}

@supports (color: color-mix(in lab, red, red)) {
  body.light .tank-cats button.on {
    border-color: color-mix(in srgb, var(--c, var(--brand)) 84%, #101418);
  }
}

.tank-vols {
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 0;
  display: flex;
}

.tank-vols button {
  border: 1px solid var(--line-2);
  min-width: 46px;
  height: 34px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  background: #161e2ae6;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}

body.light .tank-vols button {
  background: var(--surface-2);
}

.tank-vols button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tank-vols input {
  border: 1px solid var(--line-2);
  width: 78px;
  height: 34px;
  color: var(--ink);
  background: #161e2ae6;
  border-radius: 9px;
  outline: none;
  padding: 0 8px;
  font-size: 11px;
}

body.light .tank-vols input {
  background: var(--surface-2);
}

.tank-vols input:focus {
  border-color: var(--brand);
}

.tank-pour {
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  color: #04141a;
  white-space: nowrap;
  border: 0;
  border-radius: 9px;
  height: 34px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 700;
}

body.light .tank-pour {
  color: #fff;
}

.tank-pour:active {
  transform: translateY(1px);
}

.tank-toast {
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  position: absolute;
  bottom: 76px;
  left: 50%;
  transform: translateX(-50%);
}

body.light .tank-liquid {
  background-image: repeating-linear-gradient(#fff6 0 1px, #0000 1px 46px), linear-gradient(#22d3ee57, #0e749038 58%, #082f491f);
  border-top-color: #0891b28c;
}

body.light .tank-liquid:before {
  background-image: repeating-linear-gradient(115deg, #ffffff6b 0 34px, #0000 34px 132px), linear-gradient(#fff6, #0000 40%);
}

body.light .tank-liquid:after {
  background: radial-gradient(58% 38% at 26% 6%, #fff9, #0000 72%);
}

body.light .tank-wave {
  fill: #22d3ee52;
}

body.light .tank-goal {
  border-top-color: #0891b238;
}

body.light .tank-goal em {
  color: #0e7490;
  background: #ffffffd1;
}

body.light .tank-mark i {
  background: #0f3c5047;
}

body.light .tank-mark em {
  color: #0f3c5099;
  text-shadow: 0 1px 3px #ffffffe6;
}

@media (max-width: 1000px) {
  .dock-subs, .tank-subs {
    scrollbar-width: thin;
    flex-wrap: nowrap;
    padding-bottom: 3px;
    overflow: auto hidden;
  }

  .dock-subs::-webkit-scrollbar {
    height: 4px;
  }

  .tank-subs::-webkit-scrollbar {
    height: 4px;
  }

  .dock-subs::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 2px;
  }

  .tank-subs::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 2px;
  }

  .dock-subs::-webkit-scrollbar-track {
    background: none;
  }

  .tank-subs::-webkit-scrollbar-track {
    background: none;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}
